Subject: panic for umass0/scsibus/sd
To: None <firstname.lastname@example.org>
From: Wolfgang Rupprecht <wolfgang+gnus20020926T163639@wsrcc.com>
Date: 09/26/2002 16:51:38
I just got another panic when I tried to plug a Nikon 995 (usb, umass,
scsibus, sd) into a current i386 kernel. Of note is that the machine
doesn't normally have any scsi's of any sort in it. When I plugged
the camera into the usb I got the first lines of the kprintf where the
umass is identified. The next scsibus0 and sd0 lines never occurred.
After a minute of two I turned the camera off again and X11 hung.
Pounding on cntl-alt-f1 rewarded me with a bios memory-test screen, a
15-minute fsck, and few screens of files that went bye-bye.
Sep 26 16:21:44 capsicum /netbsd: umass0 at uhub0 port 1 configuration 1 interface 0
Sep 26 16:21:44 capsicum /netbsd:
Sep 26 16:21:44 capsicum /netbsd: umass0: NIKON NIKON DSC E995, rev 1.10/1.00, addr 2
Sep 26 16:21:44 capsicum /netbsd: umass0: using SCSI over Bulk-Only
Sep 26 16:21:44 capsicum /netbsd: scsibus0 at umass0: 2 targets, 1 lun per target
Sep 26 16:21:44 capsicum /netbsd: scsibus0: waiting 2 seconds for devices to settle...
Sep 26 16:21:46 capsicum /netbsd: sd0 at scsibus0 target 1 lun 0: <NIKON, NIKON DSC E995, 1.00> SCSI2 0/direct removable
Sep 26 16:21:46 capsicum /netbsd: sd0: could not mode sense (4/5); using fictitious geometry
Sep 26 16:21:46 capsicum /netbsd: sd0: 245 MB, 245 cyl, 64 head, 32 sec, 512 bytes/sect x 501760 sectors
The core file is totally off the wall. Note this is a gzip
1 -rw------- 1 root wheel 2 Sep 26 16:14 bounds
1 -rw------- 1 root wheel 5 Aug 7 11:14 minfree
325264 -rw------- 1 root wheel 332892000 Sep 26 16:15 netbsd.0.core.gz
1928 -rw------- 1 root wheel 1959487 Sep 26 16:16 netbsd.0.gz
Now if I boot with the camera plugged in and on everything does work.
(The boot does feel slower, as if the usb is getting beat upon during
Does this ring a bell for anyone? Does one need to have a scsi disk
active at boot time in order to make umass/scsibus/sd happy? When I plug
the camera into a similar kernel on a scsi-disk based system I never
get a panic.
Wolfgang Rupprecht <email@example.com>
Hackers don't spread viruses. Microsoft spreads viruses.