diff options
author | Michael Brown | 2010-09-22 22:39:01 +0200 |
---|---|---|
committer | Michael Brown | 2010-09-22 22:39:01 +0200 |
commit | 4a30637d38117f2a7b55226f939189c198d6f7f4 (patch) | |
tree | 63ca4c22259408b826a3ccc0c51613702c6eebb7 /src/arch/i386/interface/pcbios/int13.c | |
parent | [infiniband] Include the SRP login rejection reason in the error number (diff) | |
download | ipxe-4a30637d38117f2a7b55226f939189c198d6f7f4.tar.gz ipxe-4a30637d38117f2a7b55226f939189c198d6f7f4.tar.xz ipxe-4a30637d38117f2a7b55226f939189c198d6f7f4.zip |
[int13] Include disk signature in debugging output
The disk signature is used by some OSes (notably Windows) to identify
the boot disk, so it's useful debugging information to have.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/interface/pcbios/int13.c')
-rw-r--r-- | src/arch/i386/interface/pcbios/int13.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/interface/pcbios/int13.c b/src/arch/i386/interface/pcbios/int13.c index e0acc07c..e13a4223 100644 --- a/src/arch/i386/interface/pcbios/int13.c +++ b/src/arch/i386/interface/pcbios/int13.c @@ -368,6 +368,8 @@ static int int13_guess_geometry ( struct int13_drive *int13 ) { int13->drive, strerror ( rc ) ); return rc; } + DBGC ( int13, "INT13 drive %02x has signature %08x\n", + int13->drive, mbr.signature ); /* Scan through partition table and modify guesses for heads * and sectors_per_track if we find any used partitions. |