* 2.2.24 boot hang fix for old-world PowerMac 4400
@ 2003-03-12 17:38 mikpe
2003-03-12 18:13 ` Olaf Hering
0 siblings, 1 reply; 2+ messages in thread
From: mikpe @ 2003-03-12 17:38 UTC (permalink / raw)
To: linuxppc-dev
Kernel 2.2.24 hangs immediately on boot on my PowerMac 4400.
The patch below fixes this problem. I checked the linuxppc_2_2 tree
today and it does not have this fix. Please consider applying it.
I extracted the patch from YDL's 2.2.19-1r kernel, since that
was the only fully functional kernel I could find.
All 2.4 ppc kernels I've tested have problems on this machine
(swim3 floppy driver needs 10 minutes to write a 1.44MB floppy,
and vmlinux.coff aborts with a CLAIM error at boot) which is
why I'm currently using the 2.2.24 kernel.
Please cc: me on replies; I subscribed to linuxppc-dev today but
haven't gotten any confirmation or linuxppc-dev mail yet.
/Mikael
--- linux-2.2.24/arch/ppc/kernel/prom.c.~1~ Mon Mar 26 22:41:59 2001
+++ linux-2.2.24/arch/ppc/kernel/prom.c Wed Mar 12 15:57:35 2003
@@ -668,8 +668,8 @@
}
#endif
- /* If PowerMac, then use quiesce call */
- if (!chrp) {
+ /* If OpenFirmware version >= 3, then use quiesce call */
+ if (RELOC(prom_version) >= 3) {
prom_print(RELOC("Calling quiesce ...\n"));
call_prom(RELOC("quiesce"), 0, 0);
offset = reloc_offset();
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: 2.2.24 boot hang fix for old-world PowerMac 4400
2003-03-12 17:38 2.2.24 boot hang fix for old-world PowerMac 4400 mikpe
@ 2003-03-12 18:13 ` Olaf Hering
0 siblings, 0 replies; 2+ messages in thread
From: Olaf Hering @ 2003-03-12 18:13 UTC (permalink / raw)
To: mikpe; +Cc: linuxppc-dev
On Wed, Mar 12, mikpe@csd.uu.se wrote:
> and vmlinux.coff aborts with a CLAIM error at boot) which is
known bug.
--- linux-2.4.20-pre11/arch/ppc/boot/ld.script Sun Oct 27 19:21:01 2002
+++ linux-2.4.20-pre11..7200/arch/ppc/boot/ld.script Sun Oct 27 18:13:02 2002
@@ -39,7 +39,7 @@ SECTIONS
PROVIDE (etext = .);
/* Read-write section, merged into data segment: */
- . = ALIGN(8);
+ . = ALIGN(0x1000);
.data :
{
*(.data)
should work ok with 2.4.12 and older at least.
--
A: No.
Q: Should I include quotations after my reply?
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-12 18:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 17:38 2.2.24 boot hang fix for old-world PowerMac 4400 mikpe
2003-03-12 18:13 ` Olaf Hering
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).