SPONSORED LINKS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loadlin & APM



Hi Linux experts,

I try to boot linux via loadlin from Win95 to get sound support as
described in http://www.screamin.demon.co.uk/mwave.html for my
ThinkPad 760ED.
Unfortunatly when i try to boot via loadlin linux crashes with a
general protection (fault): '0000'. (more info below)

Playing around a bit i discovered that the problem actually is APM. if
i take a kernel without APM enabled (e.g slackware-3.4 kernel/bare.i,
linux 2.0.30) it works but not then APM is enabled (e.g slackware-3.4
kernel/bareapm.i, linux 2.0.30 as well as self-made kernels for
2.0.28/2.0.33 (see http://www.zurich.ibm.com/~sti/chiggiogna/linux/system/kernel/2.0.33.html)! 

i also noticed that the APM reports during the bootin (and immediatly
before crashing) a different 'dseg' address, namely '20a' instead of
the usual '9fc0'.

does anybody have an idea how to fix that  ?

regards

-michael-

CONSOLE OUTPUT (fragments)
==========================
....
APM BIOS version 1.2 Flags 0x03 (Driver version 1.2)
    Entry f714:0 cset16 f000 dseg 20a cseg len ffff, dseg len 400
general protection: 0000
CPU:	0
EIP:	2048:[<00000029>]
EFLAGS:	00010093
eax: 0000530d	ebx: 00000007	ecx: 001f530d	edx: 0000ffff
esi: 0000ffff	edi: 0000fffe	ebp: 0000ffff	esp: 00007f28
ds: 2050   es: 0000   fs: 0000   gs: 0000  ss: 0018
Process swapper (pid: 1, process nr: 1, stackpage=00007000)
Stack: ffff7f42a ffff530d ......
Call Trace: [<00193508>] [<00194323>] [<00194734>] ....
Code: 31 2c 20 31 39 39 36 20 41 4c 4c 20 52 49 47 48 54 53 20 52
Started ksapd v 1.4.2.2
<end of output on console>

Michael Steiner                   ___________              IBM Research Lab,
(++41) 1 / 724 82 86                   |                   Saeumerstrasse 4
<steiner@acm.org>                      ^                   CH-8803 Rueschlikon
     ---------------------------------(_)---------------------------------