Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-sparc
Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-sparc@g.o
From: BRM <bm_witness@...>
Subject: Re: Booting the system...
Date: Thu, 27 Mar 2008 18:52:53 -0700 (PDT)
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@...>
To: gentoo-sparc@g.o
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 <
> ./initramfs-genkernel-sparc64-2.6.24-gentoo-r3.file
> I then added the following directories:
> /lib/firmware
> /lib/modules/2.6.24-gentoo-r3/kernel/drivers/base
> /lib/modules/2.6.24-gentoo-r3/kernel/drivers/scsi
> /lib/modules/2.6.24-gentoo-r3/kernel/drivers/sbus


you're almost there.  Get the binary firmware from (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/  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.


gentoo-sparc@g.o mailing list

Lists: gentoo-sparc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Booting the system...
Next by thread:
[Fwd: soft lockup in 2.6.26-rc1+git, on Fire V100]
Previous by date:
Re: Booting the system...
Next by date:
Re: Booting the system...

Updated Jun 17, 2009

Summary: Archive of the gentoo-sparc mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.