From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 10 Jan 2006 19:16:16 +0000 Subject: Re: vol_id Segmentation fault Message-Id: <20060110191616.GA6669@vrfy.org> List-Id: References: <200601101639.49916.miguel@rozsas.xx.nom.br> In-Reply-To: <200601101639.49916.miguel@rozsas.xx.nom.br> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Jan 10, 2006 at 04:39:49PM -0200, Miguel Angelo Rozsas wrote: > 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: > gold:~ # /sbin/vol_id /dev/sdd1 > Segmentation fault try this (adopt and type the lines with the asterisk): * $ gdb /sbin/vol_id GNU gdb 6.4 ... * (gdb) r /dev/sda7 Starting program: /sbin/vol_id /dev/sda7 (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ID_FS_USAGE=filesystem ID_FS_TYPE=ext3 ID_FS_VERSION=1.0 ... * (gdb) bt Also look where this ends strace -t -s1000 /sbin/vol_id /dev/sda7 > 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 You mean 10.0? The mentioned udev isn't from the current 10.1 which is under development. > I hope you guys can figure out what is wrong. This bug stops the > automatic mounting of device. How is that related to automounting, all you will miss, are the links in /dev/disk/by-label/. HAL controls the automounting and does not depend on vol_id to do that. Kay ------------------------------------------------------- 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_id865&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