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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-02-2007, 02:16 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2005
Posts: 10
Rep:
|
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.
|
|
|
|
05-02-2007, 09:16 AM
|
#2
|
|
LQ Newbie
Registered: Mar 2005
Posts: 10
Original Poster
Rep:
|
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?
|
|
|
|
05-03-2007, 01:20 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2005
Posts: 10
Original Poster
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:22 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|