2002-02-26 16:31:46

by Fridtjof Busse

[permalink] [raw]
Subject: [2.4.18-ac1] Unable to mount root fs

Hi
I successfully patched and compiled 2.4.18-ac1, no problems.
But when I try to boot the system, the kernel is unable to mount the
root filesystem (/dev/hdf2):

request_module[block-major-33]: Root fs not mounted
VFS: Cannot open root devices "hdf2" or 21:42
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 21:42

The bootloader-options are correct, a 2.4.18 kernel with exactly the
same config-options has no problems with mounting the root fs.
hdf is secondary master, connected to a Promise UDMA 100 controller on
an ASUS A7V.

The boot-option in grub.conf looks like

title Linux-ac(2.4.18-ac1)
root (hd1,0)
kernel /vmlinuz-2.4.18-ac1 ro root=/dev/hdf2 hdc=ide-scsi
title Linux (2.4.18)
root (hd1,0)
kernel /vmlinuz-2.4.18 ro root=/dev/hdf2 hdc=ide-scsi

but only 2.4.18 works.
Is this a bug or did I miss anything?
--
Fridtjof Busse
Microsoft is a cross between The Borg and the Ferengi.
Unfortunately they use Borg to do their marketing and Ferengi to do
their programming.


2002-02-26 16:44:39

by Mike Fedyk

[permalink] [raw]
Subject: Re: [2.4.18-ac1] Unable to mount root fs

On Tue, Feb 26, 2002 at 05:31:39PM +0100, Fridtjof Busse wrote:
> Hi
> I successfully patched and compiled 2.4.18-ac1, no problems.
...
> but only 2.4.18 works.
> Is this a bug or did I miss anything?

What was the last version of -ac that worked for you?

2002-02-26 17:42:01

by Fridtjof Busse

[permalink] [raw]
Subject: Re: [2.4.18-ac1] Unable to mount root fs

On Tuesday, 26. February 2002 17:45, Mike Fedyk wrote:
> What was the last version of -ac that worked for you?

I didn't use any ac-Patches of the 2.4.18-pre series, sorry. But I can
try some of the pre-ac-patches if that helps you.
The latest ac I run on my machine was a 2.4.9-ac (don't remember which
one exactly).
The precompiled RH-errata kernel also runs without problems (2.4.9-21).

--
Fridtjof Busse
"Mosaic is the 1990's equivalent of forcing friends to sit through
slides of your trip to Florida - painful for everyone but the host."
-Steve G. Steinberg

2002-02-26 17:44:42

by Mike Fedyk

[permalink] [raw]
Subject: Re: [2.4.18-ac1] Unable to mount root fs

On Tue, Feb 26, 2002 at 06:40:59PM +0100, Fridtjof Busse wrote:
> On Tuesday, 26. February 2002 17:45, Mike Fedyk wrote:
> > What was the last version of -ac that worked for you?
>
> I didn't use any ac-Patches of the 2.4.18-pre series, sorry. But I can
> try some of the pre-ac-patches if that helps you.
> The latest ac I run on my machine was a 2.4.9-ac (don't remember which
> one exactly).
> The precompiled RH-errata kernel also runs without problems (2.4.9-21).
>

Did you run 'make oldconfig' after using your old .config file?

Post your .config. That is probably the problem.

2002-02-26 18:11:21

by Fridtjof Busse

[permalink] [raw]
Subject: Re: [2.4.18-ac1] Unable to mount root fs

On Tuesday, 26. February 2002 18:44, Mike Fedyk wrote:
> Did you run 'make oldconfig' after using your old .config file?

Yes

> Post your .config. That is probably the problem.

Attached

--
Fridtjof Busse
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-C.A.R. Hoare


Attachments:
config (20.50 kB)

2002-02-26 18:17:21

by Mike Fedyk

[permalink] [raw]
Subject: Re: [2.4.18-ac1] Unable to mount root fs

On Tue, Feb 26, 2002 at 07:11:21PM +0100, Fridtjof Busse wrote:
> On Tuesday, 26. February 2002 18:44, Mike Fedyk wrote:
> > Did you run 'make oldconfig' after using your old .config file?
>
> Yes
>
> > Post your .config. That is probably the problem.
>
> Attached
>

> # CONFIG_BLK_DEV_PDC202XX is not set

Here you go. Promise IDE is not compiled into the kernel.

Mike

2002-02-26 18:35:24

by Fridtjof Busse

[permalink] [raw]
Subject: Re: [2.4.18-ac1] Unable to mount root fs

On Tuesday, 26. February 2002 19:15, Mike Fedyk wrote:
> > # CONFIG_BLK_DEV_PDC202XX is not set
>
> Here you go. Promise IDE is not compiled into the kernel.

But why does the 2.4.18 work then?
I also didn't compile it with # CONFIG_BLK_DEV_PDC202XX

--
Fridtjof Busse
"We're thinking about upgrading from SunOS 4.1.1 to SunOS 3.5."
-- Henry Spencer

2002-02-27 11:21:01

by Fridtjof Busse

[permalink] [raw]
Subject: Re: [2.4.18-ac1] Unable to mount root fs

On Tuesday, 26. February 2002 19:15, Mike Fedyk wrote:
> > # CONFIG_BLK_DEV_PDC202XX is not set
>
> Here you go. Promise IDE is not compiled into the kernel.

Can someone explain me why 2.4.18 runs fine with
# CONFIG_BLK_DEV_PDC202XX is not set
but ac1 (and 2) require
CONFIG_BLK_DEV_PDC202XX=y
It's correct that 2.4.18-ac? requires the driver (my hd's are connected
to an promise-UDMA-controller), but why runs 2.4.18 fine without this
driver?

--
Fridtjof Busse
It is better to keep your mouth shut and be thought a fool, than to
open it and remove all doubt.

2002-02-28 01:53:38

by Mike Fedyk

[permalink] [raw]
Subject: Re: [2.4.18-ac1] Unable to mount root fs

On Wed, Feb 27, 2002 at 12:21:12PM +0100, Fridtjof Busse wrote:
> On Tuesday, 26. February 2002 19:15, Mike Fedyk wrote:
> > > # CONFIG_BLK_DEV_PDC202XX is not set
> >
> > Here you go. Promise IDE is not compiled into the kernel.
>
> Can someone explain me why 2.4.18 runs fine with
> # CONFIG_BLK_DEV_PDC202XX is not set
> but ac1 (and 2) require
> CONFIG_BLK_DEV_PDC202XX=y
> It's correct that 2.4.18-ac? requires the driver (my hd's are connected
> to an promise-UDMA-controller), but why runs 2.4.18 fine without this
> driver?

-ac does have Andre's new IDE drivers that are waiting for inclusion...