LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-11-2009, 11:31 AM   #1
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 422

Rep: Reputation: 33
HDDs and kernel panic


Hi... these are my hdds all are sata

320G file system
500G mp3s :P
160G empty

So.. look at this.. the 2 first are connected always and the system runs great...When im gonna connect the 160G hdd it returns this error at boot time

Quote:
md: Autodetecting RAID arrays
md: Scanned 0 and added 0 devices
md: autorun...
md: ...autorun DONE
VFD: Cannot open root device "802" or unkown-block(8,2)
please appent a correct "root=" boot option; here
are the available partitions

a list with my partitions

Kernel panic - not syncing : VFS:unable to mount root FS on unknown-block(8,2)
Hmm.. any ideas...on what goes wrong? Where to put the right root= ?
 
Old 03-11-2009, 03:30 PM   #2
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Removable.

Are any of these drives removable?
 
Old 03-11-2009, 05:48 PM   #3
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 422

Original Poster
Rep: Reputation: 33
Nope ... there are all inside...the tower...:s When i disconnect the 160G the system boots great...
 
Old 03-12-2009, 11:37 AM   #4
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 422

Original Poster
Rep: Reputation: 33
Any ideas guyz ??? What may cause this problem ?
 
Old 03-12-2009, 12:04 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
So, the SATA controllers on your motherboard, do some of them Support RAID ?

is there a setting in the BIOS to disable the RAID mode on that controller ?

Is there a Different connector on the motherboard you can use that does not have RAID support ?
 
Old 03-12-2009, 04:07 PM   #6
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Possibly

Looks like the new drive is remapping the others. There are a couple of things you can try. Could try booting with a live cd and running fdisk and checking that the new drive does not have a boot partition enabled on it and also determine the drive order then modify the menu.lst file to the appropriate drive for you linux system.
 
Old 03-12-2009, 10:39 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,237
Blog Entries: 29

Rep: Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437
Hi,

How about posting system information. Motherboard manufacture, model and version would certainly aid in diagnosing.
 
Old 03-13-2009, 07:49 AM   #8
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 422

Original Poster
Rep: Reputation: 33
This is my mobo...

I ll now try to disable the raid from bios...
 
Old 03-13-2009, 08:58 AM   #9
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 422

Original Poster
Rep: Reputation: 33
Hmmm...listen this...

i disconnect the third hdd (160g) and when the system open i connect it. in fdisk -l gives me this back:

Quote:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x06706357

Device Boot Start End Blocks Id System
/dev/sda1 1 124 995998+ 82 Linux swap
/dev/sda2 125 1369 10000462+ 83 Linux
/dev/sda3 1370 38913 301572180 8e Linux LVM

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x076f5e24

Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 83 Linux

Disk /dev/sdc: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table
I can mount it perfectly...but if i connect it before system start...it returns the kernel panic Any ideas...? Also i dont have it in fstab file ..but i don't think that this causes the problem...:s
 
Old 03-13-2009, 10:50 AM   #10
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 422

Original Poster
Rep: Reputation: 33
After this i make a partition in /dev/sdc with cfdisk with type 83

in
Quote:
mount -a
returns this:

Quote:
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
and in
Quote:
dmesg | tail
returns this:

Quote:
kjournald starting. Commit interval 5 seconds
EXT3 FS on sdc, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
sd 2:0:0:0: [sdc] 320173056 512-byte hardware sectors (163929 MB)
sd 2:0:0:0: [sdc] Write Protect is off
sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdc: sdc1
VFS: Can't find ext3 filesystem on dev sdc1.
VFS: Can't find ext3 filesystem on dev sdc1
This is my fstab file:

Quote:
/dev/sda1 swap swap defaults 0 0
/dev/sda2 / ext3 defaults 1 1
/dev/slackvg/home /home ext3 defaults 1 2
/dev/slackvg/usr /usr ext3 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/sdb1 /media/disk ext3 defaults 1 2
/dev/hdd1 /media/disk-1 ext3 user,rw,exec,sync 0 0
/dev/sdc1 /media/disk-2 ext3 user,rw,exec,sync 0 0

Last edited by netpumber; 03-13-2009 at 11:14 AM.
 
Old 03-13-2009, 06:06 PM   #11
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 422

Original Poster
Rep: Reputation: 33
any ideas...now ? :s im confused :S:S
 
Old 03-14-2009, 12:34 AM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
OK so you created an ext3 partition.. Did you format the partition ?

man mkfs
 
Old 03-14-2009, 10:52 AM   #13
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 422

Original Poster
Rep: Reputation: 33
So... after the fdisk and type 83 i give this mfks.ext3 /dev/sdc1. Now i can mount the disk... but only after the system boots...:-s The kernel panic still pop up if the hdd is connected before system's booting..

Ant ideas now ? Why this happen? What the error means ?
Quote:
please append a correct "root=" boot option; here
are the available partitions
Where is the "root=" in which file?

Also something else...When i go to create a file in this hdd says that permission denied...What is wrong in my fstab above..?

Last edited by netpumber; 03-14-2009 at 10:54 AM.
 
Old 03-14-2009, 05:13 PM   #14
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 422

Original Poster
Rep: Reputation: 33
So... what you think ? Is the problem the raid ? I don't know a lot about this technology (i mean raid)..So.. if you have any idea... on how to disable ...or anything else... let me know... Thanx...
 
Old 03-14-2009, 05:55 PM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,237
Blog Entries: 29

Rep: Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437Reputation: 2437
Hi,

Apparently you don't have the bootloader setup properly or you could still have the raid enabled in the BIOS.
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
Accessing other HDDs/Booting from other HDDs Namatacka Ubuntu 2 05-07-2006 12:21 PM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM

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

All times are GMT -5. The time now is 07:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration