* Udev infinite loop
@ 2004-08-13 10:57 Guillaume Chazarain
2004-08-13 16:52 ` Greg KH
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Guillaume Chazarain @ 2004-08-13 10:57 UTC (permalink / raw)
To: linux-hotplug
Hi,
I've encountered a small problem with udev.
If I mount my ZIP drive with a bad option it goes
in an infinite loop and every ~0.5 second the udev
daemon wakes up and my ZIP starts spinning.
I run fedora core 3 test1 with linux-2.6.8-rc4, udev-026.
So I don't use actually use udev but it's running.
If I do :
mount /dev/hdd4 /mnt/zip -o unknown_option=unknown_value
mount will complain about the option, refuse to mount, and
the infinite loop will start.
I am sorry for the lack of details, but I am not currently at home.
If you cannot reproduce it, please ask me any details you need.
Thanks.
--
Guillaume
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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] 6+ messages in thread
* Re: Udev infinite loop
2004-08-13 10:57 Udev infinite loop Guillaume Chazarain
@ 2004-08-13 16:52 ` Greg KH
2004-08-16 8:12 ` Guillaume Chazarain
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2004-08-13 16:52 UTC (permalink / raw)
To: linux-hotplug
On Fri, Aug 13, 2004 at 12:57:27PM +0200, Guillaume Chazarain wrote:
> Hi,
>
> I've encountered a small problem with udev.
> If I mount my ZIP drive with a bad option it goes
> in an infinite loop and every ~0.5 second the udev
> daemon wakes up and my ZIP starts spinning.
>
> I run fedora core 3 test1 with linux-2.6.8-rc4, udev-026.
> So I don't use actually use udev but it's running.
>
> If I do :
>
> mount /dev/hdd4 /mnt/zip -o unknown_option=unknown_value
>
> mount will complain about the option, refuse to mount, and
> the infinite loop will start.
>
> I am sorry for the lack of details, but I am not currently at home.
> If you cannot reproduce it, please ask me any details you need.
I need more details. Kernel log messages. udev log messages. something
more...
Oh, and how about upgrading to the latest version of udev, we're at 030
these days.
thanks,
greg k-h
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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] 6+ messages in thread
* Re: Udev infinite loop
2004-08-13 10:57 Udev infinite loop Guillaume Chazarain
2004-08-13 16:52 ` Greg KH
@ 2004-08-16 8:12 ` Guillaume Chazarain
2004-08-16 8:43 ` David Zeuthen
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Guillaume Chazarain @ 2004-08-16 8:12 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 1207 bytes --]
Greg KH wrote:
>On Fri, Aug 13, 2004 at 12:57:27PM +0200, Guillaume Chazarain wrote:
>
>
>>Hi,
>>
>>I've encountered a small problem with udev.
>>If I mount my ZIP drive with a bad option it goes
>>in an infinite loop and every ~0.5 second the udev
>>daemon wakes up and my ZIP starts spinning.
>>
>>I run fedora core 3 test1 with linux-2.6.8-rc4, udev-026.
>>So I don't use actually use udev but it's running.
>>
>>If I do :
>>
>>mount /dev/hdd4 /mnt/zip -o unknown_option=unknown_value
>>
>>mount will complain about the option, refuse to mount, and
>>the infinite loop will start.
>>
>>I am sorry for the lack of details, but I am not currently at home.
>>If you cannot reproduce it, please ask me any details you need.
>>
>>
>
>I need more details. Kernel log messages. udev log messages. something
>more...
>
>
>
That's bad news, it means you cannot reproduce it :(
Here is a tar.bz2 containing strace logs of dbus-daemon-1 and udevd.
There is also a dmesg
output, my kernel .config, /etc/udev /sys and kernel logs.
I see nothing wrong in them, but hopefully you will.
>Oh, and how about upgrading to the latest version of udev, we're at 030
>these days.
>
>
>
OK, done.
--
Guillaume
[-- Attachment #1.2: Type: text/html, Size: 1717 bytes --]
[-- Attachment #2: udev_logs.tar.bz2 --]
[-- Type: application/octet-stream, Size: 56714 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Udev infinite loop
2004-08-13 10:57 Udev infinite loop Guillaume Chazarain
2004-08-13 16:52 ` Greg KH
2004-08-16 8:12 ` Guillaume Chazarain
@ 2004-08-16 8:43 ` David Zeuthen
2004-08-16 20:44 ` David Zeuthen
2004-08-17 8:19 ` Guillaume Chazarain
4 siblings, 0 replies; 6+ messages in thread
From: David Zeuthen @ 2004-08-16 8:43 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2004-08-16 at 10:12 +0200, Guillaume Chazarain wrote:
> That's bad news, it means you cannot reproduce it :(
> Here is a tar.bz2 containing strace logs of dbus-daemon-1 and udevd.
> There is also a dmesg
> output, my kernel .config, /etc/udev /sys and kernel logs.
> I see nothing wrong in them, but hopefully you will.
>
This is not an udev problem; this is caused by the fact that hal polls
your device for media; fwiw, I've seen this with the ide-cs driver as
well when using a PCMCIA CF card reader and I'm looking into
blacklisting such devices or at least working around issues. Please
state your version of hal and include the output of 'lshal' so we can
get this resolved.
To me, it seems that if you do a 'dd if=/dev/hde of=/tmp/foo bsQ2
count\x10' then it causes a all partitions on /dev/hde to be hot
unplugged and then hot replugged. Uhm, isn't that some kind of bug in
the driver or what.
thanks,
David
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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] 6+ messages in thread
* Re: Udev infinite loop
2004-08-13 10:57 Udev infinite loop Guillaume Chazarain
` (2 preceding siblings ...)
2004-08-16 8:43 ` David Zeuthen
@ 2004-08-16 20:44 ` David Zeuthen
2004-08-17 8:19 ` Guillaume Chazarain
4 siblings, 0 replies; 6+ messages in thread
From: David Zeuthen @ 2004-08-16 20:44 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2004-08-16 at 10:43 +0200, David Zeuthen wrote:
> On Mon, 2004-08-16 at 10:12 +0200, Guillaume Chazarain wrote:
> > That's bad news, it means you cannot reproduce it :(
> > Here is a tar.bz2 containing strace logs of dbus-daemon-1 and udevd.
> > There is also a dmesg
> > output, my kernel .config, /etc/udev /sys and kernel logs.
> > I see nothing wrong in them, but hopefully you will.
> >
Guillaume: I believe I've fixed this problem in the just released hal
0.2.97, at least it works nicely with my PCMCIA card reader which showed
the same issues. I see that you are running Fedora Core development;
updated hal-0.2.97 packages should appear in rawhide soon [1].
It would be great if you can test these packages ('rpm -q hal' should
report hal-0.2.97-1 or higher) and if it fails then please report the
bug to http://bugzilla.redhat.com or the hal@freedesktop.org mailing
list. If it just works, also feel free to mail me personally; I would
appreciate it! Thanks.
> This is not an udev problem; this is caused by the fact that hal polls
> your device for media; fwiw, I've seen this with the ide-cs driver as
> well when using a PCMCIA CF card reader and I'm looking into
> blacklisting such devices or at least working around issues. Please
> state your version of hal and include the output of 'lshal' so we can
> get this resolved.
>
> To me, it seems that if you do a 'dd if=/dev/hde of=/tmp/foo bsQ2
> count\x10' then it causes a all partitions on /dev/hde to be hot
> unplugged and then hot replugged. Uhm, isn't that some kind of bug in
> the driver or what.
Hotplug folks: I'd just like to note that this problem is not exclusive
to hal at all, it even applies to mount(1) if the filesystem given is
'auto', cause then mount(1) access the device file and this will cause a
hotplug removal and then a hotplug add. Specifically, using udev
callouts to get the drive serial number or volume lanel will also cause
infinite loops.
Can anyone please confirm this is a bug in the IDE subsystem?
Thanks,
David
[1] : Alternatively download the (S)RPMs from here
http://freedesktop.org/~david/rpms/
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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] 6+ messages in thread
* Re: Udev infinite loop
2004-08-13 10:57 Udev infinite loop Guillaume Chazarain
` (3 preceding siblings ...)
2004-08-16 20:44 ` David Zeuthen
@ 2004-08-17 8:19 ` Guillaume Chazarain
4 siblings, 0 replies; 6+ messages in thread
From: Guillaume Chazarain @ 2004-08-17 8:19 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 1234 bytes --]
David Zeuthen wrote:
>On Mon, 2004-08-16 at 10:43 +0200, David Zeuthen wrote:
>
>
>>On Mon, 2004-08-16 at 10:12 +0200, Guillaume Chazarain wrote:
>>
>>
>>>That's bad news, it means you cannot reproduce it :(
>>>Here is a tar.bz2 containing strace logs of dbus-daemon-1 and udevd.
>>>There is also a dmesg
>>>output, my kernel .config, /etc/udev /sys and kernel logs.
>>>I see nothing wrong in them, but hopefully you will.
>>>
>>>
>>>
>
>Guillaume: I believe I've fixed this problem in the just released hal
>0.2.97, at least it works nicely with my PCMCIA card reader which showed
>the same issues. I see that you are running Fedora Core development;
>updated hal-0.2.97 packages should appear in rawhide soon [1].
>
>It would be great if you can test these packages ('rpm -q hal' should
>report hal-0.2.97-1 or higher) and if it fails then please report the
>bug to http://bugzilla.redhat.com or the hal@freedesktop.org mailing
>list. If it just works, also feel free to mail me personally; I would
>appreciate it! Thanks.
>
>
Sorry for the delay, I am at work, here are two lshal outputs, one
before mounting
and the other after.
Hopefully tomorrow you'll know if the new hal solves my problems :)
--
Guillaume
[-- Attachment #1.2: Type: text/html, Size: 1877 bytes --]
[-- Attachment #2: lshal.mount.bz2 --]
[-- Type: application/octet-stream, Size: 2622 bytes --]
[-- Attachment #3: lshal.umount.bz2 --]
[-- Type: application/octet-stream, Size: 2493 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-08-17 8:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-13 10:57 Udev infinite loop Guillaume Chazarain
2004-08-13 16:52 ` Greg KH
2004-08-16 8:12 ` Guillaume Chazarain
2004-08-16 8:43 ` David Zeuthen
2004-08-16 20:44 ` David Zeuthen
2004-08-17 8:19 ` Guillaume Chazarain
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).