summary refs log tree commit diff stats
path: root/results/scraper/gitlab/issues_toml/target_missing/host_missing/accel_missing/1943.toml
blob: 2202b3a8dfd8be22c33610d1f883a01d7105505e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
id = 1943
title = "Weird error trying to autodetect CHS disk geometry"
state = "opened"
created_at = "2023-10-16T00:32:32.768Z"
closed_at = "n/a"
labels = ["Storage"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1943"
host-os = "debian bookworm"
host-arch = "x64"
qemu-version = "QEMU emulator version 7.2.4 (Debian 1:7.2+dfsg-7+deb12u1)"
guest-os = "None!"
guest-arch = "x86-16"
description = """Error: "SSD Read Error"

Something about the contents of the disk causes qemu to wildly misdetect the disk geometry.
This disk started as a blank disk, and had a FAT filesystem written to it from inside it; thus
writing the detected geometry to the disk. And this caused the detected geometry to change to
something nonsensical."""
reproduce = """1. Unpack the attached [hd.bz2](/uploads/53f5bb00cdd563223bea1f7a0f86fe1c/hd.bz2) to hd.img
2. Run qemu -hda hd.img
3. Observe error"""
additional = """The following command appears to fix the problem; however it is wrong:

qemu -drive if=none,id=dr,file=hd.img -device ide-hd,drive=dr,cyls=1023,heads=16,secs=63

The problem with this command is this command yields only 504MB instead of the 512MB the
disk is actually formatted to be. CHS translation should be enabled on this disk but won't
be with this command.

This command was copied essentially blindly from "Removed features" because that's what comes
up for a google search for "qemu specify geometry" and I don't understand the command well
enough to correct it."""