Sergey Bugaev, le dim. 28 mai 2023 13:32:12 +0300, a ecrit: > On Sun, May 28, 2023 at 04:34 AM Samuel Thibault > <samuel.thiba...@gnu.org> wrote: > > And rumpdisk as well :) > > > > [ 2.9500050] wd3 at atabus5 drive 0 > > [ 2.9500050] wd3: <QEMU HARDDISK> > > [ 2.9500050] wd3: drive supports 16-sector PIO transfers, LBA48 addressing > > [ 2.9500050] wd3: 50001 MB, 101589 cyl, 16 head, 63 sec, 512 bytes/sect x > > 102402048 sectors > > [ 2.9600050] wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 > > (Ultra/100), NCQ (32 tags) > > [ 2.9600050] wd3(ahcisata0:3:0): using PIO mode 4, DMA mode 2, Ultra-DMA > > mode 5 (Ultra/100) (using DMA), NCQ (31 tags) > > > > and it seems to be working :D > > Yay, this is so cool! You could make an attempt to boot off the rumpdisk then?
Yes, it does work, modulo: Samuel Thibault, le dim. 28 mai 2023 03:50:56 +0200, a ecrit: > Samuel Thibault, le dim. 28 mai 2023 03:37:01 +0200, a ecrit: > > Samuel Thibault, le dim. 28 mai 2023 03:34:50 +0200, a ecrit: > > > # fdisk -l /dev/wd0 > > > Disk /dev/wd0: 81 MiB, 84934656 bytes, 165888 sectors > > > Units: sectors of 1 * 512 = 512 bytes > > > Sector size (logical/physical): 512 bytes / 512 bytes > > > I/O size (minimum/optimal): 512 bytes / 512 bytes > > > Disklabel type: dos > > > Disk identifier: 0xa569a22c > > > > > > Device Boot Start End Sectors Size Id Type > > > /dev/wd0s1 * 63 83967 83905 41M 83 Linux > > > /dev/wd0s2 83968 165887 81920 40M 82 Linux swap / Solaris > > > > Oddly enough, however, only wd0 and wd2 work. wd1 and wd3 return ENXIO. > > Actually it's wd1 that shows up as wd2... My wd3 test filesystem thus shows up as wd6 :) there must be some incoherent minor/major computation somewhere. Samuel