netdev
[Top] [All Lists]

Re: Fwd: Re: vaio doesn't boot with 2.4.1-ac1, stops at PCI: Probing PCI

To: Ookhoi <ookhoi@xxxxxx>
Subject: Re: Fwd: Re: vaio doesn't boot with 2.4.1-ac1, stops at PCI: Probing PCI hardware
From: Werner Almesberger <Werner.Almesberger@xxxxxxx>
Date: Mon, 5 Feb 2001 16:01:55 +0100
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20010205154202.U3922@ookhoi.dds.nl>; from ookhoi@dds.nl on Mon, Feb 05, 2001 at 03:42:02PM +0100
References: <20010203190758.O3922@ookhoi.dds.nl> <20010205144722.K7561@almesberger.net> <20010205154202.U3922@ookhoi.dds.nl>
Sender: owner-netdev@xxxxxxxxxxx
Ookhoi wrote:
> Thanx, but the problem is that I boot from a usb floppy drive, and I
> can't access it after the kernel booted.

That's why I'm suggesting to use initrd.

> Initrd is strange anyway, as normaly it asks for a floppy and to press
> enter.

Uh ? No, initrd is loaded by the boot loader, not the kernel ...

If your boot loader has problems with the BIOS, maube you should try
another one then, e.g. LILO almost certainly works for this.

> If I make the nic work, then nfsroot should work without even knowing
> the nick is a pcmcia, shouldn't it?

Okay, second possibility, which may or may not work: again, use initrd,
but this time, exit from initrd after bringing up the NIC. Now you're
using the old change root mechanism, which executes the "standard" root
mount code for you, see also

ftp://icaftp.epfl.ch/pub/people/almesber/booting/bootinglinux-current.ps.gz

AFAIK, you can't set up the NIC without user-space PCMCIA support, so
you still have to use initrd for this. Iff you figure out a way to do
this, you could use a simple initrd that just sleeps for a few seconds,
or loops until it finds the devices it wants.

For constructing small initrds, see also
ftp://icaftp.epfl.ch/pub/people/almesber/misc/newlib-linux/
  newlib-linux-21.tar.gz
(but in your case, just statically linking against glibc is probably
okay, even if you waste some space this way.)

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH           Werner.Almesberger@xxxxxxx /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

<Prev in Thread] Current Thread [Next in Thread>