Ticket #2349 (closed bug: fixed)

Opened 7 months ago

Last modified 7 months ago

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 development
Cc: Blocked By:
Platform: All Blocking:

Description

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

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

Haiku_r25834_gcc2_c2d_boot.txt (47.0 KB) - added by umccullough 7 months ago.
Serial output for boot on r25834
Haiku_r25834_gcc2_c2d_boot_w_ata.txt (65.2 KB) - added by umccullough 7 months ago.
r25834 with "ata" bus manager and 4gb RAM
Haiku_r25863_gcc2_c2d_ata_2gb.txt (65.4 KB) - added by umccullough 7 months ago.
serial log from r25863 w/ata bus manager and 2gb RAM
Haiku_r25863_gcc2_c2d_ata_4gb.txt (65.9 KB) - added by umccullough 7 months ago.
serial log from r25863 w/ata bus manager and 4gb RAM
c2d_4gb_Linux_mtrr.txt (0.6 KB) - added by umccullough 7 months ago.
4gb MTRR info from linux

Change History

Changed 7 months ago by umccullough

Serial output for boot on r25834

  Changed 7 months 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?

  Changed 7 months 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?

  Changed 7 months 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.

  Changed 7 months ago by axeld

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

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

r25834 with "ata" bus manager and 4gb RAM

  Changed 7 months 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.

  Changed 7 months ago by korli

Could you check again with r25859 ?

Changed 7 months ago by umccullough

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

Changed 7 months ago by umccullough

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

Changed 7 months ago by umccullough

4gb MTRR info from linux

  Changed 7 months ago by umccullough

Thanks - I attached two more serial logs for r25863, 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.

follow-up: ↓ 10   Changed 7 months ago by umccullough

  • summary changed from PANIC: page fault, but interrupts were disabled. Touching address 0xccccccd8 from eip 0x8003b6aa to Core 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   Changed 7 months 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 ?

  Changed 7 months ago by umccullough

Yes, I think it should.

I apologize for the confusion regarding two different issues.

  Changed 7 months ago by korli

  • status changed from new to closed
  • resolution set to fixed

Fixed in r25859.

Note: See TracTickets for help on using tickets.