"watchdog timeout" a "obsoleted if_watchdog interface"
Jan Stary
hans at stare.cz
Sat Nov 8 11:36:13 CET 2008
Konecne jsem se dostal k nasledujicimu problemu:
na mem 7.0-RELEASE-p5 (dmesg dole) mi sitovka vr0
pri vetsim trafficu rika
vr0: watchdog timeout
a sitovy provoz se meritelne zpomaluje. Zkusil jsem to, co radi
http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028888.html
tedy zapnout device polling, tzn.
options DEVICE_POLLING
do jadra a
ifconfig vr0 ... polling
v nastaveni interfacu. Tim prvni problem skutecne zmizel, tj. sitove
prodlevy a hlaska o "watchdog timeout" zmizely, nicmene zustava mi tato
otazka: (nove) dmesg rika o moji vr0 toto (stare dmesg pokracovalo
sekvenci hlasek "vr0: watchdog timeout"):
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd400-0xd4ff mem 0xdffffe00-0xdffffeff irq 23 at device 18.0 on pci0
vr0: Quirks: 0x0
miibus0: <MII bus> on vr0
vr0: using obsoleted if_watchdog interface
vr0: Ethernet address: 00:0c:76:55:85:56
vr0: [ITHREAD]
1) Co jsou quirks?
2) Znamena "obsoleted if_watchdog interface", ze zrovna vr driver
pouziva obsoleted if_watchdog interface, zatimco jine drivery
pouzivaji if_watchdog intarface, ktery neni obsoleted,
anebo to znamena, ze if_watchdog interface jako takovy
je obsoleted? Podle /usr/src/sys/net/if.c, ktere rika
if (ifp->if_watchdog != NULL)
if_printf(ifp, "using obsoleted if_watchdog interface\n");
bych rekl, ze spis to druhe.
3) Jelito skutecne tak, znamena to pro me neco? V krajnim pripade,
je snad v nejakem ohledu lepsi pouzivat kartu, ktera (resp: jejiz driver)
nepouziva tento obsoleted interface?
Diky
H.
Copyright (c) 1992-2008 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 7.0-RELEASE-p5 #0: Sat Nov 8 09:25:28 CET 2008
root at hans.stare.cz:/usr/obj/usr/src/sys/HANS
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2500+ (1837.51-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400800<SYSCALL,MMX+,3DNow!+,3DNow!>
real memory = 1073676288 (1023 MB)
avail memory = 1041489920 (993 MB)
ACPI APIC Table: <AMIINT VIA_K7 >
ioapic0 <Version 0.3> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <AMIINT VIA_K7> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8377 (Apollo KT400/KT400A/KT600) 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 0xde000000-0xdeffffff,0xd8000000-0xdbffffff irq 16 at device 0.0 on pci1
pcm0: <Creative EMU10K1> port 0xe800-0xe81f irq 17 at device 6.0 on pci0
pcm0: <TriTech TR28602 AC97 Codec>
pcm0: [ITHREAD]
uhci0: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 21 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 21 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 21 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xdfffff00-0xdfffffff irq 21 at device 16.3 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <VIA VT6202 USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <multimedia, audio> at device 17.5 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd400-0xd4ff mem 0xdffffe00-0xdffffeff irq 23 at device 18.0 on pci0
vr0: Quirks: 0x0
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: using obsoleted if_watchdog interface
vr0: Ethernet address: 00:0c:76:55:85:56
vr0: [ITHREAD]
acpi_button1: <Sleep Button> on acpi0
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 NetMouse/NetScroll Optical, device ID 0
fdc0: <floppy drive controller> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
pmtimer0 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 1837514906 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 19092MB <Seagate ST320011A 3.05> at ata0-master UDMA100
acd0: DMA limited to UDMA33, device found non-ATA66 cable
acd0: DVDR <LITE-ON DVDRW SOHW-1693S/KS06> at ata0-slave UDMA33
ad2: 286188MB <Maxtor 6L300R0 BAJ41G20> at ata1-master UDMA133
ad3: 152626MB <Seagate ST3160023A 8.01> at ata1-slave UDMA100
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0 at ata0 bus 0 target 1 lun 0
cd0: <LITE-ON DVDRW SOHW-1693S KS06> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [3262504 x 2048 byte records]
Trying to mount root from ufs:/dev/ad0s1a
More information about the Users-l
mailing list