9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] bitsy panics
@ 2003-06-05 23:22 Geoff Collyer
  2003-06-06  0:21 ` Geoff Collyer
  0 siblings, 1 reply; 3+ messages in thread
From: Geoff Collyer @ 2003-06-05 23:22 UTC (permalink / raw)
  To: 9fans

Okay, life is a little better.  I set up a local lib/profile and got
rid of the scribble area, so the wee keyboard is wider.

I'm going to comment-out the increfp/decrefp prints in the bitsy
kernel.

I reproduced the acme and timesync panics and this time captured the
(wonderfully garbled) serial console output, enclosed below.


acme panic:
---
kernel fault:
type 0x00000018 psr 0x20000013 pc 0xc006611c
r0  0x00000001 r1  0xc0585c48 r2  0xc0585c48 r3  0x00000001
r4  0x51494f42 r5  0xc07b0f08 r6  0x00000037 r7  0x6c000a74
r8  0x64696375 r9  0x6e617361 r10 0x6c000873 r11 0x312e7273
r12 0xc009b5c4 rkernel fault:
type 0x00000018 psr 0x20000013 pc 0xc006611c
r0  0x00000001 r1  0xc05827c8 r2  0xc05827c8 r3  0x00000001
r4  0x51494f42 r5  0xc07b0fc8 r6  0xc06a1fb1 r7  0xc07b1043
r8  0x00000000 r9  0x00000000 r10 0x00000000 r11 0x000dbba0
r12 0xc009b5c4 rpanic: fault: kernel accessing 0x19

panic: faktrace /kernel/path c000b034 c0779354 c003de58
ult: kec0779300=c000b030 rnel accessc077930c=c0036f74 ing 0x1c0779330=c0037058 9

c0779348=c0037228
c077934c=c000b030 c0779350=c003722c c0779358=c0009e60 c077939c=c008f488
c07793b4=c0090474 c07793b8=c006ed7c c07793c0=c006ed0c c07793c4=c0090498
c07793cc=c006f92c c07793d0=c0090998 c07793d4=c006f914 c07793e8=c0071e28
c07793f8=c002a014 c077940c=c008edbc c0779410=c0062354 c0779414=c008f048
c0779420=c008f00c c0779428=c008f510 c0779430=c008f488 c0779448=c006b468
c077944c=c006ed7c c077945c=c0009e28 c0779460=c006f92c c0779478=c000a200
c077948c=c002a014 c07794a4=c0062354 c07794b0=c0065a80 c07794b4=c0061c34
c07794e0=c0062b80 c07794f8=c00718f8 c07794fc=c00718d4 c0779508=c00718d4
c0779510=c00624b4 c0779514=c00082ac c0779534=c0061494 c0779540=c0062b90
c0779550=c0064b94 c0779554=c0064b9c c0779564=c0065a80 c0779568=c0065a80
c0779570=c008ee2c c0779588=c008f048 c0779594=c008f00c c077959c=c009093c
c07795a8=c0090850 c07795bc=c0090c9c c0779608=c0072c84 c0779618=c0072c84
c077961c=c0072c94 c0779624=c002a18c c077962c=c002a130 c0779630=c0073510
c0779634=c008f510 c0779640=c002a534 c0779654=c002a4a0 c07796a8=c0031a30
c07796b0=c001f354 c07796cc=c00733e4 c07796d8=c0073560 c07796dc=c001bbfc
c07796e0=c0073510 c07796e8=c001ac9c c07796f4=c001acc4 c0779700=c001f230
c0779710=c001a938 c0779754=c00733e4 c0779784=c0073510
it's a wonderful day to die
---

aux/timesync panic:
---
kernel fault:
type 0x00000018 psr 0x20000013 pc 0xc006611c
r0  0x00000001 r1  0xc0580d88 r2  0xc0580d88 r3  0x00000001
r4  0x51494f42 r5  0xc077c408 r6  0x0000001a r7  0xc00e9a50
r8  0xc00e9a70 r9  0xc067c1c8 r10 0x00000000 r11 0xfffffff8
r12 0xc009b5c4 rpanic: fault: kernel accessing 0x19

panic: faktrace /kernel/path c000b034 c075fca4 c003de58
ult: kec075fc50=c000b030 rnel acc075fc5c=c0036f74 cessingc075fc80=c0037058  0x19

c075fc98=c0037228
c075fc9c=c000b030 c075fca0=c003722c c075fca8=c0009e60 c075fcf8=c0065cfc
c075fd04=c0062698 c075fd0c=c0066198 c075fd18=c00626cc c075fd24=c0064adc
c075fd38=c0064ae4 c075fd54=c007367c c075fd5c=c0073650 c075fd68=c0073650
c075fd70=c002a554 c075fd98=c006b468 c075fdac=c0009e28 c075fdc8=c000a200
c075fde8=c00733e4 c075fdec=c001b9ac c075fdf4=c0073560 c075fdfc=c0073510
c075fe00=c00721b4 c075fe04=c001ac9c c075fe0c=c0065a80 c075fe10=c0065a80
c075fe1c=c001f230 c075fe50=c0090498 c075fe64=c00082ac c075fe84=c006f6e4
c075fe8c=c006f5d8 c075fe90=c0073560 c075fea0=c0072414 c075fea4=c0073560
c075fea8=c007278c c075feac=c0073510 c075feb4=c0065a80 c075feb8=c0073510
c075febc=c0065a80 c075fec0=c008edbc c075fec8=c008f048 c075fed4=c008f00c
c075fedc=c008f510 c075fee4=c008f488 c075fee8=c008f15c c075fefc=c0090474
c075ff0c=c0090498 c075ff18=c0090998 c075ff58=c0072c84 c075ff68=c0072c84
c075ff6c=c0072c94 c075ff74=c0072fa0 c075ff7c=c0072ed4 c075ff84=c0072ed4
c075ff90=c004d71c c075ffc8=c00155c4 c075ffe4=c0014a00 c075fff4=c0067f40
c075fffc=c006a910 c0760010=c0014950 c0760018=c001488c c0760044=c0069ab8
c0760058=c0065cfc c076006c=c00697f8 c0760090=c0069a50 c07600a0=c0076680
c07600cc=c00154dc c07600d4=c001529c c0760110=c0067c48 c0760118=c0067c2c
c076011c=c00082e4 c0760140=c0076b88 c0760148=c0076b34 c0760150=c006be50
c076017c=c007665c c07601a8=c0008244
it's a wonderful day to die
---


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] bitsy panics
  2003-06-05 23:22 [9fans] bitsy panics Geoff Collyer
@ 2003-06-06  0:21 ` Geoff Collyer
  2003-06-06 13:41   ` Sape Mullender, sape
  0 siblings, 1 reply; 3+ messages in thread
From: Geoff Collyer @ 2003-06-06  0:21 UTC (permalink / raw)
  To: 9fans

The pc in both panics appears to be in freeb().

cpu% acid /arm/s9bitsy
/arm/s9bitsy:ARM plan 9 boot image

/sys/lib/acid/port
/sys/lib/acid/arm
acid: src(0xc006611c)
/sys/src/9/port/allocb.c:116
 111
 112		/*
 113		 * drivers which perform non cache coherent DMA manage their own buffer
 114		 * pool of uncached buffers and provide their own free routine.
 115		 */
>116		if(b->free) {
 117			b->free(b);
 118			return;
 119		}
 120		if(b->flag & BINTR) {
 121			ilock(&ialloc);
acid:



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] bitsy panics
  2003-06-06  0:21 ` Geoff Collyer
@ 2003-06-06 13:41   ` Sape Mullender, sape
  0 siblings, 0 replies; 3+ messages in thread
From: Sape Mullender, sape @ 2003-06-06 13:41 UTC (permalink / raw)
  To: 9fans

>I reproduced the acme and timesync panics and this time captured the
>(wonderfully garbled) serial console output, enclosed below.

>acme panic:
>---
>kernel fault:
>type 0x00000018 psr 0x20000013 pc 0xc006611c

> The pc in both panics appears to be in freeb().

Looks like your block pointer b is not pointing to a block.  To see where
freeb was called, get the stack dump `c0779348=c0037228 ...'  into an
acme and run
	Edit ,s/c[0-9a-f]+=([0-9a-f]+)( |\n)+/src\(0x\1\)\n/g
Then feed what you get through acid



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-06 13:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-05 23:22 [9fans] bitsy panics Geoff Collyer
2003-06-06  0:21 ` Geoff Collyer
2003-06-06 13:41   ` Sape Mullender, sape

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).