LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-29-2004, 01:07 AM   #226
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45

Quote:
Originally posted by poochie2
I think it was a binary, I did it putting the driver disk upon the installation of RH, the file was ".o" and the product page on the producer's site has some sources, but I don't know how to feed them to the kernel config files!
Is it an ITE8212 ATA-RAID card? I'm going to investigate on that one... I know you have to put the sources from the driver (for 2.6.x) in the drivers/scsi directory and compile it from there.

Quote:
Originally posted by angel_hva
I had same problem last time. Then, after type:
make modules_install
Everything is fine now but my new kernel can not boot. What is wrong? Luckyly, I already make oldconfig thus Linux still can run if I choose the old kernel.

R there anybody can use your help?
Please give some more information on the error message that is printed on the screen when the kernel stops booting.
 
Old 03-29-2004, 06:27 AM   #227
poochie2
LQ Newbie
 
Registered: Mar 2004
Location: Italy, MO
Distribution: RH9
Posts: 17

Rep: Reputation: 0
[QUOTE]Originally posted by Thetargos
[B]Is it an ITE8212 ATA-RAID card? I'm going to investigate on that one... I know you have to put the sources from the driver (for 2.6.x) in the drivers/scsi directory and compile it from there.

Not exactly, it's a Highoint htp372a ATA 133 RAID PCI card.

I found a post around here that could do for my case too, but following those directions didn't lead me to the right conclusion.

I'll try to do as you say ASAP
 
Old 03-29-2004, 08:05 AM   #228
poochie2
LQ Newbie
 
Registered: Mar 2004
Location: Italy, MO
Distribution: RH9
Posts: 17

Rep: Reputation: 0
During the driver compilation I get lots of errore, and I got no clue of what can I do with it...

I copied the driverfiles to the /drivers/scsi folder, then

[root@poochie-client scsi]# make KERNELDIR=/home/poochie/kernel2.6/linux-2.6.4 ATHLON=1

...
hpt.c: In function `hpt_set_device_on_offline':
hpt.c:4791: structure has no member named `host_queue'
hpt.c:4800: structure has no member named `next'
hpt.c: At top level:
hpt.c:4824: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
hpt.c:4824: warning: data definition has no type or storage class
hpt.c:4753: warning: `hpt_scsi_unregister_module' defined but not used
make: *** [hpt.o] Error 1

anyway trying to continue with the compilation of the kernel will result in the same old error of a missing module for the RAID device :'(

the driver sources can be found here http://www.highpoint-tech.com/BIOS%2...urce-v1.32.tgz
 
Old 03-29-2004, 08:21 AM   #229
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Ok, I saw a fairly larger file there for RH systems (about 8.8 Mb) I guess this is a binary only file... I tried to look around in the page also, but I could not find instructions on how to compile this driver... I'll download the tarball and see what information does it provide... Sadly this problem is beyond the scope of this thread, although it may be an example of when some HW holds you back... There's always a way, don't worry, it'll need a little bit of investigation, that's all.
 
Old 03-29-2004, 09:46 AM   #230
poochie2
LQ Newbie
 
Registered: Mar 2004
Location: Italy, MO
Distribution: RH9
Posts: 17

Rep: Reputation: 0
Quote:
Originally posted by Thetargos
Ok, I saw a fairly larger file there for RH systems (about 8.8 Mb) I guess this is a binary only file... I tried to look around in the page also, but I could not find instructions on how to compile this driver... I'll download the tarball and see what information does it provide... Sadly this problem is beyond the scope of this thread, although it may be an example of when some HW holds you back... There's always a way, don't worry, it'll need a little bit of investigation, that's all.
The README in the source compressed file explains it all, it says to run

make KERNELDIR=MYKERNELDIR + various "optional options"
 
Old 03-29-2004, 09:54 AM   #231
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Ok, I just read the readme in the package... The instructions are fairly simple. Please could you post exactly what you are typing to make the module? Also I did not see any reference to 2.6.x support on these drivers, I'll try to check on the page rather than the readme.txt.
 
Old 03-29-2004, 11:23 AM   #232
poochie2
LQ Newbie
 
Registered: Mar 2004
Location: Italy, MO
Distribution: RH9
Posts: 17

Rep: Reputation: 0
Quote:
Originally posted by Thetargos
Ok, I just read the readme in the package... The instructions are fairly simple. Please could you post exactly what you are typing to make the module? Also I did not see any reference to 2.6.x support on these drivers, I'll try to check on the page rather than the readme.txt.
As posted before, I try to compile the driver with:

[root@poochie-client scsi]# make KERNELDIR=/home/poochie/kernel2.6/linux-2.6.4 ATHLON=1
 
Old 03-29-2004, 11:27 AM   #233
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Just a suggestion. Try to copy the kernel sources to /usr/src/, and edit the /usr/src/linux, /lib/modules/<kernelversion>/build symlinks to point to /usr/src/linux-2.6.4 and try re-compiling... Maybe this is the problem.
 
Old 03-29-2004, 11:53 AM   #234
poochie2
LQ Newbie
 
Registered: Mar 2004
Location: Italy, MO
Distribution: RH9
Posts: 17

Rep: Reputation: 0
Quote:
Originally posted by Thetargos
Just a suggestion. Try to copy the kernel sources to /usr/src/, and edit the /usr/src/linux, /lib/modules/<kernelversion>/build symlinks to point to /usr/src/linux-2.6.4 and try re-compiling... Maybe this is the problem.
Ehm... I got no /usr/src/linux file! :O

Is this a problem?
 
Old 03-29-2004, 11:59 AM   #235
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by poochie2
Ehm... I got no /usr/src/linux file! :O

Is this a problem?
Make it:
Code:
# cd /usr/src
# cp -r /path/to/current/sources .
# ln -sf linux-2.6.4 linux
 
Old 03-29-2004, 12:12 PM   #236
poochie2
LQ Newbie
 
Registered: Mar 2004
Location: Italy, MO
Distribution: RH9
Posts: 17

Rep: Reputation: 0
Ok, did that (sorry for bothering, but I'm enjoying this stuff :] )

What about the symlinks in the build folder... how and which should I make? The folder already exists (related to the 2.6.4 kernel) but it only contains folders and files, no links...
 
Old 03-29-2004, 12:15 PM   #237
poochie2
LQ Newbie
 
Registered: Mar 2004
Location: Italy, MO
Distribution: RH9
Posts: 17

Rep: Reputation: 0
Quote:
Originally posted by poochie2
Ok, did that (sorry for bothering, but I'm enjoying this stuff :] )

What about the symlinks in the build folder... how and which should I make? The folder already exists (related to the 2.6.4 kernel) but it only contains folders and files, no links...
ooops, build itself is the symlink... I just got it... hehe
 
Old 03-29-2004, 12:24 PM   #238
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Quote:
Originally posted by poochie2
ooops, build itself is the symlink... I just got it... hehe
Some friends of mine would say "GG owned"

Anyway, did copying the sources to the standard location helped with the drivers?
 
Old 03-29-2004, 12:41 PM   #239
poochie2
LQ Newbie
 
Registered: Mar 2004
Location: Italy, MO
Distribution: RH9
Posts: 17

Rep: Reputation: 0
Wow, incredible... I got some progress done, but the new stop is quite upsetting:

[root@poochie-client linux-2.6.4]# make install
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.4/arch/i386/boot/install.sh 2.6.4 arch/i386/boot/bzImage System.map ""
No module hpt37x2 found for kernel 2.6.4
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2

Is this a hint for incompatibility with the kernel? Or is it probably just complaining for not having found the needd module? I fear the first option is the one right...
 
Old 03-29-2004, 01:07 PM   #240
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Original Poster
Rep: Reputation: 45
Did you rebuild the whole dependency tree? i.e did you recompile all from scratch? (make clean modules moduels_install install?)
 
  


Reply

Tags
howto, tutorial



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
Red Hat/Fedora ALSA mini-HowTo. Thetargos Red Hat 182 04-01-2006 12:12 PM
red hat 9 kernel compilation b0nd Linux - Newbie 1 08-11-2005 10:05 AM
Kernel compilation (2.4.25 - Red Hat) on DELL Inspiron 2650 rohitmordani Linux - Laptop and Netbook 7 04-05-2004 05:10 PM
Red Hat does not plan to release another product in the red hat linux line... Whitehat General 5 11-03-2003 06:33 PM
Red Hat Update Agent for kernel updates and custom kernels SparceMatrix Linux - General 5 09-03-2002 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:59 AM.

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