LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-08-2003, 01:29 PM   #1
WCprof
LQ Newbie
 
Registered: Nov 2003
Location: Germany
Distribution: Gentoo
Posts: 19

Rep: Reputation: 0
Question Can't boot on Promise SATA RAID


I am using the (basic) Gentoo live cd and I got my Promise 376 to work with the module. I finished my install but I get a kernel panic:

"VFS: cannot open root device "804" or 08:04
Please append a correct "root" boot option"

The array appears at /dev/sda and I can boot into my WinXP from lilo which is at /dev/sda1 without any problems.

This is what I tryed:
"cp /root/ft3xx.o /lib/modules/2.4.20-gentoo-r8/kernel/drivers/scsi/"
and I added "ft3xx" to "/etc/modules.autoload.d/kernel-2.4"

but it doesn't seem to load it at boot time.

Do I need to do modprobe first?
I can't now because I run of the Live CD and modprobe will only add modules to the CD kernel even when i'm chrooted.

Did I do something wrong or is there any way to compile the module "into" the kernel?

I hope someone can help me.
 
Old 11-08-2003, 03:18 PM   #2
xxbartosxx
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
Thumbs up

If you followed the howto they say to put this in your lilo.conf;
append="root=/dev/hda3 init=/linuxrc"

delete root=/dev/hda3
so u get
append="init=/linuxrc"

but how could u install the 376 drivers? pls explain us we will be happy to hear ure story.
 
Old 11-08-2003, 03:30 PM   #3
WCprof
LQ Newbie
 
Registered: Nov 2003
Location: Germany
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Thanx for the reply, I was hoping for a reply. I'm just sitting here and clicking refresh like 5 time a minute.

Getting the Promise 376 RAID controller wasn't too hard after some googling.
I used this module here
Because the Live CD doesn't have unzip I had to download them on a WinXP and then I uploaded them to my ftp.
Finally I just had to wget the whole directry they were in, then
run make, and insmod ft3xx.o (modprobe won't work on the Live CD because it tries to add the module to the cd's module directory (which is of course read only,) btw it won't even modprobe when you are chrooted.

So that was my short story about getting my 2 SATA drives to work .

Now I'll try to get those drives to boot...
 
Old 11-08-2003, 04:09 PM   #4
xxbartosxx
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
Lol yeah got that driver too but what I am trying is to build a SUSE 9 driver update disk, ;-)
I want to use it for my main workstation, and on a dev machine I gone install gentoo I think....
I hope my tip(I got it from the gentoo forums) works
 
Old 11-08-2003, 04:10 PM   #5
WCprof
LQ Newbie
 
Registered: Nov 2003
Location: Germany
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
hmm still no luck, I removed the "root=/dev/sda4" from "append="root=/dev/sda4 init=/linuxrc" but it doesn't have any effect.

I have also recompiled the kernel (so I dind't use genkernel) but that didn't help either.

I am really starting to think that the module isn't copied in the right place or isn't accepted by the kernel or something else, maybe it's just the wrong place for auto loading modules at boot time.

BTW: could somebody tell me how to compile modules (any blah.o file) _into_ the kernel so they don't even have to be put into some directory and in some script files but are loaded when the kernel starts up? Or is that just not possible/to complicated?

Please give me a hint, just here to put the stuff or something like that.
 
Old 11-08-2003, 04:20 PM   #6
WCprof
LQ Newbie
 
Registered: Nov 2003
Location: Germany
Distribution: Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Are you trying to install SuSE or do you have to use a disk to get the driver inside? lol. I guess if some other distro would have native support for the Promise 376 then that would help alot and I would probably switch. Do the other distro's also have such a lilo.conf mess or is that handeld automatically while installing?

I want to start my Linux now! this sucks

I had the same problem with slackware (boot from hdd) and now I'm thinking I'm just to stupid for this lol.

Could somebody just tell me where to put the module or how compile modules (any blah.o file) _into_ the kernel so they don't even have to be put into some directory and in some script files but are loaded when the kernel starts up? Or is that just not possible/to complicated?

WCprof
thanx for any help/replies
 
Old 11-09-2003, 06:57 AM   #7
xxbartosxx
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
I have to use a disk to get it inside.

Still
 
Old 12-17-2003, 03:23 AM   #8
xxbartosxx
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
Lightbulb

FOUND IT I hope

Promise has made a Suse 9 driver avaible on their website after a pissed off email from me

Tonight I gone try it
 
Old 09-08-2004, 04:59 AM   #9
wastingtime
Member
 
Registered: Sep 2004
Posts: 86

Rep: Reputation: 17
ATA RAID failed to mount root=/dev/sda5

I had a similar problem.
It turns out that the kernel uses SCSI drivers to access the ATA RAID
(in my case PATA RAID1) and loads SCSI support and low level driver MEGARAID. Because it booted from a live CD it loaded those as modules.
genkernel copies the boot config and creates a kernel that loads them as modules - problem is they are needed way before that to mount '/'
Solution is to run genkernel --menuconfig all and include (mark with *) both SCSI support and the MEGARAID.

The irony is that the LiveCD genkernel includes dozens of unneeded modules and fails to include SCSI support for raid.

2.4.26-gentoo-r6
 
  


Reply



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
sata raid 5 promise sx4?? ironwalker Debian 9 11-15-2005 12:04 PM
promise sata raid help ganja_guru Linux - Hardware 5 10-18-2004 08:20 PM
promise sata/raid asus boards bardinjw Linux - Hardware 0 10-21-2003 05:26 PM
Promise Sata Raid Drivers For Rh9 kazykid22 Linux - Hardware 2 10-03-2003 09:40 PM
lilo - Promise SATA Raid shamen Linux - General 3 08-03-2003 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:24 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
Open Source Consulting | Domain Registration