sc3200 cpu + apm module kernel crash

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



I am currently trying to setup a fully functionnal linux on a Tatung
webpad (shipped with winCE), which has a AMD/NSC SC3200 CPU (more
details on my blog here: ). So far everything
goes fine except one thing:

when I try to load the APM module, the kernel crashes. I have tried
different options, but always got the same crash. I have enabled some
verbosing and finally found that the crash is happening in
arch/i386/kernel/apm.c in function static void apm_mainloop(void) when
calling apm_event_handler();

I have thrown a bunch of  "printk(KERN_INFO "apm: I am here\n");" and
noticed the crash is happening just when calling apm_event_handler();
and does not even execute any instruction in this function... This is
the point I don't understand, how can it crash just on calling a
function and not executing the first statement in this function?

Moreover by enabling soft lockup detection I have managed to get those

apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: entry f000:51c8 cseg16 f000 dseg 40 cseg len ffff, dseg ken ffff
cseg16 len ffff
apm: Connection version 1.2
apm: AC on line, battery statys high, battery life 100%
apm: battery flag 0x01, battery life unknown

BUG: soft lockup detected on CPU#0!
[<c011d102>] update_process_times+0x22/0x60
[<c0106441>] timer_interrupt+0x41/0x80
[<c0134773>] handle_IRQ_event+0x33/0x60
[<c0134813>] __do_IRQ+0x73/0xd0
[<c0105171>] do_IRQ+0x31/0x70
[<c0103b1a>] common_interrupt+0x1a/0x20
[<c0409200>] do_cyrix_devid+0x60/0x90

Any idea on what can be happening here?


PS: please CC me if answering this message, as I am not subscribed to the list
PPS: I have read the list FAQ before posting, but still if this
message is not appropriate to the list, then sorry.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux