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] 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?

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

2023-06-26 Thread Almudena Garcia
> I have a feeling that ACPI provides a list of possible IRQs per device > and it's up to the host to figure out a set of unconflicting configurations > and to set them using _SRS methods. > > Where can I find this info? Check ACPI specification. Maybe the IRQ list are there. El lunes 26 de jun

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

2023-06-25 Thread Damien Zammit
Hi Samuel, On 26/6/23 02:41, Samuel Thibault wrote: >> This simple change allows hurd to be bootable off usb! > > Well, yes and no :) > > 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 f

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

2023-06-25 Thread Samuel Thibault
Damien Zammit, le dim. 25 juin 2023 12:35:51 +, a ecrit: > This simple change allows hurd to be bootable off usb! Well, yes and no :) 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 forwar

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

2023-06-25 Thread Guy-Fleury Iteriteka
On June 25, 2023 2:35:51 PM GMT+02:00, Damien Zammit wrote: >This simple change allows hurd to be bootable off usb! A running hurd can then recognize a usb storage > >It is not ideal to have entire usb stack with the mass storage driver >and combined with SATA, but there is no easy way to separa

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

2023-06-25 Thread Damien Zammit
This simple change allows hurd to be bootable off usb! It is not ideal to have entire usb stack with the mass storage driver and combined with SATA, but there is no easy way to separate the usb stack into host/device yet. This centralises all the disk support, (and unfortunately also all the usb