Skip to contentSkip to conversation

Sun fire V890 UltraSparc server kernel panic,

DISCUSSION Josip Rodin 4 participants 10 messages Nov 22, 2009 – Dec 23, 2009 Kbuild

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Aaron Sheiner
Quoted 2 lines

When you reproduce the same conditions, is the failure message similar or identical?

It would seem that they are identical, see below. Although probably unimportant, there is a difference in the time since boot (16.363172).

Yes. OK, let's Cc: this now to the SPARC kernel development mailing list so that the kernel folks can see.

The machine specification is in the original post at
http://lists.debian.org/debian-sparc/2009/11/msg00013.html
There is one recorded V890 prtconf from Meelis Roos in prtconfs.git so that's a good sign, at least one person once made it work. :)

Quoted 541 lines

Booting Lenny with arguments console=ttya :
"
RSC Alert: Host System has Reset
a|/
Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.26
Loading initial ramdisk (4311252 bytes at 0xD1FE008000 phys, 0x40C00000 virt)...
\

[    0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 4.22.34 2007/07/23
13:01'
[    0.000000] PROMLIB: Root node compatible: 
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.26-2-sparc64 (Debian 2.6.26-19)
([email protected]) (gcc version 4.1.3 20080704 (prerelease) (Debian
4.1.2-25)) #1 Thu Aug 20 15:21:01 UTC 2009
[    0.000000] console [earlyprom0] enabled
[    0.000000] ARCH: SUN4U
[    0.000000] Ethernet address: 00:14:4f:1e:47:f9
[    0.000000] Kernel: Using 1 locked TLB entries for main kernel image.
[    0.000000] Remapping the kernel... done.
[    0.000000] OF stdout device
is: /pci@9,700000/ebus@1/rsc-console@1,3083f8
[    0.000000] PROM: Built device tree with 193535 bytes of memory.
[    0.000000] Top of RAM: 0xd1ff9d0000, Total RAM: 0x7f5a5e000
[    0.000000] Memory hole size: 827551MB
[    0.000000] [0000000318000000-fffff8a000400000] page_structs1072
node=0 entry20/0
[    0.000000] [0000000318000000-fffff8a000800000] page_structs1072
node=0 entry21/0
[    0.000000] [0000000318700000-fffff8a000c00000] page_structs1072
node=0 entry22/0
[    0.000000] [0000000318700000-fffff8a001000000] page_structs1072
node=0 entry23/0
[    0.000000] [0000000318e00000-fffff8a001400000] page_structs1072
node=0 entry24/0
[    0.000000] [0000000318e00000-fffff8a001800000] page_structs1072
node=0 entry25/0
[    0.000000] [0000000319500000-fffff8a001c00000] page_structs1072
node=0 entry26/0
[    0.000000] [0000000319c00000-fffff8a002000000] page_structs1072
node=0 entry27/0
[    0.000000] [0000000319c00000-fffff8a002400000] page_structs1072
node=0 entry28/0
[    0.000000] [000000031a300000-fffff8a002800000] page_structs1072
node=0 entry29/0
[    0.000000] [000000031a300000-fffff8a002c00000] page_structs1072
node=0 entry30/0
[    0.000000] [000000031aa00000-fffff8a003000000] page_structs1072
node=0 entry31/0
[    0.000000] [000000031aa00000-fffff8a003400000] page_structs1072
node=0 entry32/0
[    0.000000] [000000031b100000-fffff8a003800000] page_structs1072
node=0 entry33/0
[    0.000000] [0000000334000000-fffff8a003c00000] page_structs1072
node=0 entry32/0
[    0.000000] [0000000334000000-fffff8a004000000] page_structs1072
node=0 entry33/0
[    0.000000] [0000000334700000-fffff8a004400000] page_structs1072
node=0 entry34/0
[    0.000000] [0000000334700000-fffff8a004800000] page_structs1072
node=0 entry35/0
[    0.000000] [0000000334e00000-fffff8a004c00000] page_structs1072
node=0 entry36/0
[    0.000000] [0000000334e00000-fffff8a005000000] page_structs1072
node=0 entry37/0
[    0.000000] [0000000335500000-fffff8a005400000] page_structs1072
node=0 entry38/0
[    0.000000] [0000000335c00000-fffff8a005800000] page_structs1072
node=0 entry39/0
[    0.000000] [0000000335c00000-fffff8a005c00000] page_structs1072
node=0 entry40/0
[    0.000000] [0000000336300000-fffff8a006000000] page_structs1072
node=0 entry41/0
[    0.000000] [0000000336300000-fffff8a006400000] page_structs1072
node=0 entry42/0
[    0.000000] [0000000336a00000-fffff8a006800000] page_structs1072
node=0 entry43/0
[    0.000000] [0000000336a00000-fffff8a006c00000] page_structs1072
node=0 entry44/0
[    0.000000] [0000000337100000-fffff8a007000000] page_structs1072
node=0 entry45/0
[    0.000000] [0000000350000000-fffff8a007400000] page_structs1072
node=0 entry44/0
[    0.000000] [0000000350000000-fffff8a007800000] page_structs1072
node=0 entry45/0
[    0.000000] [0000000350700000-fffff8a007c00000] page_structs1072
node=0 entry46/0
[    0.000000] [0000000350700000-fffff8a008000000] page_structs1072
node=0 entry47/0
[    0.000000] [0000000350e00000-fffff8a008400000] page_structs1072
node=0 entry48/0
[    0.000000] [0000000350e00000-fffff8a008800000] page_structs1072
node=0 entry49/0
[    0.000000] [0000000351500000-fffff8a008c00000] page_structs1072
node=0 entry50/0
[    0.000000] [0000000351c00000-fffff8a009000000] page_structs1072
node=0 entry51/0
[    0.000000] [0000000351c00000-fffff8a009400000] page_structs1072
node=0 entry52/0
[    0.000000] [0000000352300000-fffff8a009800000] page_structs1072
node=0 entry53/0
[    0.000000] [0000000352300000-fffff8a009c00000] page_structs1072
node=0 entry54/0
[    0.000000] [0000000352a00000-fffff8a00a000000] page_structs1072
node=0 entry55/0
[    0.000000] [0000000352a00000-fffff8a00a400000] page_structs1072
node=0 entry56/0
[    0.000000] [0000000353100000-fffff8a00a800000] page_structs1072
node=0 entry57/0
[    0.000000] [000000036c000000-fffff8a00ac00000] page_structs1072
node=0 entry56/0
[    0.000000] [000000036c000000-fffff8a00b000000] page_structs1072
node=0 entry57/0
[    0.000000] [000000036c700000-fffff8a00b400000] page_structs1072
node=0 entry58/0
[    0.000000] [000000036c700000-fffff8a00b800000] page_structs1072
node=0 entry59/0
[    0.000000] [000000036ce00000-fffff8a00bc00000] page_structs1072
node=0 entry60/0
[    0.000000] [000000036ce00000-fffff8a00c000000] page_structs1072
node=0 entry61/0
[    0.000000] [000000036d500000-fffff8a00c400000] page_structs1072
node=0 entry62/0
[    0.000000] [000000036dc00000-fffff8a00c800000] page_structs1072
node=0 entry63/0
[    0.000000] [000000036dc00000-fffff8a00cc00000] page_structs1072
node=0 entry64/0
[    0.000000] [000000036e300000-fffff8a00d000000] page_structs1072
node=0 entry65/0
[    0.000000] [000000036e300000-fffff8a00d400000] page_structs1072
node=0 entry66/0
[    0.000000] [000000036ea00000-fffff8a00d800000] page_structs1072
node=0 entry67/0
[    0.000000] [000000036ea00000-fffff8a00dc00000] page_structs1072
node=0 entry68/0
[    0.000000] [000000036f100000-fffff8a00e000000] page_structs1072
node=0 entry69/0
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   83886080 -> 110099688
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[8] active PFN ranges
[    0.000000]     0: 83886080 -> 84934656
[    0.000000]     0: 92274688 -> 93323264
[    0.000000]     0: 100663296 -> 101711872
[    0.000000]     0: 109051904 -> 110071808
[    0.000000]     0: 110071809 -> 110075984
[    0.000000]     0: 110096388 -> 110098431
[    0.000000]     0: 110098432 -> 110099677
[    0.000000]     0: 110099680 -> 110099688
[    0.000000] Booting Linux...
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 3993908
[    0.000000] Kernel command line: console=ttya
[    0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[    0.000000] clocksource: mult[640000] shift[16]
[    0.000000] clockevent: mult[28f5c28] shift[32]
[   79.860575] Console: colour dummy device 80x25
[   79.893142] Dentry cache hash table entries: 4194304 (order: 12,
33554432 bytes)
[   79.938932] Inode-cache hash table entries: 2097152 (order: 11,
16777216 bytes)
[   82.536736] Memory: 33096600k available (2592k kernel code, 944k
data, 176k init) [fffff80000000000,000000d1ff9d0000]
[   82.626683] Calibrating delay using timer specific routine.. 19.85
BogoMIPS (lpj9705)
[   82.634682] Security Framework initialized
[   82.638708] SELinux:  Disabled at boot.
[   82.642515] Capability LSM initialized
[   82.646260] Mount-cache hash table entries: 512
[   82.651005] Initializing cgroup subsys ns
[   82.654941] Initializing cgroup subsys cpuacct
[   82.659356] Initializing cgroup subsys devices
[   82.663939] Kernel unaligned access at TPC[46d24c]
notifier_chain_register+0x10/0x38
[   82.671606] Unable to handle kernel paging request in mna handler<1>
at virtual address e00000a00b000046
[   82.681042] current->{active_,}mm->context = 0000000000000000
[   82.686761] current->{active_,}mm->pgd = fffff8d1ff3b2104
[   82.692134]               \|/ ____ \|/
[   82.692136]               "@'/ .. \`@"
[   82.692138]               /_| \__/ |_\
[   82.692140]                  \__U_/
[   82.706778] swapper(1): Oops [#1]
[   82.710074] TSTATE: 0000008880f01605 TPC: 000000000046d24c TNPC:
000000000046d250 Y: 00000000    Not tainted
[   82.719866] TPC: <notifier_chain_register+0x10/0x38>
[   82.724804] g0: 00000000000200d0 g1: 0000000000000001 g2:
0000000000000000 g3: e00000a00b000036
[   82.733469] g4: fffff8d1f382f6e0 g5: 0000000000000000 g6:
fffff8d1f383c000 g7: fffff8d1f382ebe8
[   82.742134] o0: 00000000007b7aa8 o1: 0000000000748528 o2:
0000000000000000 o3: fffff8d1f313dff9
[   82.750799] o4: 0000000000774000 o5: 0000000000000005 sp:
fffff8d1f383f581 ret_pc: 000000000046d33c
[   82.759812] RPC: <atomic_notifier_chain_register+0x1c/0x44>
[   82.765358] l0: fffff8d1f383c000 l1: fffff8d1f382f6e0 l2:
fffff8d1f382f140 l3: fffff8d1f382f3c0
[   82.774023] l4: 0000000000000002 l5: 000000000073c040 l6:
0000000000000020 l7: 0000000000000010
[   82.782688] i0: 00000000007b7aa8 i1: 0000000000000000 i2:
0000000000426df4 i3: 0000000000000000
[   82.791352] i4: 0000000000000000 i5: 0000000000000000 i6:
fffff8d1f383f641 i7: 0000000000782128
[   82.800022] I7: <kernel_init+0x38/0x204>
[   82.803917] Caller[0000000000782128]: kernel_init+0x38/0x204
[   82.809549] Caller[0000000000426df8]: kernel_thread+0x38/0x48
[   82.815268] Caller[000000000067bae0]: rest_init+0x18/0x60
[   82.820640] Instruction DUMP: 01000000  10680008  c65a0000 <c200e010>
80a08001  34400007  c6726008  9000e008  c65a0000 
[   82.831387] Kernel panic - not syncing: Attempted to kill init!
[   82.837279] Kernel unaligned access at TPC[46d2c4]
notifier_call_chain+0x18/0x74
[   82.844643] Unable to handle kernel paging request in mna handler<1>
at virtual address e00000a00b000036
[   82.854088] current->{active_,}mm->context = 0000000000000000
[   82.859807] current->{active_,}mm->pgd = fffff8d1ff3b2104
[   82.865179]               \|/ ____ \|/
[   82.865181]               "@'/ .. \`@"
[   82.865183]               /_| \__/ |_\
[   82.865185]                  \__U_/
[   82.879823] swapper(1): Oops [#2]
[   82.883119] TSTATE: 0000000080f09605 TPC: 000000000046d2c4 TNPC:
000000000046d2c8 Y: 00000000    Tainted: G      D  
[   82.893603] TPC: <notifier_call_chain+0x18/0x74>
[   82.898196] g0: 0000000000744000 g1: 0000000000000001 g2:
0000000000000001 g3: 00000000007440c0
[   82.906861] g4: fffff8d1f382f6e0 g5: 0000000000000000 g6:
fffff8d1f383c000 g7: 0000000000000001
[   82.915525] o0: e00000a00b000036 o1: 0000000000000000 o2:
00000000007b7ad0 o3: fffff8d1f383f8e8
[   82.924192] o4: 0000000000744000 o5: 00000000007bc400 sp:
fffff8d1f383ee01 ret_pc: 0000000000557fcc
[   82.933213] RPC: <bust_spinlocks+0x48/0x4c>
[   82.937363] l0: e00000a00b000036 l1: 0000000000000000 l2:
00000000007b7ed0 l3: ffffffffffffd59a
[   82.946029] l4: 00000000007b7ad0 l5: 000000000073c040 l6:
0000000000000020 l7: 0000000000000010
[   82.954694] i0: 0000000000000000 i1: 0000000000000000 i2:
00000000007b7ad0 i3: fffffffffffffffe
[   82.963358] i4: 0000000000000000 i5: 0000000000004000 i6:
fffff8d1f383eec1 i7: 0000000000456e88
[   82.972027] I7: <panic+0x6c/0x164>
[   82.975403] Caller[0000000000456e88]: panic+0x6c/0x164
[   82.980515] Caller[000000000045a250]: do_exit+0x6c/0x6f8
[   82.985801] Caller[0000000000428c40]: die_if_kernel+0x238/0x2d4
[   82.991694] Caller[00000000004344b8]: kernel_mna_trap_fault+0xc8/0xfc
[   82.998106] Caller[00000000004349c8]: kernel_unaligned_trap
+0x4dc/0x520
[   83.004691] Caller[0000000000428750]: mem_address_unaligned+0x58/0x90
[   83.011104] Caller[0000000000405e08]: do_mna+0x44/0x4c
[   83.016217] Caller[000000000046d33c]: atomic_notifier_chain_register
+0x1c/0x44
[   83.023410] Caller[0000000000782128]: kernel_init+0x38/0x204
[   83.029041] Caller[0000000000426df8]: kernel_thread+0x38/0x48
[   83.034760] Caller[000000000067bae0]: rest_init+0x18/0x60
[   83.040133] Instruction DUMP: e05e0000  1068000f  b0102000 <c25c0000>
e05c2008  9fc04000  01000000  03000020  b0100008 
[   83.050878] Fixing recursive fault but reboot is needed!

"

Lenny with console=ttyS0 :

"Allocated 8 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.26
Loading initial ramdisk (4311252 bytes at 0xD1FE008000 phys, 0x40C00000 virt)...
-

[    0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 4.22.34 2007/07/23
13:01'
[    0.000000] PROMLIB: Root node compatible: 
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.26-2-sparc64 (Debian 2.6.26-19)
([email protected]) (gcc version 4.1.3 20080704 (prerelease) (Debian
4.1.2-25)) #1 Thu Aug 20 15:21:01 UTC 2009
[    0.000000] console [earlyprom0] enabled
[    0.000000] ARCH: SUN4U
[    0.000000] Ethernet address: 00:14:4f:1e:47:f9
[    0.000000] Kernel: Using 1 locked TLB entries for main kernel image.
[    0.000000] Remapping the kernel... done.
[    0.000000] OF stdout device
is: /pci@9,700000/ebus@1/rsc-console@1,3083f8
[    0.000000] PROM: Built device tree with 193535 bytes of memory.
[    0.000000] Top of RAM: 0xd1ff9d0000, Total RAM: 0x7f5a5e000
[    0.000000] Memory hole size: 827551MB
[    0.000000] [0000000318000000-fffff8a000400000] page_structs1072
node=0 entry20/0
[    0.000000] [0000000318000000-fffff8a000800000] page_structs1072
node=0 entry21/0
[    0.000000] [0000000318700000-fffff8a000c00000] page_structs1072
node=0 entry22/0
[    0.000000] [0000000318700000-fffff8a001000000] page_structs1072
node=0 entry23/0
[    0.000000] [0000000318e00000-fffff8a001400000] page_structs1072
node=0 entry24/0
[    0.000000] [0000000318e00000-fffff8a001800000] page_structs1072
node=0 entry25/0
[    0.000000] [0000000319500000-fffff8a001c00000] page_structs1072
node=0 entry26/0
[    0.000000] [0000000319c00000-fffff8a002000000] page_structs1072
node=0 entry27/0
[    0.000000] [0000000319c00000-fffff8a002400000] page_structs1072
node=0 entry28/0
[    0.000000] [000000031a300000-fffff8a002800000] page_structs1072
node=0 entry29/0
[    0.000000] [000000031a300000-fffff8a002c00000] page_structs1072
node=0 entry30/0
[    0.000000] [000000031aa00000-fffff8a003000000] page_structs1072
node=0 entry31/0
[    0.000000] [000000031aa00000-fffff8a003400000] page_structs1072
node=0 entry32/0
[    0.000000] [000000031b100000-fffff8a003800000] page_structs1072
node=0 entry33/0
[    0.000000] [0000000334000000-fffff8a003c00000] page_structs1072
node=0 entry32/0
[    0.000000] [0000000334000000-fffff8a004000000] page_structs1072
node=0 entry33/0
[    0.000000] [0000000334700000-fffff8a004400000] page_structs1072
node=0 entry34/0
[    0.000000] [0000000334700000-fffff8a004800000] page_structs1072
node=0 entry35/0
[    0.000000] [0000000334e00000-fffff8a004c00000] page_structs1072
node=0 entry36/0
[    0.000000] [0000000334e00000-fffff8a005000000] page_structs1072
node=0 entry37/0
[    0.000000] [0000000335500000-fffff8a005400000] page_structs1072
node=0 entry38/0
[    0.000000] [0000000335c00000-fffff8a005800000] page_structs1072
node=0 entry39/0
[    0.000000] [0000000335c00000-fffff8a005c00000] page_structs1072
node=0 entry40/0
[    0.000000] [0000000336300000-fffff8a006000000] page_structs1072
node=0 entry41/0
[    0.000000] [0000000336300000-fffff8a006400000] page_structs1072
node=0 entry42/0
[    0.000000] [0000000336a00000-fffff8a006800000] page_structs1072
node=0 entry43/0
[    0.000000] [0000000336a00000-fffff8a006c00000] page_structs1072
node=0 entry44/0
[    0.000000] [0000000337100000-fffff8a007000000] page_structs1072
node=0 entry45/0
[    0.000000] [0000000350000000-fffff8a007400000] page_structs1072
node=0 entry44/0
[    0.000000] [0000000350000000-fffff8a007800000] page_structs1072
node=0 entry45/0
[    0.000000] [0000000350700000-fffff8a007c00000] page_structs1072
node=0 entry46/0
[    0.000000] [0000000350700000-fffff8a008000000] page_structs1072
node=0 entry47/0
[    0.000000] [0000000350e00000-fffff8a008400000] page_structs1072
node=0 entry48/0
[    0.000000] [0000000350e00000-fffff8a008800000] page_structs1072
node=0 entry49/0
[    0.000000] [0000000351500000-fffff8a008c00000] page_structs1072
node=0 entry50/0
[    0.000000] [0000000351c00000-fffff8a009000000] page_structs1072
node=0 entry51/0
[    0.000000] [0000000351c00000-fffff8a009400000] page_structs1072
node=0 entry52/0
[    0.000000] [0000000352300000-fffff8a009800000] page_structs1072
node=0 entry53/0
[    0.000000] [0000000352300000-fffff8a009c00000] page_structs1072
node=0 entry54/0
[    0.000000] [0000000352a00000-fffff8a00a000000] page_structs1072
node=0 entry55/0
[    0.000000] [0000000352a00000-fffff8a00a400000] page_structs1072
node=0 entry56/0
[    0.000000] [0000000353100000-fffff8a00a800000] page_structs1072
node=0 entry57/0
[    0.000000] [000000036c000000-fffff8a00ac00000] page_structs1072
node=0 entry56/0
[    0.000000] [000000036c000000-fffff8a00b000000] page_structs1072
node=0 entry57/0
[    0.000000] [000000036c700000-fffff8a00b400000] page_structs1072
node=0 entry58/0
[    0.000000] [000000036c700000-fffff8a00b800000] page_structs1072
node=0 entry59/0
[    0.000000] [000000036ce00000-fffff8a00bc00000] page_structs1072
node=0 entry60/0
[    0.000000] [000000036ce00000-fffff8a00c000000] page_structs1072
node=0 entry61/0
[    0.000000] [000000036d500000-fffff8a00c400000] page_structs1072
node=0 entry62/0
[    0.000000] [000000036dc00000-fffff8a00c800000] page_structs1072
node=0 entry63/0
[    0.000000] [000000036dc00000-fffff8a00cc00000] page_structs1072
node=0 entry64/0
[    0.000000] [000000036e300000-fffff8a00d000000] page_structs1072
node=0 entry65/0
[    0.000000] [000000036e300000-fffff8a00d400000] page_structs1072
node=0 entry66/0
[    0.000000] [000000036ea00000-fffff8a00d800000] page_structs1072
node=0 entry67/0
[    0.000000] [000000036ea00000-fffff8a00dc00000] page_structs1072
node=0 entry68/0
[    0.000000] [000000036f100000-fffff8a00e000000] page_structs1072
node=0 entry69/0
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   83886080 -> 110099688
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[8] active PFN ranges
[    0.000000]     0: 83886080 -> 84934656
[    0.000000]     0: 92274688 -> 93323264
[    0.000000]     0: 100663296 -> 101711872
[    0.000000]     0: 109051904 -> 110071808
[    0.000000]     0: 110071809 -> 110075984
[    0.000000]     0: 110096388 -> 110098431
[    0.000000]     0: 110098432 -> 110099677
[    0.000000]     0: 110099680 -> 110099688
[    0.000000] Booting Linux...
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 3993908
[    0.000000] Kernel command line: console=ttyS0
[    0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[    0.000000] clocksource: mult[640000] shift[16]
[    0.000000] clockevent: mult[28f5c28] shift[32]
[   82.089904] Console: colour dummy device 80x25
[   82.122470] Dentry cache hash table entries: 4194304 (order: 12,
33554432 bytes)
[   82.168263] Inode-cache hash table entries: 2097152 (order: 11,
16777216 bytes)
[   84.765404] Memory: 33096600k available (2592k kernel code, 944k
data, 176k init) [fffff80000000000,000000d1ff9d0000]
[   84.855352] Calibrating delay using timer specific routine.. 19.85
BogoMIPS (lpj9705)
[   84.863351] Security Framework initialized
[   84.867378] SELinux:  Disabled at boot.
[   84.871184] Capability LSM initialized
[   84.874929] Mount-cache hash table entries: 512
[   84.879674] Initializing cgroup subsys ns
[   84.883608] Initializing cgroup subsys cpuacct
[   84.888025] Initializing cgroup subsys devices
[   84.892608] Kernel unaligned access at TPC[46d24c]
notifier_chain_register+0x10/0x38
[   84.900274] Unable to handle kernel paging request in mna handler<1>
at virtual address e00000a00b000046
[   84.909712] current->{active_,}mm->context = 0000000000000000
[   84.915431] current->{active_,}mm->pgd = fffff8d1ff3b2104
[   84.920804]               \|/ ____ \|/
[   84.920806]               "@'/ .. \`@"
[   84.920808]               /_| \__/ |_\
[   84.920810]                  \__U_/
[   84.935448] swapper(1): Oops [#1]
[   84.938744] TSTATE: 0000008880f01605 TPC: 000000000046d24c TNPC:
000000000046d250 Y: 00000000    Not tainted
[   84.948535] TPC: <notifier_chain_register+0x10/0x38>
[   84.953473] g0: 00000000000200d0 g1: 0000000000000001 g2:
0000000000000000 g3: e00000a00b000036
[   84.962138] g4: fffff8d1f382f6e0 g5: 0000000000000000 g6:
fffff8d1f383c000 g7: fffff8d1f382ebe8
[   84.970803] o0: 00000000007b7aa8 o1: 0000000000748528 o2:
0000000000000000 o3: fffff8d1f313dff9
[   84.979468] o4: 0000000000774000 o5: 0000000000000005 sp:
fffff8d1f383f581 ret_pc: 000000000046d33c
[   84.988482] RPC: <atomic_notifier_chain_register+0x1c/0x44>
[   84.994026] l0: fffff8d1f383c000 l1: fffff8d1f382f6e0 l2:
fffff8d1f382f140 l3: fffff8d1f382f3c0
[   85.002691] l4: 0000000000000002 l5: 000000000073c040 l6:
0000000000000020 l7: 0000000000000010
[   85.011356] i0: 00000000007b7aa8 i1: 0000000000000000 i2:
0000000000426df4 i3: 0000000000000000
[   85.020022] i4: 0000000000000000 i5: 0000000000000000 i6:
fffff8d1f383f641 i7: 0000000000782128
[   85.028692] I7: <kernel_init+0x38/0x204>
[   85.032587] Caller[0000000000782128]: kernel_init+0x38/0x204
[   85.038218] Caller[0000000000426df8]: kernel_thread+0x38/0x48
[   85.043938] Caller[000000000067bae0]: rest_init+0x18/0x60
[   85.049310] Instruction DUMP: 01000000  10680008  c65a0000 <c200e010>
80a08001  34400007  c6726008  9000e008  c65a0000 
[   85.060057] Kernel panic - not syncing: Attempted to kill init!
[   85.065948] Kernel unaligned access at TPC[46d2c4]
notifier_call_chain+0x18/0x74
[   85.073313] Unable to handle kernel paging request in mna handler<1>
at virtual address e00000a00b000036
[   85.082758] current->{active_,}mm->context = 0000000000000000
[   85.088477] current->{active_,}mm->pgd = fffff8d1ff3b2104
[   85.093849]               \|/ ____ \|/
[   85.093851]               "@'/ .. \`@"
[   85.093853]               /_| \__/ |_\
[   85.093855]                  \__U_/
[   85.108493] swapper(1): Oops [#2]
[   85.111788] TSTATE: 0000000080f09605 TPC: 000000000046d2c4 TNPC:
000000000046d2c8 Y: 00000000    Tainted: G      D  
[   85.122273] TPC: <notifier_call_chain+0x18/0x74>
[   85.126864] g0: 0000000000744000 g1: 0000000000000001 g2:
0000000000000001 g3: 00000000007440c0
[   85.135531] g4: fffff8d1f382f6e0 g5: 0000000000000000 g6:
fffff8d1f383c000 g7: 0000000000000001
[   85.144195] o0: e00000a00b000036 o1: 0000000000000000 o2:
00000000007b7ad0 o3: fffff8d1f383f8e8
[   85.152860] o4: 0000000000744000 o5: 00000000007bc400 sp:
fffff8d1f383ee01 ret_pc: 0000000000557fcc
[   85.161883] RPC: <bust_spinlocks+0x48/0x4c>
[   85.166032] l0: e00000a00b000036 l1: 0000000000000000 l2:
00000000007b7ed0 l3: ffffffffffffd599
[   85.174697] l4: 00000000007b7ad0 l5: 000000000073c040 l6:
0000000000000020 l7: 0000000000000010
[   85.183362] i0: 0000000000000000 i1: 0000000000000000 i2:
00000000007b7ad0 i3: fffffffffffffffe
[   85.192028] i4: 0000000000000000 i5: 0000000000004000 i6:
fffff8d1f383eec1 i7: 0000000000456e88
[   85.200695] I7: <panic+0x6c/0x164>
[   85.204072] Caller[0000000000456e88]: panic+0x6c/0x164
[   85.209184] Caller[000000000045a250]: do_exit+0x6c/0x6f8
[   85.214470] Caller[0000000000428c40]: die_if_kernel+0x238/0x2d4
[   85.220361] Caller[00000000004344b8]: kernel_mna_trap_fault+0xc8/0xfc
[   85.226773] Caller[00000000004349c8]: kernel_unaligned_trap
+0x4dc/0x520
[   85.233359] Caller[0000000000428750]: mem_address_unaligned+0x58/0x90
[   85.239771] Caller[0000000000405e08]: do_mna+0x44/0x4c
[   85.244885] Caller[000000000046d33c]: atomic_notifier_chain_register
+0x1c/0x44
[   85.252077] Caller[0000000000782128]: kernel_init+0x38/0x204
[   85.257709] Caller[0000000000426df8]: kernel_thread+0x38/0x48
[   85.263427] Caller[000000000067bae0]: rest_init+0x18/0x60
[   85.268801] Instruction DUMP: e05e0000  1068000f  b0102000 <c25c0000>
e05c2008  9fc04000  01000000  03000020  b0100008 
[   85.279546] Fixing recursive fault but reboot is needed!

"

Etch freezes at "Booting Linux..." with the following arguments :
console=ttya
console=ttyS0
console=somethingrandom
consoleêrlyprom0

:)

Also, I tried openBSD earlier today, the setup booted and ran properly, but the resulting installation dies from a kernel panic. Just thought this info may have some use here. I have sent an e-mail with the output to their mailing lists

Aaron

Signature · 2 lines
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Signature · 1 line
     2. That which causes joy or happiness.
#1 lore raw

Re: Sun fire V890 UltraSparc server kernel panic, offertoassist

From: Josip Rodin <[email protected]>
Date: Sun, 22 Nov 2009 23:06:21 +0100

Quoted 4 lines
Quoted 4 lines
[   82.663939] Kernel unaligned access at TPC[46d24c]
notifier_chain_register+0x10/0x38
[   82.671606] Unable to handle kernel paging request in mna handler<1>

at virtual address e00000a00b000046

That address is not only unaligned, it's completely out of range for valid kernel virtual addresses.

notifier_chain_register() and their ilk are pretty simply and take constant kernel symbol addresses rather than, for example, dynamically allocated memory or something else more easily corrupted. So this is even more mysterious.

Backtrace is:

Quoted 1 line
Quoted 1 line
[   82.759812] RPC: <atomic_notifier_chain_register+0x1c/0x44>

...

Quoted 1 line
Quoted 1 line
[   82.800022] I7: <kernel_init+0x38/0x204>

...

Quoted 3 lines
Quoted 3 lines
[   82.803917] Caller[0000000000782128]: kernel_init+0x38/0x204
[   82.809549] Caller[0000000000426df8]: kernel_thread+0x38/0x48
[   82.815268] Caller[000000000067bae0]: rest_init+0x18/0x60

And I can't see anything that registers notifiers from kernel_init().

I suspect the real caller of atomic_notifier_chain_register() is being optimized out by tail-call optimizations so we can't see exactly what it is.

Can you build a test kernel with something like the following patch applied and reproduce? Thanks.

Makefile +2 -0
index aa3e13a..d953cd3 100644
@@ -537,6 +537,8 @@ ifndef CONFIG_CC_STACKPROTECTOR
 KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
 endif
 
+KBUILD_CFLAGS	+= -fno-optimize-sibling-calls
+
 ifdef CONFIG_FRAME_POINTER
 KBUILD_CFLAGS	+= -fno-omit-frame-pointer -fno-optimize-sibling-calls
 else
#2 lore raw

Re: Sun fire V890 UltraSparc server kernel panic, offertoassist

In reply to Josip Rodin

I don't know who's going to do this, but if it's me does anyone have a guide lying around ? :P

...or some useful links.

Aaron

Quoted 50 lines · David Miller

From: Josip Rodin <[email protected]>
Date: Sun, 22 Nov 2009 23:06:21 +0100

Quoted 4 lines
Quoted 4 lines
[   82.663939] Kernel unaligned access at TPC[46d24c]
notifier_chain_register+0x10/0x38
[   82.671606] Unable to handle kernel paging request in mna handler<1>

at virtual address e00000a00b000046

That address is not only unaligned, it's completely out of range for valid kernel virtual addresses.

notifier_chain_register() and their ilk are pretty simply and take constant kernel symbol addresses rather than, for example, dynamically allocated memory or something else more easily corrupted. So this is even more mysterious.

Backtrace is:

Quoted 1 line
Quoted 1 line
[   82.759812] RPC: <atomic_notifier_chain_register+0x1c/0x44>

...

Quoted 1 line
Quoted 1 line
[   82.800022] I7: <kernel_init+0x38/0x204>

...

Quoted 3 lines
Quoted 3 lines
[   82.803917] Caller[0000000000782128]: kernel_init+0x38/0x204
[   82.809549] Caller[0000000000426df8]: kernel_thread+0x38/0x48
[   82.815268] Caller[000000000067bae0]: rest_init+0x18/0x60

And I can't see anything that registers notifiers from kernel_init().

I suspect the real caller of atomic_notifier_chain_register() is being optimized out by tail-call optimizations so we can't see exactly what it is.

Can you build a test kernel with something like the following patch applied and reproduce? Thanks.

Makefile +2 -0
index aa3e13a..d953cd3 100644
@@ -537,6 +537,8 @@ ifndef CONFIG_CC_STACKPROTECTOR
 KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
 endif
 
+KBUILD_CFLAGS	+= -fno-optimize-sibling-calls
+
 ifdef CONFIG_FRAME_POINTER
 KBUILD_CFLAGS	+= -fno-omit-frame-pointer -fno-optimize-sibling-calls
 else
#3 lore raw

Re: Sun fire V890 UltraSparc server kernel panic, offertoassist

In reply to Josip Rodin
Quoted 4 lines · Aaron Scheiner

I don't know who's going to do this, but if it's me does anyone have a guide lying around ? :P

...or some useful links.

Yeah, the problem is, if you had just a single working Linux version on the machine, you could try these things on your own; but since you don't, you're depending on either cross-compiling or someone else compiling the kernel, *AND* building it into a bootable image.

Maybe if you could plug the machine into a network with another machine which could serve the boot image over PXE or something...

Signature · 1 line
     2. That which causes joy or happiness.
#4 lore raw

Re: Sun fire V890 UltraSparc server kernel panic, offertoassist

In reply to Josip Rodin

Hey Joy

The machine is currently connected to my home LAN. I powered it up from a remote location today via SSH -> Telnet (RSC) and executed some commands on the Solaris installation... I think that's pretty cool :P .

My home network has DHCP server on it (Smoothwall) and two other machines running Ubuntu. One of the Ubuntu machines has been configured as a TFTP server (used it to hack a Mikrotik router a while back). In other words, I should(?) have the environment to boot this Sun machine via the network.

As for the kernel, I found a guide today that should put me on the right track : http://wiki.debian.org/DebianInstaller/Modify/CustomKernel .

I'll work on it a little later today :) .

Quoted 14 lines · Josip Rodin
Quoted 4 lines · Aaron Scheiner

I don't know who's going to do this, but if it's me does anyone have a guide lying around ? :P

...or some useful links.

Yeah, the problem is, if you had just a single working Linux version on the machine, you could try these things on your own; but since you don't, you're depending on either cross-compiling or someone else compiling the kernel, *AND* building it into a bootable image.

Maybe if you could plug the machine into a network with another machine which could serve the boot image over PXE or something...

#5 lore raw

Re: Sun fire V890 UltraSparc server kernel panic, offertoassist

In reply to Josip Rodin
Quoted 10 lines · Aaron Scheiner

My home network has DHCP server on it (Smoothwall) and two other machines running Ubuntu. One of the Ubuntu machines has been configured as a TFTP server (used it to hack a Mikrotik router a while back). In other words, I should(?) have the environment to boot this Sun machine via the network.

As for the kernel, I found a guide today that should put me on the right track : http://wiki.debian.org/DebianInstaller/Modify/CustomKernel .

I'll work on it a little later today :) .

While we're at it, you mentioned earlier that you tried Ubuntu Dapper (6.06) with 2.6.15 which also failed miserably - Ubuntu shipped a few more sparc releases other than that one, so you may get lucky with another one. A quick Google tells me that their 7.04 and 7.10 releases still had sparc, so try and find installer images from those.

Signature · 1 line
     2. That which causes joy or happiness.
#6 lore raw

Re: Sun fire V890 UltraSparc server kernel panic, offertoassist

In reply to Josip Rodin
Quoted 10 lines · Josip Rodin
Quoted 9 lines · Aaron Scheiner

My home network has DHCP server on it (Smoothwall) and two other machines running Ubuntu. One of the Ubuntu machines has been configured as a TFTP server (used it to hack a Mikrotik router a while back). In other words, I should(?) have the environment to boot this Sun machine via the network.

As for the kernel, I found a guide today that should put me on the right track : http://wiki.debian.org/DebianInstaller/Modify/CustomKernel .

Quoted 7 lines
Quoted 1 line

I'll work on it a little later today :) .

While we're at it, you mentioned earlier that you tried Ubuntu Dapper (6.06) with 2.6.15 which also failed miserably - Ubuntu shipped a few more sparc releases other than that one, so you may get lucky with another one. A quick Google tells me that their 7.04 and 7.10 releases still had sparc, so try and find installer images from those.

Oddly enough, once I actually figured out the right place to look on the web site, I could also easily find newer ones:
http://cdimage.ubuntu.com/ports/releases/hardy/release/ubuntu-8.04.1-server-sparc.iso
http://cdimage.ubuntu.com/ports/releases/intrepid/release/ubuntu-8.10-server-sparc.iso
http://cdimage.ubuntu.com/ports/releases/jaunty/release/ubuntu-9.04-server-sparc.iso
http://cdimage.ubuntu.com/ports/releases/karmic/release/ubuntu-9.10-server-sparc.iso

Signature · 1 line
     2. That which causes joy or happiness.
#7 lore raw

Re: Sun fire V890 UltraSparc server kernel panic, offertoassist

In reply to Josip Rodin

Booting both Ubuntu 9.10 and 8.10 results in this error :
"
boot:
Allocated 64 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.25
Loading initial ramdisk (6178206 bytes at 0xA1FF000000 phys, 0x40C00000 virt)...
ERROR: Last Trap: Fast Data Access MMU Miss

{2} ok
"

Interestingly, the machine returns to the boot prom instead of just dying altogether.

Hope that helps :)

Aaron

Quoted 26 lines · Josip Rodin
Quoted 10 lines · Josip Rodin
Quoted 9 lines · Aaron Scheiner

My home network has DHCP server on it (Smoothwall) and two other machines running Ubuntu. One of the Ubuntu machines has been configured as a TFTP server (used it to hack a Mikrotik router a while back). In other words, I should(?) have the environment to boot this Sun machine via the network.

As for the kernel, I found a guide today that should put me on the right track : http://wiki.debian.org/DebianInstaller/Modify/CustomKernel .

Quoted 7 lines
Quoted 1 line

I'll work on it a little later today :) .

While we're at it, you mentioned earlier that you tried Ubuntu Dapper (6.06) with 2.6.15 which also failed miserably - Ubuntu shipped a few more sparc releases other than that one, so you may get lucky with another one. A quick Google tells me that their 7.04 and 7.10 releases still had sparc, so try and find installer images from those.

Oddly enough, once I actually figured out the right place to look on the web site, I could also easily find newer ones:
http://cdimage.ubuntu.com/ports/releases/hardy/release/ubuntu-8.04.1-server-sparc.iso
http://cdimage.ubuntu.com/ports/releases/intrepid/release/ubuntu-8.10-server-sparc.iso
http://cdimage.ubuntu.com/ports/releases/jaunty/release/ubuntu-9.04-server-sparc.iso
http://cdimage.ubuntu.com/ports/releases/karmic/release/ubuntu-9.10-server-sparc.iso

#8 lore raw

Re: Sun fire V890 UltraSparc server kernel panic,?offertoassist with

In reply to Josip Rodin
Quoted 4 lines

The machine specification is in the original post at
http://lists.debian.org/debian-sparc/2009/11/msg00013.html
There is one recorded V890 prtconf from Meelis Roos in prtconfs.git so that's a good sign, at least one person once made it work. :)

Just for documentation purposes - no, I did not get this prtconf under Linux but under Solaris instead. And I have not tried Linux on V890 - it's not my machine.

Signature · 1 line
Meelis Roos ([email protected])
#9 lore raw

Re: Sun fire V890 UltraSparc server kernel panic, offertoassist

In reply to Josip Rodin

I just thought I'd let you know that OpenBSD's guys have managed to get OpenBSD running on this machine.

Aaron

Quoted 50 lines · Aaron Scheiner

Booting both Ubuntu 9.10 and 8.10 results in this error :
"
boot:
Allocated 64 Megs of memory at 0x40000000 for kernel
Loaded kernel version 2.6.25
Loading initial ramdisk (6178206 bytes at 0xA1FF000000 phys, 0x40C00000 virt)...
ERROR: Last Trap: Fast Data Access MMU Miss

{2} ok
"

Interestingly, the machine returns to the boot prom instead of just dying altogether.

Hope that helps :)

Aaron

Quoted 26 lines · Josip Rodin
Quoted 10 lines · Josip Rodin
Quoted 9 lines · Aaron Scheiner

My home network has DHCP server on it (Smoothwall) and two other machines running Ubuntu. One of the Ubuntu machines has been configured as a TFTP server (used it to hack a Mikrotik router a while back). In other words, I should(?) have the environment to boot this Sun machine via the network.

As for the kernel, I found a guide today that should put me on the right track : http://wiki.debian.org/DebianInstaller/Modify/CustomKernel .

Quoted 7 lines
Quoted 1 line

I'll work on it a little later today :) .

While we're at it, you mentioned earlier that you tried Ubuntu Dapper (6.06) with 2.6.15 which also failed miserably - Ubuntu shipped a few more sparc releases other than that one, so you may get lucky with another one. A quick Google tells me that their 7.04 and 7.10 releases still had sparc, so try and find installer images from those.

Oddly enough, once I actually figured out the right place to look on the web site, I could also easily find newer ones:
http://cdimage.ubuntu.com/ports/releases/hardy/release/ubuntu-8.04.1-server-sparc.iso
http://cdimage.ubuntu.com/ports/releases/intrepid/release/ubuntu-8.10-server-sparc.iso
http://cdimage.ubuntu.com/ports/releases/jaunty/release/ubuntu-9.04-server-sparc.iso
http://cdimage.ubuntu.com/ports/releases/karmic/release/ubuntu-9.10-server-sparc.iso