Skip to contentSkip to conversation

PRINTK_TIME make panicing very early b2k?

parisc-linux Joel Soete 3 participants 4 messages Jun 27, 2005 – Jun 29, 2005

lore
Share & tools
lore

Joel Soete

author
#0 lore raw

Hello all,

I hope to get help from CONFIG_PRINTK_TIME to debug my d380 64bit slownes= s
pb but tested first on a b2k it panics (waht siad lcd display at leat) ve= ry
early in the boot and unfortunately pim lakes of relievant info:

PROCESSOR PIM INFORMATION

----------------- Processor 0 HPMC Information ------------------

Timestamp =3D
Mon Jun 27 12:41:39 GMT 2005 (20:05:06:27:12:41:39)

HPMC Chassis Codes =3D 2cbf0 2500b 2cbf4 2cbfc

General Registers 0 - 31
00-03 0000000000000000 0000000000000000 000000001012799c 00000000008=
00327
04-07 0000000000000035 00000000104cf5a0 00000000104cf5a3 00000000000=
00006
08-11 000000000000000f 000000000ffffe40 000000000000000e 00000000000=
0003c
12-15 00000000103c9f30 000000000000002f 0000000000000037 00000000000=
0003e
16-19 0000000000000000 00000000f000017c 00000000f0000174 00000000103=
540d0
20-23 0000000000000000 00000000fee003f8 00000000fee003fd 00000000104=
780dc
24-27 0000000000000000 0000000000000000 000000000000000f 00000000103=
b2010
28-31 00000000fffb6c20 000000000ffffe40 0000000020000080 00000000000=
00060

Control Registers 0 - 31
00-03 0000000000000000 0000000000000000 0000000000000000 00000000000=
00000
04-07 0000000000000000 0000000000000000 0000000000000000 00000000000=
00000
08-11 0000000000000000 0000000000000000 0000000000000000 00000000000=
00020
12-15 0000000000000000 0000000000000000 000000000010b000 00000000000=
00000
16-19 00000007e80371fa 0000000000000000 000000001010c65c 000000000fa=
11288
20-23 0000000000000000 000000001ffffc04 000000ff0000ff00 00000000000=
00000
24-27 000000000046e000 000000000046e000 0000000000044021 00000000f04=
12000
28-31 0000000055555555 0000000055555555 0000000010478000 00000000104=
7c000

Space Registers 0 - 7

00-03   00000000          00000000          00000000          00000000
04-07   00000000          00000000          00000000          00000000
IIA Space                    =3D 0x0000000000000000
IIA Offset                   =3D 0x0000000000000000
Check Type                   =3D 0x20000000
CPU State                    =3D 0x9e000004
Cache Check                  =3D 0x00000000
TLB Check                    =3D 0x00000000
Bus Check                    =3D 0x003010bb
Assists Check                =3D 0x00000000
Assist State                 =3D 0x00000000
Path Info                    =3D 0x00031800
System Responder Address     =3D 0xfffffffffed10200
System Requestor Address     =3D 0xfffffffffffa0000

Floating-Point Registers 0 - 31
00-03 0000001f00000000 0000001f00000000 0000001f00000000 0000001f000=
00000
04-07 0000000000000000 5555555555555555 5555555555555555 55555555555=
55555
08-11 5555555555555555 5555555555555555 5555555555555555 55555555555=
55555
12-15 5555555555555555 5555555555555555 5555555555555555 55555555555=
55555
16-19 5555555555555555 5555555555555555 5555555555555555 55555555555=
55555
20-23 5555555555555555 5555555555555555 5555555555555555 55555555555=
55555
24-27 5555555555555555 5555555555555555 5555555555555555 55555555555=
55555
28-31 5555555555555555 5555555555555555 5555555555555555 55555555555=
55555

'9000/785 B,C,J Workstation Unarchitected (per-CPU)', rev 1, 140 bytes:

Check Summary                =3D 0xcb81041000000000
Available Memory             =3D 0x0000000010000000
CPU Diagnose Register 2      =3D 0x0301000000000204
CPU Status Register 0        =3D 0x2420c20000000000
CPU Status Register 1        =3D 0x8080000000000000
SADD LOG                     =3D 0x5913927569568df8
Read Short LOG               =3D 0xc18040fffee003fd
ERROR_STATUS                 =3D 0x0000000000000010
MEM_ADDR                     =3D 0x000001ff3fffffff
MEM_SYND                     =3D 0x0000000000000000
MEM_ADDR_CORR                =3D 0x000001ff3fffffff
MEM_SYND_CORR                =3D 0x0000000000000000
RUN_DATA_HIGH                =3D 0xc1bff0fffed08040
RUN_DATA_LOW                 =3D 0xc1bff0fffed08040
RUN_CTRL                     =3D 0x0000021c00001418
RUN_ADDR                     =3D 0xc1bff0fffed08040
System Responder Path        =3D 0x00ffffffffffffff

HPMC PIM Analysis Information:

Timestamp =3D
Mon Jun 27 12:41:39 GMT 2005 (20:05:06:27:12:41:39)

'9000/785 B,C,J Workstation HPMC PIM Analysis (per-CPU)', rev 0, 1304 byt= es:

A Data Miss Timeout occurred while CPU 0 was
requesting information.
[...]

Any idea?

Thanks,
Joel

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#1 lore raw
Quoted 5 lines · Joel Soete

Hello all,

I hope to get help from CONFIG_PRINTK_TIME to debug my d380 64bit slowness pb but tested first on a b2k it panics (waht siad lcd display at leat) very early in the boot and unfortunately pim lakes of relievant info:

I'm not sure why you say it lacks relevant info. Seems pretty clear to me:

Quoted 2 lines

IIA Space = 0x0000000000000000
IIA Offset = 0x0000000000000000

... a null pointer dereference, in kernel space.

Quoted 2 lines

General Registers 0 - 31
00-03 0000000000000000 0000000000000000 000000001012799c 0000000000800327

called from 1012799c. Where's that in your System.map?

Signature · 10 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
author
#2 lore raw
Quoted 6 lines · Joel Soete
Quoted 3 lines

Hello all,

I hope to get help from CONFIG_PRINTK_TIME to debug my d380 64bit slo=

wness

Quoted 1 line
Quoted 1 line

pb but tested first on a b2k it panics (waht siad lcd display at leat=

)

Quoted 4 lines

very

Quoted 1 line

early in the boot and unfortunately pim lakes of relievant info:

I'm not sure why you say it lacks relevant info.

Just because I again missed gr2 info (my bad) sorry

Quoted 9 lines

Seems pretty clear to me:

Quoted 2 lines

IIA Space =3D 0x0000000000000000
IIA Offset =3D 0x0000000000000000

... a null pointer dereference, in kernel space.

Quoted 2 lines

General Registers 0 - 31
00-03 0000000000000000 0000000000000000 000000001012799c 0000000=

000800327

Quoted 3 lines

called from 1012799c. Where's that in your System.map?

mmm
GR[02] =3D=3D rp =3D 000000001012799c

Func: vprintk, Off: 0xcc, Addr: 0x1012799c

10127990 <vprintk+0xc0>:

10127990:       37 84 00 60     ldo 30(ret0),r4
10127994:       eb ef a1 c5     b,l 10106a7c <sched_clock>,%r2
10127998:       08 00 02 40     nop
1012799c:       6b dc 3e 91     stw ret0,-b8(,sp)
101279a0:       6b dd 3e 99     stw ret1,-b4(,sp)
101279a4:       08 1c 02 55     copy ret0,r21
101279a8:       08 1d 02 56     copy ret1,r22
101279ac:       08 1c 02 5d     copy ret0,ret1
101279b0:       34 1c 00 00     ldi 0,ret0
101279b4:       0b bc 02 7c     or ret0,ret1,ret0
101279b8:       8f 80 25 48     cmpib,<> 0,ret0,10127c64 <vprintk+0x394>

and afaik:

GR[28] =3D=3D ret0 =3D 00000000fffb6c20

GR[30] =3D=3D sp =3D 0000000020000080

A bit (no largely) out of my understanding.

Joel

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#3 lore raw
In reply to Matthew Wilcox
Quoted 11 lines

I'm not sure why you say it lacks relevant info. Seems pretty clear to me:

Quoted 2 lines

IIA Space = 0x0000000000000000
IIA Offset = 0x0000000000000000

... a null pointer dereference, in kernel space.

Quoted 2 lines

General Registers 0 - 31
00-03 0000000000000000 0000000000000000 000000001012799c 0000000000800327

called from 1012799c. Where's that in your System.map?

I had a similar toc dump today with 2.6.10-pa11. The rp value pointed to the return from the call to do_poll in sys_poll. I've seen other hangs in sys_poll. The code could be in do_poll or sys_poll. Does a null pointer dereference in kernel space cause this? Off hand, I would have suspected a stack problem in an ISR.

Dave

Signature · 6 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux