From doconnor@gsoft.com.au  Mon May 30 00:18:39 2005
Return-Path: <doconnor@gsoft.com.au>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 13D8916A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 May 2005 00:18:39 +0000 (GMT)
	(envelope-from doconnor@gsoft.com.au)
Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5B53443D55
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 May 2005 00:18:37 +0000 (GMT)
	(envelope-from doconnor@gsoft.com.au)
Received: from inchoate.gsoft.com.au (localhost [127.0.0.1])
	(authenticated bits=0)
	by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id j4U0ITgG022320
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 May 2005 09:48:30 +0930 (CST)
	(envelope-from doconnor@gsoft.com.au)
Message-Id: <200505300948.24022.doconnor@gsoft.com.au>
Date: Mon, 30 May 2005 09:48:23 +0930
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: FreeBSD-gnats-submit@freebsd.org
Subject: if_vge does not work properly when loaded as a KLD

>Number:         81644
>Category:       kern
>Synopsis:       [vge] vge(4) does not work properly when loaded as a KLD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    yongari
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 30 00:20:10 GMT 2005
>Closed-Date:    Tue Dec 15 20:09:39 UTC 2009
>Last-Modified:  Tue Dec 15 20:09:39 UTC 2009
>Originator:     Daniel O'Connor
>Release:        FreeBSD 5.4-STABLE amd64
>Organization:
>Environment:
System: FreeBSD foo64.gsoft.com.au 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun May 
29 23:53:56 UTC 2005 
root@foo64.gsoft.com.au:/usr/obj/mnt/ia32/usr/src/sys/GENESIS amd64

Running on a Asus AV8 
( http://au.asus.com/products4.aspx?modelmenu=2&model=376&l1=3&l2=15&l3=143 )
which has the VIA K8T890 and VIA VT8237R.

>Description:
When vge is used as a KLD it doesn't not appear to be able to send packets
properly although I can see some when I tcpdump. If I force the media type to
100basetx it seems to work, but dhclient screws things up when it runs so I
can't do that as a work around.

dmesg looks like so..
vge0: <VIA Networking Gigabit Ethernet> port 0xb800-0xb8ff mem 
0xfa034000-0xfa0340ff irq 22 at device 14.0 on pci0
miibus0: <MII bus> on vge0
ciphy0: <Cicada CS8201 10/100/1000TX PHY> on miibus0
ciphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
vge0: Ethernet address: 00:50:8d:ef:2f:73

(No change when it is loaded as a kld)

>How-To-Repeat:
Build a kernel without vge or miibus then load the if_vge module.

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: vwe 
State-Changed-When: Wed Jan 14 21:33:26 UTC 2009 
State-Changed-Why:  
Daniel, 
is this PR still true for recent releases? 


Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Wed Jan 14 21:33:26 UTC 2009 
Responsible-Changed-Why:  

Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81644 

From: "Daniel O'Connor" <doconnor@gsoft.com.au>
To: bug-followup@freebsd.org, doconnor@gsoft.com.au
Cc:  
Subject: Re: kern/81644: [vge] vge(4) does not work properly when loaded as a KLD
Date: Thu, 15 Jan 2009 10:44:19 +1030

 I don't have any test hardware handy anymore, sorry.
 
 -- 
 Daniel O'Connor software and network engineer
 for Genesis Software - http://www.gsoft.com.au
 "The nice thing about standards is that there
 are so many of them to choose from."
   -- Andrew Tanenbaum
 GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
State-Changed-From-To: feedback->closed 
State-Changed-By: yongari 
State-Changed-When: Tue Dec 15 20:07:50 UTC 2009 
State-Changed-Why:  
Close, I can't reproduce this on recent 9-CURRENT. 



Responsible-Changed-From-To: freebsd-net->yongari 
Responsible-Changed-By: yongari 
Responsible-Changed-When: Tue Dec 15 20:07:50 UTC 2009 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81644 
>Unformatted:
