controller compilation problem sata 1740 highpoint
Linux - SoftwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!!!
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.