Hi,
when using APM with a Compaq 4/33C LTE Lite laptop, I get the following
kernel messages:
-----------------------------------------------------------------------
Linux version 2.4.20-rc4-ac1 (root@triebel) (gcc version 2.95.4 20011002 (Debian prerelease)) #2 Fre Nov 29 11:10:52 CET 2002
BIOS-provided physical RAM map:
BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
BIOS-e801: 0000000000100000 - 0000000001440000 (usable)
20MB LOWMEM available.
On node 0 totalpages: 5184
zone(0): 4096 pages.
zone(1): 1088 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=302
Initializing CPU#0
Console: colour VGA+ 80x34
Calibrating delay loop... 16.58 BogoMIPS
Memory: 18760k/20736k available (728k kernel code, 1428k reserved, 162k data, 48k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
ramfs: mounted with options: <defaults>
ramfs: max_pages=2365 max_file_pages=0 max_inodes=0 max_dentries=2365
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: After generic, caps: 00000000 00000000 00000000 00000000
CPU: Common caps: 00000000 00000000 00000000 00000000
CPU: 486
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
hda: QUANTUM DAYTONA514A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: 1005569 sectors (515 MB) w/98KiB Cache, CHS=997/16/63
Partition check:
hda: hda1 hda2
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 48k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Adding Swap: 31240k swap-space (priority -1)
Real Time Clock Driver v1.10e
apm: BIOS version 0.1 Flags 0x03 (Driver version 1.16)
apm: an event queue overflowed
ide0: unexpected interrupt, status=0x80, count=1
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16450
ttyS01 at 0x02f8 (irq = 3) is a 16450
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPPIOCDETACH file->f_count=3
ide0: unexpected interrupt, status=0x80, count=2
ide0: unexpected interrupt, status=0x80, count=3
Unable to handle kernel NULL pointer dereference at virtual address 000000d8
printing eip:
c011dd5f
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c011dd5f>] Not tainted
EFLAGS: 00010246
eax: c1030080 ebx: c101f320 ecx: 00000400 edx: 00000000
esi: c0999000 edi: c10731e8 ebp: c1030080 esp: c0a97ed0
ds: 0018 es: 0018 ss: 0018
Process 00hwclock (pid: 759, stackpage=c0a97000)
Stack: c10731cc c10731cc c10731e8 080c1078 c011dee3 c10731cc c0ebeebc 080c1078
00000001 c0db5304 c10731cc 080c1078 c10731e8 c0ebeebc c0b6e080 c010cdf7
c10731cc c0ebeebc 080c1078 00000001 c0a96000 ffff0006 c010cce0 bffffbec
Call Trace: [<c011dee3>] [<c010cdf7>] [<c010cce0>] [<c0117c49>] [<c0114a0a>]
[<c0114936>] [<c010e03d>] [<c0106d34>]
Code: 2b 82 d8 00 00 00 69 c0 c5 4e ec c4 c1 f8 02 c1 e0 0c 03 82
-----------------------------------------------------------------------
why does apmd frequently crash?
what do all these ide and apm messages mean?
how should I use such an old apm bios?
Please CC me, I'm not subscribed to this list.
regards,
Felix T.
--
/"\ ASCII RIBBON CAMPAIGN
\ / AGAINST HTML MAIL
X AND POSTINGS :)
/ \ http://www.dcoul.de/
> why does apmd frequently crash?
> what do all these ide and apm messages mean?
> how should I use such an old apm bios?
The IDE messages are warning messages, not critical errors - you can
ignore them.
Please run the oops through ksymoops and post the output.
John.
Felix Triebel wrote:
> apm: BIOS version 0.1 Flags 0x03 (Driver version 1.16)
> [...]
> how should I use such an old apm bios?
At least one other old Compaq laptop reports APM BIOS
version 0.1 when it is actually 1.0. The apm driver
works around this by interpreting a 0.1 BIOS as 1.0.
> apm: an event queue overflowed
This suggests that your BIOS is generating events
faster than they can be read, which is troubling.
> why does apmd frequently crash?
Does apmd generate any messages when it crashes?
--
Thomas Hood <[email protected]>
On Mon, Dec 09, 2002 at 01:50:56PM +0000, John Bradford wrote:
> > why does apmd frequently crash?
> > what do all these ide and apm messages mean?
> > how should I use such an old apm bios?
>
> The IDE messages are warning messages, not critical errors - you can
> ignore them.
>
> Please run the oops through ksymoops and post the output.
sorry for the delay, but this thing is SLOW and there was some work
after it had a hard drive head crash. By the way - does ide taskfile
access correct problems silently or give me a message?
here is the requested ksymoops output, I hope it is useful:
--------------------------------------------------------------------------
ksymoops 2.4.5 on i486 2.4.20-rc4-ac1. Options used
-V (specified)
-k /proc/ksyms (default)
-l /proc/modules (default)
-o lib/modules/2.4.20-rc4-ac1/ (specified)
-m System.map-ac (specified)
CPU: 486
Unable to handle kernel NULL pointer dereference at virtual address 000000d8
c011dd5f
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c011dd5f>] Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: c1030080 ebx: c101f320 ecx: 00000400 edx: 00000000
esi: c0999000 edi: c10731e8 ebp: c1030080 esp: c0a97ed0
ds: 0018 es: 0018 ss: 0018
Process 00hwclock (pid: 759, stackpage=c0a97000)
Stack: c10731cc c10731cc c10731e8 080c1078 c011dee3 c10731cc c0ebeebc 080c1078
00000001 c0db5304 c10731cc 080c1078 c10731e8 c0ebeebc c0b6e080 c010cdf7
c10731cc c0ebeebc 080c1078 00000001 c0a96000 ffff0006 c010cce0 bffffbec
Call Trace: [<c011dee3>] [<c010cdf7>] [<c010cce0>] [<c0117c49>] [<c0114a0a>]
[<c0114936>] [<c010e03d>] [<c0106d34>]
Code: 2b 82 d8 00 00 00 69 c0 c5 4e ec c4 c1 f8 02 c1 e0 0c 03 82
>>EIP; c011dd5f <do_no_page+ef/190> <=====
>>eax; c1030080 <_end+e1a454/1dea3d4>
>>ebx; c101f320 <_end+e096f4/1dea3d4>
>>esi; c0999000 <_end+7833d4/1dea3d4>
>>edi; c10731e8 <_end+e5d5bc/1dea3d4>
>>ebp; c1030080 <_end+e1a454/1dea3d4>
>>esp; c0a97ed0 <_end+8822a4/1dea3d4>
Trace; c011dee3 <handle_mm_fault+e3/160>
Trace; c010cdf7 <do_page_fault+117/434>
Trace; c010cce0 <do_page_fault+0/434>
Trace; c0117c49 <process_timeout+9/10>
Trace; c0114a0a <bh_action+1a/50>
Trace; c0114936 <tasklet_hi_action+46/70>
Trace; c010e03d <schedule+20d/230>
Trace; c0106d34 <error_code+34/40>
Code; c011dd5f <do_no_page+ef/190>
00000000 <_EIP>:
Code; c011dd5f <do_no_page+ef/190> <=====
0: 2b 82 d8 00 00 00 sub 0xd8(%edx),%eax <=====
Code; c011dd65 <do_no_page+f5/190>
6: 69 c0 c5 4e ec c4 imul $0xc4ec4ec5,%eax,%eax
Code; c011dd6b <do_no_page+fb/190>
c: c1 f8 02 sar $0x2,%eax
Code; c011dd6e <do_no_page+fe/190>
f: c1 e0 0c shl $0xc,%eax
Code; c011dd71 <do_no_page+101/190>
12: 03 82 00 00 00 00 add 0x0(%edx),%eax
--------------------------------------------------------------------------
regards,
Felix
--
/"\ ASCII RIBBON CAMPAIGN
\ / AGAINST HTML MAIL
X AND POSTINGS :)
/ \ http://www.dcoul.de/