NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD & disks with 4K sector size



On Thu, Jul 20, 2023 at 10:16:16AM -0400, Greg Troxel wrote:
> Probably best to use port-xen now that we think it's a xen thing.  I
> would suggest investigating everything suggested to you and then sending
> a new message based on your future understanding to port-xen.
> 
> 1) I am unclear on if the xbd abstraction has the concept of 4K sizes,
> and if so how that is communicated, and if not how the dom0 is supposed
> to map things.
> 
> With any luck, this is supported and the xbd driver in NetBSD is just
> not noticing the sector size variable and it's a fairly small matter of
> programming.
> 
> Looking quickly at sys/arch/xen/xbd_xenbus.c, I see some concept of
> sector size, but it would take me a while to understand and trace all
> this.
> 
> I suggest trying a current or netbsd-10 PV or PVH domU and seeing what happens.

Also could you post the output of xenstore-ls from the dom0 (you can strip it
to the relevant domU only, but we need entries for both the frontend and
backends).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index