Re: RH6 kernel shutdown problem AMD K6-2

Marco d'Itri (md@linux.it)
Sun, 15 Aug 1999 21:20:50 +0200


On Aug 13, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

>The oops is from the updated kernel ? I'll go look at the dump. It looks
>like a BIOS bug but I want to be sure
When I try to power down my MB (VIA chipset, K6-2, broken Award BIOS)
I get two oops: the first one in the BIOS and the second one in
show_registers().

Aug 9 12:47:52 wonderland kernel: Power down.
Aug 9 12:47:52 wonderland kernel: general protection fault: f000
Aug 9 12:47:52 wonderland kernel: CPU: 0
Aug 9 12:47:52 wonderland kernel: EIP: 0050:[<00008b7f>]
Aug 9 12:47:52 wonderland kernel: EFLAGS: 00010047
Aug 9 12:47:52 wonderland kernel: eax: 00005301 ebx: 00000001 ecx: 00000003 edx: 00000000
Aug 9 12:47:52 wonderland kernel: esi: bfff8586 edi: 08049431 ebp: 67890000 esp: c1bd7e18
Aug 9 12:47:52 wonderland kernel: ds: 0058 es: 0000 ss: 0018
Aug 9 12:47:52 wonderland kernel: Process halt (pid: 1583, process nr: 26, stackpage=c1bd7000)
Aug 9 12:47:52 wonderland kernel: Stack: 0000bfff 7e326789 0001c1bd 00000000 00030000 53070000 00000000 00000000
Aug 9 12:47:52 wonderland kernel: 85750058 854afc3d 0000851d 00160000 00488486 bffffad4 c0106281 00000010
Aug 9 12:47:52 wonderland kernel: bffffad4 08049431 00000018 00000018 00000000 bffffc3d 08049431 00000296
Aug 9 12:47:52 wonderland kernel: Call Trace: [apm_bios_call_simple+57/96] [set_power_state+28/56] [apm_set_power_state+13/20] [apm_power_off+25/32] [machine_power_off+5/8] [sys_reboot+395/524] [tvecs+850/20233]
Aug 9 12:47:52 wonderland kernel: [send_sig_info+310/628] [kill_something_info+240/256] [sys_kill+79/92] [schedule_timeout+114/140] [process_timeout+0/16] [sys_nanosleep+243/368] [system_call+52/56]
Aug 9 12:47:52 wonderland kernel: Code: <1>Unable to handle kernel paging request at virtual address 00008b7f
Aug 9 12:47:52 wonderland kernel: current->tss.cr3 = 02a12000, %cr3 = 02a12000
Aug 9 12:47:52 wonderland kernel: *pde = 00000000
Aug 9 12:47:52 wonderland kernel: Oops: 0000
Aug 9 12:47:52 wonderland kernel: CPU: 0
Aug 9 12:47:52 wonderland kernel: EIP: 0010:[show_registers+619/668]
Aug 9 12:47:52 wonderland kernel: EFLAGS: 00010096
Aug 9 12:47:52 wonderland kernel: eax: 00008b7f ebx: 00000000 ecx: 00000005 edx: c3ebc000
Aug 9 12:47:52 wonderland kernel: esi: 0000002b edi: c1bd8000 ebp: c4800000 esp: c1bd7d68
Aug 9 12:47:52 wonderland kernel: ds: 0018 es: 0018 ss: 0018
Aug 9 12:47:52 wonderland kernel: Process halt (pid: 1583, process nr: 26, stackpage=c1bd7000)
Aug 9 12:47:52 wonderland kernel: Stack: 08049431 67890000 c01cdd16 bfff8586 08049431 67890000 00005301 00000001
Aug 9 12:47:52 wonderland kernel: 00000003 00000000 00008b7f 00010047 c4800000 c5000000 c0108c74 c1bd7ddc
Aug 9 12:47:52 wonderland kernel: c0196afc c0196bd1 0000f000 c1bd7ddc c0109184 c0196bd1 c1bd7ddc 0000f000
Aug 9 12:47:52 wonderland kernel: Call Trace: [sensors:sensors_register_entry+-8487184/528] [sensors:sensors_register_entry+-98576/528] [die+48/56] [error_table+1824/6032] [error_table+2037/6032] [do_general_protection+112/120] [error_table+2037/6032]
Aug 9 12:47:52 wonderland kernel: [error_code+45/52] [apm_bios_call_simple+57/96] [set_power_state+28/56] [apm_set_power_state+13/20] [apm_power_off+25/32] [machine_power_off+5/8] [sys_reboot+395/524] [tvecs+850/20233]
Aug 9 12:47:52 wonderland kernel: [send_sig_info+310/628] [kill_something_info+240/256] [sys_kill+79/92] [schedule_timeout+114/140] [process_timeout+0/16] [sys_nanosleep+243/368] [system_call+52/56]
Aug 9 12:47:52 wonderland kernel: Code: 0f b6 0c 03 89 4c 24 38 51 68 f4 6a 19
c0 e8 ba 96 00 00 83

The kernel was 2.2.5 but I have the same problem with 2.2.11.

I started writing a module which goes to real mode (with the code from
arch/i386/kernel/process.c) and executes INT 15h but so far it just
reboots when/after jumping to the hand coded assembly code block.

-- 
ciao,
Marco

- 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/