[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installation - boot after installation fails



It helps to read the screen -- oh, still no go -- but updated!

Need to run the command ybin to update "something". I missed that bit of feedback firsttime.

For comparison: when AIX boots it lists the device as:
-------------------------------------------------------------------------------
                                Welcome to AIX.
                   boot image timestamp: 21:32:26 03/20/2013
                 The current time and date: 21:33:39 03/20/2013
        processor count: 1;  memory size: 1024MB;  kernel size: 36257707
         boot device: /vdevice/v-scsi@30000002/disk@8100000000000000:2
-------------------------------------------------------------------------------


The boot device on AIX is hd5, which is minor device 1
"/" is hd4, and is minor device 4 (minor device 2 is hd6, minor device 3 is hd8)

During the install I took the simple partition model:


  lqqqqqqqqqqqqqqqqqqqqqqqqu [!!] Partition disks tqqqqqqqqqqqqqqqqqqqqqqqqqk
  x                                                                         x
  x This is an overview of your currently configured partitions and mount   x
  x points. Select a partition to modify its settings (file system, mount   x
  x point, etc.), a free space to create partitions, or a device to         x
  x initialize its partition table.                                         x
  x                                                                         x
  x          Configure the Logical Volume Manager                           x
  x          Configure encrypted volumes                        a           x
  x                                                             a           x
  x          SCSI1 (0,1,0) (sda) - 10.7 GB AIX VDASD            a           x
  x          >     #1  primary    7.3 MB  B  K                  a           x
  x          >     #2  primary   10.2 GB     F  ext3    /       a           x
  x          >     #5  logical  504.4 MB     F  swap    swap    a           x
  x                                                             a           x
  x          Undo changes to partitions                                     x
  x          Finish partitioning and write changes to disk                  x
  x                                                                         x
  x     <Go Back>                                                           x
  x                                                                         x
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


    lqqqqqqqqqqqqqqqqqqqqqqqu [!!] Partition disks tqqqqqqqqqqqqqqqqqqqqqqqk
    x                                                                      x
    x If you continue, the changes listed below will be written to the     x
    x disks. Otherwise, you will be able to make further changes manually. x
    x                                                                      x
    x WARNING: This will destroy all data on any partitions you have       x
    x removed as well as on the partitions that are going to be formatted. x
    x                                                                      x
    x The partition tables of the following devices are changed:           x
    x    SCSI1 (0,1,0) (sda)                                               x
    x                                                                      x
    x The following partitions are going to be formatted:                  x
    x    partition #2 of SCSI1 (0,1,0) (sda) as ext3                       x
    x    partition #5 of SCSI1 (0,1,0) (sda) as swap                       x
    x                                                                      x
    x Write the changes to disks?                                          x
    x                                                                      x
    x     <Yes>                                                   <No>     x
    x                                                                      x
    mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


After installing the new wheezer...

Config file read, 4096 bytes

Welcome to yaboot version 1.3.16
Enter "help" to get some basic usage information
boot: Linux
Please wait, loading kernel...
Can't open device </vdevice/v-scsi@30000002/@1:0>
/vdevice/v-scsi@30000002/@1:2,/boot/vmlinux: Unable to open file, Invalid device
boot:

AH --- SUCCESS -- Almost ... After all:

I entered:
boot: /vdevice/v-scsi@30000002/disk@8100000000000000:2,/boot/vmlinux
Please wait, loading kernel...
   Elf64 kernel loaded...
OF stdout device is: /vdevice/vty@30000000
Preparing to boot Linux version 2.6.32-5-powerpc64 (Debian 2.6.32-48squeeze1) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Feb 25 04:51:43 UTC 2013
Calling ibm,client-architecture-support... not implemented
command line: console=hvsi0 console=hvc0 console=ttyS0,9600 console=tty0
memory layout at init:
  memory_limit : 0000000000000000 (16 MB aligned)
  alloc_bottom : 00000000024e3000
  alloc_top    : 0000000008000000
  alloc_top_hi : 0000000018000000
  rmo_top      : 0000000008000000
  ram_top      : 0000000018000000
instantiating rtas at 0x00000000076a1000... done
boot cpu hw idx 0000000000000000
copying OF device tree...
Building dt strings...
Building dt structure...
Device tree strings 0x00000000025e4000 -> 0x00000000025e50e4
Device tree struct  0x00000000025e6000 -> 0x00000000025ec000
Calling quiesce...
returning from prom_init
[    0.000000] Using pSeries machine description
[    0.000000] Using 1TB segments
[    0.000000] bootconsole [udbg0] enabled
[    0.000000] Partition configured for 2 cpus.
[    0.000000] CPU maps initialized for 2 threads per core
[    0.000000] Starting Linux PPC64 #1 SMP Mon Feb 25 04:51:43 UTC 2013
[    0.000000] -----------------------------------------------------
[    0.000000] ppc64_pft_size                = 0x18
[    0.000000] physicalMemorySize            = 0x18000000
[    0.000000] htab_hash_mask                = 0x1ffff
[    0.000000] -----------------------------------------------------
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-powerpc64 (Debian 2.6.32-48squeeze1) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Feb 25 04:51:43 UTC 2013
[    0.000000] [boot]0012 Setup Arch
[    0.000000] EEH: No capable adapters found
[    0.000000] PPC64 nvram contains 7168 bytes
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x00018000
[    0.000000]   Normal   0x00018000 -> 0x00018000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00018000
[    0.000000] [boot]0015 Setup Done
[    0.000000] PERCPU: Embedded 14 pages/cpu @c000000000900000 s27312 r0 d30032 u524288
[    0.000000] pcpu-alloc: s27312 r0 d30032 u524288 alloc=1*1048576
[    0.000000] pcpu-alloc: [0] 0 1
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 96960
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: console=hvsi0 console=hvc0 console=ttyS0,9600 console=tty0
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] freeing bootmem node 0
[    0.000000] Memory: 368688k/393216k available (7024k kernel code, 24528k reserved, 1228k data, 831k bss, 352k init)
[    0.000000] SLUB: Genslabs=14, HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=256
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:512
[    0.000000] [boot]0020 XICS Init
[    0.000000] [boot]0021 XICS Done
[    0.000000] clocksource: timebase mult[7d1634] shift[22] registered
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled, bootconsole disabled
[    0.000000] Using pSeries machine description
[    0.000000] Using 1TB segments
[    0.000000] bootconsole [udbg0] enabled
[    0.000000] Partition configured for 2 cpus.
[    0.000000] CPU maps initialized for 2 threads per core
[    0.000000] Starting Linux PPC64 #1 SMP Mon Feb 25 04:51:43 UTC 2013
[    0.000000] -----------------------------------------------------
[    0.000000] ppc64_pft_size                = 0x18
[    0.000000] physicalMemorySize            = 0x18000000
[    0.000000] htab_hash_mask                = 0x1ffff
[    0.000000] -----------------------------------------------------
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-powerpc64 (Debian 2.6.32-48squeeze1) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Feb 25 04:51:43 UTC 2013
[    0.000000] [boot]0012 Setup Arch
[    0.000000] EEH: No capable adapters found
[    0.000000] PPC64 nvram contains 7168 bytes
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000000 -> 0x00018000
[    0.000000]   Normal   0x00018000 -> 0x00018000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00018000
[    0.000000] [boot]0015 Setup Done
[    0.000000] PERCPU: Embedded 14 pages/cpu @c000000000900000 s27312 r0 d30032 u524288
[    0.000000] pcpu-alloc: s27312 r0 d30032 u524288 alloc=1*1048576
[    0.000000] pcpu-alloc: [0] 0 1
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 96960
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: console=hvsi0 console=hvc0 console=ttyS0,9600 console=tty0
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] freeing bootmem node 0
[    0.000000] Memory: 368688k/393216k available (7024k kernel code, 24528k reserved, 1228k data, 831k bss, 352k init)
[    0.000000] SLUB: Genslabs=14, HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=256
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:512
[    0.000000] [boot]0020 XICS Init
[    0.000000] [boot]0021 XICS Done
[    0.000000] clocksource: timebase mult[7d1634] shift[22] registered
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled, bootconsole disabled
[    0.000000] console [hvc0] enabled
[    0.000388] Security Framework initialized
[    0.000400] SELinux:  Disabled at boot.
[    0.000490] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000820] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.001201] Mount-cache hash table entries: 256
[    0.002323] Initializing cgroup subsys ns
[    0.002333] Initializing cgroup subsys cpuacct
[    0.002344] Initializing cgroup subsys devices
[    0.002352] Initializing cgroup subsys freezer
[    0.002360] Initializing cgroup subsys net_cls
[    0.002795] Processor 1 found.
[    0.002814] Brought up 2 CPUs
[    0.003711] devtmpfs: initialized
[    0.011407] regulator: core version 0.5
[    0.011502] NET: Registered protocol family 16
[    0.011537] IBM eBus Device Driver
[    0.011809] POWER5+/++ performance monitor hardware support registered
[    0.012914] PCI: Probing PCI hardware
[    0.013580] bio: create slab <bio-0> at 0
[    0.013765] vgaarb: loaded
[    0.013949] Switching to clocksource timebase
[    0.016461] NET: Registered protocol family 2
[    0.016639] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.017219] TCP established hash table entries: 16384 (order: 6, 262144 bytes)
[    0.017414] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.017549] TCP: Hash tables configured (established 16384 bind 16384)
[    0.017562] TCP reno registered
[    0.017670] NET: Registered protocol family 1
[    0.035623] IOMMU table initialized, virtual merging enabled
[    0.039616] audit: initializing netlink socket (disabled)
[    0.039641] type=2000 audit(1363818744.036:1): initialized
[    0.049874] HugeTLB registered 16 MB page size, pre-allocated 0 pages
[    0.049888] HugeTLB registered 16 GB page size, pre-allocated 0 pages
[    0.052690] VFS: Disk quotas dquot_6.5.2
[    0.052804] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.052938] msgmni has been set to 720
[    0.053317] alg: No test for stdrng (krng)
[    0.053421] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.053438] io scheduler noop registered
[    0.053447] io scheduler anticipatory registered
[    0.053457] io scheduler deadline registered
[    0.053578] io scheduler cfq registered (default)
[    0.056221] Linux agpgart interface v0.103
[    0.056339] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.056550] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[    0.056666] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[    0.056723] Uniform Multi-Platform E-IDE driver
[    0.056763] ide-gd driver 1.18
[    0.056892] mice: PS/2 mouse device common for all mice
[    0.056958] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
[    0.057721] TCP cubic registered
[    0.057957] NET: Registered protocol family 10
[    0.059643] Mobile IPv6
[    0.059653] NET: Registered protocol family 17
[    0.059806] registered taskstats version 1
[    0.059941] rtc-generic rtc-generic: setting system clock to 2013-03-20 22:32:24 UTC (1363818744)
[    0.059983] Initalizing network drop monitor service
[    0.060051] List of all partitions:
[    0.060060] No filesystem could mount root, tried:
[    0.060074] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.060089] Call Trace:
[    0.060102] [c000000016137c40] [c0000000000108fc] .show_stack+0x6c/0x174 (unreliable)
[    0.060124] [c000000016137cf0] [c0000000004f4238] .panic+0x80/0x1b0
[    0.060141] [c000000016137d80] [c00000000068518c] .mount_block_root+0x2dc/0x318
[    0.060160] [c000000016137e50] [c0000000006853cc] .prepare_namespace+0x17c/0x1d0
[    0.060179] [c000000016137ee0] [c000000000684478] .kernel_init+0x26c/0x298
[    0.060196] [c000000016137f90] [c000000000026c18] .kernel_thread+0x54/0x70
[    0.060214] Rebooting in 180 seconds..
=============
Well, a step forward.

Is there an argument I could have tried giving to ybin to update the info in the config file?

And, I had also tried the same AIX like device string with the squeeze, did not work.

And, I hope this helps!

Michael
On Wed, Mar 20, 2013 at 10:03 PM, Michael Felt <mamfelt@gmail.com> wrote:
I'll give it a shot.


On Wed, Mar 20, 2013 at 3:06 PM, Lennart Sorensen <lsorense@csclub.uwaterloo.ca> wrote:
On Wed, Mar 20, 2013 at 08:33:34AM +0100, Michael Felt wrote:
> upgrade? how? i am using netinst.iso to do the install, and what is installed does not boot!
>
> will try 2) when i have access. travelling/work keeps me away atm.

You could when at the end of the install, instead of finishing the
install, ask for a shell and download the yaboot from wheezy and
install it.

Something like:

drop to shell:

# chroot /target
# apt-get install wget    (in case it isn't there already)
# cd /tmp
# wget http://ftp.us.debian.org/debian/pool/main/y/yaboot/yaboot_1.3.16-4_powerpc.deb
# dpkg -i yaboot_1.3.16-4_powerpc.deb
# rm yaboot_1.3.16-4_powerpc.deb
# exit
# exit

You should be back in the installer menu.  At this point try the boot
loader step again and see if it works now.

I did not test those steps so hopefully I remember correctly how the
installer behaves.

--
Len Sorensen



Reply to: