Opened 17 years ago

Closed 17 years ago

#2349 closed bug (fixed)

Core 2 Duo does not run properly with 4gb RAM - MTRR issue

Reported by: umccullough Owned by: axeld
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Received a KDL on boot using my Core 2 Duo (dual core) using Haiku hrev25834:

PANIC: page fault, but interrupts were disabled. Touching address 0xccccccd8 from eip 0x8003b6aa

Machine specs:

Core 2 Duo E6750 on ECS G33T-M2 board w/4gb RAM and 500gb SATA w/SATA DVD-RW drive. Keyboard and mouse are PS/2.

This machine previously booted with Haiku, but I had to change out the ide bus manager for ata in order to get through a boot, and then it ran REALLY slowly, like took 10 minutes to boot, and ran like it was at 100% CPU all the time.

Will try the ata bus manager again to see if that yields different results, otherwise see attached serial output.

Attachments (5)

Haiku_r25834_gcc2_c2d_boot.txt (47.0 KB ) - added by umccullough 17 years ago.
Serial output for boot on hrev25834
Haiku_r25834_gcc2_c2d_boot_w_ata.txt (65.2 KB ) - added by umccullough 17 years ago.
hrev25834 with "ata" bus manager and 4gb RAM
Haiku_r25863_gcc2_c2d_ata_2gb.txt (65.4 KB ) - added by umccullough 17 years ago.
serial log from hrev25863 w/ata bus manager and 2gb RAM
Haiku_r25863_gcc2_c2d_ata_4gb.txt (65.9 KB ) - added by umccullough 17 years ago.
serial log from hrev25863 w/ata bus manager and 4gb RAM
c2d_4gb_Linux_mtrr.txt (615 bytes ) - added by umccullough 17 years ago.
4gb MTRR info from linux

Download all attachments as: .zip

Change History (17)

by umccullough, 17 years ago

Serial output for boot on hrev25834

comment:1 by umccullough, 17 years ago

Ok, it *does* boot when I swap "ide" with "ata" - but it still runs slow - the two processors hang out between 25-50% utilized, and moving the mouse around on the screen causes both to hit 100% easily.

It takes 10-15 seconds to open the leaf menu like this, but no one process appears to be using all the CPU.

What additional info can I provide for this?

comment:2 by umccullough, 17 years ago

Yanking out 2gb seems to have improved the situation drastically. It now runs at reasonable speed (400fps in GLTeapot).

Still requires "ata" bus manager though, as "ide" bus manager just hangs at 4th icon (disk). But at least I no longer get the KDL.

Can anything be done about the 4gb+ ram issue then?

comment:3 by axeld, 17 years ago

That still sounds like an MTRR issue to me. Not that I'm entirely sure, but Haiku should just ignore all memory it can't deal with. Unfortunately, I don't have any free slots anymore on my mainboard, and can't easily test this myself yet.

comment:4 by axeld, 17 years ago

And the ATA bus manager is so slow because it doesn't yet use DMA.

comment:5 by umccullough, 17 years ago

Yes, since it runs pretty well with < 4gb RAM - I'm definitely willing to concede that it's MTRR issue.

How many DIMM slots do you have, what kind of RAM does it take? What's your current configuration/brand?

I have a few extra 1gb DIMMs lying around - I'd probably be willing to send some your way. Otherwise I'm sure that I and a couple others would be willing to purchase you some RAM (2x2gb perhaps) and have it shipped if it would help get the MTRR and 4gb+ memory issue worked out (I've heard a couple others complaining about it, and I bet they'd put money where their mouth is).

by umccullough, 17 years ago

hrev25834 with "ata" bus manager and 4gb RAM

comment:6 by umccullough, 17 years ago

Attached additional serial log (full log as suggested by korli) from the LONG boot (~9.5 minutes until desktop and icons loaded) using the "ata" bus manager and 4gb RAM installed.

Once loaded, Haiku ran exceptionally slowly with this configuration.

Same exact install with 2gb RAM runs seemingly fine.

comment:7 by korli, 17 years ago

Could you check again with hrev25859 ?

by umccullough, 17 years ago

serial log from hrev25863 w/ata bus manager and 2gb RAM

by umccullough, 17 years ago

serial log from hrev25863 w/ata bus manager and 4gb RAM

by umccullough, 17 years ago

Attachment: c2d_4gb_Linux_mtrr.txt added

4gb MTRR info from linux

comment:8 by umccullough, 17 years ago

Thanks - I attached two more serial logs for hrev25863, one with 2gb RAM, and one with 4gb RAM.

Haiku seems to run fast and stable with 4gb RAM now, and reports 2807MB RAM in the "About System" (I didn't check to see what it reported previously).

I also provided the Linux MTRR info as suggested in IRC.

Thanks!

I guess we can probably close this ticket now.

comment:9 by umccullough, 17 years ago

Summary: PANIC: page fault, but interrupts were disabled. Touching address 0xccccccd8 from eip 0x8003b6aaCore 2 Duo does not run properly with 4gb RAM - MTRR issue

Actually, the original summary for this issue is still an issue, but it just boils down to the ide bus manager which works when replaced with the newer ata bus manager, so I'll just hijack my own ticket here and change the summary. Hopefully nobody minds.

in reply to:  9 comment:10 by korli, 17 years ago

Replying to umccullough:

Actually, the original summary for this issue is still an issue, but it just boils down to the ide bus manager which works when replaced with the newer ata bus manager, so I'll just hijack my own ticket here and change the summary. Hopefully nobody minds.

Can this bug be closed ?

comment:11 by umccullough, 17 years ago

Yes, I think it should.

I apologize for the confusion regarding two different issues.

comment:12 by korli, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev25859.

Note: See TracTickets for help on using tickets.