Re: kernel BUG at tg3.c:1557

Roland Kuhn (rkuhn@e18.physik.tu-muenchen.de)
Wed, 7 Aug 2002 16:49:24 +0200 (CEST)


On Wed, 7 Aug 2002, David S. Miller wrote:

> From: Roland Kuhn <rkuhn@e18.physik.tu-muenchen.de>
> Date: Wed, 7 Aug 2002 16:25:32 +0200 (CEST)
>
> The second change is straightforward, and I implemented the first by
> setting
>
> *** around line 5569
> pci_read_config_dword(tp->pdev, TG3PCI_PCISTATE,
> &pci_state_reg);
>
> + tp->tg3_flags |= TG3_FLAG_PCIX_TARGET_HWBUG; // rk
> if ((pci_state_reg & PCISTATE_CONV_PCI_MODE) == 0) {
> tp->tg3_flags |= TG3_FLAG_PCIX_MODE;
>
> ***
>
> With these changes I'm unable to bring the interface up again, getting
> timeouts from tg3_stop_block:
>
> Try instead setting it right before the comment which reads:
>
> /* Quick sanity check. Make sure we see an expected
> * value here.
> */
>
> in tg3_get_invariants().
>
Sorry, same problem as before. It looks like the spinlocked write method
does not work on the BCM5701 chip :-(

Ciao,
Roland

+---------------------------+-------------------------+
| TU Muenchen | |
| Physik-Department E18 | Raum 3558 |
| James-Franck-Str. | Telefon 089/289-12592 |
| 85747 Garching | |
+---------------------------+-------------------------+

-
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/