-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add EDD 4 code and some logging cleanups.
This adds support for EDD4 types and fields (some of which the kernel does not yet expose), as well as only logging relevant edd information. Here's an example log from a system with good EDD data booted from USB, installing to a locally connected SATA disk: 15:16:01,198 INFO blivet: edd: collected mbr signatures: {u'sda': '0x00022a9f', u'sdb': '0x946a5e4b'} 15:16:01,199 WARN blivet: edd: interface type USB is not implemented (/sys/firmware/edd/int13_dev80) 15:16:01,199 DEBUG blivet: edd: data extracted from 0x80: path: /sys/firmware/edd/int13_dev80, version: 0x21 type: USB, mbr_signature: 0x946a5e4b, sectors: 15667200 host_bus: PCI pci_dev: ff:ff.255 channel: 255 usb_serial: 808463921 15:16:01,199 INFO blivet: edd: matched 0x80 to sdb using MBR sig 15:16:01,202 DEBUG blivet: edd: data extracted from 0x81: path: /sys/firmware/edd/int13_dev81, version: 0x30 type: SATA, mbr_signature: 0x00022a9f, sectors: 312581808 sysfs pci path: ../devices/pci0000:00/0000:00:1f.2/ata1/host1/target1:0:0/1:0:0:0/block/sda host_bus: PCI pci_dev: 00:1f.2 channel: 255 ata_device: 0 15:16:01,202 INFO blivet: edd: matched 0x81 to sda using pci_dev Isn't that nice? It is nice. Signed-off-by: Peter Jones <pjones@redhat.com>
- Loading branch information
Showing
1 changed file
with
229 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters