| Summary: | Corruption of xl driver's TX chain during startup | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Justin T. Gibbs <gibbs> |
| Component: | kern | Assignee: | Bill Paul <wpaul> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->wpaul xl driver maintainer. State Changed From-To: open->closed No longer reproducible. |
Some time after the exit of xl_attach, the 9th entry in sc->xl_cdata.xl_tx_chain gets corrupted. From GDB: sc->xl_cdata.xl_tx_chain[9] = {xl_ptr = 0x0, xl_mbuf = 0x2020000, xl_next = 0x0, xl_prev = 0x202, xl_phys = 0} This causes a panic in m_freem when xl_stop() is called during the first ioctl call that occurs during network startup. Clearing this garbage from the debugger is enough to get the system up and from that point on, it appears to be stable. Fix: I'm still trying to track down the source of the corruption, but I currently have no fix. How-To-Repeat: Boot my system.