View previous topic :: View next topic |
Author |
Message |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sat Jun 21, 2003 8:20 am Post subject: ITE RAID/GigaRAID/LiveCD kernel |
|
|
OK, I am having trouble here getting the gentoo installation started...
The problem is I have ITE RAID, which gentoo doesn't support by default... I got the source to the linux driver, which compiles fine with the gentoo kernel but requests /usr/src/linux/linux/modversions.h which doesn't exist in thet XFS kernel, which is on the LiveCD... how can I get this to work? Any LiveCDs with a different kernel? Is it possible to boot from a gentoo floppy and then use the bootstrapping and other stuff from the LiveCD sucessfully without too much trouble?
[edited topic title so its easier for others to find this topic]
Last edited by aent on Mon Jun 23, 2003 12:35 am; edited 1 time in total |
|
Back to top |
|
 |
Donut n00b

Joined: 27 Apr 2003 Posts: 40
|
Posted: Sat Jun 21, 2003 2:17 pm Post subject: |
|
|
If you don't solve this issue, try something like Knoppix to do the install. Koppix will have more comprehensive hardware support. The Gentoo LiveCD is just really there as a convenient option for creating your real Gentoo system. See this for more info....
https://forums.gentoo.org/viewtopic.php?t=39998&highlight=install+knoppix
Paul |
|
Back to top |
|
 |
Kurtz n00b

Joined: 18 Jun 2003 Posts: 58
|
Posted: Sat Jun 21, 2003 2:40 pm Post subject: Re: LiveCD kernel |
|
|
aent wrote: | I got the source to the linux driver, which compiles fine with the gentoo kernel but requests /usr/src/linux/linux/modversions.h which doesn't exist in thet XFS kernel, which is on the LiveCD... |
You can't compile a kernelmodule without the kernelsource - that's why the compilation fails. The kernelsource is not on the LiveCD.
As the previous poster recommended, try the Knoppix-CD. |
|
Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Jun 21, 2003 3:14 pm Post subject: |
|
|
aent wrote: | The problem is I have ITE RAID, which gentoo doesn't support by default... |
Do you know what chipset your RAID controller uses ?
You can find out by booting with the LiveCD or KNOPPIX, then type "lspci" to list your PCI devices. |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sat Jun 21, 2003 4:30 pm Post subject: |
|
|
IT8212F |
|
Back to top |
|
 |
gmichels Guru


Joined: 20 Jun 2003 Posts: 480 Location: Brazil
|
Posted: Sat Jun 21, 2003 6:40 pm Post subject: |
|
|
May I compile modules using my existing running kernel and load them on the livecd's kernel? Will it work? |
|
Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Jun 21, 2003 8:26 pm Post subject: |
|
|
I bought a motherboard with this chipset earlier today (Gigabyte GA-7N400 Pro)
I will probably install in 2 steps :
Do a minimal installation from the LiveCD onto a spare harddrive on the onboard IDE channel, building a kernel that will support all the controllers on this motherboard.
Then do the "real" installation by chrooting from the first installation. |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sat Jun 21, 2003 8:55 pm Post subject: |
|
|
I would do that, but I am actually using the RAID (2 100GB hard drives)
I'm downloading the latest Knoppix ISO now, since my current one doesn't support my NVIDIA GeForce FX video card and gigabit driver, I hope the new one does...
Drago: If your kernel matches the one on the Live CD yes, otherwise, you will need to get the kernel sources that are on the Live CD.
cyrillic wrote: |
I will probably install in 2 steps :
Do a minimal installation from the LiveCD onto a spare harddrive on the onboard IDE channel, building a kernel that will support all the controllers on this motherboard.
Then do the "real" installation by chrooting from the first installation. |
|
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sat Jun 21, 2003 11:59 pm Post subject: |
|
|
The knoppix kernel also doesn't have this file... so I can't install through knoppix either...  |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sun Jun 22, 2003 4:53 am Post subject: |
|
|
Bah, still struggling with this...
I tried making my own ISO with the gentoo kernel, but I couldn't get bzImage to be small enough... anyone have a kernel that is small enough or know how to get it really small? I took like everything out except what I absolutely need to boot, even took out ethernet drivers and such... anyone know how to do this with the gentoo-sources kernel? I greatly appreciate any help you give me and stuff. |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sun Jun 22, 2003 1:15 pm Post subject: |
|
|
Anyone have any ideas? |
|
Back to top |
|
 |
uxbod Guru


Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sun Jun 22, 2003 2:16 pm Post subject: |
|
|
Ive just brought this card aswell so will attempt to get it working! It compiles okay but when I try and load the iteraid.o I get :-
root@slider driver # insmod ./iteraid.o
./iteraid.o: unresolved symbol prefetch |
|
Back to top |
|
 |
Kurtz n00b

Joined: 18 Jun 2003 Posts: 58
|
Posted: Sun Jun 22, 2003 3:06 pm Post subject: |
|
|
aent wrote: | Anyone have any ideas? |
What's the module's exact name and location? Maybe I can compile it for you on my machine. You could then put the module on a floppy, and load it from there.
I have gentoo-sources 2.4.20-r5.
Last edited by Kurtz on Sun Jun 22, 2003 3:10 pm; edited 2 times in total |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sun Jun 22, 2003 3:06 pm Post subject: |
|
|
I never got that error, but I just did insmod iteraid.o
Where are you getting the .o file from? You compiled it yourself? |
|
Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Jun 22, 2003 3:37 pm Post subject: |
|
|
aent wrote: | I would do that, but I am actually using the RAID (2 100GB hard drives) |
Yes, that is what I am talking about.
You need a third harddrive that is not part of the array. Plug it into one of your other controllers on the motherboard (one that is supported by the LiveCD or KNOPPIX). Do the first installation on this drive.
Then boot the first installation, compile support for the ITE RAID controller. Now you can chroot from here to do the second installation directly on the array. Once you are done, remove the spare harddrive and boot your second installation from the array. (tada !) |
|
Back to top |
|
 |
uxbod Guru


Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sun Jun 22, 2003 3:54 pm Post subject: |
|
|
Hi :
I got the source code from the ITE website ... I have uploaded it to my site if you want to give it a try :
http://www.splatnix.net/iteraidsrc.zip
I am attempting to compile it against gentoo-sources 2.4.20-r5. I am just downloading 2.4.21 vanilla to see if I get the same problem.
TIA |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sun Jun 22, 2003 4:27 pm Post subject: |
|
|
cyrillic wrote: | Yes, that is what I am talking about.
You need a third harddrive that is not part of the array. Plug it into one of your other controllers on the motherboard (one that is supported by the LiveCD or KNOPPIX). Do the first installation on this drive.
Then boot the first installation, compile support for the ITE RAID controller. Now you can chroot from here to do the second installation directly on the array. Once you are done, remove the spare harddrive and boot your second installation from the array. (tada !) |
Well, I have other computers with gentoo on it, so I just pulled out the hard drive from another one and booted from it, and then I attempted to install the ITE RAID driver and got the same error as uxbod:
# insmod iteraid.o
iteraid.o: unresolved system prefetch
Any more ideas? I can recompile the existing kerenl on that hard drive if need be or whatever... |
|
Back to top |
|
 |
uxbod Guru


Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sun Jun 22, 2003 4:30 pm Post subject: |
|
|
I downloaded the precompiled binaries that are for RH7.3/8.0/9.0 and Mandrake and found that in the file modules.dep scsi_mod was required. Current recompiling with SCSI disk support to see if that fixes it! Do hope so as I currently have 1 x 120GB primary boot 2 x 120GB (RAID). |
|
Back to top |
|
 |
uxbod Guru


Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sun Jun 22, 2003 5:06 pm Post subject: |
|
|
Nope thats a big NO  |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sun Jun 22, 2003 5:34 pm Post subject: |
|
|
Did you attempt the vanilla sources yet? |
|
Back to top |
|
 |
uxbod Guru


Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sun Jun 22, 2003 5:36 pm Post subject: |
|
|
Nope not yet as still downloading  |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sun Jun 22, 2003 6:46 pm Post subject: |
|
|
OK, I'm compiling the vanilla kernel now, I'll let you know how it goes for me... |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sun Jun 22, 2003 7:01 pm Post subject: |
|
|
no luck, same error... try it anyways, I could have done something wrong  |
|
Back to top |
|
 |
aent n00b

Joined: 24 May 2003 Posts: 49 Location: Here
|
Posted: Sun Jun 22, 2003 7:28 pm Post subject: |
|
|
A breakthrough! insmod.o
I rebuilt insmod.o with the other makefile and now just freezes the session
(CTRL+C and such don't work)
I looked in dev in another session and it creates stuff in /dev/scsi I think, and I went down to the end of the long path to it and did fdisk on it and it froze that session... there is no sd* or new hd*...
also, do make all instead of make |
|
Back to top |
|
 |
uxbod Guru


Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Sun Jun 22, 2003 8:23 pm Post subject: |
|
|
I have rebuilt with the 2.4.21 sources and get the same error with the unresolved prefetch There must be a prefetch kernel patch somewhere that RH7.3> uses. |
|
Back to top |
|
 |
|