Re: PROBLEM: 3c509 driver broken in 2.4.0-test10, not in -test9

2000-11-19 Thread Jeff Garzik

Peter Rottengatter wrote:
> 
> Sorry for using this address, there does not appear to be a special maintainer
> for the 3c509 network driver.
> 
> 1.
> 3c509 driver broken in 2.4.0-test10, not in -test9
> 
> 2.
> The 3c509 network driver worked fine for decades almost ;-) that is 2.0.x,
> 2.2.x, and 2.4.0-test up to 9. In 2.4.0-test10 it opes upon modprobing.
> lsmod says "initializing" in the 3c509 entry, forever.
> 
> 3.
> 3c509, 3C509, Ethernet, networking, 2.4.0-test10

fixed in test11-preXX

-- 
Jeff Garzik |
Building 1024   | The chief enemy of creativity is "good" sense
MandrakeSoft|  -- Picasso
-
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/



PROBLEM: 3c509 driver broken in 2.4.0-test10, not in -test9

2000-11-19 Thread Peter Rottengatter


Sorry for using this address, there does not appear to be a special maintainer
for the 3c509 network driver.

1.
3c509 driver broken in 2.4.0-test10, not in -test9

2.
The 3c509 network driver worked fine for decades almost ;-) that is 2.0.x,
2.2.x, and 2.4.0-test up to 9. In 2.4.0-test10 it opes upon modprobing.
lsmod says "initializing" in the 3c509 entry, forever.

3.
3c509, 3C509, Ethernet, networking, 2.4.0-test10

4. 
Linux version 2.4.0-test10
compiled by root@arisia (#3 Fri Nov 17 22:37:22 CET 2000)
using gcc version 2.95.2 2220 (Debian GNU/Linux)

5.
Nov 19 17:26:37 arisia kernel: Unable to handle kernel NULL pointer dereference at 
virtual address 0070
Nov 19 17:26:37 arisia kernel:  printing eip:
Nov 19 17:26:37 arisia kernel: ca8e635c
Nov 19 17:26:37 arisia kernel: *pde = 
Nov 19 17:26:37 arisia kernel: Oops: 0002
Nov 19 17:26:37 arisia kernel: CPU:0
Nov 19 17:26:37 arisia kernel: EIP:0010:[sg:sg_big_buff+484244/85376260]
Nov 19 17:26:37 arisia kernel: EFLAGS: 00010202
Nov 19 17:26:37 arisia kernel: eax: 2e976000   ebx: 0004   ecx: c01fd8f0   edx: 
0070
Nov 19 17:26:37 arisia kernel: esi: 0003   edi: 0300   ebp: c6d57f3c   esp: 
c6d57f0c
Nov 19 17:26:37 arisia kernel: ds: 0018   es: 0018   ss: 0018
Nov 19 17:26:37 arisia kernel: Process modprobe (pid: 448, stackpage=c6d57000)
Nov 19 17:26:37 arisia kernel: Stack:   ca8e604e ca8e6048 c6d57f2c 
0070 0003 000f
Nov 19 17:26:37 arisia kernel:ca8e604e ca8e6048 c1044010 c01fea6c 2e976000 
f987 ca8e6fb9 
Nov 19 17:26:37 arisia kernel:ca8e6000  c011689b c6d56000 400279c8 
bfffdf94 bfffdf54 c6078000
Nov 19 17:26:37 arisia kernel: Call Trace: [sg:sg_big_buff+483462/85377042] 
[sg:sg_big_buff+483456/85377048] [sg:sg_big_buff+483462/85377042] 
[sg:sg_big_buff+483456/85377048] [sg:sg_big_buff+487409/85373095] 
[sg:sg_big_buff+483384/85377120] [sys_init_module+979/1104]
Nov 19 17:26:37 arisia kernel:[sg:sg_big_buff+446520/85413984] 
[sg:sg_big_buff+483456/85377048] [system_call+51/64]
Nov 19 17:26:37 arisia kernel: Code: 89 02 8b 44 24 34 66 89 42 04 8b 44 24 3c 89 78 
20 8b 54 24

ksymoops adds:

Using defaults from ksymoops -t elf32-i386 -a i386

Code;   Before first symbol
 <_EIP>:
Code;   Before first symbol
   0:   89 02 mov%eax,(%edx)
Code;  0002 Before first symbol
   2:   8b 44 24 34   mov0x34(%esp,1),%eax   
Code;  0006 Before first symbol
   6:   66 89 42 04   mov%ax,0x4(%edx)
Code;  000a Before first symbol
   a:   8b 44 24 3c   mov0x3c(%esp,1),%eax
Code;  000e Before first symbol
   e:   89 78 20  mov%edi,0x20(%eax)
Code;  0011 Before first symbol
  11:   8b 54 24 00   mov0x0(%esp,1),%edx

6.
Just issue "modprobe 3c509" like this:
# modprobe 3c509
Segmentation fault
# lsmod
Module  Size  Used by
3c509   5920   1  (initializing)
af_packet   7904   0  (autoclean)
parport_pc 13280   1  (autoclean)
lp  4464   0  (autoclean)
parport14848   1  (autoclean) [parport_pc lp]
hisax 143760   5
ramfs   2208   1  (autoclean)
serial 40816   0  (autoclean)
opl3   11088   0  (unused)
sb  1744   0
sb_lib 33328   0  [sb]
uart401 6224   0  [sb_lib]
sound  55648   0  [opl3 sb_lib uart401]
sg 20960   0  (unused)
slip6080   0  (unused)
dummy   1152   1   
isdn  102704   6  [hisax]
ipv6  115120  -1   
binfmt_misc 3296   0

7.
7.1
# sh /usr/src/linux/scripts/ver_linux
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux arisia 2.4.0-test10 #3 Fri Nov 17 22:37:22 CET 2000 i586 unknown
Kernel modules 2.3.19
Gnu C  2.95.2
Gnu Make   3.78.1
Binutils   2.9.5.0.37
Linux C Library2.1.95
Dynamic linker ldd (GNU libc) 2.1.95
Procps 2.0.6
Mount  2.10f
Net-tools  2.05
Console-tools  0.2.3
Sh-utils   2.0
Modules Loaded 3c509 af_packet parport_pc lp parport hisax ramfs
serial opl3 sb sb_lib uart401 sound sg slip dummy isdn ipv6 binfmt_misc

7.2
# cat /proc/cpuinfo 
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 5
model   : 9
model name  : AMD-K6(tm) 3D+ Processor
stepping: 1
cpu MHz : 400.000915
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
sep_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr mce cx8 se