Re: Panic after mount() fail.

2003-11-17 Thread Robert Watson
On Mon, 17 Nov 2003, Pawel Jakub Dawidek wrote: Hello. There is a problem with mount(2) failures. It can cause panics. How-to-repeat. # dd if=/dev/random of=/test.img bs=1m count=8 # mdconfig -a -t vnode -f /test.img -u 25 # mkdir -p /mnt/test # mount

Re: panic on mount

2001-09-25 Thread John Baldwin
On 25-Sep-01 Bill Fenner wrote: I also started getting this error with recent kernels (in the last day or so). It looks like the mutex is really held since the mtx_assert before witness_unlock didn't trigger. You can try turning witness off for the time being as a workaround. I'm not sure

Re: panic on mount

2001-09-25 Thread Ian Dowse
In message [EMAIL PROTECTED], John Baldwin writes: It looks like the mutex is really held since the mtx_assert before witness_unlock didn't trigger. You can try turning witness off for the time being as a workaround. I'm not sure why witness would be broken, however. Revision 1.41 of

Re: panic on mount

2001-09-24 Thread Bill Fenner
I also started getting this error with recent kernels (in the last day or so). Mounting root from ufs:/dev/ad0s1a panic: lock (sleep mutex) vnode interlock not locked @ /usr/src/sys/kern/vfs_default.c:460 Debugger(panic) Stopped at Debugger+0x44: pushl %ebx db t Debugger(c03c5bbb) at

Re: panic on mount

2001-09-24 Thread Julian Elischer
You could probably set teh device using DDB, but I just use a serial debug link On Mon, 24 Sep 2001, Bill Fenner wrote: I also started getting this error with recent kernels (in the last day or so). Mounting root from ufs:/dev/ad0s1a panic: lock (sleep mutex) vnode interlock not locked

Re: panic on mount

2001-09-24 Thread Peter Wemm
Julian Elischer wrote: You could probably set teh device using DDB, but I just use a serial debug link Not a good strategy. dev_t is a pointer in -current. We probably need a 'dumpon 13,0x00020001' ddb command that does something like what sysctl_kern_dumpdev() does.. On Mon, 24 Sep 2001,

Re: panic on mount

2001-09-23 Thread Mark Murray
After compiling a new kernel, installing it, when my laptop tries to mount its drive, it panics with this message: panic: lock (sleep mutex) vnode interlock not locked @ ../../../kern/vfs_default.c:460 which is: if (ap-a_flags LK_INTERLOCK)

Re: panic on mount

2001-09-23 Thread Peter Wemm
Mark Murray wrote: After compiling a new kernel, installing it, when my laptop tries to mount its drive, it panics with this message: panic: lock (sleep mutex) vnode interlock not locked @ ../../../kern/vfs_default.c:460 which is: if (ap-a_flags LK_INTERLOCK)