Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Abit NF7-S + Sata = Kernel Panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Midnight Dream
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 167

PostPosted: Fri Sep 30, 2005 1:42 am    Post subject: Abit NF7-S + Sata = Kernel Panic Reply with quote

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
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 494
Location: old Europe

PostPosted: Fri Sep 30, 2005 2:07 pm    Post subject: Reply with quote

- kernel version?
- libata or ide-sata driver?
- modul or build in ?
- exact error message ?
Back to top
View user's profile Send private message
Midnight Dream
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 167

PostPosted: Fri Sep 30, 2005 2:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 494
Location: old Europe

PostPosted: Fri Sep 30, 2005 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Midnight Dream
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 167

PostPosted: Fri Sep 30, 2005 4:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 494
Location: old Europe

PostPosted: Fri Sep 30, 2005 6:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Midnight Dream
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 167

PostPosted: Fri Sep 30, 2005 10:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Midnight Dream
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 167

PostPosted: Sat Oct 01, 2005 2:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Midnight Dream
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 167

PostPosted: Sun Oct 02, 2005 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
Midnight Dream
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 167

PostPosted: Sun Oct 02, 2005 12:33 am    Post subject: Reply with quote

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
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sun Oct 02, 2005 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 494
Location: old Europe

PostPosted: Sun Oct 02, 2005 2:04 pm    Post subject: Reply with quote

is your sata hd with root or boot partition, or does it only hold data?
Back to top
View user's profile Send private message
Isaiah
Guru
Guru


Joined: 25 Feb 2003
Posts: 359

PostPosted: Tue Nov 15, 2005 1:16 am    Post subject: Reply with quote

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 8O - thanks piewie!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum