On Wed, Mar 30, 2016 at 07:54:31AM +0100, Fred wrote:
> On 03/30/16 06:52, Matthieu Herrb wrote:
> >Hi,
> >
> >I upgraded yesterday a SunFire V100 which serves as an ntpd server. It
> >was running 5.5 before and had 330 days of uptime (which seems to
> >eliminaite hw failure).
> >
> >Running 5.9 the box crashed twice already each time after ca 4 hours
> >of uptime with the same panic. Detais below.
> >
> >Any idea/patch/things to look for under ddb next time it happens ?
> 
> This looks similar to the issues in this thread:
> 
> http://marc.info/?t=143466115000001
> 
> I'm not sure a definative solution was found - but having dc nic's
> was part of the issue.

I can confirm that the patch from
http://marc.info/?l=openbsd-bugs&m=144833598011206&w=2 (reproduced
below) seems to fix the issue for my machine. 

Without it it's impossible to scp a new /bsd to the machine (I needed
to use ftp to transfer the kernel to it). With it I've been able to
scp /bsd several times. 

If someone (dlg?, kettenis?) is interested I can setup a serial
console access to a similar machine with the same problem under
-current.

Index: subr_pool.c
===================================================================
RCS file: /cvs/src/sys/kern/subr_pool.c,v
retrieving revision 1.194
diff -u -r1.194 subr_pool.c
--- subr_pool.c 15 Jan 2016 11:21:58 -0000      1.194
+++ subr_pool.c 30 Mar 2016 11:42:42 -0000
@@ -258,7 +258,7 @@
         */
        if (pgsize - (size * items) > sizeof(struct pool_item_header)) {
                off = pgsize - sizeof(struct pool_item_header);
-       } else if (sizeof(struct pool_item_header) * 2 >= size) {
+       } else if (sizeof(struct pool_item_header) * 8 >= size) {
                off = pgsize - sizeof(struct pool_item_header);
                items = off / size;
        }

-- 
Matthieu Herrb

Attachment: pgpsVH1yPZfB9.pgp
Description: PGP signature

Reply via email to