booting RHEL6

Tai Pan taipan_yh at yahoo.com
Tue Jun 28 00:30:56 EST 2011


Hello all,
I'm having some issues booting rhel6 with yaboot.
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.

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:

 
0 > boot net:,yaboot,, 

<attempts to get the conf file we can ignore>

BOOTP: chosen-network-type = ethernet,auto,rj45,auto
BOOTP: server   IP =        0.0.0.0
BOOTP: requested filename = \yaboot.conf **yeah, o modified yaboot.c so that is looks in / not /etc **
BOOTP: client   IP =        0.0.0.0
BOOTP: client   HW addr =   0 11 25 7e 83 6
BOOTP: gateway  IP =        0.0.0.0
BOOTP: device    /pci at 800000020000002/pci at 2/ethernet at 1
BOOTP: loc-code  U789F.001.AAA9255-P1-T1


BOOTP R = 1 BOOTP S = 2 
FILE: /yaboot.conf
FINAL Packet Count = 1 
FINAL File Size = 236 bytes.
load-base=0x4000 
real-base=0xc00000 
Config file read, 236 bytes


BOOTP: chosen-network-type = ethernet,auto,rj45,auto
BOOTP: server   IP =        0.0.0.0
BOOTP: requested filename = yaboot.msg
BOOTP: client   IP =        0.0.0.0
BOOTP: client   HW addr =   0 11 25 7e 83 6
BOOTP: gateway  IP =        0.0.0.0
BOOTP: device    /pci at 800000020000002/pci at 2/ethernet at 1
BOOTP: loc-code  U789F.001.AAA9255-P1-T1


BOOTP R = 1 BOOTP S = 2 
FILE: yaboot.msg
FINAL Packet Count = 1 
FINAL File Size = 129 bytes.
load-base=0x4000 
real-base=0xc00000 

 
Choose a boot image by entering
the appropriate label at the 'boot:' prompt.

linux6    - Linux Build Agent (RHEL 6-based)



Welcome to yaboot version 1.3.16
Enter "help" to get some basic usage information
boot: linux6
Please wait, loading kernel...

BOOTP: chosen-network-type = ethernet,auto,rj45,auto
BOOTP: server   IP =        0.0.0.0
BOOTP: requested filename = rhel6ppc\vmlinuz
BOOTP: client   IP =        0.0.0.0
BOOTP: client   HW addr =   0 11 25 7e 83 6
BOOTP: gateway  IP =        0.0.0.0
BOOTP: device    /pci at 800000020000002/pci at 2/ethernet at 1
BOOTP: loc-code  U789F.001.AAA9255-P1-T1


BOOTP R = 1 BOOTP S = 2 
FILE: rhel6ppc/vmlinuz
FINAL Packet Count = 32090 
FINAL File Size = 16429624 bytes.
load-base=0x4000 
real-base=0xc00000 
   Elf64 kernel loaded...
Loading ramdisk...

BOOTP: chosen-network-type = ethernet,auto,rj45,auto
BOOTP: server   IP =        0.0.0.0
BOOTP: requested filename = rhel6ppc\ramdisk.image.gz
BOOTP: client   IP =        0.0.0.0
BOOTP: client   HW addr =   0 11 25 7e 83 6
BOOTP: gateway  IP =        0.0.0.0
BOOTP: device    /pci at 800000020000002/pci at 2/ethernet at 1
BOOTP: loc-code  U789F.001.AAA9255-P1-T1


BOOTP R = 1 BOOTP S = 3 
FILE: rhel6ppc/ramdisk.image.gz
FINAL Packet Count = 65094 
FINAL File Size = 33327761 bytes.
load-base=0x4000 
real-base=0xc00000 
ramdisk loaded at 05700000, size: 32546 Kbytes
OF stdout device is: /vdevice/vty at 30000000
Preparing to boot Linux version 2.6.32-131.0.15.el6.ppc64 (mockbuild at 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
Max number of cores passed to firmware: 0x0000000000000200
Calling ibm,client-architecture-support... not implemented
command line: ks=nfs:192.168.205.226:ks-rhel6ppc.cfg br=192.168.205.226:2217 
memory layout at init:
  memory_limit : 0000000000000000 (16 MB aligned)
  alloc_bottom : 00000000076d0000
  alloc_top    : 0000000008000000
  alloc_top_hi : 0000000077000000
  rmo_top      : 0000000008000000
  ram_top      : 0000000077000000
RTAS allocation failed !
boot cpu hw idx 0000000000000000
starting cpu hw idx 0000000000000002... done
copying OF device tree...
Building dt strings...
Building dt structure...
Device tree strings 0x00000000077e0000 -> 0x00000000077e133b
Device tree struct  0x00000000077f0000 -> 0x0000000007800000
console [hvsi0] enabled, bootconsole disabled
console [hvsi0] enabled, bootconsole disabled
allocated 1218560 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux:  Initializing.
Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 4, 1048576 bytes)
Mount-cache hash table entries: 4096
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
Initializing cgroup subsys blkio
POWER5+/++ performance monitor hardware support registered
Firmware doesn't support query-cpu-stopped-state
Processor 1 is stuck.
Processor 2 found.
Firmware doesn't support query-cpu-stopped-state
Processor 3 is stuck.
Brought up 2 CPUs
devtmpfs: initialized
regulator: core version 0.5
NET: Registered protocol family 16
IBM eBus Device Driver
CPU Hotplug not supported by firmware - disabling.
PCI: Probing PCI hardware
IOMMU table initialized, virtual merging enabled
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
Switching to clocksource timebase
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 1, 131072 bytes)
TCP established hash table entries: 65536 (order: 4, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 4, 1048576 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 32546k freed
nvram_scan_partitions: Error parsing nvram partitions
nvram_init: Failed nvram_scan_partitions
rtas_flash: no firmware flash support
xics_unmask_irq: ibm_set_xive irq 589825 server 0 returned -1
xics_set_affinity: ibm,get-xive irq=589825 returns -1
audit: initializing netlink socket (disabled)
type=2000 audit(11.270:1): initialized
HugeTLB registered 16 MB page size, pre-allocated 0 pages
HugeTLB registered 16 GB page size, pre-allocated 0 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
msgmni has been set to 3748
alg: No test for stdrng (krng)
ksign: Installing public key data
Loading keyring
- Added public key A88CDD1D1FD954C
  - key was been created 1305056405 seconds in future
- User ID: Red Hat, Inc. (Kernel Module GPG key)
- Added public key D4A26C9CCD09BEDA
  - key was been created 1268736081 seconds in future
- User ID: Red Hat Enterprise Linux Driver Update Program <secalert at redhat.com>
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
rpaphp: RPA HOT Plug PCI Controller Driver version: 0.1
rpadlpar_io_init: partition not DLPAR capable
pci-stub: invalid id string ""
xics_unmask_irq: ibm_set_xive irq 655360 server 0 returned -1
xics_set_affinity: ibm,get-xive irq=655360 returns -1
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
brd: module loaded
loop: module loaded
input: Macintosh mouse button emulation as /devices/virtual/input/input0
Fixed MDIO Bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:c8:01.2: EHCI Host Controller
Welcome to Red Hat Enterprise Linux for ppc64




             ┌───────────────┤ Networking Device ├───────────────┐
             │                                                   │
             │ You have multiple network devices on this system. │
             │ Which would you like to install through?          │
             │                                                   │
             │  eth0 - Ethernet device eth0 - 00:00:00:00:00:00  │
             │  eth1 - Ethernet device eth1 - 00:00:00:00:00:00  │
             │                                                   │
             │    ┌────┐        ┌──────────┐        ┌──────┐     │
             │    │ OK │        │ Identify │        │ Back │     │
             │    └────┘        └──────────┘        └──────┘     │
             │                                                   │
             │                                                   │
             └───────────────────────────────────────────────────┘




  <Tab>/<Alt-Tab> between elements  | <Space> selects | <F12> next screen

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.
I encountered this behaviour before, when trying to get rhel6 to work, and when i chose too high values for LOAD_BUFFER_SIZE.

My yaboot conf file looks this this:
message = yaboot.msg
timeout=30
default=linux6

image=rhel6ppc/vmlinuz
        initrd=rhel6ppc/ramdisk.image.gz
        label=linux6
        append="ks=nfs:192.168.205.226:ks-rhel6ppc.cfg br=192.168.205.226:2217"

Any help would be apreciated.

Thanks,
Radu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/yaboot-users/attachments/20110627/74eb3956/attachment-0001.html>


More information about the Yaboot-users mailing list