Oops with "scsi add-single-device"

Walter Hofmann (Walter.Hofmann@physik.stud.uni-erlangen.de)
Thu, 25 Mar 1999 15:25:14 +0100 (MET)


-----BEGIN PGP SIGNED MESSAGE-----

I got the following oops after executing the following commands:

frodo:/proc/scsi # echo "scsi add-single-device
1 0 3 0 " >/proc/scsi/scsi
(no 2nd controller--shouldn't do anything)

frodo:/proc/scsi # echo "scsi add-single-device
0 0 6 0 " >/proc/scsi/scsi
(ID 6 is my ZIP, which was already recognized on boot-up. This did'nt
change /proc/scsi/scsi)

frodo:/proc/scsi # echo "scsi remove-single-device 0 0 6 0 " >/proc/scsi/scsi
(This removed the ZIP drive from /proc/scsi/scsi)

frodo:/proc/scsi # ll /misc/zip
ls: /misc/zip: No such file or directory
(/misc/zip is the automounted zip, this fails as expected)

frodo:/proc/scsi # echo "scsi
add-single-device 0 0 6 0 " >/proc/scsi/scsi
(This caused the oops:)

Mar 25 15:16:29 frodo kernel: scsi singledevice 0 0 6 0
Mar 25 15:16:29 frodo kernel: Vendor: IOMEGA Model: ZIP 100 Rev: J.03
Mar 25 15:16:29 frodo kernel: Type: Direct-Access ANSI SCSI revision: 02
Mar 25 15:16:29 frodo kernel: Unable to handle kernel paging request at virtual address 0f042454
Mar 25 15:16:29 frodo kernel: current->tss.cr3 = 03ad8000, %cr3 = 03ad8000
Mar 25 15:16:29 frodo kernel: *pde = 00000000
Mar 25 15:16:29 frodo kernel: Oops: 0002
Mar 25 15:16:29 frodo kernel: CPU: 0
Mar 25 15:16:29 frodo kernel: EIP: 0010:[sg_poll+151/152]
Mar 25 15:16:29 frodo kernel: EFLAGS: 00010292
Mar 25 15:16:29 frodo kernel: eax: 00000001 ebx: 00000000 ecx: 00000081 edx: c018cf37
Mar 25 15:16:29 frodo kernel: esi: c01e4060 edi: c2c887c0 ebp: c0379a00 esp: c3e5bd20
Mar 25 15:16:29 frodo kernel: ds: 0018 es: 0018 ss: 0018
Mar 25 15:16:29 frodo kernel: Process bash (pid: 1297, process nr: 50, stackpage=c3e5b000)
Mar 25 15:16:29 frodo kernel: Stack: 00000000 c2c887c0 00000006 00000000 40001e00 c0000000 c3e5a000 00000005
Mar 25 15:16:29 frodo kernel: 080ba990 080b47d3 08048000 c2c887c0 c2c887fa 00e5a000 00000085 c3899c00
Mar 25 15:16:29 frodo kernel: c037e800 c3e5bd90 00e5be20 c0189f89 c3899c00 c037e800 00000000 00000000
Mar 25 15:16:29 frodo kernel: Call Trace: [requeue_sd_request+37/2948] [scan_scsis+437/1160] [__wake_up+46/60] [printk+358/372] [scsi_proc_info+1388/1988] [scsi_device_types+3712/5152] [scsi_proc_info+1550/1988]
Mar 25 15:16:29 frodo kernel: [dispatch_scsi_info+54/164] [proc_writescsi+102/136] [sys_write+220/256] [proc_writescsi+0/136] [system_call+52/64]
Mar 25 15:16:29 frodo kernel: Code: 00 8b 54 24 04 0f be 42 30 83 f8 07 77 07 ff 24 85 04 3c 1c

Kernel is 2.2.4 (with an updated ISDN and my APM patch).

Walter

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBNvpHTfzeA3/eVHOFAQFRCAP+Jj99oY0lki2ls+uqNvNUMH3o09gj7/oY
mRkc+tOLkUXsF9uCbTv+T7LgoBp+0mLLBfpKwCkIYpU9NF5KtjnbZlxdpn7fbZPw
p32b3aMui+lfS3lg4WFqKBAhaOWS0YTN0mZIEHk1f/Cuj5yZFnYgjU2q6Mv1wnmc
ABvCsUYw4CU=
=3m3A
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/