On Thu, May 11, 2017 at 10:42:04AM +0900, YASUOKA Masahiko wrote:
> Hi,
> 
> On Tue, 9 May 2017 10:20:03 +0200
> Michele Curti <[email protected]> wrote:
> > I also tried a fresh install, but things do not change.
> > Boot fails and when I do a "machine diskinfo" I got a lot of "?" 
> > symbols (a video here https://www.youtube.com/watch?v=fsomNX-oFTQ )
> 
> Hanging on "machine diskinfo" seems to be a different problem.
> The diff is already committed.  Can you test this?

Yes, no more hangs, thank you!

boot> machine diskinfo
Disk    BlkSiz  IoAlign Size    Flags   Checksum
hd0     512     1       4MB     0x0     0x0
hd1     512     1       4MB     0x0     0x0
hd2     512     1       29GB    0x2     0xad4a42c3

Michele

> 
> (I'll look into another problem later)
> 
> Index: sys/arch/amd64/stand/efiboot/efidev.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/stand/efiboot/efidev.c,v
> retrieving revision 1.24
> diff -u -p -r1.24 efidev.c
> --- sys/arch/amd64/stand/efiboot/efidev.c     24 Dec 2016 08:41:13 -0000      
> 1.24
> +++ sys/arch/amd64/stand/efiboot/efidev.c     11 May 2017 01:31:13 -0000
> @@ -789,7 +789,7 @@ efi_dump_diskinfo(void)
>               printf("hd%d\t%u\t%u\t%u%s\t0x%x\t0x%x\t%s\n",
>                   (bdi->bios_number & 0x7f),
>                   ed->blkio->Media->BlockSize,
> -                 ed->blkio->Media->IoAlign, siz, sizu,
> +                 ed->blkio->Media->IoAlign, (int)siz, sizu,
>                   bdi->flags, bdi->checksum,
>                   (ed->blkio->Media->RemovableMedia)? "Removable" : "");
>       }
> 

Reply via email to