public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Santiago Garcia Mantinan <manty@manty.net>
To: linux-kernel@vger.kernel.org
Subject: pcnet32 on 2.4.18 doesn't init on IBM rs/6000 B50 (powerpc)
Date: Fri, 26 Apr 2002 00:04:02 +0200	[thread overview]
Message-ID: <20020425220402.GA3654@man.beta.es> (raw)

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

             reply	other threads:[~2002-04-25 22:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-25 22:04 Santiago Garcia Mantinan [this message]
2002-04-25 22:15 ` pcnet32 on 2.4.18 doesn't init on IBM rs/6000 B50 (powerpc) Anton Blanchard
2002-04-28 15:32   ` Santiago Garcia Mantinan
2002-04-28 23:07     ` Anton Blanchard
2002-04-29 14:15       ` Santiago Garcia Mantinan
2002-04-25 22:17 ` Tom Gall
2002-04-28 16:45   ` Santiago Garcia Mantinan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020425220402.GA3654@man.beta.es \
    --to=manty@manty.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox