Hi, all! I'm joining the effort started here: http://linuxfromscratch.org/pipermail/lfs-dev/2006-January/055025.html
Current setup: LFS+6.1.1 (but with old LFS-6.0 bootscripts). Upgrades: kernel-2.6.15.1 udev-081 Jim's udev rules: http://ftp.jg555.com/udev/udev-cross-lfs.tar.bz2 The way I work: I use initramfs, which holds among the other things udev + copy of udev rules from / and storage-related kernel modules. On boot, it triggers coldplug events, and then it starts to search for root device by UUID (which is hardcoded during initramfs build). This way I'm able to boot from any media - USBdisk, IDE, SATA, SCSI - you name it. Now the story: 1. Kernel is compiled (most of the things as modules). Initramfs readjusted for new udev. Reboot... Results: * sd_mod is not loaded. Solution: added the following line to to 40-modprobe.rules (copied from SUSE rules supplied with udev package): SUBSYSTEM=="scsi_device", ACTION=="add", SYSFS{device/type}=="0|7|14", RUN+="/sbin/modprobe sd_mod" 2. I've succeded to boot. But I've noticed that ide modules are not loaded (ide-disk, ide-cd, etc..). Well, I've red this: http://linuxfromscratch.org/pipermail/lfs-dev/2006-January/055034.html and pushed the patches in (Alexander, it looks like they are not in 2.6.15). Currenly patches are located at: http://www.kernel.org/pub/linux/kernel/people/gregkh/driver_core/2.6/2.6.15/ide-modalias-support-for-autoloading-of-ide-cd-ide-disk.patch http://www.kernel.org/pub/linux/kernel/people/gregkh/driver_core/2.6/2.6.15/input-add-modalias-support.patch http://www.kernel.org/pub/linux/kernel/people/gregkh/driver_core/2.6/2.6.15/input-fix-add-modalias-support-build-error.patch Ok... but with ide-modalias patch kernel failed to compile - it appears that the patch uses new interface, where hotplug word is replaced by uevent... I've fixed patch manually. You can grub it here: http://www.math.technion.ac.il/~gmm/2.6.15_udev/kernel-2.6.15-ide-modalias-support-for-autoloading-of-ide-cd-ide-disk-old_interface.patch Reboot... Results: * ide-disk and ide-cdrom modules are loaded - no additional udev rules were required (added modalias did the trick). ** /dev/cdrom link is not created ------------------------------------ After all, my system works fine. ALSA modules are loaded (although I do not use sound on my workstations). nvidia.ko is loaded as well (on demand). The same about usb-storage and friends. NOTES: a). I'm a bit confused about 'input subsystem' - I only use USB keyboard and mouse on all of my machines, so I compile *-hcd, usb-core and usb-hid (or what was its name?) directly into the kernel. I do not use any joysticks, touchpads, etc... My point is that I've saw many mails around here and on linux-hotplug-devel reffering that input subsystem still does not work correctly with new udev way. Is there anything I should be aware of? b). Is there some new policy about /dev/cdrom links? May be something similar to /dev/disk/...? Or did it just slipped of from udev rules by mistake? c). Are there any other things you guys would like me to try check? I'll publish my initramfs and mkinitramfs scripts later today, as soon as I'll finish polishing them. :) -- Zaar -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page