LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-02-2007, 02:16 AM   #1
krischeu
LQ Newbie
 
Registered: Mar 2005
Posts: 10

Rep: Reputation: 0
Unhappy controller compilation problem sata 1740 highpoint


Dear NG,
I am running a HP xw 6000 workstation with ubuntu 6.06.1 LTS server.
Kernel version is 2.6.15-28-server #1 SMP.
The machine is running. Everything without the raid-controller is fine.

This is what i have done:
Downloaded the source code
created a directory and changed into it -->
/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/product/rr174x/linux

i typed "make" and 2 errors occured:
root@carhs1:/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/product/rr174x/linux#
make
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-28-server'
CC [M]
/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/osm/linux/os_linux.o
/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/osm/linux/os_linux.c:
In function 'refresh_sd_flags':
/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/osm/linux/os_linux.c:261:
warning: implicit declaration of function 'mutex_lock'
/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/osm/linux/os_linux.c:261:
error: 'struct inode' has no member named 'i_mutex'
/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/osm/linux/os_linux.c:267:
warning: implicit declaration of function 'mutex_unlock'
/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/osm/linux/os_linux.c:267:
error: 'struct inode' has no member named 'i_mutex'
make[2]: ***
[/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/osm/linux/os_linux.o]
Error 1
make[1]: ***
[_module_/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/product/rr174x/linux/.build]
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-28-server'
make: *** [rr174x.ko] Error 2
root@carhs1:/usr/src/highpoint_1740_sata_rr174x-linux-src-1.02/product/rr174x/linux#

Can anyone please give me a hint? This is a urgent issue!!!

Last edited by krischeu; 05-02-2007 at 06:03 AM.
 
Old 05-02-2007, 09:16 AM   #2
krischeu
LQ Newbie
 
Registered: Mar 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Dear NG,

one step forward 2 steps back.

after discommenting some lines from "/rr174x-linux-src-1.02/osm/linux/os_linux.c" (Line 260 --> 265)
compiling was succesfull.

I can test after compiling with hdparm the speed ( hdparm -tT /dev/sda) 68MB/s.
Unfortunately i only see one harddisc --> reboot could help? No, after reboot no harddisks anymore availiable.

modprobe sd_mod
insmod rr1740.ko
depmod

Don't help anymore.
If i do this:

modprobe sd_mod --> no error
insmod rr1740.ko --> insmod: can't read 'rr1740.ko': No such file or directory
depmod --> no error

dmesg give this:
--snip---
[42949423.080000] matrox_w1 0000:01:00.0: Matrox G400 GPIO transport layer for 1-wire.
[42949423.210000] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 209
[42949423.210000] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[42949423.330000] rr174x: module license 'Proprietary' taints kernel.
[42949423.330000] rr174x:0: RocketRAID 174x controller driver v1.02 (May 2 2007 15:17:27)
[42949423.330000] ACPI: PCI Interrupt 0000:05:0e.0[A] -> GSI 16 (level, low) -> IRQ 193
[42949423.330000] rr174x:0: adapter at PCI 5:14:0, IRQ 193
[42949423.910000] rr174x:0: start channel [0,0]
[42949423.910000] rr174x:0: start channel [0,1]
--snip---


I can see rr174x - the harddisks are connected at 0.0 and 0.1 --> i know this, because i tested it before.
How can i go on?
 
Old 05-03-2007, 01:20 AM   #3
krischeu
LQ Newbie
 
Registered: Mar 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Dear NG,

one step forward 2 steps back.

after discommenting some lines from "/rr174x-linux-src-1.02/osm/linux/os_linux.c" (Line 260 --> 265)
compiling was succesfull.

I can test after compiling with hdparm the speed ( hdparm -tT /dev/sda) 68MB/s.
Unfortunately i only see one harddisc --> reboot could help? No, after reboot no harddisks anymore availiable.

modprobe sd_mod
insmod rr1740.ko
depmod

Don't help anymore.
If i do this:

modprobe sd_mod --> no error
insmod rr1740.ko --> insmod: can't read 'rr1740.ko': No such file or directory
depmod --> no error

dmesg give this:
--snip---
[42949423.080000] matrox_w1 0000:01:00.0: Matrox G400 GPIO transport layer for 1-wire.
[42949423.210000] ACPI: PCI Interrupt 0000:00:1f.5[b] -> GSI 17 (level, low) -> IRQ 209
[42949423.210000] PCI: Setting latency timer of device 0000:00:1f.5 to 64
[42949423.330000] rr174x: module license 'Proprietary' taints kernel.
[42949423.330000] rr174x:0: RocketRAID 174x controller driver v1.02 (May 2 2007 15:17:27)
[42949423.330000] ACPI: PCI Interrupt 0000:05:0e.0[A] -> GSI 16 (level, low) -> IRQ 193
[42949423.330000] rr174x:0: adapter at PCI 5:14:0, IRQ 193
[42949423.910000] rr174x:0: start channel [0,0]
[42949423.910000] rr174x:0: start channel [0,1]
--snip---


I can see rr174x - the harddisks are connected at 0.0 and 0.1 --> i know this, because i tested it before.
How can i go on?
 
  


Reply

Tags
lts, raid, sata, ubuntu


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
Issues with HighPoint Rocket 133SB Controller Card rcase5 Linux - Hardware 2 02-25-2007 02:23 AM
Problems installing an Highpoint Rocket 133 IDE controller hansalfredche Linux - Hardware 3 10-28-2006 08:47 AM
4 minute stop with HD on Highpoint controller kflorek Linux - Newbie 2 06-06-2006 07:11 AM
Highpoint 374 RAID controller? GoremanX Slackware 0 07-14-2002 10:18 PM
Abit KT7a-Raid Highpoint controller drjimstuckinwin Linux - Software 7 01-21-2002 04:33 PM


All times are GMT -5. The time now is 06:13 AM.

Main Menu
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