Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Unable to boot SIL + nv SATA-controller with 6 HDs
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
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Sat Sep 01, 2007 9:43 pm    Post subject: [SOLVED] Unable to boot SIL + nv SATA-controller with 6 HDs Reply with quote

The motherboard in question (ASUS A8N SLI Deluxe) has 2 different SATA controllers on board. One is a nvidia controller, the other is a Silicon Image (SIL) controller.

I have 6 disks connected as follows:

1. 80GB harddisk for the OS
2. 300GB Volatile data
3. 300GB Disk 1 of Raid array #1 (mirror)
4. 300GB Disk 2 of Raid array #1 (mirror)
5. 300GB Disk 1 of Raid array #2 (mirror)
6. 300GB Disk 2 of Raid array #2 (mirror)

Both raid arrays are used as Physical Volumes for one large LVM storage area.

The drives are connected as follows:

OS on nv-SATA port #1
Volatile data on nv-SATA #2

Array 1 on nv-SATA #3 and #4
Array 2 on SIL-SATA #1 and #2

If I only connect the OS disc (and adjusting GRUB), the system boots fine. When I connect all discs, then suddenly my OS disc becomes "sde" although it is connected om the first SATA port of the "main" controller. I would assume that it becomes sda again if I would connect it to the SIL controller. But I cannot use this as boot-device in the BIOS :(

Having said all that, the really annoying part is that GRUB does not show up at all after connecting all discs. The system stops running after the BIOS listed the drives and the PCI devices. It looks like it should show a "NON SYSTEM DISK OR DRIVE ERROR" message. But this message is BIOS dependant, so I assume this BIOS simply sits there with no output.

Screenshot (this is where it hangs)

However, GRUB is installed on the drive that is selected as first boot device in the BIOS. This I am perfectly certain about as this is the only device with multiple partitions, and it's the only device with less then 100GB ;) And it works when only that disk is connected.
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949


Last edited by exhuma.twn on Thu Sep 20, 2007 2:47 pm; edited 4 times in total
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sat Sep 01, 2007 11:12 pm    Post subject: Reply with quote

I would install the grub MBR on all disks, and then hopefully one of them would get booted by the BIOS.

It might also be helpful to boot grub from a floppy disk and troubleshoot which drives can be seen at that point.
Back to top
View user's profile Send private message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Sun Sep 02, 2007 9:20 am    Post subject: Reply with quote

Ok, GRUB is installed on each drive now. I still get the same error.

Next I tried to boot a linux rescue system from CD. In the options from this CD I also have the option to boot straight into GRUB. But no matter what option I chose from this CD I get the same error. I always drop straight to a frozen screen with a blinking cursor at the bottom.

I will maybe try to install LILO now, and see what that gives me.

Still, I would prefer having grub as bootloader. And somehow it should work, as it was working on another distro :|
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949
Back to top
View user's profile Send private message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Sun Sep 02, 2007 9:34 am    Post subject: Reply with quote

Damn. Lilo does the same error.
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949
Back to top
View user's profile Send private message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Sun Sep 02, 2007 1:16 pm    Post subject: Reply with quote

The problem seems in fact to lie with the SIL controller. As soon as I connect *any* HD onto that controller, the whole system refuses to boot.
If I connect all to the nv controller, it works fine.

However, now I only have my volatile data available, but the important storage area is still missing, as the second LVM physical volume is missing. :(
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949
Back to top
View user's profile Send private message
Rob1n
l33t
l33t


Joined: 29 Nov 2003
Posts: 714
Location: Cambridge, UK

PostPosted: Sun Sep 02, 2007 1:21 pm    Post subject: Reply with quote

Have you checked for BIOS updates?
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sun Sep 02, 2007 9:20 pm    Post subject: Reply with quote

It would seem there's some kind of conflict between the BIOS for the two controllers... What happens if you wait until the grub menu to plug in drives to the SIL controller, and then continue booting linux? (I have to do this sometimes with the add-on IDE on my system with VIA onboard SATA and a Promise EIDE card, otherwise the Promise BIOS locks up, apparently in conflict with the SATA BIOS)
Back to top
View user's profile Send private message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Wed Sep 05, 2007 2:08 pm    Post subject: Reply with quote

Isn't this kind of "hotplugging" dangerous to the disks?
I will also re-check the BIOS *again* to see if I really did not miss any setting ;)
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Thu Sep 06, 2007 1:07 am    Post subject: Reply with quote

I've never had things damaged from doing that with PATA drives (the worst that happens is the system locks up), but if you're doing it while it's being written (or with an OS running in general), it may cause data loss... then again I've successfully hotplugged PCI cards on hardware not designed for it (this is more dangerous and I probably wouldn't recommend it) :)

At the very least, it's a troubleshooting option to verify that the hardware is working properly but the various BIOSes involved just won't let it boot (alternately, boot the kernel off a floppy disk if you can get it to fit on one)
Back to top
View user's profile Send private message
exhuma.twn
n00b
n00b


Joined: 28 Jan 2004
Posts: 70
Location: Luxembourg

PostPosted: Thu Sep 20, 2007 2:41 pm    Post subject: Reply with quote

Finally some results.
Spent one whole day with a mate to figure out what was wrong. Eventually it turned out that it was a problem with Interrupt 13. The device listing was wrong. The solution how I got it working is as follows:

I now have my sytem (boot) HD on the SIL controller (!). And to make it work I had to create a bogus raid device in the SIL controller with that device. I say bogus, because it's only a RAID Array with 1 device ;) CAREFUL though. The SIL controller stores it's meta-info about the arrays on the disk at the very end. So if you have ANY partitions on the disk that stretch just up to the end of the disk, you should resize it and make some free space at the end of the disk. Otherwise the filesystem might get screwed up (depends on the FS of course). But reducing it's size and leaving some room, should keep you safe. I will not take any responsibility for any loss of data. You have been warned ;) I still kept some backups using the ever-so-nice "partimage" tool ;) Just to be on the safe side.

However. Once the disk is marked as Logical Volume in the SIL Bios, the machine boots again.

I now have one more disk on the SIL controller which works normally (no need to put it in a RAID array). The others are running on the NV controll as is. No RAID there as well. Hovever, I have software RAID set-up in Linux. But that has nothing to do with the "hardware" raid supplied by the nv and SIL controller.
_________________
"Computers in the future may weigh no more than 1.5 tons."
- Popular Mechanics, 1949
Back to top
View user's profile Send private message
doc.twn
n00b
n00b


Joined: 20 Nov 2002
Posts: 15
Location: Luxembourg

PostPosted: Thu Sep 20, 2007 3:21 pm    Post subject: Reply with quote

wow man, finally!

it was about time that you fixed that box 8)
_________________
Keyboard not found, Press F1 to continue...
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Thu Sep 20, 2007 7:28 pm    Post subject: Reply with quote

Go figure... buggy vendor provided BIOS...
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