linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vol_id Segmentation fault
@ 2006-01-10 18:39 Miguel Angelo Rozsas
  2006-01-10 19:16 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Miguel Angelo Rozsas @ 2006-01-10 18:39 UTC (permalink / raw)
  To: linux-hotplug

Dear developers,

There is a bug on /sbin/vol_id, which is part of udev, causing a Segmentation 
fault on some devices, mainly usb disks, like usb sticks and usb cameras.

When the device is conected to the usb system, the following messages can be 
found on /var/log/messages file:

Jan 10 16:26:11 gold kernel: usb 3-2: new full speed USB device using uhci_hcd 
and address 3
Jan 10 16:26:11 gold kernel: scsi7 : SCSI emulation for USB Mass Storage 
devices
Jan 10 16:26:11 gold kernel: usb-storage: device found at 3
Jan 10 16:26:11 gold kernel: usb-storage: waiting for device to settle before 
scanning
Jan 10 16:26:16 gold kernel:   Vendor: JVC       Model: GC-A70            Rev: 
1.00
Jan 10 16:26:16 gold kernel:   Type:   Direct-Access                      ANSI 
SCSI revision: 00
Jan 10 16:26:16 gold kernel: SCSI device sdd: 122880 512-byte hdwr sectors (63 
MB)
Jan 10 16:26:16 gold kernel: sdd: Write Protect is off
Jan 10 16:26:16 gold kernel: sdd: Mode Sense: 03 00 00 00
Jan 10 16:26:16 gold kernel: sdd: assuming drive cache: write through
Jan 10 16:26:16 gold kernel: SCSI device sdd: 122880 512-byte hdwr sectors (63 
MB)
Jan 10 16:26:16 gold kernel: sdd: Write Protect is off
Jan 10 16:26:16 gold kernel: sdd: Mode Sense: 03 00 00 00
Jan 10 16:26:16 gold kernel: sdd: assuming drive cache: write through
Jan 10 16:26:16 gold kernel:  sdd: sdd1
Jan 10 16:26:16 gold kernel: Attached scsi removable disk sdd at scsi7, 
channel 0, id 0, lun 0
Jan 10 16:26:16 gold kernel: Attached scsi generic sg3 at scsi7, channel 0, id 
0, lun 0,  type 0
Jan 10 16:26:16 gold kernel: usb-storage: device scan complete
Jan 10 16:26:18 gold kernel: printk: 54 messages suppressed.
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124160
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124161
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124162
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124163
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124164
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124165
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124166
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124167
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124160
Jan 10 16:26:18 gold kernel: Buffer I/O error on device sdd1, logical block 
124161
Jan 10 16:26:18 gold udevd-event[18585]: run_program: '/sbin/vol_id' abnormal 
exit

Running /sbin/vol_id /dev/sdd1 as root user with the device plugged:

gold:~ # /sbin/vol_id /dev/sdd1
Segmentation fault
gold:~ #

My system is a SuSE 10.1, my computer is a P4 2.8GHz from Dell (Optiplex 
170L).
My udev version is:

miguel@gold:~> rpm -qf /sbin/vol_id
udev-068git20050831-9.1
miguel@gold:~>

I hope you guys can figure out what is wrong. This bug stops the automatic 
mounting of device.

regards,

-- 
Miguel Angelo Rozsas
miguel@rozsas.xx.nom.br


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-10 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-10 18:39 vol_id Segmentation fault Miguel Angelo Rozsas
2006-01-10 19:16 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).