Re: Panic mounting msdos fs

2001-03-09 Thread John Baldwin


On 09-Mar-01 Andrea Campi wrote:
> Hi John,
> 
> didn't have time to reply to your previous email (I was sleeping ;-)) before
> getting this. Do you still need the dump?

No, jlemon and I figured it out on irc.  I'm not sure why it's broken yet.

>> On 08-Mar-01 Andrea Campi wrote:
>> > Yesterday -current:
>> 
>> It seems modules are broken with witness right now.  Before you were ok as
>> long
>> as you didn't unload the darn things, now they seem to be toast altogether,
>> so
>> you will want to use a static kernel for now until this is fixed.
> 
> Doesn't it warrant a very big HEADSUP?

Probably, they've already been partially broken, though the partial brokenness
that I know how to fix will be fixed hopefully before too long.  I'm not sure
yet why sticking a mutex in a kld causes us to walk off a NULL pointer.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Panic mounting msdos fs

2001-03-09 Thread Andrea Campi

Hi John,

didn't have time to reply to your previous email (I was sleeping ;-)) before
getting this. Do you still need the dump?

> On 08-Mar-01 Andrea Campi wrote:
> > Yesterday -current:
> 
> It seems modules are broken with witness right now.  Before you were ok as long
> as you didn't unload the darn things, now they seem to be toast altogether, so
> you will want to use a static kernel for now until this is fixed.

Doesn't it warrant a very big HEADSUP?

Anyway, I'll compile in everything I routinely use, ok. Thanks.

Bye,
Andrea



-- 
   If Bill Gates had a dime for every time a Windows box crashed...
...Oh, wait a minute, he already does.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Panic mounting msdos fs

2001-03-08 Thread John Baldwin


On 08-Mar-01 Andrea Campi wrote:
> Yesterday -current:

It seems modules are broken with witness right now.  Before you were ok as long
as you didn't unload the darn things, now they seem to be toast altogether, so
you will want to use a static kernel for now until this is fixed.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



RE: Panic mounting msdos fs

2001-03-08 Thread John Baldwin


On 08-Mar-01 Andrea Campi wrote:
> Yesterday -current:
> 
># mount /msdos
> 
> Acquring duplicate lock of same type: "lockmgr interlock"
>  1st @ ../../kern/kern_lock.c:239
>  2nd @ ../../kern/kern_lock.c:239
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x0
> fault code  = supervisor write, page not present
> instruction pointer = 0x8:0xc015c3f5
> stack pointer   = 0x10:0xc7821ce4
> frame pointer   = 0x10:0xc7821cf0
> code segment= base 0x0, limit 0xf, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags= interrupt enabled, resume, IOPL = 0
> current process = 489 (mount_msdos)
> kernel: type 12 trap, code=0
> Stopped at  witness_exit+0x23d: movl%eax,0(%edx)
> db>

(kgdb) l *(witness_exit+0x23d)
0xc0200e41 is in witness_exit (../../kern/kern_mutex.c:1303).
1300if ((flags & MTX_NOSWITCH) == 0 && !mtx_legal2block() && !cold)
1301panic("switchable mtx_unlock() of %s when not legal @
%s:%d",
1302m->mtx_description, file, line);
1303LIST_REMOVE(m, mtx_held);
1304m->mtx_held.le_prev = NULL;
1305}

H.  It dereferenced NULL in the LIST_REMOVE().  Did you get a dump by any
chance?

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message