Date: Mon, 8 Jul 2002 14:39:35 -0700 (PDT) From: Don Lewis <dl-freebsd@catspoiler.org> To: luigi@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c Message-ID: <200207082139.g68LdZwr001637@gw.catspoiler.org> In-Reply-To: <200206302228.g5UMS0kk053262@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30 Jun, Luigi Rizzo wrote: > luigi 2002/06/30 15:28:00 PDT > > Modified files: > sys/dev/fxp if_fxp.c > Log: > Fix if_timer logic so that there is always a timeout pending if there > are packets queued for transmission. > > This driver is strange -- it never sets IFF_OACTIVE, so all > transmissions always cause a call to fxp_start. However, if the > link gets stuck, there was nothing to reset it, so there was still > a possibility of lockups. > > MFC after: 3 days > > Revision Changes Path > 1.132 +4 -2 src/sys/dev/fxp/if_fxp.c I just started seeing fxp timeouts on my -current box since I upgraded the morning of July 7. # ifconfig fxp0 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.101.3 netmask 0xffffff00 broadcast 192.168.101.255 inet6 fe80::202:b3ff:fe5c:8b82%fxp0 prefixlen 64 scopeid 0x1 ether 00:02:b3:5c:8b:82 media: Ethernet autoselect (10baseT/UTP) status: active # grep fxp /var/log/messages Jul 7 01:29:17 scratch kernel: fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xe000-0xe03f mem 0xef000000-0xef01ffff,0xef021000-0xef021fff irq 10 at device 10.0 on pci0 Jul 7 01:29:17 scratch kernel: fxp0: Ethernet address 00:02:b3:5c:8b:82 Jul 7 16:05:58 scratch kernel: fxp0: device timeout Jul 7 22:35:41 scratch kernel: fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xe000-0xe03f mem 0xef000000-0xef01ffff,0xef021000-0xef021fff irq 10 at device 10.0 on pci0 Jul 7 22:35:41 scratch kernel: fxp0: Ethernet address 00:02:b3:5c:8b:82 Jul 8 01:18:37 scratch kernel: fxp0: device timeout Jul 8 05:58:34 scratch kernel: fxp0: device timeout Jul 8 05:59:00 scratch kernel: fxp0: device timeout Jul 8 06:07:34 scratch kernel: fxp0: device timeout Jul 8 06:23:55 scratch kernel: fxp0: device timeout Jul 8 06:40:43 scratch kernel: fxp0: device timeout Jul 8 06:47:07 scratch kernel: fxp0: device timeout Jul 8 14:33:06 scratch kernel: fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xe000-0xe03f mem 0xef000000-0xef01ffff,0xef021000-0xef021fff irq 10 at device 10.0 on pci0 Jul 8 14:33:06 scratch kernel: fxp0: Ethernet address 00:02:b3:5c:8b:82 Copyright (c) 1992-2002 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 5.0-CURRENT #10: Sun Jul 7 19:52:04 PDT 2002 dl@scratch.catspoiler.org:/usr/obj/usr/src/sys/GENERICSMB Preloaded elf kernel "/boot/kernel/kernel" at 0xc05fa000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05fa0a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1608227873 Hz CPU: AMD Athlon(tm) XP 1900+ (1608.23-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=0xffffffffc0480000<MP,AMIE,DSP,3DNow!> real memory = 1073676288 (1048512K bytes) avail memory = 1035603968 (1011332K bytes) Pentium Pro MTRR support enabled Using $PIR table, 11 entries at 0xc00fdc30 npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <GBT AWRDACPI> on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: <CPU> on acpi0 acpi_button0: <Power Button> on acpi0 acpi_button1: <Sleep Button> on acpi0 acpi_pcib0: <Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: <PCI bus> on acpi_pcib0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 5.0 (no driver attached) isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA100 controller> port 0xc400-0xc40f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 5 at device 7.2 on pci0 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 uhub0: 2 ports with 2 removable, self powered uhub0: port error, restarting port 1 uhub0: port error, giving up port 1 uhub0: port error, restarting port 2 uhub0: port error, giving up port 2 uhci1: <VIA 83C572 USB controller> port 0xcc00-0xcc1f irq 5 at device 7.3 on pci0 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 uhub1: 2 ports with 2 removable, self powered uhub1: port error, restarting port 1 uhub1: port error, giving up port 1 uhub1: port error, restarting port 2 uhub1: port error, giving up port 2 viapropm0: SMBus I/O base at 0x5000 viapropm0: <VIA VT82C686A Power Management Unit> port 0x5000-0x500f at device 7.4 on pci0 viapropm0: SMBus revision code 0x40 smb0: <SMBus generic I/O> on smbus0 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xe000-0xe03f mem 0xef000000-0xef01ffff,0xef021000-0xef021fff irq 10 at device 10.0 on pci0 fxp0: Ethernet address 00:02:b3:5c:8b:82 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ahc0: <Adaptec 19160B Ultra160 SCSI adapter> port 0xe400-0xe4ff mem 0xef022000-0xef022fff irq 11 at device 12.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs fdc0: <enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: <Option ROMs> at iomem 0xd0000-0xd3fff,0xc0000-0xcc7ff on isa0 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 Timecounters tick every 10.000 msec Waiting 15 seconds for SCSI devices to settle acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0% Mounting root from ufs:/dev/da0s1a cd0 at ahc0 bus 0 target 6 lun 0 cd0: <NEC CD-ROM DRIVE:462 1.14> Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present da0 at ahc0 bus 0 target 0 lun 0 da0: <SEAGATE ST336706LW 010A> Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 35003MB (71687370 512 byte sectors: 255H 63S/T 4462C) /usr/src/sys/vm/uma_core.c:1332: could sleep with "kernel linker" locked from /usr/src/sys/kern/kern_linker.c:1797 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207082139.g68LdZwr001637>