Skip to contentSkip to conversation

3.4.1 fails to boot on Apollo 705 in paging_init

DISCUSSION Rolf Eike Beer 3 participants 4 messages Jun 6, 2012 – Jun 14, 2012

lore
Share & tools
lore
#0 lore raw

Linux version 3.4.1 (root@voyager) (gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.5, pie-0.4.7) ) #1 Wed Jun 6 14:15:43 CEST 2012
unwind_init: start = 0x1044e000, end = 0x1047faf0, entries = 12719 FP[0] enabled: Rev 3 Model 0
The 32-bit Kernel has started...
bootconsole [ttyB0] enabled
Initialized PDC Console for debugging.
Determining PDC firmware type: Snake.
model 00003020 00000481 00000000 00000000 77aac223 ffffffff 00000004 0000000d 00000000
vers 00000003
model 9000/705
Total Memory: 64 MB

      _______________________________
     < Your System ate a SPARC! Gah! >
      -------------------------------
             \   ^__^
                 (__)\       )\/\
                  U  ||----w |
                     ||     ||

swapper (pid 0): Protection id trap (code 7)

YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001000000000000001110 Not tainted

r00-03  0004000e 0004000e 1050104c 00000000
r04-07  00000001 104841cc 1048e000 104917b8
r08-11  104917d4 1048e024 00000000 00100000
r12-15  00004000 00000000 00537fff 104b58c8
r16-19  104ec800 00004000 1048e000 0000000e
r20-23  00000000 00000000 00000000 00000000
r24-27  00000001 00000000 00000000 1048e000
r28-31  00000000 00000000 10484280 00000000

sr00-03 00000000 00000000 00000000 00000000
sr04-07 00000000 00000000 00000000 00000000

IASQ: 00000000 00000000 IAOQ: 1010077c 10100780
IIR: e840c000 ISR: 00000000 IOR: 1050104c
CPU: 0 CR30: 10484000 CR31: 000000e0
ORIG_R28: 00000000
IAOQ[0]: .L21+0x0/0x8
IAOQ[1]: .L21+0x4/0x8
RP(r2): paging_init+0x788/0x824

Backtrace:
 [<1050104c>] paging_init+0x788/0x824
 [<10501688>] setup_arch+0x5c/0x88
 [<104fd8d0>] start_kernel+0x80/0x370
 [<1010f218>] start_parisc+0x4c/0x68

Backtrace:
 [<1010f940>] die_if_kernel+0x138/0x1b0
 [<10110094>] handle_interruption+0x46c/0x614
 [<10104078>] intr_check_sig+0x0/0x34
 [<10100780>] .L21+0x4/0x8

---[ end trace 139ce121c98e96c9 ]---
      _______________________________
     < Your System ate a SPARC! Gah! >
      -------------------------------
             \   ^__^
                 (__)\       )\/\
                  U  ||----w |
                     ||     ||

swapper (pid 0): Protection id trap (code 7)
die_if_kernel() recursion detected.

#1 lore raw

Hi Rolf,

Did the machine worked with the old debian kernels?

According to http://hwdb.parisc-linux.org/view.php?type=machine&name=705 it has a PA7000 (PCX-S)) CPU, which is PA1.1a generation. Probably we still use some assembly which is not supported on PA1.1a yet.
My "oldest" testmachine was a 715/64 which is PA7100LC aka PA 1.1d generation...

I can try to look into this, but this will take some time since I'll leave for two-week vacation shortly...

Helge

Quoted 64 lines · Rolf Eike Beer

Linux version 3.4.1 (root@voyager) (gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.5, pie-0.4.7) ) #1 Wed Jun 6 14:15:43 CEST 2012
unwind_init: start = 0x1044e000, end = 0x1047faf0, entries = 12719 FP[0] enabled: Rev 3 Model 0
The 32-bit Kernel has started...
bootconsole [ttyB0] enabled
Initialized PDC Console for debugging.
Determining PDC firmware type: Snake.
model 00003020 00000481 00000000 00000000 77aac223 ffffffff 00000004 0000000d 00000000
vers 00000003
model 9000/705
Total Memory: 64 MB

       _______________________________
      <  Your System ate a SPARC! Gah!>
       -------------------------------
              \   ^__^
                  (__)\       )\/\
                   U  ||----w |
                      ||     ||

swapper (pid 0): Protection id trap (code 7)

YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001000000000000001110 Not tainted

r00-03  0004000e 0004000e 1050104c 00000000
r04-07  00000001 104841cc 1048e000 104917b8
r08-11  104917d4 1048e024 00000000 00100000
r12-15  00004000 00000000 00537fff 104b58c8
r16-19  104ec800 00004000 1048e000 0000000e
r20-23  00000000 00000000 00000000 00000000
r24-27  00000001 00000000 00000000 1048e000
r28-31  00000000 00000000 10484280 00000000

sr00-03 00000000 00000000 00000000 00000000
sr04-07 00000000 00000000 00000000 00000000

IASQ: 00000000 00000000 IAOQ: 1010077c 10100780
IIR: e840c000 ISR: 00000000 IOR: 1050104c
CPU: 0 CR30: 10484000 CR31: 000000e0
ORIG_R28: 00000000
IAOQ[0]: .L21+0x0/0x8
IAOQ[1]: .L21+0x4/0x8
RP(r2): paging_init+0x788/0x824

Backtrace:
  [<1050104c>] paging_init+0x788/0x824
  [<10501688>] setup_arch+0x5c/0x88
  [<104fd8d0>] start_kernel+0x80/0x370
  [<1010f218>] start_parisc+0x4c/0x68

Backtrace:
  [<1010f940>] die_if_kernel+0x138/0x1b0
  [<10110094>] handle_interruption+0x46c/0x614
  [<10104078>] intr_check_sig+0x0/0x34
  [<10100780>] .L21+0x4/0x8

---[ end trace 139ce121c98e96c9 ]---
       _______________________________
      <  Your System ate a SPARC! Gah!>
       -------------------------------
              \   ^__^
                  (__)\       )\/\
                   U  ||----w |
                      ||     ||

swapper (pid 0): Protection id trap (code 7)
die_if_kernel() recursion detected.

#2 lore raw
Quoted 1 line · Helge Deller

Did the machine worked with the old debian kernels?

I have no idea, I'm running Gentoo. Current system is this:

Linux apollo 2.6.38.8 #2 Wed Feb 15 17:42:42 CET 2012 parisc PA7000 (PCX-S) 9000/705 GNU/Linux

Quoted 8 lines

According to http://hwdb.parisc-linux.org/view.php?type=machine&name=705
it has a PA7000 (PCX-S)) CPU, which is PA1.1a generation. Probably we still use some assembly which is not supported on PA1.1a yet. My "oldest" testmachine was a 715/64 which is PA7100LC aka PA 1.1d generation...

I can try to look into this, but this will take some time since I'll leave for two-week vacation shortly...

I've reported the breakage in 2.6.39 in the cache code here a while ago (that's the stuff that recently got some work), afterwards I found no kernel that was working.

Eike

#3 lore raw
Quoted 3 lines · Rolf Eike Beer

I've reported the breakage in 2.6.39 in the cache code here a while ago (that's the stuff that recently got some work), afterwards I found no kernel that was working.

Can you make sure that the latest set of cache fixes are present? I'm fairly certain they are all in 3.4.2.

If that doesn't resolve the crash, could you disassemble the code around the failing instruction and submit to list? Also, Helge might be able to test your config.

I'm a bit skeptical that this is caused by unsupported assembly introduced after 2.6.39. If James' original tmpalias patch plus the recent fixes works on top of 2.6.39, then a regression hunt may be in order.

Dave
--
John David Anglin [email protected]