pcnet32 on 2.4.18 doesn't init on IBM rs/6000 B50 (powerpc)

From: Santiago Garcia Mantinan (manty@manty.net)
Date: Thu Apr 25 2002 - 17:04:02 EST


Hi!

I've been playing around with one of this machines and trying to get the net
to work seems quite difficult because the driver doesn't want to init the
card well, when you do a modprobe you get this:

riazor:~# modprobe pcnet32
pcnet32_probe_pci: found device 0x001022.0x002000
PCI: Enabling device 00:0c.0 (0140 -> 0143)
    ioaddr=0xbff400 resource_flags=0x000101
/lib/modules/2.4.18/kernel/drivers/net/pcnet32.o: init_module: No such
device
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters
/lib/modules/2.4.18/kernel/drivers/net/pcnet32.o: insmod
/lib/modules/2.4.18/kernel/drivers/net/pcnet32.o failed
/lib/modules/2.4.18/kernel/drivers/net/pcnet32.o: insmod pcnet32 failed

Sometimes it works, but nearly none do, when it does I get:

pcnet32_probe_pci: found device 0x001022.0x002000
    ioaddr=0xbff400 resource_flags=0x000101
divert: allocating divert_blk for eth0
eth0: PCnet/FAST 79C971 at 0xbff400,csraddr: 00 04 ac 97 51 7e
promaddr: 00 04 ac 97 51 7e
 00 04 ac 97 51 7e
    tx_start_pt(0x0c00):~220 bytes, BCR18(68e2):BurstWrEn BurstRdEn DWordIO NoUFlow
    SRAMSIZE=0x7f00, SRAM_BND=0x4000,
pcnet32: pcnet32_private lp=cee53000 lp_dma_addr=0xee53000 assigned IRQ 22.
pcnet32.c:v1.25kf 17.11.2001 tsbogend@alpha.franken.de

lspci reports this:
00:0c.0 Class 0200: 1022:2000 (rev 26)
00:0c.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet LANCE] (rev 26)

I saw a patch for solving this but it is old, so I supposed it should be on
this kernel (2.4.18), but it isn't, so I tried to apply it by hand as it
doesn't work like it is. The resulting code didn't work either, I'll try to
have a deeper look at it and see what I can find, but I think I did the
proper changes acording to the original patch :-(

If anybody has any clue on this I'd appreciate any help.

Thanks in advance!

-- 
Manty/BestiaTester -> http://manty.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:11 EST