cant mount CD

2013-09-12 Thread Matthias Apitz

Hello,

I have a problem mounting a CD (which works fine in Windows and Linux):

Here are the details:

# uname -a
FreeBSD vm-9Current 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r220692: Sun Apr
17 03:28:12 CEST 2011
(but does not work in a recent 10-CUR either)

# cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.00 (i386-unknown-freebsd9.0) Copyright (C)
1995-2010 Jörg Schilling
Using libscg version 'schily-0.9'.
scsibus2:
2,0,0   200) 'PLDS' 'DVD+-RW DU-8A5HH' 'SD11' Removable CD-ROM
2,1,0   201) *
2,2,0   202) *
2,3,0   203) *
2,4,0   204) *
2,5,0   205) *
2,6,0   206) *
2,7,0   207) *

# cdrecord -minfo
Cdrecord-ProDVD-ProBD-Clone 3.00 (i386-unknown-freebsd9.0) Copyright (C)
1995-2010 Jörg Schilling
Using libscg version 'schily-0.9'.
No target specified, trying to find one...
Using dev=2,0,0.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'PLDS'
Identifikation : 'DVD+-RW DU-8A5HH'
Revision   : 'SD11'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Mounted media class:  CD
Mounted media type:   CD-R
Disk Is not erasable
data type:standard
disk status:  complete
session status:   complete
BG format status: none
first track:  1
number of sessions:   1
first track in last sess: 1
last track in last sess:  1
Disk Is not unrestricted
Disk type: CD-DA or CD-ROM
Disk id: 0x970900
last start of lead in: 716730
last start of lead out: 1166730

Track  Sess Type   Start Addr End Addr   Size
==
1 1 Data   0  325279 325280

Last session start address: 0
Last session leadout start address: 325280


# mount -t cd9660 -o -e /dev/acd0 /mnt
mount_cd9660: /dev/acd0: Invalid argument

the 'cdrecord -minfo' command gives lines in /var/log/messages as:

Sep 12 10:09:36 vm-9Current kernel: acd0: FAILURE - MODE_SELECT_BIG
ILLEGAL REQUEST asc=0x26 ascq=0x00 
Sep 12 10:09:36 vm-9Current kernel: acd0: FAILURE - READ_BUFFER ILLEGAL
REQUEST asc=0x24 ascq=0x00 
Sep 12 10:09:36 vm-9Current kernel: acd0: FAILURE - START_STOP ILLEGAL
REQUEST asc=0x24 ascq=0x00 
Sep 12 10:09:36 vm-9Current kernel: acd0: FAILURE - MODE_SELECT_BIG
ILLEGAL REQUEST asc=0x26 ascq=0x00

Any ideas? Thanks in advance

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cant mount CD

2013-09-12 Thread Polytropon
On Thu, 12 Sep 2013 10:13:28 +0200, Matthias Apitz wrote:
 # mount -t cd9660 -o -e /dev/acd0 /mnt
 mount_cd9660: /dev/acd0: Invalid argument

Try cd instead of acd. The acd interface has been deprecated
in favour of SCSI over ATA for optical devices (including
ATAPI CD and DVD drives).

# mount_cd9660 -e /dev/cd0 /mnt

In case the extended attributes cause problems, try first
without using them in the normal way:

# mount -t cd9660 -o ro /dev/cd0 /mnt

Permission problems should not count here.

Also make sure it's really an ISO-9660 file system:

% file -s /dev/acd0 
/dev/acd0: ISO 9660 CD-ROM filesystem data '0110241307 

This example from a 8.2 system where the acd subsystem is still
being used. :-)



 the 'cdrecord -minfo' command gives lines in /var/log/messages as:
 
 Sep 12 10:09:36 vm-9Current kernel: acd0: FAILURE - MODE_SELECT_BIG
 ILLEGAL REQUEST asc=0x26 ascq=0x00 
 Sep 12 10:09:36 vm-9Current kernel: acd0: FAILURE - READ_BUFFER ILLEGAL
 REQUEST asc=0x24 ascq=0x00 
 Sep 12 10:09:36 vm-9Current kernel: acd0: FAILURE - START_STOP ILLEGAL
 REQUEST asc=0x24 ascq=0x00 
 Sep 12 10:09:36 vm-9Current kernel: acd0: FAILURE - MODE_SELECT_BIG
 ILLEGAL REQUEST asc=0x26 ascq=0x00

Proper cabling? Drive and media not covered with dust? ;-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cant mount CD

2013-09-12 Thread Matthias Apitz
El día Thursday, September 12, 2013 a las 02:23:59PM +0100, Paul Wootton 
escribió:

 On 09/12/13 09:13, Matthias Apitz wrote:
 
  # mount -t cd9660 -o -e /dev/acd0 /mnt
  mount_cd9660: /dev/acd0: Invalid argument
 It's not a UDF format disk is it? If so, try mount_udf instead

Thanks to Paul, UDF was the trick; I never ever came across UDF before;

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ f: +49-170-4527211
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)   
  
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org