Subject: Re: ahah, the plot thickens...
To: None <cgd@pa.dec.com>
From: Matthew Jacob <mjacob@feral.com>
List: port-alpha
Date: 05/05/1997 09:58:07
>
>> 
>> The 'pmap_emulate_reference' panic I had comes from:
>> 
>> WARNING: pmap_emulate_reference(0xfffffe008a766400, 0xfffffe00935a6000, 0, 1): pa 0x4f14000 not managed
>> 
>> Hey, guess what. The message buffer ain't mapped. So, probably uiomove
>> is a bad thing to call for copying it out, eh?
>
>There's a difference between mapped and managed.
>
>The message buffer is mapped -- via the superpage mapping.  However,
>it is not managed.
>

Which is all fine unless you get a fault (which can't be 'managed') :-)
You're right tho- it was 'mapped' in the superpage.

I haven't been able to reproduce this. On another front, I *have*
been able to get reproducible cc1 core dumps by continuous recompiling
of the kernel on my UDB. Here's my latest logs... I'm *almost* seeing
a pattern, but not quite yet.

The messages are kinda duplicated since I'm trying to trap (in trap,
heh, although I really should look at any of the mcheck entry points)
the place where the PC goes out into the ozone for cc1.

May  4 17:15:48 nobble /netbsd: PC Out of Whack
May  4 17:15:49 nobble /netbsd: 
May  4 17:15:49 nobble /netbsd: fatal user trap:
May  4 17:15:49 nobble /netbsd: 
May  4 17:15:49 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  4 17:15:49 nobble /netbsd:     a0         = 0xa80f4a10
May  4 17:15:49 nobble /netbsd:     a1         = 0x1
May  4 17:15:49 nobble /netbsd:     a2         = 0xffffffffffffffff
May  4 17:15:49 nobble /netbsd:     pc         = 0xa80f4a10
May  4 17:15:49 nobble /netbsd:     ra         = 0x1200f4cb8
May  4 17:15:49 nobble /netbsd:     curproc    = 0xfffffe008a726400
May  4 17:15:49 nobble /netbsd:         pid = 6555, comm = cc1
May  4 17:15:49 nobble /netbsd: 
May  4 17:15:49 nobble /netbsd: 
May  4 17:15:49 nobble /netbsd: fatal user trap:
May  4 17:15:49 nobble /netbsd: 
May  4 17:15:49 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  4 17:15:49 nobble /netbsd:     a0         = 0xa80f4a10
May  4 17:15:49 nobble /netbsd:     a1         = 0x1
May  4 17:15:49 nobble /netbsd:     a2         = 0xffffffffffffffff
May  4 17:15:49 nobble /netbsd:     pc         = 0xa80f4a10
May  4 17:15:49 nobble /netbsd:     ra         = 0x1200f4cb8
May  4 17:15:49 nobble /netbsd:     curproc    = 0xfffffe008a726400
May  4 17:15:50 nobble /netbsd:         pid = 6555, comm = cc1
May  4 17:15:50 nobble /netbsd: 
May  4 17:21:50 nobble /netbsd: PC Out of Whack
May  4 17:21:51 nobble /netbsd: 
May  4 17:21:51 nobble /netbsd: fatal user trap:
May  4 17:21:51 nobble /netbsd: 
May  4 17:21:51 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  4 17:21:51 nobble /netbsd:     a0         = 0x280f4a10
May  4 17:21:51 nobble /netbsd:     a1         = 0x1
May  4 17:21:51 nobble /netbsd:     a2         = 0xffffffffffffffff
May  4 17:21:51 nobble /netbsd:     pc         = 0x280f4a10
May  4 17:21:51 nobble /netbsd:     ra         = 0x1200f4cb8
May  4 17:21:51 nobble /netbsd:     curproc    = 0xfffffe008a759a00
May  4 17:21:51 nobble /netbsd:         pid = 6768, comm = cc1
May  4 17:21:51 nobble /netbsd: 
May  4 17:21:51 nobble /netbsd: 
May  4 17:21:51 nobble /netbsd: fatal user trap:
May  4 17:21:51 nobble /netbsd: 
May  4 17:21:51 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  4 17:21:51 nobble /netbsd:     a0         = 0x280f4a10
May  4 17:21:52 nobble /netbsd:     a1         = 0x1
May  4 17:21:52 nobble /netbsd:     a2         = 0xffffffffffffffff
May  4 17:21:52 nobble /netbsd:     pc         = 0x280f4a10
May  4 17:21:52 nobble /netbsd:     ra         = 0x1200f4cb8
May  4 17:21:52 nobble /netbsd:     curproc    = 0xfffffe008a759a00
May  4 17:21:52 nobble /netbsd:         pid = 6768, comm = cc1
May  4 17:21:52 nobble /netbsd: 
May  4 20:08:09 nobble /netbsd: PC Out of Whack
May  4 20:08:10 nobble /netbsd: 
May  4 20:08:10 nobble /netbsd: fatal user trap:
May  4 20:08:10 nobble /netbsd: 
May  4 20:08:10 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  4 20:08:10 nobble /netbsd:     a0         = 0x280f4c10
May  4 20:08:10 nobble /netbsd:     a1         = 0x1
May  4 20:08:10 nobble /netbsd:     a2         = 0xffffffffffffffff
May  4 20:08:10 nobble /netbsd:     pc         = 0x280f4c10
May  4 20:08:10 nobble /netbsd:     ra         = 0x1200f45d8
May  4 20:08:10 nobble /netbsd:     curproc    = 0xfffffe008a775800
May  4 20:08:10 nobble /netbsd:         pid = 13237, comm = cc1
May  4 20:08:10 nobble /netbsd: 
May  4 20:08:10 nobble /netbsd: 
May  4 20:08:10 nobble /netbsd: fatal user trap:
May  4 20:08:10 nobble /netbsd: 
May  4 20:08:10 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  4 20:08:11 nobble /netbsd:     a0         = 0x280f4c10
May  4 20:08:11 nobble /netbsd:     a1         = 0x1
May  4 20:08:11 nobble /netbsd:     a2         = 0xffffffffffffffff
May  4 20:08:11 nobble /netbsd:     pc         = 0x280f4c10
May  4 20:08:11 nobble /netbsd:     ra         = 0x1200f45d8
May  4 20:08:11 nobble /netbsd:     curproc    = 0xfffffe008a775800
May  4 20:08:11 nobble /netbsd:         pid = 13237, comm = cc1
May  4 20:08:11 nobble /netbsd: 
May  4 20:26:24 nobble /netbsd: PC Out of Whack
May  4 20:26:25 nobble /netbsd: 
May  4 20:26:25 nobble /netbsd: fatal user trap:
May  4 20:26:25 nobble /netbsd: 
May  4 20:26:25 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  4 20:26:25 nobble /netbsd:     a0         = 0x1080f44a0
May  4 20:26:25 nobble /netbsd:     a1         = 0x1
May  4 20:26:25 nobble /netbsd:     a2         = 0xffffffffffffffff
May  4 20:26:25 nobble /netbsd:     pc         = 0x1080f44a0
May  4 20:26:25 nobble /netbsd:     ra         = 0x1200f4a1c
May  4 20:26:25 nobble /netbsd:     curproc    = 0xfffffe008a785e00
May  4 20:26:25 nobble /netbsd:         pid = 13808, comm = cc1
May  4 20:26:25 nobble /netbsd: 
May  4 20:26:25 nobble /netbsd: 
May  4 20:26:25 nobble /netbsd: fatal user trap:
May  4 20:26:25 nobble /netbsd: 
May  4 20:26:25 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  4 20:26:25 nobble /netbsd:     a0         = 0x1080f44a0
May  4 20:26:25 nobble /netbsd:     a1         = 0x1
May  4 20:26:25 nobble /netbsd:     a2         = 0xffffffffffffffff
May  4 20:26:25 nobble /netbsd:     pc         = 0x1080f44a0
May  4 20:26:25 nobble /netbsd:     ra         = 0x1200f4a1c
May  4 20:26:26 nobble /netbsd:     curproc    = 0xfffffe008a785e00
May  4 20:26:26 nobble /netbsd:         pid = 13808, comm = cc1
May  4 20:26:26 nobble /netbsd: 
May  5 00:00:01 nobble syslogd: restart
May  5 00:00:02 nobble syslogd: restart
May  5 00:03:10 nobble /netbsd: PC Out of Whack
May  5 00:03:10 nobble /netbsd: 
May  5 00:03:11 nobble /netbsd: fatal user trap:
May  5 00:03:11 nobble /netbsd: 
May  5 00:03:11 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  5 00:03:11 nobble /netbsd:     a0         = 0x280f4a10
May  5 00:03:11 nobble /netbsd:     a1         = 0x1
May  5 00:03:11 nobble /netbsd:     a2         = 0xffffffffffffffff
May  5 00:03:11 nobble /netbsd:     pc         = 0x280f4a10
May  5 00:03:11 nobble /netbsd:     ra         = 0x1200f45d8
May  5 00:03:11 nobble /netbsd:     curproc    = 0xfffffe008a726000
May  5 00:03:11 nobble /netbsd:         pid = 22321, comm = cc1
May  5 00:03:11 nobble /netbsd: 
May  5 00:03:11 nobble /netbsd: 
May  5 00:03:11 nobble /netbsd: fatal user trap:
May  5 00:03:11 nobble /netbsd: 
May  5 00:03:11 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  5 00:03:11 nobble /netbsd:     a0         = 0x280f4a10
May  5 00:03:11 nobble /netbsd:     a1         = 0x1
May  5 00:03:11 nobble /netbsd:     a2         = 0xffffffffffffffff
May  5 00:03:11 nobble /netbsd:     pc         = 0x280f4a10
May  5 00:03:11 nobble /netbsd:     ra         = 0x1200f45d8
May  5 00:03:11 nobble /netbsd:     curproc    = 0xfffffe008a726000
May  5 00:03:11 nobble /netbsd:         pid = 22321, comm = cc1
May  5 00:03:11 nobble /netbsd: 
May  5 01:17:22 nobble /netbsd: PC Out of Whack
May  5 01:17:23 nobble /netbsd: 
May  5 01:17:23 nobble /netbsd: fatal user trap:
May  5 01:17:23 nobble /netbsd: 
May  5 01:17:23 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  5 01:17:23 nobble /netbsd:     a0         = 0xa80f4c10
May  5 01:17:23 nobble /netbsd:     a1         = 0x1
May  5 01:17:23 nobble /netbsd:     a2         = 0xffffffffffffffff
May  5 01:17:24 nobble /netbsd:     pc         = 0xa80f4c10
May  5 01:17:24 nobble /netbsd:     ra         = 0x1200f4d40
May  5 01:17:24 nobble /netbsd:     curproc    = 0xfffffe008a785e00
May  5 01:17:24 nobble /netbsd:         pid = 24953, comm = cc1
May  5 01:17:24 nobble /netbsd: 
May  5 01:17:24 nobble /netbsd: 
May  5 01:17:24 nobble /netbsd: fatal user trap:
May  5 01:17:24 nobble /netbsd: 
May  5 01:17:24 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  5 01:17:24 nobble /netbsd:     a0         = 0xa80f4c10
May  5 01:17:24 nobble /netbsd:     a1         = 0x1
May  5 01:17:24 nobble /netbsd:     a2         = 0xffffffffffffffff
May  5 01:17:24 nobble /netbsd:     pc         = 0xa80f4c10
May  5 01:17:24 nobble /netbsd:     ra         = 0x1200f4d40
May  5 01:17:24 nobble /netbsd:     curproc    = 0xfffffe008a785e00
May  5 01:17:24 nobble /netbsd:         pid = 24953, comm = cc1
May  5 01:17:24 nobble /netbsd: 
May  5 03:00:02 nobble syslogd: restart
May  5 04:28:10 nobble /netbsd: PC Out of Whack
May  5 04:28:11 nobble /netbsd: 
May  5 04:28:11 nobble /netbsd: fatal user trap:
May  5 04:28:11 nobble /netbsd: 
May  5 04:28:11 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  5 04:28:12 nobble /netbsd:     a0         = 0x1080f4c10
May  5 04:28:12 nobble /netbsd:     a1         = 0x1
May  5 04:28:12 nobble /netbsd:     a2         = 0xffffffffffffffff
May  5 04:28:12 nobble /netbsd:     pc         = 0x1080f4c10
May  5 04:28:12 nobble /netbsd:     ra         = 0x1200f4a2c
May  5 04:28:12 nobble /netbsd:     curproc    = 0xfffffe008a749800
May  5 04:28:12 nobble /netbsd:         pid = 3877, comm = cc1
May  5 04:28:12 nobble /netbsd: 
May  5 04:28:12 nobble /netbsd: 
May  5 04:28:12 nobble /netbsd: fatal user trap:
May  5 04:28:12 nobble /netbsd: 
May  5 04:28:12 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  5 04:28:12 nobble /netbsd:     a0         = 0x1080f4c10
May  5 04:28:12 nobble /netbsd:     a1         = 0x1
May  5 04:28:12 nobble /netbsd:     a2         = 0xffffffffffffffff
May  5 04:28:12 nobble /netbsd:     pc         = 0x1080f4c10
May  5 04:28:12 nobble /netbsd:     ra         = 0x1200f4a2c
May  5 04:28:12 nobble /netbsd:     curproc    = 0xfffffe008a749800
May  5 04:28:12 nobble /netbsd:         pid = 3877, comm = cc1
May  5 04:28:12 nobble /netbsd: 
May  5 07:14:01 nobble /netbsd: PC Out of Whack
May  5 07:14:02 nobble /netbsd: 
May  5 07:14:02 nobble /netbsd: fatal user trap:
May  5 07:14:02 nobble /netbsd: 
May  5 07:14:02 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  5 07:14:03 nobble /netbsd:     a0         = 0xc80f44a0
May  5 07:14:03 nobble /netbsd:     a1         = 0x1
May  5 07:14:03 nobble /netbsd:     a2         = 0xffffffffffffffff
May  5 07:14:03 nobble /netbsd:     pc         = 0xc80f44a0
May  5 07:14:03 nobble /netbsd:     ra         = 0x1200f4cb8
May  5 07:14:03 nobble /netbsd:     curproc    = 0xfffffe008a7aa800
May  5 07:14:03 nobble /netbsd:         pid = 10437, comm = cc1
May  5 07:14:03 nobble /netbsd: 
May  5 07:14:03 nobble /netbsd: 
May  5 07:14:03 nobble /netbsd: fatal user trap:
May  5 07:14:03 nobble /netbsd: 
May  5 07:14:03 nobble /netbsd:     trap entry = 0x2 (memory management fault)
May  5 07:14:03 nobble /netbsd:     a0         = 0xc80f44a0
May  5 07:14:03 nobble /netbsd:     a1         = 0x1
May  5 07:14:03 nobble /netbsd:     a2         = 0xffffffffffffffff
May  5 07:14:03 nobble /netbsd:     pc         = 0xc80f44a0
May  5 07:14:03 nobble /netbsd:     ra         = 0x1200f4cb8
May  5 07:14:03 nobble /netbsd:     curproc    = 0xfffffe008a7aa800
May  5 07:14:03 nobble /netbsd:         pid = 10437, comm = cc1
May  5 07:14:03 nobble /netbsd: