Topic
  • 13 replies
  • Latest Post - ‏2015-07-30T10:57:10Z by k0da
DougElliott
DougElliott
1 Post

Pinned topic Relax And Recover for Linux on Power

‏2014-09-09T14:34:32Z | bare disaster metal mksysb recover recovery relax

Is there any activity underway to add support for Power hardware to Relax-And-Recover?

http://relax-and-recover.org/

I'm aware that Storix has a bare metal recovery solution for Linux on Power, but it would be great to have another (GPL) option.

 

Thanks,

Doug.

  • Bill_Buros
    Bill_Buros
    195 Posts

    Re: Relax And Recover for Linux on Power

    ‏2014-09-09T18:33:40Z  

    Poking around, but I would be surprised off-hand given that there's no real discussion on the mailing list.

    You might ask on the mailing list there..    http://lists.relax-and-recover.org/mailman/listinfo/rear-devel

    There are a number of places to get access to some Power8 systems, including off the debian mailing list, and through SiteOx.com

    It would be interesting to hear from people who use the package and what they think..    

    I did find a reference to the package over on askubuntu.com (in the answer..)

    http://askubuntu.com/questions/463354/ubuntu-wiped-the-entire-hard-drive-after-selecting-reinstall-ubuntu-option/463422#463422

  • nerradr
    nerradr
    1 Post

    Re: Relax And Recover for Linux on Power

    ‏2014-09-19T14:30:43Z  

    I would like to use ReaR on Power as we are starting to build more Linux on Power. Bare Metal Restore like mksysb on AIX will be important for Linux on Power and ReaR would fit the plan. Backup using ReaR works fine but booting to ReaR iso on Power does not work yet. Below is console output of trying to boot a ReaR iso for recovery and where is stops...

     

    -------------------------------------------------------------------------------

    Navigation Keys:

     

                                                 X = eXit System Management Services

    -------------------------------------------------------------------------------

    Type menu item number and press Enter or select Navigation key:1

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM                             IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM     STARTING SOFTWARE       IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM        PLEASE WAIT...       IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM                             IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    \

    Elapsed time since release of system processors: 148470 mins 0 secs

     

    System has 256 Mbytes in RMA

    Config file read, 247 bytes

     

    Relax-and-Recover boot

     

     

    Welcome to yaboot version 1.3.14 (Red Hat 1.3.14-43.el6)

    Enter "help" to get some basic usage information

    boot: Relax-and-Recover

    Please wait, loading kernel...

       Elf64 kernel loaded...

    Loading ramdisk...

    ramdisk loaded at 03980000, size: 45993 Kbytes

    OF stdout device is: /vdevice/vty@30000000

    Preparing to boot Linux version 2.6.32-431.el6.ppc64 (mockbuild@ppc-003.build.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:17:43 EST 2013

    Max number of cores passed to firmware: 0x0000000000000100

    Calling ibm,client-architecture-support... done

    command line:  root=/dev/ram0 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=hvc0 selinux=0

    memory layout at init:

      memory_limit : 0000000000000000 (16 MB aligned)

      alloc_bottom : 0000000006670000

      alloc_top    : 0000000010000000

      alloc_top_hi : 0000000010000000

      rmo_top      : 0000000010000000

      ram_top      : 0000000010000000

    instantiating rtas at 0x000000000ee90000... done

    boot cpu hw idx 0000000000000000

    starting cpu hw idx 0000000000000004... done

    copying OF device tree...

    Building dt strings...

    Building dt structure...

    Device tree strings 0x0000000006780000 -> 0x00000000067815cf

    Device tree struct  0x0000000006790000 -> 0x00000000067b0000

    Calling quiesce...

    returning from prom_init

    Using pSeries machine description

    Using 1TB segments

    Found initrd at 0xc000000003980000:0xc00000000666a55c

    bootconsole [udbg0] enabled

    Partition configured for 16 cpus.

    CPU maps initialized for 4 threads per core

    Starting Linux PPC64 #1 SMP Sun Nov 10 22:17:43 EST 2013

    -----------------------------------------------------

    ppc64_pft_size                = 0x1d

    physicalMemorySize            = 0x100000000

    htab_hash_mask                = 0x3fffff

    -----------------------------------------------------

    Initializing cgroup subsys cpuset

    Initializing cgroup subsys cpu

    Linux version 2.6.32-431.el6.ppc64 (mockbuild@ppc-003.build.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:17:43 EST 2013

    [boot]0012 Setup Arch

    EEH: No capable adapters found

    PPC64 nvram contains 15360 bytes

    Zone PFN ranges:

      DMA      0x00000000 -> 0x00010000

      Normal   0x00010000 -> 0x00010000

    Movable zone start PFN for each node

    early_node_map[1] active PFN ranges

        0: 0x00000000 -> 0x00010000

    [boot]0015 Setup Done

    PERCPU: Embedded 2 pages/cpu @c000000001500000 s92840 r0 d38232 u131072

    pcpu-alloc: s92840 r0 d38232 u131072 alloc=1*1048576

    pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15

    Built 1 zonelists in Node order, mobility grouping on.  Total pages: 65480

    Policy zone: DMA

    Kernel command line:  root=/dev/ram0 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=hvc0 selinux=0

    PID hash table entries: 4096 (order: -1, 32768 bytes)

    freeing bootmem node 0

    Memory: 4089152k/4194304k available (13760k kernel code, 105152k reserved, 2816k data, 4584k bss, 5120k init)

    Hierarchical RCU implementation.

    NR_IRQS:512

    [boot]0020 XICS Init

    [boot]0021 XICS Done

    clocksource: timebase mult[7d0000] shift[22] registered

    Console: colour dummy device 80x25

    console [hvc0] enabled, bootconsole disabled

    console [hvc0] enabled, bootconsole disabled

    allocated 1048576 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:  Disabled at boot.

    Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes)

    Inode-cache hash table entries: 262144 (order: 5, 2097152 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

    Initializing cgroup subsys perf_event

    Initializing cgroup subsys net_prio

    POWER7 performance monitor hardware support registered

    Processor 1 found.

    Processor 2 found.

    Processor 3 found.

    Processor 4 found.

    Processor 5 found.

    Processor 6 found.

    Processor 7 found.

    Brought up 8 CPUs

    Enabling Asymmetric SMT scheduling

    devtmpfs: initialized

    regulator: core version 0.5

    NET: Registered protocol family 16

    IBM eBus Device Driver

    PCI: Probing PCI hardware

    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

    lo: Dropping TSO features since no CSUM feature.

    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: 32768 (order: 2, 262144 bytes)

    TCP established hash table entries: 131072 (order: 5, 2097152 bytes)

    TCP bind hash table entries: 65536 (order: 4, 1048576 bytes)

    TCP: Hash tables configured (established 131072 bind 65536)

    TCP reno registered

    NET: Registered protocol family 1

    Trying to unpack rootfs image as initramfs...

    Freeing initrd memory: 45993k freed

    IOMMU table initialized, virtual merging enabled

    audit: initializing netlink socket (disabled)

    type=2000 audit(1410551030.860: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 8076

    alg: No test for stdrng (krng)

    ksign: Installing public key data

    Loading keyring

    - Added public key C543BA68EF9C9B6F

    - User ID: Red Hat, Inc. (Kernel Module GPG key)

    - Added public key D4A26C9CCD09BEDA

    - User ID: Red Hat Enterprise Linux Driver Update Program <secalert@redhat.com>

    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)

    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

    ipmi message handler version 39.2

    IPMI System Interface driver.

    ipmi_si: Unable to find any System Interface(s)

    Registering IBM pSeries RNG driver

    Linux agpgart interface v0.103

    crash memory driver: version 1.1

    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

    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

    uhci_hcd: USB Universal Host Controller Interface driver

    mice: PS/2 mouse device common for all mice

    rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0

    usbcore: registered new interface driver hiddev

    usbcore: registered new interface driver usbhid

    usbhid: v2.6:USB HID core driver

    GRE over IPv4 demultiplexor driver

    TCP cubic registered

    Initializing XFRM netlink socket

    NET: Registered protocol family 17

    registered taskstats version 1

    rtc-generic rtc-generic: setting system clock to 2014-09-12 19:43:51 UTC (1410551031)

    Initalizing network drop monitor service

    Freeing unused kernel memory: 5120k freed

    mount: proc already mounted

    mount: none already mounted or /sys busy

    mount: according to mtab, none is already mounted on /sys

    Hostname set to cbstest2

    * * * Configuring Rescue System * * *

    Running 00-functions.sh...

    Running 10-console-setup.sh...

    Loading /etc/dumpkeys.out

    Running 20-check-boot-options.sh...

    Running 40-start-udev-or-load-modules.sh...

    Waiting for udev ... done.

    Running 41-load-special-modules.sh...

    Running 42-engage-scsi.sh...

    Running 45-serial-console.sh...

    init: /etc/init.conf: Unable to load configuration: No such file or directory

    Running 55-migrate-network-devices.sh...

     

    The original network device eth0 aa:44:10:42:df:02 is not available.

    Please select another device:

     

    1) eth1 aa:44:1c:8b:93:02 ibmveth

    2) Skip replacing the network device

     

            Choose the network device to use: 1

    Reloading udev ... done.

    Running 58-start-dhclient.sh...

    Running 60-network-devices.sh...

    Running 62-routing.sh...

    RTNETLINK answers: File exists

    * * * Rescue System is ready * * *

  • jscheel
    jscheel
    81 Posts

    Re: Relax And Recover for Linux on Power

    ‏2014-09-29T17:42:26Z  
    • nerradr
    • ‏2014-09-19T14:30:43Z

    I would like to use ReaR on Power as we are starting to build more Linux on Power. Bare Metal Restore like mksysb on AIX will be important for Linux on Power and ReaR would fit the plan. Backup using ReaR works fine but booting to ReaR iso on Power does not work yet. Below is console output of trying to boot a ReaR iso for recovery and where is stops...

     

    -------------------------------------------------------------------------------

    Navigation Keys:

     

                                                 X = eXit System Management Services

    -------------------------------------------------------------------------------

    Type menu item number and press Enter or select Navigation key:1

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM                             IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM     STARTING SOFTWARE       IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM        PLEASE WAIT...       IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM                             IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM IBM

    \

    Elapsed time since release of system processors: 148470 mins 0 secs

     

    System has 256 Mbytes in RMA

    Config file read, 247 bytes

     

    Relax-and-Recover boot

     

     

    Welcome to yaboot version 1.3.14 (Red Hat 1.3.14-43.el6)

    Enter "help" to get some basic usage information

    boot: Relax-and-Recover

    Please wait, loading kernel...

       Elf64 kernel loaded...

    Loading ramdisk...

    ramdisk loaded at 03980000, size: 45993 Kbytes

    OF stdout device is: /vdevice/vty@30000000

    Preparing to boot Linux version 2.6.32-431.el6.ppc64 (mockbuild@ppc-003.build.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:17:43 EST 2013

    Max number of cores passed to firmware: 0x0000000000000100

    Calling ibm,client-architecture-support... done

    command line:  root=/dev/ram0 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=hvc0 selinux=0

    memory layout at init:

      memory_limit : 0000000000000000 (16 MB aligned)

      alloc_bottom : 0000000006670000

      alloc_top    : 0000000010000000

      alloc_top_hi : 0000000010000000

      rmo_top      : 0000000010000000

      ram_top      : 0000000010000000

    instantiating rtas at 0x000000000ee90000... done

    boot cpu hw idx 0000000000000000

    starting cpu hw idx 0000000000000004... done

    copying OF device tree...

    Building dt strings...

    Building dt structure...

    Device tree strings 0x0000000006780000 -> 0x00000000067815cf

    Device tree struct  0x0000000006790000 -> 0x00000000067b0000

    Calling quiesce...

    returning from prom_init

    Using pSeries machine description

    Using 1TB segments

    Found initrd at 0xc000000003980000:0xc00000000666a55c

    bootconsole [udbg0] enabled

    Partition configured for 16 cpus.

    CPU maps initialized for 4 threads per core

    Starting Linux PPC64 #1 SMP Sun Nov 10 22:17:43 EST 2013

    -----------------------------------------------------

    ppc64_pft_size                = 0x1d

    physicalMemorySize            = 0x100000000

    htab_hash_mask                = 0x3fffff

    -----------------------------------------------------

    Initializing cgroup subsys cpuset

    Initializing cgroup subsys cpu

    Linux version 2.6.32-431.el6.ppc64 (mockbuild@ppc-003.build.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:17:43 EST 2013

    [boot]0012 Setup Arch

    EEH: No capable adapters found

    PPC64 nvram contains 15360 bytes

    Zone PFN ranges:

      DMA      0x00000000 -> 0x00010000

      Normal   0x00010000 -> 0x00010000

    Movable zone start PFN for each node

    early_node_map[1] active PFN ranges

        0: 0x00000000 -> 0x00010000

    [boot]0015 Setup Done

    PERCPU: Embedded 2 pages/cpu @c000000001500000 s92840 r0 d38232 u131072

    pcpu-alloc: s92840 r0 d38232 u131072 alloc=1*1048576

    pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15

    Built 1 zonelists in Node order, mobility grouping on.  Total pages: 65480

    Policy zone: DMA

    Kernel command line:  root=/dev/ram0 LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us console=hvc0 selinux=0

    PID hash table entries: 4096 (order: -1, 32768 bytes)

    freeing bootmem node 0

    Memory: 4089152k/4194304k available (13760k kernel code, 105152k reserved, 2816k data, 4584k bss, 5120k init)

    Hierarchical RCU implementation.

    NR_IRQS:512

    [boot]0020 XICS Init

    [boot]0021 XICS Done

    clocksource: timebase mult[7d0000] shift[22] registered

    Console: colour dummy device 80x25

    console [hvc0] enabled, bootconsole disabled

    console [hvc0] enabled, bootconsole disabled

    allocated 1048576 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:  Disabled at boot.

    Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes)

    Inode-cache hash table entries: 262144 (order: 5, 2097152 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

    Initializing cgroup subsys perf_event

    Initializing cgroup subsys net_prio

    POWER7 performance monitor hardware support registered

    Processor 1 found.

    Processor 2 found.

    Processor 3 found.

    Processor 4 found.

    Processor 5 found.

    Processor 6 found.

    Processor 7 found.

    Brought up 8 CPUs

    Enabling Asymmetric SMT scheduling

    devtmpfs: initialized

    regulator: core version 0.5

    NET: Registered protocol family 16

    IBM eBus Device Driver

    PCI: Probing PCI hardware

    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

    lo: Dropping TSO features since no CSUM feature.

    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: 32768 (order: 2, 262144 bytes)

    TCP established hash table entries: 131072 (order: 5, 2097152 bytes)

    TCP bind hash table entries: 65536 (order: 4, 1048576 bytes)

    TCP: Hash tables configured (established 131072 bind 65536)

    TCP reno registered

    NET: Registered protocol family 1

    Trying to unpack rootfs image as initramfs...

    Freeing initrd memory: 45993k freed

    IOMMU table initialized, virtual merging enabled

    audit: initializing netlink socket (disabled)

    type=2000 audit(1410551030.860: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 8076

    alg: No test for stdrng (krng)

    ksign: Installing public key data

    Loading keyring

    - Added public key C543BA68EF9C9B6F

    - User ID: Red Hat, Inc. (Kernel Module GPG key)

    - Added public key D4A26C9CCD09BEDA

    - User ID: Red Hat Enterprise Linux Driver Update Program <secalert@redhat.com>

    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)

    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

    ipmi message handler version 39.2

    IPMI System Interface driver.

    ipmi_si: Unable to find any System Interface(s)

    Registering IBM pSeries RNG driver

    Linux agpgart interface v0.103

    crash memory driver: version 1.1

    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

    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

    uhci_hcd: USB Universal Host Controller Interface driver

    mice: PS/2 mouse device common for all mice

    rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0

    usbcore: registered new interface driver hiddev

    usbcore: registered new interface driver usbhid

    usbhid: v2.6:USB HID core driver

    GRE over IPv4 demultiplexor driver

    TCP cubic registered

    Initializing XFRM netlink socket

    NET: Registered protocol family 17

    registered taskstats version 1

    rtc-generic rtc-generic: setting system clock to 2014-09-12 19:43:51 UTC (1410551031)

    Initalizing network drop monitor service

    Freeing unused kernel memory: 5120k freed

    mount: proc already mounted

    mount: none already mounted or /sys busy

    mount: according to mtab, none is already mounted on /sys

    Hostname set to cbstest2

    * * * Configuring Rescue System * * *

    Running 00-functions.sh...

    Running 10-console-setup.sh...

    Loading /etc/dumpkeys.out

    Running 20-check-boot-options.sh...

    Running 40-start-udev-or-load-modules.sh...

    Waiting for udev ... done.

    Running 41-load-special-modules.sh...

    Running 42-engage-scsi.sh...

    Running 45-serial-console.sh...

    init: /etc/init.conf: Unable to load configuration: No such file or directory

    Running 55-migrate-network-devices.sh...

     

    The original network device eth0 aa:44:10:42:df:02 is not available.

    Please select another device:

     

    1) eth1 aa:44:1c:8b:93:02 ibmveth

    2) Skip replacing the network device

     

            Choose the network device to use: 1

    Reloading udev ... done.

    Running 58-start-dhclient.sh...

    Running 60-network-devices.sh...

    Running 62-routing.sh...

    RTNETLINK answers: File exists

    * * * Rescue System is ready * * *

    So, can you tell us more about the configuration?  What was the system configuration?  Are you using any virtualization?  What's your connectivity to the terminal information you've shown?  Does the information shown on boot reflect what you expected?

    To where did you store the backup image?  Are you net booting it or coming off of media of some sort such as USB or DVD?

    What's the error?  I don't see any listed.  To me, it appears that things believe they are running.  Usually, this happens when the console gets control and really is just sitting there running, but the user is NOT on the console.

  • jscheel
    jscheel
    81 Posts

    Re: Relax And Recover for Linux on Power

    ‏2014-09-29T17:50:48Z  
    • jscheel
    • ‏2014-09-29T17:42:26Z

    So, can you tell us more about the configuration?  What was the system configuration?  Are you using any virtualization?  What's your connectivity to the terminal information you've shown?  Does the information shown on boot reflect what you expected?

    To where did you store the backup image?  Are you net booting it or coming off of media of some sort such as USB or DVD?

    What's the error?  I don't see any listed.  To me, it appears that things believe they are running.  Usually, this happens when the console gets control and really is just sitting there running, but the user is NOT on the console.

    One other thought, might be to post the log from a successful x86 recovery for comparison.

  • jscheel
    jscheel
    81 Posts

    Re: Relax And Recover for Linux on Power

    ‏2014-09-29T18:22:56Z  
    • jscheel
    • ‏2014-09-29T17:50:48Z

    One other thought, might be to post the log from a successful x86 recovery for comparison.

    Yeah, I'm more convinced this is a console issue.  I just watched the video at http://relax-and-recover.org/ and at 2:15s into the video, the x86 demo system has been booting the recovery image with results very much like the first screenshot below.

    Then, it transistions to a run level 3 which usually is the console transition.  So, you likely have an active console somewhere on your box, just waiting for a login very much like the second one.

    Updated on 2014-09-29T18:27:49Z at 2014-09-29T18:27:49Z by jscheel
  • JayFurmanek
    JayFurmanek
    115 Posts

    Re: Relax And Recover for Linux on Power

    ‏2015-02-27T22:11:18Z  

    I've submitted 3 patches for Power that have been accepted to the REAR codebase. One of them fixes the console issue talked about in this thread. The second patch makes sure the PReP boot partition is recreated properly and the third is a general fix for RHEL6 systems that have seclabel in their mount options.

     

    My team and I have tested it in a few different configurations.

    • Single path Vscsi LPARs generally back up without any issues.
    • Full partition LPARS with multipath local disks works as well, with the caveat of potentially have to reconfigure the multipath environment when moving to different hardware or disks. RHEL6 has a default blacklist and blacklist exception config.
    • We've seen some issues with multipath SAN backed LPARs, which might be related to certain SAN devices. Of course, if you have a nice multipath capable SAN, then you likely have nice copy services on the SAN anyway.
    • I've not tried it with KVM hosts or guests, or any OS running native/bare metal.

     

    Most of the issues we've seen seem to relate back to the old buggy version of parted that exists on RHEL 6.



    For reference, my configuration usually looks like:

    # cat local.conf

    # Default is to create Relax-and-Recover rescue media as ISO image
    # set OUTPUT to change that
    # set BACKUP to activate an automated (backup and) restore of your data
    # Possible configuration values can be found in /usr/share/rear/conf/default.conf
    #
    # This file (local.conf) is intended for manual configuration. For configuration
    # through packages and other automated means we recommend creating a new
    # file named site.conf next to this file and to leave the local.conf as it is.
    # Our packages will never ship with a site.conf.
    BACKUP=NETFS
    BACKUP_URL="nfs://[my-nfs-server/local/export/rear/ls0"
    AUTOEXCLUDE_MULTIPATH=n

    # cat os.conf
    OS_VENDOR=RedHatEnterpriseServer
    OS_VERSION=6.4         <-- (or whatever version)
     

  • mahah
    mahah
    9 Posts

    Re: Relax And Recover for Linux on Power

    ‏2015-06-30T13:50:42Z  

    I've submitted 3 patches for Power that have been accepted to the REAR codebase. One of them fixes the console issue talked about in this thread. The second patch makes sure the PReP boot partition is recreated properly and the third is a general fix for RHEL6 systems that have seclabel in their mount options.

     

    My team and I have tested it in a few different configurations.

    • Single path Vscsi LPARs generally back up without any issues.
    • Full partition LPARS with multipath local disks works as well, with the caveat of potentially have to reconfigure the multipath environment when moving to different hardware or disks. RHEL6 has a default blacklist and blacklist exception config.
    • We've seen some issues with multipath SAN backed LPARs, which might be related to certain SAN devices. Of course, if you have a nice multipath capable SAN, then you likely have nice copy services on the SAN anyway.
    • I've not tried it with KVM hosts or guests, or any OS running native/bare metal.

     

    Most of the issues we've seen seem to relate back to the old buggy version of parted that exists on RHEL 6.



    For reference, my configuration usually looks like:

    # cat local.conf

    # Default is to create Relax-and-Recover rescue media as ISO image
    # set OUTPUT to change that
    # set BACKUP to activate an automated (backup and) restore of your data
    # Possible configuration values can be found in /usr/share/rear/conf/default.conf
    #
    # This file (local.conf) is intended for manual configuration. For configuration
    # through packages and other automated means we recommend creating a new
    # file named site.conf next to this file and to leave the local.conf as it is.
    # Our packages will never ship with a site.conf.
    BACKUP=NETFS
    BACKUP_URL="nfs://[my-nfs-server/local/export/rear/ls0"
    AUTOEXCLUDE_MULTIPATH=n

    # cat os.conf
    OS_VENDOR=RedHatEnterpriseServer
    OS_VERSION=6.4         <-- (or whatever version)
     

    Has anyone had success with ReaR on SLES11SP3 PowerVM (Power8) with NPIV boot lun?

    I am testing with ReaR 1.17.1-1, mkbackup option seems to be working fine creating the iso rescue image and backup.tar.gz bundles.

    Has the recovery process worked for anyone? Looking for feedback/suggestions.

    Thanks

     

  • mahah
    mahah
    9 Posts

    Re: Relax And Recover for Linux on Power

    ‏2015-07-03T22:52:50Z  

    ReaR recovery iso image fails to boot on ibm powervm lpar

    Environment: IBM PowerVM Lpar on Power8 hardware
    OS: SLES11SP3 BE
    Rear 1.17.1

    "rear -v mkbackup" runs successfully and creates the bootable iso and the backup.tar.gz file (NFS)

    however the lpar to be recovered is unable to boot from the 'rear-hostname.iso' image, message "no operating system found " is displayed on the console, no errors or any other references.

    has anyone seen/faced similar issue?

  • JayFurmanek
    JayFurmanek
    115 Posts

    Re: Relax And Recover for Linux on Power

    ‏2015-07-06T04:47:24Z  
    • mahah
    • ‏2015-07-03T22:52:50Z

    ReaR recovery iso image fails to boot on ibm powervm lpar

    Environment: IBM PowerVM Lpar on Power8 hardware
    OS: SLES11SP3 BE
    Rear 1.17.1

    "rear -v mkbackup" runs successfully and creates the bootable iso and the backup.tar.gz file (NFS)

    however the lpar to be recovered is unable to boot from the 'rear-hostname.iso' image, message "no operating system found " is displayed on the console, no errors or any other references.

    has anyone seen/faced similar issue?

    SAN/multipath/NPIV support in REAR is a bit shaky in general, I think. The maintainers are designing ways to make it better, but most users of REAR likely don't have SANs, so there is a limited test pool for them. Also, many SANs nowadays have flash copy or easy back up functions built in, making the need for an external tool redundant.

     

    I've responded to your open issue on the REAR github site.

     

    https://github.com/rear/rear/issues/610

  • JayFurmanek
    JayFurmanek
    115 Posts

    Re: Relax And Recover for Linux on Power

    ‏2015-07-09T21:06:50Z  

    SAN/multipath/NPIV support in REAR is a bit shaky in general, I think. The maintainers are designing ways to make it better, but most users of REAR likely don't have SANs, so there is a limited test pool for them. Also, many SANs nowadays have flash copy or easy back up functions built in, making the need for an external tool redundant.

     

    I've responded to your open issue on the REAR github site.

     

    https://github.com/rear/rear/issues/610

    Actually, it looks like REAR on SLES 11 was indeed broken. I've sent some patches up, and they just got merged.

    Can you try again with the latest code from https://github.com/rear/rear ?

     

    You still may have some fun with the SAN set up, but the base function should work on SLES 11 now.

  • pwuestefeld
    pwuestefeld
    18 Posts

    Re: Relax And Recover for Linux on Power

    ‏2015-07-13T12:06:20Z  

    Actually, it looks like REAR on SLES 11 was indeed broken. I've sent some patches up, and they just got merged.

    Can you try again with the latest code from https://github.com/rear/rear ?

     

    You still may have some fun with the SAN set up, but the base function should work on SLES 11 now.

    Jay,

    mega thanks for that!

    I will test it with SLES11 SP3 and I can imagine (from previous experience) that that might help.

     

    Another issue shows up with the switch to GRUB2 in recent versions (RHEL 7 and 7.1 BE and LE, SLES12 LE and UBUNTU LE). If rear detects the ppc64(el) architecture it assumes yaboot as bootloader ... ISO creation works fine but the ISO cannot boot, of course. Do you have already a fix for this?

     

    TIA,

    Peter

  • JayFurmanek
    JayFurmanek
    115 Posts

    Re: Relax And Recover for Linux on Power

    ‏2015-07-13T15:09:25Z  

    Jay,

    mega thanks for that!

    I will test it with SLES11 SP3 and I can imagine (from previous experience) that that might help.

     

    Another issue shows up with the switch to GRUB2 in recent versions (RHEL 7 and 7.1 BE and LE, SLES12 LE and UBUNTU LE). If rear detects the ppc64(el) architecture it assumes yaboot as bootloader ... ISO creation works fine but the ISO cannot boot, of course. Do you have already a fix for this?

     

    TIA,

    Peter

    Yea, grub2/systemd/GPT distros have not been added yet for ppc64/ppc64le.

    REAR does support those things now on other platforms, so it shouldn't have to be a major undertaking in getting ppc64le going. There is another community member looking at those pieces. I'll update here if something comes of that.

     

  • k0da
    k0da
    49 Posts

    Re: Relax And Recover for Linux on Power

    ‏2015-07-30T10:57:10Z  
    • mahah
    • ‏2015-07-03T22:52:50Z

    ReaR recovery iso image fails to boot on ibm powervm lpar

    Environment: IBM PowerVM Lpar on Power8 hardware
    OS: SLES11SP3 BE
    Rear 1.17.1

    "rear -v mkbackup" runs successfully and creates the bootable iso and the backup.tar.gz file (NFS)

    however the lpar to be recovered is unable to boot from the 'rear-hostname.iso' image, message "no operating system found " is displayed on the console, no errors or any other references.

    has anyone seen/faced similar issue?

    Try rear master version, I've send several yaboot on SLES11 fixes recently