Subject: Re: momentary freezes in -current
To: Jukka Marin <jmarin@kyyhky.embedtronics.fi>
From: Kenneth Freidank <kennethcf@earthlink.net>
List: current-users
Date: 08/04/2006 01:18:04
This is a multi-part message in MIME format.
--------------070609080504050403000506
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Jukka Marin wrote:
> An update:
>
> On Mon, Jul 24, 2006 at 01:16:30PM +0300, Jukka Marin wrote:
>   
>> I'm setting up this SMP amd64 system, now running the i386 port, -current
>> kernel and binaries built yesterday.
>>
>> I have a large raidframe "disk" (raid1, two SATA disks).  I used tar
>> to archive some 30 GB of files into a partition (no softdep) on the
>> raid disk.  The source files were read over NFS.  Nothing else (but
>> systat) was running on the system.
>>
>> A few times during the copy, the system froze completely and then
>> woke up again.  When this happens, the system does not respond to
>> ping, it doesn't update the systat display or do anything visible.
>> During the copy, over 40 ping packets were lost.
>>     
>
> The system does _not_ freeze, but the network interface does.
>
> I had been using the amd64 system over LAN only, so when the network
> interface paused, my ssh connection (and ping etc) was also paused.
>
> Sorry for spreading misinformation about this ;)
>
> This what dmesg says about the networking hardware:
>
> nfe0 at pci0 dev 10 function 0APCH: Picked IRQ 21 with weight 1: ioapic0 pin 21 (irq 10), address 00:e0:81:55:90:81
> makphy0 at nfe0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
> makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
>
>   -jm
>
>   

I have the same behavior when using a single wireless node running on my 
laptop with an D-Link Air Plus DWL-G650 H/W ver B5, using the Atheros 
ath0 driver.  I have a hardwired node using the fxp0 driver.  The 
hardwired node has the NFS drives and horsepower to do all my compiles.  
However, NFS seems to get stuck at times, as does ftp and ping.  
Sometimes I could get things going again by restarting my wireless 
router, a D-Link DI-624, but not always.  I am not using the router's 
DHCP capabilities.

My solution was discovered by accident:  Turn on another wireless node.  
As long as I have 2 wireless nodes turned on, I never seem to have an 
NFS, ftp, or ping issue.

dmesg on my laptop for ath0 driver:

pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
cbb0 at pci0 dev3 function 0: 02 Micro OZ6812/OZ6872 PCI-CardBus Bridge 
(rev. 0x05)
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1
ath0 at cardbus0 function 0
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 7.9 phy 4.5 radio 5.6
ath0: interrupting at 10


dmesg on my hardwired node:

pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x12)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
fxp0 at pci2 dev 8 function 0: Intel i82562 Ethernet, rev 3
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:02:55:1d:3d:b4
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0


--------------070609080504050403000506
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jukka Marin wrote:
<blockquote cite="mid20060802153227.GA5367@kyyhky.embedtronics.fi"
 type="cite">
  <pre wrap="">An update:

On Mon, Jul 24, 2006 at 01:16:30PM +0300, Jukka Marin wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm setting up this SMP amd64 system, now running the i386 port, -current
kernel and binaries built yesterday.

I have a large raidframe "disk" (raid1, two SATA disks).  I used tar
to archive some 30 GB of files into a partition (no softdep) on the
raid disk.  The source files were read over NFS.  Nothing else (but
systat) was running on the system.

A few times during the copy, the system froze completely and then
woke up again.  When this happens, the system does not respond to
ping, it doesn't update the systat display or do anything visible.
During the copy, over 40 ping packets were lost.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The system does _not_ freeze, but the network interface does.

I had been using the amd64 system over LAN only, so when the network
interface paused, my ssh connection (and ping etc) was also paused.

Sorry for spreading misinformation about this ;)

This what dmesg says about the networking hardware:

nfe0 at pci0 dev 10 function 0APCH: Picked IRQ 21 with weight 1: ioapic0 pin 21 (irq 10), address 00:e0:81:55:90:81
makphy0 at nfe0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto

  -jm

  </pre>
</blockquote>
<br>
I have the same behavior when using a single wireless node running on
my laptop with an D-Link Air Plus DWL-G650 H/W ver B5, using the
Atheros ath0 driver.&nbsp; I have a hardwired node using the fxp0 driver.&nbsp;
The hardwired node has the NFS drives and horsepower to do all my
compiles.&nbsp; However, NFS seems to get stuck at times, as does ftp and
ping.&nbsp; Sometimes I could get things going again by restarting my
wireless router, a D-Link DI-624, but not always.&nbsp; I am not using the
router's DHCP capabilities.<br>
<br>
My solution was discovered by accident:&nbsp; Turn on another wireless
node.&nbsp; As long as I have 2 wireless nodes turned on, I never seem to
have an NFS, ftp, or ping issue.<br>
<br>
dmesg on my laptop for ath0 driver:<br>
<br>
pci0 at mainbus0 bus 0: configuration mode 1<br>
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok<br>
cbb0 at pci0 dev3 function 0: 02 Micro OZ6812/OZ6872 PCI-CardBus Bridge
(rev. 0x05)<br>
cbb0: interrupting at irq 10<br>
cardslot0 at cbb0 slot 0 flags 0<br>
cardbus0 at cardslot0: bus 1<br>
ath0 at cardbus0 function 0<br>
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps<br>
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps<br>
ath0: mac 7.9 phy 4.5 radio 5.6<br>
ath0: interrupting at 10<br>
<br>
<br>
dmesg on my hardwired node:<br>
<br>
pci0 at mainbus0 bus 0: configuration mode 1<br>
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok<br>
ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x12)<br>
pci2 at ppb1 bus 2<br>
pci2: i/o space, memory space enabled<br>
fxp0 at pci2 dev 8 function 0: Intel i82562 Ethernet, rev 3<br>
fxp0: interrupting at irq 11<br>
fxp0: Ethernet address 00:02:55:1d:3d:b4<br>
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0<br>
<br>
</body>
</html>

--------------070609080504050403000506--