From owner-freebsd-stable@FreeBSD.ORG Mon Aug 17 09:29:38 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B669C106568B for ; Mon, 17 Aug 2009 09:29:38 +0000 (UTC) (envelope-from gerrit@pmp.uni-hannover.de) Received: from mrelay1.uni-hannover.de (mrelay1.uni-hannover.de [130.75.2.106]) by mx1.freebsd.org (Postfix) with ESMTP id 01AF58FC57 for ; Mon, 17 Aug 2009 09:29:37 +0000 (UTC) Received: from www.pmp.uni-hannover.de (www.pmp.uni-hannover.de [130.75.117.2]) by mrelay1.uni-hannover.de (8.14.2/8.14.2) with ESMTP id n7H9EZ2Q010066; Mon, 17 Aug 2009 11:14:36 +0200 Received: from pmp.uni-hannover.de (arc.pmp.uni-hannover.de [130.75.117.1]) by www.pmp.uni-hannover.de (Postfix) with SMTP id 03BD04F; Mon, 17 Aug 2009 11:14:35 +0200 (CEST) Date: Mon, 17 Aug 2009 11:14:34 +0200 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: freebsd-stable@freebsd.org Message-Id: <20090817111434.3de57a6a.gerrit@pmp.uni-hannover.de> In-Reply-To: <20090309083306.GL5039@michelle.cdnetworks.co.kr> References: <8dfae1c10901070639x67945324jeeecfcac647d7976@mail.gmail.com> <200901191833.51320.jkim@FreeBSD.org> <20090120024519.GB79785@cdnetworks.co.kr> <200903071717.57915.ianjhart@ntlworld.com> <20090308023642.GB1531@michelle.cdnetworks.co.kr> <20090309092131.790f719d.gerrit@pmp.uni-hannover.de> <20090309083306.GL5039@michelle.cdnetworks.co.kr> Organization: Albert-Einstein-Institut (MPI =?ISO-8859-1?Q?f=FCr?= Gravitationsphysik & IGP =?ISO-8859-1?Q?Universit=E4t?= Hannover) X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: 5.5.5.374460, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2009.8.17.90623 Cc: pyunyh@gmail.com Subject: Re: FreeBSD 7.1 (and 7.2) Breaks re and rl Network Interface Drivers X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 09:29:38 -0000 On Mon, 9 Mar 2009 17:33:06 +0900 Pyun YongHyeon wrote about Re: FreeBSD 7.1 Breaks re and rl Network Interface Drivers: PY> > I cannot say if the actual issue I had with 7.1-stable has gone PY> > away, too, because this only occured after a longer time of PY> > operation. However, up to now everything looks nice. PY> Ok, if you find any re(4) instability feel free to contact me. Ok, took some time, but here I am. :-) It seems I have two different version of the Jetway mainboard here (one with 25W total power consumption and one with 12W I guess). Anyway, my version of 7.1 with your patches is running fine on this board: --- 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 7.1-STABLE #0: Tue Mar 24 12:46:03 CET 2009 root@xenon:/usr/tmp/usr/obj/usr/work/current/src/sys/FIREFLY Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: VIA C7-D Processor 1500MHz (1500.02-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x6d0 Stepping = 0 Features=0xa7c9baff Features2=0x4001 VIA Padlock Features=0xffcc real memory = 1055784960 (1006 MB) avail memory = 1023750144 (976 MB) kbd1 at kbdmux0 cryptosoft0: on motherboard padlock0: on motherboard acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3ede0000 (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: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci_link2: BIOS IRQ 5 for 0.9.INTA is invalid pci_link2: BIOS IRQ 5 for 0.16.INTC is invalid pci_link2: BIOS IRQ 5 for 0.17.INTC is invalid pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xf4000000-0xf7ffffff,0xfb000000-0xfbffffff irq 11 at device 0.0 on pci1 re0: port 0xf000-0xf0ff mem 0xfdfff000-0xfdfff0ff irq 10 at device 9.0 on pci0 re0: Chip rev. 0x18000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:30:18:a7:8a:1c re0: [FILTER] re1: port 0xf200-0xf2ff mem 0xfdffe000-0xfdffe0ff irq 10 at device 11.0 on pci0 re1: Chip rev. 0x18000000 re1: MAC rev. 0x00000000 miibus1: on re1 rgephy1: PHY 1 on miibus1 rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re1: Ethernet address: 00:30:18:a7:8a:1d re1: [FILTER] atapci0: port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f,0xf400-0xf4ff irq 11 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xf900-0xf91f irq 11 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xf800-0xf81f irq 11 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xf700-0xf71f irq 11 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xf600-0xf61f irq 11 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfdffd000-0xfdffd0ff irq 10 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 pci0: at device 17.5 (no driver attached) acpi_tz0: on acpi0 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] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse Explorer, device ID 4 cpu0: on acpi0 acpi_throttle0: on cpu0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcf7ff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1500015037 Hz quality 800 Timecounters tick every 1.000 msec ad0: 3919MB at ata0-master PIO4 Trying to mount root from ufs:/dev/ad0s2a re0: link state changed to UP re1: link state changed to UP fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 --- It was only last week when I noticed that this version will not run very well on the other board type. Meanwhile I updated the machine to 7.2-stable, but it still comes around with lots of weird re-problems after a few hours of operation: --- 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 7.2-STABLE #0: Thu Aug 13 19:08:58 CEST 2009 root@xenon:/usr/tmp/usr/obj/usr/work/stable/src/sys/FIREFLY Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: VIA C7 Processor 1500MHz (1500.01-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x6d0 Stepping = 0 Features=0xa7c9baff Features2=0x4181 VIA Padlock Features=0xffcc real memory = 1055784960 (1006 MB) avail memory = 1023733760 (976 MB) kbd1 at kbdmux0 cryptosoft0: on motherboard padlock0: on motherboard acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3ede0000 (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: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci_link2: BIOS IRQ 5 for 0.9.INTA is invalid pci_link2: BIOS IRQ 5 for 0.16.INTC is invalid pci_link2: BIOS IRQ 5 for 0.17.INTC is invalid pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xf4000000-0xf7ffffff,0xfb000000-0xfbffffff irq 11 at device 0.0 on pci1 re0: port 0xf000-0xf0ff mem 0xfdfff000-0xfdfff0ff irq 10 at device 9.0 on pci0 re0: Chip rev. 0x18000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:30:18:ab:d0:19 re0: [FILTER] re1: port 0xf200-0xf2ff mem 0xfdffe000-0xfdffe0ff irq 10 at device 11.0 on pci0 re1: Chip rev. 0x18000000 re1: MAC rev. 0x00000000 miibus1: on re1 rgephy1: PHY 1 on miibus1 rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re1: Ethernet address: 00:30:18:ab:d0:1a re1: [FILTER] atapci0: port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f,0xf400-0xf4ff irq 11 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xf900-0xf91f irq 11 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xf800-0xf81f irq 11 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xf700-0xf71f irq 11 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xf600-0xf61f irq 11 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfdffd000-0xfdffd0ff irq 10 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 pci0: at device 17.5 (no driver attached) acpi_tz0: on acpi0 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] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse Explorer, device ID 4 cpu0: on acpi0 acpi_perf0: on cpu0 acpi_throttle0: on cpu0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1500012699 Hz quality 800 Timecounters tick every 1.000 msec ad0: 3919MB at ata0-master PIO4 Trying to mount root from ufs:/dev/ad0s2a re0: link state changed to UP re1: link state changed to UP fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 re1: link state changed to DOWN re1: link state changed to UP re1: link state changed to DOWN re1: link state changed to UP re1: link state changed to DOWN re1: link state changed to UP re1: link state changed to DOWN re1: link state changed to UP re1: link state changed to DOWN re1: link state changed to UP re1: link state changed to DOWN re1: link state changed to UP re1: link state changed to DOWN re1: link state changed to UP re1: link state changed to DOWN re1: link state changed to UP re0: link state changed to DOWN re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) arplookup 192.32.96.115 failed: host is not on local network re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) re1: discard frame w/o leading ethernet header (len 4294967292 pkt len 4294967292) [...] --- It works for some time (typically not more than a few hours) and then goes nuts with some kind of networking problems. Apart from what I've shown above I have also seen complaints about "runt packages" (whatever this may be :-) and lots of other stuff. This seems to happen on both onboard interfaces, but not at the same time (after one has crashed, the other one sometimes still works). The crash goes along with dropping the link from 1000TX to 100TX. It won't come back to 1000TX. Turning off checksum-offloading and the other features does not help either. The interface is basically dead afterwards, even tcpdump won't see any package anymore. Simply rebooting does not remedy the problem either, you have to unplug the power to get networking back. Any hints? cu Gerrit