{0} ok probe-scsi-all
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/storage@1
Unit 0 Removable Read Only device SlimtypeDVD A DS8ACSH LC21
/pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/hub@2/storage@1
Unit 0 Removable Disk Generic Flash Disk 8.07
/pci@8000/pci@4/pci@0/pci@0/scsi@0
FCode Version 1.00.56, MPT Version 2.00, Firmware Version 17.00.00.00
Target c
Unit 0 Encl Serv device FUJITSU BBEXP 0d32
SASAddress 500000e0e0717bbd PhyNum 14
Target 11e Volume 0
Unit 0 Disk LSI Logical Volume 3000 1169920000 Blocks, 598
GB
VolumeDeviceName 34a35f670ae4a0d9 VolumeWWID 04a35f670ae4a0d9
{0} ok " /pci@8000/pci@4/pci@0/pci@0/scsi@0 select-dev
{0} ok .properties
Not at a device tree node. Use 'dev <device-pathname>'.
{0} ok dev /pci@8000/pci@4/pci@0/pci@0/scsi@0
{0} ok .properties
assigned-addresses 81030010 00000000 00000000 00000000 00000100
83030014 00000001 00000000 00000000 00010000
8303001c 00000001 00040000 00000000 00040000
82030030 00000000 00200000 00000000 00100000
firmware-version 17.00.00.00
mpt-version 2.00
local-wwid 50 00 00 e0 e0 47 49 18
compatible pciex10cf,87
pci10cf,87
pciex1000,87
pci1000,87
model LSI,2308_2
reg 00030000 00000000 00000000 00000000 00000000
01030010 00000000 00000000 00000000 00000100
03030014 00000000 00000000 00000000 00010000
0303001c 00000000 00000000 00000000 00040000
02030030 00000000 00000000 00000000 00100000
version 1.00.56
wide 00000010
device_type scsi-sas
name scsi
#address-cells 00000004
port-type PCIE-Endpoint
interrupts 00000001
cache-line-size 00000010
class-code 00010700
subsystem-id 0000177f
subsystem-vendor-id 000010cf
revision-id 00000005
device-id 00000087
vendor-id 00001000
{0} ok " c,0" decode-unit encode-unit type
c,0
{0} ok " 11e,0" decode-unit encode-unit type
11e,0
Eric Snowberg <[email protected]> 于2019年6月6日周四 上午1:30写道:
>
> > On Jun 5, 2019, at 9:42 AM, Sonnie Hook <[email protected]> wrote:
> >
> > This is an Fujitsu M10-4 machine.
>
> It could be we are not enumerating the disk correctly. What kind of HBA is
> in this system?
>
> > DVD drive is installed on rear USB. Flash disk is installed on front USB.
> >
> > cdrom is an alias of /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/storage@1
> /disk
> >
> > When booting from cdrom, the first lines are pasted below. I'm not sure
> if this is a problem:
> > [ 1.265722] pci_sun4v: pci_iotsb_conf failed error: 6
> > [ 1.265754] pci_sun4v: Error creating ATU IOTSB
> > [ 1.265760] pci_sun4v: ATU init failed, err=6
> > [ 1.285642] pci_sun4v: pci_iotsb_conf failed error: 6
> > [ 1.285672] pci_sun4v: Error creating ATU IOTSB
> > [ 1.285676] pci_sun4v: ATU init failed, err=6
> > [ 1.306054] pci_sun4v: pci_iotsb_conf failed error: 6
> > [ 1.306085] pci_sun4v: Error creating ATU IOTSB
> > [ 1.306090] pci_sun4v: ATU init failed, err=6
> > [ 1.326480] pci_sun4v: pci_iotsb_conf failed error: 6
> > [ 1.326512] pci_sun4v: Error creating ATU IOTSB
> > [ 1.326517] pci_sun4v: ATU init failed, err=6
> >
> > The whole installation procedure is fine. After installing GRUB on
> /dev/sda1, I entered a shell and installed GRUB on /dev/sdb1 manually.
> Below are some outputs of commands that might help.
> >
> > # archdetect
> > sparc64/sun4v_gpt
>
> >
> > # partmap /dev/sda
> > gpt
> >
> > # parted /dev/sda print
> > Model: LSI Logical Volume (scsi)
> > Disk /dev/sda: 599GB
> > Sector size (logical/physical): 512B/4096B
> > Partition Table: gpt
> > Disk Flags:
> >
> > Number Start End Size File system Name Flags
> > 1 1049kB 10.5MB 9437kB bios_grub
> > 2 10.5MB 533GB 533GB ext4
> > 3 533GB 599GB 66.4GB linux-swap(v1)
> >
> > # parted /dev/sdb print
> > Model: Generic Flash Disk (scsi)
> > Disk /dev/sdb: 8179MB
> > Sector size (logical/physical): 512B/512B
> > Partition Table: gpt
> > Disk Flags:
> >
> > Number Start End Size File system Name Flags
> > 1 1049kB 30.4MB 29.4MB ntfs bios_grub
> >
> > # mount -o bind /dev /target/dev
> > # mount -o bind /proc /target/proc
> > # mount -o bind /sys /target/sys
> > # chroot /target
> >
> > # grub-ofpathname /dev/sda1
> > /pci@8000/pci@4/pci@0/pci@0/scsi@0/disk@w0,0:a
> > # grub-ofpathname /dev/sdb1
> > /pci@8000/pci@4/pci@0/pci@1/pci@0/usb@4,1/disk@0,0:a
> >
> > # grub-install --force-extra-removable "/dev/sdb"
> > Installing for sparc64-ieee1275 platform.
> > Installation finished. No error reported.
> >
> > -------
> >
> > {0} ok cd /packages/disk-label
> > {0} ok .properties
> > gpt
> > supported-labels gpt
> > sun
> > mbr
> > name disk-label
> >
> > {0} ok boot /pci@8000/pci@4/pci@0/pci@0/scsi@0/disk@w0,0:a
> > Boot device: /pci@8000/pci@4/pci@0/pci@0/scsi@0/disk@w0,0:a File and
> args:
> >
> > Can't open boot device
>
> To find out, at this point in OBP, issue a probe-scsi-all
>
> {0} probe-scsi-all
>
> Please post the results. It should return something like this:
>
> /pci@308/pci@1/usb@0/hub@5/device@4/storage@1
> Unit 0 Removable Disk ATA TUSB9261
>
> /pci@306/pci@1/LSI,mrsas@0
> Target 0
> Unit 0 Disk LSI MR9361-8i 4.23 Capacity 2994 GB
>
> Select the HBA containing the disk. In my system it would be:
>
> {0} “ /pci@306/pci@1/LSI,mrsas@0” select-dev
>
> (make sure to add a space after the first “ above)
>
> Now issue the .properties command to display the HBA information.
> {0} .properties
>
> Please post the results.
>
> Now lets see how your HBA enumerates disks, take the Target and the Unit
> returned from probe-scsi-all and use it with the decode-unit command.
> "<target>, <unit>” decode-unit. In my system these are both 0.
>
> {0} “ 0,0” decode-unit encode-unit type
>
> (make sure to add a space after the first “ above)
>
> This will return the true canonical name for the disk. Please post the
> results for this as well.
>
>
>
>
>
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel