Re: [PATCH 0/2] cdrom: gdrom: fix block I/O and capacity setting
From: John Paul Adrian Glaubitz
Date: Sun Apr 05 2026 - 10:09:46 EST
Hi Florian,
On Sun, 2026-04-05 at 10:23 +0200, Florian Fuchs wrote:
> Hi all,
>
> This series fixes a gdrom driver Oops due to bad MMIO register access and
> fixes the missing updates of the block layer gendisk capacity that
> prevented ISO9660 mounts from working.
>
> The change was tested on real Sega Dreamcast devices (PAL-E, NTSC-J)
> with physical CD-R discs and with GDEMU emulated discs. Before: Oops on
> mount and an unusable drive. After: Successfully able to mount and use
> the inserted medium.
>
> Thanks,
> Florian
>
> Florian Fuchs (2):
> cdrom: gdrom: replace port I/O with MMIO accessors
> cdrom: gdrom: update gendisk capacity on open
>
> drivers/cdrom/gdrom.c | 39 +++++++++++++++++++++++++++++++++++----
> 1 file changed, 35 insertions(+), 4 deletions(-)
>
>
> base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
Thanks a lot for the series! Can you give me any hints on what's the best method
these days to boot a Linux kernel on Dreamcast these days? I have the hardware,
but I never tried to boot Linux on it. An emulator might be even better.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913