LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-01-2004, 04:58 PM   #1
darteaga
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Kernel panic with Mdk 10.1 and Serial ATA HD


Hi all,

I have a P4 with a single Serial ATA 160 GB HD. Until now I was using
Mandrake 10 with kernel 2.6.3 without any problem. Recently I decided to
update to Mdk 10.1 Community through urpmi. When updating the kernel to
2.6.8.1 and rebooting I get: "error 6 mounting ext3" and "kernel panic:
no init found". I would say that lilo is correctly configured and initrd
images are correct.

Comparing startup messages, one sees that kernel 2.6.3 recognized
appropiately all devices: dvd/dvd+rw in hda/hdb (ide0) and hard disk in
hde (ide2). In contrast, the hard disk is not recognized with the new
kernel. I presume that this is the reason why I get the kernel panic.

Has anybody found the same problem? Any idea?

Many thanks in advance,

Dani Arteaga
 
Old 10-02-2004, 08:45 PM   #2
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Rep: Reputation: 30
How did you connect your hdd to your mobo, using an onboard device?

Please tell us what kinda mobo you have.
 
Old 10-03-2004, 08:22 AM   #3
darteaga
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your reply. My motherboard is an Asus P4P800 Deluxe, with chipset Intel 865PE and Intel SATA onboard (integrated in the MB). Hope this helps.
 
Old 10-21-2004, 06:46 PM   #4
eugen04
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
Unhappy

I have the same problem.

in mandrake 10.0 my SATA-Drive was /dev/hde.
now it is /dev/sda.

Hmmm, at the moment I have no solution.
 
Old 10-22-2004, 05:35 AM   #5
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Actually the last poster put up the solution:

"in mandrake 10.0 my SATA-Drive was /dev/hde.
now it is /dev/sda."

This means that you need to modify the /etc/fstab entry to reflect this.

Note this can make it impossible to boot the system under the prior kernel.

So your best bet is to boot normally then copy fstab to a backup.

e.g.

cp /etc/fstab /etc/fstab.bak

Then edit /etc/fstab to reflect the new drive ordering as stated.

Then reboot using the new kernel.

Should the new kernel not work, you will need to boot from the CD in rescue mode or from a LiveCD then mount your partition containing /etc and copy the original file back to how it was so you can boot the old kernel.
 
Old 10-29-2004, 04:07 AM   #6
eugen04
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
@opjose

This was actually the first thing I did

The problem is that in Mdk 10.1 the kernel doen't recognize /dev/sda.
So every time I booted the boot process was interrupted (no real problem since it's my 2. HD with no OS).

The situaution changed since I upgraded to the latest kernel via urpmi (from cooker).
Now the kernel recognizes /dev/sda and it can be mounted.

Of course I don't know what the error was, but for now I'm happy that it works
 
Old 10-29-2004, 08:04 AM   #7
petermcp
Member
 
Registered: Jun 2004
Location: Somerset UK
Distribution: openSUSE 11.1,
Posts: 41

Rep: Reputation: Disabled
I may have a similar problem. I have an MSI 6741 MoBo with a partitioned hdd, XP in one partition, Mandrake 10.0 in the other and this worked ok. But now I have added a sata and can no longer boot into Linux. I get "Error 6 mounting ext 2" and "Kernel panic: no init found". I tried rescue mode with the mandrake 10 disk but don't really know what path to follow. Should I just try an upgrade from the same disk?
 
Old 10-29-2004, 01:33 PM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Basically this is the same problem as the previous poster.

The drive is not being recognized at the same device entry as before.

You need to view the kernel's boot messages to determine how the drive is being recognized.

Often during the data dump that occurs at startup any changes are visible.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use a parallel ATA drive on a serial ATA controller? sigmaris Linux - Hardware 2 08-21-2004 08:41 PM
Problem with serial ata and kernel 2.6.7 djrise Linux - Hardware 1 07-01-2004 11:45 AM
Kernel 2.6.2 and Silicon Image 3112 Serial ATA controller. Psykaun Linux - Hardware 6 03-10-2004 01:34 PM
Serial ATA on Intel ICH5 - Kernel locking up Excalibur Linux - Hardware 1 01-20-2004 06:55 AM
help. ATA/SCSI Serial-ATA error: "ATA: Abnormal Status" xin Linux - Hardware 10 09-05-2003 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration