diff options
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1943.toml')
| -rw-r--r-- | gitlab/issues/target_missing/host_missing/accel_missing/1943.toml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1943.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1943.toml new file mode 100644 index 00000000..2202b3a8 --- /dev/null +++ b/gitlab/issues/target_missing/host_missing/accel_missing/1943.toml @@ -0,0 +1,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.""" |