Re: C++ in kernel (was Re: exception in a device driver)

Richard Harman (warewolf@tasam.com)
Mon, 11 Jan 1999 00:25:13 -0500 (EST)


<newbie disclaimer>
erm, well this is my first bug report, and the oops is hand typed, so the
ksymoops prolly wouldn't work me thinks... I was just trying to run
quake2 and as soon as it loads the vid driver, it stalls.

This is on a 2.2.0 pre6 pentium 120mhz with 64mb ram, and every isa and
pci slot filled. (ethernet, scsi, sound, serial, video, voodoo...)

</newbie disclaimer>

Richard

--begin snippets of stuff I don't understand --

--------- Loading ref_gl.so ---------------
Unable to handle kernel paging request at virtual address fffffffc
current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c101fd15>]
EFLAGS: 00010202
eax: 00000004 ebx: fffffffc ecx: c31b7000 edx: c0aee000
esi: c31b7968 edi: 00000001 ebp: c01d3e70 esp: c01d3e6c
ds: 0018 es: 0018 ss: 018
Process swapper (pid 0, process nr: 0, stackpage=c01d3000)
Stack: c31b6002 00000000 c018a31c c31b775c c31b735c c31b755c c01d3f58
00000000
c01fb060 00000000 c3a7e500 00000003 c0097160 00000046 0000000e
c0097160
00000092 0000000e c01fb060 00000000 c0173e56 c01ea9dc 00000046
00000000
Call Trace: [<c018a31c>] [<c0173e56>] [<c019363e>] [<c011054f>]
[<c01889b3>] [<c
011006a>] [<c0116945>]
[<c0106000>] [<c01089d0>] [<c0107145>] [<c0106000>] [<c0107168>]
[<c01089
34>] [<c0106000>] [>c010607b>]
[<c0106000>] [<c0100176>]
Code: 8a 13 8b 5b 04 8b 02 85 c7 74 f1 89 d0 e8 8d f9 ff eb e8
Aiee, killing interrupt handler
Kernel panic: Attempted to kill the idle task!
In swapper task - not syncing
_

the end.

I started up the quake2.3dfx script, and it locked up for some reason.
Telnetting in from my laptop, I killed (using killall) quake2. The screen
reset, and fixed itself. I then tried to load just plain quake2-- ..
apparently in my config.cfg it wanted the GL vid_ref, and tried to load it
and the kernel oopsed.

second time:

----cat of /dev/vcs0 while it locked up, before oops---

XT_blend_subtract GL_EXT_paletted_texture GL_EXT_point_parameters
GL_EXT_polygon
_offset GL_EXT_vertex_array GL_EXT_texture_object GL_EXT_texture3D
GL_MESA_windo
w_pos GL_MESA_resize_buffers GL_EXT_shared_texture_palette
3DFX_set_global_palet
te
...allowing CDS
------------------------------------
Jan 10 11:43:11 xabean kernel: VFS: Disk change detected on device
ide1(22,0)
CD Audio Initialized
------- Loading gamei386.so -------==== InitGame ====
------- Server Initialization -------
0 entities inhibited
0 teams with 0 entities
-------------------------------------
====== Quake2 Initialized ======

-end cat of /dev/vcs0-

The second crash had the exact same 'code' line as the first crash.

-- Versions installed: (if some fields are empty or looks
-- unusual then possibly you have very old versions)
Linux erwin 2.2.0 #4 Sun Jan 10 11:38:47 EST 1999 i586 unknown
Kernel modules 2.1.85
Gnu C 2.7.2.3
Binutils 2.9.1.0.4
Linux C Library 2.0.7
Dynamic linker ldd (GNU libc) 2.0.7
Linux C++ Library 2.8.0
Procps 1.2.7
Mount 2.7l
Net-tools 1.33
Kbd 0.94
Sh-utils 1.16

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/