[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to build a kernel which boots from SATA?



On 2004-07-22 22:36:33 +0200, Kurt Roeckx wrote:
> On Thu, Jul 22, 2004 at 10:25:39PM +0200, Michael Bienia wrote:
> > Hello,
> > 
> > I've got a new amd64 box and so far everything works fine. 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. So I tried to build a new kernel (2.6.8-rc2) but I
> > didn't get it to boot from my SATA disk. The installed kernel
> > (2.6.7-5-amd64-k8-smp) boots fine (module is sata_via).
> 
> Maybe you also have an other module for it?  sata_via makes it
> /dev/sda while there is a driver (forgot it's name) that makes it
> /dev/hde.

The current root device is /dev/hde5.
# lsmod | grep ata
sata_via                8772  0
libata                 46088  1 sata_via
scsi_mod              140096  1 libata

In my monolithic kernel config I had:
CONFIG_SCSI=y
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_VIA=y

Is there something missing for compiled-in SATA support?

I tried to boot this kernel also with root=/dev/sda5 but the kernel
gives the same error. I also don't remember to see something about SATA
scroll by (maybe I missed it)

Michael



Reply to: