[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sk98lin doesn't work



王晓林 wrote:

Hi, Harri

Thanks for helping.

I got the latest sk98lin driver source from http://www.syskonnect.com/.
I also installed the kernel-source-2.6.8.deb package, because installing
the sk98lin driver needs to recompile the kernel.

When running the sk98lin install.sh script (compiling the kernel), I got
an error:

+++++++++++++++++++++++++
scripts/mod/empty.c:1: error: code model `kernel' not supported in the
32 bit mode
+++++++++++++++++++++++++

It's most probably because my CPUs (Intel(R) Xeon(TM) CPU 3.00GHz) are
64bits, but the compiler is default to -m32 instead of
-m64.

Shall I change the /usr/src/linux/Makefile to use -m64? and how?

Thanks!

Xiaolin

Xiaolin,

I have a Tyan K8S with built-in Broadcom NetXtreme BCM5704 NiCs that came with a sk98lin driver on the CD. I discovered this driver is substantively the same as the tg3 driver that's in the kernel and have been using that instead. You might give it a try.

Now, if you're not building your own kernel, or have difficulties compiling it for 64-bit,
this won't help you. I simply use

# make-kpkg -rev 1 kernel_image modules_image

It creates a deb package (or more if you have external modules). To run, modprobe tg3.

Cheers,
Dave




On Wed, Dec 22, 2004 at 07:08:20AM +0100, Harald Dunkel wrote:


??? wrote:
| Hi, there
|
|
| It works great except one thing. One of the 1G-NICs doesn't work.
|
| lspci shows that this NIC is a:
|
| +++++++++++++++++++++++++++++++
| 0000:05:00.0 Ethernet controller: Marvell Technology Group Ltd.: Unknown
| device 4361 (rev 17)

Did you try the most recent driver? I would suggest to check
Documentation/networking/sk98lin.txt in the kernel sources.
Or look at http://www.syskonnect.com/


Good luck

Harri




Reply to: