LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2004, 10:11 PM   #1
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 20

Rep: Reputation: 15
SUSE Linux - what is a .ko file ?


I have a DE205 ISA card, sticking it into a Compaq Deskpro. SUSE can't use it via the ewrk3 driver (this is the correct driver as other distro's can use it fine).
It keeps referencing ewrk3.ko but so far I've only ever seen .o files on Red Hat, Knoppix

I want to know how a .ko file differs from a .o file.
I'm hoping it will give me some insight as to why it's not working - I get an Input/Output error when I modprobe it using SUSE, but if I boot Knoppix I can do it ok, although I haven't used Knoppix to network it yet to see if there are further problems.
 
Old 11-20-2004, 10:50 PM   #2
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
I may be wrong but it's a kernel module
 
Old 11-20-2004, 11:40 PM   #3
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 20

Original Poster
Rep: Reputation: 15
So it's just a naming convention ?
There's no real difference between .ko and .o ?
 
Old 11-20-2004, 11:47 PM   #4
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
Quote:
Originally posted by Caysho
So it's just a naming convention ?
There's no real difference between .ko and .o ?
From kernel 2.6 naming is .ko
 
Old 11-21-2004, 06:11 AM   #5
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
The_JinJ is right, it's a kernel module. and the ko is a 2.6 thing

If you can't get it running, make sure that either 1) it was compiled for your kernel, or 2) your kernel doesn't care about versioning. of course 3) that you re-installed it post kernel upgrade, goes without saying.

Finally, not all modules are compatible with all kernels, so make sure if there is some conflict between the two (google is your friend).
 
Old 11-21-2004, 06:37 AM   #6
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 20

Original Poster
Rep: Reputation: 15
1. I was using with SUSE Personal 9.2, so I figured the distro maintainers would include only modules that where compiled explicitly for it.
2. Dunno, I've never looked into this.
3. No kernel upgrade.

The machine has since had other problems, partway through an install of Mandrake 9.2 it complained it couldn't find the hdlist.
So it got half installed and wouldn't boot. As it's a Compaq it has some proprietry BIOS stuff that complained that the drive was screwy, and I haven't been able to get past that.
There's a Compaq system configuration floppy set that I tried, but it crashes out ;p
If I had gotten past this problem, I was also going to try Debian (it was to be a web server, and I wanted to go with something fairly hardened, tried and true).

Thanks for the answers and tips.
I do plan on trying this again later using a different machine (to be aquired). This beast is going in for recycling.
 
Old 11-21-2004, 09:48 PM   #7
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 20

Original Poster
Rep: Reputation: 15
I managed to find this:

http://groups.google.com.au/groups?h...53Dalt.linux.*

So if I had been able to resolve the BIOS crap, I might have had a chance.
I doubt I'll be touching Compaq again with ISA stuff.
 
Old 11-26-2004, 08:18 AM   #8
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 20

Original Poster
Rep: Reputation: 15
I decided not to scap it, and came back to it a few days later.
The error messages are misleading (eg Disk controller failer if the disk is not found), but there's definitely something odd with the system.
Been troubleshooting it again tonight.
If I want to configure IRQ's etc, the Compaq F10 Setup feature is the only way to do it, but I've since blown that partition away.
Apparently it's possible to use some setup boots disks and do it that way without creating the partition, but the disks I've created from Compaq don't work - I get a CSW crash when I try it out.
The Diagnostic disk works ok.

So far, I've been able to install SUSE Personal on it as indicated above.
The ewrk3 doesn't work with it, and that's with only the network card and the video card installed.
Mandrake 10.1 installed on it, and it doesn't like the ewrk3 either.
Mandrake Move 9.2 loaded fine, and it likes the ewrk3 ok. I didn't go on to check the connectivity any further.
The common element is the 2.6 kernel. Mandrake Move uses 2.4, the other distro's use 2.6.

I'm trying a full install of Debian now, and if I get it running, I'll post the results with respect to the network.
FWIW, the machine is a Compaq Deskpro EB/SP. That's what it says at boot up.
 
Old 11-27-2004, 12:55 AM   #9
Caysho
Member
 
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 20

Original Poster
Rep: Reputation: 15
It appears the network card is faulty
kernel 2.4 is able to insmod the ewrk3 driver, but it doesn't actually do anything.
kernel 2.6 simply refuses to do it.
Neither card at either end lights up when I used it. This would also explain why my IPCop box didn't like it.

So now I'm looking at getting another network card, but I'd like it to be compatible with debian 3.0r1 if possible.
No point bothering with this thread anymore, given I've figured out what's happening.

Last edited by Caysho; 11-29-2004 at 04:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
awk: fatal:cannot open file for reading (no such file or Directory) in Linux sangati vishwanath Linux - Software 4 07-06-2005 01:59 AM
WindowsXP duel boot with SuSe Linux, SuSe linux not booting? x32825 Linux - Newbie 4 10-12-2004 05:26 PM
nfs a file shares ok via file mngr but not command line. Suse 9.1 acummings Linux - Networking 2 10-09-2004 03:23 PM
I'm Running Linux (SuSE 9.1), which file do I download? skydart Linux - General 7 08-26-2004 12:35 AM
I have Suse Linux 8.0 installed on my system & I don't know how to compile Java file? dukehazord Programming 8 08-07-2004 11:29 AM


All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration