Re: [2.6.30-rc2] CD-R: wodim intermittent failures: [sr0] Add. Sense: Logical block address out of range, sector 0

From: Joerg Schilling
Date: Thu Apr 23 2009 - 10:54:22 EST


I see two possible problems that should be first resolved.

1) You are using "wodim" instead of cdrecord.
"wodim" is a very old version (4+ years) of cdrecord with
additional bugs. Due to Copyright & GPL violations, it cannot
even be legally distributed.

2) You may be using the linux hald version

I recommend to first get a recent original cdrtools package from

ftp://ftp.berlios.de/pub/cdrecord/alpha/

and to try with this after running "make install" as root.
As Linux requires root privileges for many SCSI commands, you need to
install cdreord suid root which is automatically done via "make install"
as root.

If your problem persists, try to kill hald. Hald on Linux has many problems:

- It looks for the wrong state transitions on the CD drive
and thus distrurbes CD/DVD/BD writing. It may e.g. try to mount a CD
that has not yet been fully written.

- The O_EXCL metod it believes on just cannot ever work correctly:

- You would not be able to read out written media CD-DA or CD-ROM

- You would not be able to deal with multi-session media

- As Linux offers to access CD/DVD/BD-drives vie more than one
device driver and as these device drivers don't know each other
O_EXCL cannot work anyway.

If your problem still persists, you may have a Linux kernel problem.

BTW: please keep me on CC:

Jörg

--
EMail:joerg@xxxxxxxxxxxxxxxxxxxxxxxxxxx (home) Jörg Schilling D-13353 Berlin
js@xxxxxxxxxxxxxxx (uni)
joerg.schilling@xxxxxxxxxxxxxxxxxxx (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/