Opened 11 years ago

Closed 11 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:
Has a Patch: no 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 11 years ago.
Serial output for boot on hrev25834
Haiku_r25834_gcc2_c2d_boot_w_ata.txt (65.2 KB) - added by umccullough 11 years ago.
hrev25834 with "ata" bus manager and 4gb RAM
Haiku_r25863_gcc2_c2d_ata_2gb.txt (65.4 KB) - added by umccullough 11 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 11 years ago.
serial log from hrev25863 w/ata bus manager and 4gb RAM
c2d_4gb_Linux_mtrr.txt (615 bytes) - added by umccullough 11 years ago.
4gb MTRR info from linux

Download all attachments as: .zip

Change History (17)

Changed 11 years ago by umccullough

Serial output for boot on hrev25834

comment:1 Changed 11 years ago by umccullough

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 Changed 11 years ago by umccullough

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 Changed 11 years ago by axeld

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 Changed 11 years ago by axeld

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

comment:5 Changed 11 years ago by umccullough

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).

Changed 11 years ago by umccullough

hrev25834 with "ata" bus manager and 4gb RAM

comment:6 Changed 11 years ago by umccullough

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 Changed 11 years ago by korli

Could you check again with hrev25859 ?

Changed 11 years ago by umccullough

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

Changed 11 years ago by umccullough

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

Changed 11 years ago by umccullough

Attachment: c2d_4gb_Linux_mtrr.txt added

4gb MTRR info from linux

comment:8 Changed 11 years ago by umccullough

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 Changed 11 years ago by umccullough

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.

comment:10 in reply to:  9 Changed 11 years ago by korli

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 Changed 11 years ago by umccullough

Yes, I think it should.

I apologize for the confusion regarding two different issues.

comment:12 Changed 11 years ago by korli

Resolution: fixed
Status: newclosed

Fixed in hrev25859.

Note: See TracTickets for help on using tickets.