2.4.2-ac23 compile error in setup.c

2001-03-23 Thread Pfenniger Daniel

Hi, here is the error message

make[1]: Entering directory `/usr/src/linux-test/linux/arch/i386/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-test/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686-c -o setup.o setup.c
setup.c: In function `identify_cpu':
setup.c:2280: `tsc_disable' undeclared (first use in this function)
setup.c:2280: (Each undeclared identifier is reported only once
setup.c:2280: for each function it appears in.)
setup.c: In function `get_cpuinfo':
setup.c:2378: warning: unused variable `x86_udelay_tsc'
make[1]: *** [setup.o] Error 1
make[1]: Leaving directory `/usr/src/linux-test/linux/arch/i386/kernel'
make: *** [_dir_arch/i386/kernel] Error 2


Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Channel bonding kernel crash, workaround

2001-03-22 Thread Pfenniger Daniel

Hi, 

Up to the latests kernels (-> 2.4.2) channel bonding crashes the kernel
(aille...) when turning it off (e.g. at reboot).  

Here is a way to avoid this, which might help gourous to track the bug. 
Suppose ifconfig says: 
 
bond0 Link encap:Ethernet  HWaddr 00:40:05:A1:C4:13  
  inet addr:192.168.2.64  Bcast:192.168.2.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:823297 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 

eth0  Link encap:Ethernet  HWaddr 00:40:05:A1:C4:13  
  inet addr:192.168.2.64  Bcast:192.168.2.255  Mask:255.255.255.0
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:487424 errors:0 dropped:0 overruns:0 frame:0
  TX packets:411649 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100 
  Interrupt:19 Base address:0xd000 

eth1  Link encap:Ethernet  HWaddr 00:40:05:A1:C4:13  
  inet addr:192.168.2.64  Bcast:192.168.2.255  Mask:255.255.255.0
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:487526 errors:0 dropped:0 overruns:0 frame:0
  TX packets:411648 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100 
  Interrupt:18 Base address:0xb800 

then the exact sequence:

ifconfig eth0 down 
ifconfig eth1 down 
ifconfig bond0 down 
ifconfig eth0 down 
ifconfig eth1 down 

turns off bond0 without crash.  This was tested on several computers with 
all kernel 2.4.2, SMP Pentium II and tulip 21140 and/or 21142/3 NICs.

Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Oops with bonding (2.4.0, 2.4.0-ac11)

2001-01-25 Thread Pfenniger Daniel

The kernel oops when the bond0 device is shut down (for example at reboot). 

Linux 2.4.0 and 2.4.0-ac11, gcc 2.9.5-2. 
Pentium II SMP, supplied tulip driver for tulip cards with 21140 or 21143 chips

This doesn't happen with 2.2.18

Daniel Pfenniger
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/