Bug#342904: [Yaird-devel] Bug#342904: yaird: Error creating initrd on Sparc64

Erik van Konijnenburg ekonijn at xs4all.nl
Sun Dec 11 19:51:55 UTC 2005


On Sun, Dec 11, 2005 at 08:11:57PM +0100, Frans Pop wrote:
> On Sunday 11 December 2005 19:57, Erik van Konijnenburg wrote:
> > http://arch.debian.org/arch/yaird/ekonijn@xs4all.nl--debian/yaird/yaird
> >--devo/yaird--devo--0.1/patch-129/
> 
> Thanks for the quick reaction.
> With the patch applied, I get the following result.
> 
> $ sudo dpkg-reconfigure linux-image-2.6.14-2-sparc64
> Running depmod.
> Finding valid ramdisk creators.
> Using mkinitrd.yaird to build the ramdisk.
> yaird warning: unrecognised legacy device: /sys/devices/serio1; trying sunkbd
> yaird error: Could not read output for /sbin/modprobe -v -n --show-depends --set-version 2.6.14-2-sparc64 sunkbd (fatal)
> Failed to create initrd image.

Hoi Frans,

Sounds like a driver that is compiled into the kernel; the following patch
makes the relevant defines known to yaird; note that it only applies
if you also have all earlier patches over 0.0.12.

Regards,
Erik

http://arch.debian.org/arch/yaird/ekonijn@xs4all.nl--debian/yaird/yaird--devo/yaird--devo--0.1/patch-130

The core of the patch:

--- orig/perl/KConfig.pm
+++ mod/perl/KConfig.pm
@@ -104,9 +104,11 @@
 	i8042 => [ 'SERIO_I8042' ],
 	usbhid => [ 'USB_HID' ],
 	atkbd => [ 'KEYBOARD_ATKBD' ],
+	sunkbd => [ 'KEYBOARD_SUNKBD' ],
 	mousedev => [ 'INPUT_MOUSEDEV' ],
 	evdev => [ 'INPUT_EVDEV' ],
 	psmouse => [ 'MOUSE_PS2' ],
+	sermouse => [ 'MOUSE_SERIAL' ],
 
 	# file systems
 	ext2 => [ 'EXT2_FS' ],




More information about the Yaird-devel mailing list