[PATCH] discover/udev.c: Added warning in system status log

Jeremy Kerr jk at ozlabs.org
Thu Jul 15 12:35:04 AEST 2021


Hi Lulu,

> > OK, something fishy is happening here. You shouldn't see the
> > filesystem UUID appear on both sda and sda1. Is this an installer
> > filesystem image that I can take a look at? 
> 
> The filesystem image of the installer used: rhel-8.2.
> 
> > And can you send the pb-discover.log when petitboot is run in debug
> > mode?
> 
> Okay, I will send pb-discover.log to you.

Got it, thanks.

> In addition, how does petitboot select the debug mode at runtime? Or
> where can I refer to it?

I see you've sorted this, but for anyone else following along: this is
set in the platform configuration. On OpenPOWER machines, this is the
'petitboot,debug?' var, which you can set with:

   nvram --update-config petitboot,debug?=true

Back to the log:

It looks like you actually have *four* devices with a duplicate
filesystem UUID: sda, sda1, sdc, and sdc1.

The duplication within the same devices appears to be due to the way the
installer image is constructed - there's an is09660 filesystem on the
sda adevice, and also a DOS partition table. That partition table
contains a partition which then references the same iso9660 data as the
underlying (non-partition) device.

So, the outcome of this is that we definitely don't want to remove the
duplicate supression; it will make the standard case (where only one
installer image is present) appear as though you have two installers
plugged-in!

Let's proceed with the message approach then.

Cheers,


Jeremy



More information about the Petitboot mailing list