linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: vol_id Segmentation fault
Date: Tue, 10 Jan 2006 19:16:16 +0000	[thread overview]
Message-ID: <20060110191616.GA6669@vrfy.org> (raw)
In-Reply-To: <200601101639.49916.miguel@rozsas.xx.nom.br>

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_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

      reply	other threads:[~2006-01-10 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-10 18:39 vol_id Segmentation fault Miguel Angelo Rozsas
2006-01-10 19:16 ` Kay Sievers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060110191616.GA6669@vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).