Re: CDROM drive(s) suddenly gone

2002-09-18 Thread Kevin Oberman

 From: Weston M. Price [EMAIL PROTECTED]
 Date: Wed, 18 Sep 2002 00:43:01 +
 Sender: [EMAIL PROTECTED]
 
 Excellentmusic cd's work fine. My confusion on the subject sorry. Thanks
 for the help everyone

But nobody actually gave the complete answer, so some people will
continue to have some problems.

You know:
Don't mount music CDs!

You don't know that the device characteristics for ATAPI devices
changed in 4.6 and you need to delete /dev/acd0* and 
cd /dev; ./MAKEDEV acd0

You can check this with 'ls -l /dev/acd*' If the minor modes for the
'c' partition ar not 0 for acd0c and 8 for acd1c, you need to re-make
the devices.

Once this is done, you will be able to use /dev/acd0c as intended.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]  Phone: +1 510 486-8634


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



CDROM drive(s) suddenly gone

2002-09-17 Thread Weston M. Price

Hello,  
I recently built a new kernel to incorporate sound on my machine. Everything 
seemed to come off without a hitch, no problems whatsoever. I followed the 
handbook and added a line to my custom kernel. 

device pcm

I purposely left out options PNPBIOS just to make sure everything went all 
right to begin with

After this I made sure to check everything to make sure all my system 
functionality remained intactagain, there appeared to be no problems. 

This evening I went to mount one of my cdrom drives and the machine kept 
giving me a problem saying 

cd9660: /dev/acd0c : Invalid Argument

I checked /etc/fstab and the entry for both /cdrom and /cdrom1 remained the 
same as before, they are as follows:

/dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
/dev/acd1c  /cdrom1 cd9660  ro,noauto   0   0

however, when I took a look a dmesg I found the following:

dmesg | egrep acd
acd0: CDROM LTN486S at ata1-master PIO4
acd1: CD-RW HL-DT-ST CD-RW GCE-8240B at ata1-slave PIO4

To tell the truth, really have no idea how this happened. Does anyone have any 
ideas, and more importantly, how do I get the cdrom(s) back? I am running 
FreeBSD 4.7-PRERELEASE. Thanks for anyhelp anyone can give me. 

Weston


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: CDROM drive(s) suddenly gone

2002-09-17 Thread Anish Mistry

On Tuesday 17 September 2002 06:04 pm, Weston M. Price wrote:
 Hello,
   I recently built a new kernel to incorporate sound on my machine. 
Everything 
 seemed to come off without a hitch, no problems whatsoever. I followed the 
 handbook and added a line to my custom kernel. 
 
 device pcm
 
 I purposely left out options PNPBIOS just to make sure everything went all 
 right to begin with
 
 After this I made sure to check everything to make sure all my system 
 functionality remained intactagain, there appeared to be no problems. 
 
 This evening I went to mount one of my cdrom drives and the machine kept 
 giving me a problem saying 
 
 cd9660: /dev/acd0c : Invalid Argument
 
Try mounting /dev/acd0a.  I ran into this problem a while ago.
 I checked /etc/fstab and the entry for both /cdrom and /cdrom1 remained the 
 same as before, they are as follows:
 
 /dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
 /dev/acd1c  /cdrom1 cd9660  ro,noauto   0   0
 
 however, when I took a look a dmesg I found the following:
 
 dmesg | egrep acd
 acd0: CDROM LTN486S at ata1-master PIO4
 acd1: CD-RW HL-DT-ST CD-RW GCE-8240B at ata1-slave PIO4
 
 To tell the truth, really have no idea how this happened. Does anyone have 
any 
 ideas, and more importantly, how do I get the cdrom(s) back? I am running 
 FreeBSD 4.7-PRERELEASE. Thanks for anyhelp anyone can give me. 
 
 Weston
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 

-- 
Anish Mistry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: CDROM drive(s) suddenly gone

2002-09-17 Thread Weston M. Price

Well, mount /dev/acd0a does not work. Howerver, I did put in a data disk and 
it mounted fine with the command mount /cdrom. However, a music CD will not 
work. Is there some sort of special setting(s) I need to configure to mount 
music CD's? 

Thanks again. 

Weston

On Wednesday 18 September 2002 04:03 am, Anish Mistry wrote:
 On Tuesday 17 September 2002 06:04 pm, Weston M. Price wrote:
  Hello,
  I recently built a new kernel to incorporate sound on my machine.

 Everything

  seemed to come off without a hitch, no problems whatsoever. I followed
  the handbook and added a line to my custom kernel.
 
  device pcm
 
  I purposely left out options PNPBIOS just to make sure everything went
  all right to begin with
 
  After this I made sure to check everything to make sure all my system
  functionality remained intactagain, there appeared to be no problems.
 
  This evening I went to mount one of my cdrom drives and the machine kept
  giving me a problem saying
 
  cd9660: /dev/acd0c : Invalid Argument

 Try mounting /dev/acd0a.  I ran into this problem a while ago.

  I checked /etc/fstab and the entry for both /cdrom and /cdrom1 remained
  the same as before, they are as follows:
 
  /dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
  /dev/acd1c  /cdrom1 cd9660  ro,noauto   0   0
 
  however, when I took a look a dmesg I found the following:
 
  dmesg | egrep acd
  acd0: CDROM LTN486S at ata1-master PIO4
  acd1: CD-RW HL-DT-ST CD-RW GCE-8240B at ata1-slave PIO4
 
  To tell the truth, really have no idea how this happened. Does anyone
  have

 any

  ideas, and more importantly, how do I get the cdrom(s) back? I am running
  FreeBSD 4.7-PRERELEASE. Thanks for anyhelp anyone can give me.
 
  Weston
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: CDROM drive(s) suddenly gone

2002-09-17 Thread Weston M. Price

And even weirderwhen I do put in a data cdit is mounted as

/dev/acd0c which according to dmesg doesn't even existsyet it is in the 
/dev directory structure. 

Weston

On Wednesday 18 September 2002 04:03 am, Anish Mistry wrote:
 On Tuesday 17 September 2002 06:04 pm, Weston M. Price wrote:
  Hello,
  I recently built a new kernel to incorporate sound on my machine.

 Everything

  seemed to come off without a hitch, no problems whatsoever. I followed
  the handbook and added a line to my custom kernel.
 
  device pcm
 
  I purposely left out options PNPBIOS just to make sure everything went
  all right to begin with
 
  After this I made sure to check everything to make sure all my system
  functionality remained intactagain, there appeared to be no problems.
 
  This evening I went to mount one of my cdrom drives and the machine kept
  giving me a problem saying
 
  cd9660: /dev/acd0c : Invalid Argument

 Try mounting /dev/acd0a.  I ran into this problem a while ago.

  I checked /etc/fstab and the entry for both /cdrom and /cdrom1 remained
  the same as before, they are as follows:
 
  /dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
  /dev/acd1c  /cdrom1 cd9660  ro,noauto   0   0
 
  however, when I took a look a dmesg I found the following:
 
  dmesg | egrep acd
  acd0: CDROM LTN486S at ata1-master PIO4
  acd1: CD-RW HL-DT-ST CD-RW GCE-8240B at ata1-slave PIO4
 
  To tell the truth, really have no idea how this happened. Does anyone
  have

 any

  ideas, and more importantly, how do I get the cdrom(s) back? I am running
  FreeBSD 4.7-PRERELEASE. Thanks for anyhelp anyone can give me.
 
  Weston
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: CDROM drive(s) suddenly gone

2002-09-17 Thread Bob Johnson

On Tuesday 17 September 2002 08:10 pm, Weston M. Price appears to have 
written:
 And even weirderwhen I do put in a data cdit is mounted as

 /dev/acd0c which according to dmesg doesn't even existsyet it is
 in the /dev directory structure.


the c in acd0c says it is the c partition on acd0.  By default, 
the c partition is the entire disk.  So yes, if acd0 exists, acd0c 
exists.  And just because it is in /dev, doesn't mean it actually 
exists.  It just means that if it did exist, you would have a way 
to refer to it.

But you are confusing me.  I thought you couldn't mount your CDs?  
Are you having problems with data CDs, or only music CDs?

 Weston

 On Wednesday 18 September 2002 04:03 am, Anish Mistry wrote:
  On Tuesday 17 September 2002 06:04 pm, Weston M. Price wrote:
   Hello,
 I recently built a new kernel to incorporate sound on my
   machine.
 
  Everything
 
   seemed to come off without a hitch, no problems whatsoever. I
   followed the handbook and added a line to my custom kernel.
  
   device pcm
  
   I purposely left out options PNPBIOS just to make sure everything
   went all right to begin with
  
   After this I made sure to check everything to make sure all my
   system functionality remained intactagain, there appeared to
   be no problems.
  
   This evening I went to mount one of my cdrom drives and the
   machine kept giving me a problem saying
  
   cd9660: /dev/acd0c : Invalid Argument

Maybe something you changed had an effect on your device definitions.  
Try 
   cd /dev   
   sh ./MAKEDEV all

to rebuild all of your devices.

 
  Try mounting /dev/acd0a.  I ran into this problem a while ago.
 
   I checked /etc/fstab and the entry for both /cdrom and /cdrom1
   remained the same as before, they are as follows:
  
   /dev/acd0c  /cdrom  cd9660  ro,noauto   0
 0 /dev/acd1c  /cdrom1 cd9660  ro,noauto
 0   0

the /etc/fstab entry won't change unless you change it.  It doesn't 
get updated automatically.  I assume the mangled lines are caused 
by an email problem?

  
   however, when I took a look a dmesg I found the following:
  
   dmesg | egrep acd
   acd0: CDROM LTN486S at ata1-master PIO4
   acd1: CD-RW HL-DT-ST CD-RW GCE-8240B at ata1-slave PIO4
  
   To tell the truth, really have no idea how this happened. Does
   anyone have

What are you saying happened?  This looks normal to me.  You have 
two CD drives.  Your CDROM gets mounted as /cdrom, and your CD-RW 
gets mounted as /cdrom1

 
  any
 
   ideas, and more importantly, how do I get the cdrom(s) back? I am
   running FreeBSD 4.7-PRERELEASE. Thanks for anyhelp anyone can
   give me.

Start by rebuilding your devices, as above.If you can mount a data 
CD as root, then try it as a normal user.  If that works, then as far as 
I know, how you mount a music CD depends on what program you 
are using to play the music.  It might be expecting a link that isn't 
there, e.g. 
/dev/cdrom may need to point to /dev/acd0


- Bob

  
   Weston


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: CDROM drive(s) suddenly gone

2002-09-17 Thread Weston M. Price

No, I literally just got the data cd to work. Howerver, at this point music 
CD's will not mount. 

Weston

On Wednesday 18 September 2002 04:41 am, Bob Johnson wrote:
 On Tuesday 17 September 2002 08:10 pm, Weston M. Price appears to have

 written:
  And even weirderwhen I do put in a data cdit is mounted as
 
  /dev/acd0c which according to dmesg doesn't even existsyet it is
  in the /dev directory structure.

 the c in acd0c says it is the c partition on acd0.  By default,
 the c partition is the entire disk.  So yes, if acd0 exists, acd0c
 exists.  And just because it is in /dev, doesn't mean it actually
 exists.  It just means that if it did exist, you would have a way
 to refer to it.

 But you are confusing me.  I thought you couldn't mount your CDs?
 Are you having problems with data CDs, or only music CDs?

  Weston
 
  On Wednesday 18 September 2002 04:03 am, Anish Mistry wrote:
   On Tuesday 17 September 2002 06:04 pm, Weston M. Price wrote:
Hello,
I recently built a new kernel to incorporate sound on my
machine.
  
   Everything
  
seemed to come off without a hitch, no problems whatsoever. I
followed the handbook and added a line to my custom kernel.
   
device pcm
   
I purposely left out options PNPBIOS just to make sure everything
went all right to begin with
   
After this I made sure to check everything to make sure all my
system functionality remained intactagain, there appeared to
be no problems.
   
This evening I went to mount one of my cdrom drives and the
machine kept giving me a problem saying
   
cd9660: /dev/acd0c : Invalid Argument

 Maybe something you changed had an effect on your device definitions.
 Try
cd /dev
sh ./MAKEDEV all

 to rebuild all of your devices.

   Try mounting /dev/acd0a.  I ran into this problem a while ago.
  
I checked /etc/fstab and the entry for both /cdrom and /cdrom1
remained the same as before, they are as follows:
   
/dev/acd0c  /cdrom  cd9660  ro,noauto   0
  0 /dev/acd1c  /cdrom1 cd9660  ro,noauto
  0   0

 the /etc/fstab entry won't change unless you change it.  It doesn't
 get updated automatically.  I assume the mangled lines are caused
 by an email problem?

however, when I took a look a dmesg I found the following:
   
dmesg | egrep acd
acd0: CDROM LTN486S at ata1-master PIO4
acd1: CD-RW HL-DT-ST CD-RW GCE-8240B at ata1-slave PIO4
   
To tell the truth, really have no idea how this happened. Does
anyone have

 What are you saying happened?  This looks normal to me.  You have
 two CD drives.  Your CDROM gets mounted as /cdrom, and your CD-RW
 gets mounted as /cdrom1

   any
  
ideas, and more importantly, how do I get the cdrom(s) back? I am
running FreeBSD 4.7-PRERELEASE. Thanks for anyhelp anyone can
give me.

 Start by rebuilding your devices, as above.If you can mount a data
 CD as root, then try it as a normal user.  If that works, then as far as
 I know, how you mount a music CD depends on what program you
 are using to play the music.  It might be expecting a link that isn't
 there, e.g.
 /dev/cdrom may need to point to /dev/acd0


 - Bob

Weston

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: CDROM drive(s) suddenly gone

2002-09-17 Thread Greg Lane

 And even weirderwhen I do put in a data cdit is mounted as
 
 /dev/acd0c which according to dmesg doesn't even existsyet it is in the 
 /dev directory structure. 

This is the way it is supposed to work. 
The device in dmesg will be acd0, while it will be 
referred to when mounting (as in your fstab) as /dev/acd0c.

In a similar fashion, you will notice that your disk drives are 
detected (if IDE) as ad0, ad1 etc in dmesg, although in 
/etc/fstab they are listed by partition as /dev/ad0s1a etc when 
they are being mounted. 

The additional letter refers to the partition. For the cdrom,
the letter c refers to the whole disk.

Your initial confusion seems to be due to the fact that you were trying 
to mount a music cd. This is not what you do, you play music cd's.
You can use a variety of things to do this, from the basic, 
cdcontrol (see the man page), to the graphical interface
variety, e.g. xcdplayer in the ports. 

If you want to extract the music off the CD as a .wav file, you
don't mount the cd, you use a ripping tool, like cdda2wav (from 
the cdrtools port). 

Hope that makes more sense. 

Cheers,
Greg

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: CDROM drive(s) suddenly gone

2002-09-17 Thread Weston M. Price

Excellentmusic cd's work fine. My confusion on the subject sorry. Thanks 
for the help everyone

Weston

On Wednesday 18 September 2002 04:47 am, Greg Lane wrote:
  And even weirderwhen I do put in a data cdit is mounted as
 
  /dev/acd0c which according to dmesg doesn't even existsyet it is in
  the /dev directory structure.

 This is the way it is supposed to work.
 The device in dmesg will be acd0, while it will be
 referred to when mounting (as in your fstab) as /dev/acd0c.

 In a similar fashion, you will notice that your disk drives are
 detected (if IDE) as ad0, ad1 etc in dmesg, although in
 /etc/fstab they are listed by partition as /dev/ad0s1a etc when
 they are being mounted.

 The additional letter refers to the partition. For the cdrom,
 the letter c refers to the whole disk.

 Your initial confusion seems to be due to the fact that you were trying
 to mount a music cd. This is not what you do, you play music cd's.
 You can use a variety of things to do this, from the basic,
 cdcontrol (see the man page), to the graphical interface
 variety, e.g. xcdplayer in the ports.

 If you want to extract the music off the CD as a .wav file, you
 don't mount the cd, you use a ripping tool, like cdda2wav (from
 the cdrtools port).

 Hope that makes more sense.

 Cheers,
 Greg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message