Hi,

I am attaching an oops report which I get with 2.4.0-test9 when I
echo scsi dump 0 > /proc/scsi/scsi

The system is an Intel Pentium II laptop with scsi emaulation built
into the kernel.

Unfortunately, I could not really get anywhere with ksymoops so any
pointers to its proper usage would also be appreciated.

Thanks,

Richard

echo "scsi dump 0" > /proc/scsi/scsi gives an oops. ksymoops does not really help all 
that much 8-(

Here is the oops:

turbocharged kernel: Dump of scsi command parameters: 
turbocharged kernel: h:c:t:l (dev sect nsect cnumsec sg) (ret all flg) (to/cmd to ito) 
cmd snse result 
turbocharged kernel: Dump of pending block device requests 
turbocharged kernel: 0: <1>Unable to handle kernel NULL pointer dereference at virtual 
address 00000040 
turbocharged kernel:  printing eip: 
turbocharged kernel: c01a03e8 
turbocharged kernel: *pde = 00000000 
turbocharged kernel: Oops: 0000 
turbocharged kernel: CPU:    0 
turbocharged kernel: EIP:    0010:[scsi_dump_status+428/540] 
turbocharged kernel: EFLAGS: 00010282 
turbocharged kernel: eax: 00000003   ebx: 00000000   ecx: cb492000   edx: 00000000 
turbocharged kernel: esi: c02d2030   edi: c1384b40   ebp: 00000000   esp: caae3f38 
turbocharged kernel: ds: 0018   es: 0018   ss: 0018 
turbocharged kernel: Process bash (pid: 543, stackpage=caae3000) 
turbocharged kernel: Stack: 40016000 c0232c9d caad6000 bffff3f0 cbf78d60 c019f31b 
00000000 caad600a  
turbocharged kernel:        00000000 00000000 ffffffea cae37920 0000000c bffff3f0 
caad6005 caee4a80  
turbocharged kernel:        ffffffea caad6000 cae37920 00000000 caad600a c0145388 
cae37920 40016000  
turbocharged kernel: Call Trace: [scsi_device_types+1725/5063] 
[proc_scsi_gen_write+231/1788] [proc_file_write+40/56] [sys_write+146/200] 
[system_call+51/56]  
turbocharged kernel: Code: 8b 43 40 50 8b 43 2c 50 8b 43 28 50 8b 43 20 50 0f b7 43 1c 
 


and here is the output from ksymoops. Perhaps someone can point out what I doing wrong 
with it
so that I can get more useful output.

[root@turbocharged /root]# ksymoops -v /usr/src/linux/vmlinux -m 
/boot/System.map-2.4.0-test9 -k proc_ksyms.scsi_oops -l proc_modules.scsi_oops -s 
save.map scsi_dump_0.oops 
ksymoops 2.3.4 on i686 2.4.0-test9.  Options used
     -v /usr/src/linux/vmlinux (specified)
     -k proc_ksyms.scsi_oops (specified)
     -l proc_modules.scsi_oops (specified)
     -o /lib/modules/2.4.0-test9/ (default)
     -m /boot/System.map-2.4.0-test9 (specified)

Warning (compare_maps): ksyms_base symbol 
__VERSIONED_SYMBOL(__usb_get_extra_descriptor) not found in vmlinux.  Ignoring 
ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_alloc_bus) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_alloc_dev) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_alloc_urb) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_bulk_msg) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_check_bandwidth) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_claim_bandwidth) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_clear_halt) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_connect) not found in 
vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_control_msg) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_deregister) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_deregister_bus) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_disconnect) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol 
__VERSIONED_SYMBOL(usb_driver_claim_interface) not found in vmlinux.  Ignoring 
ksyms_base entry
Warning (compare_maps): ksyms_base symbol 
__VERSIONED_SYMBOL(usb_driver_release_interface) not found in vmlinux.  Ignoring 
ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_epnum_to_ep_desc) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_free_bus) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_free_dev) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_free_urb) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_get_class_descriptor) 
not found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_get_configuration) 
not found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol 
__VERSIONED_SYMBOL(usb_get_current_frame_number) not found in vmlinux.  Ignoring 
ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_get_descriptor) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol 
__VERSIONED_SYMBOL(usb_get_device_descriptor) not found in vmlinux.  Ignoring 
ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_get_protocol) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_get_report) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_get_string) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_ifnum_to_if) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_inc_dev_use) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_interface_claimed) 
not found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_new_device) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_register) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_register_bus) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_release_bandwidth) 
not found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_reset_device) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_root_hub_string) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_scan_devices) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_set_address) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_set_configuration) 
not found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_set_idle) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_set_interface) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_set_protocol) not 
found in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_set_report) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_string) not found in 
vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_submit_urb) not found 
in vmlinux.  Ignoring ksyms_base entry
Warning (compare_maps): ksyms_base symbol __VERSIONED_SYMBOL(usb_unlink_urb) not found 
in vmlinux.  Ignoring ksyms_base entry
turbocharged kernel: 0: <1>Unable to handle kernel NULL pointer dereference at virtual 
address 00000040 

46 warnings issued.  Results may not be reliable.


Here is the contents of /proc/modules immediately after the oops:

serial_cs               4620   0 (unused)
xirc2ps_cs             12552   0 (unused)
nm256_audio            68112   0 (unused)
sound                  58400   0 [nm256_audio]
ac97                    3356   0 [nm256_audio]

As you can see, no usb modules 8-|

Richard

Reply via email to