7.2-p4: panic: ufsdirhash_lookup: bad offset in hash array

2010-02-26 Thread Charles Sprickman
I have a box that has paniced two nights in a row with this error. I have a corefile from last night, but tonight's failed: Uptime: 23h55m22s Physical memory: 6130 MB Dumping 759 MB: 744 728 712 696 680 664 648 ** DUMP FAILED (ERROR 16) ** Here's some info from the core I do have: #0 doadump

Re: em0 freezes on ZFS server

2010-02-26 Thread Willem Jan Withagen
On 25-2-2010 23:59, Jack Vogel wrote: The failure to "setup receive structures" means it did not have sufficient mbufs to setup the RX ring and buffer structs. Not sure why this results in a lockup, but try and increase kern.ipc.nmbclusters. Let me know what happens, I've doubled the value 256

Re: em0 freezes on ZFS server

2010-02-26 Thread Willem Jan Withagen
On 26-2-2010 10:58, Gerrit Kühn wrote: On Fri, 26 Feb 2010 10:34:41 +0100 Willem Jan Withagen wrote about Re: em0 freezes on ZFS server: WJW> Probably the reason why this happened yesterday is that I started WJW> doing major software builds (over ZFS/NFS/TCP/v3) against data stored WJW> on th

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 10:34:41 +0100 Willem Jan Withagen wrote about Re: em0 freezes on ZFS server: WJW> Probably the reason why this happened yesterday is that I started WJW> doing major software builds (over ZFS/NFS/TCP/v3) against data stored WJW> on this box. I saw a similar problem this morni

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Thu, 25 Feb 2010 14:59:28 -0800 Jack Vogel wrote about Re: em0 freezes on ZFS server: JV> The failure to "setup receive structures" means it did not have JV> sufficient mbufs JV> to setup the RX ring and buffer structs. I don't know if this is related, but I updated an amd64 zfs machine with

Many many many thanks to all that develop FreeBSD.

2010-02-26 Thread Willem Jan Withagen
Hi, When everything is life is just smoothly flowing by, and all is hunky-dory, some things don't get the credits they deserve. So here we go ;) Standing at the coffee machine this morning I realized that FreeBSD has been part of my professional life for already way, way too long. Before

Re: panic - sleeping thread on FreeBSD 8.0-stable / amd64

2010-02-26 Thread Torfinn Ingolfsen
On Sat, 20 Feb 2010 15:35:46 -0800 Jeremy Chadwick wrote: After five days - a new crash. From /var/log/messages: Feb 26 00:57:39 kg-f2 ntpd[55453]: kernel time sync status change 6001 Feb 26 01:39:40 kg-f2 kernel: ata5: port is not ready (timeout 1ms) tfd = 007f Feb 26 01:39:40 kg-f2 ker

Re: panic - sleeping thread on FreeBSD 8.0-stable / amd64

2010-02-26 Thread Jeremy Chadwick
On Fri, Feb 26, 2010 at 11:03:37AM +0100, Torfinn Ingolfsen wrote: > > What exact disks (e.g. adX) are attached to ata5 and ata6? > > r...@kg-f2# dmesg | grep ata5 > ata5: on atapci0 > ata5: [ITHREAD] > ad10: 953869MB at ata5-master UDMA100 SATA 3Gb/s > r...@kg-f2# dmesg | grep ata6 > ata6: on

Re: panic - sleeping thread on FreeBSD 8.0-stable / amd64

2010-02-26 Thread Torfinn Ingolfsen
On Fri, 26 Feb 2010 11:03:37 +0100 Torfinn Ingolfsen wrote: > I will try that now. It might take five days or more to get an answer. Or not. Another panic. Output from /var/log/messages: Feb 26 11:10:33 kg-f2 ntpd[942]: kernel time sync status change 2001 Feb 26 11:44:19 kg-f2 kernel: ata5: port

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Thu, 25 Feb 2010 14:59:28 -0800 Jack Vogel wrote about Re: em0 freezes on ZFS server: JV> The failure to "setup receive structures" means it did not have JV> sufficient mbufs JV> to setup the RX ring and buffer structs. I'm monitoring mbufs since I rebooted my server. Right now (after 2.5 hou

Re: em0 freezes on ZFS server

2010-02-26 Thread Jeremy Chadwick
On Fri, Feb 26, 2010 at 10:34:41AM +0100, Willem Jan Withagen wrote: > This is wat netstat -m told me when it refused to revive em0: Below are the netstat -m counters/lines of concern: > 24980/2087/27067 mbufs in use (current/cache/total) > 24530/1070/25600/25600 mbuf clusters in use (current/cac

Re: em0 freezes on ZFS server

2010-02-26 Thread Willem Jan Withagen
On 26-2-2010 13:03, Jeremy Chadwick wrote: On Fri, Feb 26, 2010 at 10:34:41AM +0100, Willem Jan Withagen wrote: This is wat netstat -m told me when it refused to revive em0: Below are the netstat -m counters/lines of concern: 24980/2087/27067 mbufs in use (current/cache/total) 24530/1070/256

Re: em0 freezes on ZFS server

2010-02-26 Thread Willem Jan Withagen
On 26-2-2010 13:16, Gerrit Kühn wrote: On Thu, 25 Feb 2010 14:59:28 -0800 Jack Vogel wrote about Re: em0 freezes on ZFS server: JV> The failure to "setup receive structures" means it did not have JV> sufficient mbufs JV> to setup the RX ring and buffer structs. I'm monitoring mbufs since I

Re: Panic on 8-STABLE in mpt(4) on a DELL PowerEdge R300

2010-02-26 Thread Alexander Motin
John J. Rushford wrote: > I'm running into the same problem, mpt(4) panic on FreeBSD 8-STABLE. > > I'm running FreeBSD 8.0-STABLE, the current kernel was cvsup'd and built > @ January 14th, 2010. I cvsup'd tonight, 2/25/2010, and built a new > kernel. Attached is the panic when I tried to boot i

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 04:03:39 -0800 Jeremy Chadwick wrote about Re: em0 freezes on ZFS server: JC> Note how close the "current" value is to that of "total". I'm not too JC> surprised you're seeing what you are as a result of this. What on JC> earth is this machine doing at all times? Well, spea

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 13:31:38 +0100 Gerrit Kühn wrote about Re: em0 freezes on ZFS server: GK> JC> Note how close the "current" value is to that of "total". I'm not GK> JC> too surprised you're seeing what you are as a result of this. GK> JC> What on earth is this machine doing at all times? GK>

Re: em0 freezes on ZFS server

2010-02-26 Thread Willem Jan Withagen
On 26-2-2010 13:44, Gerrit Kühn wrote: On Fri, 26 Feb 2010 13:31:38 +0100 Gerrit Kühn wrote about Re: em0 freezes on ZFS server: GK> JC> Note how close the "current" value is to that of "total". I'm not GK> JC> too surprised you're seeing what you are as a result of this. GK> JC> What o

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 15:04:37 +0200 Daniel Braniss wrote about Re: em0 freezes on ZFS server : DB> > At least in my case I found out what is eating the buffers: nfsd DB> > does! The buffers stop increasing as soon as I stop nfsd. However, DB> > they start increasing as soon as I start nfsd again.

Re: em0 freezes on ZFS server

2010-02-26 Thread Daniel Braniss
> On Fri, 26 Feb 2010 13:31:38 +0100 Gerrit Kühn > wrote about Re: em0 freezes on ZFS server: > > GK> JC> Note how close the "current" value is to that of "total". I'm not > GK> JC> too surprised you're seeing what you are as a result of this. > GK> JC> What on earth is this machine doing at all

Re: Panic on 8-STABLE in mpt(4) on a DELL PowerEdge R300

2010-02-26 Thread Lorenzo Perone
COOL! THANKS a LOT Alexander! Can't believe it. You post a panic at 11pm and get a patch at 1pm next day...? You must be crazy! ;) Works for me. I patched against 8/stable. I'll be testing the machine a bit more. But for now, no panics! I guess the patch should be committed soon, also becau

Sysinstall does not define SATA

2010-02-26 Thread oleg
Have a nice time! Got some trouble. The Sysinstall program of FreeBSD 8.0 release does not define SATA hard drives. Can`t create slices. But that machine works correctly by Windows. See attached dmesg file. Please, let me know, what mast i do? Many thanks for the help. --- Ванкувер 2010. Новос

Re: em0 freezes on ZFS server

2010-02-26 Thread Daniel Braniss
> On Fri, 26 Feb 2010 15:04:37 +0200 Daniel Braniss > wrote about Re: em0 freezes on ZFS server : > > DB> > At least in my case I found out what is eating the buffers: nfsd > DB> > does! The buffers stop increasing as soon as I stop nfsd. However, > DB> > they start increasing as soon as I start

Re: Sysinstall does not define SATA

2010-02-26 Thread Jeremy Chadwick
On Fri, Feb 26, 2010 at 05:21:52PM +0300, oleg wrote: > Got some trouble. The Sysinstall program of FreeBSD 8.0 release does > not define SATA hard drives. Can`t create slices. > But that machine works correctly by Windows. > See attached dmesg file. The hard disks are seen by the system as classi

Re: Sysinstall does not define SATA

2010-02-26 Thread Thomas Ronner
Hello, On 26 Feb 2010, at 15:21, oleg wrote: Got some trouble. The Sysinstall program of FreeBSD 8.0 release does not define SATA hard drives. Can`t create slices. But that machine works correctly by Windows. See attached dmesg file. The dmesg you attached is from FreeBSD 6.1, not 8.0. It

Re: Sysinstall does not define SATA

2010-02-26 Thread Jeremy Chadwick
On Fri, Feb 26, 2010 at 07:19:25AM -0800, Jeremy Chadwick wrote: > On Fri, Feb 26, 2010 at 05:21:52PM +0300, oleg wrote: > > Got some trouble. The Sysinstall program of FreeBSD 8.0 release does > > not define SATA hard drives. Can`t create slices. > > But that machine works correctly by Windows. >

Re: em0 freezes on ZFS server

2010-02-26 Thread Willem Jan Withagen
On 26-2-2010 16:07, Daniel Braniss wrote: On Fri, 26 Feb 2010 15:04:37 +0200 Daniel Braniss wrote about Re: em0 freezes on ZFS server : DB> > At least in my case I found out what is eating the buffers: nfsd DB> > does! The buffers stop increasing as soon as I stop nfsd. However, DB> > they

Re: em0 freezes on ZFS server

2010-02-26 Thread Daniel Braniss
> when I have enough data i'll plot it. > check: ftp://ftp.cs.huji.ac.il/users/danny/freebsd/plot.ps x is seconds, y is mbus current. > Cheers, > danny > > > ___ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailm

Re: em0 freezes on ZFS server

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 17:07:13 +0200 Daniel Braniss wrote about Re: em0 freezes on ZFS server : DB> it's only purpose in life is a nfs server. I thought so, but you did not mention it explicitely. DB> but I wouldn't exclude zfs from the equation yet. DB> I have othere nfs servers, not doing zfs a

mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server)

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 17:41:02 +0200 Daniel Braniss wrote about Re: em0 freezes on ZFS server : DB> check: DB> ftp://ftp.cs.huji.ac.il/users/danny/freebsd/plot.ps DB> x is seconds, y is mbus current. Looks not as bad as mine. I had 37k when I rebooted the machine some minutes ago (and it's bas

Re: Sysinstall does not define SATA

2010-02-26 Thread oleg
On Fri, 26 Feb 2010 07:19:25 -0800 Jeremy Chadwick wrote: On Fri, Feb 26, 2010 at 05:21:52PM +0300, oleg wrote: Got some trouble. The Sysinstall program of FreeBSD 8.0 release does not define SATA hard drives. Can`t create slices. But that machine works correctly by Windows. See attached dmesg

Panic on 8-STABLE in pfctl with options VIMAGE on a DELL PowerEdge R300 (bge)

2010-02-26 Thread Lorenzo Perone
Hello, Just encountered a panic when starting pf (/etc/rc.d/pf start) on a FreeBSD benjamin 8.0-STABLE uname -a FreeBSD 8.0-STABLE #0: Fri Feb 26 18:33:44 UTC 2010 r...@benjamin:/usr/obj/usr/src/sys/BYTESATWORK_R8_INTEL_DEBUG amd64 the system is a Dell PowerEdge R300 with bge interfaces,

Re: Panic on 8-STABLE in pfctl with options VIMAGE on a DELL PowerEdge R300 (bge)

2010-02-26 Thread Bjoern A. Zeeb
On Fri, 26 Feb 2010, Lorenzo Perone wrote: Hi, While I was just planning to experiment with VIMAGE, and it is not required for production (I'm aware of the message of it being experimental...), I thought it might be useful to report it. Please send me a note if I should file a pr. The panic

ipfw & natd with recent MFC of firewall_coscripts functionality

2010-02-26 Thread Bob Willcox
I just updated my gateway machine to 7.3-PRERELEASE and immediately noticed that natd no longer started (hard to miss, no outside network access). It looks like the MFC of the firewall_coscripts function may be the cause (cvs rev 1.15.2.3 to /usr/src/etc/rc.d/ipfw). These changes add the two lines

Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server)

2010-02-26 Thread Daniel Braniss
> On Fri, 26 Feb 2010 17:41:02 +0200 Daniel Braniss > wrote about Re: em0 freezes on ZFS server : > > DB> check: > DB> ftp://ftp.cs.huji.ac.il/users/danny/freebsd/plot.ps > DB> x is seconds, y is mbus current. > > Looks not as bad as mine. I had 37k when I rebooted the machine some > minutes a

Re: Panic on 8-STABLE in pfctl with options VIMAGE on a DELL PowerEdge R300 (bge)

2010-02-26 Thread Onur Bektas
Hi, I had the same problem, I have updated the source tree and recompile the kernel but the problem is still unresolved.. pf + vimage = "kernel crash" problem was also reported as a bug.. http://www.freebsd.org/cgi/query-pr.cgi?pr=143808&cat= Regards, Onur. On 2/26/2010 8:18 PM, Lorenzo

Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server)

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 22:09:32 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server) : DB> > Furthermore I found this via Google: DB> > . This did not help, I still see the sam

Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server)

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 22:09:32 +0200 Daniel Braniss wrote about Re: mbuf leakage with nfs/zfs? (was: em0 freezes on ZFS server) : DB> at the moment there is not much activity, but if you check the latest DB> plot.ps you will see that the bottom is slowly increasing, so my bet DB> is that there must

Re: mbuf leakage with nfs/zfs?

2010-02-26 Thread Willem Jan Withagen
On 26-2-2010 22:43, Gerrit Kühn wrote: DB> I'll have to do some packet snooping to check if it's TCP or UDP nfs DB> traffic, since some of the clients are Linux ... I have Linux clients, too. Some use tcp, some udp. I have Linux and FreeBSD clients running. The build system runs on Linux. A

Re: if_bge upload stalls repeatedly (Was: 8-STABLE outgoing scp stalling frequently)

2010-02-26 Thread Pyun YongHyeon
On Fri, Feb 05, 2010 at 10:31:37AM +1300, Jonathan Chen wrote: > On Thu, Feb 04, 2010 at 11:23:15AM -0800, Pyun YongHyeon wrote: > > On Thu, Feb 04, 2010 at 03:00:15PM +1300, Jonathan Chen wrote: > > > On Wed, Feb 03, 2010 at 05:25:03PM -0800, Pyun YongHyeon wrote: > [...] > > > > I'm not sure but

[releng_8 tinderbox] failure on powerpc/powerpc

2010-02-26 Thread FreeBSD Tinderbox
TB --- 2010-02-26 21:24:43 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-02-26 21:24:43 - starting RELENG_8 tinderbox run for powerpc/powerpc TB --- 2010-02-26 21:24:43 - cleaning the object tree TB --- 2010-02-26 21:25:00 - cvsupping the source tree TB --- 2010-02-26 21:25:00 -

[releng_8 tinderbox] failure on sparc64/sparc64

2010-02-26 Thread FreeBSD Tinderbox
TB --- 2010-02-26 21:41:33 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-02-26 21:41:33 - starting RELENG_8 tinderbox run for sparc64/sparc64 TB --- 2010-02-26 21:41:33 - cleaning the object tree TB --- 2010-02-26 21:41:48 - cvsupping the source tree TB --- 2010-02-26 21:41:48 -

Re: Panic on 8-STABLE in mpt(4) on a DELL PowerEdge R300

2010-02-26 Thread John J. Rushford
Thanks very much Alexander, I'll test t the patch this weekend. John Lorenzo Perone wrote: COOL! THANKS a LOT Alexander! Can't believe it. You post a panic at 11pm and get a patch at 1pm next day...? You must be crazy! ;) Works for me. I patched against 8/stable. I'll be testing the machine

Re: mbuf leakage with nfs/zfs?

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 23:12:39 +0100 Willem Jan Withagen wrote about Re: mbuf leakage with nfs/zfs?: WJW> Mine are now: WJW> 41533/2402/43935 mbufs in use (current/cache/total) WJW> 41454/1572/43026/262144 mbuf clusters in use (current/cache/total/max) WJW> 39241/823 mbuf+clusters out of packet sec

Re: mbuf leakage with nfs/zfs?

2010-02-26 Thread Gerrit Kühn
On Fri, 26 Feb 2010 23:12:39 +0100 Willem Jan Withagen wrote about Re: mbuf leakage with nfs/zfs?: WJW> > DB> I'll have to do some packet snooping to check if it's TCP or WJW> > DB> UDP nfs traffic, since some of the clients are Linux ... WJW> > I have Linux clients, too. Some use tcp, some udp

Re: mbuf leakage with nfs/zfs?

2010-02-26 Thread Daniel Braniss
> On Fri, 26 Feb 2010 23:12:39 +0100 Willem Jan Withagen > wrote about Re: mbuf leakage with nfs/zfs?: > > WJW> > DB> I'll have to do some packet snooping to check if it's TCP or > WJW> > DB> UDP nfs traffic, since some of the clients are Linux ... > > WJW> > I have Linux clients, too. Some use