Opened 12 years ago
Closed 10 years ago
#9288 closed enhancement (fixed)
CD/DVD-RW written with an old CD/DVD-Rom-Drive
Reported by: | Morbid | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta1 |
Component: | - General | Version: | R1/alpha4.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
Hi everyone, have a problem with some CD/DVD-RW disks that was written with an old CD/DVD-Rom-Drive. Sometimes they will or will not detected with my new DVD-Drive. If it will detect i can clean it with cdrecord. If it will be not detect the DVD-Drive is trying to read the disk continuous but never stops. On trying to eject the Disk manually Haiku is leading me to KDL and needs a restart. Is it possible Haiku registers, after several tries to read, that there is a problem with a CD/DVD-RW and stops procedure, Medium will be not eject automatically, so i have a chance to clean it with cdrecord and Haiku don't need a restart? Just an Idea cause disks are ok after cleaning and rewriting. Trying to reproduce again. KDL-Messages will send as soon as possible.
Attachments (10)
Change History (31)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Drive works fine with Windows and Linux. Can't catch KDL for now. Need to build up the other PC in 2 or 3 weeks if i get it back. Log is on the SD-Card from witch i've booted Haiku but i can't send it because of #9392 on this machine.
comment:3 by , 12 years ago
As i can remember the old drive, the CD's where written with, was a Yamaha 8x8x24 SCSI but can't get you more info. Sure it is in Burner-Heaven.
by , 12 years ago
Attachment: | listdev.txt added |
---|
by , 12 years ago
Attachment: | syslog.txt added |
---|
comment:4 by , 12 years ago
Ok, PC is back! Boot Haiku-Live hrev45226 (anyboot) via SD-Card. Medium to clear is a Sunstar CD-RW 74min/650MB 1x/2x/4x Multi Speed. In Terminal tried to scratch the CD-RW with the command: cdrecord dev=2,3,0 blank=disc. Writer starts and after aprox 3 sec. stops. Desktop and Mouse are frozen and Haiku needs a restart. After that, CD-RW will be not detect by Haiku. Same CD-RW under Windows will be also not detected by the OS but starting Nero and put in the Medium, blanking works.
Writer is LG GH22LS50 Multireader SATA Firmware TL02 and 2MB cache. Serial of the Drive is K1FA18F5824. Regioncode is 2.
comment:5 by , 10 years ago
Hi, If you still have the original problem, can you try this:
- open terminal and run tail -f /var/log/syslog
- insert CD
- wait a bit for haiku to try to identify the CD
- copypaste the part of syslog that was printed to terminal during the process, and attach it here
This would help as the syslog attached here has data from several boots and I'm not sure which parts are relevant.
comment:6 by , 10 years ago
Hi, will try to find the stuff and give response. (could take a while) Thx.
comment:7 by , 10 years ago
I also have an old CDRW disk with zipped BeOS archives on it that was written with a Yamaha 8x8x24 SCSI using on BeOS. This disc is not readable in Haiku, but can be read on Windows. I have attached the syslog as per your previous instructions. Perhaps it is the same problem.
by , 10 years ago
Attachment: | CDRW_syslog added |
---|
comment:8 by , 10 years ago
823 KERN: ahci: AHCIPort::PostReset port 1 824 KERN: ahci: device signature 0xeb140101 (ATAPI) 825 KERN: ahci: sata_request::finish ATA command 0xa0 failed: status 0x51, error 0x20 826 KERN: ahci: sata_request::finish ATAPI packet 28 00 00 00 00 10 00 00 01 00 00 00 00 00 00 00 (len 10) 827 KERN: read_pos(pos:32768, len:2048) failed with: 0xffffffff
ATAPI command 28 is "READ". So this is failing to read the disc at all. I'm wondering how Windows manages to get through now. Maybe we need a way to retry those failed reads.
comment:9 by , 10 years ago
I tried the same disk again in the latest Haiku nightly with the same result as before. I then inserted the same CDRW into my Windows PC, where it was easily read (see attached Windows screenshot). I t might be interesting to see if Morbid posts similar test results.
by , 10 years ago
Attachment: | CDRW_Windows_screenshot.png added |
---|
comment:11 by , 10 years ago
I'm going to install Haiku to a second hard drive on my Windows PC, so each is sharing the same hardware. I'll try some of the same CDRW disks again to eliminate the possibility of it being a hardware issue. Is there any way to get data from Windows that could shed light on how it is able to read these disks when Haiku cannot?
comment:12 by , 10 years ago
Hi all, and thx for trying to reproduce. Windows itself didn't detect the cdrw. Starting Nero under Windows detect the cdrw and then i was able to delete. No Data can be read from cdrw, cause of failure on deleting under Haiku. (Approach as written under comment 4). Maybe rather a problem with cdrecord i expect! Found the Drive/CDRW and will build in a new PC and try approach from Pulkomandy with new nightly as soon as possible. Stay tuned guys and sorry for the delay.
comment:13 by , 10 years ago
2vidrep: didn't know how! Drive trying to read and read continuous as under Haiku! On pressing the eject button of the drive long enough cd will ejected but no error message under Windows.
follow-up: 18 comment:14 by , 10 years ago
I have attached a diagnostic of the optical drive and the CDRW disk which Haiku is not able to read. The disk was written back in 2004 on BeOS using Helios CD burning application. Hopefully there is something in the attached data which will lead to a fix for Haiku.
by , 10 years ago
Attachment: | Hardware.rtf added |
---|
by , 10 years ago
Attachment: | Analysis.rtf added |
---|
by , 10 years ago
Attachment: | Volume Information.rtf added |
---|
comment:15 by , 10 years ago
Haiku is now installed on a common PC with Windows. Windows can read the CDRW and Haiku cannot. So, definitely not a hardware issue or a bad disk.
follow-up: 19 comment:16 by , 10 years ago
Drive is mounted in new PC. Boot-Device is 4GiB USB-Stick with hrev48022. Under Haiku CD-Writer will be found at 9,0,0. Medium is Sunstar CD-RW 74min/650MB 1x/2x/4x Multi Speed. Blanking of the Disc works on that PC, but some Error-Messages in Syslog. On old PC that didn't work with this Drive i did a Firmwareupdate from TL02 to TL03 (also Error on old PC). Will write some Data to the Disc and see if Haiku can read the Data and delete it again.
by , 10 years ago
Attachment: | LG_Syslog_tail1.txt added |
---|
comment:17 by , 10 years ago
New data written on CDRW. Blanking under Haiku works again. enclosed tail2=with data on CDRW. tail3=blanked CDRW.
by , 10 years ago
Attachment: | LG_Syslog_tail2_new_written.txt added |
---|
by , 10 years ago
Attachment: | LG_Syslog_tail3_blanked.txt added |
---|
comment:18 by , 10 years ago
Replying to vidrep:
I have attached a diagnostic of the optical drive and the CDRW disk which Haiku is not able to read. The disk was written back in 2004 on BeOS using Helios CD burning application. Hopefully there is something in the attached data which will lead to a fix for Haiku.
Has anybody had a chance in the past 4 months to look at the diagnostic information I provided for the CDRW that Haiku was unable to read?
comment:19 by , 10 years ago
Replying to Morbid:
Drive is mounted in new PC. Boot-Device is 4GiB USB-Stick with hrev48022. Under Haiku CD-Writer will be found at 9,0,0. Medium is Sunstar CD-RW 74min/650MB 1x/2x/4x Multi Speed. Blanking of the Disc works on that PC, but some Error-Messages in Syslog. On old PC that didn't work with this Drive i did a Firmwareupdate from TL02 to TL03 (also Error on old PC). Will write some Data to the Disc and see if Haiku can read the Data and delete it again.
Morbid,
Has the issue which triggered your ticket been resolved? If so, maybe it can be closed and I'll open a new ticket for my particular situation, which may differ somewhat from yours.
comment:20 by , 10 years ago
I'm not sure if it is solved. Ticked can be closed and maybe reopend if it occures again. Thx for investigation.
comment:21 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Does the drive work ok in other OS(es)? Some CDRW drives are known for wearing out after just 2-3 years, I've had similar issues in all OSes here when a drive starts to die. If you can catch that KDL though that would be helpful.