Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1038644 > unrolled thread

Bug#689528: please add virtio support for cdrom at install time

Started byWitold Baryluk <witold.baryluk@gmail.com>
First post2020-12-21 22:50 +0100
Last post2020-12-21 23:30 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#689528: please add virtio support for cdrom at install time Witold Baryluk <witold.baryluk@gmail.com> - 2020-12-21 22:50 +0100
    Bug#689528: please add virtio support for cdrom at install time John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2020-12-21 23:00 +0100
      Bug#689528: please add virtio support for cdrom at install time Witold Baryluk <witold.baryluk@gmail.com> - 2020-12-21 23:20 +0100
        Bug#689528: please add virtio support for cdrom at install time John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2020-12-21 23:30 +0100

#1038644 — Bug#689528: please add virtio support for cdrom at install time

FromWitold Baryluk <witold.baryluk@gmail.com>
Date2020-12-21 22:50 +0100
SubjectBug#689528: please add virtio support for cdrom at install time
Message-ID<BoBe2-4eP-11@gated-at.bofh.it>
Package: debian-installer
Followup-For: Bug #689528
X-Debbugs-Cc: witold.baryluk@gmail.com



Hi,

this is still broken with recent debian installer daily snapshots.

The device is there and supported by kernel, I can mount things manually
(i.e. mount -t iso9660 /dev/vda /media), but installer simply ignores
this device, even if I create symlink (ln -s vda cdrom).

The workaround to selecting driver none, and pointing to /dev/vda seems
still to work and only option.

Can we get some fix in the debian installer for this?

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-4-amd64 (SMP w/32 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

[toc] | [next] | [standalone]


#1038647

FromJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date2020-12-21 23:00 +0100
Message-ID<BoBnI-4id-15@gated-at.bofh.it>
In reply to#1038644
On 12/21/20 10:42 PM, Witold Baryluk wrote:
> The device is there and supported by kernel, I can mount things manually
> (i.e. mount -t iso9660 /dev/vda /media), but installer simply ignores
> this device, even if I create symlink (ln -s vda cdrom).
> 
> The workaround to selecting driver none, and pointing to /dev/vda seems
> still to work and only option.
> 
> Can we get some fix in the debian installer for this?

This reminds me of a similar bug we fixed in the kernel on sparc64 which
turned out to be two missing functions in the kernel for the vio driver
on sparc64 [1][2].

So it's probably a good idea to verify first that the virtio block device
driver behaves correctly in that sense and creates the proper mod aliases.

Then debian-installer should be able to detect the CD-ROM block device automatically.

Adrian

> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=36128d204b81c099b5779771127a5546eac549c9
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5bde2c9be701c4583f0a9243bd46590ec401bfba

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

[toc] | [prev] | [next] | [standalone]


#1038651

FromWitold Baryluk <witold.baryluk@gmail.com>
Date2020-12-21 23:20 +0100
Message-ID<BoBH4-4EK-5@gated-at.bofh.it>
In reply to#1038647
FYI. This happens on both alpha and arm64 from my tests. So possibly
more architectures are affected if it is arch specific.

On Mon, 21 Dec 2020 at 21:52, John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
>
> On 12/21/20 10:42 PM, Witold Baryluk wrote:
> > The device is there and supported by kernel, I can mount things manually
> > (i.e. mount -t iso9660 /dev/vda /media), but installer simply ignores
> > this device, even if I create symlink (ln -s vda cdrom).
> >
> > The workaround to selecting driver none, and pointing to /dev/vda seems
> > still to work and only option.
> >
> > Can we get some fix in the debian installer for this?
>
> This reminds me of a similar bug we fixed in the kernel on sparc64 which
> turned out to be two missing functions in the kernel for the vio driver
> on sparc64 [1][2].
>
> So it's probably a good idea to verify first that the virtio block device
> driver behaves correctly in that sense and creates the proper mod aliases.
>
> Then debian-installer should be able to detect the CD-ROM block device automatically.
>
> Adrian
>
> > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=36128d204b81c099b5779771127a5546eac549c9
> > [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5bde2c9be701c4583f0a9243bd46590ec401bfba
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz@debian.org
> `. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
>

[toc] | [prev] | [next] | [standalone]


#1038655

FromJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date2020-12-21 23:30 +0100
Message-ID<BoBQK-4HU-7@gated-at.bofh.it>
In reply to#1038651
On 12/21/20 11:10 PM, Witold Baryluk wrote:
> FYI. This happens on both alpha and arm64 from my tests. So possibly
> more architectures are affected if it is arch specific.

The virtio driver isn't arch-specific.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web