Red Hat Bugzilla – Bug 471217
udevsettle fails during boot
Last modified: 2009-12-18 01:49:38 EST
Description of problem:
During boot an external USB drive is not seen, causing an fsck error and dropping to a shell.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Boot system with external USB hard drive
3.Drop to shell, edit /etc/fstab and reboot, which works
The external drive is formatted as ext3 and identified as "Bus 002 Device 002: ID 059b:0275 Iomega Corp.". Following a suggestion on fedora-test-list, I tried setting udevtimeout=300 on the boot line, both in the grub.conf file and interactively. No effect (either to the boot time or to the error), so I suspect the drive is reporting it's ready when it isn't.
what is wrong with udev?
(In reply to comment #1)
> what is wrong with udev?
I've no idea. I reported this under udev since I assumed udevsettle had something to do with udev.
I have a similar problem with an external RAID with SCSI connection with Fedora 9 and the current packages (kernel-184.108.40.206-37.fc9.x86_64, udev-124-2.fc9.x86_64, initscripts-8.76.4-1.x86_64).
I also tried the boot option udevtimeout=300 and higher values, but no difference.
When I tried to also add udevtrace and udevdebug, then it works.
"Works" mean, that the partitions on the external RAID are available when they are needed by the mount command (that looks in /etc/fstab).
In the other case, not working, there are error messages that the block devices (or labels) for the filessystems cannot be found.
With udevtrace I saw, that udev recogniced them _after_ the prompt for the root password - that meens, that udev (?) has not wait until the SCSI bus was ready an registered all SCSI devices.
But udevtimeout with other values seems to change nothing.
Thanks in advance!
(In reply to comment #3)
> I have a similar problem with an external RAID with SCSI connection with Fedora
> 9 and the current packages (kernel-220.127.116.11-37.fc9.x86_64,
> udev-124-2.fc9.x86_64, initscripts-8.76.4-1.x86_64).
> I also tried the boot option udevtimeout=300 and higher values, but no
> When I tried to also add udevtrace and udevdebug, then it works.
I tried with udevdebug, but it made no difference in my case.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
is this still a problem?
Yes, no change. Running F10 with all updates.
I just had to hard reboot because of a strange system hang and everything came up normally, i.e. it *appears* that the udevsettle problem went away. This is with kernel-18.104.22.168-170.2.35.fc10.x86_64 and udev-127-3.fc10.x86_64.
If it comes back I'll report again.
Unfortunately it was a false alarm. The problem came back next time I rebooted (this time a soft boot). I've installed a temporary workaround by configuring "noauto" in the fstab entry and mounting the filesytem explicitly in /etc/rc.local. This seems to work.
I am having an identical issue. F10 i386, fully updated.
Because the USB drive is relied on by the NFS, Samba, and Apache servers, I made a short init script to mount it before most other services start.
Is there any way to force udevsettle before doing the mounts?
you can wait for udev to be settled without a timeout.
That's good to know, however it's not of much practical value in my case. As stated above, I already disable noauto in /etc/fstab and mount the drive in /etc/rc.local. This works every time. To make use of "udevadm settle" I would have to do essentially the same thing, just add that line to /etc/rc.local. I suppose it wouldn't hurt to do it for safety, but it would be much better if the system itself did it automatically before trying to mount USB devices at boot time, in which case I could remove my hacked solution.
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.