Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #245150
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod |
|---|---|
| From | Urs Thuermann <urs@isnogud.escape.de> |
| Newsgroups | linux.debian.user |
| Subject | After uprade to buster: QEMU doesn't support -drive if=scsi |
| Date | Wed, 09 Feb 2022 17:00:01 +0100 |
| Message-ID | <DOXxT-Emc-9@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Wed Feb 9 15:50:22 2022 |
| Old-Return-Path | <urs@isnogud.escape.de> |
| X-Amavis-Spam-Status | No, score=-5.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, FOURLA=0.1, LDO_WHITELIST=-5] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| Sender | robomod@news.nic.it |
| Lines | 36 |
| User-Agent | Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/785952 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/ygftud8hwfb.fsf@tehran.isnogud.escape.de |
| Approved | robomod@news.nic.it |
| Organization | linux.* mail to news gateway |
| X-Original-Date | 09 Feb 2022 16:49:44 +0100 |
| X-Original-Message-ID | <ygftud8hwfb.fsf@tehran.isnogud.escape.de> |
| X-Original-Sender | urs@isnogud.escape.de |
| Xref | csiph.com linux.debian.user:245150 |
Show key headers only | View raw
After uprading from stretch to buster on my server (x86_64), I cannot
start one of my VMs anymore. The guest is a *very* old Linux (non
Debian, i686, kernel 2.4, GRUB 1.99) and uses the Symbios Logic
sym53c8xx_2 SCSI driver in its init-ramdisk to mount the root file
system and another virtual disk containing LVM. The init-ramdisk also
has an IDE driver.
The newer QEMU seems not to support this virtual SCSI adaptor:
# kvm -cpu pentium3 ... \
-drive file=/dev/vg0/<guest>.sda,format=raw,if=scsi,media=disk,cache=writeback" \
-drive file=/dev/vg0/<guest>.sdb,format=raw,if=scsi,media=disk,cache=writeback" \
qemu-system-x86_64: -drive file=/dev/vg0/<guest>.sda,format=raw,if=scsi,media=disk,cache=writeback: machine type does not support if=scsi,bus=0,unit=0
qemu-system-x86_64: -drive file=/dev/vg0/<guest>.sdb,format=raw,if=scsi,media=disk,cache=writeback: machine type does not support if=scsi,bus=0,unit=1
To be able to start the VM, I have changed the options -drive ... to
-hda and -hdb to use the IDE drivers in the guest. This works
(somewhat) but performance is *extremely* poor. Several 10 times
slower than with SCSI.
Another problem, which I don't know whether it's related to the disk
I/O performance, is that ntpd is not even able to sync the system
clock. Even when there is almost no disk I/O.
Is there any chance of getting this guest running with the old SCSI
adaptor in this new version of QEMU in buster?
I could also try to compile a new Linux 2.4 kernel and build a new
init-ramdisk. But which driver should I use? In Linux 2.4 there is no
virtio.
In the long run I should clearly move the whole thing to a newer
Debian Linux machine. But as I am short of time currently, I'd like
to be able to continue with this old VM, at least for a while.
Steve
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
After uprade to buster: QEMU doesn't support -drive if=scsi Urs Thuermann <urs@isnogud.escape.de> - 2022-02-09 17:00 +0100 Re: After uprade to buster: QEMU doesn't support -drive if=scsi didier gaumet <didier.gaumet@gmail.com> - 2022-02-09 20:20 +0100
csiph-web