Re: Sun Blade 150 and CD-RW under Solaris 8 Don't Like cdrecord

From: Costa (costa_at_nospam.net)
Date: 01/03/04


Date: Sat, 03 Jan 2004 22:16:02 +0100

On Fri, 02 Jan 2004 15:01:45 +0100, Joerg Schilling wrote:

> In article <pan.2004.01.01.21.44.47.990016.1018@nospam.net>, Costa
> <costa@nospam.net> wrote:
>
>>> I still don't understand. As I am a beta tester, I know all Solaris 9
>>> versions and none of them had problems with cdrecord - even without
>>> patches installed.
>>
>>True, but in my case only until a Solaris upgrade is performed.
>
> Well now I don't understand anymore.

Neither do I.

Let me give you a brief description (out of my head) of what happens.
Installing Solaris 9 on a Blade 100, installing all recommended patches,
disabling vold, installing cdrecord (last version I tried was 1.11a32)
works fine with a built-in Plextor W2410A (swapped the standard cdrom for
the Plextor).
Images and tracks can be written without any problems.
After booting the system from a newer Sol 9 release it'll ask whether I
want to upgrade the system. So that is what I do. Then I'll check whether
there are any newer recommended patches which I apply.
After checking that vold is disabled I try to use cdrecord. Now that is
where the trouble starts.
- Writing a single image or a single track works fine.
- Writing more than one track slows down the system to a crawl
I could reproduce that behavior every time I did a new install and
then upgraded the system. Well, I've only done it 3 times so this might
not count as "always" but in my case it shows a trend. As I said earlier
cdrw continues to work. I'd love to use cdrecord because of the
additional features it offers compared to cdrw but then what can I do.

I found an old log (cdrecord -v, and console output) on my laptop which I
am going to include. You might be able to pinpoint the problem. I am afraid
I don't have any additional info until I get a chance to rerun the scenario
on the Blade.

Output from cdrecord:

$ cdrecord -dummy -v -dev=plex10 -dao -pad 01.wav 02.wav
Cdrecord 1.11a32 (sparc-sun-solaris2.9) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 0 = CD-DA
scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Warning: Using USCSI interface.
Using libscg version 'schily-0.6'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'PLEXTOR '
Identifikation : 'CD-R PX-W2410A'
Revision : '1.03'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 2394336 = 2338 KB
FIFO size : 20971520 = 20480 KB
Track 01: audio 63 MB (06:19.00) no preemp pad
Track 02: audio 62 MB (06:10.00) no preemp
Total size: 126 MB (12:29.01) = 56176 sectors
Lout start: 126 MB (12:31/01) = 56176 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 2
  Reference speed: 6
  Is not unrestricted
  Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in: -11077 (97:34/23)
  ATIP start of lead out: 359849 (79:59/74)
  speed low: 4 speed high: 8
  power mult factor: 2 6
  recommended erase/write power: 5
  A2 values: 14 A4 4A
Disk type: Phase change
Manuf. index: 11
Manufacturer: Mitsubishi Chemical Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 303673
Starting to write CD/DVD at speed 10 in dummy SAO mode for single session.
Last chance to quit, starting dummy write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Sending CUE ***...
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01: 63 of 63 MB written (fifo 99%) [buf 97%] 10.5x.cdrecord: I/O error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 6E 6D 00 00 1B 00
status: 0x0 (GOOD STATUS)
resid: 63504
cmd finished after 203.435s timeout 200s

write track data: error after 66488688 bytes
^C^C^C^C

Output to console:

Sep 9 22:34:40 sunblade uata: WARNING: timeout: early timeout chno = 0 targ =0
Sep 9 22:34:40 sunblade dada: WARNING: /pci@1f,0/ide@d/dad@0,0 (dad0):
Sep 9 22:34:40 sunblade ATA transport failed: reason 'timeout': retrying command
Sep 9 22:34:43 sunblade uata: WARNING: timeout: early timeout chno = 0 targ =0
Sep 9 22:36:43 sunblade last message repeated 4 times
Sep 9 22:37:00 sunblade uata: WARNING: timeout: reset target chno = 0 targ = 1
Sep 9 22:38:14 sunblade uata: WARNING: timeout: early timeout chno = 0 targ =0
Sep 9 22:38:14 sunblade last message repeated 1 time
Sep 9 22:38:14 sunblade dada: WARNING: /pci@1f,0/ide@d/dad@0,0 (dad0):
Sep 9 22:38:14 sunblade ATA transport failed: reason 'timeout': retrying command
Sep 9 22:39:14 sunblade uata: WARNING: timeout: early timeout chno = 0 targ =0
Sep 9 22:40:14 sunblade last message repeated 3 times
Sep 9 22:40:24 sunblade uata: WARNING: timeout: reset target chno = 0 targ = 1

Rebooting the system and writing an image or a single track works like a
charm.

Hope that helps.

Costa

>
> If you install 108974-16 on Solaris 8 or use any Solaris 9, there is no
> problem (except if you run some of the mid-age Solaris 9 releases and
> use a Ricoh drive where did ignore drives with buggy ATA
> implementations).
>
>>> So if _you_ have problems, you should document them in a way that
>>> allows to find the reason.
>>
>>No problem. I'll send you the necessary information in about 2 weeks (no
>>access to my Sun at the moment).
>>What else do you need apart from:
>>- problem description
>>- Solaris release
>>- installed patches
>>- scanbus -v
>>- verbose output from cdrecord,
>>- file permissions
>>- pgrep vold ?
>
> http://www.fokus.fhg.de/research/cc/glone/employees/joerg.schilling/private/problems.html
>


Loading