HIGHMEM + serial console + SMP + 2GB freeze on pmac
I just compiled the latest 2_4_devel with CONFIG_SMP, CONFIG_SERIAL_CONSOLE, CONFIG_XMON, and CONFIG_HIGHMEM, and I'm running into some problems.
This machine is an ealier Sawtooth G4 (7400) with 4 memory slots and 2GB of ram (I know, Macos does not support this).
First, It booted up normally, but when I logged into KDE it got about halfway through the login and froze.
Then I booted with 'console=ttyS0,38400'.. it froze after
smp_core99_probe: found 1 cpus
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: Probing PCI hardware
Then I tried 'console=ttyS0,38400, mem=1500M'.. still died on probing PCI hardware.
I'm going to try several other combinations of things, including taking one memory stick out since this could actually be that the hardware doesn't like that much memory.
--
Troy Benjegerdes | master of mispeeling | 'da hozer' | [email protected] -----"If this message isn't misspelled, I didn't write it" -- Me ----- "Why do musicians compose symphonies and poets write poems? They do it because life wouldn't have any meaning for them if they didn't. That's why I draw cartoons. It's my life." -- Charles Schulz
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 4 lines
I'm going to try several other combinations of things, including taking one memory stick out since this could actually be that the hardware doesn't like that much memory.
There is at least one problem with serial console on pmac.. I removed the memory (except for 1 512mb dimm)
If I turn serial console on, I get a machine check in serial_console_write during the PCI probing.
This only shows up if Xmon is NOT compiled in.. since xmon tries to use the port (and presumably dies also)
--
Troy Benjegerdes | master of mispeeling | 'da hozer' | [email protected] -----"If this message isn't misspelled, I didn't write it" -- Me ----- "Why do musicians compose symphonies and poets write poems? They do it because life wouldn't have any meaning for them if they didn't. That's why I draw cartoons. It's my life." -- Charles Schulz
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Troy Benjegerdes
Quoted 4 lines
I'm going to try several other combinations of things, including taking one memory stick out since this could actually be that the hardware doesn't like that much memory.
There is at least one problem with serial console on pmac.. I removed the memory (except for 1 512mb dimm)
Quoted 5 lines
If I turn serial console on, I get a machine check in
serial_console_writeduring the PCI probing.This only shows up if Xmon is NOT compiled in.. since xmon tries to use the port (and presumably dies also)
Another note: The serial works fine after the machine is booted up.
--
Troy Benjegerdes | master of mispeeling | 'da hozer' | [email protected] -----"If this message isn't misspelled, I didn't write it" -- Me ----- "Why do musicians compose symphonies and poets write poems? They do it because life wouldn't have any meaning for them if they didn't. That's why I draw cartoons. It's my life." -- Charles Schulz
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 2 lines · Troy Benjegerdes
This machine is an ealier Sawtooth G4 (7400) with 4 memory slots and 2GB of ram (I know, Macos does not support this).
[...]
Quoted 3 lines
I'm going to try several other combinations of things, including taking one memory stick out since this could actually be that the hardware doesn't like that much memory.
MacOS X supports 2GB on Uni-N machines with four sockets, so the hardware supports it. I think the 1.5GB thing was just a consequence of Classic MacOS having a fairly inflexible address space layout. --
Tim Seufert
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On 6 Dec, this message from Troy Benjegerdes echoed through cyberspace:
Quoted 9 lines
Quoted 4 lines
I'm going to try several other combinations of things, including taking one memory stick out since this could actually be that the hardware doesn't like that much memory.
There is at least one problem with serial console on pmac.. I removed the memory (except for 1 512mb dimm)
Quoted 5 lines
If I turn serial console on, I get a machine check in
serial_console_writeduring the PCI probing.This only shows up if Xmon is NOT compiled in.. since xmon tries to use the port (and presumably dies also)
At one point there was a problem with Mac serial support doing a kmalloc() (IIRC...), which would evidently fail at the very early stages, such as when opening a serial console (one of the first things done after the kernel runs) or maybe when using xmon early on, since the VM subsystem is not yet initialized at that time.
BenH allegedly found a fix and commited it; at least his 2.4.12 rsync and 2.4.16 kernel.org do run fine wth serial console here...
Michel
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art. 23, Rue Paul Henkes | Ask Questions. Make Mistakes. L-1710 Luxembourg | email [email protected] | http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 7 lines · Timothy A. Seufert
Quoted 2 lines · Troy Benjegerdes
This machine is an ealier Sawtooth G4 (7400) with 4 memory slots and 2GB of ram (I know, Macos does not support this).
[...]
Quoted 7 lines
Quoted 3 lines
I'm going to try several other combinations of things, including taking one memory stick out since this could actually be that the hardware doesn't like that much memory.
MacOS X supports 2GB on Uni-N machines with four sockets, so the hardware supports it. I think the 1.5GB thing was just a consequence of Classic MacOS having a fairly inflexible address space layout.
Yeah, it's not the RAM that's the problem. I've been running various highmem configs with 2GB for a couple days now.
The following change to arch/ppc/mm/init.c *seems* to fix the hang problem for me. (And for Olaf Herring on some power3 machines)
===== init.c 1.62 vs edited =====
52c52
< #define MAX_LOW_MEM (0xF0000000UL - KERNELBASE)
---
Quoted 1 line
#define
MAX_LOW_MEM(0xE0000000UL- KERNELBASE)
Benh said on IRC he thinks we might have a problem running out of ioremap/vmmalloc space. I'm inclined to agree with him, although for now I'd rather just change MAX_LOW_MEM for now until someone figures out a way to detect vmalloc/ioremap collionsions with lowmem RAM mappings.
--
Troy Benjegerdes | master of mispeeling | 'da hozer' | [email protected] -----"If this message isn't misspelled, I didn't write it" -- Me ----- "Why do musicians compose symphonies and poets write poems? They do it because life wouldn't have any meaning for them if they didn't. That's why I draw cartoons. It's my life." -- Charles Schulz
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/