Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LiveCD wont boot on ibook G4, hang [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
DarthBane
n00b
n00b


Joined: 04 May 2004
Posts: 1

PostPosted: Tue May 04, 2004 11:34 am    Post subject: LiveCD wont boot on ibook G4, hang [SOLVED] Reply with quote

Hi

I have recently bought a new ibook G4 1GHz, 12", 60GB, 768MB RAM, no Airport, no Bluetooth.

I burned the "Gentoo universial LiveCD" (PPC 2004.0)

I turn on my ibook, press "c" to boot from CD and there is this "Gentoo yaboot Welcome menu"

Code:
Welcome to yaboot version 1.3.11
Enter "help" to get some basic usage information
boot:


So I type TAB and there are 6 lables (G3, G3-SMP, *G4, G4-SMP, G5, G5-SMP)

i tried G4 with this options because radeonfb doesnt work:
Code:
 G4 video=ofonly


Then the kernel boots:
Code:

Please wait, loading

fast bla bla
...
[Here is a logo of a nice penguin]

bla
RAMDISK: Compressed image fount at block 0
VFS: Mounted root /ext2 filesys)
Mounted devfs on /dev
Freeing unused kernel memory 168k init 4k chrp 8k prep
Gentoo Linuxrc-NG launched /with PID1)
Interpreting kernel arguments:
>>> root=/dev/ram0
>>> rw
>>> ramdisk_size=32000
>>>init=/linuxrc
>>>looptype=gcloop
>>>cdroot
>>>video=ofonly
Autoloading 2.6.3-benh2-G4 modules
>>> Loaded drivers/block/loop.kp
>>> Loaded drivers/block/cryptoloop.ko
>>> Loaded drivers/block/compressloop.ko
>>> Loaded drivers/lib/lib/zlib_inflate/zlib_inflate.ko
>>> Loaded drivers/scsi/sr_mod.ko
>>> Loaded drivers/scsi/ide-scsi.ko
>>> Loaded drivers/fs/binfmt_misc.ko
>>> Loaded drivers/fs/isofs/isofs.ko
>>> Loaded drivers/fs/nls/nls_iso8859-1.ko
>>> Loaded drivers/fs/nls/nls_iso8859-15.ko
>>> Loaded drivers/fs/nls/nls_utf8.ko
Examining locations for live environments:
>>> device /dec/cdroms/cdrom0
INIT: version 2.84 booting

Gentoo Linux; http://www.gentoo.org/
 Copyrig ..... Distributed under the GPL

 * Mounting proc at /proc... [ ok ]

Here is frezzes


After INIT, I can type some characters. But after ... /proc ... [ ok ] I am unable to type anyting.

Im not sure but next executed script is sysfs? or devpts ? Or whatever!


Apples HP says the it is a Ultra ATA 100 HDD, perhaps thats the problem??
__
Now I give the "debug" boot option to the kernel and can execute a shell, perhaps i can find here the problem


SOLVED:

I got the MINIMAL LIVECD 2004.1 and it worked to boot to the normal liveCD root prompt: thanks a lot Gentoo 2004.1 is great


Please help me
Back to top
View user's profile Send private message
pvdabeel
Retired Dev
Retired Dev


Joined: 25 Mar 2003
Posts: 188
Location: Belgium

PostPosted: Tue May 04, 2004 3:29 pm    Post subject: Reply with quote

That's a known bug for 2004.0. Is fixed in 2004.1, which is already available. (The 2.6.3 kernel had some problems mounting proc because the kernel couldn't cleanly unmount it in the initrd, 2.6.5 solved this problem)

Best regards,

Pieter Van den Abeele
Back to top
View user's profile Send private message
homar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 94

PostPosted: Tue May 04, 2004 3:34 pm    Post subject: Reply with quote

Here's a patch to stop the flickering and to get proper /proc/cpuinfo output:

Code:

diff -ur linux.orig/arch/ppc/kernel/cputable.c linux/arch/ppc/kernel/cputable.c
--- linux.orig/arch/ppc/kernel/cputable.c       2004-05-01 14:41:23.457702568 +0100
+++ linux/arch/ppc/kernel/cputable.c    2004-05-01 14:39:04.035897904 +0100
@@ -323,6 +323,16 @@
        32, 32,
        __setup_cpu_745x
     },
+    {  /* 7447A */
+       0xffff0000, 0x80030000, "7447A",
+       CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | CPU_FTR_CAN_NAP |
+       CPU_FTR_L2CR | CPU_FTR_ALTIVEC_COMP | /*CPU_FTR_L3CR |*/
+       CPU_FTR_HPTE_TABLE | CPU_FTR_SPEC7450 | CPU_FTR_NAP_DISABLE_L2_PR |
+       CPU_FTR_HAS_HIGH_BATS,
+       COMMON_PPC | PPC_FEATURE_ALTIVEC_COMP,
+       32, 32,
+       __setup_cpu_745x
+    },
     {  /* 82xx (8240, 8245, 8260 are all 603e cores) */
        0x7fff0000, 0x00810000, "82xx",
        CPU_FTR_COMMON |
diff -ur linux.orig/arch/ppc/platforms/pmac_feature.c linux/arch/ppc/platforms/pmac_feature.c
--- linux.orig/arch/ppc/platforms/pmac_feature.c        2004-05-01 14:41:03.618718552 +0100
+++ linux/arch/ppc/platforms/pmac_feature.c     2004-05-01 14:38:42.828121976 +0100
@@ -2129,6 +2129,10 @@
                PMAC_TYPE_UNKNOWN_INTREPID,     intrepid_features,
                PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
        },
+       {       "PowerBook6,5",                 "iBook G4",
+               PMAC_TYPE_UNKNOWN_INTREPID,     intrepid_features,
+               PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
+       },
 #else /* CONFIG_POWER4 */
        {       "PowerMac7,2",                  "PowerMac G5",
                PMAC_TYPE_POWERMAC_G5,          g5_features,
diff -ur linux.orig/drivers/video/aty/radeon_base.c linux/drivers/video/aty/radeon_base.c
--- linux.orig/drivers/video/aty/radeon_base.c  2004-05-01 14:42:03.148668624 +0100
+++ linux/drivers/video/aty/radeon_base.c       2004-05-01 14:40:01.538156232 +0100
@@ -1855,7 +1855,8 @@
             rinfo->family == CHIP_FAMILY_RV280 ||
             rinfo->family == CHIP_FAMILY_RV350) &&
            !machine_is_compatible("PowerBook4,3") &&
-           !machine_is_compatible("PowerBook6,3"))
+           !machine_is_compatible("PowerBook6,3") &&
+           !machine_is_compatible("PowerBook6,5"))
                conv_table = backlight_conv_m7;
        else
                conv_table = backlight_conv_m6;
diff -ur linux.orig/drivers/video/aty/radeon_monitor.c linux/drivers/video/aty/radeon_monitor.c
--- linux.orig/drivers/video/aty/radeon_monitor.c       2004-05-01 14:41:49.435753304 +0100
+++ linux/drivers/video/aty/radeon_monitor.c    2004-05-01 14:39:37.840758784 +0100
@@ -653,7 +653,8 @@
                rinfo->panel_info.use_bios_dividers = 1;
        }
        /* iBook G4 */
-       if (machine_is_compatible("PowerBook6,3")) {
+       if (machine_is_compatible("PowerBook6,3") ||
+           machine_is_compatible("PowerBook6,5")) {
                rinfo->panel_info.ref_divider = rinfo->pll.ref_div;
                rinfo->panel_info.post_divider = 0x6;
                rinfo->panel_info.fbk_divider = 0xad;
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum