LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   lilo problem with sata (sil3112) raid0 (https://www.linuxquestions.org/questions/slackware-installation-40/lilo-problem-with-sata-sil3112-raid0-236019/)

slackman 09-27-2004 09:38 PM

lilo problem with sata (sil3112) raid0
 
ok i have 2 x SATA (IDE with SATA converter) disk in raid0 set. i installed slackware using the kernel i compiled with the SATA supports (patched with medley patch). i'm using 2.4.25. install went fine, cuz i was able to partition my disc array

/dev/ataraid/d0 /d0p1 /d0p2 /d0p3 and so on

btw i'm dual booting with windows XP, but since the lilo doesnt work i can't boot to windows nor linux. during the install i tried to install lilo to MBR but it errored out and said it can not be done. i also tried super block but same thing happened. i edited lilo.config and ran /sbin/lilo and everything was fine , no errors

my lilo.config looks something like this

lba32
boot=/dev/ataraid/d0p4 #my /boot

prompt

timeout=10

# BIOS map
disk=/dev/ataraid/d0 bios=0x80

#LINUX
image =/boot/vmlinuz
root=/dev/ataraid/d0p3 #my /
append= = "devfs=mount"
vga = 0x0305
label=Slackware

#Windoze
other = /dev/ataraid/d0p1 #windoze
label = Windows
table = /dev/ataraid/d0

/sbin/lilo doesn't return any errors. but i believe it's not installed in the MBR or on the partition since both methods of installing form setup failed. even after editing the files i tried to run the lilo install scrip again and got the same thing (error). if anyone experienced the same problem or know the soltuion to it please share. thanks in advance for any info

bonecrusher 09-28-2004 09:42 AM

Re: lilo problem with sata (sil3112) raid0
 
Quote:

Originally posted by slackman
ok i have 2 x SATA (IDE with SATA converter) disk in raid0 set. i installed slackware using the kernel i compiled with the SATA supports (patched with medley patch). i'm using 2.4.25. install went fine, cuz i was able to partition my disc array

/dev/ataraid/d0 /d0p1 /d0p2 /d0p3 and so on

btw i'm dual booting with windows XP, but since the lilo doesnt work i can't boot to windows nor linux. during the install i tried to install lilo to MBR but it errored out and said it can not be done. i also tried super block but same thing happened. i edited lilo.config and ran /sbin/lilo and everything was fine , no errors

my lilo.config looks something like this

lba32
boot=/dev/ataraid/d0p4 #my /boot

prompt

timeout=10

# BIOS map
disk=/dev/ataraid/d0 bios=0x80

#LINUX
image =/boot/vmlinuz
root=/dev/ataraid/d0p3 #my /
append= = "devfs=mount"
vga = 0x0305
label=Slackware

#Windoze
other = /dev/ataraid/d0p1 #windoze
label = Windows
table = /dev/ataraid/d0

/sbin/lilo doesn't return any errors. but i believe it's not installed in the MBR or on the partition since both methods of installing form setup failed. even after editing the files i tried to run the lilo install scrip again and got the same thing (error). if anyone experienced the same problem or know the soltuion to it please share. thanks in advance for any info


Ok:

I did some research on this and you want to run a 2.6.7+ kernel instead of medley. (2.6 supports sil by way of the linux software raid driver and is faster.. the MD device/driver)...
(I think LILO is having problems with medley if you ask me..)

See this link for more:


See near the almost bottom of this link.

and of course youhave probably read this:
http://www.jammed.com/~jwa/mirror/en...D-HOWTO-4.html



You may aklso want to take a look at some links from my web site....

Hope this helps ya a little...


cheers,

bc

slackman 09-28-2004 10:08 AM

thanks for info bonecrusher. this seems like a good alternative, but the software raid (i assume) prolly requires to turn off the hardware raid, so i won't be able to run windoze on raid setup (correct me if im wrong here). i signed up to the mailing list on thomas horsten's site (author of medley driver) and posted my problem too. he showed his lilo config so he prolly got that it working. LMK if you have any other sugesstions as i want to run both windoze and slack on raid0. thanks

bonecrusher 09-28-2004 12:38 PM

Quote:

Originally posted by slackman
thanks for info bonecrusher. this seems like a good alternative, but the software raid (i assume) prolly requires to turn off the hardware raid, so i won't be able to run windoze on raid setup (correct me if im wrong here). i signed up to the mailing list on thomas horsten's site (author of medley driver) and posted my problem too. he showed his lilo config so he prolly got that it working. LMK if you have any other sugesstions as i want to run both windoze and slack on raid0. thanks
First off.. let's clear this software/hardware RAID thing up. You DO NOT have 'hardware' RAID.

See this if you don't believe me:

Jeff Garzik's (LIB ATA Developer's) SATA/RAID FAQ

You will be able to run Windows. Why wouldn't you be able to?

2nd: I am not the most informed person when it comes to RAID.. so correct me if I AM wrong... but I doubt you will have any trouble setting it up the way that 'I' described. You should run 'DMRAID' under the 2.6 kernel. (Assuming pATA - ATA drives) (Which is what you should definitely do.) Let me know. Link for README:
DMRAID ReadMe
But.. you have SATA!

From what I know, though, you are simply using the BIOS on your 'card' that intereacts with your CPU. This is why it is not 'hardware' RAID. Windows probably has it's own special driver as far as that goes. And that will remain as is. We are simply running a 'software' driver for your BIOS (RAID) to intereact with under Linux. (DMRAID driver..) Once again i would refer you to my web page below. These have already been answered more then once.


** I even added some other links today under the SATA/RAID section. Take a look :) And you can check out the one for your chipset, also...


If you use the 2.4 kernel use "ATARAID" (What your doing now I presume...)
If you use the 2.6 kernel (I recommend) use the DMRAID driver.

But your using SATA...!

Read:

And since your using SATA disks.. this is where I get lost..and I haven't gotten this down for sure..(Anyone else?) :
Now.. I believe you would use the normal MD driver for SCSI/SATA drives..But since you are sunning SI 'card' you can run ataraid/dmraid. I re-read your message and looked into this further. I have come to the conclusion that the MD driver is for SATA and SCSI drives. It is the software driver end for Linux. You should still be able to use it and use windowsXP? but I have also read that if you use the DMRAID it is slower then MD driver.. See that one post in last msg about DMRAID vs MD....so again I would recommend using MD.
See this!!! :
Sil Image 3112/3114 SATA-RAID - Got this link from my web page...

AGAIN let me point out that I DO NOT run RAID and have no plans on running it. Only reason I am trying to help is because I have been exposed to it so much dealing with SATA... ok? .. ok! :) And I do hope I have helped clear some of this up... though by re-reading my msg here.. I tend to doubt it.. hehe


** Again see my web page and the above FAQ for more on this...

good luck!

bc


slackman 09-28-2004 04:27 PM

ill take a look at the links on ur web page.

from the link u posted sil3112/3114 SATA:

[q]hese directions are aimed specifically at people who are *not* putting their operating system on a sATA drive, but rather on a pATA drive which Linux already sees. [/q]

i already have OS on the raid and want to boot from linux from raid partition. i dont have a spare ata drive as well.

bonecrusher 09-28-2004 04:34 PM

Quote:

Originally posted by slackman
ill take a look at the links on ur web page.

from the link u posted sil3112/3114 SATA:

[q]hese directions are aimed specifically at people who are *not* putting their operating system on a sATA drive, but rather on a pATA drive which Linux already sees. [/q]

i already have OS on the raid and want to boot from linux from raid partition. i dont have a spare ata drive as well.


Umm.. nope... look again.

It is showing how to compile a kernel for use on sata drive.. that is just the beginning.. read the title (top) of web page. But ok.. if you dont have a spare pata drive I understand.. Irregardless check out the example further down in the article. (and the others..)

bc


All times are GMT -5. The time now is 09:00 PM.