Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2009 11:55:55 +0800
From:      Leon Feng <rainofchaos@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   [vge] VIA VT6130 only auto negotiating to 1000baseT after down/up
Message-ID:  <df599da60904132055w670e5a1u13789878aef823f9@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,

I am running CURRENT r190987 on VIA EPIA board with VT6130 chip.
I found two problems:

1. After normal boot, vge only auto negotiate to 100baseTX. Then
# ifconfig vge1 down
# ifconfig vge1 up
And vge1 will auto negotiate to 1000baseT.

2. After reboot the system, there is an error message:
" savecore: reboot after panic: mutex vge0 not owned at
/usr/src/sys/modules/vge/../../dev/vge/if_vge.c:2395"

Do not know whether these two are related. Any one has an idea?

dmesg attached.

thanks,
Leon Feng

[-- Attachment #2 --]
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #26 r190987:191035: Tue Apr 14 11:12:58 UTC 2009
    root@:/usr/src/sys/i386/compile/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: VIA Esther processor 1500MHz (1500.02-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x6a9  Stepping = 9
  Features=0xa7c9baff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
  Features2=0x181<SSE3,EST,TM2>
  VIA Padlock Features=0x3fcc<RNG,AES,AES-CTR,SHA1,SHA256,RSA>
real memory  = 468254720 (446 MB)
avail memory = 449028096 (428 MB)
kbd1 at kbdmux0
acpi0: <CN700 AWRDACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 1bde0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci_link2: BIOS IRQ 5 for 0.16.INTC is invalid
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 3314 (P4M800CE) host to PCI bridge> on hostb0
agp0: aperture size is 128M
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 0xd8000000-0xdbffffff,0xdd000000-0xddffffff irq 11 at device 0.0 on pci1
atapci0: <VIA AHCI controller> port 0xfc00-0xfc07,0xf800-0xf803,0xf400-0xf407,0xf000-0xf003,0xec00-0xec0f mem 0xdffff000-0xdffff3ff irq 10 at device 15.0 on pci0
atapci0: [ITHREAD]
atapci0: AHCI Version 01.00 controller with 4 ports PM supported
ata2: <ATA channel 0> on atapci0
ata2: port is not ready (timeout 0ms) tfd = 000001d0
ata2: software reset clear timeout
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci0
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci0
ata5: [ITHREAD]
atapci1: <VIA ATA controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci1
ata1: [ITHREAD]
uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 11 at device 16.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x000b
usbus0: <VIA 83C572 USB controller> on uhci0
uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 7 at device 16.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x0000
usbus1: <VIA 83C572 USB controller> on uhci1
uhci2: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 10 at device 16.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x0000
usbus2: <VIA 83C572 USB controller> on uhci2
uhci3: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 7 at device 16.3 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x0000
usbus3: <VIA 83C572 USB controller> on uhci3
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xdfffe000-0xdfffe0ff irq 7 at device 16.4 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <VIA VT6202 USB 2.0 controller> on ehci0
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pcib2: <ACPI PCI-PCI bridge> at device 19.1 on pci0
pci_link2: BIOS IRQ 5 for 2.14.INTA is invalid
pci2: <ACPI PCI bus> on pcib2
vge0: <VIA Networking Gigabit Ethernet> port 0xbc00-0xbcff mem 0xdfeff000-0xdfeff0ff irq 7 at device 14.0 on pci2
miibus0: <MII bus> on vge0
ciphy0: <Cicada CS8201 10/100/1000TX PHY> PHY 1 on miibus0
ciphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
vge0: WARNING: using obsoleted if_watchdog interface
vge0: Ethernet address: 00:40:63:f4:9f:83
vge0: [ITHREAD]
pcib3: <ACPI Host-PCI bridge> on acpi0
pci128: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 7 at device 0.0 on pci128
pci129: <ACPI PCI bus> on pcib4
vge1: <VIA Networking Gigabit Ethernet> port 0xac00-0xacff mem 0xcffff000-0xcffff0ff irq 11 at device 0.0 on pci129
miibus1: <MII bus> on vge1
ip1000phy0: <IC Plus IP1001 10/100/1000 media interface> PHY 22 on miibus1
ip1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
vge1: WARNING: using obsoleted if_watchdog interface
vge1: Ethernet address: 00:40:63:f4:9f:84
vge1: [ITHREAD]
pcib5: <ACPI PCI-PCI bridge> irq 7 at device 0.1 on pci128
pci130: <ACPI PCI bus> on pcib5
atapci2: <Marvell 88SX6145 UDMA133 controller> port 0x9c00-0x9c07,0x9800-0x9803,0x9400-0x9407,0x9000-0x9003,0x8c00-0x8c0f mem 0xcfdff000-0xcfdff3ff irq 11 at device 0.0 on pci130
atapci2: [ITHREAD]
ata6: <ATA channel 0> on atapci2
ata6: [ITHREAD]
ata7: <ATA channel 1> on atapci2
ata7: [ITHREAD]
atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse Explorer, device ID 4
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xd2000-0xd2fff,0xd3000-0xd3fff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1500019576 Hz quality 800
Timecounters tick every 1.000 msec
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
ad4: 238475MB <Seagate ST9250827AS 3.AAA> at ata2-master SATA300
WARNING: WITNESS option enabled, expect reduced performance.
ugen2.1: <VIA> at usbus2
uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <VIA> at usbus3
uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <VIA> at usbus4
uhub2: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ugen0.1: <VIA> at usbus0
uhub3: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <VIA> at usbus1
uhub4: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
GEOM: ad4s3: geometry does not match label (255h,63s != 16h,63s).
GEOM_LABEL: Label for provider ad4s3a is ufsid/4987a2ff6a04edd1.
GEOM_LABEL: Label for provider ad4s3d is ufsid/4987a2ff21188b45.
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
GEOM_LABEL: Label for provider ad4s3e is ufsid/4987a2ff3d258311.
GEOM_LABEL: Label for provider ad4s3f is ufsid/4987a2ffb5b8f4eb.
GEOM_LABEL: Label for provider ad4s4+01669741 is ntfs/New Volume.
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub2: 8 ports with 8 removable, self powered
Trying to mount root from ufs:/dev/ad4s3a
GEOM_LABEL: Label ufsid/4987a2ff6a04edd1 removed.
GEOM_LABEL: Label for provider ad4s3a is ufsid/4987a2ff6a04edd1.
GEOM_LABEL: Label ufsid/4987a2ff3d258311 removed.
GEOM_LABEL: Label for provider ad4s3e is ufsid/4987a2ff3d258311.
GEOM_LABEL: Label ufsid/4987a2ffb5b8f4eb removed.
GEOM_LABEL: Label for provider ad4s3f is ufsid/4987a2ffb5b8f4eb.
GEOM_LABEL: Label ufsid/4987a2ff21188b45 removed.
GEOM_LABEL: Label for provider ad4s3d is ufsid/4987a2ff21188b45.
GEOM_LABEL: Label ufsid/4987a2ff6a04edd1 removed.
GEOM_LABEL: Label ufsid/4987a2ff3d258311 removed.
GEOM_LABEL: Label ufsid/4987a2ffb5b8f4eb removed.
GEOM_LABEL: Label ufsid/4987a2ff21188b45 removed.
vge0: link state changed to DOWN
vge0: link state changed to UP
vge0: link state changed to DOWN
vge0: link state changed to UP
netsmb_dev: loaded

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?df599da60904132055w670e5a1u13789878aef823f9>