Re: PnP support for Linux [PATCH]
Sid Boyce (szb50@amdahl.com)
Wed, 19 Aug 1998 09:29:36 +0000
T Taneli Vahakangas wrote:
>
> On 14 Aug 1998, Zlatko Calusic wrote:
>
> > Sid Boyce <szb50@amdahl.com> writes:
> >
> > > Funny thing, I have 2 boxes with 3c509b's installed, suddenly with this patch,
> > > ifconfig says packets on a ping between the two have been sent and replies
> > > received, but nothing shows up as returned.
> > > I can't NFS mount anything or get IP-forwarding to work. If I boot one box on
> > > 2.1.113, everything works fine. I've only tried this by re-booting just one
> > > machine.
> > > Both machines are using 2.1.115 + ac2 + diff-pnp when networking fails to work.
> > > tcpdump -i eth0 shows that one machine is recieving an "arp who has" with no
> > > replies seen, yet ifconfig says different, the other way round, the other
> > > machine doesn't see anything, the light for it on the Hub doesn't flicker, but
> > > ifconfig says it's receiving ........ weird or what ? The workaround does the
> > > job, so it's no bother at the moment.
> > > Regards
> > > --
> > > ... Sid Boyce...Amdahl(Europe)...44-121 422 0375
> > > -----------------------------------
> > > Any opinions expressed above are mine and do not necessarily represent
> > > the opinions or policies of Amdahl Corporation.
> > >
> >
> > Huh, weird.
> >
> > I'm not sure I'll be able to help you, 'cause I don't understand that
> > code very well. I just ported it, and made sure it works for my
> > AWE64. YMMV.
>
> I guess it has something to do with these lines (taken from 3c509.c in
> 2.1.115):
>
> /* Reset the ISA PnP mechanism on 3c509b. */
> outb(0x02, 0x279); /* Select PnP config control
> register. */
> outb(0x02, 0xA79); /* Return to WaitForKey state. */
>
> The 3c509 driver is doing it's own PnP detection ... maybe it doesn't work
> with the kernel-pnp patches?
>
> >
> > You could try to apply only diff-pnp or only ac2 and see where's the
> > problem.
> >
> > Good luck!
> > --
I shall have a look at this code later and see if I can disable detection in
3c509.c.
I have pnp disabled on the 3c509b's. The really peculiar thing is it didn't
like the 3c509b talking to another 3c509b, the eexpress 16 wouldn't initialize
on boot up when I tried that in #1, but with the new pnp not configured on #1
and with it configured on #2, there are no problems whatever with a 3c509b in
each.
Regards
--
... Sid Boyce...Amdahl(Europe)...44-121 422 0375
-----------------------------------
Any opinions expressed above are mine and do not necessarily represent
the opinions or policies of Amdahl Corporation.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html