Bug 468492

Summary: F10 Snap3 ppc DVD fails to boot - numerous kernel oops messages
Product: [Fedora] Fedora Reporter: Alex Kanavin <ak>
Component: yabootAssignee: Roman Rakus <rrakus>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: am, dcantrell, dwmw2, jreiser, kernel-maint, mike, pnasrat, quintela, rrakus, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-06 18:51:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kernel errors during boot
none
patch that fixes the problem none

Description Alex Kanavin 2008-10-25 08:19:14 UTC
Created attachment 321492 [details]
kernel errors during boot

Fedora 10 Snapshot 3 DVD poweprc DVD fails to boot on my Powerbook G4 12" machine. There's a number of kernel oops messages - see attachment for a sample.

Comment 1 Alex Kanavin 2008-10-25 08:19:58 UTC
Forgot to add, F10 Beta DVD works fine on the same machine.

Comment 2 Alex Kanavin 2008-10-29 11:40:03 UTC
Ok, the same problem has appeared when I updated my rawhide installation from yaboot-1.3.13-12 to yaboot-1.3.14-5. So it's clearly a yaboot regression.

Comment 3 Roman Rakus 2008-10-29 13:55:23 UTC
On my iBook G4 with F9 kernel (2.6.26.6-79.fc9.ppc) and yaboot 1.3.14-5 works well. What is the size of kernel and initrd images?

Comment 4 Alex Kanavin 2008-10-29 15:50:08 UTC
I'm not sure if the kernel/initrd size is the problem - as I said, latest iso images from rawhide fail to boot in the same way. But anyway:

-rw------- 1 root root 3893219 Окт 28 21:49 initrd-2.6.27.4-58.fc10.ppc.img
-rwxr-xr-x 1 root root 5928752 Окт 28 00:49 vmlinuz-2.6.27.4-58.fc10.ppc

Comment 5 Alex Kanavin 2008-10-29 17:00:41 UTC
Created attachment 321822 [details]
patch that fixes the problem

I've done some testing and can confirm that reverting the following commit (the patch is attached) fixes the problem:
==============
commit c8b04c614770870d75825c19bcd4729cc779b84a
Author: Paul Nasrat <pauln>
Date:   Mon Dec 3 13:04:19 2007 +0000

    Let prom_claim_chunk do the work for tftp images to support larger images.
    
    Patch from: Leonardo Rangel <lrangel.ibm.com>
==============

Please review.

Comment 6 Paul Nasrat 2008-10-29 17:21:27 UTC
Hmm, what version of OF are both you and Roman using?

Also in linux can you see what load-base is set to using nvram

nvram load-base

Comment 7 Alex Kanavin 2008-10-29 17:46:50 UTC
Apple PowerBook6,8 4.9.0f0 BootROM built on 01/10/05 at 10:39:14

load-base=0x800000

Comment 8 Alex Kanavin 2008-10-29 17:51:41 UTC
oh, and
[ak@localhost yaboot]$ cat /proc/device-tree/openprom/model 
OpenFirmware 3

if that helps.

Comment 9 Roman Rakus 2008-10-30 10:56:21 UTC
Apple PowerBook6,7 4.9.3f0 BootROM built on 07/05/05 at 11:14:11

load-base=0x800000

OpenFirmware 3

Comment 10 Roman Rakus 2008-11-03 15:36:30 UTC
yaboot1-1.3.14-5.fc10.ppc
kernel-2.6.27-0.352.rc7.git1.fc10.ppc
works well.
No I try to update kernel...

Comment 11 Roman Rakus 2008-11-03 15:45:17 UTC
updated kernel -> oops and kernel panic

Comment 12 Alex Kanavin 2008-11-03 16:08:18 UTC
Yeah, I too noticed that panics behaviour depends on the kernel version - with somewhat older kernels the panic can happen much later in the boot process, or it might make it through to graphical anaconda, and hang there (in F10 snapshot 2). 

Roman, can you get the latest

http://download.fedora.redhat.com/pub/fedora/linux/development/ppc/os/images/boot.iso

and try booting it?

Comment 13 Roman Rakus 2008-11-04 10:37:19 UTC
oops and hang.
F10-alpha was similar, F10-beta boots and install well and this one is worse then alpha.

Comment 14 Roman Rakus 2008-11-04 10:48:11 UTC
And if I try to restart I get:
Keyboard interrupt
Vector: 501 (Hardware Interrupt) at [c058dee0]
    pc: c000a230: cpu_idle+0x9c/0xe0
    lr: c000a230: cpu_idle+0x9c/0xe0
    sp: c058df90
   msr: 209032
  current = 0xc055d580
    pid   = 0, comm = swapper
enter ? for help
[c058df90] c000a1ec cpu_idle+0x58/0xe0 (unreliable)
[c058dfb0] c03c5644 __got2_end+0x58/0x68
[c058dfc0] c0513798 start_kernel+0x2cc/0x2e0
[c058dff0] 0000380c
mon>

Comment 15 Alex Kanavin 2008-11-04 13:40:03 UTC
I think F10-Alpha and Beta used yaboot 1.3.13, so the problems in Alpha are unrelated.

Roman, can you try the patch from comment 5? If you confirm that it fixes the problem as well, then it's probably best to release F10 with it, and resolve the problem later. Fedora release that doesn't boot on a major class of machines is no good.

Comment 16 Roman Rakus 2008-11-04 13:47:06 UTC
OK I can try it, but what is better? Release with kernel bug and workaround in yaboot or fixed kernel? Yes, this can be kernel bug as well as yaboot. I'm working on it. But OK, now I will try your patch now.

Comment 17 W. Michael Petullo 2008-11-04 21:39:25 UTC
*** Bug 469502 has been marked as a duplicate of this bug. ***

Comment 18 Paul Nasrat 2008-11-05 05:41:02 UTC
Revert the change in yaboot by patching it out in the rpm, it'll be reverted upstream too.

Thanks for the leg work in tracking this down Alex.

Comment 19 Roman Rakus 2008-11-05 13:12:41 UTC
yaboot-1.3.14-6.fc10 build, but with tag dist-f10-updates-candidate and I'm not sure, if this is the right tag.

Comment 20 Alex Kanavin 2008-11-06 15:45:56 UTC
Updated yaboot package showed up in rawhide and the latest boot.iso works fine as well.

Comment 21 Jesse Keating 2008-11-06 18:51:53 UTC
Tested here too, worksforme.

Comment 22 Chris Lumens 2008-11-06 19:45:45 UTC
*** Bug 470141 has been marked as a duplicate of this bug. ***

Comment 23 Will Woods 2008-11-12 22:07:46 UTC
*** Bug 470322 has been marked as a duplicate of this bug. ***