Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-28 Thread John Polstra
In article <[EMAIL PROTECTED]>, Brian Fundakowski Feldman <[EMAIL PROTECTED]> wrote: > > Woops, I have the KASSERT bungled up. Please change > KASSERT(to < *hiwat && uip != NULL, > to > KASSERT(to >= *hiwat || uip != NULL, It seems to be fixed now. I've had a script pounding o

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-28 Thread John Polstra
In article <[EMAIL PROTECTED]>, Brian Fundakowski Feldman <[EMAIL PROTECTED]> wrote: > > Woops, I have the KASSERT bungled up. Please change > KASSERT(to < *hiwat && uip != NULL, > to > KASSERT(to >= *hiwat || uip != NULL, Thanks. The system comes up OK now. I'll try to provo

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-27 Thread Brian Fundakowski Feldman
On Sun, 27 Aug 2000, John Polstra wrote: > In article <[EMAIL PROTECTED]>, > Brian Fundakowski Feldman <[EMAIL PROTECTED]> wrote: > > If this is a problem with sbsize, this should take care of any possibility > > ever of there being a problem... > > I tried your patch, but it panics reliably on

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-27 Thread John Polstra
In article <[EMAIL PROTECTED]>, Brian Fundakowski Feldman <[EMAIL PROTECTED]> wrote: > If this is a problem with sbsize, this should take care of any possibility > ever of there being a problem... I tried your patch, but it panics reliably on start-up: Automatic boot in progress... /dev/da0s1a:

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-26 Thread Brian Fundakowski Feldman
If this is a problem with sbsize, this should take care of any possibility ever of there being a problem... Index: kern/kern_proc.c === RCS file: /usr2/ncvs/src/sys/kern/kern_proc.c,v retrieving revision 1.69 diff -u -r1.69 kern_proc

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-24 Thread Alfred Perlstein
* Archie Cobbs <[EMAIL PROTECTED]> [000824 14:52] wrote: > I don't know if this is related to the problems you guys are looking at, > but I have a box that every so often (every couple of months) panics > with a "panic: recieve 1" panic. This panic happens when the socket > character count is bogu

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-24 Thread Archie Cobbs
I don't know if this is related to the problems you guys are looking at, but I have a box that every so often (every couple of months) panics with a "panic: recieve 1" panic. This panic happens when the socket character count is bogus during a recv(2), etc. system call. So several months ago I ca

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-24 Thread Brian Fundakowski Feldman
Try making them small critical sections. If it makes it easier, which it probably will, try this: pass the pointer to sb_hiwat as an argument to chgsbsize and make that the only way to modify it (sockbuf creation would have to be a place where it's initialized manually to 0 ;) I'd say stick the h

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread Alfred Perlstein
* Brian Fundakowski Feldman <[EMAIL PROTECTED]> [000823 22:05] wrote: > On Wed, 23 Aug 2000, Alfred Perlstein wrote: > > > * Alfred Perlstein <[EMAIL PROTECTED]> [000823 14:29] wrote: > > > > > > I have a feeling that this is related to missing spl protection around > > > the chgsbsize subsystem

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread Brian Fundakowski Feldman
On Wed, 23 Aug 2000, Alfred Perlstein wrote: > * Alfred Perlstein <[EMAIL PROTECTED]> [000823 14:29] wrote: > > > > I have a feeling that this is related to missing spl protection around > > the chgsbsize subsystem, this was probably an issue before I touched it > > but since I touched it last I

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread John Polstra
In article <[EMAIL PROTECTED]>, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > more paranioa: > > > Index: uipc_socket.c > === > RCS file: /home/ncvs/src/sys/kern/uipc_socket.c,v > retrieving revision 1.80 > diff -u -u -r1.80 uip

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread Alfred Perlstein
* John Polstra <[EMAIL PROTECTED]> [000823 15:55] wrote: > In article <[EMAIL PROTECTED]>, > Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > > Nope, that doesn't fix it. I got the same panic on the very first > > > try. > > > > hmm, when does it happen? During the transfer or at the end of the

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread John Polstra
In article <[EMAIL PROTECTED]>, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > Nope, that doesn't fix it. I got the same panic on the very first > > try. > > hmm, when does it happen? During the transfer or at the end of the > transfer? The first time I reported the problem it had happened d

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread Alfred Perlstein
* John Polstra <[EMAIL PROTECTED]> [000823 15:39] wrote: > In article <[EMAIL PROTECTED]>, > Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > > > Let's take a more paraniod approach (back out my spl in chgsbsize): > > > > > > Index: uipc_socket2.c > > Nope, that doesn't fix it. I got the same

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread John Polstra
In article <[EMAIL PROTECTED]>, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > Let's take a more paraniod approach (back out my spl in chgsbsize): > > > Index: uipc_socket2.c Nope, that doesn't fix it. I got the same panic on the very first try. John -- John Polstra

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread Alfred Perlstein
* John Polstra <[EMAIL PROTECTED]> [000823 15:03] wrote: > In article <[EMAIL PROTECTED]>, > Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > > John can you try this patch and let us know if you still experiance > > crashes? > > Will do. I'll let you know what happens. Let's take a more parani

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread John Polstra
In article <[EMAIL PROTECTED]>, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > John can you try this patch and let us know if you still experiance > crashes? Will do. I'll let you know what happens. John -- John Polstra [EMAIL PROTECTED] John

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread Alfred Perlstein
* Alfred Perlstein <[EMAIL PROTECTED]> [000823 14:29] wrote: > > I have a feeling that this is related to missing spl protection around > the chgsbsize subsystem, this was probably an issue before I touched it > but since I touched it last I'll have a look-see. > > Brian, does that makes sense?

Re: panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread Alfred Perlstein
* John Polstra <[EMAIL PROTECTED]> [000823 13:46] wrote: > I got the above panic in a -current kernel from August 19 with > INVARIANTS and INVARIANT_SUPPORT compiled in. I also saw it once > before on a kernel from a few weeks ago. In both cases the panic > occurred when receiving a 25 MB file w

panic: reducing sbsize: lost count, uid = 1001

2000-08-23 Thread John Polstra
I got the above panic in a -current kernel from August 19 with INVARIANTS and INVARIANT_SUPPORT compiled in. I also saw it once before on a kernel from a few weeks ago. In both cases the panic occurred when receiving a 25 MB file with FTP over a gigabit Ethernet link (wx driver). Here is the re