kdb
[Top] [All Lists]

Re: using kdb on Red Hat/SGI linux-2.4.18-18SGI_XFS_1.2pre5

To: Keith Owens <kaos@xxxxxxx>
Subject: Re: using kdb on Red Hat/SGI linux-2.4.18-18SGI_XFS_1.2pre5
From: "Foris, Jim (MED)" <foris@xxxxxxxxxxxxxxxx>
Date: Fri, 07 Feb 2003 09:37:59 -0600
Cc: "Foris, Jim (MED)" <foris@xxxxxxxxxxxxx>, kdb@xxxxxxxxxxx
In-reply-to: <23389.1044576020@xxxxxxxxxxxxxxxxxxxxxx>
References: <23389.1044576020@xxxxxxxxxxxxxxxxxxxxxx>
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218
Keith Owens wrote:
On Thu, 06 Feb 2003 17:22:25 -0600, "Foris, Jim (MED)" <foris@xxxxxxxxxxxxxxxx> wrote:

Keith Owens wrote:

Use the nmi watchdog, boot with nmi_watchdog=1.

Did that... made no difference.

We think it is because CPU0 handles all NMIs.... so if it dies,
so does the NMI watchdog.


NMI should be broadcast.  Before the system hangs, cat /proc/interrupts.
The NMI count on each cpu must be non-zero and increasing continuously
if the nmi watchdog is working.

You are right; interrupts are being shared now. (see attached interrupts.txt).


[1]kdb> bt
ESP        EIP        Function (args)
0xc46cde28 0xc01ed880 <unknown>+0xc01ed880
                              kernel <unknown> 0x0 0x0 0x0
0xc46cde2c 0xc46cdde0 <unknown>+0xc46cdde0
                              kernel <unknown> 0x0 0x0 0x0


That is wierd.  grep kallsyms System.map and insmod -nm some_module_name.
See attached grep.txt and insmod.txt for results.



c012c150 t kallsyms_get_module_list
c012c200 T kallsyms_symbol_to_address
c012c4b0 T kallsyms_address_to_symbol
c012c670 T kallsyms_sections
c0300d80 ? __kstrtab___start___kallsyms
c0300dc0 ? __kstrtab___stop___kallsyms
c0300de0 ? __kstrtab_kallsyms_address_to_symbol
c030dbf0 ? __ksymtab___start___kallsyms
c030dbf8 ? __ksymtab___stop___kallsyms
c030dc00 ? __ksymtab_kallsyms_address_to_symbol
c03a01a3 A __start___kallsyms
c03a01a3 A __stop___kallsyms
c046b2a4 b kallsyms_module_list
Using /lib/modules/2.4.18-18SGI_XFS_1.2pre5smp/kernel/drivers/scsi/sg.o
Sections:       Size      Address   Align
.this           00000060  12340000  2**2
.text           000061c0  12340060  2**4
.fixup          00000207  12346220  2**0
.rodata.str1.1  000004ce  12346427  2**0
.rodata.str1.32 00000b80  12346900  2**5
__ex_table      000001d8  12347480  2**2
.rodata         00000050  12347660  2**4
.kstrtab        000000d0  123476b0  2**0
.kmodtab        0000000c  12347780  2**2
__ksymtab       00000030  1234778c  2**2
__archdata      00000000  123477c0  2**4
__kallsyms      00000cfa  123477c0  2**2
.data           00000160  123484c0  2**5
.bss            00000004  12348620  2**2

Symbols:
00000000 a sg.c
12340000 d __this_module
12340000 D 
__insmod_sg_O/lib/modules/2.4.18-18SGI_XFS_1.2pre5smp/kernel/drivers/scsi/sg.o_M3E431261_V132114
12340060 t gcc2_compiled.
12340060 T __insmod_sg_S.text_L25024
12340060 t .text
12340060 t sg_open
123402f0 t sg_release
12340400 t sg_read
123407a0 t sg_new_read
123408d0 t sg_write
12340b80 t sg_new_write
12340dc0 t sg_common_write
12341020 t sg_ioctl
12341d90 t sg_poll
12341ea0 t sg_fasync
12341f10 t sg_rb_correct4mmap
12342040 t sg_vma_nopage
12342130 t sg_mmap
12342270 t sg_cmd_done_bh
12342610 t sg_detect
12342620 t sg_init
12342750 t sg_attach
123429c0 t sg_finish
123429d0 t sg_detach
12342bf0 t init_sg
12342bf0 t init_module
12342c20 t cleanup_module
12342c20 t exit_sg
12342c70 t sg_start_req
12342d60 t sg_finish_rem_req
12342dd0 t sg_build_sgat
12342e60 t sg_unmap_and
12342ec0 t sg_build_dir
12343130 t sg_build_indi
12343350 t sg_write_xfer
123436a0 t sg_u_iovec
12343730 t sg_get_sgat_msa
12343760 t sg_remove_scat
12343880 t sg_read_xfer
12343bc0 t sg_read_oxfer
12343cd0 t sg_build_reserve
12343d40 t sg_link_reserve
12343e60 t sg_unlink_reserve
12343f10 t sg_get_rq_mark
12343f80 t sg_get_nth_request
12343fc0 t sg_add_request
12344090 t sg_remove_request
12344130 t sg_get_nth_sfp
12344170 t sg_add_sfp
123442a0 t __sg_remove_sfp
12344360 t sg_remove_sfp
123444a0 t sg_res_in_use
123444e0 t sg_low_malloc
123447e0 t sg_malloc
12344980 t sg_low_free
12344a20 t sg_free
12344a70 t sg_ms_to_jif
12344ac0 t sg_allow_access
12344af0 t sg_last_dev
12344b40 t sg_get_dev
12344b90 t sg_proc_init
12344c30 t sg_proc_cleanup
12344c90 t sg_proc_adio_read
12344d10 t sg_proc_adio_info
12344d80 t sg_proc_adio_write
12344e30 t sg_proc_dressz_read
12344eb0 t sg_proc_dressz_info
12344f20 t sg_proc_dressz_write
12344fd0 t sg_proc_debug_read
12345050 t sg_proc_debug_info
12345790 t sg_proc_dev_read
12345810 t sg_proc_dev_info
12345920 t sg_proc_devhdr_read
123459a0 t sg_proc_devhdr_info
12345a00 t sg_proc_devstrs_read
12345a80 t sg_proc_devstrs_info
12345b60 t sg_proc_host_read
12345be0 t sg_proc_host_info
12345cf0 t sg_proc_hosthdr_read
12345d70 t sg_proc_hosthdr_info
12345dd0 t sg_proc_hoststrs_read
12345e50 t sg_proc_hoststrs_info
12345fd0 t sg_proc_version_read
12346050 t sg_proc_version_info
123460c0 t sg_jif_to_ms
12346110 t sg_alloc_kiovec
12346130 t sg_free_kiovec
12346146 t .text.lock.sg
12346220 t .fixup
12346427 r .rodata.str1.1
12346900 r .rodata.str1.32
12347480 r __ex_table
12347660 r .rodata
12347660 R __insmod_sg_S.rodata_L80
123484c0 d .data
123484c0 d sg_version_str
123484c0 D __insmod_sg_S.data_L352
123484c4 d sg_version_num
123484c8 D sg_big_buff
123484cc d def_reserved_size
123484d0 d sg_allow_dio
123484d4 d sg_pool_secs_avail
123484d8 d sg_dev_arr_lock
123484e0 d sg_template
12348528 d sg_dev_arr
1234852c d sg_mmap_vm_ops
12348540 d sg_fops
12348588 d sg_registered.0
1234858c d allow_ops
12348598 d sg_proc_sgp
1234859c d sg_proc_sg_dirname
123485a0 d sg_proc_leaf_names
123485c8 d sg_proc_leaf_reads
123485f0 d sg_proc_leaf_writes
12348620 D __insmod_sg_S.bss_L4
12348620 d .bss
12348620 d dummy_cmdp
           CPU0       CPU1       CPU2       CPU3       
  0:     192726     192480     196369     196640    IO-APIC-edge  timer
  1:        161        161        161        161    IO-APIC-edge  keyboard
  2:          0          0          0          0          XT-PIC  cascade
  8:          1          0          0          0    IO-APIC-edge  rtc
 12:        498        528        500        503    IO-APIC-edge  PS/2 Mouse
 15:          3          2          2          3    IO-APIC-edge  ide1
 16:         95         92         97         94   IO-APIC-level  usb-uhci, eth2
 17:       3049       3038       3053       3047   IO-APIC-level  nvidia
 18:          0          0          0          0   IO-APIC-level  usb-uhci
 19:          0          0          0          0   IO-APIC-level  usb-uhci
 22:          0          0          0          0   IO-APIC-level  Digi DBX2
 26:       2385       2195       2313       2548   IO-APIC-level  ioc0
 27:         15          2          9         14   IO-APIC-level  ioc1
 48:         15          3         17         13   IO-APIC-level  qla1280
NMI:          1          1          2          2 
LOC:     778042     778037     778039     778018 
ERR:          0
MIS:          0
<Prev in Thread] Current Thread [Next in Thread>