-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[witherspoon] petitboot does not retain boot order #58
Comments
This issue is also observed when I install the witherspoon, it is able to deploy the OS, but on 1st boot after install the boot order does not contain any disk devices, but it does retain the net device. |
This logic hasn't been touched recently in Petitboot so I wonder if something is happening under the covers. Could you try With these two sets of logs we can see what's happening before and after the change. |
Please download the pb-sos files from http://people.canonical.com/~manjo/witherspoon/
file: pb-sos.before.tar.gz
file: pb-sos.after.tar.gz
|
Looks like you have an IPMI override set: Otherwise you can clear it remotely via |
Yes I see that the override was set, and I cleared it, set the boot order
to (0) Net and (1) Disk, and rebooted from petitboot shell. When I got back
in the petitboot menu after fw reboot, I still dont see the boot order I
had previously set. What I see is just the network device.
Petitboot System Configuration
──────────────────────────────────────────────────────────────────────────────
Autoboot: ( ) Disabled
(*) Enabled
Boot Order: (0) net: enP5p1s0f1 [mac: 08:94:ef:80:27:32]
[ Add Device ]
[ Clear & Boot Any ]
[ Clear ]
Timeout: 25 seconds
Network: (*) DHCP on all active interfaces
( ) DHCP on a specific interface
( ) Static IP configuration
I once again set the boot order, cleared any IPMI temporary settings, then
booted the system fully into the OS. Power cycled the system and I see
temporary IPMI boot option is set to network automatically on reboot, and
the boot order was cleared.
$ ipmitool -I lanplus -H 10.245.71.111 -P 0penBmc chassis power off
Chassis Power Control: Down/Off
$ ipmitool -I lanplus -H 10.245.71.111 -P 0penBmc chassis power on
Chassis Power Control: Up/On
Petitboot System Configuration
──────────────────────────────────────────────────────────────────────────────
Autoboot: ( ) Disabled
(*) Enabled
Boot Order: (0) net: enP5p1s0f1 [mac: 08:94:ef:80:27:32]
[ Add Device ]
[ Clear & Boot Any ]
[ Clear ]
Timeout: 25 seconds
Temporary IPMI boot option: Network
Clear option: [ Clear IPMI override now ]
Network: (*) DHCP on all active interfaces
( ) DHCP on a specific interface
( ) Static IP configuration
…On Tue, Mar 12, 2019 at 7:50 PM Sam Mendoza-Jonas ***@***.***> wrote:
Looks like you have an IPMI override set:
[15:51:16] IPMI boot device 0x01
where 0x01 = network.
You should see a message in the configuration screen about this, is it
there? There should also be an option to clear it.
Otherwise you can clear it remotely via ipmitool -I lanplus -H host -U
user -P pass chassis bootdev none
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACGHUOA43OyU6GwjSNsUBi2Rr08fFs0Bks5vWEtngaJpZM4bpnBh>
.
|
Finally had a chance to test on a Witherspoon with the latest O9x0 update and Petitboot appears to be handling IPMI overrides as expected (ie. clearing temporary ones on boot). |
I can have that information posted here by Wednesday next week. Yes the
openbmc on this system is also an RC build I got from IBM.
…On Wed, Mar 20, 2019, 8:16 PM Sam Mendoza-Jonas ***@***.***> wrote:
Finally had a chance to test on a Witherspoon with the latest O9x0 update
and Petitboot appears to be handling IPMI overrides as expect (ie. clearing
temporary ones on boot).
Can you do the steps you mentioned about (set order, clear override) and
grab a pb-sos before booting? This is starting to sound like more of an
OpenBMC problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACGHUPniVTKMJ-zkjNR8hxWtiw6Lmkitks5vYutxgaJpZM4bpnBh>
.
|
Please find the pb-sos file here: http://people.canonical.com/~manjo/witherspoon/ |
A quick thought; when this happens if you select "Rescan" from the menu, do the missing devices appear? |
I got petitboot firmware IBM-witherspoon-OP9-v2.2-9.56 from IBM, after installing this firmware I no longer have the problem of missing boot order. |
Between those two builds we have these versions:
and
Between v1.10.1 and v1.10.2 the only changes are related to boot messages and how versions are described, so nothing that would affect boot order. Perhaps instead something in Buildroot or Skiboot has been fixed. I'll have a look to see if we haven't missed something. |
Witherspoon firmware version: witherspoon-IBM-OP9-v2.2-rc2-9.44_prod.pnor.squashfs.tar
After flashing this firmware, petitboot does not retain the boot order, it can retain the "network" device but nothing else. For example:
I added the following boot devices to the boot order.
I entered the petitboot shell and typed 'reboot'. After reboot, I checked the boot order I and see that other boot devices, except net were all removed from the boot order.
It looks like a bug in petitboot since and it cannot keep boot devices like disk etc
The text was updated successfully, but these errors were encountered: