Hi list, Are there any problems with the if_re ? After upgrade RELENG_7 on my laptop NIC stopped to work:( uname -a: FreeBSD notebook.minsk.domain 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3: Fri Apr 10 20:38:55 EEST 2009 root@notebook.minsk.domain:/usr/obj/usr/src/sys/tiger-asus-a6m i386 notebook# dhclient re0 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 17 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 5 No DHCPOFFERS received. No working leases in persistent database - sleeping. /var/log/messages: Apr 14 14:52:27 notebook kernel: re0: link state changed to DOWN Apr 14 14:52:29 notebook kernel: re0: link state changed to UP %ifconfig re0 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC> ether 00:1a:92:ca:b3:bc inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active dmesg: http://tiger.byfly.by/files/dmesg.boot pciconf -lv: http://tiger.byfly.by/files/pciconf.txt kernel config: http://tiger.byfly.by/files/tiger-asus-a6m I also try with enabled INET6 and SCTP options (just in case) but same result. -- wbr, tiger
On Tue, Apr 14, 2009 at 05:45:27PM +0300, Sergey V. Dyatko wrote:> Hi list, > > Are there any problems with the if_re ? > After upgrade RELENG_7 on my laptop NIC stopped to work:( >Would you let me know what was the last good working revision of if_re.c on your box?> uname -a: > FreeBSD notebook.minsk.domain 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #3: > Fri Apr 10 20:38:55 EEST 2009 > root@notebook.minsk.domain:/usr/obj/usr/src/sys/tiger-asus-a6m i386 > > notebook# dhclient re0 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 3 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 8 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 12 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 9 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 17 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 5 > No DHCPOFFERS received. > No working leases in persistent database - sleeping. > > /var/log/messages: > Apr 14 14:52:27 notebook kernel: re0: link state changed to DOWN > Apr 14 14:52:29 notebook kernel: re0: link state changed to UP > > > %ifconfig re0 > re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu > 1500 > options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC> > ether 00:1a:92:ca:b3:bc inet 0.0.0.0 netmask 0xff000000 broadcast > 255.255.255.255 media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > > dmesg: http://tiger.byfly.by/files/dmesg.boot > pciconf -lv: http://tiger.byfly.by/files/pciconf.txt > kernel config: http://tiger.byfly.by/files/tiger-asus-a6m > > I also try with enabled INET6 and SCTP options (just in case) but same > result. > > -- > wbr, tiger
On Wed, 15 Apr 2009 13:15:16 +0900 Pyun YongHyeon <pyunyh@gmail.com> wrote: PY> On Tue, Apr 14, 2009 at 05:45:27PM +0300, Sergey V. Dyatko wrote: PY> > Hi list, PY> > PY> > Are there any problems with the if_re ? PY> > After upgrade RELENG_7 on my laptop NIC stopped to work:( PY> > PY> PY> Would you let me know what was the last good working revision of PY> if_re.c on your box? PY> revision 189945 work fine for me. -- wbr, tiger
On Wed, Apr 15, 2009 at 10:04:56AM +0300, Sergey V. Dyatko wrote:> On Wed, 15 Apr 2009 13:15:16 +0900 > Pyun YongHyeon <pyunyh@gmail.com> wrote: > > PY> On Tue, Apr 14, 2009 at 05:45:27PM +0300, Sergey V. Dyatko wrote: > PY> > Hi list, > PY> > > PY> > Are there any problems with the if_re ? > PY> > After upgrade RELENG_7 on my laptop NIC stopped to work:( > PY> > > PY> > PY> Would you let me know what was the last good working revision of > PY> if_re.c on your box? > PY> > > revision 189945 work fine for me. >There are just three commits(r189946, r189947, r190663 after this one. However I have no idea how these can break your controller. Would you check which one broke re(4)?
? Wed, 15 Apr 2009 16:41:44 +0900 Pyun YongHyeon <pyunyh@gmail.com> ?????: PY> On Wed, Apr 15, 2009 at 10:04:56AM +0300, Sergey V. Dyatko wrote: PY> > On Wed, 15 Apr 2009 13:15:16 +0900 PY> > Pyun YongHyeon <pyunyh@gmail.com> wrote: PY> > PY> > PY> On Tue, Apr 14, 2009 at 05:45:27PM +0300, Sergey V. Dyatko PY> > PY> wrote: PY> > PY> > Hi list, PY> > PY> > PY> > PY> > Are there any problems with the if_re ? PY> > PY> > After upgrade RELENG_7 on my laptop NIC stopped to work:( PY> > PY> > PY> > PY> PY> > PY> Would you let me know what was the last good working revision PY> > PY> of if_re.c on your box? PY> > PY> PY> > PY> > revision 189945 work fine for me. PY> > PY> PY> There are just three commits(r189946, r189947, r190663 after this PY> one. However I have no idea how these can break your controller. PY> Would you check which one broke re(4)? I have tried to reduce the revision number starting with r190663. result below: http://tiger.byfly.by/files/step-by-step.txt -- wbr, tiger
On Wed, Apr 15, 2009 at 11:43:43AM +0300, Sergey V. Dyatko wrote:> ? Wed, 15 Apr 2009 16:41:44 +0900 > Pyun YongHyeon <pyunyh@gmail.com> ?????: > > PY> On Wed, Apr 15, 2009 at 10:04:56AM +0300, Sergey V. Dyatko wrote: > PY> > On Wed, 15 Apr 2009 13:15:16 +0900 > PY> > Pyun YongHyeon <pyunyh@gmail.com> wrote: > PY> > > PY> > PY> On Tue, Apr 14, 2009 at 05:45:27PM +0300, Sergey V. Dyatko > PY> > PY> wrote: > PY> > PY> > Hi list, > PY> > PY> > > PY> > PY> > Are there any problems with the if_re ? > PY> > PY> > After upgrade RELENG_7 on my laptop NIC stopped to work:( > PY> > PY> > > PY> > PY> > PY> > PY> Would you let me know what was the last good working revision > PY> > PY> of if_re.c on your box? > PY> > PY> > PY> > > PY> > revision 189945 work fine for me. > PY> > > PY> > PY> There are just three commits(r189946, r189947, r190663 after this > PY> one. However I have no idea how these can break your controller. > PY> Would you check which one broke re(4)? > I have tried to reduce the revision number starting with r190663. > result below: http://tiger.byfly.by/files/step-by-step.txt >Ok, would you set a tunable hw.re.msi_disable="1" with kenv(1) before loading re(4) and send me re(4) related dmesg output? (Make sure to back out all changes made in if_re.c before testing)
? Wed, 15 Apr 2009 19:30:26 +0900 Pyun YongHyeon <pyunyh@gmail.com> ?????: PY> On Wed, Apr 15, 2009 at 11:43:43AM +0300, Sergey V. Dyatko wrote: PY> > ? Wed, 15 Apr 2009 16:41:44 +0900 PY> > Pyun YongHyeon <pyunyh@gmail.com> ?????: PY> > PY> > PY> On Wed, Apr 15, 2009 at 10:04:56AM +0300, Sergey V. Dyatko PY> > PY> wrote: PY> > PY> > On Wed, 15 Apr 2009 13:15:16 +0900 PY> > PY> > Pyun YongHyeon <pyunyh@gmail.com> wrote: PY> > PY> > PY> > PY> > PY> On Tue, Apr 14, 2009 at 05:45:27PM +0300, Sergey V. PY> > PY> > PY> Dyatko wrote: PY> > PY> > PY> > Hi list, PY> > PY> > PY> > PY> > PY> > PY> > Are there any problems with the if_re ? PY> > PY> > PY> > After upgrade RELENG_7 on my laptop NIC stopped to PY> > PY> > PY> > work:( PY> > PY> > PY> > PY> > PY> > PY> PY> > PY> > PY> Would you let me know what was the last good working PY> > PY> > PY> revision of if_re.c on your box? PY> > PY> > PY> PY> > PY> > PY> > PY> > revision 189945 work fine for me. PY> > PY> > PY> > PY> PY> > PY> There are just three commits(r189946, r189947, r190663 after PY> > PY> this one. However I have no idea how these can break your PY> > PY> controller. Would you check which one broke re(4)? PY> > I have tried to reduce the revision number starting with r190663. PY> > result below: http://tiger.byfly.by/files/step-by-step.txt PY> > PY> PY> Ok, would you set a tunable hw.re.msi_disable="1" with kenv(1) PY> before loading re(4) and send me re(4) related dmesg output? PY> (Make sure to back out all changes made in if_re.c before PY> testing) notebook# kenv hw.re.msi_disable 1 notebook# kldload ./if_re.ko notebook# cat /var/log/messages Apr 15 13:33:56 notebook kernel: re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigabit Ethernet> port 0xd800-0xd8ff mem 0xdf6ff000-0xdf6fffff irq 17 at device 0.0 on pci2 Apr 15 13:33:56 notebook kernel: re0: turning off MSI enable bit. Apr 15 13:33:56 notebook kernel: re0: Chip rev. 0x38000000 Apr 15 13:33:56 notebook kernel: re0: MAC rev. 0x00000000 Apr 15 13:33:56 notebook kernel: re0: Ethernet address: 00:1a:92:ca:b3:bc Apr 15 13:33:56 notebook kernel: re0: [FILTER] Apr 15 13:33:56 notebook kernel: miibus0: <MII bus> on re0 Apr 15 13:33:56 notebook kernel: rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0 Apr 15 13:33:56 notebook kernel: rgephy0: interface> 10baseT,10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto Apr 15 13:33:56 notebook kernel: re0: link state changed to DOWN Apr 15 13:33:58 notebook kernel: re0: link state changed to UP notebook# dhclient re0 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7 DHCPOFFER from 192.168.9.1 DHCPREQUEST on re0 to 255.255.255.255 port 67 DHCPACK from 192.168.9.1 bound to 192.168.9.103 -- renewal in 7200 seconds. -- wbr, tiger