LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices



Reply
 
Search this Thread
Old 09-27-2004, 10:38 PM   #1
slackman
Member
 
Registered: Mar 2003
Distribution: Slack 9.0
Posts: 123

Rep: Reputation: 15
Exclamation 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
 
Old 09-28-2004, 10:42 AM   #2
bonecrusher
Member
 
Registered: Mar 2004
Location: St. Louis, MO
Distribution: Slackware-current, Ubuntu Server, Gentoo
Posts: 207

Rep: Reputation: 30
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
 
Old 09-28-2004, 11:08 AM   #3
slackman
Member
 
Registered: Mar 2003
Distribution: Slack 9.0
Posts: 123

Original Poster
Rep: Reputation: 15
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
 
Old 09-28-2004, 01:38 PM   #4
bonecrusher
Member
 
Registered: Mar 2004
Location: St. Louis, MO
Distribution: Slackware-current, Ubuntu Server, Gentoo
Posts: 207

Rep: Reputation: 30
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


Last edited by bonecrusher; 09-28-2004 at 02:19 PM.
 
Old 09-28-2004, 05:27 PM   #5
slackman
Member
 
Registered: Mar 2003
Distribution: Slack 9.0
Posts: 123

Original Poster
Rep: Reputation: 15
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.
 
Old 09-28-2004, 05:34 PM   #6
bonecrusher
Member
 
Registered: Mar 2004
Location: St. Louis, MO
Distribution: Slackware-current, Ubuntu Server, Gentoo
Posts: 207

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RedHat 7.2 sil3112 wd360 raptor sata linux driver nickleus Linux - Hardware 4 09-07-2005 06:27 AM
sata raid0 on slackware iostream Slackware - Installation 2 03-20-2005 09:16 AM
Slack 10.1.0 and SATA RAID0 rmocius@auste.e Slackware 1 03-10-2005 11:28 AM
how to mount 2 SATA RAID0 disks student04 Linux - Hardware 7 01-08-2005 05:04 PM
boot to PATA raid0 on Promise 378 *and see* SATA raid0 ICH5 ? patr Linux - Hardware 2 02-25-2004 02:36 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration