Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xbd and large sectors
On Mon, Jul 24, 2023 at 03:09:21PM +0200, Christian Kujau wrote:
> On Mon, 24 Jul 2023, Manuel Bouyer wrote:
> > updated diff attached, and I also updated the binaries on asim.lip6.fr
>
> OK, that booted...but now xbd0 is 1 GB in size, instead of 8 GB:
>
> [ 1.2302948] xbd0: 1024 MB, 4096 bytes/sect x 16777216 sectors
the number of sectors is wrong as well, but AFAIK it's just cosmetic.
The next patch should fix it
> [ 1.2302948] xbd0: backend features 0xc<PERSISTENT,INDIRECT>
> [ 1.2302948] xbd0d: error reading fsbn 0 of 0-7 (xbd0 bn 0; cn 0 tn 0 sn 0)
> [ 1.2302948] xbd0: dos partition I/O error
> [ 1.2401814] xbd0d: error reading fsbn 0 of 0-31 (xbd0 bn 0; cn 0 tn 0 sn 0)
But this is not expected, the request looks correct (it's aligned and
size is a multiple of 8 DEV_BSIZE units).
Does anything shows up in the dom0's dmesg ?
>
> # disklabel xbd0
> [ 26.4407769] xbd0d: error reading fsbn 0 of 0-7 (xbd0 bn 0; cn 0 tn 0 sn 0)
> [ 26.4407769] xbd0: dos partition I/O error
> # /dev/rxbd0:
> type: ESDI
> disk: xbd0
> label: default label
> flags:
> bytes/sector: 4096
> sectors/track: 256
> tracks/cylinder: 1
> sectors/cylinder: 256
> cylinders: 8192
> total sectors: 2097152
at last these numbers are correct now
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index