From owner-freebsd-i386@FreeBSD.ORG Mon May 23 11:07:00 2011 Return-Path: Delivered-To: freebsd-i386@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67F811065673 for ; Mon, 23 May 2011 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 579E28FC24 for ; Mon, 23 May 2011 11:07:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4NB70MK051686 for ; Mon, 23 May 2011 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4NB6xTD051684 for freebsd-i386@FreeBSD.org; Mon, 23 May 2011 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 May 2011 11:06:59 GMT Message-Id: <201105231106.p4NB6xTD051684@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-i386@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-i386@FreeBSD.org X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2011 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o i386/156229 i386 [hang] Server IBM x3400 is hangs with option SMP in Ke o i386/155695 i386 AMD Vision ultimate notebook HP Pavilion DV6 3109ER ov o i386/154578 i386 [boot] BTX Loader hangs > 1,5 min after listing BIOS d o i386/151122 i386 [boot] BTX 1.02 crashes on boot o i386/150766 i386 Dell Vostro 3700 siffle sous FreeBSD / Dell Vostro 370 o i386/149647 i386 [panic] Dell Inspiron 530 (FX09) panic at boot with 8. o i386/148848 i386 [hang] Load freezing at boot on HP Mini 311 o i386/148624 i386 PERC H200 Controller on Dell R610 Not recognized o i386/148509 i386 [boot] [patch] Improvements to i386/boot2's comments o i386/147458 i386 [boot] FreeBSD 8 can't boot from dvd, unless dvd is ex o i386/146446 i386 [install] FreeBSD 8.0 installation hangs at an early s o i386/146221 i386 [boot] incompatibility of the BTX with toshiba tecra R o i386/145718 i386 [est] [patch] fix freq calculation from MSR for CPUs w o i386/145079 i386 [boot] BTX halted on P3 server f i386/144956 i386 [boot] Early minute-plus delay in boot on Intel Nehale o i386/143587 i386 [boot] [hang] BTX 1.02 freezes upon assigning Bios C d o i386/142946 i386 [boot] Can't boot installation DVD. BTX halted f i386/142934 i386 [boot] Cannot boot FreeBSD 6.4, 7.x on Hint Corp VX Pr o i386/142421 i386 [ata] optical drives not found o i386/142190 i386 [boot] BTX Loader issue on Gigabyte Motherboard o i386/142108 i386 [panic] vm_fault: fault on nofault entry, addr: c32a40 o i386/141675 i386 [boot] memory and BTX halted on Sunfire X4170 o i386/141470 i386 [boot] BTX halted immediatly on selecting any of the b o i386/141468 i386 [boot] FreeBSD 8.0 boot manager can cause disk not pro o i386/140655 i386 [panic] Lenovo X300: fatal trap 12 after /sbin/halt -p o i386/140645 i386 [irq] High INTERRUPT rate on CPU 0 o i386/140448 i386 [boot] BTX loader hangs after displaying BIOS drives o i386/140268 i386 [install] 8.0-RC* does not install on MSI MS-7255 [reg o i386/139999 i386 [panic] random freeze and crash o i386/139743 i386 [ichsmb] [patch] ichsmb driver doesn't detects SMB bus o i386/139115 i386 [cpufreq] low cpu frequency reported [regression] o i386/138948 i386 [twa] [regression] da0: Fi o i386/138126 i386 [panic] Kernel panic trap 12 on bigger load f i386/137925 i386 [boot] BTX loader hangs when raid volume present [regr o i386/133727 i386 chars [[[[[[[[[[[[[ occur during install process (sett f i386/133388 i386 [est] est causes wrong dev.cpu.0.freq_levels values o i386/132230 i386 [boot] [reboot] 7.1-RELEASE /boot/loader non-functiona o i386/131426 i386 hald makes cdrom fail o i386/130110 i386 [boot] BTX-Halted - booting with SAS/SATA Controller o i386/129550 i386 [pae] [kqueue] crash with PAE kernel o i386/127374 i386 Suspend/Resume with Keystroke only once on Thinkpad T4 o i386/127343 i386 [hang] System locks -- simular to PR 123729 o i386/127337 i386 [boot] FreeBSD 7.1/i386 BTX boot problem on Pavilion d o i386/126666 i386 [boot] [hang] boot failure for nForce 630i / GeForce 7 o i386/126162 i386 [acpi] ACPI autoload failed : loading required module o i386/125592 i386 [hang] FreeBSD 7 server in hang o i386/124633 i386 [boot] [panic] 7.0 does not boot from CD o i386/124124 i386 [boot] [panic] Page fault while booting livefs iso of o i386/123990 i386 [boot] BTX halted on Thinkpad x60s o i386/123462 i386 clock is too fast a i386/122887 i386 [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed f i386/121903 i386 [ips] [boot] can't boot on IBM x235 ServeRaid 6M [regr f i386/117297 i386 [hang] System hangs up every day f i386/116844 i386 [boot] [hang] cannot boot from cd when using Dell Vost f i386/115947 i386 [hang] Dell poweredge 860 hangs when stressed and ACPI f i386/115854 i386 [boot] [install] Install FreeBSD with USB CDROM causes f i386/114208 i386 [boot] Problem booting the FreeBSD CD ISO image f i386/114192 i386 Fail to boot with "error issuing ATA_IDENTIFY command" f i386/112580 i386 [boot] BTX Halted on HP DV6255 Notebook f i386/112487 i386 [sio] kernel panic on swi0:sio f i386/109610 i386 [panic] Fatal trap 12: page fault while in kernel mode f i386/109568 i386 [panic] Reboot server with "Fatal trap 12" f i386/108185 i386 [panic] freebsd 6.2 fatal kernel trap f i386/107382 i386 [install] "Fatal trap 12" when installing FreeBSD 6.1 f i386/105175 i386 [ipmi] ipmi acpi trouble on supermicro server f i386/105063 i386 [sio] US Robotics (3Com) 3CP5609 PCI 16550 Modem works f i386/104719 i386 [ata] Seagate ST3802110A errors/delays when using PIO4 f i386/102562 i386 [em] no traffic pass through a em card after approx. a f i386/102410 i386 [install] FreeBSD 6.1-RELEASE installation boot freeze f i386/101616 i386 [hang] FreeBSD freeze on bootup, Compaq Proliant (lega f i386/101062 i386 [hang] Freeze on detect Intel 900 VGA on boot with ACP f i386/100831 i386 [sio] sio ignores BIOS information about serial ports f i386/100420 i386 [boot] boot1/boot2 lba error f i386/100204 i386 FreeBSD reports raid as broken - but it is not f i386/99608 i386 [atapicam] ATAPI or CAM crash on FreeBSD 6.1-stable wi f i386/98765 i386 [ata] timeouts on sata drive (Asus a7n8x-e) f i386/98215 i386 [geode] [regression] FreeBSD can no longer boot Geode f i386/98154 i386 6-STABLE crashes when being online via modem (Fujitsu f i386/97263 i386 [ata] FreeBSD only detects first drive on PDC20378 378 f i386/96357 i386 FreeBSD cannot recognize all the logical partitions f i386/93793 i386 [keyboard] Keyboard stops working after a shutdown -p f i386/93752 i386 Cannot activate the serial ports on boot probe. BIOS o f i386/92193 i386 [boot] Can't boot from 6.0 Installation CD: BTX halted s i386/88755 i386 [install] FreeBSD R6.0 on ThinkPad R40 installation re s i386/88139 i386 [i386] [request] 53C875 Chipset HP 5064-6016 doesn't w f i386/80268 i386 [panic] System with Transmeta Efficeon cpu crashes whi f i386/79091 i386 [i386] [patch] Small optimization for i386/support.s f i386/70531 i386 [boot0] [patch] boot0 hides Lilo in extended slice 88 problems total. From owner-freebsd-i386@FreeBSD.ORG Wed May 25 22:20:11 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9FF9106566B for ; Wed, 25 May 2011 22:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CADBC8FC1A for ; Wed, 25 May 2011 22:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4PMKBNU072612 for ; Wed, 25 May 2011 22:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4PMKBdv072611; Wed, 25 May 2011 22:20:11 GMT (envelope-from gnats) Date: Wed, 25 May 2011 22:20:11 GMT Message-Id: <201105252220.p4PMKBdv072611@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: George Morgan Cc: Subject: Re: i386/151122: [boot] BTX 1.02 crashes on boot X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: George Morgan List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2011 22:20:11 -0000 The following reply was made to PR i386/151122; it has been noted by GNATS. From: George Morgan To: bug-followup@FreeBSD.org, renato.camarao@gmail.com Cc: Subject: Re: i386/151122: [boot] BTX 1.02 crashes on boot Date: Wed, 25 May 2011 17:43:03 -0400 --0016e68dea50d887fe04a42096a9 Content-Type: text/plain; charset=ISO-8859-1 I have two of these systems. Updated the system BIOS to the latest from HP and still no luck. I'm a software developer and interested in at least helping troubleshoot this problem. George Morgan --0016e68dea50d887fe04a42096a9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have two of these systems.=A0 Updated the system BIOS to the latest from = HP and still no luck.=A0 I'm a software developer and interested in at = least helping troubleshoot this problem.

George Morgan


--0016e68dea50d887fe04a42096a9-- From owner-freebsd-i386@FreeBSD.ORG Sat May 28 05:11:59 2011 Return-Path: Delivered-To: i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45F5D1065672; Sat, 28 May 2011 05:11:59 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 093F28FC13; Sat, 28 May 2011 05:11:58 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p4S5Bw0w080278; Sat, 28 May 2011 01:11:58 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p4S5BwZh080251; Sat, 28 May 2011 05:11:58 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 28 May 2011 05:11:58 GMT Message-Id: <201105280511.p4S5BwZh080251@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2011 05:11:59 -0000 TB --- 2011-05-28 02:20:00 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-05-28 02:20:00 - starting HEAD tinderbox run for i386/i386 TB --- 2011-05-28 02:20:00 - cleaning the object tree TB --- 2011-05-28 02:20:27 - cvsupping the source tree TB --- 2011-05-28 02:20:27 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile TB --- 2011-05-28 02:25:57 - building world TB --- 2011-05-28 02:25:57 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-28 02:25:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-28 02:25:57 - TARGET=i386 TB --- 2011-05-28 02:25:57 - TARGET_ARCH=i386 TB --- 2011-05-28 02:25:57 - TZ=UTC TB --- 2011-05-28 02:25:57 - __MAKE_CONF=/dev/null TB --- 2011-05-28 02:25:57 - cd /src TB --- 2011-05-28 02:25:57 - /usr/bin/make -B buildworld >>> World build started on Sat May 28 02:25:58 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat May 28 04:21:19 UTC 2011 TB --- 2011-05-28 04:21:19 - generating LINT kernel config TB --- 2011-05-28 04:21:19 - cd /src/sys/i386/conf TB --- 2011-05-28 04:21:19 - /usr/bin/make -B LINT TB --- 2011-05-28 04:21:19 - building LINT kernel TB --- 2011-05-28 04:21:19 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-28 04:21:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-28 04:21:19 - TARGET=i386 TB --- 2011-05-28 04:21:19 - TARGET_ARCH=i386 TB --- 2011-05-28 04:21:19 - TZ=UTC TB --- 2011-05-28 04:21:19 - __MAKE_CONF=/dev/null TB --- 2011-05-28 04:21:19 - cd /src TB --- 2011-05-28 04:21:19 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat May 28 04:21:19 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sat May 28 04:50:30 UTC 2011 TB --- 2011-05-28 04:50:30 - cd /src/sys/i386/conf TB --- 2011-05-28 04:50:30 - /usr/sbin/config -m GENERIC TB --- 2011-05-28 04:50:30 - building GENERIC kernel TB --- 2011-05-28 04:50:30 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-28 04:50:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-28 04:50:30 - TARGET=i386 TB --- 2011-05-28 04:50:30 - TARGET_ARCH=i386 TB --- 2011-05-28 04:50:30 - TZ=UTC TB --- 2011-05-28 04:50:30 - __MAKE_CONF=/dev/null TB --- 2011-05-28 04:50:30 - cd /src TB --- 2011-05-28 04:50:30 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sat May 28 04:50:30 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -O2 -pipe -fno-strict-aliasing -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/i386.i386/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/i386.i386/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-missing-prototypes -I/src/sys/modules/xfs/../../gnu/fs/xfs/FreeBSD -I/src/sys/modules/xfs/../../gnu/fs/xfs/FreeBSD/support -I/src/sys/modules/xfs/../../gnu/fs/xfs -c /src/sys/modules/xfs/../../gnu/fs/xfs/xfs_btree.c cc -O2 -pipe -fno-strict-aliasing -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/i386.i386/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/i386.i386/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-missing-prototypes -I/src/sys/modules/xfs/../../gnu/fs/xfs/FreeBSD -I/src/sys/modules/xfs/../../gnu/fs/xfs/FreeBSD/support -I/src/sys/modules/xfs/../../gnu/fs/xfs -c /src/sys/modules/xfs/../../gnu/fs/xfs/xfs_buf_item.c cc -O2 -pipe -fno-strict-aliasing -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/i386.i386/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/i386.i386/src/sys/GENERIC -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-missing-prototypes -I/src/sys/modules/xfs/../../gnu/fs/xfs/FreeBSD -I/src/sys/modules/xfs/../../gnu/fs/xfs/FreeBSD/support -I/src/sys/modules/xfs/../../gnu/fs/xfs -c /src/sys/modules/xfs/../../gnu/fs/xfs/xfs_da_btree.c /src/sys/modules/xfs/../../gnu/fs/xfs/xfs_da_btree.c: In function 'xfs_da_shrink_inode': /src/sys/modules/xfs/../../gnu/fs/xfs/xfs_da_btree.c:1942: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop in /src/sys/modules/xfs. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/i386.i386/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-05-28 05:11:58 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-05-28 05:11:58 - ERROR: failed to build GENERIC kernel TB --- 2011-05-28 05:11:58 - 7920.71 user 1303.46 system 10317.73 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-i386@FreeBSD.ORG Sat May 28 11:10:10 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13FF1106566B for ; Sat, 28 May 2011 11:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E112A8FC15 for ; Sat, 28 May 2011 11:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4SBA9rL042297 for ; Sat, 28 May 2011 11:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4SBA9RM042296; Sat, 28 May 2011 11:10:09 GMT (envelope-from gnats) Resent-Date: Sat, 28 May 2011 11:10:09 GMT Resent-Message-Id: <201105281110.p4SBA9RM042296@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, cumay <164837122@qq.com> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 965B5106566B for ; Sat, 28 May 2011 11:07:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 862A18FC0C for ; Sat, 28 May 2011 11:07:31 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4SB7UNZ012250 for ; Sat, 28 May 2011 11:07:30 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4SB7U7D012249; Sat, 28 May 2011 11:07:30 GMT (envelope-from nobody) Message-Id: <201105281107.p4SB7U7D012249@red.freebsd.org> Date: Sat, 28 May 2011 11:07:30 GMT From: cumay <164837122@qq.com> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/157378: fxp.ich.patch X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2011 11:10:10 -0000 >Number: 157378 >Category: i386 >Synopsis: fxp.ich.patch >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 28 11:10:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: cumay >Release: freebsd 4.11 >Organization: no >Environment: freebsd 4.11 >Description: I got a patch fxp.ich.patch whitch can fix this problem .but it can't be used for freebsd 4.11. badlly expecting freebsd team can modify fxp.ich.patch for freebsd 4.11. I like 4.11 very much. Thanks for your great help. >How-To-Repeat: I got a patch fxp.ich.patch whitch can fix this problem .but it can't be used for freebsd 4.11. badlly expecting freebsd team can modify fxp.ich.patch for freebsd 4.11. I like 4.11 very much. Thanks for your great help. >Fix: Patch attached with submission follows: Index: sys/dev/fxp/if_fxpvar.h =================================================================== --- sys/dev/fxp/if_fxpvar.h (revision 194231) +++ sys/dev/fxp/if_fxpvar.h (working copy) @@ -142,6 +142,13 @@ bus_dma_tag_t rx_tag; }; +struct fxp_ident { + uint16_t devid; + int16_t revid; /* -1 matches anything */ + uint8_t ich; + char *name; +}; + /* * NOTE: Elements are ordered for optimal cacheline behavior, and NOT * for functional grouping. @@ -151,8 +158,10 @@ struct resource *fxp_res[2]; /* I/O and IRQ resources */ struct resource_spec *fxp_spec; /* the resource spec we used */ void *ih; /* interrupt handler cookie */ + struct fxp_ident *ident; struct mtx sc_mtx; - bus_dma_tag_t fxp_mtag; /* bus DMA tag for mbufs */ + bus_dma_tag_t fxp_txmtag; /* bus DMA tag for Tx mbufs */ + bus_dma_tag_t fxp_rxmtag; /* bus DMA tag for Rx mbufs */ bus_dma_tag_t fxp_stag; /* bus DMA tag for stats */ bus_dmamap_t fxp_smap; /* bus DMA map for stats */ bus_dma_tag_t cbl_tag; /* DMA tag for the TxCB list */ @@ -164,7 +173,6 @@ int maxtxseg; /* maximum # of TX segments */ int maxsegsize; /* maximum size of a TX segment */ int tx_queued; /* # of active TxCB's */ - int need_mcsetup; /* multicast filter needs programming */ struct fxp_stats *fxp_stats; /* Pointer to interface stats */ uint32_t stats_addr; /* DMA address of the stats structure */ int rx_idle_secs; /* # of seconds RX has been idle */ @@ -184,6 +192,7 @@ int cu_resume_bug; int revision; int flags; + int if_flags; uint8_t rfa_size; uint32_t tx_cmd; }; @@ -194,7 +203,6 @@ #define FXP_FLAG_EXT_TXCB 0x0008 /* enable use of extended TXCB */ #define FXP_FLAG_SERIAL_MEDIA 0x0010 /* 10Mbps serial interface */ #define FXP_FLAG_LONG_PKT_EN 0x0020 /* enable long packet reception */ -#define FXP_FLAG_ALL_MCAST 0x0040 /* accept all multicast frames */ #define FXP_FLAG_CU_RESUME_BUG 0x0080 /* requires workaround for CU_RESUME */ #define FXP_FLAG_UCODE 0x0100 /* ucode is loaded */ #define FXP_FLAG_DEFERRED_RNR 0x0200 /* DEVICE_POLLING deferred RNR */ @@ -203,6 +211,7 @@ #define FXP_FLAG_82559_RXCSUM 0x1000 /* 82559 compatible RX checksum */ #define FXP_FLAG_WOLCAP 0x2000 /* WOL capability */ #define FXP_FLAG_WOL 0x4000 /* WOL active */ +#define FXP_FLAG_RXBUG 0x8000 /* Rx lock-up bug */ /* Macros to ease CSR access. */ #define CSR_READ_1(sc, reg) bus_read_1(sc->fxp_res[0], reg) Index: sys/dev/fxp/if_fxp.c =================================================================== --- sys/dev/fxp/if_fxp.c (revision 194231) +++ sys/dev/fxp/if_fxp.c (working copy) @@ -140,12 +140,6 @@ 0x5 /* 21 */ }; -struct fxp_ident { - uint16_t devid; - int16_t revid; /* -1 matches anything */ - char *name; -}; - /* * Claim various Intel PCI device identifiers for this driver. The * sub-vendor and sub-device field are extensively used to identify @@ -153,52 +147,52 @@ * them. */ static struct fxp_ident fxp_ident_table[] = { - { 0x1029, -1, "Intel 82559 PCI/CardBus Pro/100" }, - { 0x1030, -1, "Intel 82559 Pro/100 Ethernet" }, - { 0x1031, -1, "Intel 82801CAM (ICH3) Pro/100 VE Ethernet" }, - { 0x1032, -1, "Intel 82801CAM (ICH3) Pro/100 VE Ethernet" }, - { 0x1033, -1, "Intel 82801CAM (ICH3) Pro/100 VM Ethernet" }, - { 0x1034, -1, "Intel 82801CAM (ICH3) Pro/100 VM Ethernet" }, - { 0x1035, -1, "Intel 82801CAM (ICH3) Pro/100 Ethernet" }, - { 0x1036, -1, "Intel 82801CAM (ICH3) Pro/100 Ethernet" }, - { 0x1037, -1, "Intel 82801CAM (ICH3) Pro/100 Ethernet" }, - { 0x1038, -1, "Intel 82801CAM (ICH3) Pro/100 VM Ethernet" }, - { 0x1039, -1, "Intel 82801DB (ICH4) Pro/100 VE Ethernet" }, - { 0x103A, -1, "Intel 82801DB (ICH4) Pro/100 Ethernet" }, - { 0x103B, -1, "Intel 82801DB (ICH4) Pro/100 VM Ethernet" }, - { 0x103C, -1, "Intel 82801DB (ICH4) Pro/100 Ethernet" }, - { 0x103D, -1, "Intel 82801DB (ICH4) Pro/100 VE Ethernet" }, - { 0x103E, -1, "Intel 82801DB (ICH4) Pro/100 VM Ethernet" }, - { 0x1050, -1, "Intel 82801BA (D865) Pro/100 VE Ethernet" }, - { 0x1051, -1, "Intel 82562ET (ICH5/ICH5R) Pro/100 VE Ethernet" }, - { 0x1059, -1, "Intel 82551QM Pro/100 M Mobile Connection" }, - { 0x1064, -1, "Intel 82562EZ (ICH6)" }, - { 0x1065, -1, "Intel 82562ET/EZ/GT/GZ PRO/100 VE Ethernet" }, - { 0x1068, -1, "Intel 82801FBM (ICH6-M) Pro/100 VE Ethernet" }, - { 0x1069, -1, "Intel 82562EM/EX/GX Pro/100 Ethernet" }, - { 0x1091, -1, "Intel 82562GX Pro/100 Ethernet" }, - { 0x1092, -1, "Intel Pro/100 VE Network Connection" }, - { 0x1093, -1, "Intel Pro/100 VM Network Connection" }, - { 0x1094, -1, "Intel Pro/100 946GZ (ICH7) Network Connection" }, - { 0x1209, -1, "Intel 82559ER Embedded 10/100 Ethernet" }, - { 0x1229, 0x01, "Intel 82557 Pro/100 Ethernet" }, - { 0x1229, 0x02, "Intel 82557 Pro/100 Ethernet" }, - { 0x1229, 0x03, "Intel 82557 Pro/100 Ethernet" }, - { 0x1229, 0x04, "Intel 82558 Pro/100 Ethernet" }, - { 0x1229, 0x05, "Intel 82558 Pro/100 Ethernet" }, - { 0x1229, 0x06, "Intel 82559 Pro/100 Ethernet" }, - { 0x1229, 0x07, "Intel 82559 Pro/100 Ethernet" }, - { 0x1229, 0x08, "Intel 82559 Pro/100 Ethernet" }, - { 0x1229, 0x09, "Intel 82559ER Pro/100 Ethernet" }, - { 0x1229, 0x0c, "Intel 82550 Pro/100 Ethernet" }, - { 0x1229, 0x0d, "Intel 82550 Pro/100 Ethernet" }, - { 0x1229, 0x0e, "Intel 82550 Pro/100 Ethernet" }, - { 0x1229, 0x0f, "Intel 82551 Pro/100 Ethernet" }, - { 0x1229, 0x10, "Intel 82551 Pro/100 Ethernet" }, - { 0x1229, -1, "Intel 82557/8/9 Pro/100 Ethernet" }, - { 0x2449, -1, "Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet" }, - { 0x27dc, -1, "Intel 82801GB (ICH7) 10/100 Ethernet" }, - { 0, -1, NULL }, + { 0x1029, -1, 0, "Intel 82559 PCI/CardBus Pro/100" }, + { 0x1030, -1, 0, "Intel 82559 Pro/100 Ethernet" }, + { 0x1031, -1, 3, "Intel 82801CAM (ICH3) Pro/100 VE Ethernet" }, + { 0x1032, -1, 3, "Intel 82801CAM (ICH3) Pro/100 VE Ethernet" }, + { 0x1033, -1, 3, "Intel 82801CAM (ICH3) Pro/100 VM Ethernet" }, + { 0x1034, -1, 3, "Intel 82801CAM (ICH3) Pro/100 VM Ethernet" }, + { 0x1035, -1, 3, "Intel 82801CAM (ICH3) Pro/100 Ethernet" }, + { 0x1036, -1, 3, "Intel 82801CAM (ICH3) Pro/100 Ethernet" }, + { 0x1037, -1, 3, "Intel 82801CAM (ICH3) Pro/100 Ethernet" }, + { 0x1038, -1, 3, "Intel 82801CAM (ICH3) Pro/100 VM Ethernet" }, + { 0x1039, -1, 4, "Intel 82801DB (ICH4) Pro/100 VE Ethernet" }, + { 0x103A, -1, 4, "Intel 82801DB (ICH4) Pro/100 Ethernet" }, + { 0x103B, -1, 4, "Intel 82801DB (ICH4) Pro/100 VM Ethernet" }, + { 0x103C, -1, 4, "Intel 82801DB (ICH4) Pro/100 Ethernet" }, + { 0x103D, -1, 4, "Intel 82801DB (ICH4) Pro/100 VE Ethernet" }, + { 0x103E, -1, 4, "Intel 82801DB (ICH4) Pro/100 VM Ethernet" }, + { 0x1050, -1, 5, "Intel 82801BA (D865) Pro/100 VE Ethernet" }, + { 0x1051, -1, 5, "Intel 82562ET (ICH5/ICH5R) Pro/100 VE Ethernet" }, + { 0x1059, -1, 0, "Intel 82551QM Pro/100 M Mobile Connection" }, + { 0x1064, -1, 6, "Intel 82562EZ (ICH6)" }, + { 0x1065, -1, 6, "Intel 82562ET/EZ/GT/GZ PRO/100 VE Ethernet" }, + { 0x1068, -1, 6, "Intel 82801FBM (ICH6-M) Pro/100 VE Ethernet" }, + { 0x1069, -1, 6, "Intel 82562EM/EX/GX Pro/100 Ethernet" }, + { 0x1091, -1, 7, "Intel 82562GX Pro/100 Ethernet" }, + { 0x1092, -1, 7, "Intel Pro/100 VE Network Connection" }, + { 0x1093, -1, 7, "Intel Pro/100 VM Network Connection" }, + { 0x1094, -1, 7, "Intel Pro/100 946GZ (ICH7) Network Connection" }, + { 0x1209, -1, 0, "Intel 82559ER Embedded 10/100 Ethernet" }, + { 0x1229, 0x01, 0, "Intel 82557 Pro/100 Ethernet" }, + { 0x1229, 0x02, 0, "Intel 82557 Pro/100 Ethernet" }, + { 0x1229, 0x03, 0, "Intel 82557 Pro/100 Ethernet" }, + { 0x1229, 0x04, 0, "Intel 82558 Pro/100 Ethernet" }, + { 0x1229, 0x05, 0, "Intel 82558 Pro/100 Ethernet" }, + { 0x1229, 0x06, 0, "Intel 82559 Pro/100 Ethernet" }, + { 0x1229, 0x07, 0, "Intel 82559 Pro/100 Ethernet" }, + { 0x1229, 0x08, 0, "Intel 82559 Pro/100 Ethernet" }, + { 0x1229, 0x09, 0, "Intel 82559ER Pro/100 Ethernet" }, + { 0x1229, 0x0c, 0, "Intel 82550 Pro/100 Ethernet" }, + { 0x1229, 0x0d, 0, "Intel 82550 Pro/100 Ethernet" }, + { 0x1229, 0x0e, 0, "Intel 82550 Pro/100 Ethernet" }, + { 0x1229, 0x0f, 0, "Intel 82551 Pro/100 Ethernet" }, + { 0x1229, 0x10, 0, "Intel 82551 Pro/100 Ethernet" }, + { 0x1229, -1, 0, "Intel 82557/8/9 Pro/100 Ethernet" }, + { 0x2449, -1, 2, "Intel 82801BA/CAM (ICH2/3) Pro/100 Ethernet" }, + { 0x27dc, -1, 7, "Intel 82801GB (ICH7) 10/100 Ethernet" }, + { 0, -1, 0, NULL }, }; #ifdef FXP_IP_CSUM_WAR @@ -214,6 +208,7 @@ static int fxp_suspend(device_t dev); static int fxp_resume(device_t dev); +static struct fxp_ident *fxp_find_ident(device_t dev); static void fxp_intr(void *xsc); static void fxp_rxcsum(struct fxp_softc *sc, struct ifnet *ifp, struct mbuf *m, uint16_t status, int pos); @@ -360,11 +355,8 @@ device_printf(sc->dev, "DMA timeout\n"); } -/* - * Return identification string if this device is ours. - */ -static int -fxp_probe(device_t dev) +static struct fxp_ident * +fxp_find_ident(device_t dev) { uint16_t devid; uint8_t revid; @@ -376,11 +368,26 @@ for (ident = fxp_ident_table; ident->name != NULL; ident++) { if (ident->devid == devid && (ident->revid == revid || ident->revid == -1)) { - device_set_desc(dev, ident->name); - return (BUS_PROBE_DEFAULT); + return (ident); } } } + return (NULL); +} + +/* + * Return identification string if this device is ours. + */ +static int +fxp_probe(device_t dev) +{ + struct fxp_ident *ident; + + ident = fxp_find_ident(dev); + if (ident != NULL) { + device_set_desc(dev, ident->name); + return (BUS_PROBE_DEFAULT); + } return (ENXIO); } @@ -466,10 +473,14 @@ } /* - * Reset to a stable state. + * Put CU/RU idle state and prepare full reset. */ CSR_WRITE_4(sc, FXP_CSR_PORT, FXP_PORT_SELECTIVE_RESET); DELAY(10); + /* Full reset and disable interrupts. */ + CSR_WRITE_4(sc, FXP_CSR_PORT, FXP_PORT_SOFTWARE_RESET); + DELAY(10); + CSR_WRITE_1(sc, FXP_CSR_SCB_INTRCNTL, FXP_SCB_INTR_DISABLE); /* * Find out how large of an SEEPROM we have. @@ -479,11 +490,17 @@ /* * Find out the chip revision; lump all 82557 revs together. */ - fxp_read_eeprom(sc, &data, 5, 1); - if ((data >> 8) == 1) - sc->revision = FXP_REV_82557; - else - sc->revision = pci_get_revid(dev); + sc->ident = fxp_find_ident(dev); + if (sc->ident->ich > 0) { + /* Assume ICH controllers are 82559. */ + sc->revision = FXP_REV_82559_A0; + } else { + fxp_read_eeprom(sc, &data, 5, 1); + if ((data >> 8) == 1) + sc->revision = FXP_REV_82557; + else + sc->revision = pci_get_revid(dev); + } /* * Check availability of WOL. 82559ER does not support WOL. @@ -496,6 +513,13 @@ sc->flags |= FXP_FLAG_WOLCAP; } + /* Receiver lock-up workaround detection. */ + fxp_read_eeprom(sc, &data, 3, 1); + if ((data & 0x03) != 0x03) { + sc->flags |= FXP_FLAG_RXBUG; + device_printf(dev, "Enabling Rx lock-up workaround\n"); + } + /* * Determine whether we must use the 503 serial interface. */ @@ -549,9 +573,8 @@ * * See Intel 82801BA/82801BAM Specification Update, Errata #30. */ - i = pci_get_device(dev); - if (i == 0x2449 || (i > 0x1030 && i < 0x1039) || - sc->revision >= FXP_REV_82559_A0) { + if ((sc->ident->ich >= 2 && sc->ident->ich <= 3) || + (sc->ident->ich == 0 && sc->revision >= FXP_REV_82559_A0)) { fxp_read_eeprom(sc, &data, 10, 1); if (data & 0x02) { /* STB enable */ uint16_t cksum; @@ -642,29 +665,40 @@ BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL, NULL, sc->maxsegsize * sc->maxtxseg + sizeof(struct ether_vlan_header), sc->maxtxseg, sc->maxsegsize, 0, - busdma_lock_mutex, &Giant, &sc->fxp_mtag); + busdma_lock_mutex, &Giant, &sc->fxp_txmtag); if (error) { - device_printf(dev, "could not allocate dma tag\n"); + device_printf(dev, "could not create TX DMA tag\n"); goto fail; } + error = bus_dma_tag_create(bus_get_dma_tag(dev), 2, 0, + BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL, NULL, + MCLBYTES, 1, MCLBYTES, 0, + busdma_lock_mutex, &Giant, &sc->fxp_rxmtag); + if (error) { + device_printf(dev, "could not create RX DMA tag\n"); + goto fail; + } + error = bus_dma_tag_create(bus_get_dma_tag(dev), 4, 0, BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR, NULL, NULL, sizeof(struct fxp_stats), 1, sizeof(struct fxp_stats), 0, busdma_lock_mutex, &Giant, &sc->fxp_stag); if (error) { - device_printf(dev, "could not allocate dma tag\n"); + device_printf(dev, "could not create stats DMA tag\n"); goto fail; } error = bus_dmamem_alloc(sc->fxp_stag, (void **)&sc->fxp_stats, BUS_DMA_NOWAIT | BUS_DMA_ZERO, &sc->fxp_smap); - if (error) + if (error) { + device_printf(dev, "could not allocate stats DMA memory\n"); goto fail; + } error = bus_dmamap_load(sc->fxp_stag, sc->fxp_smap, sc->fxp_stats, sizeof(struct fxp_stats), fxp_dma_map_addr, &sc->stats_addr, 0); if (error) { - device_printf(dev, "could not map the stats buffer\n"); + device_printf(dev, "could not load the stats DMA buffer\n"); goto fail; } @@ -673,20 +707,22 @@ FXP_TXCB_SZ, 1, FXP_TXCB_SZ, 0, busdma_lock_mutex, &Giant, &sc->cbl_tag); if (error) { - device_printf(dev, "could not allocate dma tag\n"); + device_printf(dev, "could not create TxCB DMA tag\n"); goto fail; } error = bus_dmamem_alloc(sc->cbl_tag, (void **)&sc->fxp_desc.cbl_list, BUS_DMA_NOWAIT | BUS_DMA_ZERO, &sc->cbl_map); - if (error) + if (error) { + device_printf(dev, "could not allocate TxCB DMA memory\n"); goto fail; + } error = bus_dmamap_load(sc->cbl_tag, sc->cbl_map, sc->fxp_desc.cbl_list, FXP_TXCB_SZ, fxp_dma_map_addr, &sc->fxp_desc.cbl_addr, 0); if (error) { - device_printf(dev, "could not map DMA memory\n"); + device_printf(dev, "could not load TxCB DMA buffer\n"); goto fail; } @@ -695,18 +731,23 @@ sizeof(struct fxp_cb_mcs), 1, sizeof(struct fxp_cb_mcs), 0, busdma_lock_mutex, &Giant, &sc->mcs_tag); if (error) { - device_printf(dev, "could not allocate dma tag\n"); + device_printf(dev, + "could not create multicast setup DMA tag\n"); goto fail; } error = bus_dmamem_alloc(sc->mcs_tag, (void **)&sc->mcsp, - BUS_DMA_NOWAIT, &sc->mcs_map); - if (error) + BUS_DMA_NOWAIT | BUS_DMA_ZERO, &sc->mcs_map); + if (error) { + device_printf(dev, + "could not allocate multicast setup DMA memory\n"); goto fail; + } error = bus_dmamap_load(sc->mcs_tag, sc->mcs_map, sc->mcsp, sizeof(struct fxp_cb_mcs), fxp_dma_map_addr, &sc->mcs_addr, 0); if (error) { - device_printf(dev, "can't map the multicast setup command\n"); + device_printf(dev, + "can't load the multicast setup DMA buffer\n"); goto fail; } @@ -718,13 +759,13 @@ tcbp = sc->fxp_desc.cbl_list; for (i = 0; i < FXP_NTXCB; i++) { txp[i].tx_cb = tcbp + i; - error = bus_dmamap_create(sc->fxp_mtag, 0, &txp[i].tx_map); + error = bus_dmamap_create(sc->fxp_txmtag, 0, &txp[i].tx_map); if (error) { device_printf(dev, "can't create DMA map for TX\n"); goto fail; } } - error = bus_dmamap_create(sc->fxp_mtag, 0, &sc->spare_map); + error = bus_dmamap_create(sc->fxp_rxmtag, 0, &sc->spare_map); if (error) { device_printf(dev, "can't create spare DMA map\n"); goto fail; @@ -736,7 +777,7 @@ sc->fxp_desc.rx_head = sc->fxp_desc.rx_tail = NULL; for (i = 0; i < FXP_NRFABUFS; i++) { rxp = &sc->fxp_desc.rx_list[i]; - error = bus_dmamap_create(sc->fxp_mtag, 0, &rxp->rx_map); + error = bus_dmamap_create(sc->fxp_rxmtag, 0, &rxp->rx_map); if (error) { device_printf(dev, "can't create DMA map for RX\n"); goto fail; @@ -910,29 +951,32 @@ bus_dmamem_free(sc->mcs_tag, sc->mcsp, sc->mcs_map); } bus_release_resources(sc->dev, sc->fxp_spec, sc->fxp_res); - if (sc->fxp_mtag) { + if (sc->fxp_rxmtag) { for (i = 0; i < FXP_NRFABUFS; i++) { rxp = &sc->fxp_desc.rx_list[i]; if (rxp->rx_mbuf != NULL) { - bus_dmamap_sync(sc->fxp_mtag, rxp->rx_map, + bus_dmamap_sync(sc->fxp_rxmtag, rxp->rx_map, BUS_DMASYNC_POSTREAD); - bus_dmamap_unload(sc->fxp_mtag, rxp->rx_map); + bus_dmamap_unload(sc->fxp_rxmtag, rxp->rx_map); m_freem(rxp->rx_mbuf); } - bus_dmamap_destroy(sc->fxp_mtag, rxp->rx_map); + bus_dmamap_destroy(sc->fxp_rxmtag, rxp->rx_map); } - bus_dmamap_destroy(sc->fxp_mtag, sc->spare_map); + bus_dmamap_destroy(sc->fxp_rxmtag, sc->spare_map); + bus_dma_tag_destroy(sc->fxp_rxmtag); + } + if (sc->fxp_txmtag) { for (i = 0; i < FXP_NTXCB; i++) { txp = &sc->fxp_desc.tx_list[i]; if (txp->tx_mbuf != NULL) { - bus_dmamap_sync(sc->fxp_mtag, txp->tx_map, + bus_dmamap_sync(sc->fxp_txmtag, txp->tx_map, BUS_DMASYNC_POSTWRITE); - bus_dmamap_unload(sc->fxp_mtag, txp->tx_map); + bus_dmamap_unload(sc->fxp_txmtag, txp->tx_map); m_freem(txp->tx_mbuf); } - bus_dmamap_destroy(sc->fxp_mtag, txp->tx_map); + bus_dmamap_destroy(sc->fxp_txmtag, txp->tx_map); } - bus_dma_tag_destroy(sc->fxp_mtag); + bus_dma_tag_destroy(sc->fxp_txmtag); } if (sc->fxp_stag) bus_dma_tag_destroy(sc->fxp_stag); @@ -960,7 +1004,6 @@ #endif FXP_LOCK(sc); - sc->suspended = 1; /* Do same thing as we do for suspend */ /* * Stop DMA and drop transmit queue, but disable interrupts first. */ @@ -970,6 +1013,14 @@ callout_drain(&sc->stat_ch); /* + * Force off IFF_UP flag, otherwise active BPF listeners + * can call fxp_ioctl to clear promiscuous mode and fxp_init + * will rearm fxp_tick which in turn will panic the system + * when kernel tries to call fxp_tick which is not present + * anymore. + */ + sc->ifp->if_flags &= ~IFF_UP; + /* * Close down routes etc. */ ether_ifdetach(sc->ifp); @@ -1279,12 +1330,8 @@ FXP_LOCK_ASSERT(sc, MA_OWNED); - /* - * See if we need to suspend xmit until the multicast filter - * has been reprogrammed (which can only be done at the head - * of the command chain). - */ - if (sc->need_mcsetup) + if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != + IFF_DRV_RUNNING) return; if (sc->tx_queued > FXP_NTXCB_HIWAT) @@ -1324,7 +1371,8 @@ * going again if suspended. */ if (txqueued > 0) { - bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, BUS_DMASYNC_PREWRITE); + bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, + BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); fxp_scb_wait(sc); fxp_scb_cmd(sc, FXP_SCB_COMMAND_CU_RESUME); /* @@ -1498,7 +1546,7 @@ *m_head = m; } - error = bus_dmamap_load_mbuf_sg(sc->fxp_mtag, txp->tx_map, *m_head, + error = bus_dmamap_load_mbuf_sg(sc->fxp_txmtag, txp->tx_map, *m_head, segs, &nseg, 0); if (error == EFBIG) { m = m_collapse(*m_head, M_DONTWAIT, sc->maxtxseg); @@ -1508,7 +1556,7 @@ return (ENOMEM); } *m_head = m; - error = bus_dmamap_load_mbuf_sg(sc->fxp_mtag, txp->tx_map, + error = bus_dmamap_load_mbuf_sg(sc->fxp_txmtag, txp->tx_map, *m_head, segs, &nseg, 0); if (error != 0) { m_freem(*m_head); @@ -1524,7 +1572,7 @@ } KASSERT(nseg <= sc->maxtxseg, ("too many DMA segments")); - bus_dmamap_sync(sc->fxp_mtag, txp->tx_map, BUS_DMASYNC_PREWRITE); + bus_dmamap_sync(sc->fxp_txmtag, txp->tx_map, BUS_DMASYNC_PREWRITE); cbp = txp->tx_cb; for (i = 0; i < nseg; i++) { @@ -1694,7 +1742,8 @@ * First ACK all the interrupts in this pass. */ CSR_WRITE_1(sc, FXP_CSR_SCB_STATACK, statack); - fxp_intr_body(sc, ifp, statack, -1); + if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) + fxp_intr_body(sc, ifp, statack, -1); } FXP_UNLOCK(sc); } @@ -1706,14 +1755,15 @@ struct fxp_tx *txp; ifp = sc->ifp; - bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, BUS_DMASYNC_PREREAD); + bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, + BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE); for (txp = sc->fxp_desc.tx_first; sc->tx_queued && (le16toh(txp->tx_cb->cb_status) & FXP_CB_STATUS_C) != 0; txp = txp->tx_next) { if (txp->tx_mbuf != NULL) { - bus_dmamap_sync(sc->fxp_mtag, txp->tx_map, + bus_dmamap_sync(sc->fxp_txmtag, txp->tx_map, BUS_DMASYNC_POSTWRITE); - bus_dmamap_unload(sc->fxp_mtag, txp->tx_map); + bus_dmamap_unload(sc->fxp_txmtag, txp->tx_map); m_freem(txp->tx_mbuf); txp->tx_mbuf = NULL; /* clear this to reset csum offload bits */ @@ -1723,12 +1773,10 @@ ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; } sc->fxp_desc.tx_first = txp; - bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, BUS_DMASYNC_PREWRITE); - if (sc->tx_queued == 0) { + bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, + BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); + if (sc->tx_queued == 0) sc->watchdog_timer = 0; - if (sc->need_mcsetup) - fxp_mc_setup(sc); - } } static void @@ -1878,7 +1926,7 @@ m = rxp->rx_mbuf; rfa = (struct fxp_rfa *)(m->m_ext.ext_buf + RFA_ALIGNMENT_FUDGE); - bus_dmamap_sync(sc->fxp_mtag, rxp->rx_map, + bus_dmamap_sync(sc->fxp_rxmtag, rxp->rx_map, BUS_DMASYNC_POSTREAD); #ifdef DEVICE_POLLING /* loop at most count times if count >=0 */ @@ -1952,6 +2000,8 @@ (*ifp->if_input)(ifp, m); FXP_LOCK(sc); rx_npkts++; + if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) + return (rx_npkts); } else { /* Reuse RFA and loaded DMA map. */ ifp->if_iqdrops++; @@ -1993,7 +2043,7 @@ if (sp->rx_good) { ifp->if_ipackets += le32toh(sp->rx_good); sc->rx_idle_secs = 0; - } else { + } else if (sc->flags & FXP_FLAG_RXBUG) { /* * Receiver's been idle for another second. */ @@ -2035,7 +2085,9 @@ */ if (sc->rx_idle_secs > FXP_MAX_RX_IDLE) { sc->rx_idle_secs = 0; - fxp_mc_setup(sc); + if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) + fxp_init_body(sc); + return; } /* * If there is no pending command, start another stats @@ -2113,9 +2165,10 @@ if (txp != NULL) { for (i = 0; i < FXP_NTXCB; i++) { if (txp[i].tx_mbuf != NULL) { - bus_dmamap_sync(sc->fxp_mtag, txp[i].tx_map, + bus_dmamap_sync(sc->fxp_txmtag, txp[i].tx_map, BUS_DMASYNC_POSTWRITE); - bus_dmamap_unload(sc->fxp_mtag, txp[i].tx_map); + bus_dmamap_unload(sc->fxp_txmtag, + txp[i].tx_map); m_freem(txp[i].tx_mbuf); txp[i].tx_mbuf = NULL; /* clear this to reset csum offload bits */ @@ -2123,7 +2176,8 @@ } } } - bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, BUS_DMASYNC_PREWRITE); + bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, + BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); sc->tx_queued = 0; } @@ -2175,7 +2229,6 @@ struct fxp_cb_ias *cb_ias; struct fxp_cb_tx *tcbp; struct fxp_tx *txp; - struct fxp_cb_mcs *mcsp; int i, prm; FXP_LOCK_ASSERT(sc, MA_OWNED); @@ -2213,30 +2266,19 @@ /* * Attempt to load microcode if requested. + * For ICH based controllers do not load microcode. */ - if (ifp->if_flags & IFF_LINK0 && (sc->flags & FXP_FLAG_UCODE) == 0) - fxp_load_ucode(sc); + if (sc->ident->ich == 0) { + if (ifp->if_flags & IFF_LINK0 && + (sc->flags & FXP_FLAG_UCODE) == 0) + fxp_load_ucode(sc); + } /* - * Initialize the multicast address list. + * Set IFF_ALLMULTI status. It's needed in configure action + * command. */ - if (fxp_mc_addrs(sc)) { - mcsp = sc->mcsp; - mcsp->cb_status = 0; - mcsp->cb_command = - htole16(FXP_CB_COMMAND_MCAS | FXP_CB_COMMAND_EL); - mcsp->link_addr = 0xffffffff; - /* - * Start the multicast setup command. - */ - fxp_scb_wait(sc); - bus_dmamap_sync(sc->mcs_tag, sc->mcs_map, - BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); - CSR_WRITE_4(sc, FXP_CSR_SCB_GENERAL, sc->mcs_addr); - fxp_scb_cmd(sc, FXP_SCB_COMMAND_CU_START); - /* ...and wait for it to complete. */ - fxp_dma_wait(sc, &mcsp->cb_status, sc->mcs_tag, sc->mcs_map); - } + fxp_mc_addrs(sc); /* * We temporarily use memory that contains the TxCB list to @@ -2310,7 +2352,7 @@ cbp->force_fdx = 0; /* (don't) force full duplex */ cbp->fdx_pin_en = 1; /* (enable) FDX# pin */ cbp->multi_ia = 0; /* (don't) accept multiple IAs */ - cbp->mc_all = sc->flags & FXP_FLAG_ALL_MCAST ? 1 : 0; + cbp->mc_all = ifp->if_flags & IFF_ALLMULTI ? 1 : 0; cbp->gamla_rx = sc->flags & FXP_FLAG_EXT_RFA ? 1 : 0; cbp->vlan_strip_en = ((sc->flags & FXP_FLAG_EXT_RFA) != 0 && (ifp->if_capenable & IFCAP_VLAN_HWTAGGING) != 0) ? 1 : 0; @@ -2366,11 +2408,17 @@ fxp_scb_wait(sc); bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); + CSR_WRITE_4(sc, FXP_CSR_SCB_GENERAL, sc->fxp_desc.cbl_addr); fxp_scb_cmd(sc, FXP_SCB_COMMAND_CU_START); /* ...and wait for it to complete. */ fxp_dma_wait(sc, &cb_ias->cb_status, sc->cbl_tag, sc->cbl_map); /* + * Initialize the multicast address list. + */ + fxp_mc_setup(sc); + + /* * Initialize transmit control block (TxCB) list. */ txp = sc->fxp_desc.tx_list; @@ -2395,11 +2443,13 @@ * unit. It will execute the NOP and then suspend. */ tcbp->cb_command = htole16(FXP_CB_COMMAND_NOP | FXP_CB_COMMAND_S); - bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, BUS_DMASYNC_PREWRITE); + bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, + BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); sc->fxp_desc.tx_first = sc->fxp_desc.tx_last = txp; sc->tx_queued = 1; fxp_scb_wait(sc); + CSR_WRITE_4(sc, FXP_CSR_SCB_GENERAL, sc->fxp_desc.cbl_addr); fxp_scb_cmd(sc, FXP_SCB_COMMAND_CU_START); /* @@ -2545,7 +2595,7 @@ le32enc(&rfa->rbd_addr, 0xffffffff); /* Map the RFA into DMA memory. */ - error = bus_dmamap_load(sc->fxp_mtag, sc->spare_map, rfa, + error = bus_dmamap_load(sc->fxp_rxmtag, sc->spare_map, rfa, MCLBYTES - RFA_ALIGNMENT_FUDGE, fxp_dma_map_addr, &rxp->rx_addr, 0); if (error) { @@ -2554,13 +2604,13 @@ } if (rxp->rx_mbuf != NULL) - bus_dmamap_unload(sc->fxp_mtag, rxp->rx_map); + bus_dmamap_unload(sc->fxp_rxmtag, rxp->rx_map); tmp_map = sc->spare_map; sc->spare_map = rxp->rx_map; rxp->rx_map = tmp_map; rxp->rx_mbuf = m; - bus_dmamap_sync(sc->fxp_mtag, rxp->rx_map, + bus_dmamap_sync(sc->fxp_rxmtag, rxp->rx_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); return (0); } @@ -2582,7 +2632,7 @@ p_rx->rx_next = rxp; le32enc(&p_rfa->link_addr, rxp->rx_addr); p_rfa->rfa_control = 0; - bus_dmamap_sync(sc->fxp_mtag, p_rx->rx_map, + bus_dmamap_sync(sc->fxp_rxmtag, p_rx->rx_map, BUS_DMASYNC_PREWRITE); } else { rxp->rx_next = NULL; @@ -2626,7 +2676,7 @@ le32enc(&rfa->link_addr, 0xffffffff); le32enc(&rfa->rbd_addr, 0xffffffff); - bus_dmamap_sync(sc->fxp_mtag, rxp->rx_map, + bus_dmamap_sync(sc->fxp_rxmtag, rxp->rx_map, BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); } @@ -2680,11 +2730,6 @@ switch (command) { case SIOCSIFFLAGS: FXP_LOCK(sc); - if (ifp->if_flags & IFF_ALLMULTI) - sc->flags |= FXP_FLAG_ALL_MCAST; - else - sc->flags &= ~FXP_FLAG_ALL_MCAST; - /* * If interface is marked up and not running, then start it. * If it is marked down and running, stop it. @@ -2692,35 +2737,24 @@ * such as IFF_PROMISC are handled. */ if (ifp->if_flags & IFF_UP) { - fxp_init_body(sc); + if (((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) && + ((ifp->if_flags ^ sc->if_flags) & + (IFF_PROMISC | IFF_ALLMULTI | IFF_LINK0)) != 0) + fxp_init_body(sc); + else if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) + fxp_init_body(sc); } else { - if (ifp->if_drv_flags & IFF_DRV_RUNNING) + if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) fxp_stop(sc); } + sc->if_flags = ifp->if_flags; FXP_UNLOCK(sc); break; case SIOCADDMULTI: case SIOCDELMULTI: - FXP_LOCK(sc); - if (ifp->if_flags & IFF_ALLMULTI) - sc->flags |= FXP_FLAG_ALL_MCAST; - else - sc->flags &= ~FXP_FLAG_ALL_MCAST; - /* - * Multicast list has changed; set the hardware filter - * accordingly. - */ - if ((sc->flags & FXP_FLAG_ALL_MCAST) == 0) - fxp_mc_setup(sc); - /* - * fxp_mc_setup() can set FXP_FLAG_ALL_MCAST, so check it - * again rather than else {}. - */ - if (sc->flags & FXP_FLAG_ALL_MCAST) - fxp_init_body(sc); - FXP_UNLOCK(sc); - error = 0; + if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) + fxp_init(sc); break; case SIOCSIFMEDIA: @@ -2824,13 +2858,13 @@ int nmcasts; nmcasts = 0; - if ((sc->flags & FXP_FLAG_ALL_MCAST) == 0) { + if ((ifp->if_flags & IFF_ALLMULTI) == 0) { IF_ADDR_LOCK(ifp); TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { if (ifma->ifma_addr->sa_family != AF_LINK) continue; if (nmcasts >= MAXMCADDR) { - sc->flags |= FXP_FLAG_ALL_MCAST; + ifp->if_flags |= IFF_ALLMULTI; nmcasts = 0; break; } @@ -2855,87 +2889,28 @@ * points to the TxCB ring, but the mcsetup descriptor itself is not part * of it. We then can do 'CU_START' on the mcsetup descriptor and have it * lead into the regular TxCB ring when it completes. - * - * This function must be called at splimp. */ static void fxp_mc_setup(struct fxp_softc *sc) { - struct fxp_cb_mcs *mcsp = sc->mcsp; - struct fxp_tx *txp; + struct fxp_cb_mcs *mcsp; int count; FXP_LOCK_ASSERT(sc, MA_OWNED); - /* - * If there are queued commands, we must wait until they are all - * completed. If we are already waiting, then add a NOP command - * with interrupt option so that we're notified when all commands - * have been completed - fxp_start() ensures that no additional - * TX commands will be added when need_mcsetup is true. - */ - if (sc->tx_queued) { - /* - * need_mcsetup will be true if we are already waiting for the - * NOP command to be completed (see below). In this case, bail. - */ - if (sc->need_mcsetup) - return; - sc->need_mcsetup = 1; - /* - * Add a NOP command with interrupt so that we are notified - * when all TX commands have been processed. - */ - txp = sc->fxp_desc.tx_last->tx_next; - txp->tx_mbuf = NULL; - txp->tx_cb->cb_status = 0; - txp->tx_cb->cb_command = htole16(FXP_CB_COMMAND_NOP | - FXP_CB_COMMAND_S | FXP_CB_COMMAND_I); - /* - * Advance the end of list forward. - */ - sc->fxp_desc.tx_last->tx_cb->cb_command &= - htole16(~FXP_CB_COMMAND_S); - bus_dmamap_sync(sc->cbl_tag, sc->cbl_map, BUS_DMASYNC_PREWRITE); - sc->fxp_desc.tx_last = txp; - sc->tx_queued++; - /* - * Issue a resume in case the CU has just suspended. - */ - fxp_scb_wait(sc); - fxp_scb_cmd(sc, FXP_SCB_COMMAND_CU_RESUME); - /* - * Set a 5 second timer just in case we don't hear from the - * card again. - */ - sc->watchdog_timer = 5; - - return; - } - sc->need_mcsetup = 0; - - /* - * Initialize multicast setup descriptor. - */ + mcsp = sc->mcsp; mcsp->cb_status = 0; - mcsp->cb_command = htole16(FXP_CB_COMMAND_MCAS | - FXP_CB_COMMAND_S | FXP_CB_COMMAND_I); - mcsp->link_addr = htole32(sc->fxp_desc.cbl_addr); - txp = &sc->fxp_desc.mcs_tx; - txp->tx_mbuf = NULL; - txp->tx_cb = (struct fxp_cb_tx *)sc->mcsp; - txp->tx_next = sc->fxp_desc.tx_list; - (void) fxp_mc_addrs(sc); - sc->fxp_desc.tx_first = sc->fxp_desc.tx_last = txp; - sc->tx_queued = 1; + mcsp->cb_command = htole16(FXP_CB_COMMAND_MCAS | FXP_CB_COMMAND_EL); + mcsp->link_addr = 0xffffffff; + fxp_mc_addrs(sc); /* - * Wait until command unit is not active. This should never - * be the case when nothing is queued, but make sure anyway. + * Wait until command unit is idle. This should never be the + * case when nothing is queued, but make sure anyway. */ count = 100; - while ((CSR_READ_1(sc, FXP_CSR_SCB_RUSCUS) >> 6) == - FXP_SCB_CUS_ACTIVE && --count) + while ((CSR_READ_1(sc, FXP_CSR_SCB_RUSCUS) >> 6) != + FXP_SCB_CUS_IDLE && --count) DELAY(10); if (count == 0) { device_printf(sc->dev, "command queue timeout\n"); @@ -2946,12 +2921,12 @@ * Start the multicast setup command. */ fxp_scb_wait(sc); - bus_dmamap_sync(sc->mcs_tag, sc->mcs_map, BUS_DMASYNC_PREWRITE); + bus_dmamap_sync(sc->mcs_tag, sc->mcs_map, + BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); CSR_WRITE_4(sc, FXP_CSR_SCB_GENERAL, sc->mcs_addr); fxp_scb_cmd(sc, FXP_SCB_COMMAND_CU_START); - - sc->watchdog_timer = 2; - return; + /* ...and wait for it to complete. */ + fxp_dma_wait(sc, &mcsp->cb_status, sc->mcs_tag, sc->mcs_map); } static uint32_t fxp_ucode_d101a[] = D101_A_RCVBUNDLE_UCODE; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-i386@FreeBSD.ORG Sat May 28 11:30:09 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CAC91065670 for ; Sat, 28 May 2011 11:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4E8E98FC1A for ; Sat, 28 May 2011 11:30:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4SBU98l060366 for ; Sat, 28 May 2011 11:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4SBU9jq060363; Sat, 28 May 2011 11:30:09 GMT (envelope-from gnats) Resent-Date: Sat, 28 May 2011 11:30:09 GMT Resent-Message-Id: <201105281130.p4SBU9jq060363@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugen Konkov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71E61106566B for ; Sat, 28 May 2011 11:20:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 609D58FC17 for ; Sat, 28 May 2011 11:20:43 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4SBKg0w021364 for ; Sat, 28 May 2011 11:20:42 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4SBKgVQ021363; Sat, 28 May 2011 11:20:42 GMT (envelope-from nobody) Message-Id: <201105281120.p4SBKgVQ021363@red.freebsd.org> Date: Sat, 28 May 2011 11:20:42 GMT From: Eugen Konkov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/157379: mtr does not work if I use ipfw nat X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2011 11:30:09 -0000 >Number: 157379 >Category: i386 >Synopsis: mtr does not work if I use ipfw nat >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat May 28 11:30:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eugen Konkov >Release: 9.0-CURRENT >Organization: ISP FreeLine >Environment: uname -a FreeBSD bor 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Wed Feb 23 09:39:22 UTC 2011 @:/usr/obj/usr/src/sys/KES_KERN_v9 i386 >Description: mtr 213.180.204.3 mtr 94.100.191.203 while doing mtr on other session do tcpdump: listening on vlan407, link-type EN10MB (Ethernet), capture size 65535 bytes 13:15:22.791802 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 59520, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fe72 0000 0101 9831 4d5d 3404 d5b4 .@.r.....1M]4... 0x0020: cc03 0800 3754 d82a e880 0000 0000 0000 ....7T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:22.892287 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 59776, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fe75 0000 0201 972e 4d5d 3404 d5b4 .@.u......M]4... 0x0020: cc03 0800 3654 d82a e980 0000 0000 0000 ....6T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:22.992803 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 60032, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fe7c 0000 0301 9627 4d5d 3404 d5b4 .@.|.....'M]4... 0x0020: cc03 0800 3554 d82a ea80 0000 0000 0000 ....5T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:23.093404 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 60288, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fe7f 0000 0401 9524 4d5d 3404 d5b4 .@.......$M]4... 0x0020: cc03 0800 3454 d82a eb80 0000 0000 0000 ....4T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:23.193854 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 60544, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fe85 0000 0501 941e 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 3354 d82a ec80 0000 0000 0000 ....3T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:23.294431 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 60800, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fe89 0000 0601 931a 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 3254 d82a ed80 0000 0000 0000 ....2T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:23.394907 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 61056, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fe8e 0000 0701 9215 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 3154 d82a ee80 0000 0000 0000 ....1T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:23.538341 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 61312, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fe90 0000 0101 9813 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 3054 d82a ef80 0000 0000 0000 ....0T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:23.681751 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 61568, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fe9b 0000 0201 9708 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 2f54 d82a f080 0000 0000 0000 ..../T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:23.913457 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 61824, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fea3 0000 0301 9600 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 2e54 d82a f180 0000 0000 0000 .....T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:24.057309 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 62080, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 fea7 0000 0401 94fc 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 2d54 d82a f280 0000 0000 0000 ....-T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:24.200882 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 62336, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 feaa 0000 0501 93f9 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 2c54 d82a f380 0000 0000 0000 ....,T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:24.344392 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 62592, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 feb0 0000 0601 92f3 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 2b54 d82a f480 0000 0000 0000 ....+T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:24.487980 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 62848, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 feb4 0000 0701 91ef 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 2a54 d82a f580 0000 0000 0000 ....*T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:24.631766 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 63104, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 feb9 0000 0101 97ea 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 2954 d82a f680 0000 0000 0000 ....)T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:24.775333 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 63360, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 febb 0000 0201 96e8 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 2854 d82a f780 0000 0000 0000 ....(T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:24.918849 IP 77.93.52.4 > 213.180.204.3: ICMP echo request, id 55338, seq 63616, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 febf 0000 0301 95e4 4d5d 3404 d5b4 .@........M]4... 0x0020: cc03 0800 2754 d82a f880 0000 0000 0000 ....'T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:28.649027 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 59520, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff44 0000 0101 1ae8 4d5d 3404 5e64 .@.D......M]4.^d 0x0020: bfcb 0800 3654 d92a e880 0000 0000 0000 ....6T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:28.749496 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 59776, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff4b 0000 0201 19e1 4d5d 3404 5e64 .@.K......M]4.^d 0x0020: bfcb 0800 3554 d92a e980 0000 0000 0000 ....5T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:28.850068 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 60032, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff4f 0000 0301 18dd 4d5d 3404 5e64 .@.O......M]4.^d 0x0020: bfcb 0800 3454 d92a ea80 0000 0000 0000 ....4T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:28.950591 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 60288, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff55 0000 0401 17d7 4d5d 3404 5e64 .@.U......M]4.^d 0x0020: bfcb 0800 3354 d92a eb80 0000 0000 0000 ....3T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:29.051139 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 60544, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff58 0000 0501 16d4 4d5d 3404 5e64 .@.X......M]4.^d 0x0020: bfcb 0800 3254 d92a ec80 0000 0000 0000 ....2T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:29.082387 IP 94.100.191.203 > 77.93.52.4: ICMP echo reply, id 55594, seq 60544, length 44 0x0000: 001c c0c8 5a4e 0015 17bc 8cb2 0800 4500 ....ZN........E. 0x0010: 0040 f9d0 0000 3a01 e75b 5e64 bfcb 4d5d .@....:..[^d..M] 0x0020: 3404 0000 3a54 d92a ec80 0000 0000 0000 4...:T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:29.151650 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 60800, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff61 0000 0601 15cb 4d5d 3404 5e64 .@.a......M]4.^d 0x0020: bfcb 0800 3154 d92a ed80 0000 0000 0000 ....1T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:29.182947 IP 94.100.191.203 > 77.93.52.4: ICMP echo reply, id 55594, seq 60800, length 44 0x0000: 001c c0c8 5a4e 0015 17bc 8cb2 0800 4500 ....ZN........E. 0x0010: 0040 f9d1 0000 3a01 e75a 5e64 bfcb 4d5d .@....:..Z^d..M] 0x0020: 3404 0000 3954 d92a ed80 0000 0000 0000 4...9T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:29.319164 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 61056, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff64 0000 0101 1ac8 4d5d 3404 5e64 .@.d......M]4.^d 0x0020: bfcb 0800 3054 d92a ee80 0000 0000 0000 ....0T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:29.486285 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 61312, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff6d 0000 0201 19bf 4d5d 3404 5e64 .@.m......M]4.^d 0x0020: bfcb 0800 2f54 d92a ef80 0000 0000 0000 ..../T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:29.653592 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 61568, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff7a 0000 0301 18b2 4d5d 3404 5e64 .@.z......M]4.^d 0x0020: bfcb 0800 2e54 d92a f080 0000 0000 0000 .....T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:29.820990 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 61824, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff86 0000 0401 17a6 4d5d 3404 5e64 .@........M]4.^d 0x0020: bfcb 0800 2d54 d92a f180 0000 0000 0000 ....-T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:29.988234 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 62080, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff94 0000 0501 1698 4d5d 3404 5e64 .@........M]4.^d 0x0020: bfcb 0800 2c54 d92a f280 0000 0000 0000 ....,T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:30.018923 IP 94.100.191.203 > 77.93.52.4: ICMP echo reply, id 55594, seq 62080, length 44 0x0000: 001c c0c8 5a4e 0015 17bc 8cb2 0800 4500 ....ZN........E. 0x0010: 0040 f9d2 0000 3a01 e759 5e64 bfcb 4d5d .@....:..Y^d..M] 0x0020: 3404 0000 3454 d92a f280 0000 0000 0000 4...4T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:30.020145 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 62336, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff96 0000 0101 1a96 4d5d 3404 5e64 .@........M]4.^d 0x0020: bfcb 0800 2b54 d92a f380 0000 0000 0000 ....+T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:30.220915 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 62592, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff99 0000 0201 1993 4d5d 3404 5e64 .@........M]4.^d 0x0020: bfcb 0800 2a54 d92a f480 0000 0000 0000 ....*T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:30.421681 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 62848, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ff9c 0000 0301 1890 4d5d 3404 5e64 .@........M]4.^d 0x0020: bfcb 0800 2954 d92a f580 0000 0000 0000 ....)T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:30.622383 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 63104, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ffa2 0000 0401 178a 4d5d 3404 5e64 .@........M]4.^d 0x0020: bfcb 0800 2854 d92a f680 0000 0000 0000 ....(T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:30.823029 IP 77.93.52.4 > 94.100.191.203: ICMP echo request, id 55594, seq 63360, length 44 0x0000: 0015 17bc 8cb2 001c c0c8 5a4e 0800 4500 ..........ZN..E. 0x0010: 0040 ffa8 0000 0501 1684 4d5d 3404 5e64 .@........M]4.^d 0x0020: bfcb 0800 2754 d92a f780 0000 0000 0000 ....'T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. 13:15:30.855245 IP 94.100.191.203 > 77.93.52.4: ICMP echo reply, id 55594, seq 63360, length 44 0x0000: 001c c0c8 5a4e 0015 17bc 8cb2 0800 4500 ....ZN........E. 0x0010: 0040 f9d3 0000 3a01 e758 5e64 bfcb 4d5d .@....:..X^d..M] 0x0020: 3404 0000 2f54 d92a f780 0000 0000 0000 4.../T.*........ 0x0030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0x0040: 0000 0000 0000 0000 0000 0000 0000 .............. I have next firewall rules 27256 837110393 768523132480 nat 101 ip from any to 77.93.52.4 in recv vlan407 27490 839235989 768673636925 allow ip from any to any in recv vlan407 27499 0 0 deny log ip from any to any via vlan407 27499 0 0 skipto 65000 ip from any to any 27756 354470115 133051085278 nat 101 ip from 192.168.0.0/16 to any out xmit vlan407 27890 999734221 872518576234 allow ip from any to any out xmit vlan407 27899 0 0 deny log ip from any to any via vlan407 ipfw nat 101 config ip 77.93.52.4 unreg_only reset when I delete these rules and add ipfw add 1 allow all from any to any mtr works fine without any problem. when configure NAT to divert packet to natd. mtr also works fine. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-i386@FreeBSD.ORG Sat May 28 11:42:26 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0C1E1065672; Sat, 28 May 2011 11:42:26 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 89DEC8FC14; Sat, 28 May 2011 11:42:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4SBgQpK081603; Sat, 28 May 2011 11:42:26 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4SBgP42081599; Sat, 28 May 2011 11:42:25 GMT (envelope-from remko) Date: Sat, 28 May 2011 11:42:25 GMT Message-Id: <201105281142.p4SBgP42081599@freefall.freebsd.org> To: 164837122@qq.com, remko@FreeBSD.org, freebsd-i386@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: i386/157378: fxp.ich.patch X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2011 11:42:26 -0000 Synopsis: fxp.ich.patch State-Changed-From-To: open->closed State-Changed-By: remko State-Changed-When: Sat May 28 11:42:25 UTC 2011 State-Changed-Why: Officially we do not support the 4.x range anymore. If you need assistance you can try the mailinglists or poke someone whether he / she might be able to help. That might cost some funding to get people that far. If that is not an option, then I am sad to say tht there are no alternatives. Thank you! http://www.freebsd.org/cgi/query-pr.cgi?pr=157378