pcnet32 driver: PROM address does not match CSR address

From: Jean-Francois Martin (martijea@IRO.UMontreal.CA)
Date: Sat Apr 28 2001 - 20:24:27 EST


Hello everyone, I have this problem:

I get "PROM address does not match CSR address" from the pcnet32 driver

I have an AMD pcnet PCI ethernet card.

I recently upgraded my kernel from 2.4.1 to 2.4.3. At boot, I get the
"PROM address does not match CSR address from pcnet" error.
My network card address is 00:C0:DF:62:62:FF. However, after I powerup my
computer, the CSR address is FF:FF:FF:FF:FF:FF which causes the 2.4.3
driver to fail the is_valid_ether_add check. If I boot 2.4.1 and reboot
2.4.3, it still doesn't work. However, if I boot the 2.4.1 kernel and
transmit any amount of data (I ping another computer on my LAN) and
reboot with 2.4.3, everything is just fine until I shut down my
computer. It seems the CSR isn't properly initialized until some data is
sent.

What should I do? Remove the is_valid_ether_add check from every kernel
from now on?

when everything boots ok :
pcnet32_probe_pci: found device 0x001022.0x002000
    ioaddr=0x009100 resource_flags=0x000101
eth0: PCnet/PCI II 79C970A at 0x9100, 00 c0 df 62 62 ff
pcnet32: pcnet32_private lp=c11f8000 lp_dma_addr=0x11f8000 assigned IRQ 11.
pcnet32.c:v1.25kf 26.9.1999 tsbogend@alpha.franken.de

otherwise(I added a few printk to get the CSR address):
pcnet32_probe_pci: found device 0x001022.0x002000
    ioaddr=0x009100 resource_flags=0x000101
    PCnet chip version is 0x62621003.
eth0: PCnet/PCI II 79C970A at 0x9100,
promaddr = 00 c0 df 62 62 ff
warning: PROM address does not match CSR address
deb->dev_addr = ff ff ff ff ff ff (before erasing an invalid address)
deb->dev_addr = 00 00 00 00 00 00
pcnet32: pcnet32_private lp=c11f8000 lp_dma_addr=0x11f8000 assigned IRQ
11.
pcnet32.c:v1.25kf 26.9.1999 tsbogend@alpha.franken.de

my system:
Intel pentium-pro

/proc/version:
Linux version 2.4.3 (kernel@localhost) (gcc version 2.95.3
20010315 (release)) #1 Wed Apr 25 20:03:37 EDT 2001

pci-info:
unknown : Intel Corporation|440FX - 82441FX PMC [Natoma]
unknown : Intel Corporation|82371SB PIIX3 ISA [Natoma/Triton II]
unknown : Intel Corporation|82371SB PIIX3 IDE [Natoma/Triton II]
pcnet32 : Advanced Micro Devices [AMD]|79c970 [PCnet LANCE]
Card:ATI Mach64 3D RAGE II: ATI|3D Rage I/II 215GT [Mach64 GT]

thanks

Jean-François Martin

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:29 EST