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.
I have an ITE 8212 raid card. I can get compiled kernel modules for it, but only for old 2.4 kernels, I have the maunfacture supplied source code, which consists of a makefile, iteraid.c and iteraid.h I've had a bit of a poke around with make and i've read the guide on LWN on compileinf kernel modules, but I cant get it to work, i get a lit of errors as long as, well, the lits of bill gate's enemies. I think the makefile may be wrong
Well Mr.,
From a kernel version to another there is a purpose to maintain the api compatibility. In other words, the way the applications see the kernel must be the same. But it is a black box. All the things under the surface may suffer change. It is the way evolution occurs. You are trying to work under the api. Get a module from 2.4 and migrate it to 2.6 needs deep understanding of what has changed. You have to look the module interface changes between both releases and try to alter your module to use the new structures of the 2.6. For starting, you could examine another kernel module which exists in both kernels, preferably another raid module, look for the similarities between your module and the other, then look what has changed from 2.4 to 2.6 and try to reproduce this changes in yours.
As my rule of thumb, all that is important in a failed compilation, is the first error. It may be the original sin. Sometimes, resolving the first error you resolve one hundred. Recompile again and look for the next first.
Ah, it's not quite so hard as that, I neglected to mention the source code i have is ALLEGED to work withthe 2.6.5 kernel, it's just compiling the bastard. Is there a way to pipe the output from meke into a pager, my kterm doesn't store enough of the output for me to be able to scrol latt he way back!!!!
I could not compiler this iteraid module with 2.6.5-1.358 even after modifying the Makefile according to instructions in these threads which I quite understand why. However I was able to compile with 2.6.5 source that I still have and tried to use it to insmod into 2.6.5-1.358 but that did not work.
ANybody succeded in compilng it with 2.6.5-1.358 ??
It's very long. But the key thing is when it entered the /usr/src/linux-2.6.5-1.358 the Makefile could not locate the .configure file and immediately after that is ton of errror;
..........
iteraid: no version magic, tainting kernel.
iteraid: Unknown symbol __copy_to_user_ll
iteraid: Unknown symbol __copy_from_user_ll
.............
Those are warning in dmesg when i did insmod iteraid.o
Follow are warning when I compiled ITERAID modules:
[root@localhost scsi]# make
make -C /root/linux-2.6.5 SUBDIRS=/root/linux-2.6.5/drivers/scsi modules
make[1]: Entering directory `/root/linux-2.6.5'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CC [M] /root/linux-2.6.5/drivers/scsi/iteraid.o
/root/linux-2.6.5/drivers/scsi/iteraid.c: In function `itedev_open':
/root/linux-2.6.5/drivers/scsi/iteraid.c:5579: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:515)
/root/linux-2.6.5/drivers/scsi/iteraid.c: In function `itedev_close':
/root/linux-2.6.5/drivers/scsi/iteraid.c:5816: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:527)
/root/linux-2.6.5/drivers/scsi/iteraid.c: At top level:
/root/linux-2.6.5/drivers/scsi/iteraid.c:4666: warning: `IdeMediaStatus' defined but not used
Building modules, stage 2.
MODPOST
LD [M] /root/linux-2.6.5/drivers/scsi/iteraid.ko
make[1]: Leaving directory `/root/linux-2.6.5'
I recompile 2.6.5 using make menuconfig, I did not do make xmenuconfig
Darn it. I recompiled 2.6.5 and try to use it. Boot up fine, insmod iteraid.o was fine until I reinstalled the Nvidia latest driver and it complained some module in 2.6.5 is not compatible !!!
If anyone can point me to where I can 2.6.5-1.358 source archive please ? I could not find it myself ??
I need to compile these ITERAID module to use RAID.
You can get Fedora 2's kernel sources from Fedora's installer system, just check the "kernel sources" box in system-config-packages ... if that's really what you're asking...
Any chance anybody's used this thing on Mandrake 10? I currently can't make any useful modules on Mandrake, they all give me unknown symbol in module errors when I try to insert them.
If you really want to go hardcore and configure things yourself with linux the first thing to do is stop using mandrake. Give mandrake to your mum. Get a decent distro to play with...
RAID controllers: most RAID controllers are supported, excepted for IDE and Serial-ATA. 3Ware IDE and Serial-ATA RAID controllers are supported though.
It's the same for earlier versions and also for popular other distros. I struggled for a long time before finding out the bad news. So no IDE or S-ATA RAID. I believe/vaguely recall (though can't find the reference right now) that Mandrake and possibly other distros support certain IDE controllers only when integrated into a motherboard and not when based on a PCI card. The whole subject is poorly documented to the point of almost being swept under the carpet. I have 280 GB of stored data that is inaccessible unless I use NT.
Anyone hear a loud long sucking noise?
Last edited by RipperVanWinkle; 08-16-2004 at 09:49 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.