View previous topic :: View next topic |
Author |
Message |
Midnight Dream Apprentice

Joined: 17 Feb 2005 Posts: 167
|
Posted: Fri Sep 30, 2005 1:42 am Post subject: Abit NF7-S + Sata = Kernel Panic |
|
|
Ok, I compiled in the Silicon Images Sata support, and I immediatly got a kernel panic upon reboot. Anybody have any recommendations? |
|
Back to top |
|
 |
piewie Guru


Joined: 26 Sep 2002 Posts: 494 Location: old Europe
|
Posted: Fri Sep 30, 2005 2:07 pm Post subject: |
|
|
- kernel version?
- libata or ide-sata driver?
- modul or build in ?
- exact error message ? |
|
Back to top |
|
 |
Midnight Dream Apprentice

Joined: 17 Feb 2005 Posts: 167
|
Posted: Fri Sep 30, 2005 2:58 pm Post subject: |
|
|
2.6.12
Not 100% sure, this is new to me. I did Sata->Low Level->Silicon Images Drive
Built in. Tried module, and it went in, but I could never find what to modprobe to enable it.
Message is "Kernel Panic - cannot sync; attempting to stop init" (Or something very similar) |
|
Back to top |
|
 |
piewie Guru


Joined: 26 Sep 2002 Posts: 494 Location: old Europe
|
Posted: Fri Sep 30, 2005 3:56 pm Post subject: |
|
|
Here has an Abit NF7-S 2.0 been working with SATA for several months very stable (actual 2.6.12-love1).
ATA/ATAPI/MFM/RLL support
<*> AMD and nVidia IDE support
< > Silicon Image chipset support
SCSI device support
<*> SCSI device support
<*> SCSI disk support
<M> SCSI generic support
SCSI low-level drivers
[*] Serial ATA (SATA) support
<*> Silicon Image SATA support
File systems
<*> Second extended fs support
[ ] Ext2 extended attributes
<*> Ext3 journalling file system support
[*] Ext3 extended attributes
/boot/grub/grub.conf
title=linux 2.6.12-love1
root (hd0,0)
kernel (hd0,0)/vmlinuz-2.6.12-love1 root=/dev/sda6 |
|
Back to top |
|
 |
Midnight Dream Apprentice

Joined: 17 Feb 2005 Posts: 167
|
Posted: Fri Sep 30, 2005 4:38 pm Post subject: |
|
|
I have the ATA covered.
I KNOW that I have SCSI disk and device support compiled in. Not sure if I have SCSI generic support as a module.
The low-level I have had, but when I compile in the Sil SATA support, it gives me a kernel panic.
The file systems I believe I have just like that, but I dont think it would matter, as the drive is formatted in FAT32.
My grub.conf is something like such (fairly sure this is exact, but im at work right now)
title=Gentoo Linux
root (hd1,0)
kernel /kernel-2.6.12 root=/dev/hda3
title=Gentoo Linux [Failsafe]
root (hd1,0)
kernel /kernel-2.6.12-failsafe root=/dev/hda3 |
|
Back to top |
|
 |
piewie Guru


Joined: 26 Sep 2002 Posts: 494 Location: old Europe
|
Posted: Fri Sep 30, 2005 6:17 pm Post subject: |
|
|
Midnight Dream wrote: |
My grub.conf is something like such (fairly sure this is exact, but im at work right now)
title=Gentoo Linux
root (hd1,0)
kernel /kernel-2.6.12 root=/dev/hda3
|
If you use libata the drive must be sda. |
|
Back to top |
|
 |
Midnight Dream Apprentice

Joined: 17 Feb 2005 Posts: 167
|
Posted: Fri Sep 30, 2005 10:05 pm Post subject: |
|
|
I dont really understand how or why for that. It starts to boot fine, reads the kernel and all, just when it goes to find my sata drive, it panics. And, what would I set the root to? Im not actually using my sata drive as the root drive. |
|
Back to top |
|
 |
Midnight Dream Apprentice

Joined: 17 Feb 2005 Posts: 167
|
Posted: Sat Oct 01, 2005 2:42 am Post subject: |
|
|
Ok, im totally confused now. It works. I dont have the kernel compiled with the Sil image support. I dont have it as a module. I dont even have SCSI emulation. It just works. Though, now the thing is, my sound doesnt work. Im not sure why, but im working on fixing it. |
|
Back to top |
|
 |
Midnight Dream Apprentice

Joined: 17 Feb 2005 Posts: 167
|
Posted: Sun Oct 02, 2005 12:13 am Post subject: |
|
|
And now it doesnt . WTF is going on? I cant get it to work now. I know this drive works, cause I can boot into Windows and see it fine. |
|
Back to top |
|
 |
Midnight Dream Apprentice

Joined: 17 Feb 2005 Posts: 167
|
Posted: Sun Oct 02, 2005 12:33 am Post subject: |
|
|
Ok, I got it compiled into my kernel now, but its still not detecting my drive on my sata controller. I havent modified my grub.conf. I need alittle more explination on that, as to why. |
|
Back to top |
|
 |
widan Veteran


Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sun Oct 02, 2005 1:34 am Post subject: |
|
|
Midnight Dream wrote: | I havent modified my grub.conf. I need a little more explination on that, as to why. |
SATA drives that use the libata framework are seen by the kernel as SCSI devices, so their devices are /dev/sdX. This is like this since SATA and SCSI drives share some properties: they can handle command queuing, hotplug, ... so seeing them as SCSI avoids duplicating code. |
|
Back to top |
|
 |
piewie Guru


Joined: 26 Sep 2002 Posts: 494 Location: old Europe
|
Posted: Sun Oct 02, 2005 2:04 pm Post subject: |
|
|
is your sata hd with root or boot partition, or does it only hold data? |
|
Back to top |
|
 |
Isaiah Guru

Joined: 25 Feb 2003 Posts: 359
|
Posted: Tue Nov 15, 2005 1:16 am Post subject: |
|
|
piewie wrote: | Here has an Abit NF7-S 2.0 been working with SATA for several months very stable (actual 2.6.12-love1).
ATA/ATAPI/MFM/RLL support
<*> AMD and nVidia IDE support
< > Silicon Image chipset support
SCSI device support
<*> SCSI device support
<*> SCSI disk support
<M> SCSI generic support
SCSI low-level drivers
[*] Serial ATA (SATA) support
<*> Silicon Image SATA support
File systems
<*> Second extended fs support
[ ] Ext2 extended attributes
<*> Ext3 journalling file system support
[*] Ext3 extended attributes
/boot/grub/grub.conf
title=linux 2.6.12-love1
root (hd0,0)
kernel (hd0,0)/vmlinuz-2.6.12-love1 root=/dev/sda6 |
[*] Serial ATA (SATA) support - how did I miss that - thanks piewie! |
|
Back to top |
|
 |
|