Re: [PATCH rumpkernel] prune.sh: Remove ~1.1G of currently unused bits.

2023-06-27 Thread Samuel Thibault
Samuel Thibault, le mer. 28 juin 2023 08:16:07 +0200, a ecrit: > Damien Zammit, le sam. 24 juin 2023 02:32:03 +, a ecrit: > > Samuel, can you please see if this new repository is suitable to replace > > the debian rumpkernel: > > > > http://git.zammit.org/rumpkernel-debian.git > > Yes, this

Re: [PATCH rumpkernel] prune.sh: Remove ~1.1G of currently unused bits.

2023-06-27 Thread Samuel Thibault
Hello, Damien Zammit, le sam. 24 juin 2023 02:32:03 +, a ecrit: > Samuel, can you please see if this new repository is suitable to replace the > debian rumpkernel: > > http://git.zammit.org/rumpkernel-debian.git Yes, this looks alright, thanks! It's just missing the tags, which we do want t

Re: [PATCH hurd] rumpdisk: Include complete USB stack to enable mass storage driver

2023-06-27 Thread Samuel Thibault
Damien Zammit, le mar. 27 juin 2023 09:24:54 +, a ecrit: > On 26/6/23 02:41, Samuel Thibault wrote: > > We also need /dev entries. It happens that this re-uses /dev/sd* > > names, so we need to care about compatibility. We probably want > > rumpdisk_device_open to forward to the kernel when 'di

Re: [PATCH hurd] rumpusbdisk: Add USB mass storage translator

2023-06-27 Thread Samuel Thibault
Hello, Damien Zammit, le mar. 27 juin 2023 11:11:09 +, a ecrit: > This is mostly a copy of rumpdisk, It should be possible to share the code, by setting makemode to servers, and using -D / #ifdef? > with small tweaks to > compile in the rump USB stack instead of SATA/IDE. > > This can be te

[PATCH hurd] rumpusbdisk: Add USB mass storage translator

2023-06-27 Thread Damien Zammit
This is mostly a copy of rumpdisk, with small tweaks to compile in the rump USB stack instead of SATA/IDE. This can be tested by running qemu with a USB3 controller as follows: -drive if=none,id=usbstick,format=raw,file=/path/to/disk.img \ -device qemu-xhci

Re: [PATCH hurd] rumpdisk: Include complete USB stack to enable mass storage driver

2023-06-27 Thread Damien Zammit
Hi, On 26/6/23 02:41, Samuel Thibault wrote: > We also need /dev entries. It happens that this re-uses /dev/sd* > names, so we need to care about compatibility. We probably want > rumpdisk_device_open to forward to the kernel when 'disabled' is true. Doesn't libmachdev do this for us already?

Switch to fresh pruned rumpkernel archive? [WAS: Re: [PATCH rumpkernel] prune.sh: Remove ~1.1G of currently unused bits.]

2023-06-27 Thread Janneke Nieuwenhuizen
Damien Zammit writes: Hi! > On 20/6/23 06:00, Janneke Nieuwenhuizen wrote: >> The rumpkernel archive is ridiculously large. [..] >> Because the patches are so big I'm only sharing the prune.sh script that >> will create some 'prune: ...' commits. > > I took your prune.sh script and modified it to