Bug 134898 - /dev initialization by udev not synchronized with boot scripts
Summary: /dev initialization by udev not synchronized with boot scripts
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Hotplug (show other bugs)
Version: Alpha 3
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Kay Sievers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 13:46 UTC by Kay Sievers
Modified: 2006-01-31 17:33 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Free Pascal IDE strace log (107.63 KB, text/plain)
2005-12-13 12:56 UTC, Björn Voigt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kay Sievers 2005-11-22 13:46:29 UTC
I had this problem at first with 10.1-alpha3

<3>udev[901]: run_program: exec of program '/usr/sbin/hal.hotplug' failed
From: Björn Voigt (#115133)
<3>udev[902]: run_program: exec of program '/usr/sbin/hal.hotplug' failed

After this messages the system asks me for the root password and I should
repair some filesystems manually.

I have a separate /usr-partition and udev was not able to create the necessary
/dev/hda* files. Because of missing /dev/hda* files, /usr could not be mounted.

Downgrading udevd to the version from 10.1-alpha or 10.0-final fixed the
problem for me. That's why I think, that there are new problems with udevd
since 10.1-alpha3.
Comment 1 Kay Sievers 2005-11-22 13:48:20 UTC
/usr at a different partition does not work reliable in all setups at the moment, cause of missing synchronization with the localfs boot script. It will be fixed during the next days.
Comment 2 Kay Sievers 2005-12-04 02:53:35 UTC
Should be fine now with the current development release:
http://ftp.opensuse.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/suse/
Comment 3 Björn Voigt 2005-12-13 12:56:51 UTC
Created attachment 60398 [details]
Free Pascal IDE strace log
Comment 4 Björn Voigt 2005-12-13 12:59:05 UTC
Since my last update (Date: Tue, 13 Dec 2005 13:46:17 +0100) to SL-OSS-factory the problem returned in an other form.

Now, the boot scripts work fine with the SuSE-kernel, but not with the Vanilla kernel.

This are my packages:

udev-077-2
devs-10.0.42-2
hal-0.5.6_CVS_20051205-2
kernel-default-2.6.15_rc5-2 (works)
linux-2.6.14.3 (does not work since last update)

Also Free Pascal from www.freepascal.org hangs with the latest update (kernel-default+udev): see the attached strace log

Do I need any non-standard kernel patches for udev to run?
Comment 5 Kay Sievers 2005-12-13 14:54:53 UTC
Yes, sorry, we depend on a 2.6.15* kernel to work with the kernel driven coldplug. All devices in /sys need a "uevent" file to work. From now on, we just depend on that feature along with some other changes for certain subsystems, to export the module-autoloading MODALIAS value.

There is no SUSE specific patch for custom kernels needed, the current development kernel 2.6.15-rc*, (to be soon released as kernel 2.6.15) works just fine here.
Comment 6 Björn Voigt 2006-01-08 21:53:41 UTC
Kernel 2.6.15 (final) worked good together with the udev-setup in 10.1alpha3. 

But now with 10.1Beta1 and Kernel 2.6.15 (final) the problem comes again. The system boots without problems with the preinstalled kernel kernel-default-2.6.15_rc6_git2-2, but not with the vanilla kernel 2.6.15. 

The problem shows now as follows:
- the system does not mount any filesystems except the root filesystems and
  reports later, that the user should check the filesystem manually
- the device nodes for the partitions are there, so a "mount -a" and "init 3" 
  is successful

This are my packages:
- kernel-default-2.6.15_rc6_git2-2
- kernel 2.6.15 (no package)
- udev-079-2
- aaa_base-10.0.42-35
- hal-0.5.6_CVS_20051212-2
- ...
Comment 7 Kay Sievers 2006-01-23 21:38:09 UTC
Does changing the init scrip dependency help?
https://bugzilla.novell.com/show_bug.cgi?id=144753&x=9&y=6#c9
Comment 8 Björn Voigt 2006-01-31 17:33:05 UTC
SuSE Linux 10.1 Beta1 works now with Vanilla kernel 2.6.15 (tested with 2.6.15.1).

The system boots correctly now. So I set the bug to FIXED now.