Re: booting problems - new machine, kernel 2.4

2002-04-23 Thread dman
On Sat, Apr 20, 2002 at 12:48:13PM +1000, Herbert Xu wrote:
| dman [EMAIL PROTECTED] wrote:
| 
|  With both the kernel-image packages I get the error
| Kernel Panic : Couldn't mount root fs on device major:minor
| 
| More details please, start with the major:minor and the few lines before
| this message.

Herbert, thanks for your interest in helping me.  The major:minor
number is 3a:05.  It looks odd to me, but what do I know?

In fact, the whole problem is my own idiocy.  Instead of root= I had
boot= on the kernel commandline.  Oops.  I couldn't even see that
before.  I think a long weekend will help sometimes :-).  Changing
boot to root in the menu.lst solves the problem both for your
package and for my custom kernel.

Thanks!

-D

-- 

...In the UNIX world, people tend to interpret `non-technical user' as
meaning someone who's only ever written one device driver.
--Daniel Pead


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



booting problems - new machine, kernel 2.4

2002-04-19 Thread dman

I'm trying to set up a new machine for someone, but I am having lots
of difficulty booting it.  I installed potato using the idepci disks
(kernel 2.2.19-idepci).  That kernel can boot from the hard disk with
no difficulty.

The difficulty comes in booting a 2.4 kernel.  I installed
kernel-image-2.4.18-k7 and kernel-image-2.4.18-386, I also installed
the 2.4.18-bf2.4 image from the woody installer, and I also installed
a kernel I compiled on another machine.

The system has a VIA 8233 ide controller, and the hard drive is
partitioned as :
hda1/boot
hda5/
hda6swap
hda7/var

With both the kernel-image packages I get the error
Kernel Panic : Couldn't mount root fs on device major:minor

I tried reconfiguring them many times to ensure I that the ide-mod and
ext3 and ext2 modules will be loaded at boot, but always got the same
result.

The 2.4.18-bf2.4 kernel can boot from the rescue floppy, but when
booting from the hard disk I get
Kernel panic : I have no root and I want to scream
This kernel does see the ide bus, though.

With the custom kernel I included the ide and fs drivers directly in
the kernel.  That one sees the IDE bus, but yields :
Kernel Panic : Couldn't find init.  Try passing an init= parameter.

I tried init=/sbin/init and init=/bin/sh, but still received the same
panic.


I've built kernels before, and I've experienced a number of similar
errors, so I have some familiarity with what is going on, but this
time I'm stumped.  What might be the problem here?  My only guess now
is that 2.4 kernels don't like booting from extended partitions, but
the 2.2 kernel has no problems with it.

TIA!
-D

-- 

Folly delights a man who lacks judgement,
but a man of understanding keeps a straight course.
Proverbs 15:21


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: booting problems - new machine, kernel 2.4

2002-04-19 Thread Charles Baker

--- dman [EMAIL PROTECTED] wrote:
 
 I'm trying to set up a new machine for someone, but
 I am having lots
 of difficulty booting it.  I installed potato using
 the idepci disks
 (kernel 2.2.19-idepci).  That kernel can boot from
 the hard disk with
 no difficulty.
 
 The difficulty comes in booting a 2.4 kernel.  I
 installed
 kernel-image-2.4.18-k7 and kernel-image-2.4.18-386,
 I also installed
 the 2.4.18-bf2.4 image from the woody installer, and
 I also installed
 a kernel I compiled on another machine.
 
 The system has a VIA 8233 ide controller, and the
 hard drive is
 partitioned as :
 hda1/boot
 hda5/
 hda6swap
 hda7/var
 
 With both the kernel-image packages I get the error
 Kernel Panic : Couldn't mount root fs on device
 major:minor
 
 I tried reconfiguring them many times to ensure I
 that the ide-mod and
 ext3 and ext2 modules will be loaded at boot, but
 always got the same
 result.
 
 The 2.4.18-bf2.4 kernel can boot from the rescue
 floppy, but when
 booting from the hard disk I get
 Kernel panic : I have no root and I want to
 scream
 This kernel does see the ide bus, though.
 
 With the custom kernel I included the ide and fs
 drivers directly in
 the kernel.  That one sees the IDE bus, but yields :
 Kernel Panic : Couldn't find init.  Try passing
 an init= parameter.
 
 I tried init=/sbin/init and init=/bin/sh, but still
 received the same
 panic.
 
 
 I've built kernels before, and I've experienced a
 number of similar
 errors, so I have some familiarity with what is
 going on, but this
 time I'm stumped.  What might be the problem here? 
 My only guess now
 is that 2.4 kernels don't like booting from extended
 partitions, but
 the 2.2 kernel has no problems with it.
 
 TIA!
 -D
SNIP

As I recall, there were lots of things that needed to
be upgraded to get 2.4.x to run on potato. Adrian Bunk
had created a lot of special packages for this:

http://www.fs.tum.de/~bunk/kernel-24.html

Did you do this stuff?

=
[EMAIL PROTECTED]
Hacking is a Good Thing!
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: booting problems - new machine, kernel 2.4

2002-04-19 Thread dman
On Fri, Apr 19, 2002 at 07:13:39AM -0700, Charles Baker wrote:
| --- dman [EMAIL PROTECTED] wrote:
|  I'm trying to set up a new machine for someone, but I am having
|  lots of difficulty booting it.  I installed potato using the
|  idepci disks (kernel 2.2.19-idepci).  That kernel can boot from
|  the hard disk with no difficulty.
|  
|  The difficulty comes in booting a 2.4 kernel.  I installed
|  kernel-image-2.4.18-k7 and kernel-image-2.4.18-386, I also
|  installed the 2.4.18-bf2.4 image from the woody installer, and I
|  also installed a kernel I compiled on another machine.
|  
|  The system has a VIA 8233 ide controller, and the
|  hard drive is
|  partitioned as :
|  hda1/boot
|  hda5/
|  hda6swap
|  hda7/var
 
|  I've built kernels before, and I've experienced a number of
|  similar errors, so I have some familiarity with what is going on,
|  but this time I'm stumped.  What might be the problem here?  My
|  only guess now is that 2.4 kernels don't like booting from
|  extended partitions, but the 2.2 kernel has no problems with it.
|
| SNIP
| 
| As I recall, there were lots of things that needed to
| be upgraded to get 2.4.x to run on potato. Adrian Bunk
| had created a lot of special packages for this:
| 
| http://www.fs.tum.de/~bunk/kernel-24.html
| 
| Did you do this stuff?

No, I dist-upgraded to woody.  I didn't install woody directly because
the installer floppies I had didn't have the NIC driver.  I expect
that dist-upgrading to woody, and installing the woody kernel-image
packages from debian.org will take care of all the dependencies.  That
hasn't been a problem with other (older) machines I've done this on.

-D

-- 

Pride goes before destruction,
a haughty spirit before a fall.
Proverbs 16:18


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: booting problems - new machine, kernel 2.4

2002-04-19 Thread Herbert Xu
dman [EMAIL PROTECTED] wrote:

 With both the kernel-image packages I get the error
Kernel Panic : Couldn't mount root fs on device major:minor

More details please, start with the major:minor and the few lines before
this message.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmVHI~} [EMAIL PROTECTED]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]