LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-10-2007, 10:57 AM   #1
shankarLe
Member
 
Registered: Apr 2006
Location: Hyderabad,India
Distribution: RedHat EL 4
Posts: 31

Rep: Reputation: Disabled
Unhappy Kernel Panic


Hello All,

Here is my box configuration,

RedHat Enterprise Linux AS 4.0
Kernel 2.6.9-5
Seagate SATA 160 GB HDD with 512 Mb ram
At first, when I am trying to install linux I get an error saying there is no hard drive found and check with your hardware vendor. So, I have done the following kernel parameter while installing linux first time

linux all-generic-ide noapic nolapic

then hit enter and the linux was installed correctly and when I am going to boot the os, I have then received the following error at the boot time

[HTML]
mkrootdev: label / not found
mount: error 2 mounting ext3
mount: error 2 mounting none
switchroot: mount failed : 22
umount /initrd/dev failed: 2
kernel panic - not syncing: attempted to kill init!
[/HTML]

I can not go into single user mode and when I go to linux rescue, it says there are no linux partitions installed so you are dropping at shell. I got the sh# prompt and do not see /etc/grub.conf, /etc/inittab and no /boot folder. I have no idea what to perform at shell prompt..

Please suggest a fix for this... Thanks in advance

Regards,
Shankar
 
Old 08-11-2007, 04:45 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
Need the Name of the motherboard vendor
the chipset of the sata controller.
The try to reinstall with "linux dd" at the install prompt and it will then ask for a driver disk.
Maybe you should be able to download one from the manufactures site.
Or you can change the SATA Operation Mode in the BIOS to act as PATA.
 
Old 08-11-2007, 02:02 PM   #3
shankarLe
Member
 
Registered: Apr 2006
Location: Hyderabad,India
Distribution: RedHat EL 4
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by odcheck
Need the Name of the motherboard vendor
the chipset of the sata controller.
The try to reinstall with "linux dd" at the install prompt and it will then ask for a driver disk.
Maybe you should be able to download one from the manufactures site.
Or you can change the SATA Operation Mode in the BIOS to act as PATA.
Chipset Type Intel D101GGC
SATA Controller 4 x Serial ATA

can you please give more info on linux driver disk and where can I go and download drivers for my pc and last you said in BIOS to change the operation mode to PATA. can you explain more?

Thanks for your support
 
Old 08-11-2007, 08:27 PM   #4
shankarLe
Member
 
Registered: Apr 2006
Location: Hyderabad,India
Distribution: RedHat EL 4
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by shankarLe
Chipset Type Intel D101GGC
SATA Controller 4 x Serial ATA

can you please give more info on linux driver disk and where can I go and download drivers for my pc and last you said in BIOS to change the operation mode to PATA. can you explain more?

Thanks for your support

here is the some more configu;

Processor Intel Pentium 4
Chipset ATI Radeon Xpress 200 Chipset
Memory DDR SDRAM, 400/333 MHz, 2 sockets

tx
 
Old 08-12-2007, 03:41 AM   #5
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
Hi I don't know which Intel Sata Controller this is...


but regarding the BIOS (it's only a workaround but so you can install linux on it. or lets say the setup will find your hdd's)
Switch the motherboard BIOS back to "legacy ATA mode" (parallel ATA = PATA). Complete a Linux installation. Fetch or build a kernel with support for your chipset. Switch the BIOS setting back. (Potential catch: It's claimed that Dell Optiplex GX270 and Dell Precision Workstation 360 desktop units, using Intel ICH5 SATA-I chipsets, don't support switching to legacy ATA mode. This might be true of some others.)

But what we (you) need is a driver disk for the ICH6/6 or 7 SATA controller chipset.

So if it's ICH7 then try the one from here

Quote:
Download
1. Click the "Download Now" link to download the file.
2. If the Export Compliance Disclaimer window appears, click the "I agree" link to accept the agreement.
3. When the File Download window appears, click "Save" to save the file to your hard drive.

Extract the archive
1. Log in as the root user
2. At a command prompt, type "tar xzvf ahci-1.00b-rhel4-multiarch-2.tar.gz to extract the files from the compressed archive
3. At a command prompt, type "cd ahci-1.00b-rhel4-multiarch-2"

Installing RHEL 4 with a driver disk
1. Create the driver disk:
Floppy: dd if=ahci-1.00b-rhel4-G-multiarch-dd.img of=/dev/fd0
-- or --
ISO: burn the ISO image to a CD-R or CD-RW disk using any CD-burning app
2. Boot to the RHEL 4 Gold CD 1. At the "boot:" prompt, type: linux dd
3. Insert the driver floppy or CD when prompted, and continue with the install
It works 100% with rhel 4
 
Old 08-14-2007, 08:52 PM   #6
shankarLe
Member
 
Registered: Apr 2006
Location: Hyderabad,India
Distribution: RedHat EL 4
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by odcheck View Post
Hi I don't know which Intel Sata Controller this is...

But what we (you) need is a driver disk for the ICH6/6 or 7 SATA controller chipset.

So if it's ICH7 then try the one from here



It works 100% with rhel 4
Thanks for your reply.

I have tried exactly what you told me to do, but still no luck.can you tell me where I Can find out the Sata Controller information based on the we could dig more..

Thanks
 
Old 08-14-2007, 09:26 PM   #7
nitrousoxide82
Member
 
Registered: Apr 2005
Location: Rio de Janeiro, Brazil
Distribution: Ubuntu 9.04 (Jaunty), Arch Linux 2009.08
Posts: 83

Rep: Reputation: 17
I think the culprit is the kernel 2.6.9. It's known to have problems with Seagate SATA HDDs. Go for a distro with a kernel > 2.6.11. I had the same problem trying to install Fedora Core 4 (shipped with kernel 2.6.9) on my machine, an Athlon 64 3000+ on an ABIT NF8 motherboard (NVIDIA nForce3 250Gb chipset) with a Seagate ST380817AS SATA HDD (80 GB), some time ago. Wasted 2.4 GB of download (the 4 CDs of FC4). Went for Kanotix64 back then. I remember even that a patch to fix this bug for kernel 2.6.9 was released, but I couldn't get a precompiled kernel with the patch applied to boot.
 
  


Reply



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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:26 PM.

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