LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-30-2012, 03:14 PM   #16
bastl
Member
 
Registered: Sep 2003
Location: Germany/BW
Distribution: My own
Posts: 237

Original Poster
Rep: Reputation: 22

May be this can help:

cdrecord dev=6,0,0 -prcap >
Quote:
Cdrecord-ProDVD-ProBD-Clone 3.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2010 Joerg Schilling
scsidev: '6,0,0'
scsibus: 6 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GH22NS50 '
Revision : 'TN03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.

Drive capabilities, per MMC-3 page 2A:

Does read CD-R media
Does write CD-R media
Does read CD-RW media
Does write CD-RW media
Does read DVD-ROM media
Does read DVD-R media
Does write DVD-R media
Does read DVD-RAM media
Does write DVD-RAM media
Does support test writing

Does read Mode 2 Form 1 blocks
Does read Mode 2 Form 2 blocks
Does read digital audio blocks
Does restart non-streamed digital audio reads accurately
Does support Buffer-Underrun-Free recording
Does read multi-session CDs
Does read fixed-packet CD media using Method 2
Does not read CD bar code
Does not read R-W subcode information
Does read raw P-W subcode data from lead in
Does return CD media catalog number
Does return CD ISRC information
Does support C2 error pointers
Does not deliver composite A/V data

Does play audio CDs
Number of volume control levels: 256
Does support individual volume control setting for each channel
Does support independent mute setting for each channel
Does not support digital output on port 1
Does not support digital output on port 2

Loading mechanism type: tray
Does support ejection of CD via START/STOP command
Does not lock media on power up via prevent jumper
Does allow media to be locked in the drive via PREVENT/ALLOW command
Is not currently in a media-locked state
Does not support changing side of disk
Does not have load-empty-slot-in-changer feature
Does not support Individual Disk Present feature

Maximum read speed: 8467 kB/s (CD 48x, DVD 6x, BD 1x)
Current read speed: 8467 kB/s (CD 48x, DVD 6x, BD 1x)
Maximum write speed: 8468 kB/s (CD 48x, DVD 6x, BD 1x)
Current write speed: 8468 kB/s (CD 48x, DVD 6x, BD 1x)
Rotational control selected: CLV/PCAV
Buffer size in KB: 2048
Copy management revision supported: 1
Number of supported write speeds: 7
Write speed # 0: 8468 kB/s CLV/PCAV (CD 48x, DVD 6x, BD 1x)
Write speed # 1: 7057 kB/s CLV/PCAV (CD 40x, DVD 5x, BD 1x)
Write speed # 2: 5646 kB/s CLV/PCAV (CD 32x, DVD 4x, BD 1x)
Write speed # 3: 4235 kB/s CLV/PCAV (CD 24x, DVD 3x, BD 0x)
Write speed # 4: 2822 kB/s CLV/PCAV (CD 16x, DVD 2x, BD 0x)
Write speed # 5: 1411 kB/s CLV/PCAV (CD 8x, DVD 1x, BD 0x)
Write speed # 6: 706 kB/s CLV/PCAV (CD 4x, DVD 0x, BD 0x)

Current performance according to MMC get performance:
Write Performance:
START LBA: 0
End LBA: 359845
Start Perf: 3725 == 21x CD
END Perf: 8468 == 48x CD

Read Performance:
START LBA: 0
End LBA: 0
Start Perf: 0 == 0x CD
END Perf: 0 == 0x CD


Maximum performance according to MMC get performance:
End LBA: 359845
Read Speed: 8467 == 48x CD
Write Speed: 8468 == 48x CD

End LBA: 359845
Read Speed: 8467 == 48x CD
Write Speed: 7057 == 40x CD

End LBA: 359845
Read Speed: 8467 == 48x CD
Write Speed: 5646 == 32x CD

End LBA: 359845
Read Speed: 8467 == 48x CD
Write Speed: 4235 == 24x CD

End LBA: 359845
Read Speed: 8467 == 48x CD
Write Speed: 2822 == 16x CD

End LBA: 359845
Read Speed: 8467 == 48x CD
Write Speed: 1411 == 8x CD

End LBA: 359845
Read Speed: 8467 == 48x CD
Write Speed: 706 == 4x CD


Supported CD-RW media types according to MMC-4 feature 0x37:
Does write multi speed CD-RW media
Does write high speed CD-RW media
Does write ultra high speed CD-RW media
Does write ultra high speed+ CD-RW media

Supported profiles according to MMC-4 feature list:
Current: CD-R
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD+RW
Profile: DVD+R
Profile: DVD+R/DL
Profile: DVD-ROM
Profile: CD-R (current)
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk

Supported features according to MMC-4 feature list:
Feature: 'Profile List' (current) (persistent)
Feature: 'Core' (current) (persistent)
Feature: 'Morphing' (current) (persistent)
Feature: 'Removable Medium' (current) (persistent)
Feature: 'Write Protect'
Feature: 'Random Readable'
Feature: 'Multi Read'
Feature: 'CD Read'
Feature: 'DVD Read'
Feature: 'Random Writable'
Feature: 'Incremental Streaming Writable' (current)
Feature: 'Formattable'
Feature: 'Defect Management'
Feature: 'Restricted Overwrite'
Feature: 'DVD+RW'
Feature: 'DVD+R'
Feature: 'Rigid Restricted Overwrite'
Feature: 'CD Track at Once' (current)
Feature: 'CD Mastering' (current)
Feature: 'DVD-R/-RW Write'
Feature: 'Layer Jump Recording'
Feature: 'CD-RW Write' (current) (persistent)
Feature: 'DVD+R/DL Read'
Feature: 'Power Management' (current) (persistent)
Feature: 'S.M.A.R.T.'
Feature: 'CD Audio analog play'
Feature: 'Microcode Upgrade'
Feature: 'Time-out' (current) (persistent)
Feature: 'DVD-CSS'
Feature: 'Real Time Streaming' (current)
Feature: 'Logical Unit Serial Number' (current) (persistent) Serial: 'K2ZA7SM4127 '
Feature: 'Disk Control Blocks'
Feature: 'DVD CPRM'
Feature: 'Microcode Information' (current) (persistent)
Feature: 0x0113 (persistent)
Feature: 0xFFCE (current)
 
Old 01-31-2012, 12:41 PM   #17
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Current performance according to MMC get performance:
Write Performance:
START LBA: 0
End LBA: 359845
Start Perf: 3725 == 21x CD
END Perf: 8468 == 48x CD

Read Performance:
START LBA: 0
End LBA: 0
Start Perf: 0 == 0x CD
END Perf: 0 == 0x CD
I don't like that last set of figures :-(.
dev=6,0,0 is also weird. How many drives have you got? I'm normally 1,0,0

Translating from Schilling-speak, that's bus 6. Is there six scsi buses and does your cd only show on the 6th?

Have you /dev/pg0 & pg1) and /dev/sg0 & sg1? If not, make symlinks every time you reboot
 
Old 01-31-2012, 01:32 PM   #18
bastl
Member
 
Registered: Sep 2003
Location: Germany/BW
Distribution: My own
Posts: 237

Original Poster
Rep: Reputation: 22
dev=6,0,0 is /dev/sr0

Have a look on my cdrecord -scanbus:
Quote:
Cdrecord-ProDVD-ProBD-Clone 3.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2010 Joerg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
scsibus0:
0,0,0 0) 'ATA ' 'ST3500320AS ' 'SD15' Disk
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) *
scsibus1:
1,0,0 100) 'ATA ' 'ST3500418AS ' 'CC34' Disk
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
scsibus6:
6,0,0 600) 'HL-DT-ST' 'DVDRAM GH22NS50 ' 'TN03' Removable CD-ROM
6,1,0 601) *
6,2,0 602) *
6,3,0 603) *
6,4,0 604) *
6,5,0 605) *
6,6,0 606) *
6,7,0 607) *
scsibus12:
12,0,0 1200) 'Generic ' 'USB SD Reader ' '1.00' Removable Disk
12,1,0 1201) *
12,2,0 1202) *
12,3,0 1203) *
12,4,0 1204) *
12,5,0 1205) *
12,6,0 1206) *
12,7,0 1207) *
Quote:
Have you /dev/pg0 & pg1
NO I don't have this nodes.
If you can give me major minor I could crate them

Quote:
/dev/sg0 & sg1
Is present

Make symlinks from sg to pg ?
 
Old 01-31-2012, 01:36 PM   #19
bastl
Member
 
Registered: Sep 2003
Location: Germany/BW
Distribution: My own
Posts: 237

Original Poster
Rep: Reputation: 22
Quote:
Read Performance:
START LBA: 0
End LBA: 0
Start Perf: 0 == 0x CD
END Perf: 0 == 0x CD
It could be the wrong written CD in the drive I forgot to take out ?
 
Old 02-01-2012, 03:04 AM   #20
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Its a SATA burner, right?

I've never got any problems quite like what you are getting bastl, but I have had odd issues with SATA CD/DVD drives being used in 'IDE mode' (or 'legacy mode').

You could try changing to SATA mode, and see if that helps.

Warning! If you have win2k/winXP installed an havent gone though the whole 'adding SATA drivers during the install process' changing the HDD/CD/DVD drives from 'IDE' to 'SATA' will make windows fail to boot. As long as you dont try to boot windows, and change the mode back before you do boot windows, everything should be fine. Linux should have no problems booting from IDE mode, SATA mode, or changing modes between boots.
 
Old 02-01-2012, 03:05 AM   #21
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
As for sg0 & pg0, symlinks are fine, in fact unnecessary. I don't have pg* but do have sg0 & sg1 and never had a problem. It does make the cd more visible to cdrecord, as you will see if you add symlinks. It's more Schilling-speak, and my comments on that should be moderated on any decent mailing list :-).
 
Old 02-01-2012, 11:41 AM   #22
bastl
Member
 
Registered: Sep 2003
Location: Germany/BW
Distribution: My own
Posts: 237

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by cascade9 View Post
Its a SATA burner, right?
You could try changing to SATA mode, and see if that helps.
Yes, SATA.
What do you mean with changing to SATA mode ?

Quote:
Originally Posted by business_kid
I don't have pg* but do have sg0 & sg1
Maybe the driver module sg wants sg* named nodes and dosen't uses others ?
Just one moment I'll dry it ...
- sg0 is a char device and sr0 (my burner) is a block device ?? ...
- mknod --mode=660 sg0 c 11 0

Damn, No:
Quote:
Sending CUE sheet...
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01: 0 of 687 MB written.cdrecord: Eingabe-/Ausgabefehler. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 01 17 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 2A 00 00 80 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.004s timeout 200s

write track data: error after 571392 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
Writing time: 25.354s
Average write speed 185,6x.
Fixating...
WARNING: Some drives don't like fixation in dummy mode.
Fixating time: 8.917s
cdrecord: fifo had 73 puts and 10 gets.
cdrecord: fifo was 0 times empty and 2 times full, min fill was 92%.
 
Old 02-02-2012, 01:33 AM   #23
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by bastl View Post
Yes, SATA.
What do you mean with changing to SATA mode ?
In your BIOS you can set SATA devices to be used as SATA (normally 'ACHI mode' or 'native SATA') or you can set them to use an IDE compatibility mode ('IDE mode' or 'legacy mode').

You might already be using native SATA mode, its just something that is worth checking, and trying SATA mode if you arent using it now.
 
Old 02-02-2012, 10:20 AM   #24
bastl
Member
 
Registered: Sep 2003
Location: Germany/BW
Distribution: My own
Posts: 237

Original Poster
Rep: Reputation: 22
I can set it to 'SATA -> AHCI', 'RAID', 'native IDE' or 'legacy IDE' mode.
But the error stays the same.
It is the same error with my old P-ATA burner, the cause I bought this new one.
It suddenly did break with this error.
 
Old 02-02-2012, 11:37 AM   #25
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
At this stage you should get one of your mates to try it and see how it goes. Just divide & conquer. Too many posts here, and you're getting nowhere.
 
Old 02-03-2012, 02:46 AM   #26
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by bastl View Post
I can set it to 'SATA -> AHCI', 'RAID', 'native IDE' or 'legacy IDE' mode.
But the error stays the same.
It is the same error with my old P-ATA burner, the cause I bought this new one.
It suddenly did break with this error.
If you got the problem with the old PATA burner, have changed to a new SATA burner and are still getting the problem, IMO it is software.

business_kid is right, testing the burner(s) in a different machine is easier than trying to work though all the possible software problems.

You could also try loading a liveCD and burning a CD/DVD from the live CD (given 2 CD/DVD drives). Or making a USB flash drive linux distro install and doing a test burn from there.
 
Old 02-03-2012, 05:50 AM   #27
bastl
Member
 
Registered: Sep 2003
Location: Germany/BW
Distribution: My own
Posts: 237

Original Poster
Rep: Reputation: 22
O.K. I'll try.
I also think it is a software problem. I must have changed something and don't know what.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Write-error on swap-device error on package install slack 12.2 chickenlinux Slackware 11 01-25-2009 08:14 PM
aplay: pcm_write:1029: write error: Input/output error mimithebrain Linux - Software 2 12-04-2007 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration