Re: panic: mutex vm not owned

2001-05-21 Thread David Malone
Please try the attached patch. I make no claims of its correctness, but this e-mail is coming to you via X on -current updated a few hours ago so it works here :-). I tried Dima's patch (the one which Alfred has committed) and I get an earlier mutex recursion panic, probably when a local

Re: panic: mutex vm not owned

2001-05-21 Thread Dima Dorfman
David Malone [EMAIL PROTECTED] writes: Please try the attached patch. I make no claims of its correctness, but this e-mail is coming to you via X on -current updated a few hours ago so it works here :-). I tried Dima's patch (the one which Alfred has committed) and I get an earlier

Re: panic: mutex vm not owned

2001-05-21 Thread David Malone
I tried Dima's patch (the one which Alfred has committed) and I get an earlier mutex recursion panic, probably when a local progam that uses shm forks and exits. I scribbled down this trace from it: Is there such a program in the base system? Nope - it's part of a radio refclock for

Re: panic: mutex vm not owned

2001-05-21 Thread David Malone
On Mon, May 21, 2001 at 01:44:16AM -0700, Dima Dorfman wrote: exit1 calls shmexit with vm_mtx held on line 228 of kern_exit.c (rev. 1.127). Actually, shmexit_myhook should always be called with vm_mtx held, so shm_delete_mapping can't assume it isn't held. The following seems to work. It's

Re: panic: mutex vm not owned

2001-05-21 Thread Dima Dorfman
David Malone [EMAIL PROTECTED] writes: On Mon, May 21, 2001 at 01:44:16AM -0700, Dima Dorfman wrote: exit1 calls shmexit with vm_mtx held on line 228 of kern_exit.c (rev. 1.127). Actually, shmexit_myhook should always be called with vm_mtx held, so shm_delete_mapping can't assume it

Re: panic: mutex vm not owned

2001-05-21 Thread Alfred Perlstein
* Dima Dorfman [EMAIL PROTECTED] [010521 20:02] wrote: David Malone [EMAIL PROTECTED] writes: On Mon, May 21, 2001 at 01:44:16AM -0700, Dima Dorfman wrote: exit1 calls shmexit with vm_mtx held on line 228 of kern_exit.c (rev. 1.127). Actually, shmexit_myhook should always be called

Re: panic: mutex vm not owned

2001-05-21 Thread Bob Bishop
Hi, I've seem to have the swap-related variety of this one: panic: mutex vm not owned at ../../vm/vm_page.h:328 ...from a kernel cvsup approx 0300 GMT on Sunday. But I'm surprised. This box has 128MB and will rarely swap building world (which is what it was doing). The only other oddity

Re: panic: mutex vm not owned...

2001-05-20 Thread Szilveszter Adam
me this time:-) I was building Mozilla when it struck. Today's -CURRENT, kernel world in sync, no softupdates. panic: mutex vm not owned at ../../vm/vm_page.h:328 Debugger(panic) ... Thanks for the traceback, can you apply this patch then try to get your machine to swap

Re: panic: mutex vm not owned...

2001-05-20 Thread Szilveszter Adam
, eip= 0x2824dc2e, esp=0xbfbfe16c, ebp=0xbfbfe160 then after 'c': syncing disks... panic: mutex vm owned at ../../kern/vfs_bio:2998 nice long trace: Debugger panic _mtx_assert vfs_busy_pages bwrite vfs_bio_awrite spec_fsync spec_vnoperate ffs_sync sync boot panic msleep swap_pager_getpages

panic: mutex vm not owned

2001-05-20 Thread Mike Heffner
May 20 EDT, the following is the panic message: panic: mutex vm not owned at /usr/src/sys/vm/vm_object.c:330 This was the first time I've tried getting a crashdump and analyzing it, however when I follow the directions in the handbook, gdb seg. faults (could this be because it panic'd in the vm

Re: panic: mutex vm not owned

2001-05-20 Thread David Malone
be swapping at this point. The kernel and world are cvsupd to about 12am May 20 EDT, the following is the panic message: I'm getting a panic whenever I start X too (with a kernel from earlier today). I managed to get a DDB trace from a serial console. David. panic: mutex vm not owned at ../../vm

Re: panic: mutex vm not owned

2001-05-20 Thread Dima Dorfman
David Malone [EMAIL PROTECTED] writes: On Sun, May 20, 2001 at 12:59:51PM -0400, Mike Heffner wrote: The machine is up for about one minute and then I ran `startx' and the screen turned black and it appeared to lockup, after about 30 seconds plus some banging on the keyboard it rebooted. I

Re: panic: mutex vm not owned

2001-05-20 Thread Szilveszter Adam
On Sun, May 20, 2001 at 01:29:22PM -0700, Dima Dorfman wrote: David Malone [EMAIL PROTECTED] writes: On Sun, May 20, 2001 at 12:59:51PM -0400, Mike Heffner wrote: The machine is up for about one minute and then I ran `startx' and the screen turned black and it appeared to lockup, after

Re: panic: mutex vm not owned

2001-05-20 Thread Mike Heffner
On 20-May-2001 Dima Dorfman wrote: | Please try the attached patch. I make no claims of its correctness, | but this e-mail is coming to you via X on -current updated a few hours | ago so it works here :-). Thanks, it works so far (I'm running X). I'll see where it breaks next. Mike --

Re: panic: mutex vm not owned

2001-05-20 Thread Michael Lucas
[cc's trimmed] aol Same problem, this fixed me too. /aol On Sun, May 20, 2001 at 05:23:11PM -0400, Mike Heffner wrote: On 20-May-2001 Dima Dorfman wrote: | Please try the attached patch. I make no claims of its correctness, | but this e-mail is coming to you via X on -current updated a

Re: panic: mutex vm not owned

2001-05-20 Thread Alfred Perlstein
* Szilveszter Adam [EMAIL PROTECTED] [010520 17:07] wrote: On Sun, May 20, 2001 at 01:29:22PM -0700, Dima Dorfman wrote: Please try the attached patch. I make no claims of its correctness, but this e-mail is coming to you via X on -current updated a few hours ago so it works here :-).

panic: mutex vm not owned...

2001-05-19 Thread Szilveszter Adam
Hello everybody, I guess I was just being too happy so it had to get me this time:-) I was building Mozilla when it struck. Today's -CURRENT, kernel world in sync, no softupdates. panic: mutex vm not owned at ../../vm/vm_page.h:328 Debugger(panic) Stopped at Debugger trace: Debugger panic

Re: panic: mutex vm not owned...

2001-05-19 Thread Alfred Perlstein
* Szilveszter Adam [EMAIL PROTECTED] [010519 16:53] wrote: Hello everybody, I guess I was just being too happy so it had to get me this time:-) I was building Mozilla when it struck. Today's -CURRENT, kernel world in sync, no softupdates. panic: mutex vm not owned at ../../vm/vm_page.h

Re: panic: mutex vm not owned...

2001-05-19 Thread Alfred Perlstein
, no softupdates. panic: mutex vm not owned at ../../vm/vm_page.h:328 Debugger(panic) ... Thanks for the traceback, can you apply this patch then try to get your machine to swap? Oh, yeah, thanks for being brave, I've got a lot of other developers telling me they're not upgrading past the vm