Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to recompile moxa serial driver?< Next Oldest | Next Newest >
jtm Offline





Group: Members
Posts: 6
Joined: Jan. 2006
Posted: Jan. 24 2006,20:51 QUOTE

I am running DSL on a device with a moxa CP-132 UL V2 RS485 card. It seems that the moxa driver that is in DSL (mxser v1.2.1) doesn't support this fairly new card. I've a new version of mxser, v 1.8, on CD. But when I recompile and install it on my DSL box I got the message:

mxser.o: kernel-module version mismatch
       mxser.o was compiled for kernel version 2.4.26
       while this kernel is version 2.4.31.

I installed the kernel-headers (and sources) throug the myDSL GUI.

Does anyone know how I could get the kernel headers for kernel 2.4.31?

Regards,
Theo
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 25 2006,18:05 QUOTE

Make sure you use the latest kernel source extension for DSL versions 2.x (linux 2.4.31).

DSL versions 0.8 through 1.5 use the older kernel 2.4.26

So you can either recompile with the newer kernel sources, or you can use DSL 1.5 with your already-compiled module.
Back to top
Profile PM 
jtm Offline





Group: Members
Posts: 6
Joined: Jan. 2006
Posted: Jan. 26 2006,10:08 QUOTE

Thanks for your reply!

I finally managed to get the driver compiled for kernel 2.4.31. It was hard to find the right kernel sources. The standard myDSL mirror (ftp://ibiblio.org/pub/Linux/distributions/damnsmall/mydsl/system/) only hold the kernel sources for Linux 2.4.26. On the http-version of that mirror (http://distro.ibiblio.org/pub/linux/distributions/damnsmall/current/) I found the latest sources.

Why is the standard extension pointing to an old version?

And why do I need the kernel sources for recompiling a kernel module? Normally the kernel-headers should be enough. But the kernel headers have version 2.6.0-test7. Are there no kernel-headers available for version 2.4.26? The kernel sources are taking up 190MB of disk space, not really "Damn small"!

Regards,
Theo
Back to top
Profile PM 
2 replies since Jan. 24 2006,20:51 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: How to recompile moxa serial driver?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code