|
Description
|
When running SDTS testsuite on pv domU, some cases failed, the error related to labeling EFI label to the virtual disk, the detail process list as below:
--------------------------------------------------------------------------------
bash-3.2# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
/xpvd/xdf@0
1. c0d10 <DEFAULT cyl 31 alt 0 hd 64 sec 32>
/xpvd/xdf@a
Specify disk (enter its number): ^C
bash-3.2# format -e
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
/xpvd/xdf@0
1. c0d10 <DEFAULT cyl 31 alt 0 hd 64 sec 32>
/xpvd/xdf@a
Specify disk (enter its number): 1
selecting c0d10
[disk formatted, no defect list found]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
9 - change `9' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 31 + 0 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 30 31.00MB (31/0/0) 63488
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 30 31.00MB (31/0/0) 63488
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 1.00MB (1/0/0) 2048
9 unassigned wm 0 0 (0/0/0) 0
partition> q
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> label
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 1
Warning: This disk has an SMI label. Changing to EFI label will erase all
current partitions.
Continue? y
Assertion failed: dkinfo->dki_ctype == DKC_SCSI_CCS, file auto_sense.c, line 2034
Abort (core dumped)
I tried installing a snv89 domu on a snv89 dom0, the new binary generate the new error:
bash-3.2# ./format.x86 -e
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 1565 alt 0 hd 255 sec 63>
/xpvd/xdf@0
1. c0d1 <DEFAULT cyl 1304 alt 0 hd 255 sec 63>
/xpvd/xdf@1
Specify disk (enter its number): 1
selecting c0d1
[disk formatted, no defect list found]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p
PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
9 - change `9' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 1304 + 0 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 1303 9.99GB (1304/0/0) 20948760
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 1303 9.99GB (1304/0/0) 20948760
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
partition> l
[0] SMI Label
[1] EFI Label
Specify Label type[0]: 1
Warning: This disk has an SMI label. Changing to EFI label will erase all
current partitions.
Continue? y
Assertion failed: disk_info->disk_ctlr == ctlr, file auto_sense.c, line 320
Abort (core dumped)
bash-3.2# ./format.x86 -e
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 1565 alt 0 hd 255 sec 63>
/xpvd/xdf@0
1. c0d1 <Unknown-Unknown-0001-10.00GB>
/xpvd/xdf@1
|