Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 09-13-2003, 01:28 PM   #1
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Rep: Reputation: 30
Unhappy kernel panic!

Well, I'm not panicked, but the kernel apparently is. I just added a 160 gig harddrive to my Athlon XP system. I attached it to one of those ATA 133 PCI cards. I thought, "No problem, I've done this before on my Duron system." The Duron system saw the new hardrive as HDE and I was in business. Well, first I try to book and I get KERNEL PANIC and the system won't boot. Then, I throw in Knoppix and it appears that my new harddrive is identified as HDA. Well, that threw EVERYTHING off. Original harddrive is HDE, DVD is HDF, CDRW is HDG, and so on. I'm not even sure where to start fixing this problem.

Is it possible to make linux re-identify all the hardware the way I want it to?
Or do I have to live with it? I considered changing LILO and fstab, but I'm not sure that would do the trick, as all the device symlinks would have to be updated also, right? I'm not even sure how to change LILO without getting "into" the system. I'm at a bit of a loss here. Anyone have a bit of advice? Thanks!

Akshun J
Old 09-13-2003, 01:39 PM   #2
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 11
Posts: 8,207

Rep: Reputation: 507Reputation: 507Reputation: 507Reputation: 507Reputation: 507Reputation: 507
When you installed the new ATA card the four new disk addresses should have been hde through hdh. Linux does not control what hardware address is assigned to each ATA slot. That is controlled by the BIOS.

On some BIOS it is possible to rearrange the addressing of the ATA slots, which is what appears to have happened here. I suggest that you go into your BIOS and try to reconfigure your disk addresses.

If that doesn't work and you want to make Linux work on your current disk addresses then you boot a rescue system and change lilo and fstab. You should not have to change any symlinks unless you have symlinks to /dev/hda through /dev/hdh, which would be unusual.

If you are using IDE-SCSI then you would also have to change your boot append parameter.

Last edited by jailbait; 09-13-2003 at 01:40 PM.
Old 09-14-2003, 10:37 PM   #3
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
It would seem that LILO was actually was taking it's info from the ATA card BIOS, which kicked in and detects the attached drive AFTER the mobo BIOS kicks in, but BEFORE LILO takes over. The mobo BIOS looks to my old hard drive to boot LILO, but somehow the ATA card BIOS tells LILO that the new hard drive is the first device in line for /dev/hda status. Weird and confusing to say the least.

To fix things, I booted Slackware by manually typing in the "root=/dev/hde" option. Worked like a champ. Then I changed the "root" AND "boot" options in LILO, as I realized that if I didn't change "boot", it would have installed LILO to the MBR on /dev/hda instead of /dev/hde where I needed it! I rebooted, and VOILA! Good ole slack is back, and all my devices work as they should. Thanks for all the help...

--Akshun J


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
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 > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:49 AM.

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