Re: How to build a kernel which boots from SATA?
On 2004-07-22 22:46:16 +0200, Frederik Schueler wrote:
> > But I didn't
> > get my prism54 card working (it works in my old i386 box). Reading
> > http://prism54.org/phpwiki/Prism54%20Debian%20HowTo I assume some kernel
> > options are wrong.
>
> comparing the kernel options, only CONFIG_STANDALONE=y is different in
> the debian kernel.
> This option is also set in the i386 kernels.
On i386 I used a self-compiled kernel therefore I can't say if the
debian i386 kernels work or not. What I get with the amd64 kernel is:
- from iwconfig:
| eth1 NOT READY! ESSID:off/any
| [...]
- from dmesg:
| Loaded prism54 driver, version 1.1
| eth1: prism54 driver detected card model: SMC2802W
nothing more, I don't see a try to load the firmware.
The necessary modules are loaded:
| firmware_class 12032 1 prism54
| prism54 59736 0
(pci_hotplug is not available)
> > Kernel Panic: VFS: Unable to mount root fs on unknown-block(0,0) )
>
> check your lilo.conf: setup the old (debian-)kernel to boot with
> ramdisk, and the new selfcompiled one without.
I use grub. This is from my last try (same config as 2.6.7-5-amd64-k8
but CONFIG_STANDALONE=n):
| title Debian GNU/Linux, kernel 2.6.8-rc2
| root (hd0,4)
| kernel /boot/vmlinuz-2.6.8-rc2 root=/dev/hde5 ro
| initrd /boot/initrd.img-2.6.8-rc2
| savedefault
| boot
# ll /boot/initrd.img-2.6.8-rc2
-rw-r--r-- 1 root root 4354048 Jul 22 20:46 /boot/initrd.img-2.6.8-rc2
looks ok to me. When trying to boot this kernel the last I see is (from
my head):
- something about unloading some modules
- an error message (dev/console not found)
- and then Kernel panic: tried to kill init
Michael
Reply to: