Le ven. 17 avr. 2020 à 10:17, John Paul Adrian Glaubitz
<glaub...@physik.fu-berlin.de> a écrit :
> Can you edit Yaboot's ofpath script and set DEBUG=1, then run "ofpath" on both
> /dev/sda1 and /dev/sdb1?

First on the drives just in case, then on the partitions as requested:

#####
dolbeau@powermacg5:~$ sudo ./ofpath.debug /dev/sda
SYS_DEVICE=/sys/devices/pci0001:00/0001:00:09.0/0001:03:0c.0/ata2/host1/target1:0:0/1:0:0:0
SCSI_DEVICE=1:0:0:0
HOST_ID=1
BUS_ID=0
DEVICE_ID=0
LUN_ID=0
PLUG_ID=0
IEEE1394_ID=
SCSI_NAME=k2-sata-root
SCSI_DRIVER=sata_svw
SYS_PATH=/sys/devices/pci0001:00/0001:00:09.0/0001:03:0c.0
OF_PATH=/ht@0,f2000000/pci@9/k2-sata-root@c
PART=
LUNX=
/ht@0,f2000000/pci@9/k2-sata-root@c/@0/@0
dolbeau@powermacg5:~$ sudo ./ofpath.debug /dev/sdb
SYS_DEVICE=/sys/devices/pci0001:00/0001:00:09.0/0001:03:0c.0/ata3/host2/target2:0:0/2:0:0:0
SCSI_DEVICE=2:0:0:0
HOST_ID=2
BUS_ID=0
DEVICE_ID=0
LUN_ID=0
PLUG_ID=1
IEEE1394_ID=
SCSI_NAME=k2-sata-root
SCSI_DRIVER=sata_svw
SYS_PATH=/sys/devices/pci0001:00/0001:00:09.0/0001:03:0c.0
OF_PATH=/ht@0,f2000000/pci@9/k2-sata-root@c
PART=
LUNX=
/ht@0,f2000000/pci@9/k2-sata-root@c/@1/@0
#####
dolbeau@powermacg5:~$ sudo ./ofpath.debug /dev/sda1
SYS_DEVICE=/sys/devices/pci0001:00/0001:00:09.0/0001:03:0c.0/ata2/host1/target1:0:0/1:0:0:0
SCSI_DEVICE=1:0:0:0
HOST_ID=1
BUS_ID=0
DEVICE_ID=0
LUN_ID=0
PLUG_ID=0
IEEE1394_ID=
SCSI_NAME=k2-sata-root
SCSI_DRIVER=sata_svw
SYS_PATH=/sys/devices/pci0001:00/0001:00:09.0/0001:03:0c.0
OF_PATH=/ht@0,f2000000/pci@9/k2-sata-root@c
PART=:1
LUNX=
/ht@0,f2000000/pci@9/k2-sata-root@c/@0/@0:1
dolbeau@powermacg5:~$ sudo ./ofpath.debug /dev/sdb1
SYS_DEVICE=/sys/devices/pci0001:00/0001:00:09.0/0001:03:0c.0/ata3/host2/target2:0:0/2:0:0:0
SCSI_DEVICE=2:0:0:0
HOST_ID=2
BUS_ID=0
DEVICE_ID=0
LUN_ID=0
PLUG_ID=1
IEEE1394_ID=
SCSI_NAME=k2-sata-root
SCSI_DRIVER=sata_svw
SYS_PATH=/sys/devices/pci0001:00/0001:00:09.0/0001:03:0c.0
OF_PATH=/ht@0,f2000000/pci@9/k2-sata-root@c
PART=:1
LUNX=
/ht@0,f2000000/pci@9/k2-sata-root@c/@1/@0:1
#####

Cordially,

-- 
Romain Dolbeau

Reply via email to