I already have the firmware on initrd - pulled from /lib/firmware on the main disk, which was built using the mentioned qlogic firmware package.
So, I'm guessing I'm just missing the udev stuff then...hmm....
Quick question - how does mdev and udev differ? It seems to be running mdev, which something I came across mentioned that it is a udev replacement seemingly for initrd images. Any how...
how do they differ?
And could I just pull the udev files from the main disk to do the work?
I really hope I can get this working sometime on Friday - that's my last day for being able to get this system working.
P.S. Sorry, I would have replied in-line, but the new Yahoo! interface is a real pain for replies.
----- Original Message ----
From: Ivan Kabaivanov <chepati@...>
Sent: Thursday, March 27, 2008 5:06:47 PM
Subject: Re: [gentoo-sparc] Booting the system...
On Thursday 27 March 2008 16:41, BRM wrote:
> Here's my silo.conf:
> # Example of how can be silo.conf set up
> partition = 1
> root = /dev/sda1
> timeout = 300
> default = Linux
> image = /boot/kernel-genkernel-sparc64-2.6.24-gentoo-r3
> initrd = /boot/initramfs-genkernel-sparc64-2.6.24-gentoo-r3.bmeyer
> label = Linux2624gr3
> alias = Linux
> append = "video=atyfb:off real_root=/dev/sda1"
> The 'initrd' image is one I modified. The original genkernel generated
> image is /boot/initramfs-genkernel-sparc64-2.6.24-gentoo-r3 and did not
> seem to have a /lib/firmware directory, nor did it seem to have any
> modules, such as the one I very much need - qla2xxx. I generated the new
> one via the following method:
> zcat -d ../initramfs-genkernel-sparc64-2.6.24-gentoo-r3 >
> initramfs-genkernel-sparc64-2.6.24-gentoo-r3.file cpio -i -d -H newc
> --no-absolute-filenames <
> I then added the following directories:
you're almost there. Get the binary firmware from
ftp://ftp.qlogic.com/outgoing/linux/firmware (just get the .bin files, not
the .bin-version files). There are five or six files altogether. You don't
need all, but they are relatively small so it's no big deal putting all of
them in /lib/firmware.
Make sure on the initramfs you have /etc/udev/rules.d/ with appropriate rules,
including one to handle firmware loading. Also make sure you have on the
initramfs /lib/udev/firmware.sh. This script is part of udev. Just copy it.
Then recreate the cpio.gz and try again. My guess is you forgot to include
the actual firmware. But you're getting very close to a working system :-)
Oh and last but far from least, you need a working /init script on the
initramfs. All it needs to do is mount /proc, /sys, /dev as a tmpfs, start
udev, mount the actual rootfs device (as per your silo.conf) and switch_root.
firstname.lastname@example.org mailing list