LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SATA DVD+/-RW drive will not write CD/DVDs (https://www.linuxquestions.org/questions/slackware-14/sata-dvd-rw-drive-will-not-write-cd-dvds-631420/)

Bruce Hill 03-29-2008 12:53 AM

SATA DVD+/-RW drive will not write CD/DVDs
 
I replaced a Samsung Model TS-H552U DVD IDE burner with an Asus DRW-2014LT1 SATA burner, and can no longer burn CDs or DVDs. The drive reads media fine, but will not write to anything, either with cdrecord or cdrdao from CLI or K3B to either CDs or DVDs.

The command I used previously with cdrecord to erase a CD-RW was:
Code:

cdrecord -v dev=/dev/hda blank=fast
By changing the device from /dev/hda to /dev/sr0 it blanked CD-RW media without any problems or errors.

This command:
Code:

cdrecord -v driveropts=burnfree dev=/dev/hda /path/to/file.iso
was previously used to burn an ISO image to CD/CD-RW. Now it outputs:
Code:

root@silas:/home/mingdao# cdrecord -v driveropts=burnfree dev=/dev/sr0 slackware-current-install1.iso
cdrecord: No write mode specified.
cdrecord: Asuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C) 1995-2008 J�rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities  :
Vendor_info    : 'ASUS    '
Identifikation : 'DRW-2014L1T    '
Revision      : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-RW
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW (current)
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc  CD-R/CD-RW driver (mmc_cdr).
Driver flags  : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1484032 = 1449 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  683 MB
Total size:      785 MB (77:48.94) = 350171 sectors
Lout start:      785 MB (77:50/71) = 350171 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
Disk Is not unrestricted
Disk Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11745 (97:25/30)
  ATIP start of lead out: 359848 (79:59/73)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 5
  A1 values: 24 1A D8
  A2 values: 26 B2 4A
Disk type:    Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.

    Capacity  Blklen/Sparesz.  Format-type  Type
      359848            2048        0x00  Unformated or Blank Media
          0          6550273        0x10  Reserved (0)
          0          6550273        0x11  Reserved (0)
          0          6550273        0x12  Reserved (0)
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 9677
Starting to write CD/DVD/BD at speed 10 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
Sending CUE sheet...
cdrecord: CUE sheet not accepted. Retrying with minimum pregapsize = 1.
cdrecord: Input/output error. send_cue_sheet: scsi sendcmd: no error
CDB:  5D 00 00 00 00 00 00 00 20 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 200s
cdrecord: CUE sheet still not accepted. Please try to write in RAW (-raw96r) mode.
cdrecord: Cannot send CUE sheet.
cdrecord: Could not write Lead-in.
Writing  time:  31.602s
BURN-Free was never needed.
cdrecord: fifo had 64 puts and 0 gets.
cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

K3B provided this output:
Code:

System
-----------------------
K3b Version: 1.0.4

KDE Version: 3.5.9
QT Version:  3.3.8b
Kernel:      2.6.24.4
Devices
-----------------------
ASUS DRW-2014L1T 1.00 (/dev/sr0, ) [CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump]

Used versions
-----------------------
cdrecord: 2.1.1a37

cdrecord
-----------------------
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C) 1995-2008 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities  :
Vendor_info    : 'ASUS    '
Identifikation : 'DRW-2014L1T    '
Revision      : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-RW
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW (current)
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc  CD-R/CD-RW driver (mmc_cdr).
Driver flags  : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1484032 = 1449 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  683 MB       
Total size:      785 MB (77:48.94) = 350171 sectors
Lout start:      785 MB (77:50/71) = 350171 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
Disk Is not unrestricted
Disk Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11745 (97:25/30)
  ATIP start of lead out: 359848 (79:59/73)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 5
  A1 values: 24 1A D8
  A2 values: 26 B2 4A
Disk type:    Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
    Capacity  Blklen/Sparesz.  Format-type  Type
      359848            2048        0x00  Unformated or Blank Media
          0          6550273        0x10  Reserved (0)
          0          6550273        0x11  Reserved (0)
          0          6550273        0x12  Reserved (0)
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 9677
Starting to write CD/DVD/BD at speed 10 in real SAO mode for single session.
Last chance to quit, starting real write in 3 seconds.
  2 seconds.
  1 seconds.
  0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Turning BURN-Free on
Performing OPC...
Sending CUE sheet...
/usr/bin/cdrecord: CUE sheet not accepted. Retrying with minimum pregapsize = 1.
/usr/bin/cdrecord: Input/output error. send_cue_sheet: scsi sendcmd: no error
CDB:  5D 00 00 00 00 00 00 00 20 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 200s
/usr/bin/cdrecord: CUE sheet still not accepted. Please try to write in RAW (-raw96r) mode.
/usr/bin/cdrecord: Cannot send CUE sheet.
/usr/bin/cdrecord: Could not write Lead-in.
Writing  time:  25.597s
BURN-Free was never needed.
/usr/bin/cdrecord: fifo had 64 puts and 0 gets.
/usr/bin/cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=10 -dao driveropts=burnfree -eject -data -tsize=350171s -

The K3B GUI said:
Quote:

Unable to send CUE sheet.
Sometimes using TAO writing mode solves this issue.
So I tried TAO mode with K3B:
Code:

System
-----------------------
K3b Version: 1.0.4

KDE Version: 3.5.9
QT Version:  3.3.8b
Kernel:      2.6.24.4
Devices
-----------------------
ASUS DRW-2014L1T 1.00 (/dev/sr0, ) [CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump]

Used versions
-----------------------
cdrecord: 2.1.1a37

cdrecord
-----------------------
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C) 1995-2008 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities  :
Vendor_info    : 'ASUS    '
Identifikation : 'DRW-2014L1T    '
Revision      : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-RW
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW (current)
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc  CD-R/CD-RW driver (mmc_cdr).
Driver flags  : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1484032 = 1449 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data  683 MB       
Total size:      785 MB (77:48.97) = 350173 sectors
Lout start:      785 MB (77:50/73) = 350173 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
Disk Is not unrestricted
Disk Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11745 (97:25/30)
  ATIP start of lead out: 359848 (79:59/73)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 5
  A1 values: 24 1A D8
  A2 values: 26 B2 4A
Disk type:    Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
    Capacity  Blklen/Sparesz.  Format-type  Type
      359848            2048        0x00  Unformated or Blank Media
          0          6550273        0x10  Reserved (0)
          0          6550273        0x11  Reserved (0)
          0          6550273        0x12  Reserved (0)
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 9675
Starting to write CD/DVD/BD at speed 10 in real TAO mode for single session.
Last chance to quit, starting real write in 3 seconds.
  2 seconds.
  1 seconds.
  0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
Starting new track at sector: 0
Track 01:    0 of  683 MB written.
Track 01:    1 of  683 MB written (fifo  98%) [buf 100%]  6.3x.
<snip>
Track 01:  683 of  683 MB written (fifo 100%) [buf 100%]  10.0x.
Track 01: Total bytes read/written: 717150208/717150208 (350171 sectors).
Writing  time:  505.585s
Average write speed  9.9x.
Min drive buffer fill was 100%
Fixating...
Fixating time:  41.525s
BURN-Free was never needed.
/usr/bin/cdrecord: fifo had 11296 puts and 11296 gets.
/usr/bin/cdrecord: fifo was 0 times empty and 11215 times full, min fill was 87%.

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=10 -tao driveropts=burnfree -eject -data -tsize=350171s -

and in the GUI it output:
Quote:

Writing successfully completed
Average overall write speed: 1500 KB/s (10.00x)
Internal Error: Verification job improperly initialized (Specified track number not found on medium)
Since it seemed to write something, I ran these commands to verify it:
Code:

mingdao@silas:~$ echo $(( $(ls -l slackware-current-install1.iso | awk '{ print $5 }') / 2048 ))
350171

mingdao@silas:~$ dd if=/dev/sr0 bs=2048 count=350171 | md5sum
dd: opening `/dev/sr0': No medium found
d41d8cd98f00b204e9800998ecf8427e  -

Since both cdrecord and K3B suggest writing in RAW mode, I did ...
Code:

root@silas:~# cdblocks=2048 mkisofs -print-size /home/mingdao/slackware-current-install1.iso
Setting input-charset to 'UTF-8' from locale.
Total extents scheduled to be written = 350345
350345

root@silas:/home/mingdao# mkisofs -R slackware-current-install1.iso | cdrecord speed=10 -raw96r driveropts=burnfree dev=/dev/sr0 tsize=350345s -
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C) 1995-2008 J�rg Schilling
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Setting input-charset to 'UTF-8' from locale.
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities  :
Vendor_info    : 'ASUS    '
Identifikation : 'DRW-2014L1T    '
Revision      : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc  CD-R/CD-RW driver (mmc_cdr).
Driver flags  : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD/BD at speed 10 in real RAW/RAW96R mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
cdrecord: WARNING: Drive returns wrong startsec (0) using -11745 from ATIP
  1.43% done, estimate finish Sat Mar 29 13:07:24 2008
<snip>
 99.90% done, estimate finish Sat Mar 29 12:38:14 2008
Total translation table size: 0
Total rockridge attributes bytes: 295
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
350346 extents written (684 MB)
Track 01: Total bytes read/written: 857644560/857644560 (350345 sectors).
cdrecord: Drive needs to reload the media to return to proper status.
Re-load disk and hit <CR>
root@silas:/home/mingdao#

It looks like it wrote it, but check out the verification:
Code:

root@silas:/home/mingdao# dd if=/dev/sr0 bs=2048 count=350171 | md5sum
dd: reading `/dev/sr0': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00207661 s, 0.0 kB/s
d41d8cd98f00b204e9800998ecf8427e  -

And just in case the mkisofs command to get the size of the filesystem correct, it was also run with the size of the extents from the mkisofs1.log where it created the ISO image:
Code:

root@silas:/home/mingdao# mkisofs -R slackware-current-install1.iso | cdrecord speed=10 -raw96r driveropts=burnfree dev=/dev/sr0 tsize=350171s -
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C) 1995-2008 J�rg Schilling
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Setting input-charset to 'UTF-8' from locale.
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities  :
Vendor_info    : 'ASUS    '
Identifikation : 'DRW-2014L1T    '
Revision      : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc  CD-R/CD-RW driver (mmc_cdr).
Driver flags  : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD/BD at speed 10 in real RAW/RAW96R mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
cdrecord: WARNING: Drive returns wrong startsec (0) using -11745 from ATIP
  1.43% done, estimate finish Sat Mar 29 14:47:02 2008
<snip>
 74.21% done, estimate finish Sat Mar 29 13:00:09 2008
cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 03 F9 5A 00 00 1A 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 71 00 03 00 00 00 00 0A 00 00 00 00 0C 00 00 00
Sense Key: 0x3 Medium Error, deferred error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.025s timeout 40s
write track data: error after 637562016 bytes
cdrecord: A write error occured.
cdrecord: Please properly read the error message above.
cdrecord: Input/output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 08 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x08 (logical unit not ready, long write in progress) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.039s timeout 40s
cdrecord: Drive needs to reload the media to return to proper status.

For copying VCDs this command has always worked:
Code:

root@silas:/home/mingdao# cdrdao copy --device /dev/sr0 --source-device /dev/sr0
Cdrdao version 1.2.1 - (C) Andreas Mueller <andreas@daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Using libscg version 'schily-0.8'

/dev/sr0: ASUS DRW-2014L1T      Rev: 1.00
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)

Starting CD copy at speed 40...

Track  Mode    Flags  Start                Length
------------------------------------------------------------
 1      DATA    4      00:00:00(    0)    00:16:02(  1202)
 2      DATA    4      00:16:02(  1202)    60:11:35(270860)
Leadout DATA    4      60:27:37(272062)

PQ sub-channel reading (data track) is supported, data format is BCD.
Raw P-W sub-channel reading (data track) is supported.
Cooked R-W sub-channel reading (data track) is supported.
Copying data track 1 (MODE2_RAW): start 00:00:00, length 00:16:02 to "cddata8975.bin"...
Copying data track 2 (MODE2_RAW): start 00:16:02, length 60:11:35 to "cddata8975.bin"...
Please insert a recordable medium and hit enter.

ERROR: Cannot determine disk status - hit enter to try again.

Turning BURN-Proof on
Enabling JustLink.
Executing power calibration...
Power calibration successful.
Writing track 01 (mode MODE2_RAW/MODE2_RAW )...
Writing track 02 (mode MODE2_RAW/MODE2_RAW )...
Wrote 610 of 610 MB (Buffers 100% 100%).
Wrote 272062 blocks. Buffer fill min 84%/max 100%.
Flushing cache...
Writing finished successfully.
CD copying finished successfully.
root@silas:/home/mingdao#

It doesn't work either -- /var/log/messages filled up with this:
Code:

Mar 29 13:27:39 silas kernel: sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
Mar 29 13:27:39 silas kernel: sr 1:0:0:0: [sr0] Sense Key : 0x3 [current]
Mar 29 13:27:39 silas kernel: sr 1:0:0:0: [sr0] ASC=0x11 ASCQ=0x5

and this is what happened when I tried to play the VCD:
Code:

mingdao@silas:~$ mplayer vcd://01 vcd://02 /dev/sr0
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 4, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing vcd://01.
CD-ROM Device '/dev/cdrom' not found.
Failed to open vcd://01.


Playing vcd://02.
CD-ROM Device '/dev/cdrom' not found.
Failed to open vcd://02.


Playing /dev/sr0.


Exiting... (End of file)

What gives?

I'm running Slackware -current as of Mar 26. Tried with the Slackware-2.6.24.3 kernel, and my own custom kernel. My kernel has no ATA support, only SATA ... since I have a SATA hard drive as well as this SATA DVD writer.

Similar results using growisofs or K3B for burning DVDs.

Has anyone learned how to write to SATA DVD burners?

urka58 03-29-2008 07:07 AM

Just a few command's outputs, just to try understanding what's the matter with the device.

Code:

lsmod
cdrecord -scanbus
ls -l /usr/bin/cdrecord
dmesg | grep sd*
dmesg | grep sr*

Ciao

Bruce Hill 03-29-2008 08:59 AM

This problem exists with 2 kernels. However, because of length, only data from one is posted -- and that must be in two posts.

root@silas:~# uname -a
Linux silas 2.6.24.3-smp #1 SMP Wed Mar 19 00:35:38 CDT 2008 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux

Code:

root@silas:~# lsmod
Module                  Size  Used by
snd_seq_dummy          6660  0
snd_seq_oss            32896  0
snd_seq_midi_event    10112  1 snd_seq_oss
snd_seq                50256  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            40352  0
snd_mixer_oss          17920  1 snd_pcm_oss
ipv6                  234596  12
nfs                  124524  3
lockd                  64136  2 nfs
sunrpc                163100  10 nfs,lockd
nls_iso8859_1          7808  1
nls_cp437              9472  1
vfat                  14592  1
fat                    49692  1 vfat
lp                    13348  0
parport_pc            27556  0
parport                34632  2 lp,parport_pc
fuse                  45588  3
rtc_cmos              11040  0
rtc_core              18696  1 rtc_cmos
rtc_lib                6528  1 rtc_core
psmouse                40336  0
serio_raw              9092  0
k8temp                  8192  0
snd_via82xx            26520  0
hwmon                  6276  1 k8temp
i2c_viapro            11156  0
snd_mpu401_uart        10496  1 snd_via82xx
ehci_hcd              35468  0
nvidia              7484416  24
i2c_core              22528  2 i2c_viapro,nvidia
snd_emu10k1          136128  1
snd_rawmidi            22560  2 snd_mpu401_uart,snd_emu10k1
snd_ac97_codec        98724  2 snd_via82xx,snd_emu10k1
thermal                16540  0
ac97_bus                5760  1 snd_ac97_codec
snd_pcm                72068  5 snd_pcm_oss,snd_via82xx,snd_emu10k1,snd_ac97_codec
button                10000  0
snd_seq_device        10380  5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
processor              32680  1 thermal
snd_timer              22532  3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc        11528  3 snd_via82xx,snd_emu10k1,snd_pcm
emu10k1_gp              6656  0
snd_util_mem            7424  1 snd_emu10k1
amd64_agp              13316  1
agpgart                30664  2 nvidia,amd64_agp
gameport              14472  3 snd_via82xx,emu10k1_gp
skge                  41104  0
evdev                  12672  5
snd_hwdep              10756  1 snd_emu10k1
snd                    47716  14 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_mpu401_uart,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep
shpchp                32788  0
usblp                  15616  0
soundcore              9824  1 snd
sg                    30224  0
usbhid                43136  0
hid                    37376  1 usbhid
uhci_hcd              25996  0
jfs                  177516  4

root@silas:~# cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a37 (i686-pc-linux-gnu) Copyright (C) 1995-2008 J�rg Schilling
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
scsibus0:
        0,0,0    0) 'ATA    ' 'WDC WD740GD-00FL' '33.0' 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) 'ASUS    ' 'DRW-2014L1T    ' '1.00' Removable CD-ROM
        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) *
scsibus1000:
        1000,0,0 100000) 'TSSTcorp' 'CD/DVDW TS-H552U' 'US06' Removable CD-ROM
        1000,1,0 100001) *
        1000,2,0 100002) *
        1000,3,0 100003) *
        1000,4,0 100004) *
        1000,5,0 100005) *
        1000,6,0 100006) *
        1000,7,0 100007) *

root@silas:~# ls -l /usr/bin/cdrecord
-rws--x--x 1 root root 361988 2008-02-28 14:01 /usr/bin/cdrecord

root@silas:~# dmesg | grep sd*
Linux version 2.6.24.3-smp (root@midas) (gcc version 4.2.3) #1 SMP Wed Mar 19 00:35:38 CDT 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007ff30000 (usable)
 BIOS-e820: 000000007fff0000 - 0000000080000000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 524080) 0 entries of 256 used
Zone PFN ranges:
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
On node 0 totalpages: 524080
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1760 pages used for memmap
  Normal zone: 223520 pages, LIFO batch:31
  HighMem zone: 2302 pages used for memmap
  HighMem zone: 292402 pages, LIFO batch:31
  Movable zone: 0 pages used for memmap
DMI 2.3 present.
ACPI: Local APIC address 0xfee00000
Processor #0 15:4 APIC version 16
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 3, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 88000000 (gap: 80000000:7ff80000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000e4000
swsusp: Registered nosave memory region: 00000000000e4000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 519986
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2002.590 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2071792k/2096320k available (2781k kernel code, 23424k reserved, 1093k data, 260k init, 1178816k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Calibrating delay using timer specific routine.. 4009.92 BogoMIPS (lpj=8019843)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 078bfbff e1d3fbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: After all inits, caps: 078bfbff e1d3fbff 00000000 00000410 00000000 00000000 00000000 00000000
Intel machine check architecture supported.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
ACPI: Core revision 20070126
CPU0: AMD Athlon(tm) 64 Processor 3200+ stepping 0a
Total of 1 processors activated (4009.92 BogoMIPS).
ENABLING IO-APIC IRQs
Brought up 1 CPUs
net_namespace: 64 bytes
xor: automatically using best checksumming function: pIII_sse
  pIII_sse  :  6407.000 MB/sec
xor: using function: pIII_sse (6407.000 MB/sec)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: enabled onboard AC97/MC97 devices
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: bus type pnp registered
pnp: PnP ACPI: found 10 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
Time: tsc clocksource has been installed.
system 00:06: ioport range 0x295-0x296 has been reserved
system 00:06: ioport range 0x3e1-0x3e7 has been reserved
system 00:06: ioport range 0x4d0-0x4d1 has been reserved
system 00:06: ioport range 0x800-0x87f has been reserved
system 00:06: ioport range 0x400-0x41f has been reserved
system 00:07: iomem range 0xfec00000-0xfec00fff has been reserved
system 00:07: iomem range 0xfee00000-0xfee00fff has been reserved
system 00:07: iomem range 0xfff80000-0xffffffff could not be reserved
system 00:09: iomem range 0x0-0x9ffff could not be reserved
system 00:09: iomem range 0xc0000-0xdffff could not be reserved
system 00:09: iomem range 0xe0000-0xfffff could not be reserved
system 00:09: iomem range 0x100000-0x7ffeffff could not be reserved
system 00:09: iomem range 0x0-0x0 could not be reserved
  IO window: disabled.
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs... it is
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: VIA PCI bridge detected. Disabling DAC.
Boot video device is 0000:01:00.0
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
vesafb: framebuffer at 0xd0000000, mapped to 0xf8880000, using 5120k, total 131072k
vesafb: mode is 1280x1024x16, linelength=2560, pages=1
vesafb: protected mode interface info at c000:d290
vesafb: pmi: set display start = c00cd2c6, set palette = c00cd330
vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 160x64
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
input: Macintosh mouse button emulation as /devices/virtual/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at  PCI slot 0000:00:0f.1
VP_IDE: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
Uniform CD-ROM driver Revision: 3.20
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sata_via 0000:00:0f.0: version 2.3
sata_via 0000:00:0f.0: routed to hard irq line 11
scsi0 : sata_via
scsi1 : sata_via
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: 145226112 sectors, multi 16: LBA48
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
scsi 0:0:0:0: Direct-Access    ATA      WDC WD740GD-00FL 33.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 1:0:0:0: CD-ROM            ASUS    DRW-2014L1T      1.00 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0
usbmon: debugfs is not available
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
raid6: int32x1    690 MB/s
raid6: int32x2    795 MB/s
raid6: int32x4    761 MB/s
raid6: int32x8    490 MB/s
raid6: mmxx1    1594 MB/s
raid6: mmxx2    2972 MB/s
raid6: sse1x1    1272 MB/s
raid6: sse1x2    2021 MB/s
raid6: sse2x1    2126 MB/s
raid6: sse2x2    3047 MB/s
raid6: using algorithm sse2x2 (3047 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Freeing unused kernel memory: 260k freed
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:10.0: irq 17, io base 0x0000b400
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.1: irq 17, io base 0x0000b800
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.2: irq 17, io base 0x0000c000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: 2 ports detected
usb 1-1: new full speed USB device using uhci_hcd and address 2
uhci_hcd 0000:00:10.3: UHCI Host Controller
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.3: irq 17, io base 0x0000c400
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: 2 ports detected
usb 1-1: configuration #1 chosen from 1 choice
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usb 2-2: new low speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.0/input/input1
input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:10.1-1
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.1/input/input2
input,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:10.1-1
input: Microsoft Microsoft Wireless Optical Mouse� 1.00 as /devices/pci0000:00/0000:00:10.1/usb2/2-2/2-2:1.0/input/input3
input,hidraw2: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Mouse� 1.00] on usb-0000:00:10.1-2
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 1:0:0:0: Attached scsi generic sg1 type 5
skge 1.13 addr 0xfde00000 irq 18 chip Yukon-Lite rev 7
skge eth0: addr 00:11:2f:e0:b7:65
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
gameport: EMU10K1 is pci0000:00:0c.1/gameport0, io 0xe800, speed 1217kHz
agpgart: AGP aperture is 128M @ 0xf0000000
usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5B11
usbcore: registered new interface driver usblp
input: Power Button (FF) as /devices/virtual/input/input4
input: Power Button (CM) as /devices/virtual/input/input5
input: Sleep Button (CM) as /devices/virtual/input/input6
thermal: Unknown symbol acpi_processor_set_thermal_limit
Installing spdif_bug patch: Audigy 1 ES [SB0160]
nvidia: module license 'NVIDIA' taints kernel.
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: 8 ports detected
usb 5-1: new high speed USB device using ehci_hcd and address 2
rtc_cmos: probe of 00:02 failed with error -16
usb 5-1: configuration #1 chosen from 1 choice
usblp1: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5B11
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
usb 1-1: USB disconnect, address 2
usblp0: removed
usb 2-2: USB disconnect, address 3
usb 2-1: reset low speed USB device using uhci_hcd and address 2
usb 2-2: new low speed USB device using uhci_hcd and address 4
usb 2-2: configuration #1 chosen from 1 choice
input: Microsoft Microsoft Wireless Optical Mouse� 1.00 as /devices/pci0000:00/0000:00:10.1/usb2/2-2/2-2:1.0/input/input7
input,hidraw2: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Mouse� 1.00] on usb-0000:00:10.1-2
Adding 498004k swap on /dev/sda3.  Priority:-1 extents:1 across:498004k
usb 2-1: reset low speed USB device using uhci_hcd and address 2
fuse init (API version 7.9)
lp: driver loaded but no devices found
skge eth0: enabling interface
skge eth0: Link is up at 100 Mbps, full duplex, flow control both
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present

(continued in next post...)

Bruce Hill 03-29-2008 09:00 AM

Code:

root@silas:~# dmesg | grep sr*
Linux version 2.6.24.3-smp (root@midas) (gcc version 4.2.3) #1 SMP Wed Mar 19 00:35:38 CDT 2008
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007ff30000 (usable)
 BIOS-e820: 000000007fff0000 - 0000000080000000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 524080) 0 entries of 256 used
Zone PFN ranges:
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
On node 0 totalpages: 524080
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 1760 pages used for memmap
  Normal zone: 223520 pages, LIFO batch:31
  HighMem zone: 2302 pages used for memmap
  HighMem zone: 292402 pages, LIFO batch:31
  Movable zone: 0 pages used for memmap
DMI 2.3 present.
ACPI: Local APIC address 0xfee00000
Processor #0 15:4 APIC version 16
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 3, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 88000000 (gap: 80000000:7ff80000)
swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000e4000
swsusp: Registered nosave memory region: 00000000000e4000 - 0000000000100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 519986
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2002.590 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2071792k/2096320k available (2781k kernel code, 23424k reserved, 1093k data, 260k init, 1178816k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Calibrating delay using timer specific routine.. 4009.92 BogoMIPS (lpj=8019843)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 078bfbff e1d3fbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: After all inits, caps: 078bfbff e1d3fbff 00000000 00000410 00000000 00000000 00000000 00000000
Intel machine check architecture supported.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
ACPI: Core revision 20070126
CPU0: AMD Athlon(tm) 64 Processor 3200+ stepping 0a
Total of 1 processors activated (4009.92 BogoMIPS).
ENABLING IO-APIC IRQs
Brought up 1 CPUs
net_namespace: 64 bytes
xor: automatically using best checksumming function: pIII_sse
  pIII_sse  :  6407.000 MB/sec
xor: using function: pIII_sse (6407.000 MB/sec)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: (supports S0 S1 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: enabled onboard AC97/MC97 devices
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 10 11 14 15) *0, disabled.
ACPI: bus type pnp registered
pnp: PnP ACPI: found 10 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
Time: tsc clocksource has been installed.
system 00:06: ioport range 0x295-0x296 has been reserved
system 00:06: ioport range 0x3e1-0x3e7 has been reserved
system 00:06: ioport range 0x4d0-0x4d1 has been reserved
system 00:06: ioport range 0x800-0x87f has been reserved
system 00:06: ioport range 0x400-0x41f has been reserved
system 00:07: iomem range 0xfec00000-0xfec00fff has been reserved
system 00:07: iomem range 0xfee00000-0xfee00fff has been reserved
system 00:07: iomem range 0xfff80000-0xffffffff could not be reserved
system 00:09: iomem range 0x0-0x9ffff could not be reserved
system 00:09: iomem range 0xc0000-0xdffff could not be reserved
system 00:09: iomem range 0xe0000-0xfffff could not be reserved
system 00:09: iomem range 0x100000-0x7ffeffff could not be reserved
system 00:09: iomem range 0x0-0x0 could not be reserved
  IO window: disabled.
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs... it is
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: VIA PCI bridge detected. Disabling DAC.
Boot video device is 0000:01:00.0
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
vesafb: framebuffer at 0xd0000000, mapped to 0xf8880000, using 5120k, total 131072k
vesafb: mode is 1280x1024x16, linelength=2560, pages=1
vesafb: protected mode interface info at c000:d290
vesafb: pmi: set display start = c00cd2c6, set palette = c00cd330
vesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 160x64
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
input: Macintosh mouse button emulation as /devices/virtual/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at  PCI slot 0000:00:0f.1
VP_IDE: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
Uniform CD-ROM driver Revision: 3.20
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sata_via 0000:00:0f.0: version 2.3
sata_via 0000:00:0f.0: routed to hard irq line 11
scsi0 : sata_via
scsi1 : sata_via
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: 145226112 sectors, multi 16: LBA48
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
scsi 0:0:0:0: Direct-Access    ATA      WDC WD740GD-00FL 33.0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 1:0:0:0: CD-ROM            ASUS    DRW-2014L1T      1.00 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0
usbmon: debugfs is not available
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
raid6: int32x1    690 MB/s
raid6: int32x2    795 MB/s
raid6: int32x4    761 MB/s
raid6: int32x8    490 MB/s
raid6: mmxx1    1594 MB/s
raid6: mmxx2    2972 MB/s
raid6: sse1x1    1272 MB/s
raid6: sse1x2    2021 MB/s
raid6: sse2x1    2126 MB/s
raid6: sse2x2    3047 MB/s
raid6: using algorithm sse2x2 (3047 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
md: multipath personality registered for level -4
device-mapper: ioctl: 4.12.0-ioctl (2007-10-02) initialised: dm-devel@redhat.com
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Freeing unused kernel memory: 260k freed
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:10.0: irq 17, io base 0x0000b400
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.1: irq 17, io base 0x0000b800
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.2: irq 17, io base 0x0000c000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: 2 ports detected
usb 1-1: new full speed USB device using uhci_hcd and address 2
uhci_hcd 0000:00:10.3: UHCI Host Controller
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:10.3: irq 17, io base 0x0000c400
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: 2 ports detected
usb 1-1: configuration #1 chosen from 1 choice
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usb 2-2: new low speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.0/input/input1
input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:10.1-1
input: Logitech USB Receiver as /devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.1/input/input2
input,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:10.1-1
input: Microsoft Microsoft Wireless Optical Mouse� 1.00 as /devices/pci0000:00/0000:00:10.1/usb2/2-2/2-2:1.0/input/input3
input,hidraw2: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Mouse� 1.00] on usb-0000:00:10.1-2
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 1:0:0:0: Attached scsi generic sg1 type 5
skge 1.13 addr 0xfde00000 irq 18 chip Yukon-Lite rev 7
skge eth0: addr 00:11:2f:e0:b7:65
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
gameport: EMU10K1 is pci0000:00:0c.1/gameport0, io 0xe800, speed 1217kHz
agpgart: AGP aperture is 128M @ 0xf0000000
usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5B11
usbcore: registered new interface driver usblp
input: Power Button (FF) as /devices/virtual/input/input4
input: Power Button (CM) as /devices/virtual/input/input5
input: Sleep Button (CM) as /devices/virtual/input/input6
thermal: Unknown symbol acpi_processor_set_thermal_limit
Installing spdif_bug patch: Audigy 1 ES [SB0160]
nvidia: module license 'NVIDIA' taints kernel.
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: 8 ports detected
usb 5-1: new high speed USB device using ehci_hcd and address 2
rtc_cmos: probe of 00:02 failed with error -16
usb 5-1: configuration #1 chosen from 1 choice
usblp1: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x5B11
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
codec_read: codec 0 is not valid [0xfe0000]
usb 1-1: USB disconnect, address 2
usblp0: removed
usb 2-2: USB disconnect, address 3
usb 2-1: reset low speed USB device using uhci_hcd and address 2
usb 2-2: new low speed USB device using uhci_hcd and address 4
usb 2-2: configuration #1 chosen from 1 choice
input: Microsoft Microsoft Wireless Optical Mouse� 1.00 as /devices/pci0000:00/0000:00:10.1/usb2/2-2/2-2:1.0/input/input7
input,hidraw2: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Mouse� 1.00] on usb-0000:00:10.1-2
Adding 498004k swap on /dev/sda3.  Priority:-1 extents:1 across:498004k
usb 2-1: reset low speed USB device using uhci_hcd and address 2
fuse init (API version 7.9)
lp: driver loaded but no devices found
skge eth0: enabling interface
skge eth0: Link is up at 100 Mbps, full duplex, flow control both
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: no IPv6 routers present

This is the output of dmesg just for the drives:
Code:

root@silas:~# dmesg | grep hda
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
hda: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache

root@silas:~# dmesg | grep sr0
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0

I've put the IDE drive back in because it works.

Thanks for your response.

Bruce Hill 03-29-2008 09:16 AM

I notice this difference on 3 of our other Slackware systems:
Code:

mingdao@james:~$ ls -l /usr/bin/cdrecord
-rwxr-xr-x 1 root root 361988 2008-02-28 14:01 /usr/bin/cdrecord

anna@peter:~$ ls -l /usr/bin/cdrecord
-rwxr-xr-x 1 root root 361668 2007-11-29 15:05 /usr/bin/cdrecord

mingdao@titus:~$ ls -l /usr/bin/cdrecord
-rwxr-xr-x 1 root root 361668 2007-11-29 15:05 /usr/bin/cdrecord

Though on the system in question, cdrecord does burn successfully with the IDE DVD burner.

Edit: K3B setup changed these perms ...

Bruce Hill 04-10-2008 10:17 AM

Update: I've installed cdrtools-2.01.01a38-i486-1.tgz and dvd+rw-tools-7.1-i486-1.tgz from -current.

No change for the SATA drive ...

disturbed1 04-10-2008 01:05 PM

Some bios chipsets do not support SATA optical drives. If you have SATA hard discs that are reported as SATA so should the optical drive. If the optical drive is reported as IDE, check with your vendor for an upgrade.

There's a lot of info out there on this subject. One or 2 might be relivant to your situation.
http://www.google.com/search?ie=UTF-...ata+dvd+burner
http://bbs.archlinux.org/viewtopic.php?pid=324503

Bruce Hill 04-11-2008 08:59 PM

The SATA optical drive is not reported as IDE.

Here's the output of dmesg as it reads the IDE and SATA controllers:
Code:

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at  PCI slot 0000:00:0f.1
ACPI: PCI Interrupt 0000:00:0f.1[A] -> GSI 20 (level, low) -> IRQ 17
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
Switched to high resolution mode on CPU 0
hda: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/33 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdd: IRQ probe failed (0xfffebdfe)
hdd: IRQ probe failed (0xfffebdfe)
hdc: ST3802110A, ATA DISK drive
hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
hdc: UDMA/100 mode selected
ide1 at 0x170-0x177,0x376 on irq 15
hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
sata_via 0000:00:0f.0: version 2.3
ACPI: PCI Interrupt 0000:00:0f.0[B] -> GSI 20 (level, low) -> IRQ 17
sata_via 0000:00:0f.0: routed to hard irq line 11
scsi0 : sata_via
scsi1 : sata_via
ata1: SATA max UDMA/133 cmd 0xe400 ctl 0xe000 bmdma 0xd000 irq 17
ata2: SATA max UDMA/133 cmd 0xd800 ctl 0xd400 bmdma 0xd008 irq 17
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: ATAPI: ASUS    DRW-2014L1T, 1.02, max UDMA/66
ata1.00: configured for UDMA/66
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: ATA-6: WDC WD740GD-00FLC0, 33.08F33, max UDMA/133
ata2.00: 145226112 sectors, multi 16: LBA48
ata2.00: configured for UDMA/133
scsi 0:0:0:0: CD-ROM            ASUS    DRW-2014L1T      1.02 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
sr 0:0:0:0: Attached scsi CD-ROM sr0
sr 0:0:0:0: Attached scsi generic sg0 type 5
scsi 1:0:0:0: Direct-Access    ATA      WDC WD740GD-00FL 33.0 PQ: 0 ANSI: 5
sd 1:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sda] 145226112 512-byte hardware sectors (74356 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sd 1:0:0:0: [sda] Attached SCSI disk
sd 1:0:0:0: Attached scsi generic sg1 type 0

Thanks for the search hits. I've read all of them, and a lot more.

H_TeXMeX_H 04-12-2008 04:23 AM

Could you also post the output of '/sbin/lspci -vv'.

Bruce Hill 04-12-2008 05:12 AM

Code:

root@silas:~# lspci -vv
00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
        Subsystem: ASUSTeK Computer Inc. K8V Deluxe/K8V-X motherboard
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 8
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [80] AGP version 3.5
                Status: RQ=32 Iso- ArqSz=0 Cal=2 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x8
                Command: RQ=1 ArqSz=0 Cal=2 SBA+ AGP+ GART64- 64bit- FW- Rate=x8
        Capabilities: [c0] HyperTransport: Slave or Primary Interface
                !!! Possibly incomplete decoding
                Command: BaseUnitID=0 UnitCnt=3 MastHost- DefDir-
                Link Control 0: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
                Link Config 0: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
                Link Control 1: CFlE- CST- CFE- <LkFail+ Init- EOC+ TXO+ <CRCErr=0
                Link Config 1: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
                Revision ID: 1.02
        Capabilities: [68] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] HyperTransport: Interrupt Discovery and Configuration

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South] (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: f9700000-fd8fffff
        Prefetchable memory behind bridge: cff00000-efefffff
        Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR+ <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
        Subsystem: ASUSTeK Computer Inc. Marvell 88E8001 Gigabit Ethernet Controller (Asus)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (5750ns min, 7750ns max), Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at fde00000 (32-bit, non-prefetchable) [size=16K]
        Region 1: I/O ports at ec00 [size=256]
        Expansion ROM at fdd00000 [disabled] [size=128K]
        Capabilities: [48] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [50] Vital Product Data <?>
        Kernel driver in use: skge

00:0c.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
        Subsystem: Creative Labs Unknown device 0052
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (500ns min, 5000ns max)
        Interrupt: pin A routed to IRQ 16
        Region 0: I/O ports at b000 [size=32]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: EMU10K1_Audigy
        Kernel modules: snd-emu10k1

00:0c.1 Input device controller: Creative Labs SB Audigy Game Port (rev 03)
        Subsystem: Creative Labs SB Audigy MIDI/Game Port
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Region 0: I/O ports at e800 [size=8]
        Capabilities: [dc] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
        Subsystem: ASUSTeK Computer Inc. A7V600/K8V Deluxe/K8V-X/A8V Deluxe motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Interrupt: pin B routed to IRQ 17
        Region 0: I/O ports at e400 [size=8]
        Region 1: I/O ports at e000 [size=4]
        Region 2: I/O ports at d800 [size=8]
        Region 3: I/O ports at d400 [size=4]
        Region 4: I/O ports at d000 [size=16]
        Region 5: I/O ports at c800 [size=256]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: sata_via

00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
        Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32
        Interrupt: pin A routed to IRQ 17
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
        Region 4: I/O ports at fc00 [size=16]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: VIA_IDE

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
        Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 18
        Region 4: I/O ports at b400 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: uhci_hcd

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
        Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 256 bytes
        Interrupt: pin A routed to IRQ 18
        Region 4: I/O ports at b800 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: uhci_hcd

00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
        Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 256 bytes
        Interrupt: pin B routed to IRQ 18
        Region 4: I/O ports at c000 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME+
        Kernel driver in use: uhci_hcd

00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
        Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 256 bytes
        Interrupt: pin B routed to IRQ 18
        Region 4: I/O ports at c400 [size=32]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: uhci_hcd

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 256 bytes
        Interrupt: pin C routed to IRQ 18
        Region 0: Memory at fdf00000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: ehci_hcd

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
        Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/A8V Deluxe motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel modules: i2c-viapro

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
        Subsystem: ASUSTeK Computer Inc. A7V600/K8V-X/K8V Deluxe motherboard (ADI AD1980 codec [SoundMAX])
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin C routed to IRQ 0
        Region 0: I/O ports at 1000 [disabled] [size=256]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin C routed to IRQ 0
        Region 0: I/O ports at 1400 [disabled] [size=256]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Capabilities: [80] HyperTransport: Host or Secondary Interface
                !!! Possibly incomplete decoding
                Command: WarmRst+ DblEnd-
                Link Control: CFlE+ CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
                Link Config: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
                Revision ID: 1.02

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Kernel driver in use: k8temp
        Kernel modules: k8temp

01:00.0 VGA compatible controller: nVidia Corporation GeForce 7300 GT (rev a2) (prog-if 00 [VGA controller])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 248 (1250ns min, 250ns max)
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Region 2: Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at fd800000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [44] AGP version 3.0
                Status: RQ=256 Iso- ArqSz=0 Cal=3 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
                Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x8
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nvidia


Bruce Hill 04-18-2008 05:26 PM

Bump ... I've posted output two people requested, but they didn't respond. Just curious why you asked for it and made no comments.

BCarey 04-18-2008 05:46 PM

Quote:

Originally Posted by Bruce Hill (Post 3104092)
I notice this difference on 3 of our other Slackware systems:
Code:

mingdao@james:~$ ls -l /usr/bin/cdrecord
-rwxr-xr-x 1 root root 361988 2008-02-28 14:01 /usr/bin/cdrecord

anna@peter:~$ ls -l /usr/bin/cdrecord
-rwxr-xr-x 1 root root 361668 2007-11-29 15:05 /usr/bin/cdrecord

mingdao@titus:~$ ls -l /usr/bin/cdrecord
-rwxr-xr-x 1 root root 361668 2007-11-29 15:05 /usr/bin/cdrecord

Though on the system in question, cdrecord does burn successfully with the IDE DVD burner.

Edit: K3B setup changed these perms ...

Did you also change the perms on the device?

Brian

Bruce Hill 04-18-2008 06:52 PM

Quote:

Originally Posted by BCarey (Post 3125694)
Did you also change the perms on the device?

Brian

No, sir:
Code:

mingdao@silas:~$ ls -l /dev/sr0
brw-rw---- 1 root cdrom 11, 0 2008-04-19 15:15 /dev/sr0
mingdao@silas:~$ ls -l /dev/sr1
brw-rw---- 1 root cdrom 11, 1 2008-04-19 15:15 /dev/sr1

You can see that sr0 is the SATA DVD burner, sr1 the PATA DVD burner:
Code:

mingdao@silas:~$ cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 2.01.01a38 (i686-pc-linux-gnu) Copyright (C) 1995-2008 J�rg Schilling
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
scsibus0:
        0,0,0    0) 'ASUS    ' 'DRW-2014L1T    ' '1.02' Removable CD-ROM
        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    ' 'WDC WD740GD-00FL' '33.0' 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) *
scsibus2:
        2,0,0  200) 'TSSTcorp' 'CD/DVDW TS-H552U' 'US06' Removable CD-ROM
        2,1,0  201) *
        2,2,0  202) *
        2,3,0  203) *
        2,4,0  204) *
        2,5,0  205) *
        2,6,0  206) *
        2,7,0  207) *

And here's some burning tests, which were sent to the Cdrecord-support mailing list,
in response to Joerg Schilling, who wrote:
Quote:

Your problem is not a problem caused by media but either by defective drive firmware or by a defective Linux kernel driver.
...and in the same message
BTW: you are using low quality media, did you try better media?
...and later in the same message
This is obviously a problem with the medium...
(NB: he can't seem to make up his mind)
These are two burns to the same CD-RW. The first one is with the SATA burner, the second with the PATA burner. Clearly showing that the media is good, and not the problem.
Code:

Okay, here's evidence that "the medium" is not at fault:

First, burning to a Memorex CD-RW in the SATA Asus DRW-2014L1T:

root@silas:/home/mingdao# cdrecord -v -data driveropts=burnfree -raw96r speed=10 tsize=358918s dev=0,0,0 /tmp/slackware-current-install1.iso
Cdrecord-ProDVD-ProBD-Clone 2.01.01a38 (i686-pc-linux-gnu) Copyright (C) 1995-2008 J�rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities  :
Vendor_info    : 'ASUS    '
Identifikation : 'DRW-2014L1T    '
Revision      : '1.02'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-RW
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW (current)
Profile: CD-R
Profile: CD-ROM
Profile: Removable Disk
Using generic SCSI-3/mmc  CD-R/CD-RW driver (mmc_cdr).
Driver flags  : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1484032 = 1449 KB
FIFO size      : 4194304 = 4096 KB
Encoding speed : 619x (46396 sectors/s) for libedc from Heiko Ei�feldt
Track 01: data  701 MB
Total size:      805 MB (79:45.57) = 358918 sectors
Lout start:      805 MB (79:47/43) = 358918 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
Disk Is not unrestricted
Disk Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11745 (97:25/30)
  ATIP start of lead out: 359848 (79:59/73)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 5
  A1 values: 24 1A D8
  A2 values: 26 B2 4A
Disk type:    Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.

    Capacity  Blklen/Sparesz.  Format-type  Type
      359848            2048        0x00  Unformated or Blank Media
          0        13222734        0x10  Reserved (0)
          0        13222734        0x11  Reserved (0)
          0        13222734        0x12  Reserved (0)
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 930
Starting to write CD/DVD/BD at speed 10 in real RAW/RAW96R mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
cdrecord: WARNING: Drive returns wrong startsec (0) using -11745 from ATIP
Writing lead-in at sector -11745
Lead-in write time:  18.467s
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:  837 of  837 MB written (fifo 100%) [buf 100%]  10.1x.
Track 01: Total bytes read/written: 878631264/878631264 (358918 sectors).
Writing  time:  496.826s
Average write speed  10.0x.
Min drive buffer fill was 99%
Writing Leadout...
Fixating...
Fixating time:  22.360s
BURN-Free was never needed.
cdrecord: fifo had 13805 puts and 13805 gets.
cdrecord: fifo was 0 times empty and 13740 times full, min fill was 98%.

root@silas:/home/mingdao# dd if=/dev/sr0 bs=2048 count=358918 | md5sum
dd: reading `/dev/sr0': Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 18.7121 s, 0.0 kB/s
d41d8cd98f00b204e9800998ecf8427e  -

root@silas:/home/mingdao# cat /tmp/slackware-current-install1.iso.md5
119d44f1ef81f651071af264d76d8ecd  slackware-current-install1.iso

root@silas:/home/mingdao# eject /dev/sr0

root@silas:/home/mingdao# readcd dev=0,0,0 f=/dev/null
Read  speed:  7056 kB/s (CD  40x, DVD  5x, BD  1x).
Write speed:  1764 kB/s (CD  10x, DVD  1x, BD  0x).
Capacity: 358918 Blocks = 717836 kBytes = 701 MBytes = 735 prMB
Sectorsize: 2048 Bytes
Copy from SCSI (0,0,0) disk to file '/dev/null'
end:    358918
readcd: Input/output error. read_g1: scsi sendcmd: no error
CDB:  28 00 00 00 00 00 00 00 40 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 3E 02 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x3E Qual 0x02 (timeout on logical unit) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 6.659s timeout 40s
readcd: Input/output error. Cannot read source disk
readcd: Retrying from sector 0.
.~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~+~~~-~~~
readcd: Input/output error. Error on sector 0 not corrected. Total of 1 errors.

Time total: 1996.861sec
Read 0.00 kB at 0.0 kB/sec.
Max corected retry count was 0 (limited to 128).
The following 1 sector(s) could not be read correctly:
0

Second, burning to the same disc in the PATA TSSTcorpCD/DVDW TS-H552U:

root@silas:/tmp# cdrecord -v -data driveropts=burnfree -raw96r speed=10 tsize=358918s dev=1000,0,0 /tmp/slackware-current-install1.iso
Cdrecord-ProDVD-ProBD-Clone 2.01.01a38 (i686-pc-linux-gnu) Copyright (C) 1995-2008 J�rg Schilling
TOC Type: 1 = CD-ROM
scsidev: '1000,0,0'
scsibus: 1000 target: 0 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.9'.
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities  :
Vendor_info    : 'TSSTcorp'
Identifikation : 'CD/DVDW TS-H552U'
Revision      : 'US06'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: CD-RW
Profile: DVD+R/DL
Profile: DVD+R
Profile: DVD+RW
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD-R sequential recording
Profile: DVD-ROM
Profile: CD-RW (current)
Profile: CD-R
Profile: CD-ROM
Using generic SCSI-3/mmc  CD-R/CD-RW driver (mmc_cdr).
Driver flags  : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1968384 = 1922 KB
FIFO size      : 4194304 = 4096 KB
Encoding speed : 619x (46357 sectors/s) for libedc from Heiko Ei�feldt
Track 01: data  701 MB
Total size:      805 MB (79:45.57) = 358918 sectors
Lout start:      805 MB (79:47/43) = 358918 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
Disk Is not unrestricted
Disk Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11745 (97:25/30)
  ATIP start of lead out: 359848 (79:59/73)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 5
  A1 values: 24 1A D8
  A2 values: 26 B2 4A
Disk type:    Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.

    Capacity  Blklen/Sparesz.  Format-type  Type
      359848            2048        0x00  Unformated or Blank Media
          0              32        0x10  Reserved (0)
          0              32        0x11  Reserved (0)
          0              32        0x12  Reserved (0)
Blocks total: 359848 Blocks current: 359848 Blocks remaining: 930
Starting to write CD/DVD/BD at speed 10 in real RAW/RAW96R mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Turning BURN-Free on
Performing OPC...
cdrecord: WARNING: Drive returns wrong startsec (0) using -11745 from ATIP
Writing lead-in at sector -11745
Lead-in write time:  19.560s
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:  837 of  837 MB written (fifo 100%) [buf 100%]  10.1x.
Track 01: Total bytes read/written: 878631264/878631264 (358918 sectors).
Writing  time:  498.271s
Average write speed  10.0x.
Min drive buffer fill was 99%
Writing Leadout...
Fixating...
Fixating time:  12.904s
BURN-Free was never needed.
cdrecord: fifo had 13805 puts and 13805 gets.
cdrecord: fifo was 0 times empty and 13740 times full, min fill was 98%.

root@silas:/tmp# dd if=/dev/hda bs=2048 count=358918 | md5sum
119d44f1ef81f651071af264d76d8ecd  -
358918+0 records in
358918+0 records out
735064064 bytes (735 MB) copied, 208.561 s, 3.5 MB/s

root@silas:/tmp# cat slackware-current-install1.iso.md5
119d44f1ef81f651071af264d76d8ecd  slackware-current-install1.iso

This test should prove that the media is NOT at fault.


andrew.46 04-18-2008 07:19 PM

Bruce, it is just a very outside thought but you don't have a renegade entry in /etc/default/cdrecord? I realise that the command line would override anything there but it would be something to eliminate.

BTW I have read some of the cdrecord mailing list, some of Jorg Schilling's web site and some of his newsgroup postings. Great software but a very quirky individual for sure :-)

All the best,

Andrew

Bruce Hill 04-18-2008 07:23 PM

Andrew,

Thanks for your reply!

Code:

mingdao@silas:~$ less /etc/default/cdrecord
#ident @(#)cdrecord.dfl 1.5 05/08/09 Copyr 1998 J. Schilling
#
# This file is /etc/default/cdrecord
# It contains defaults that are used if no command line option
# or environment is present.
#
# The default device, if not specified elswhere
#
#CDR_DEVICE=yamaha
CDR_DEVICE=default

#
# The default speed, if not specified elswhere
#
# Note that newer cdrecord versions do not default
# to speed=1. For MMC compliant drives, the default
# is to write at maximum speed, so it in general does
# not make sense to set up a default speed in /etc/default/cdrecord
#
#CDR_SPEED=40

#
# The default FIFO size if, not specified elswhere
#
#CDR_FIFOSIZE=16m

#
# Needed to enable DVD writing with cdrecord
#
CDR_SECURITY=8:dvd,clone:i386-pc-solaris2:1.11::1130000000:::SchilliX_for_private/research/educational_non-commercial_use:zcGqMlFRpdalHZBYS7N0CugGGqWingLsuD30nxTvweJ.gNbbsRo33pSMbV

#
# The following definitions allow abstract device names.
# They are used if the device name does not contain the
# the characters ',', ':', '/' and '@'
#
# Unless you have a good reason, use speed == -1 and let
# cdrecord use it's intercal drive specific defaults.
#
# drive name    device  speed  fifosize driveropts
#
default=        USCSI:1,0,0    -1      -1      burnfree
ricoh-u=        USCSI:0,2,0    -1      -1      burnfree
teac=          1,3,0  -1      -1      ""
panasonic=      1,4,0  -1      -1      ""
plextor=        1,4,0  -1      -1      ""
sanyo=          1,4,0  -1      -1      burnfree
yamaha=        1,5,0  -1      -1      ""
cdrom=          0,6,0  2      1m      ""
remote=        REMOTE:rscsi@somehost:1,0,0    16      16m    burnfree

Should I edit the file?

Jorge has only one way of seeing things ... his way. Which is why he no longer
works with the Linux kernel. He could not see things Linus' way.


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