Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#624 closed bug (fixed)

Haiku enters KDL on a AMD K6-2 system (generic_x86)

Reported by: initial22b@… Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version:
Keywords: Cc: diver
Blocked By: Blocking:
Platform: All

Description

This is the first time I tried Haiku on my AMD K6-2 500 system. This is a build of Haiku from May 22/2006. On first boot, Haiku goes into KDL, I wrote down the stack trace and I'll post it here:

PANIC: Unexpected excepiton "General Protection Exception" occured in kernel mode! Error code: 0x0

Welcome to Kernel Deugging Land... Running on CPU0 kdebug> sc stack trace for thread 0x6 "main2"

kernel stack: 0x800ed000 to 0x800f0000

frame caller <image>:function + offset 800ef8f8 (+ 48) 80077491 <kernel>:kernel_debugger_loop + 0x0109 800ef928 (+ 32) 80077e5e <kernel>:kernel_debugger + 0x009a 800ef948 (+ 176) 80077dba <kernel>:panic + 0x0036 800ef9f8 (+ 80) 8007ce38 <kernel>:unexpected_exception + 0x0064 800efa48 (+ 160) 8007d030 <kernel>:i386_handle_trap + 0x01f0 iframe at 0x800efaf0 (end = 0x800efb44)

eax 0x0 ebx 0x801570f0 ecx 0x2ff edx 0x8021bf esi 0x0 edi 0x800efe24 ebp 0x800efb88 esp 0x800efb20 eip 0x8007fad8 eflags 0x210287 vector: 0xd, error code: 0x0

800efae8 (+ 160) 8007fad8 <kernel>:x86_read_msr + 0x0004 (nearest) 800efb88 (+ 544) 80155cce </boot/beos/system/add-ons/kernel/cpu/generic_x86>:amd_initFv + 0x0056 800efda8 (+ 32) 80155d0b </boot/beos/system/add-ons/kernel/cpu/generic_x86>:amd_stdopsFle + 0x0027 800efdc8 (+ 48) 80029442 <kernel>:get_module + 0x00fa 800efdf8 (+ 304) 8007bdaa <kernel>:arch_cpu_init_post_modules + 0x0056 800eff28 (+ 32) 8002440a <kernel>:cpu_init_post_modules + 0x0012 800eff48 (+ 144) 8002801d <kernel>:main2 + 0x005d 800effd8 (+ 32) 80034273 <kernel>:_create_kernel_thread_kentry + 0x001b 800efff8 (+2146500616) 80034208 <kernel>:thread_kthread_exit + 0x0000

I noticed it mentioned the generic_x86 kernel add-on, so I booted into BeOS and mounted the Haiku partition and removed the generic_x86 addon then rebooted into Haiku. After removing the addon, I was able to boot into Haiku without any KDL problems.

The system specs are the following:

AMD K6-2 500Mhz CPU ASUS P5A motherboard 192MB of SDRAM 32MB nVidia TNT2 graphics card D-Link DFE-530TX (VIA vt86c100 chipset) ISA SB16 sound card

Let me know if you need any other info.

Attachments (3)

AMDK62-KDL.txt (1.5 KB ) - added by initial22b@… 18 years ago.
KDL text file
rev17579 KDL.txt (1.2 KB ) - added by initial22b@… 18 years ago.
Haiku rev 17579 KDL stack trace.
AMDK6-About.png (55.5 KB ) - added by initial22b@… 18 years ago.
AMD K6-2 'About' screenshot

Download all attachments as: .zip

Change History (11)

comment:1 by diver, 18 years ago

Cc: diver added

by initial22b@…, 18 years ago

Attachment: AMDK62-KDL.txt added

KDL text file

comment:2 by umccullough@…, 18 years ago

Maybe this is related to #553?

comment:3 by initial22b@…, 18 years ago

severity: majornormal

comment:4 by initial22b@…, 18 years ago

(In reply to comment #2)

Maybe this is related to #553?

Yeah, it seems like a similar thing based on those 2 lines in the KDL. Thanks for pointing that out Urias, I didn't notice the similar bug report. I did a search for "amd" and didn't find anything so I assumed it was safe to post this report, I guess I should have searched for "generic_x86" instead (why didn't I think of that?). Anyways, I guess both bugs can be merged together or something.

Reminds me of the mp3 Lame encoder on Bebits. There are 2 versions, an 'MMX' version and a 'compatible' version. The MMX enhanced version doesn't work with AMD K6 or pentium MMX cpus, so you have to use the 'compatible' version. I know these are 2 unrelated things, but the problem still reminds me of it.

Not a major problem either way since you can remove the generic_x86 addon and boot fine afterwards.

comment:5 by axeld, 18 years ago

Resolution: fixed

comment:6 by axeld, 18 years ago

Status: newclosed

comment:7 by axeld, 18 years ago

Fixed in hrev17572. Can you check again, please?

comment:8 by axeld, 18 years ago

Should be fixed since hrev17581. Thanks for the update!

by initial22b@…, 18 years ago

Attachment: rev17579 KDL.txt added

Haiku rev 17579 KDL stack trace.

by initial22b@…, 18 years ago

Attachment: AMDK6-About.png added

AMD K6-2 'About' screenshot

Note: See TracTickets for help on using tickets.