Control: tag -1 + moreinfo unreproducible

Jimmy, please excuse me for so long delay - for some reason this bugreport
weren't emailed to me, so I never noticed it until today when I looked at
the seabios bugs page.  So replying to it now...

15.07.2013 07:26, Jimmy wrote:
Package: seabios
Version: 1.7.3-1
Severity: important

Dear Maintainer,

Seabios 1.7.3-1 fails to boot a Linux virtual machine stored in an LVM2 LV 
containing two partitions, the second of which is a bootable Linux partition.

Symptom is a message on the VM's console reading:

Booting from Hard Disk...
Boot failed: not a bootable disk

Downgrading Seabios to 1.7.2-3 causes it to be able to boot this Linux virtual 
machine once again.

Interesting.  I've a ton of various virtual machines using an assortment
of various file formats, and all boots just fine with seabios 1.7.3.

Can you please provide some steps to reproduce this issue?  At least the
first 512 bytes from your logical volume may help - check whenever it
contains a valid MBR signature.  Qemu comand line is useful too.

At this stage I suspect there's something wrong with the boot record, but
I have no idea why older version of seabios worked.

In the seabios source, in src/boot.c, we have the following code:

// Boot from a disk (either floppy or harddrive)
static void
boot_disk(u8 bootdrv, int checksig)
{
...
    if (checksig) {
        struct mbr_s *mbr = (void*)0;
        if (GET_FARVAR(bootseg, mbr->signature) != MBR_SIGNATURE) {
            printf("Boot failed: not a bootable disk\n\n");
            return;
        }
    }
..

and later,

    case IPL_TYPE_HARDDISK:
        printf("Booting from Hard Disk...\n");
        boot_disk(0x80, 1);
        break;

(which means checksig is always true for a harddisk).

This code hasn't changed for a long time.

And there are no other changes related to this in seabios between
1.7.2 and 1.7.3, as far as I can see.

One possibility is what we have some miscompilation prob with
this release of seabios due to different compiler in use, but
it is very unlikely.

Please note that this version of seabios is used on many debian
machines worldwide... ;)

Thank you!

/mjt


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to