Skip to contentSkip to conversation

Oops when booting 2.6.5

DISCUSSION Art Haas 3 participants 5 messages Apr 5, 2004 – Apr 6, 2004

lore
Share & tools
lore

Art Haas

author
#0 lore raw

Hi.

I compiled the kernel with Debian's GCC-3.3 package. When booting the 2.6.5-rc kernels there was no oops. The oops occur when the initscripts are trying to active swap with 'swapon -a'.

Art Haas

ksymoops 2.4.9 on sparc 2.6.5. Options used

     -v /opt/build/linus-2.5/vmlinux (specified)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.6.5/ (default)
     -m /boot/System.map-2.6.5 (default)

Error (regular_file): read_ksyms stat /proc/ksyms failed
ksymoops: No such file or directory
No modules in ksyms, skipping objects
No ksyms, skipping lsmod

Apr  5 09:38:22 sundebian kernel:               \|/ ____ \|/
Apr  5 09:38:22 sundebian kernel:               "@'/ ,. \`@"
Apr  5 09:38:22 sundebian kernel:               /_| \__/ |_\
Apr  5 09:38:22 sundebian kernel:                  \__U_/
Apr  5 09:38:22 sundebian kernel: swapon(40): Kernel bad trap [#1]
Apr  5 09:38:22 sundebian kernel: PSR: 400000c5 PC: f00656f8 NPC: f00656fc Y: 00000000    Not tainted
Apr  5 09:38:22 sundebian kernel: PC: <sys_swapon+0x88/0x758>
Apr  5 09:38:22 sundebian kernel: Caller[f0012a00]: syscall_is_too_hard+0x34/0x40
Apr  5 09:38:22 sundebian kernel: Caller[00010d3c]: 0x10d3c
Apr  5 09:38:22 sundebian kernel: Instruction DUMP: a2046048  82102040  8088607c <93d02005> 80a4201f  1880005b  b0103fff  c204a3fc  80a40001 
Quoted 1 line
Quoted 1 line

PC; f00656f8 <sys_swapon+88/758> <==

Trace; f0012a00 <syscall_is_too_hard+34/40>
Trace; 00010d3c Before first symbol

Code; f00656ec <sys_swapon+7c/758>
00000000 <_PC>:
Code; f00656ec <sys_swapon+7c/758>
0: a2 04 60 48 add %l1, 0x48, %l1
Code; f00656f0 <sys_swapon+80/758>
4: 82 10 20 40 mov 0x40, %g1
Code; f00656f4 <sys_swapon+84/758>
8: 80 88 60 7c btst 0x7c, %g1
Code; f00656f8 <sys_swapon+88/758> <== c: 93 d0 20 05 tne 5 <==Code; f00656fc <sys_swapon+8c/758>
10: 80 a4 20 1f cmp %l0, 0x1f
Code; f0065700 <sys_swapon+90/758>
14: 18 80 00 5b bgu 180 <_PC+0x180>
Code; f0065704 <sys_swapon+94/758>
18: b0 10 3f ff mov -1, %i0
Code; f0065708 <sys_swapon+98/758>
1c: c2 04 a3 fc ld [ %l2 + 0x3fc ], %g1
Code; f006570c <sys_swapon+9c/758>
20: 80 a4 00 01 cmp %l0, %g1

Apr  5 09:38:22 sundebian kernel:               \|/ ____ \|/
Apr  5 09:38:22 sundebian kernel:               "@'/ ,. \`@"
Apr  5 09:38:22 sundebian kernel:               /_| \__/ |_\
Apr  5 09:38:22 sundebian kernel:                  \__U_/
Apr  5 09:38:22 sundebian kernel: swapon(111): Kernel bad trap [#2]
Apr  5 09:38:22 sundebian kernel: PSR: 400000c7 PC: f00656f8 NPC: f00656fc Y: 00000000    Not tainted
Apr  5 09:38:22 sundebian kernel: PC: <sys_swapon+0x88/0x758>
Apr  5 09:38:22 sundebian kernel: Caller[f0012a00]: syscall_is_too_hard+0x34/0x40
Apr  5 09:38:22 sundebian kernel: Caller[00010d3c]: 0x10d3c
Apr  5 09:38:22 sundebian kernel: Instruction DUMP: a2046048  82102040  8088607c <93d02005> 80a4201f  1880005b  b0103fff  c204a3fc  80a40001 
Quoted 1 line
Quoted 1 line

PC; f00656f8 <sys_swapon+88/758> <==

Trace; f0012a00 <syscall_is_too_hard+34/40>
Trace; 00010d3c Before first symbol

Code; f00656ec <sys_swapon+7c/758>
00000000 <_PC>:
Code; f00656ec <sys_swapon+7c/758>
0: a2 04 60 48 add %l1, 0x48, %l1
Code; f00656f0 <sys_swapon+80/758>
4: 82 10 20 40 mov 0x40, %g1
Code; f00656f4 <sys_swapon+84/758>
8: 80 88 60 7c btst 0x7c, %g1
Code; f00656f8 <sys_swapon+88/758> <== c: 93 d0 20 05 tne 5 <==Code; f00656fc <sys_swapon+8c/758>
10: 80 a4 20 1f cmp %l0, 0x1f
Code; f0065700 <sys_swapon+90/758>
14: 18 80 00 5b bgu 180 <_PC+0x180>
Code; f0065704 <sys_swapon+94/758>
18: b0 10 3f ff mov -1, %i0
Code; f0065708 <sys_swapon+98/758>
1c: c2 04 a3 fc ld [ %l2 + 0x3fc ], %g1
Code; f006570c <sys_swapon+9c/758>
20: 80 a4 00 01 cmp %l0, %g1

1 error issued. Results may not be reliable.

Signature · 4 lines
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822
#1 lore raw
Quoted 3 lines · Art Haas

I compiled the kernel with Debian's GCC-3.3 package. When booting the 2.6.5-rc kernels there was no oops. The oops occur when the initscripts are trying to active swap with 'swapon -a'.

Known issue, being worked on. Thanks for the report.

Signature · 1 line
Keith M Wesolowski
#2 lore raw
In reply to Art Haas

On Mon, Apr 05, 2004 at 11:11:47 -0700,
Keith M Wesolowski <[email protected]> wrote:
[.. oops on swapon ..]

Quoted 1 line

Known issue, being worked on. Thanks for the report.

do you think this (theoretical) fix can be backported to 2.4 easily? ISTR having the same problem on 2.4/sparc32.

Signature · 2 lines
Thomas 'Mike' Michlmayr  | ignorami: n: The BOFH art of folding problem 
<[email protected]> |           lusers into representational shapes.
#3 lore raw
In reply to Art Haas
Quoted 2 lines · Thomas 'Mike' Michlmayr

do you think this (theoretical) fix can be backported to 2.4 easily? ISTR having the same problem on 2.4/sparc32.

Whatever it is, it's not the same, unless you use 17 or more swapfiles (don't do that then). Can you please confirm this happens in 2.4.25 and provide a ksymoops trace?

Signature · 1 line
Keith M Wesolowski
#4 lore raw
In reply to Art Haas

On Mon, Apr 05, 2004 at 16:51:37 -0700,
Keith M Wesolowski <[email protected]> wrote:
[...]

Quoted 2 lines
Quoted 2 lines

do you think this (theoretical) fix can be backported to 2.4 easily? ISTR having the same problem on 2.4/sparc32.

i was remembering things wrongly, and keith just informed me off-list that this problem[0] was solved "ages ago". sorry for missing that, i thought that bug was still unfixed.

[0] coredump on swapon.

Signature · 2 lines
Thomas 'Mike' Michlmayr  | ignorami: n: The BOFH art of folding problem 
<[email protected]> |           lusers into representational shapes.