Hej

Potrzebuje mieć w initrd klawiaturę na usb, by np. boot z init=/bin/bash
dało się coś zrobić.

geninitrd-10000-3.noarch
kernel-2.6.28.5-1.i686
module-init-tools-3.5-1.i686

# grep BAS /etc/sysconfig/geninitrd                                             
                                    
BASICMODULES="usbkbd ehci-hcd uhci-hcd"

i teraz:

# /sbin/geninitrd -f -v /boot/initrd-2.6.28.5-1.gz 2.6.28.5-1  
geninitrd: Using libdir: lib
geninitrd: Using modprobe -c to get modules config
geninitrd: Using /dev/sda1 as device for rootfs
geninitrd: Finding modules for device path /dev/sda1
geninitrd: is_luks: /dev/sda1 is not device mapper name
geninitrd: Finding SCSI modules using scsi_hostadapter
cp: cannot stat `/lib/modules/2.6.28.5-1//sbin/modprobe': No such file or 
directory
geninitrd: + cp /bin/initrd-busybox /root/tmp/initrd.tHxofA/bin/initrd-busybox

Wygenerowane initrd jest niepoprawane, nie zawiera uhci-hcd, gdyż :

# modprobe --set-version 2.6.28.5-1 --show-depends uhci-hcd 
insmod /lib/modules/2.6.28.5-1/kernel/drivers/usb/core/usbcore.ko.gz 
install /sbin/modprobe --ignore-install ehci_hcd; /sbin/modprobe 
--ignore-install uhci_hcd

a to spowodowane jest:
# grep uhci /etc/modprobe.d/usb.conf  
# kernel warns: ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, 
not after
install uhci_hcd /sbin/modprobe --ignore-install ehci_hcd; /sbin/modprobe 
--ignore-install uhci_hcd

doraźnie zahasowałem sobie install w usb.conf, ale to raczej nie jest 
rozwiązanie problemu.

Pozdrawiam,
Arek
_______________________________________________
pld-devel-pl mailing list
pld-devel-pl@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym