Hardy wont boot with the kernel 2.6.24 in ibook g4

Bug #183338 reported by José Aliste
26
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Ubuntu PowerPC Architecture Team

Bug Description

Binary package hint: linux-image-2.6.24-4-powerpc

I'm using hardy with linux-image-2.6.24-4-powerpc on my ibook g4 and it won't boot but instead gives me a busybox shell.
 I tried the trick of loading ide-core, etc. But still does not work. If I do cat /proc/devices the ide0 and ide1 don't appear in the block devices list. moreover, if I do cat /proc/bus/pci the ide-pmac doesn't appear either.
It seems that the driver for ide-pmac is not longer being loaded, and I can't find it in the /lib/modules dir.
 Please note that the system will boot when using linux-image-2.6.22-14-powerpc.

Revision history for this message
José Aliste (jose-aliste) wrote :

doing a diff between /boot/config-2.6.22-14-powerpc and /boot/config-2.6.24-4-powerpc gives, among other things,

< # CONFIG_BLK_DEV_IDEDMA_FORCED is not set
197a167
< CONFIG_BLK_DEV_IDEDMA_PMAC=y
201a172,173
< CONFIG_BLK_DEV_IDE_PMAC=y
< CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST=y

So this would confirme that the ide_pmac driver is not being compiled either as a module!!!!
The linux-image-2.6.22-14-powerpc is the one in gutsy.

Changed in linux:
assignee: nobody → ubuntu-powerpc
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
sam tygier (samtygier) wrote :

probably related to Bug #179427

Revision history for this message
sam tygier (samtygier) wrote :

did you upgrade from gutsy? or did you install?

Revision history for this message
Étienne BERSAC (bersace) wrote :

I confirm this bug. Cant' remember wether i used the alternate hardy or upgrade from gutsy /o\

Revision history for this message
José Aliste (jose-aliste) wrote :

I upgraded from gutsy. I also think it's related to Bug #179427. So Can anyone add the missing lines of the config file and compile the kernel? or maybe point me to the good URL so I can compile it my self ?

Revision history for this message
sam tygier (samtygier) wrote :

i followed the instructions at https://help.ubuntu.com/community/Kernel/Compile

i added in the lines
CONFIG_BLK_DEV_IDEDMA_PMAC=y
CONFIG_BLK_DEV_IDE_PMAC=y
CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST=y

and compiled. and installed

still drops to a busy box shell.
the break=top and
modprobe ide-disk
trick does not help

Revision history for this message
sam tygier (samtygier) wrote :
Revision history for this message
Lawrence Rust (lawrence-softsystem) wrote :

I can confirm this bug on a b/w G3 which was upgraded from Gustsy 7.10 (kernel 2.6.22).

Interestingly, the 2.6.24 kernel can be booted by specifying "Linux root=/dev/hda3" at the yaboot prompt. The system functions OK but without a CDROM.

This lead me to consider that it was the secondary IDE controller that isn't being detected. I confirmed this by downloading the 28-Jan-08 build of the Kubuntu 8.04 install CD which gets as far as configuring the keyboard but then fails to detect the CD - even though it's just booted from it :-)

See Bug #126337

Revision history for this message
Herbert V. Riedel (hvr) wrote :

what kind of primary ide controller do you have on your G3?

Revision history for this message
docsnyderchristoph (docsnyderchristoph) wrote :

i would like to test manually compiling the kernel 2.6.24.5 for my ibook g4 since i got the same errors as reported.

(1) could someone please post the additional steps for getting the CONFIG_BLK_DEV_IDE=y option compiled in the kernel and not loaded as a module?
(i haven't done any manually kernel compiling)

(2) and is then an editing of the config files adding
CONFIG_BLK_DEV_IDE_PMAC=y
CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST=y
CONFIG_BLK_DEV_IDEDMA_PMAC=y
still necessary?

Tim Gardner (timg-tpi)
Changed in linux:
milestone: none → hardy-alpha-5
status: Triaged → Fix Committed
Revision history for this message
fuoco (fuoco2-deactivatedaccount) wrote :

docsnyderchristoph:
This was actually the first time I compile a kernel under ubuntu - with creating a .deb: maybe i could post the deb here for people to try?
I used this guide: https://help.ubuntu.com/community/Kernel/Compile
what you want to do is get the source from the hardy repository (linux-source package i think) and untar it in /usr/src. You would need to install the tools as explained in that guide. Use 'make menuconfig' find these configurations and enable them as compiled in (* instead of M). afterwards run the command from the guide to build the kernel into a deb and just install it.

Now this bug was just marked as fixed and it seems it was indeed fixed in ubuntu git kernel a few days ago - so I'm supposing the next version released will boot OK on our powerpc machines. Unfortunately I seem to have other regressions with it, but it's for another place, and it would be good when more people can test it... :)

Revision history for this message
Herbert V. Riedel (hvr) wrote : Re: [Bug 183338] Re: Hardy wont boot with the kernel 2.6.24 in ibook g4

On Thu, 2008-01-31 at 16:27 +0000, fuoco wrote:
> Now this bug was just marked as fixed and it seems it was indeed fixed
> in ubuntu git kernel a few days ago

which changeset are you referring to? the only one I could find was

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=2adbb2045623e4264dfdfa6d0b87e83fa9850539

but I'm a bit unsure whether enabling 'CONFIG_IDE_GENERIC' is
enough... :-/

Revision history for this message
fuoco (fuoco2-deactivatedaccount) wrote :

I actually meant:
http://kernel.ubuntu.com/git?p=soren/ubuntu-hardy.git;a=commit;h=446d2955e5197e830158b373eac59efc60a6929d

which I believe made it's way to ubuntu/ubuntu-hardy.git
this is just an assumption, I'm just a user. not a developer :)

Revision history for this message
Herbert V. Riedel (hvr) wrote :

> I actually meant:
> http://kernel.ubuntu.com/git?p=soren/ubuntu-hardy.git;a=commit;h=446d2955e5197e830158b373eac59efc60a6929d
> which I believe made it's way to ubuntu/ubuntu-hardy.git

indeed, it did made it's way:
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=446d2955e5197e830158b373eac59efc60a6929d

> this is just an assumption, I'm just a user. not a developer :)

well, can't await the next kernel image update in the gutsy repo :-)

Revision history for this message
Brian Murray (brian-murray) wrote :

Bug 18862, which is duplicate of this, has been fixed in kernel version 2.6.24-6.10 for Hardy which should be available shortly in the repos. Subsequently, I'm changing the status to fix released.

Changed in linux:
status: Fix Committed → Fix Released
Revision history for this message
sam tygier (samtygier) wrote :

i can boot with 2.6.24-7.11 :-)

how long will it take for it to be in the live cd? (20080206 live does not boot for me)

Revision history for this message
Herbert V. Riedel (hvr) wrote :

I can confirm it working for 2.6.24-7.12 on a mac mini; although I had to "apt-get install linux-image-2.6.24-7-powerpc", since the "meta" linux-image-powerpc package isn't yet updated...

Revision history for this message
sam tygier (samtygier) wrote :

the 20080209 live cd still wont boot for me on a powerbook. at the busybox shell, uname -a gives
2.6.24-5-powerpc. am i right in thinking the live cd still has the old broken kernel? when will the live cd pick up the new kernel?

Revision history for this message
Doug Fisher (mellish123) wrote :

That kernal (2.6.24-5) is on the file manifest as well.

Revision history for this message
Doug Fisher (mellish123) wrote :

However the update is in the alternate install ISO at:

http://cdimage.ubuntu.com/ports/daily/20080209/

Revision history for this message
digger vermont (digver) wrote :

Unfortunately linux-image-2.6.24-7-powerpc-smp version 2.6.24-7.12 still is not being configured properly.
The following is still missing and it will not boot on my powerbook

CONFIG_BLK_DEV_IDEDMA_PMAC=y
CONFIG_BLK_DEV_IDE_PMAC=y
CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST=y

linux-image-2.6.24-7-powerpc version 2.6.24-7.12 however boots okay

Revision history for this message
Herbert V. Riedel (hvr) wrote :

On Sat, 2008-02-09 at 15:26 +0000, digger vermont wrote:
> Unfortunately linux-image-2.6.24-7-powerpc-smp version 2.6.24-7.12 still is not being configured properly.
> The following is still missing and it will not boot on my powerbook

just wondering, what's the reason you're using a smp kernel on a
powerbook?

> linux-image-2.6.24-7-powerpc version 2.6.24-7.12 however boots okay

Revision history for this message
digger vermont (digver) wrote : Re: [Bug 183338] Re: Hardy wont boot with the kernel 2.6.24 in ibook g4

On Sat, 2008-02-09 at 17:21 +0000, Herbert V. Riedel wrote:
> On Sat, 2008-02-09 at 15:26 +0000, digger vermont wrote:
> > Unfortunately linux-image-2.6.24-7-powerpc-smp version 2.6.24-7.12 still is not being configured properly.
> > The following is still missing and it will not boot on my powerbook
>
> just wondering, what's the reason you're using a smp kernel on a
> powerbook?

Because of another bug I've neglected. For some reason when using the
'regular' image audio will only play for a few seconds and then locks
up. Some how I discovered it was not a problem with the smp image.
This has been an issue at least through Gutsy, maybe earlier. Still
seems to be a problem for me.

Once I can actually use the Hardy kernels I'm determined to deal with
the problem properly and file a bug report.

digger

Revision history for this message
Doug Fisher (mellish123) wrote :

I tried the 20080209 Alternate PPC build last night and it now gets past the IDE hardware detection on my Indigo iMac/500 G3 and can see the CD and the disk.

However, on the step of loading installer components from CD, it gives

"No kernal modules were found. This is probably due to a mismatch between the kernal used by this version of the installer and the kernal version on the archive...."

Any of the other modes that use installer have this same error.

Revision history for this message
digger vermont (digver) wrote :

As of version 2.6.24-10.16 IDE_PMAC is still not configured for linux-image-powerpc-smp.

Since this bug seems to be closed, what do I need to do to get it reopened?
Or should I enter a new bug-report specifically for the powerpc-smp image?

Revision history for this message
sam tygier (samtygier) wrote :

i think its best to open a new bug. make sure you mention this bug in the new one. you can make a link to another bug by type bug #number, eg bug #1

Revision history for this message
digger vermont (digver) wrote :

Thanks Sam.

Its listed as bug #196686

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.