<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello all,<br>I'm having some issues booting rhel6 with yaboot.<br>1) In order to boot the rhel6 kernel i had to increase LOAD_BUFFER_SIZE to 0x2600000 in fs_of.c, as the ramdisk is simply too large and it would not get all downloaded over tftp.<br><br>2) After i got rhel6 to work, i tried the rhel6.1 kernel and this one fails. The following is the copy paste of what i see:<br><br> <br>0 > boot net:,yaboot,, <br><br><attempts to get the conf file we can ignore><br><br>BOOTP: chosen-network-type = ethernet,auto,rj45,auto<br>BOOTP: server   IP =        0.0.0.0<br>BOOTP: requested filename = \yaboot.conf **yeah, o modified yaboot.c so that is looks in / not /etc **<br>BOOTP: client   IP =        0.0.0.0<br>BOOTP: client   HW addr =   0 11 25
 7e 83 6<br>BOOTP: gateway  IP =        0.0.0.0<br>BOOTP: device    /pci@800000020000002/pci@2/ethernet@1<br>BOOTP: loc-code  U789F.001.AAA9255-P1-T1<br><br><br>BOOTP R = 1 BOOTP S = 2 <br>FILE: /yaboot.conf<br>FINAL Packet Count = 1 <br>FINAL File Size = 236 bytes.<br>load-base=0x4000 <br>real-base=0xc00000 <br>Config file read, 236 bytes<br><br><br>BOOTP: chosen-network-type = ethernet,auto,rj45,auto<br>BOOTP: server   IP =        0.0.0.0<br>BOOTP: requested filename = yaboot.msg<br>BOOTP: client   IP =        0.0.0.0<br>BOOTP: client   HW addr =   0 11 25 7e 83 6<br>BOOTP: gateway  IP =        0.0.0.0<br>BOOTP: device    /pci@800000020000002/pci@2/ethernet@1<br>BOOTP: loc-code  U789F.001.AAA9255-P1-T1<br><br><br>BOOTP R = 1
 BOOTP S = 2 <br>FILE: yaboot.msg<br>FINAL Packet Count = 1 <br>FINAL File Size = 129 bytes.<br>load-base=0x4000 <br>real-base=0xc00000 <br><br> <br>Choose a boot image by entering<br>the appropriate label at the 'boot:' prompt.<br><br>linux6    - Linux Build Agent (RHEL 6-based)<br><br><br><br>Welcome to yaboot version 1.3.16<br>Enter "help" to get some basic usage information<br>boot: linux6<br>Please wait, loading kernel...<br><br>BOOTP: chosen-network-type = ethernet,auto,rj45,auto<br>BOOTP: server   IP =        0.0.0.0<br>BOOTP: requested filename = rhel6ppc\vmlinuz<br>BOOTP: client   IP =        0.0.0.0<br>BOOTP: client   HW addr =   0 11 25 7e 83 6<br>BOOTP: gateway  IP =        0.0.0.0<br>BOOTP: device    /pci@800000020000002/pci@2/ethernet@1<br>BOOTP:
 loc-code  U789F.001.AAA9255-P1-T1<br><br><br>BOOTP R = 1 BOOTP S = 2 <br>FILE: rhel6ppc/vmlinuz<br>FINAL Packet Count = 32090 <br>FINAL File Size = 16429624 bytes.<br>load-base=0x4000 <br>real-base=0xc00000 <br>   Elf64 kernel loaded...<br>Loading ramdisk...<br><br>BOOTP: chosen-network-type = ethernet,auto,rj45,auto<br>BOOTP: server   IP =        0.0.0.0<br>BOOTP: requested filename = rhel6ppc\ramdisk.image.gz<br>BOOTP: client   IP =        0.0.0.0<br>BOOTP: client   HW addr =   0 11 25 7e 83 6<br>BOOTP: gateway  IP =        0.0.0.0<br>BOOTP: device    /pci@800000020000002/pci@2/ethernet@1<br>BOOTP: loc-code  U789F.001.AAA9255-P1-T1<br><br><br>BOOTP R = 1 BOOTP S = 3 <br>FILE: rhel6ppc/ramdisk.image.gz<br>FINAL Packet Count = 65094 <br>FINAL File Size = 33327761
 bytes.<br>load-base=0x4000 <br>real-base=0xc00000 <br>ramdisk loaded at 05700000, size: 32546 Kbytes<br>OF stdout device is: /vdevice/vty@30000000<br>Preparing to boot Linux version 2.6.32-131.0.15.el6.ppc64 (mockbuild@ppc-002.build.bos.redhat.com) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Tue May 10 15:44:09 EDT 2011<br>Max number of cores passed to firmware: 0x0000000000000200<br>Calling ibm,client-architecture-support... not implemented<br>command line: ks=nfs:192.168.205.226:ks-rhel6ppc.cfg br=192.168.205.226:2217 <br>memory layout at init:<br>  memory_limit : 0000000000000000 (16 MB aligned)<br>  alloc_bottom : 00000000076d0000<br>  alloc_top    : 0000000008000000<br>  alloc_top_hi : 0000000077000000<br>  rmo_top      : 0000000008000000<br>  ram_top      : 0000000077000000<br>RTAS allocation failed !<br>boot cpu hw idx
 0000000000000000<br>starting cpu hw idx 0000000000000002... done<br>copying OF device tree...<br>Building dt strings...<br>Building dt structure...<br>Device tree strings 0x00000000077e0000 -> 0x00000000077e133b<br>Device tree struct  0x00000000077f0000 -> 0x0000000007800000<br>console [hvsi0] enabled, bootconsole disabled<br>console [hvsi0] enabled, bootconsole disabled<br>allocated 1218560 bytes of page_cgroup<br>please try 'cgroup_disable=memory' option if you don't want memory cgroups<br>pid_max: default: 32768 minimum: 301<br>Security Framework initialized<br>SELinux:  Initializing.<br>Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes)<br>Inode-cache hash table entries: 131072 (order: 4, 1048576 bytes)<br>Mount-cache hash table entries: 4096<br>Initializing cgroup subsys ns<br>Initializing cgroup subsys cpuacct<br>Initializing cgroup subsys memory<br>Initializing cgroup subsys devices<br>Initializing cgroup subsys
 freezer<br>Initializing cgroup subsys net_cls<br>Initializing cgroup subsys blkio<br>POWER5+/++ performance monitor hardware support registered<br>Firmware doesn't support query-cpu-stopped-state<br>Processor 1 is stuck.<br>Processor 2 found.<br>Firmware doesn't support query-cpu-stopped-state<br>Processor 3 is stuck.<br>Brought up 2 CPUs<br>devtmpfs: initialized<br>regulator: core version 0.5<br>NET: Registered protocol family 16<br>IBM eBus Device Driver<br>CPU Hotplug not supported by firmware - disabling.<br>PCI: Probing PCI hardware<br>IOMMU table initialized, virtual merging enabled<br>bio: create slab <bio-0> at 0<br>vgaarb: loaded<br>SCSI subsystem initialized<br>usbcore: registered new interface driver usbfs<br>usbcore: registered new interface driver hub<br>usbcore: registered new device driver usb<br>NetLabel: Initializing<br>NetLabel:  domain hash size = 128<br>NetLabel:  protocols = UNLABELED CIPSOv4<br>NetLabel: 
 unlabeled traffic allowed by default<br>Switching to clocksource timebase<br>NET: Registered protocol family 2<br>IP route cache hash table entries: 16384 (order: 1, 131072 bytes)<br>TCP established hash table entries: 65536 (order: 4, 1048576 bytes)<br>TCP bind hash table entries: 65536 (order: 4, 1048576 bytes)<br>TCP: Hash tables configured (established 65536 bind 65536)<br>TCP reno registered<br>NET: Registered protocol family 1<br>Trying to unpack rootfs image as initramfs...<br>Freeing initrd memory: 32546k freed<br>nvram_scan_partitions: Error parsing nvram partitions<br>nvram_init: Failed nvram_scan_partitions<br>rtas_flash: no firmware flash support<br>xics_unmask_irq: ibm_set_xive irq 589825 server 0 returned -1<br>xics_set_affinity: ibm,get-xive irq=589825 returns -1<br>audit: initializing netlink socket (disabled)<br>type=2000 audit(11.270:1): initialized<br>HugeTLB registered 16 MB page size, pre-allocated 0 pages<br>HugeTLB registered 16
 GB page size, pre-allocated 0 pages<br>VFS: Disk quotas dquot_6.5.2<br>Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)<br>msgmni has been set to 3748<br>alg: No test for stdrng (krng)<br>ksign: Installing public key data<br>Loading keyring<br>- Added public key A88CDD1D1FD954C<br>  - key was been created 1305056405 seconds in future<br>- User ID: Red Hat, Inc. (Kernel Module GPG key)<br>- Added public key D4A26C9CCD09BEDA<br>  - key was been created 1268736081 seconds in future<br>- User ID: Red Hat Enterprise Linux Driver Update Program <secalert@redhat.com><br>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)<br>io scheduler noop registered<br>io scheduler anticipatory registered<br>io scheduler deadline registered<br>io scheduler cfq registered (default)<br>pci_hotplug: PCI Hot Plug PCI Core version: 0.5<br>pciehp: PCI Express Hot Plug Controller Driver version: 0.4<br>rpaphp: RPA HOT Plug PCI Controller
 Driver version: 0.1<br>rpadlpar_io_init: partition not DLPAR capable<br>pci-stub: invalid id string ""<br>xics_unmask_irq: ibm_set_xive irq 655360 server 0 returned -1<br>xics_set_affinity: ibm,get-xive irq=655360 returns -1<br>Linux agpgart interface v0.103<br>Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled<br>brd: module loaded<br>loop: module loaded<br>input: Macintosh mouse button emulation as /devices/virtual/input/input0<br>Fixed MDIO Bus: probed<br>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver<br>ehci_hcd 0000:c8:01.2: EHCI Host Controller<br>Welcome to Red Hat Enterprise Linux for ppc64<br><br><br><br><br>             ┌───────────────┤ Networking Device ├───────────────┐<br>            
 │                                                   │<br>             │ You have multiple network devices on this system. │<br>             │ Which would you like to install through?          │<br>            
 │                                                   │<br>             │  eth0 - Ethernet device eth0 - 00:00:00:00:00:00  │<br>             │  eth1 - Ethernet device eth1 - 00:00:00:00:00:00  │<br>            
 │                                                   │<br>             │    ┌────┐        ┌──────────┐        ┌──────┐     │<br>             │    │ OK │        │ Identify │        │ Back │     │<br>             │   
 └────┘        └──────────┘        └──────┘     │<br>             │                                                   │<br>             │                                                  
 │<br>             └───────────────────────────────────────────────────┘<br><br><br><br><br>  <Tab>/<Alt-Tab> between elements  | <Space> selects | <F12> next screen<br><br>At this point i should be able to select which adapter i want to use but the machine gets stuck and needs to be manually rebooted.<br>I encountered this behaviour before, when trying to get rhel6 to work, and when i chose too high values for LOAD_BUFFER_SIZE.<br><br>My yaboot conf file looks this this:<br>message = yaboot.msg<br>timeout=30<br>default=linux6<br><br>image=rhel6ppc/vmlinuz<br>        initrd=rhel6ppc/ramdisk.image.gz<br>        label=linux6<br>       
 append="ks=nfs:192.168.205.226:ks-rhel6ppc.cfg br=192.168.205.226:2217"<br><br>Any help would be apreciated.<br><br>Thanks,<br>Radu<br></td></tr></table>