PDA

View Full Version : Is noapm boot option ignored in Knoppix 6.0.1 CDROM?



paul_adams777
09-11-2009, 08:41 AM
Summary:
There appears to be a failure to obey to boot option noapm in Knoppix 6.0.1 CD, while it was obeyed in Knoppix 5.3.1 DVD.

Discussion
In the topic I previously posted regarding running Knoppix 6.0.1 CD on NorhTec's EduBook http://www.knoppix.net/forum/viewtopic.php?t=30151, I reported my inability to get past a kernel panic that I was not able to adequately trace (due to a variety of issues), particularly the lack of the expert kernel, and an issue with screen resolution.

Today I downloaded the Knoppix 5.3.1 DVD and was able to use the expert kernel in it to get all the way through to running X, although KDE was a real pain to use as the screen has a physical resolution of 1024x600 but X was talking to 1024x768. However, I was able to get up a terminal window and used it to run dmesg, piping the output onto my memory stick, intending to post this to the forum to help others help me.

However, in my own brief look into the dump, I spotted almost identical text to the small part of the error that I had been able to see when running Knoppix 6.0.1 CD. See below.

apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
general protection fault: 0000 [#1] PREEMPT SMP
Modules linked in: apm aufs cloop sbp2 ohci1394 ieee1394

Pid: 1162, comm: kapmd Not tainted (2.6.24.4 #2)
EIP: 00b8:[<00002076>] EFLAGS: 00000246 CPU: 0
EIP is at 0x2076
EAX: 0000530e EBX: 00000000 ECX: 00000102 EDX: 00000000
ESI: 00000102 EDI: 0000530e EBP: 00000000 ESP: df111f2c
DS: 0000 ES: 0000 FS: 0000 GS: 0000 SS: 0068
Process kapmd (pid: 1162, ti=df110000 task=dfaec550 task.ti=df110000)
Stack: e1b7a1f3 00000060 00000000 0000530e ffff007b 0000007b 00000282 00000000
000000d8 c1409a38 c1405040 c1405000 dfaecaa0 00000001 00000000 00000000
00000200 fffffffc 00000000 e1b7b260 df111fb8 e1b7b6f1 df111fb8 dfaec000
Call Trace:
[<e1b7a1f3>] apm_bios_call_simple+0xc3/0x1a0 [apm]
[<e1b7b260>] apm+0x0/0x6d0 [apm]
[<e1b7b6f1>] apm+0x491/0x6d0 [apm]
[<c0125340>] complete+0x40/0x60
[<e1b7b260>] apm+0x0/0x6d0 [apm]
[<c0140482>] kthread+0x42/0x70
[<c0140440>] kthread+0x0/0x70
[<c01056a7>] kernel_thread_helper+0x7/0x10
=======================
Code: Bad EIP value.
EIP: [<00002076>] 0x2076 SS:ESP 0068:df111f2c
---[ end trace 077be40225a847c5 ]---
note: kapmd[1162] exited with preempt_count 1
general protection fault: 0000 [#2] PREEMPT SMP
Modules linked in: apm aufs cloop sbp2 ohci1394 ieee1394

Pid: 1169, comm: apmd Tainted: G D (2.6.24.4 #2)
EIP: 00b8:[<00002076>] EFLAGS: 00000246 CPU: 0
EIP is at 0x2076
EAX: 0000530a EBX: 00000001 ECX: 00000000 EDX: 00000000
ESI: 00000000 EDI: 0000530a EBP: 00000001 ESP: df073e44
DS: 0000 ES: 0000 FS: 0000 GS: 0000 SS: 0068
Process apmd (pid: 1169, ti=df072000 task=df1fe550 task.ti=df072000)
Stack: e1b7a4b5 00000060 00000001 0000530a df07007b 0000007b ffffffff 00000003
00000000 c1405000 c1405040 000000d8 00000033 00000001 00000000 00000000
00000200 df073f12 df073f10 df073f0e df83c540 e1b7a61c df073ec0 df073ebc
Call Trace:
[<e1b7a4b5>] apm_bios_call+0xc5/0x1c0 [apm]
[<e1b7a61c>] apm_get_power_status+0x6c/0xd0 [apm]
[<c0123c7d>] kunmap_atomic+0x3d/0xd0
[<e1b7b1a1>] proc_apm_show+0xd1/0x190 [apm]
[<c01789ce>] vma_merge+0xde/0x1d0
[<c01a4d1d>] seq_read+0x9d/0x290
[<c01a4c80>] seq_read+0x0/0x290
[<c01c0624>] proc_reg_read+0x64/0xa0
[<c01c05c0>] proc_reg_read+0x0/0xa0
[<c018a903>] vfs_read+0xb3/0x140
[<c018ae01>] sys_read+0x41/0x70
[<c0104a5e>] syscall_call+0x7/0xb
=======================
Code: Bad EIP value.
EIP: [<00002076>] 0x2076 SS:ESP 0068:df073e44
---[ end trace 077be40225a847c5 ]---

This very obviously was showing that the problem was occurring in apm, so I restarted Knoppix 5.3.1 with the boot option noapm. A subsequent dump of dmesg showed that the entire block shown above had disappeared. During the boot process, it was observed that a line was shown saying that APM BIOS detection had been skipped because of boot option.

Accordingly, I retried the Knoppix 6.0.1 CD, specifying noapm on the command line. However, it made no difference, and the system crashed in an identical manner to what I had observed and reported in my earlier posts.

I am therefore suspecting that the noapm boot option has no effect on Knoppix 6.0.1 CD boot.