suspect bug in vge(4)

Pyun YongHyeon pyunyh at gmail.com
Fri Jun 12 05:47:50 UTC 2009


On Thu, Jun 11, 2009 at 05:39:03PM +0200, Thomas Lotterer wrote:
> Pyun YongHyeon wrote:
> >Could you show me dmesg output(only vge(4) related one)? 
> >
> # dmesg | grep vge
> vge0: <VIA Networking Gigabit Ethernet> port 0xec00-0xecff mem 
> 0xdf7ff000-0xdf7ff0ff irq 28 at device 0.0 on pci2
> vge0: MSIX count : 0
> vge0: MSI count : 1

I wonder why "Using 1 MSI messages" message is missing.

> vge0: Read request size : 512 bytes.
> vge0: TLP payload size : 128 bytes.
> miibus0: <MII bus> on vge0
> vge0: Ethernet address: 00:40:63:xx:xx:xx
> vge0: [FILTER]
> vge0: link state changed to UP
> vge0: watchdog timeout
> vge0: unable to stop Rx/Tx MAC(0x09)!
> vge0: soft reset timed out
> vge0: link state changed to DOWN
> vge0: link state changed to UP
> 
> And this time a link has been established
> 
> # ifconfig vge0
> vge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
>         ether 00:40:63:xx:xx:xx
>         inet [...]
>         media: Ethernet autoselect (1000baseT <full-duplex,flag0,flag1>)
>         status: active
> 
> Unfortunately, no traffic could be sent and tcpdump(1) does not show any 
> incoming packages either, not even broadcasts.
> 
> Interesting side effect is that after that test the kernel with my 
> previous "original problem" vge(4) driver rebooted when initializing the 
> network card. No logs at this stage, sorry. Reboot did not help. Hard 
> reset did not help. Power cycle did help. Behavior was reproducible on a 
> second attempt.
> 

Hmm, you have a PCIe variant hardware and I remembers someone also
told a couple of issues on his VT6130 controller. These days it's
hard to find stand-alone PCI/PCIe controllers. If I manage to buy
VT6130 controller I'll see what's going on.



More information about the freebsd-current mailing list