LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel Panic-New SATA Harddrive (https://www.linuxquestions.org/questions/slackware-14/kernel-panic-new-sata-harddrive-471307/)

securitybreach 08-06-2006 11:37 AM

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

aukuntin 08-06-2006 11:43 AM

Have you built sata support(not as a module)??

securitybreach 08-06-2006 11:58 AM

I ran make gconfig but the only things I saw that were SATA were already checked for build in not modules.

Thanks

securitybreach 08-06-2006 11:59 AM

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

aukuntin 08-06-2006 12:20 PM

you need to enable sata chipset support
see this
http://gentoo-wiki.com/HARDWARE_SATA

securitybreach 08-06-2006 12:25 PM

Sounds promising. I will try this after work.

Thanks alot

jnorcal 08-07-2006 03:37 AM

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.


All times are GMT -5. The time now is 06:57 AM.