Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > NZ Computing > back on this linux Ultra thing

Reply
Thread Tools

back on this linux Ultra thing

 
 
lance broyden
Guest
Posts: n/a
 
      05-04-2005
I have got xandros and I do like it. I spent some time last year working
with Mandrake and managed after a fair while to get the ihug Ultra working
with it but that was 2.4.19. THis is 2.4.24 and I tried to compile
another driver but keep getting this error..

../sm200d_lnx.o: kernel-module version mismatch
./sm200d_lnx.o was compiled for kernel version 2.4.19
while this kernel is version 2.4.24-x1

I installed the kernel source to /usr/src/linux

did the make install thing but I can't figure out how to get this file
compatible with 2.4.24.


Any ideas?
 
Reply With Quote
 
 
 
 
cowboyz
Guest
Posts: n/a
 
      05-04-2005
lance broyden wrote:

> I have got xandros and I do like it. I spent some time last year working
> with Mandrake and managed after a fair while to get the ihug Ultra working
> with it but that was 2.4.19. THis is 2.4.24 and I tried to compile
> another driver but keep getting this error..
>
> ./sm200d_lnx.o: kernel-module version mismatch
> ./sm200d_lnx.o was compiled for kernel version 2.4.19
> while this kernel is version 2.4.24-x1
>
> I installed the kernel source to /usr/src/linux
>
> did the make install thing but I can't figure out how to get this file
> compatible with 2.4.24.
>
>
> Any ideas?



Oh, I just tried a insmod -f to force it and it turns out that is a very
very bad idea. Lockup big time.
 
Reply With Quote
 
 
 
 
steve
Guest
Posts: n/a
 
      05-04-2005
lance broyden wrote:

> I have got xandros and I do like it. I spent some time last year working
> with Mandrake and managed after a fair while to get the ihug Ultra working
> with it but that was 2.4.19. THis is 2.4.24 and I tried to compile
> another driver but keep getting this error..
>
> ./sm200d_lnx.o: kernel-module version mismatch
> ./sm200d_lnx.o was compiled for kernel version 2.4.19
> while this kernel is version 2.4.24-x1
>
> I installed the kernel source to /usr/src/linux
>
> did the make install thing but I can't figure out how to get this file
> compatible with 2.4.24.
>
>
> Any ideas?


Have you looked on the Xandros forums for the steps to make the kernel
source work properly?

Xandros appear to have deliberately left some of the symlinks undone so that
newbies and inexperienced users would not be able to mess up their systems
by installing the kernel source and just compiling......whatever.

There is a set of 4-5 commands you need to enter as root in order to
properly prepare the source config files and set the right version numbers.

Once you have that wee list, it takes about 30 seconds to get it all lined
up to compile kernel-level stuff with the right versions....

Check the Xandros user forums.



 
Reply With Quote
 
cowboyz
Guest
Posts: n/a
 
      05-04-2005
steve wrote:

> lance broyden wrote:
>
>> I have got xandros and I do like it. I spent some time last year
>> working with Mandrake and managed after a fair while to get the ihug
>> Ultra working
>> with it but that was 2.4.19. THis is 2.4.24 and I tried to compile
>> another driver but keep getting this error..
>>
>> ./sm200d_lnx.o: kernel-module version mismatch
>> ./sm200d_lnx.o was compiled for kernel version 2.4.19
>> while this kernel is version 2.4.24-x1
>>
>> I installed the kernel source to /usr/src/linux
>>
>> did the make install thing but I can't figure out how to get this file
>> compatible with 2.4.24.
>>
>>
>> Any ideas?

>
> Have you looked on the Xandros forums for the steps to make the kernel
> source work properly?
>
> Xandros appear to have deliberately left some of the symlinks undone so
> that newbies and inexperienced users would not be able to mess up their
> systems by installing the kernel source and just compiling......whatever.
>
> There is a set of 4-5 commands you need to enter as root in order to
> properly prepare the source config files and set the right version
> numbers.
>
> Once you have that wee list, it takes about 30 seconds to get it all lined
> up to compile kernel-level stuff with the right versions....
>
> Check the Xandros user forums.



How would I know if the kernel source is installed correctly. Xandros
Netwrok says it is installed. /usr/src/linux/config-2.4.24-x1 is in the
right place (I think)

I didn't enter any commands but rather downloaded the source via winXP
(where ultra works) and then run it under xandros and it said it was
installed.

I have had a look around the forum but not quite found what I am looking
for. I'll have a closer look tomorrow.
 
Reply With Quote
 
Allistar
Guest
Posts: n/a
 
      05-04-2005
cowboyz wrote:

> steve wrote:
>
>> lance broyden wrote:
>>
>>> I have got xandros and I do like it. I spent some time last year
>>> working with Mandrake and managed after a fair while to get the ihug
>>> Ultra working
>>> with it but that was 2.4.19. THis is 2.4.24 and I tried to compile
>>> another driver but keep getting this error..
>>>
>>> ./sm200d_lnx.o: kernel-module version mismatch
>>> ./sm200d_lnx.o was compiled for kernel version 2.4.19
>>> while this kernel is version 2.4.24-x1
>>>
>>> I installed the kernel source to /usr/src/linux
>>>
>>> did the make install thing but I can't figure out how to get this file
>>> compatible with 2.4.24.
>>>
>>>
>>> Any ideas?

>>
>> Have you looked on the Xandros forums for the steps to make the kernel
>> source work properly?
>>
>> Xandros appear to have deliberately left some of the symlinks undone so
>> that newbies and inexperienced users would not be able to mess up their
>> systems by installing the kernel source and just compiling......whatever.
>>
>> There is a set of 4-5 commands you need to enter as root in order to
>> properly prepare the source config files and set the right version
>> numbers.
>>
>> Once you have that wee list, it takes about 30 seconds to get it all
>> lined up to compile kernel-level stuff with the right versions....
>>
>> Check the Xandros user forums.

>
>
> How would I know if the kernel source is installed correctly. Xandros
> Netwrok says it is installed. /usr/src/linux/config-2.4.24-x1 is in the
> right place (I think)
>
> I didn't enter any commands but rather downloaded the source via winXP
> (where ultra works) and then run it under xandros and it said it was
> installed.
>
> I have had a look around the forum but not quite found what I am looking
> for. I'll have a closer look tomorrow.


uname -a

will tell you the kernel you are running.

Allistar.
 
Reply With Quote
 
cowboyz
Guest
Posts: n/a
 
      05-05-2005

"Allistar" <> wrote in message news:...
> cowboyz wrote:
>
>> steve wrote:
>>
>>> lance broyden wrote:
>>>
>>>> I have got xandros and I do like it. I spent some time last year
>>>> working with Mandrake and managed after a fair while to get the ihug
>>>> Ultra working
>>>> with it but that was 2.4.19. THis is 2.4.24 and I tried to compile
>>>> another driver but keep getting this error..
>>>>
>>>> ./sm200d_lnx.o: kernel-module version mismatch
>>>> ./sm200d_lnx.o was compiled for kernel version 2.4.19
>>>> while this kernel is version 2.4.24-x1
>>>>
>>>> I installed the kernel source to /usr/src/linux
>>>>
>>>> did the make install thing but I can't figure out how to get this file
>>>> compatible with 2.4.24.
>>>>
>>>>
>>>> Any ideas?
>>>
>>> Have you looked on the Xandros forums for the steps to make the kernel
>>> source work properly?
>>>
>>> Xandros appear to have deliberately left some of the symlinks undone so
>>> that newbies and inexperienced users would not be able to mess up their
>>> systems by installing the kernel source and just
>>> compiling......whatever.
>>>
>>> There is a set of 4-5 commands you need to enter as root in order to
>>> properly prepare the source config files and set the right version
>>> numbers.
>>>
>>> Once you have that wee list, it takes about 30 seconds to get it all
>>> lined up to compile kernel-level stuff with the right versions....
>>>
>>> Check the Xandros user forums.

>>
>>
>> How would I know if the kernel source is installed correctly. Xandros
>> Netwrok says it is installed. /usr/src/linux/config-2.4.24-x1 is in the
>> right place (I think)
>>
>> I didn't enter any commands but rather downloaded the source via winXP
>> (where ultra works) and then run it under xandros and it said it was
>> installed.
>>
>> I have had a look around the forum but not quite found what I am looking
>> for. I'll have a closer look tomorrow.

>
> uname -a
>
> will tell you the kernel you are running.
>
> Allistar.


It reports back at 2.4.24.x1 So that seems ok.

I'm going to start another thread. I have a novel to write.


 
Reply With Quote
 
Enkidu
Guest
Posts: n/a
 
      05-05-2005
lance broyden wrote:
> I have got xandros and I do like it. I spent some time last year working
> with Mandrake and managed after a fair while to get the ihug Ultra working
> with it but that was 2.4.19. THis is 2.4.24 and I tried to compile
> another driver but keep getting this error..
>
> ./sm200d_lnx.o: kernel-module version mismatch
> ./sm200d_lnx.o was compiled for kernel version 2.4.19
> while this kernel is version 2.4.24-x1
>
> I installed the kernel source to /usr/src/linux
>
> did the make install thing but I can't figure out how to get this file
> compatible with 2.4.24.
>

Assuming that you got the source for the module, did you do
"make modules", "make install-modules"?

Cheers.

Cliff

--

Barzoomian the Martian - http://barzoomian.blogspot.com
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      05-05-2005
In article <d5a60n$m7n$>, lance broyden <>
wrote:

>./sm200d_lnx.o: kernel-module version mismatch
> ./sm200d_lnx.o was compiled for kernel version 2.4.19
> while this kernel is version 2.4.24-x1


That object file sm200d_lnx.o needs to be (re)compiled against your
currently-installed kernel source. Is there some source file called
sm200d_lnx.c, by any chance?
 
Reply With Quote
 
steve
Guest
Posts: n/a
 
      05-05-2005
cowboyz wrote:

> How would I know if the kernel source is installed correctly.**Xandros
> Netwrok says it is installed.***/usr/src/linux/config-2.4.24-x1*is*in*the
> right place (I think)


If you have NOT entered the 4-5 commands I have referred to, your kernel
source will NOT be usable.

That's how you know.

I'll see if I can find them.....I might have saved them away somewhere on
this PC for future reference.


 
Reply With Quote
 
cowboyz
Guest
Posts: n/a
 
      05-05-2005
steve wrote:

> cowboyz wrote:
>
>> How would I know if the kernel source is installed correctly.**Xandros
>> Netwrok says it is installed.***/usr/src/linux/config-2.4.24-x1*is*in*the
>> right place (I think)

>
> If you have NOT entered the 4-5 commands I have referred to, your kernel
> source will NOT be usable.
>
> That's how you know.
>
> I'll see if I can find them.....I might have saved them away somewhere on
> this PC for future reference.


I have done this....

Log in as Administrator (root).
In Xandros Networks, install the kernel source package, which could be
2.4.22 or 2.4.24. In Expert View, look under New Applications > base to
find the kernel source package. For the following instructions, .24 is
used.
Click Launch > Applications > System > Console to open a console window.
Type cd /usr/src in the console window and press Enter.
Type tar jxf xandros-kernel-source-2.4.24.tar.bz2 and press Enter.
Type ln -sf xandros-kernel-source-2.4.24 linux and press Enter.
Type cd linux and press Enter.
Type make EXTRAVERSION=-x1 mrproper and press Enter.
Type cp /boot/config-2.4.24-x1 .config and press Enter.
Type make EXTRAVERSION=-x1 oldconfig and press Enter.
Type make EXTRAVERSION=-x1 dep and press Enter.
Type cd /usr/src and press Enter.



Alot of things went flying up the screen for a few minutes and I didn't see
any errors so I think it worked.

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2¡Ñ ¡ÑAttractive and practical thing, ultra small advantage cheapeshopcn8@gmail.com ASP .Net 0 12-19-2007 07:30 PM
Ultra Products Ultra Fire Silverstrand Front Page News 1 06-29-2005 12:29 PM
ihug ultra speed test - ne1 with ultra wanna try this test for me? cowboyz NZ Computing 14 11-25-2004 10:29 PM
Sandisk Ultra II, "new" Ultra, "original " Ultra Eberhard Funke Digital Photography 0 01-13-2004 04:35 PM
Ultra ATA/100 HDD on a Ultra ATA/33 motherboard Prinxce of Darkxness Computer Support 3 01-06-2004 05:36 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57