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

Re: sk98lin doesn't work



Hi, Dave

I tried tg3 (modprobe tg3). It's loaded without error, but it seems
not work. I can't see the NIC with 'ifconfig -a'.

Something else can I try?

Thanks.

Xiaolin

On Wed, Dec 22, 2004 at 05:48:55PM -0800, David Liontooth wrote:
> 王晓林 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
 



Reply to: