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

Re: ofpath vs ofpathname vs grub-ofpathname



On 4/16/20 11:18 PM, Michael Cree wrote:
On Fri, Apr 17, 2020 at 01:03:49AM +0200, John Paul Adrian Glaubitz wrote:


Just running a quick install test of the 2020-04-16 ppc64 installer on a
G5 and I select "no" for the EFI path grub option which then shows me :


[!!] Install the GRUB boot loader on a hard disk

Unable to install GRUB in dummy
Executing 'grub-install dummy' failed.
This is a fatal error.


Followed by :

[!!] Install the GRUB boot loader on a hard disk
Installation step failed
An installation step failed. You can try to run the failing
item again from the menu, or skip it and choose something
else. The failing step is: Install the GRUB boot loader on a hard disk

There seems to be a problem in line 812 of the of pathname script :

C_nix$ cat  ofpathname.log
   811      if [[ -e /proc/device-tree$OF_PATH/device_type ]]; then
   812          devtype=`$CAT /proc/device-tree$OF_PATH/device_type`;
   813          if [[ $devtype = "fcp" || $devtype = "scsi-fcp" ]]; then
   814                  fc="fibre-channel";
   815          fi
   816      fi
   817
   818      if [[ $fc = "usb" ]]; then
   819           local hub_no storage_no disk_no
   820


Wherein we see :

$ /sbin/ofpathname /dev/sda3
/sbin/ofpathname: line 812: warning: command substitution: ignored null byte in input
/ht@0,f2000000/pci@9/k2-sata-root@c/scsi@0/sd@0,0

I took a look into /proc/device-tree/ etc etc and also did add the
 installer syslog to a tarball.  See attached.


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

Attachment: debian-10.0-ppc64-NETINST-1_2020-04-16_stuff.tar.xz
Description: application/xz


Reply to: