Re: sk98lin doesn't work
Hi, Bernd
Thanks for the scripts. They worked perfectly well with the sk98lin
install.sh script. And finally I got the sk98lin.ko module.
After 'modprobe sk98lin', I can see the NIC with 'ifconfig -a'.
But when I do 'ifconfig eth1 up', the system hang up.
I did a reboot by pressing the reset button.
Even worse, I got a 'kernel panic' caused by bringing up this NIC.
I am contacting the NIC driver developer.
One more question, I know debian has several ports,
Intel x86 / IA-32 (i386),
IA-64 (ia64),
AMD64, etc.
Which port should I use?
I have two 64bits CPUs (Intel(R) Xeon(TM) CPU 3.00GHz).
the kernel I am using is 2.6.8-9-em64t-p4-smp.
I chosed Intel x86/IA-32 without thinking.
Now I doubt whether my choice was right.
Thanks,
Xiaolin
On Fri, Dec 24, 2004 at 01:09:30AM +0100, Bernd Schubert wrote:
> Hello Xiaolin,
>
> > Thanks for your gcc trick. I tried just now. It worked, but I still got
> > errors when compiling:
> >
> > +++++++++++++++++++++++++++++++++++
> > arch/x86_64/ia32/vsyscall-sigreturn.S: Assembler messages:
> > arch/x86_64/ia32/vsyscall-sigreturn.S:16: Error: suffix or operands
> > invalid for `pop'
> > make[1]: *** [arch/x86_64/ia32/vsyscall-sysenter.o] error 1
> > make: *** [arch/x86_64/ia32] error 2
> > +++++++++++++++++++++++++++++++++++
> >
> > More ideas?
>
> Oh dear, I'm afraid you will have to patch every tool that is also required
> for compiling. The messages above are probably comming from the assembler.
> Here's what my college did for that reason on our cluster:
>
> /usr/bin/as:
>
> #!/bin/sh
> #
> # This is an as wrapper. It forces as --64 for default assemblage.
> #
> # Based on the gcc wrapper, /usr/bin/gcc .
> # Frank Otto, 2004-10-13
>
> arch=`uname -m`
>
> AS=/usr/bin/as.binutils
> args=${1+"$@"}
>
> case ${arch} in
> x86_64)
> if ( echo $args | grep -e '--32' > /dev/null ) ; then
> exec ${AS} ${args}
>
> elif ( echo $args | grep -e '--64' > /dev/null ) ; then
> exec ${AS} ${args}
>
> else
> exec ${AS} --64 ${args}
> fi
> ;;
>
> *)
> exec ${AS} ${args}
> ;;
> esac
>
> This required you rename /usr/bin/as to /usr/bin/as.binutils, but of course,
> you could also easily do it as above with gcc, so putting it into the PATH
>
> And then here, a wrapper for ld:
>
> #!/bin/sh
>
> # wrapper script for ld:
> # look in the 64-bit library directories too, pretty please
> #
> # by TC-Admin, 11/2004
>
> exec /usr/bin/ld "$@" -L/usr/local/lib64 -L/usr/lib64 -L/lib64
>
>
> This we put to /usr/local/bin, which is in our path befor /usr/bin. I know
> we are a bit inconsistent.
>
> The next 17 days I won't read this list, so if you have further
> problems/questions to this topic, please mail me directly.
>
>
>
> Cheers,
> Bernd
>
> PS: As the above as replacement script contains the name of my college, and as
> he wrote this script and I don't want to remove his name. I also don't know
> if he likes it if I publish his name on a newsgroup, so send this directly to
> you.
>
>
> --
> Bernd Schubert
> Physikalisch Chemisches Institut / Theoretische Chemie
> Universit?t Heidelberg
> INF 229
> 69120 Heidelberg
> e-mail: bernd.schubert@pci.uni-heidelberg.de
>
--
*《笠翁对韵》* 清・李渔
六麻・其三
圆对缺 正对斜 笑语对咨嗟
沈腰对潘鬓 孟笋对卢茶
百舌鸟、两头蛇 帝里对仙家
尧仁敷率土、舜德被流沙
桥上授书曾纳履、壁间题句已笼纱
远塞迢迢 露碛风沙何可极
长沙渺渺 雪涛烟浪信无涯
Reply to: