LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-06-2006, 11:37 AM   #1
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Rep: Reputation: 16
Kernel Panic-New SATA Harddrive


Yesterday I bought a new 160gb SATA harddrive and I planned on installing two linux distros and windows for games. So I proceeded to install windows first ughhhh. Afterwards I used the Slackware cfdisk to partition my hdd as follows:
Code:
  hda1		 Boot	 Primary	W95 FAT32 (LBA)				  33550.92
	hda2					   Primary	Linux ReiserFS					  39999.54
	hda3					   Primary	Linux ReiserFS					  39999.54
	hda5					   Logical	 Linux swap								1003.49
	hda6					   Logical	 Linux ReiserFS						22002.63
	hda7					   Logical	 Linux ReiserFS						23483.18
I finished installing Slackware and went to build my kernel to 2.6 for SMP processing. Everything went fine: I selected audio, video, net as modules and ReiserFS as build in. I configured lilo and checked the /boot folder and everything looked fine. I booted the kernel and got the error:
Code:
 VFS:Cannot oopen root devicee "302" of unknown block (3,2) Please Append a correct "root=" boot option. Kernel Panic- Not syncing: VFS: Unable to mount root FS on unknown block.
Here is my boot dir:
Code:
comhack@DarkStar:~$ ls /boot
README.initrd@		 boot.0300		 config-ide-2.4.31  vmlinuz-2.6.17.1
System.map@			boot_message.txt  diag1.img		  vmlinuz-ide-2.4.31
System.map-2.6.17.1	config@		   map
System.map-ide-2.4.31  config-2.6.17.1   vmlinuz@
Here is my fstab:
Code:
   UW PICO(tm) 4.10					File: /etc/fstab

/dev/hda5		swap			 swap		defaults		 0   0
/dev/hda2		/				reiserfs	defaults		 1   1
/dev/hda3		/home			reiserfs	defaults		 1   2
/dev/hda6		/mnt/hda6		reiserfs	defaults		 1   2
/dev/hda7		/mnt/hda7		reiserfs	defaults		 1   2
/dev/hda1		/win			 vfat		defaults		 1   0
/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
Here is my lilo.conf:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
#vga = 773
# Normal VGA console
 vga = normal
# Windows bootable partition config begins
other = /dev/hda1
  label = Windows
  table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-ide-2.4.31
  root = /dev/hda2
  label = Linux-old
  read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda2
  label = Linux-new
  read-only
# Linux bootable partition config ends
Everything looks fine to me. I tried changing lilo to boot vmlinuz-2.6.17.1 and it still gave the error. I tried the initrd option will still no luck. Anyone have any ideals?
Thanks
 
Old 08-06-2006, 11:43 AM   #2
aukuntin
LQ Newbie
 
Registered: Jul 2005
Location: Hong Kong
Distribution: LFS with latest software
Posts: 13

Rep: Reputation: 0
Have you built sata support(not as a module)??
 
Old 08-06-2006, 11:58 AM   #3
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
I ran make gconfig but the only things I saw that were SATA were already checked for build in not modules.

Thanks
 
Old 08-06-2006, 11:59 AM   #4
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
BTW The HDD is a Western Digital Caviar SE EIDE harddrive. I do not know if the EIDE has something to do with it. I know the EIDE is referred to as FastATA or ATA2. Maybe there is a option for EIDE in the kernel? Also, the 2.4.31 kenrel works just fine. I would keep it but I need SMP for my processors.

THanks

Last edited by securitybreach; 08-06-2006 at 12:07 PM.
 
Old 08-06-2006, 12:20 PM   #5
aukuntin
LQ Newbie
 
Registered: Jul 2005
Location: Hong Kong
Distribution: LFS with latest software
Posts: 13

Rep: Reputation: 0
you need to enable sata chipset support
see this
http://gentoo-wiki.com/HARDWARE_SATA
 
Old 08-06-2006, 12:25 PM   #6
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
Sounds promising. I will try this after work.

Thanks alot
 
Old 08-07-2006, 03:37 AM   #7
jnorcal
Member
 
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31

Rep: Reputation: 15
Sata

I had the same problem as you. Make sure under low level support you enable the sata chipset for your drive. Dont use the libata ones.
 
  


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 panic on SATA paranoyakX Debian 5 07-07-2006 01:45 PM
Kernel panic - SATA support in 2.6 and slackware vmt1 Slackware 7 12-01-2005 01:55 PM
Kernel Panic + Harddrive Cant Be found feign Slackware 3 07-22-2005 03:33 AM
sata.i + amd64 = kernel panic madbrain Slackware - Installation 9 02-09-2005 07:35 PM
SATA kernel panic N3K0KUN Slackware 1 02-25-2004 12:22 PM

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

All times are GMT -5. The time now is 08:56 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