** Description changed:

+ [ SRU Justification ]
+ Network booting ppc64/pseries machines in qemu is broken in trusty.  See the 
full bug report.
+ 
+ [ Test Case ]
+ Attempt a pxe-alike boot in a PPC VM and see if it explodes per the bug.  
smoser can provide more details, or maybe even the test environment.
+ 
+ [ Regression Potential ]
+ The use of slof/qemu-slof is limited to pseries-style machine emulation, 
which means this has very limited impact to a subset of a subarchitecture.  The 
major consumer of qemu/kvm in Ubuntu PPC up until now has been Servergy 
machines, which don't use pseries emulation and, hence, not SLOF.  For IBM 
machines, this is the default way to go, but emulation there has really only 
begun working right in utopic.  The hope is to fix this with selected backports 
and cherrypicks, of which this is one.
+ 
+ [ Original Report ]
  Trying to network boot on a bridge, i get failure
  
  $ qemu-system-ppc64 -enable-kvm -machine pseries,usb=off \
-    -device spapr-vscsi \
-    -device spapr-vlan,netdev=net00,mac=52:54:00:12:34:05 \
-    -netdev type=tap,id=net00,script=no,downscript=no,ifname=dryruntap0 \
-    -boot n -display none -nographic -m 4G
+    -device spapr-vscsi \
+    -device spapr-vlan,netdev=net00,mac=52:54:00:12:34:05 \
+    -netdev type=tap,id=net00,script=no,downscript=no,ifname=dryruntap0 \
+    -boot n -display none -nographic -m 4G
  
  qemu-system-ppc64: pci_add_option_rom: failed to find romfile "vgabios-
  stdvga.bin"
  
- 
  SLOF **********************************************************************
  QEMU Starting
-  Build Date = Dec 11 2013 05:07:42
-  FW Version = buildd@(private build)
-  Press "s" to enter Open Firmware.
+  Build Date = Dec 11 2013 05:07:42
+  FW Version = buildd@(private build)
+  Press "s" to enter Open Firmware.
  
  Populating /vdevice methods
  Populating /vdevice/vty@71000000
  Populating /vdevice/nvram@71000001
  Populating /vdevice/v-scsi@71000002
-        SCSI: Looking for devices
-           8200000000000000 CD-ROM   : "QEMU     QEMU CD-ROM      2.1."
+        SCSI: Looking for devices
+           8200000000000000 CD-ROM   : "QEMU     QEMU CD-ROM      2.1."
  Populating /vdevice/v-scsi@71000003
-        SCSI: Looking for devices
+        SCSI: Looking for devices
  Populating /vdevice/l-lan@71000004
  Populating /pci@800000020000000
-  Adapters on 0800000020000000
-                      00 0000 (D) : 1234 1111    qemu vga
+  Adapters on 0800000020000000
+                      00 0000 (D) : 1234 1111    qemu vga
  No NVRAM common partition, re-initializing...
  Installing QEMU fb
- Scanning USB 
+ Scanning USB
  No console specified using hvterm
-      
  
+   Welcome to Open Firmware
  
-   Welcome to Open Firmware
- 
-   Copyright (c) 2004, 2011 IBM Corporation All rights reserved.
-   This program and the accompanying materials are made available
-   under the terms of the BSD License available at
-   http://www.opensource.org/licenses/bsd-license.php
- 
+   Copyright (c) 2004, 2011 IBM Corporation All rights reserved.
+   This program and the accompanying materials are made available
+   under the terms of the BSD License available at
+   http://www.opensource.org/licenses/bsd-license.php
  
  Trying to load:  from: net ...  veth: Dropping too big packet [90 bytes]
  veth: Dropping too big packet [299 bytes]
  veth: Dropping too big packet [342 bytes]
  veth: Dropping too big packet [90 bytes]
  veth: Dropping too big packet [60 bytes]
  veth: Dropping too big packet [78 bytes]
  veth: Dropping too big packet [106 bytes]
  veth: Dropping too big packet [90 bytes]
  veth: Dropping too big packet [70 bytes]
  veth: Dropping too big packet [90 bytes]
  veth: Dropping too big packet [60 bytes]
  
-  Bootloader 1.6 
-   Reading MAC address from device: 52:54:00:12:34:05
-   Requesting IP address via DHCP: 10.245.71.105
-   Requesting file "pxelinux.0" via TFTP from 10.245.71.3
-   Receiving data:  26 KBytes
-   TFTP: Received pxelinux.0 (26 KBytes)
+  Bootloader 1.6
+   Reading MAC address from device: 52:54:00:12:34:05
+   Requesting IP address via DHCP: 10.245.71.105
+   Requesting file "pxelinux.0" via TFTP from 10.245.71.3
+   Receiving data:  26 KBytes
+   TFTP: Received pxelinux.0 (26 KBytes)
  
  E3403: Bad executable:
  
  E3406: Client application returned an error.
  
-         ..`. ..     .......  ..           ......      .......
-     ..`...`''.`'. .''``````..''.       .`''```''`.  `''``````
-        .`` .:' ': `''.....  .''.       ''`     .''..''.......
-          ``.':.';. ``````''`.''.      .''.      ''``''`````'`
-          ``.':':`   .....`''.`'`...... `'`.....`''.`'`       
-         .`.`'``   .'`'`````.  ``''''''  ``''`'''`. `'`       
-   Type 'boot'  and press return  to  continue  booting  the system.
-   Type 'reset-all'  and  press  return  to   reboot   the   system.
+         ..`. ..     .......  ..           ......      .......
+     ..`...`''.`'. .''``````..''.       .`''```''`.  `''``````
+        .`` .:' ': `''.....  .''.       ''`     .''..''.......
+          ``.':.';. ``````''`.''.      .''.      ''``''`````'`
+          ``.':':`   .....`''.`'`...... `'`.....`''.`'`
+         .`.`'``   .'`'`````.  ``''''''  ``''`'''`. `'`
+   Type 'boot'  and press return  to  continue  booting  the system.
+   Type 'reset-all'  and  press  return  to   reboot   the   system.
  
+         ..`. ..     .......  ..           ......      .......
+     ..`...`''.`'. .''``````..''.       .`''```''`.  `''``````
+        .`` .:' ': `''.....  .''.       ''`     .''..''.......
+          ``.':.';. ``````''`.''.      .''.      ''``''`````'`
+          ``.':':`   .....`''.`'`...... `'`.....`''.`'`
+         .`.`'``   .'`'`````.  ``''''''  ``''`'''`. `'`
+   Type 'boot'  and press return  to  continue  booting  the system.
+   Type 'reset-all'  and  press  return  to   reboot   the   system.
  
-         ..`. ..     .......  ..           ......      .......
-     ..`...`''.`'. .''``````..''.       .`''```''`.  `''``````
-        .`` .:' ': `''.....  .''.       ''`     .''..''.......
-          ``.':.';. ``````''`.''.      .''.      ''``''`````'`
-          ``.':':`   .....`''.`'`...... `'`.....`''.`'`       
-         .`.`'``   .'`'`````.  ``''''''  ``''`'''`. `'`       
-   Type 'boot'  and press return  to  continue  booting  the system.
-   Type 'reset-all'  and  press  return  to   reboot   the   system.
- 
- 
- Ready! 
+ Ready!
  0 >
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: qemu-slof 20131015+dfsg-1ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-17.23-generic 3.16.3
  Uname: Linux 3.16.0-17-generic ppc64le
  ApportVersion: 2.14.7-0ubuntu2
  Architecture: ppc64el
  Date: Fri Sep 26 18:00:04 2014
  Dependencies:
-  
+ 
  PackageArchitecture: all
  ProcEnviron:
-  TERM=screen
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=screen
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcLoadAvg: 0.24 0.14 0.08 1/1177 41103
  ProcLocks:
-  1: POSIX  ADVISORY  WRITE 84870 00:11:478688 0 0
-  2: FLOCK  ADVISORY  WRITE 2515 00:11:45214 0 EOF
-  3: POSIX  ADVISORY  WRITE 2369 00:11:50266 0 EOF
-  4: POSIX  ADVISORY  WRITE 2567 00:11:47202 0 EOF
+  1: POSIX  ADVISORY  WRITE 84870 00:11:478688 0 0
+  2: FLOCK  ADVISORY  WRITE 2515 00:11:45214 0 EOF
+  3: POSIX  ADVISORY  WRITE 2369 00:11:50266 0 EOF
+  4: POSIX  ADVISORY  WRITE 2567 00:11:47202 0 EOF
  ProcSwaps:
-  Filename                             Type            Size    Used    Priority
-  /swap.img                               file         8388544 0       -1
+  Filename                             Type            Size    Used    Priority
+  /swap.img                               file         8388544 0       -1
  ProcVersion: Linux version 3.16.0-17-generic (buildd@fisher03) (gcc version 
4.9.1 (Ubuntu 4.9.1-15ubuntu1) ) #23-Ubuntu SMP Fri Sep 19 16:54:14 UTC 2014
  SourcePackage: slof
  UpgradeStatus: No upgrade log present (probably fresh install)
  cpu_cores: Number of cores present = 20
  cpu_coreson: Number of cores online = 19
  cpu_smt: SMT is off

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1374568

Title:
  network boot doesn't work (need newer slof.bin)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/slof/+bug/1374568/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to