[Yaird-devel] Bug#486564: Bug#486564: Fail to create initrd on amd64

Jonas Smedegaard dr at jones.dk
Tue Jun 17 09:07:01 UTC 2008


package yaird
retitle 486564 bad device link in /sys/class/input/event0/device with 2.6.25-5
forcemerge 461997 486564
thanks

On Mon, Jun 16, 2008 at 11:10:01PM +0200, Artur R. Czechowski wrote:

>When kernel is upgraded to latest linux-image-2.6.25-2-amd64 2.6.25-5 
>yaird cannot build initrd:
>
>Using mkinitrd.yaird to build the ramdisk.
>yaird error: bad device link in /sys/class/input/event0/device (fatal)
>mkinitrd.yaird failed to create initrd image.


Thanks for your bugreport!

This bug is known already: recent kernels more aggressively flag devices 
as being keyboards.

Yaird is very robust by design, and refuse to build a ramdisk if there 
is any known risk of not working.

Default yaird config is to enable keyboard during bootup, to be able to 
type in passwords for encrypted filesystems and for debugging. With 
recent kernels it decides that it cannot safely resolve the modules to 
include to enable all possible "buttons" on your machine.

The short-term workaround is to disable INPUT in /etc/yaird/Default.cfg.
If your rootfs is encrypted you then need to add "MODULE" lines to 
explicitly load modules for your keyboard, as yaird cannot reliably (and 
will not unreliably) guess which keyboard (and non-keyboard buttons) you 
actually use.

The real solution is to either disable support for encrypted rootfs by 
default (which I dislike) or extend resolving routines to include more 
knowledge about non-keyboard buttons, to safely ignore weird stuff (like 
generic button support on some ACPI video driver) that can't possibly be 
used as input for encryption and debugging.

If you feel like playing with perl and sysfs, then I'd appreciate help 
implementing such non-keyboard resolving routines.



Oh - and to get ahead of my quite enthusiastic competitor, Max: You can 
also just abandon yaird and instead use initramfs-tools.  Just please do 
not engage in FUD like "yaird is completely broken". it is not true.


Kind regards,

  - Jonas

-- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  - Enden er nær: http://www.shibumi.org/eoti.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/yaird-devel/attachments/20080617/9f4e93d1/attachment.pgp 


More information about the Yaird-devel mailing list