[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: cant mount drive



On Thu 7 October 2004 21:16, Thornton wrote:
> I was trying to burn a cd this morning when I got this output error:
>
> System
> -----------------------
> K3b Version:0.11.14
> KDE Version: 3.2.2-8.FC2 Red Hat
> QT Version: 3.3.3
>
> cdrecord
> -----------------------
> scsidev: '/dev/hdc'
> devname: '/dev/hdc'
> scsibus: -2 target: -2 lun: -2
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Error trying to open /dev/hdc exclusively ... retrying in 1 second.
> Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004
> JÃrg Schilling
> Note: This version is an unofficial (modified) version with DVD support
> Note: and therefore may have bugs that are not present in the original.
> Note: Please send bug reports or support requests to
> http://bugzilla.redhat.com/bugzilla
> Note: The author of cdrecord should not be bothered with problems in
> this version.
> TOC Type: 1 = CD-ROM
> /usr/bin/cdrecord: Device or resource busy. Cannot open '/dev/hdc'.
> Cannot open SCSI driver.
> /usr/bin/cdrecord: For possible targets try 'cdrecord -scanbus'.
> /usr/bin/cdrecord: For possible transport specifiers try 'cdrecord
> dev=help'.
it hasn't actually burnt your cd, incidentally.
It's complaining about /dev/hdc not being a valid device (as far as cdrecord 
is comcerned).
which kernel are you running?
[stuart behemoth stuart]$ uname -r
2.6.7-1.494.2.2

if it is 2.6.8 _downgrade_ to 2.6.7 or burn as root. noone else is able to 
with that kernel.


> cdrecord comand:
> -----------------------
> /usr/bin/cdrecord -v gracetime=2 dev=/dev/hdc speed=52 -dao
> driveropts=burnfree -eject -data /home/thornton/media2.iso
what does 
# cdrecord -scanbus dev=ATAPI 
give you?
[stuart behemoth stuart]$ cdrecord -scanbus dev=ATAPI
<snip>
scsibus0:
        0,0,0     0) 'FREECOM_' 'DVD+/-RW4B      ' '1.33' 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) *

>
> What could be causing it to suddenly not be able to mount it.  I tried
> to unmount and that gave me the same error as above, even tried
> rebooting same thing, root gives me the same output as well.
it doesn't contain a filesystem. KDE is misreporting the error.
it can't mount it because you haven't actually burnt anything to it yet.
You can mount _other_ CDS, right.

the error stems from the cdrecord command above. ALthough you can use device 
names, I have always had more success with the original cdrecord syntax:
 If this is an IDE/ATAPI device this syntax is
# cdrecord -v dev=ATAPI:0,0,0 -dao driveropts=burnfree speed=52 -eject -data 
thingy.iso
in fact the command you issued can be shortened considerably:
# cdrecord -v dev=ATAPI:0,0,0  -dao thingy.iso
the speed will be determined automatically, as will -data (it's the default)
in fact -dao could be left out too if you wish.

the ATAPI:0,0,0 will depend entirely on the cdrecord -scanbus output

once you know how cdrecord sees your device  you can edit /etc/cdrecord.conf 
to match. One gotcha though, I had issues until I changed the ATA line in 
cdrecord.conf to ATAPI
---cdrecord.conf (edited) :
# The default device, if not specified elswhere
CDR_DEVICE=cdrom
#
# The default speed, if not specified elswhere
#CDR_SPEED=40

# The default FIFO size if, not specified elswhere
CDR_FIFOSIZE=4m
# 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
cdrom=         ATAPI:0,0,0      -1      -1      burnfree
----- end cdrecord.conf


HTH

Stuart
-- 
Stuart Sears RHCE, RHCX
Quidquid latine dictum sit, altum viditur


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]