Bug#396194: wodim: burned CD-RW unmountable

2006-10-30 Thread Stefano Sabatini
Package: wodim
Version: 5:1.0~pre4-1.1
Severity: important

Thank you for wodim, I think this fork was the right thing to do, and
it's maybe an occasion to clean-up the interface (I'll appreciate a
gnu-options fashined interface) and get something more consistent with
a Linux/Debian environment.  But actually I can't get it working!

I had the following problem:
I can burn the CD-RW, but than I get the following error when trying
to mount it:

mount: wrong fs type, bad option, bad superblock on /dev/hdc,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

I tried different CD-RW, and also tried to launch wodim
with root permission with the same result.

Here it is the -v output from wodim:

This is wodim, not cdrecord. Don't expect it to behave like cdrecord in any
way, don't refer to it as cdrecord. Send problem reports to
[EMAIL PROTECTED], don't bother Joerg Schilling with any
problems caused by this application.
Copyright (C) 2006 cdrkit maintainers, (C) 1994-2006 Joerg Schilling

wodim: No write mode specified.
wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
wodim: Operation not permitted. WARNING: Cannot set RR-scheduler
wodim: Permission denied. WARNING: Cannot set priority using setpriority().
wodim: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Warning: Cannot gain SYS_RAWIO capability: Operation not permitted
Possible reason: wodim not installed SUID root.
wodim: Warning: using inofficial version of libscg (debburn 
project-0.8ubuntu1+debburn1 '@(#)scsitransp.c   1.91 04/06/17 Copyright 
1988,1995,2000-2004 J. Schilling').
wodim: Warning: using inofficial libscg transport code version 
(cdrkit-team-scsi-linux-sg.c-1.86 '@(#)scsi-linux-sg.c   1.86 05/11/22 
Copyright 1997 J. Schilling').
SCSI buffer size: 64512
wodim: Warning: controller returns wrong page 3 for Ricoh Vendor Page page (30).
TOC Type: 1 = CD-ROM

Warning: This version of libscg has not been configured via the standard
autoconfiguration method of the Schily makefile system. There is a high risk
that the code is not configured correctly and for this reason will not behave
as expected.
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'Slimtype'
Identifikation : 'DVDRW SOSW-852S '
Revision   : 'PRS9'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A
Profile: 0x002B 
Profile: 0x001B 
Profile: 0x001A 
Profile: 0x0014 
Profile: 0x0013 
Profile: 0x0011 
Profile: 0x0010 
Profile: 0x000A (current)
Profile: 0x0009 
Profile: 0x0008 
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 : 1422080 = 1388 KB
FIFO size  : 4194304 = 4096 KB
wodim: Cannot get next writable address for 'invisible' track.
wodim: This means that we are checking recorded media.
wodim: This media cannot be written in streaming mode anymore.
wodim: If you like to write to 'preformatted' RW media, try to blank the media 
first.
wodim: WARNING: Data may not fit on standard 74min disk.
wodim: Operation not permitted. WARNING: Cannot set RR-scheduler
wodim: Permission denied. WARNING: Cannot set priority using setpriority().
wodim: WARNING: This causes a high risk for buffer underruns.
Error: Cannot gain SYS_RAWIO capability, is wodim installed SUID root? Reason: 
Operation not permitted
wodim: Warning: controller returns wrong page 3 for Ricoh Vendor Page page (30).
Track 01: data   652 MB
Total size:  749 MB (74:17.62) = 334322 sectors
Lout start:  750 MB (74:19/47) = 334322 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
  Is not unrestricted
  Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11625 (97:27/00)
  ATIP start of lead out: 359849 (79:59/74)
  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: 0
Manufacturer: Illegal Manufacturer code
Speed set to 1764 KB/s
Starting to write CD/DVD at speed  10.0 in real TAO mode for single session.
Last chance to quit, starting real write in 9 seconds.
Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Blanking PMA, TOC, pregap
Blanking time:   20.583s
wodim: Warning: controller returns wrong page 3 for Ricoh Vendor Page page (30).
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01:  652 of  652 MB written (fifo 100%) [buf 100%]  10.0x.
Track 01: Total bytes read/written: 684687360/684687360 

Bug#396194: wodim: burned CD-RW unmountable

2006-10-30 Thread Eduard Bloch
#include hallo.h
* Stefano Sabatini [Mon, Oct 30 2006, 03:00:20PM]:
 Package: wodim
 Version: 5:1.0~pre4-1.1
 Severity: important
 
 Thank you for wodim, I think this fork was the right thing to do, and
 it's maybe an occasion to clean-up the interface (I'll appreciate a
 gnu-options fashined interface) and get something more consistent with
 a Linux/Debian environment.  But actually I can't get it working!
 
 I had the following problem:
 I can burn the CD-RW, but than I get the following error when trying
 to mount it:
 
 mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so

Ehm, stupid question, have you tried ejecting and reloading the disk
after burning it?

Eduard.

-- 
Solange Menschen denken, daß Tiere nicht fühlen,
Müssen Tiere fühlen, daß Menschen nicht denken!
-- Meta-Ger