RE: bge(4) on BCM 5752 A02 panic due to media autoselect



Can you test the attached patch? I've simply removed the test
altogether.
The Linux driver doesn't perform this test and the fact
that the test is
performed after bge_reset() is called simply means we're
checking the
same
information twice (i.e. did the NIC firmware load). Since
the firmware
handshake was successful we know the firmware loaded so the test is
redundant.

This appears to fix problems I was seeing on a 5703 part (sorry David,
told you 5702 before):

bge0: <Broadcom BCM5703 A2, ASIC rev. 0x1002> mem
0xfaff0000-0xfaffffff
irq 11 at device 0.0 on pci2


There is actually a defect in the bge driver that will identify a 5702
as
a 5703. This is caused by the fact that both the 5702 and the 5703 use
the
same ASIC IDs in hardware and the bge driver doesn't do any further
checking
to separate the two. My testing confirmed that the bge driver
incorrectly
identified a 5702 as a 5703.

This is a Dell 600m. Prior to the patch I'd get the RX diagnostic
failed msg. dhclient would fetch a lease but I couldn't mount an nfs
volume (w/ UDP). With your patch things appear to work as before.

That's good to know. If at least one of the other users who reported a
problem with my last patch can confirm that the issue is also fixed by
this change then I'll go ahead and commit it.

Dave


_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [PATCH]Documentation update broken web addresses.
    ... Below you will find an updated version from the original series bunching all patches into one big patch ... Kernel Developer's Guide at ... problems that need to be cleaned up and fixed within the Linux kernel ... ps/2 keybd is multiplexed through this driver ...
    (Linux-Kernel)
  • Re: [PATCH]Documentation update broken web addresses.
    ... As for the patch itself if anybody see's anything that might be fixed let me know and I'll fix it up ... Kernel Developer's Guide at ... problems that need to be cleaned up and fixed within the Linux kernel ... ps/2 keybd is multiplexed through this driver ...
    (Linux-Kernel)
  • Re: [PATCH] uio: User IRQ Mode
    ... In this mode the user space driver ... is responsible for acknowledging and re-enabling the interrupt. ... This can easily be done without your patch. ...
    (Linux-Kernel)
  • Re: [PATCH] ne.c fix for hibernate and rmmod oops fix
    ... This patch is ready to be merged. ... that was not the case before, because the probe is invasive. ... legacy driver. ... const unsigned char *buf, const int start_page); ...
    (Linux-Kernel)
  • Re: [PATCH] Blackfin: blackfin on-chip SPI controller driver
    ... patch, rather than initial-plus-cleanups. ... Please put this in Kconfig up with the other SPI controller drivers, ... relevant points in the driver. ... place to reverse any DMA mappings ... ...
    (Linux-Kernel)