Opened 7 years ago
Closed 7 years ago
#13775 closed bug (fixed)
readcd clone option causes Haiku to KDL
Reported by: | vidrep | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Disk/ATA | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
hrev51543 x86_64
Mount CDROM
readcd dev=10,1,0 -clone f=clone
-clone option causes Haiku to KDL 100% of the time
Attachments (4)
Change History (15)
by , 7 years ago
Attachment: | readcd.png added |
---|
comment:1 by , 7 years ago
patch: | 0 → 1 |
---|
by , 7 years ago
by , 7 years ago
Attachment: | readcd_KDL.JPG added |
---|
comment:2 by , 7 years ago
Component: | - General → Drivers/Disk/ATA |
---|
comment:3 by , 7 years ago
comment:4 by , 7 years ago
Platform: | x86-64 → All |
---|
comment:5 by , 7 years ago
patch: | 1 → 0 |
---|
comment:6 by , 7 years ago
Description: | modified (diff) |
---|
comment:7 by , 7 years ago
Still an issue. Tested with hrev51846 x86_gcc2h, using thew following command:
readcd dev=10,1,0 -clone -nocorr -retries=0 f=clone
Haiku KDL immediately. syslog attached
by , 7 years ago
comment:8 by , 7 years ago
Hi, readcd seems to send a command with a zero datalength, which is unusual: https://github.com/jobermayr/cdrtools/blob/master/readcd/readcd.c#L1034
It seems though this case should be supported by avoiding DMA when no SG list is provided. https://git.haiku-os.org/haiku/tree/src/add-ons/kernel/bus_managers/ata/ATAPIDevice.cpp#n38
Also KDL's on x86_gcc2h. Change platform to "All".