You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Report: Incorrect Disk Read from Slave Drive in QEMU Setup
Summary
Check feature/target branch for code.
The kernel incorrectly attempts to read data from the Primary Slave (ide0-hd1) in a QEMU environment. This results in mismatched or invalid data being read from the disk.
Details
Expected Behavior
The kernel should correctly identify and read data from the Primary Slave disk (fat32_disk.img), which is attached to QEMU as ide0-hd1.
The expected data (e.g., from a hex editor like HxD) at LBA 0 of fat32_disk.img might look like this: EB 58 90 6D 6B 66 73 2E 66 61 74 00 02 01 20 00
fat32_disk.img was formated by mkfs.fat -F 32 fat32_disk.img for FAT32.
Actual Behavior
Primary Slave, resulting in incorrect data such as: 0x40 0x00 0x82 0x00 0x00 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x3F 0x00 0x00 0x00
Steps to Reproduce
Use read commnad
Inspect Disk Configurations
info block
Target
be able use ATA driver for file system using separate .img.
The text was updated successfully, but these errors were encountered:
Bug Report: Incorrect Disk Read from Slave Drive in QEMU Setup
Summary
Check
feature/target
branch for code.The kernel incorrectly attempts to read data from the Primary Slave (
ide0-hd1
) in a QEMU environment. This results in mismatched or invalid data being read from the disk.Details
Expected Behavior
The kernel should correctly identify and read data from the Primary Slave disk (
fat32_disk.img
), which is attached to QEMU aside0-hd1
.The expected data (e.g., from a hex editor like HxD) at LBA 0 of
fat32_disk.img
might look like this:EB 58 90 6D 6B 66 73 2E 66 61 74 00 02 01 20 00
fat32_disk.img was formated by
mkfs.fat -F 32 fat32_disk.img
for FAT32.Actual Behavior
Primary Slave, resulting in incorrect data such as:
0x40 0x00 0x82 0x00 0x00 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x3F 0x00 0x00 0x00
Steps to Reproduce
Use
read
commnadInspect Disk Configurations
info block
Target
be able use ATA driver for file system using separate .img.
The text was updated successfully, but these errors were encountered: