Re: A floppy driver in the debian installer kernel

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.alpha
Message-ID <[email protected]>
Hello!

On 4/21/20 4:00 PM, jhcha54008 wrote:
> PS : it is the opportunity to thank you (and Samuel Thibault) for all your work on the alpha kernel and 
> towards a working debian installer on alpha - and the other ports !

You're welcome. Although it's sometimes so frustrating that I'm considering
to stop. But I can still keep myself motivated.

> First patch : have the floppy driver built-in
> 
> diff -Naur a/linux-5.5.17/debian/config/alpha/config b/linux-5.5.17/debian/config/alpha/config
> --- a/linux-5.5.17/debian/config/alpha/config	2020-04-15 04:35:16.000000000 +0200
> +++ b/linux-5.5.17/debian/config/alpha/config	2020-04-21 15:31:52.645845117 +0200
> @@ -120,7 +120,7 @@
>  ##
>  ## file: drivers/block/Kconfig
>  ##
> -CONFIG_BLK_DEV_FD=m
> +CONFIG_BLK_DEV_FD=y
>  CONFIG_BLK_DEV_UMEM=m
>  CONFIG_BLK_DEV_SX8=m
>  CONFIG_CDROM_PKTCDVD=m
> 
> Second patch : ship the floppy module in the kernel udeb
> 
> diff -Naur a/linux-5.5.17/debian/installer/modules/alpha-generic/kernel-image b/linux-5.5.17/debian/installer/modules/alpha-generic/kernel-image
> --- a/linux-5.5.17/debian/installer/modules/alpha-generic/kernel-image	2018-12-29 20:49:45.000000000 +0100
> +++ b/linux-5.5.17/debian/installer/modules/alpha-generic/kernel-image	2020-04-21 15:36:55.527347025 +0200
> @@ -1 +1,2 @@
>  #include <kernel-image>
> +floppy

I don't think it makes sense to add a floppy module when you compile floppy
support into the kernel. If it's compiled in, the driver is always present.

Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.