Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2004 00:31:12 +0300
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        freebsd-current@freebsd.org
Subject:   can mount as acd0 (atapi) but not as cd0 (cam)
Message-ID:  <20040518003112.1246feee@it.buh.cameradicommercio.ro>

next in thread | raw e-mail | index | archive | help
Hi,


This happens only for some CDs (2 so far).

The devices are:
acd0: <PLEXTOR DVDR PX-708A/1.06> DVDR drive at ata1 as master
acd1: <_NEC DV-5700B/1.92> DVDROM drive at ata1 as slave
pass0 at ata1 bus 0 target 0 lun 0
pass0: <PLEXTOR DVDR   PX-708A 1.06> Removable CD-ROM SCSI-0 device
pass0: 33.000MB/s transfers
pass1 at ata1 bus 0 target 1 lun 0
pass1: <_NEC DV-5700B 1.92> Removable CD-ROM SCSI-0 device
pass1: Serial Number [
pass1: 33.000MB/s transfers
cd1 at ata1 bus 0 target 1 lun 0
cd1: <_NEC DV-5700B 1.92> Removable CD-ROM SCSI-0 device
cd1: Serial Number [
cd1: 33.000MB/s transfers
cd0 at ata1 bus 0 target 0 lun 0
cd0: <PLEXTOR DVDR   PX-708A 1.06> Removable CD-ROM SCSI-0 device

The CD was written on cd0 - Plextor

itetcu@it> /usr/ports/security/vuxml [23:51:02] 1
 # mount_cd9660  /dev/acd0 /mnt
itetcu@it> /usr/ports/security/vuxml [23:51:08] 0
 # ls /mnt
Operatiunea.Monstrul.2.avi
itetcu@it> /usr/ports/security/vuxml [23:51:11] 0
 # md5 /mnt/Operatiunea.Monstrul.2.avi
MD5 (/mnt/Operatiunea.Monstrul.2.avi) = 14ae5ca2b9af324b1e8ff18f4fcf2cc8
itetcu@it> /usr/ports/security/vuxml [23:52:31] 0 
 # cd /home/itetcu/Media/Filme/@_on_cd/
itetcu@it> /home/itetcu/Media/Filme/@_on_cd/ 0
MD5 (OpM/Operatiunea.Monstrul.2.avi) = 14ae5ca2b9af324b1e8ff18f4fcf2cc8
itetcu@it> /usr/ports/security/vuxml [23:54:02] 0
 # umount /mnt
itetcu@it> /usr/ports/security/vuxml [23:54:08] 0
 # mount /home/itetcu/cdrom
cd9660: /dev/cd0: Device not configured
itetcu@it> /usr/ports/security/vuxml [23:54:30] 1
 # mount_cd9660 /dev/cd0  /home/itetcu/cdrom
mount_cd9660: /dev/cd0: Device not configured
itetcu@it> /usr/ports/security/vuxml [23:55:19] 1
 # camcontrol eject 1:0
Unit stopped successfully, Media ejected
itetcu@it> /usr/ports/security/vuxml [23:55:44] 0
 #
itetcu@it> /usr/ports/security/vuxml [23:55:44] 0
 # camcontrol load 1:0

Unit started successfully, Media loaded
itetcu@it> /usr/ports/security/vuxml [23:56:06] 0
 #
itetcu@it> /usr/ports/security/vuxml [23:56:06] 0
 # mount_cd9660  /dev/cd0 /mnt
mount_cd9660: /dev/cd0: Device not configured
itetcu@it> /usr/ports/security/vuxml [23:54:15] 1
 # ll /dev/acd* /dev/cd* /dev/xpt*
crw-r-----  1 root  operator    4,  15 May 16 12:57 /dev/acd0
crw-r-----  1 root  operator    4,  30 May 16 12:57 /dev/acd0t01
crw-r-----  1 root  operator    4,  16 May 16 12:57 /dev/acd1
crw-r-----  1 root  operator    4,  57 May 16 12:57 /dev/acd1t01
crw-r-----  1 root  operator    4,  58 May 16 12:57 /dev/acd1t02
crw-r-----  1 root  operator    4,  59 May 16 12:57 /dev/acd1t03
crw-r-----  1 root  operator    4,  60 May 16 12:57 /dev/acd1t04
crw-r-----  1 root  operator    4,  61 May 16 12:57 /dev/acd1t05
crw-r-----  1 root  operator    4,  62 May 16 12:57 /dev/acd1t06
crw-r-----  1 root  operator    4,  63 May 16 12:57 /dev/acd1t07
crw-rw----  1 root  operator    4,  45 May 16 12:57 /dev/cd0
crw-rw----  1 root  operator    4,  46 May 16 12:57 /dev/cd1
crw-rw----  1 root  operator  235,   0 May 16 12:57 /dev/xpt0
crw-rw----  1 root  operator  235,   0 May 16 12:57 /dev/xpt0

If I try on the LG DVD:
itetcu@it> /home/itetcu/Media/Filme/@_on_cd [0:13:20] 1
 # mount_cd9660 /dev/acd1 /mnt
itetcu@it> /home/itetcu/Media/Filme/@_on_cd [0:16:38] 0
 # ls /mnt
Operatiunea.Monstrul.2.avi
itetcu@it> /home/itetcu/Media/Filme/@_on_cd [0:16:41] 0
 # umount /mnt
itetcu@it> /home/itetcu/Media/Filme/@_on_cd [0:16:48] 0
 # mount_cd9660 /dev/cd1 /home/itetcu/cdrom1
mount_cd9660: /dev/cd1: Device busy

http://docs.freebsd.org/cgi/mid.cgi?20040512223713.70be01ee
describes something that seems related.


Thanks,

-- 
IOnut
Unregistered ;) FreeBSD "user"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040518003112.1246feee>