Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#8751 closed bug (fixed)

Cdrecord won't see my cd/dvd burner

Reported by: Giova84 Owned by: anevilyak
Priority: normal Milestone: R1
Component: Applications Version: R1/Development
Keywords: cdburner won't find cd/dvd burner device Cc:
Blocked By: Blocking:
Platform: x86

Description (last modified by anevilyak)

As subject say, cdrecord won't see my cd/dvd burner, but inside linux is ok. My cd burner is a generic OEM sata device "DVD A DH16A6S".

Output of cdrecord -scanbus, cdrecord -scanbus -debug=3 and cdrecord dev=help:

Ϟ 19:32:08 Ϟ ~ cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.01a06 (i586-pc-haiku) Copyright (C) 1995-2011 Joerg Schilling
Using libscg version 'schily-0.9'.
cdrecord: No target found.
Ϟ 19:32:09 Ϟ ~ cdrecord -scanbus -debug=3
dev: '(NULL POINTER)' speed: -1 fs: -1 driveropts '(NULL POINTER)'
Cdrecord-ProDVD-ProBD-Clone 3.01a06 (i586-pc-haiku) Copyright (C) 1995-2011 Joerg Schilling
TOC Type: 1 = CD-ROM
scg__open() -1,-1,-1
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
scgo_getbuf: 64512 bytes
cdrecord: No target found.
Ϟ 19:32:12 Ϟ ~ 

Ϟ 19:32:12 Ϟ ~ cdrecord dev=help
Cdrecord-ProDVD-ProBD-Clone 3.01a06 (i586-pc-haiku) Copyright (C) 1995-2011 Joerg Schilling
Supported SCSI transports for this platform:

Transport name:         CAM
Transport descr.:       Generic transport independent SCSI (BeOS CAM variant)
Transp. layer ind.:     
Target specifier:       bus,target,lun
Target example:         1,2,0
SCSI Bus scanning:      supported
Open via UNIX device:   not supported
Ϟ 19:33:35 Ϟ ~

Output of cdrecord inside linux mint 11:

mint@mint ~ $ cdrecord -scanbus
scsibus3:
	3,0,0	300) 'ATAPI   ' 'DVD A  DH16A6S  ' 'YA17' Removable CD-ROM
	3,1,0	301) *
	3,2,0	302) *
	3,3,0	303) *
	3,4,0	304) *
	3,5,0	305) *
	3,6,0	306) *
	3,7,0	307) *
mint@mint ~ $ 

I'm also tried to compile the latest version of cdrtools, compile fine but cdrecord still no found cd burner.

hrev44295

Attachments (1)

syslog (175.9 KB ) - added by Giova84 12 years ago.
Entire syslog

Download all attachments as: .zip

Change History (18)

comment:1 by anevilyak, 12 years ago

Component: - GeneralDrivers/Disk
Owner: changed from nobody to marcusoverhagen

Could be a SATA<->SCSI interface problem ; legacy IDE recording devices are still detected properly at least.

comment:2 by anevilyak, 12 years ago

Description: modified (diff)

None of the pasted syslog output is relevant to the problem.

comment:3 by diver, 12 years ago

Please attach full syslog

by Giova84, 12 years ago

Attachment: syslog added

Entire syslog

comment:4 by phoudoin, 12 years ago

At least scsi_cd seems to detect and drive the cd/dvd reader part. Wonder why noAutoSense is on, though.

SATA CD/DVD recorders are working, but maybe this model (Lite-On?) is not fully ATAPI compliant and need some quirck code somewhere...

comment:5 by augiedoggie, 12 years ago

Can you try http://ports-space.haiku-files.org/app-cdr/cdrtools-3.01a07-x86-gcc2-2012-07-19.zip and see if it helps? Just extract the package to /boot

in reply to:  5 comment:6 by Giova84, 12 years ago

Replying to augiedoggie:

Can you try http://ports-space.haiku-files.org/app-cdr/cdrtools-3.01a07-x86-gcc2-2012-07-19.zip and see if it helps? Just extract the package to /boot

With this version the output is change:

Ϟ 01:55:45 Ϟ ~ cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.01a07 (i586-pc-haiku) Copyright (C) 1995-2012 Joerg Schilling
Using libscg version 'schily-0.9'.
scsibus0:
        0,0,0     0) *
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
cdrecord: No target found.
Ϟ 01:55:53 Ϟ ~ cdrecord -checkdrive
Cdrecord-ProDVD-ProBD-Clone 3.01a07 (i586-pc-haiku) Copyright (C) 1995-2012 Joerg Schilling
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
cdrecord: No target found.
cdrecord: No target found.
cdrecord: No CD/DVD/BD-Recorder target found.
cdrecord: Your platform may not allow to scan for SCSI devices.
cdrecord: Call 'cdrecord dev=help' or ask your sysadmin for possible targets.
Ϟ 01:56:08 Ϟ ~ 

Using the previous version, with cdrecord -scanbus i got:

Cdrecord-ProDVD-ProBD-Clone 3.01a06 (i586-pc-haiku) Copyright (C) 1995-2011 Joerg Schilling
Using libscg version 'schily-0.9'.
cdrecord: No target found.

I'm near to solution?

With BurnitNow i still don't see available device.

comment:7 by Giova84, 12 years ago

cdrecord dev=0,3,0 driveropts=help -checkdrive:

Ϟ 02:02:58 Ϟ ~ cdrecord dev=0,3,0 driveropts=help -checkdrive
Cdrecord-ProDVD-ProBD-Clone 3.01a07 (i586-pc-haiku) Copyright (C) 1995-2012 Joerg Schilling
scsidev: '0,3,0'
scsibus: 0 target: 3 lun: 0
Using libscg version 'schily-0.9'.
cdrecord: Cannot do inquiry for CD/DVD/BD-Recorder.
cdrecord: No error. test unit ready: scsi sendcmd: fatal error
CDB:  00 00 00 00 00 00
cmd finished after 0.000s timeout 40s
Ϟ 02:03:13 Ϟ ~

in reply to:  7 ; comment:8 by augiedoggie, 12 years ago

Replying to Giova84:

I'm near to solution?

With BurnitNow i still don't see available device.

I thought it was due to cdrtools using the wrong path in /dev to look for devices but apparently that's not the problem

in reply to:  8 comment:9 by Giova84, 12 years ago

Replying to augiedoggie:

I thought it was due to cdrtools using the wrong path in /dev to look for devices but apparently that's not the problem

Do you think there is a way to solve?

comment:10 by augiedoggie, 12 years ago

I made a mistake with that package and didn't fix all of the bad paths. Please try http://ports-space.haiku-files.org/app-cdr/cdrtools-3.01a07-x86-gcc2-2012-07-19-r2.zip

in reply to:  10 comment:11 by Giova84, 12 years ago

Replying to augiedoggie:

I made a mistake with that package and didn't fix all of the bad paths. Please try http://ports-space.haiku-files.org/app-cdr/cdrtools-3.01a07-x86-gcc2-2012-07-19-r2.zip

Oh yeah!!! :-)

Ϟ 02:45:38 Ϟ ~ cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.01a07 (i586-pc-haiku) Copyright (C) 1995-2012 Joerg Schilling
Using libscg version 'schily-0.9'.
scsibus0:
        0,0,0     0) '' '' '' NON CCS Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) 'ATAPI   ' 'DVD A  DH16A6S  ' 'YA17' Removable CD-ROM
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
Ϟ 02:45:40 Ϟ ~

I can also see my device inside burnitnow!!

Maybe this version could be uploaded in Haiku Optional Package website :-)

comment:12 by Giova84, 12 years ago

Maybe this cdrtools version could also fix this ticket: https://dev.haiku-os.org/ticket/7198

comment:13 by anevilyak, 12 years ago

Component: Drivers/DiskApplications
Owner: changed from marcusoverhagen to anevilyak
Status: newassigned

comment:14 by anevilyak, 12 years ago

Resolution: fixed
Status: assignedclosed

Updated package added in hrev44361. Thanks!

in reply to:  14 comment:15 by Giova84, 12 years ago

Replying to anevilyak:

Updated package added in hrev44361. Thanks!

Thanks to you and to Augiedoggie! Well done! :-)

comment:16 by Giova84, 12 years ago

Now my cd burner is visible in any Cd & DVD recording apps.. But BurnitNow and Helios too are not able to burn CDs :-) Any of you is able to use CD/DVD burning apps inside Haiku?

comment:17 by augiedoggie, 12 years ago

I can burn fine from the command line with an IDE cd burner. I often have trouble when using BurnItNow.

Note: See TracTickets for help on using tickets.