Re: Problems mounting my cdrom drive

2004-06-05 Thread Bruce Hunter
On Sat, 2004-06-05 at 01:52, Jorge Mario G. wrote:
 check for /dev/acd0
 anyway do it the easy way:
   #mount /cdrom
 or trya acd0a
 
 
 Jorge
 

i tried
#mount /cdrom
and
#mount /dev/acd0

nothing worked
i get this error

cd9660: /dev/acd0: Invalid argument

Any other ideas?

Bruce

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems mounting my cdrom drive

2004-06-05 Thread Luke Kearney

On Sat, 05 Jun 2004 02:03:29 -0400
Bruce Hunter [EMAIL PROTECTED] spake thus:

 On Sat, 2004-06-05 at 01:52, Jorge Mario G. wrote:
  check for /dev/acd0
  anyway do it the easy way:
#mount /cdrom
  or trya acd0a
  
  
  Jorge
  
 
 i tried
 #mount /cdrom
 and
 #mount /dev/acd0
 
 nothing worked
 i get this error
 
 cd9660: /dev/acd0: Invalid argument
 
 Any other ideas?
 
 Bruce

From memory mount /cdrom should work just find but what is in your fstab ?
do you have a line that refers to your cd rom drive? If not try
something like mount /dev/acd0 /mnt  as root. Unless you have previously
changed the permissions trying to mount anything as a user other than
root will not work spectacularly well. 

HTH

LukeK

-- 
Luke Kearney [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems mounting my cdrom drive

2004-06-05 Thread Bruce Hunter
On Sat, 2004-06-05 at 02:07, Luke Kearney wrote:
 On Sat, 05 Jun 2004 02:03:29 -0400
 Bruce Hunter [EMAIL PROTECTED] spake thus:
 
  On Sat, 2004-06-05 at 01:52, Jorge Mario G. wrote:
   check for /dev/acd0
   anyway do it the easy way:
 #mount /cdrom
   or trya acd0a
   
   
   Jorge
   
  
  i tried
  #mount /cdrom
  and
  #mount /dev/acd0
  
  nothing worked
  i get this error
  
  cd9660: /dev/acd0: Invalid argument
  
  Any other ideas?
  
  Bruce
 
 From memory mount /cdrom should work just find but what is in your fstab ?
 do you have a line that refers to your cd rom drive? If not try
 something like mount /dev/acd0 /mnt  as root. Unless you have previously
 changed the permissions trying to mount anything as a user other than
 root will not work spectacularly well. 
 
 HTH
 
 LukeK

I haven't changed permissions at all, for mounting.
here is what my # /etc/fstab/ file looks like
-
# DeviceMountpoint  FStype  Options Dump   
Pass#
/dev/ad0s1b noneswapsw  0  
0
/dev/ad0s1a /   ufs rw  1  
1
/dev/ad0s1g /home   ufs rw  2  
2
/dev/ad0s1d /tmpufs rw  2  
2
/dev/ad0s1f /usrufs rw  2  
2
/dev/ad0s1e /varufs rw  2  
2
/dev/acd0   /cdrom  cd9660  ro,noauto   0  
0

#CORE NFS
core:/home/NFSave   /mnt/core   nfs rw  0  
0

-Bruce-

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems mounting my cdrom drive

2004-06-05 Thread David Fuchs
Bruce Hunter wrote:
I am having problems mounting my cdrom drive.
i have also run the command 
mount_cd9660, and this is the result

[EMAIL PROTECTED] mount_cd9660 /dev/acd0 /cdrom/
mount_cd9660: /dev/acd0: Invalid argument
this is with the mount command
[EMAIL PROTECTED] mount -v -t cd9660 /dev/acd0 /cdrom/
cd9660: /dev/acd0: Invalid argument
You sure you have an ISO9660 CD-ROM disc in there, and that it's not all 
scratched to hell or anything?  I've seen problems like this when people 
attempt to mount unreadable discs, such as audio CDs or things the cat 
clawed.

Thanks,
-David
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems mounting my cdrom drive

2004-06-05 Thread Victor Gregorio
This has happened to me.  The problem was with the file system
startsector.  By default, mount_cd9660 uses a default of 15112. I had to
use mount_cd9660 along with -s startsector.

Here is how I used cdcontrol to get the right startsector for a
particular track...

# mount_cd9660 -v /dev/acd0 /mnt
using starting sector 15112
mount_cd9660: /dev/acd0: Invalid argument
# cdcontrol
cdcontrol info
Starting track = 1, ending track = 3, TOC size = 34 bytes
track start  duration   block  length   type
-
1   0:02.00   3:15.35   0   14660   data
2   3:17.35   0:06.02   14660 452   data
3   3:23.37  11:02.37   15112   49687   data
  170  14:25.74 -   64799   -  -

If I changed the startsector to 0, I saw the root FS and some data but
no folders.  I had to use -s 14660.  

So the solution for me was:
root:/# mount_cd9660 -v -s 14660 /dev/acd0 /mnt

Hope this helps.

-Victor

On Fri, 2004-06-04 at 22:44, Bruce Hunter wrote:
 I am having problems mounting my cdrom drive.
 
 i have also run the command 
 mount_cd9660, and this is the result
 
 [EMAIL PROTECTED] mount_cd9660 /dev/acd0 /cdrom/
 mount_cd9660: /dev/acd0: Invalid argument
 
 this is with the mount command
 
 [EMAIL PROTECTED] mount -v -t cd9660 /dev/acd0 /cdrom/
 cd9660: /dev/acd0: Invalid argument
 
 Thanks guys,
 Bruce
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems mounting my cdrom drive

2004-06-05 Thread Bruce Hunter
That didn't work for me.
I did a man cdcontrol and tried
#cdcontrol
#cdcontrolplay
and it started to play my cd. But won't mount the sucker?? i was trying
to mount it to play with xmms. Hmm...


THIS IS WHAT I DID
-
[EMAIL PROTECTED] cdcontrol
Compact Disc Control utility, version 2.0
Type `?' for command list

cdcontrol info
Starting track = 1, ending track = 12, TOC size = 106 bytes
track start  duration   block  length   type
-
1   0:02.00   4:23.20   0   19745  audio
2   4:25.20   3:26.02   19745   15452  audio
3   7:51.22   4:50.18   35197   21768  audio
4  12:41.40   3:59.57   56965   17982  audio
5  16:41.22   3:40.53   74947   16553  audio
6  20:22.00   4:50.12   91500   21762  audio
7  25:12.12   2:03.00  1132629225  audio
8  27:15.12   3:29.38  122487   15713  audio
9  30:44.50   5:06.00  138200   22950  audio
   10  35:50.50   5:03.62  161150   22787  audio
   11  40:54.37   5:47.50  183937   26075  audio
   12  46:42.12   9:03.25  210012   40750  audio
  170  55:45.37 -  250762   -  -
cdcontrol quit
[EMAIL PROTECTED] mount -v -s 19745 /dev/acd0 /cdrom/
mount: illegal option -- s
usage: mount [-dfpruvw] [-o options] [-t ufs | external_type] special
node
   mount [-adfpruvw] [ -F fstab] [-t ufs | external_type]
   mount [-dfpruvw] special | node
[EMAIL PROTECTED] mount_cd9660 -v -s 19745 /dev/acd0 /cdrom/

-

-Bruce-

On Sat, 2004-06-05 at 03:08, Victor Gregorio wrote:
 This has happened to me.  The problem was with the file system
 startsector.  By default, mount_cd9660 uses a default of 15112. I had to
 use mount_cd9660 along with -s startsector.
 
 Here is how I used cdcontrol to get the right startsector for a
 particular track...
 
 # mount_cd9660 -v /dev/acd0 /mnt
 using starting sector 15112
 mount_cd9660: /dev/acd0: Invalid argument
 # cdcontrol
 cdcontrol info
 Starting track = 1, ending track = 3, TOC size = 34 bytes
 track start  duration   block  length   type
 -
 1   0:02.00   3:15.35   0   14660   data
 2   3:17.35   0:06.02   14660 452   data
 3   3:23.37  11:02.37   15112   49687   data
   170  14:25.74 -   64799   -  -
 
 If I changed the startsector to 0, I saw the root FS and some data but
 no folders.  I had to use -s 14660.  
 
 So the solution for me was:
 root:/# mount_cd9660 -v -s 14660 /dev/acd0 /mnt
 
 Hope this helps.
 
 -Victor
 
 On Fri, 2004-06-04 at 22:44, Bruce Hunter wrote:
  I am having problems mounting my cdrom drive.
  
  i have also run the command 
  mount_cd9660, and this is the result
  
  [EMAIL PROTECTED] mount_cd9660 /dev/acd0 /cdrom/
  mount_cd9660: /dev/acd0: Invalid argument
  
  this is with the mount command
  
  [EMAIL PROTECTED] mount -v -t cd9660 /dev/acd0 /cdrom/
  cd9660: /dev/acd0: Invalid argument
  
  Thanks guys,
  Bruce
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems mounting my cdrom drive

2004-06-05 Thread sigsegv
Bruce Hunter wrote:
I am having problems mounting my cdrom drive.
i have also run the command 
mount_cd9660, and this is the result

[EMAIL PROTECTED] mount_cd9660 /dev/acd0 /cdrom/
mount_cd9660: /dev/acd0: Invalid argument
this is with the mount command
[EMAIL PROTECTED] mount -v -t cd9660 /dev/acd0 /cdrom/
cd9660: /dev/acd0: Invalid argument
Thanks guys,
Bruce
Tell me if I'm wrong, but if it's an audio CD then I think you can't 
mount it, instead you use audio programs like xmms to access the CD 
directly. Have a look at 
http://www.onlamp.com/pub/a/bsd/2002/09/19/FreeBSD_Basics.html for an 
overview on how to play audio CDs with xmms.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems mounting my cdrom drive

2004-06-05 Thread Sergey Zaharchenko
On Sat, Jun 05, 2004 at 03:17:41AM -0400,
 Bruce Hunter probably wrote:
 That didn't work for me.
 I did a man cdcontrol and tried
 #cdcontrol
 #cdcontrolplay
 and it started to play my cd.

Ok. So it's an AUDIO CD. You can't mount an audio CD. It has no
filesystem. If you want, you may grab it. A search in the ports tree
will surely come up with some alternatives.

-- 
DoubleF
I'd love to go out with you, but I'm having all my plants neutered.


pgpWFh2sfV3oO.pgp
Description: PGP signature


Re: Problems mounting my cdrom drive

2004-06-05 Thread Victor Gregorio
An audio CD?  Try cdplay (/usr/ports/audio).
# cdplay -d /dev/acd0

I'm not sure you can mount an audio CD since it has no filesystem.  You
need an application that can read the data off the device.

Interesting links...
http://www.unixguide.net/freebsd/faq/09.20.shtml
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
http://www.unixguide.net/freebsd/faq/09.20.shtml

-Victor

On Sat, 2004-06-05 at 00:17, Bruce Hunter wrote:
 That didn't work for me.
 I did a man cdcontrol and tried
 #cdcontrol
 #cdcontrolplay
 and it started to play my cd. But won't mount the sucker?? i was trying
 to mount it to play with xmms. Hmm...
 
 
 THIS IS WHAT I DID
 -
 [EMAIL PROTECTED] cdcontrol
 Compact Disc Control utility, version 2.0
 Type `?' for command list
 
 cdcontrol info
 Starting track = 1, ending track = 12, TOC size = 106 bytes
 track start  duration   block  length   type
 -
 1   0:02.00   4:23.20   0   19745  audio
 2   4:25.20   3:26.02   19745   15452  audio
 3   7:51.22   4:50.18   35197   21768  audio
 4  12:41.40   3:59.57   56965   17982  audio
 5  16:41.22   3:40.53   74947   16553  audio
 6  20:22.00   4:50.12   91500   21762  audio
 7  25:12.12   2:03.00  1132629225  audio
 8  27:15.12   3:29.38  122487   15713  audio
 9  30:44.50   5:06.00  138200   22950  audio
10  35:50.50   5:03.62  161150   22787  audio
11  40:54.37   5:47.50  183937   26075  audio
12  46:42.12   9:03.25  210012   40750  audio
   170  55:45.37 -  250762   -  -
 cdcontrol quit
 [EMAIL PROTECTED] mount -v -s 19745 /dev/acd0 /cdrom/
 mount: illegal option -- s
 usage: mount [-dfpruvw] [-o options] [-t ufs | external_type] special
 node
mount [-adfpruvw] [ -F fstab] [-t ufs | external_type]
mount [-dfpruvw] special | node
 [EMAIL PROTECTED] mount_cd9660 -v -s 19745 /dev/acd0 /cdrom/
 
 -
 
 -Bruce-
 
 On Sat, 2004-06-05 at 03:08, Victor Gregorio wrote:
  This has happened to me.  The problem was with the file system
  startsector.  By default, mount_cd9660 uses a default of 15112. I had to
  use mount_cd9660 along with -s startsector.
  
  Here is how I used cdcontrol to get the right startsector for a
  particular track...
  
  # mount_cd9660 -v /dev/acd0 /mnt
  using starting sector 15112
  mount_cd9660: /dev/acd0: Invalid argument
  # cdcontrol
  cdcontrol info
  Starting track = 1, ending track = 3, TOC size = 34 bytes
  track start  duration   block  length   type
  -
  1   0:02.00   3:15.35   0   14660   data
  2   3:17.35   0:06.02   14660 452   data
  3   3:23.37  11:02.37   15112   49687   data
170  14:25.74 -   64799   -  -
  
  If I changed the startsector to 0, I saw the root FS and some data but
  no folders.  I had to use -s 14660.  
  
  So the solution for me was:
  root:/# mount_cd9660 -v -s 14660 /dev/acd0 /mnt
  
  Hope this helps.
  
  -Victor
  
  On Fri, 2004-06-04 at 22:44, Bruce Hunter wrote:
   I am having problems mounting my cdrom drive.
   
   i have also run the command 
   mount_cd9660, and this is the result
   
   [EMAIL PROTECTED] mount_cd9660 /dev/acd0 /cdrom/
   mount_cd9660: /dev/acd0: Invalid argument
   
   this is with the mount command
   
   [EMAIL PROTECTED] mount -v -t cd9660 /dev/acd0 /cdrom/
   cd9660: /dev/acd0: Invalid argument
   
   Thanks guys,
   Bruce
   
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
   
  
  
  
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems mounting my cdrom drive

2004-06-04 Thread Jorge Mario G.
check for /dev/acd0
anyway do it the easy way:
  #mount /cdrom
or trya acd0a


Jorge

_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]