supported cdrom not found by 8.4 setup

2013-07-26 Thread david coder

i'm trying to install 8.4 on a thinkpad x230, which uses a usb cdrom.
according to the hardward docs, 8.4 supports teac cd-210pu.  that is what i
am using.  the box boots up fine from the installation cd.  but when it comes
to choosing an installation medium, the system doesn't find the device.
idea, anyone?

thx.

david coder
___
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: THe number of cdrom in /dev

2012-03-01 Thread Polytropon
On Thu, 1 Mar 2012 15:52:46 -0800 (PST), Me Me wrote:
> My system's been down for a while - anyway I wanted to add
> data from a cd, but the prompt reads "can't have more than
> 32 cd devices or drives."

Which program does show this message? Please explain what
you've done in order to get that text.

How many _actual_ CD drives does your system have? Just to
make sure this isn't the problem... :-)



> I couldn't figure it out  tried alot. So now I'd like to take
> some of the devices out of the directory. However, I "rm" and
> they mostly return.

FreeBSD's current /dev directory is a dynamical thing. It
gets populated automatically under the control of devfs
(at boot time) and devd (at run time) which control several
actions that can be taken.



> I'm careful to keep those I see in the ref 4.2 book but do
> I have to change permissions or file types or should I use
> "mv" to another directory so I don't lose them permenetly?

Which OS version are you currently using?



> anyway if you've got an advisory or a fix for this and your
> not to annoyed please send it.

Just provide a bit more information so your problem can
be diagnosed. At the moment, I'm just guessing. :-)






-- 
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"


THe number of cdrom in /dev

2012-03-01 Thread Me Me
hi,
 I'm sorry to bother you. I know you probably got something better to do. So 
I'll just take a minute.
My system's been down for a while - anyway I wanted to add data from a cd, but 
the prompt reads "can't have more than 32 cd devices or drives." I couldn't 
figure it out  tried alot. So now I'd like to take some of the devices out of 
the directory. However, I "rm" and they mostly return. I'm careful to keep 
those I see in the ref 4.2 book but do I have to change permissions or file 
types or should I use "mv" to another directory so I don't lose them 
permenetly? Cause I need a job and all I want to do is -- Can you belive this! 
practice SQL admin and database  --oh joy!
anyway if you've got an advisory or a fix for this and your not to annoyed 
please send it.
You guys do a great job I wouldn't miss this for nut'in.  Thanks and Happy New 
year.
___
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: Unable to access CDROM device to play music

2010-11-30 Thread Polytropon
On Tue, 30 Nov 2010 12:24:36 +0100, Bernt Hansson  wrote:
> One can not play audio-cd on freebsd without root access.
> No matter what you put in devfs* Tried it since freebsd4*

Not fully true. Maybe the statement ist right along with
the mentioning of "on modern systems" - where "modern"
deserves an additional set of quotes. :-)

I've been playing audio CDs regularly on FreeBSD 4 and 5,
but I was lucky to have a sound card and a wired internal
audio connector for my drive(s). The command

% cdcontrol play 1

for example sets the CD drive to "play" state, and the
audio signal was available at the front connector (often
not present anymore on today's drives), as well as on
the rear connector connected to the foot bone, the foot
bone connected to the sound card, and the sound card
connected to the amp system. :-)

I'm sad, REALLY sad to see more and more simple things
stopping working...

Giving *others* write access (o+w) to sensitive system
devices may not be a good idea in every setting. For
the "old fashioned" solution, this was not needed: The
user went to the operator ground, and g+w. Done.


-- 
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: Unable to access CDROM device to play music

2010-11-30 Thread Bernt Hansson

2010-11-30 11:24, Carmel skrev:

On Mon, 29 Nov 2010 20:01:02 -0500
Nikolai Wendorf  articulated:


One can not play audio-cd on freebsd without root access.
No matter what you put in devfs* Tried it since freebsd4*


All,

I was getting exactly this same error following a fresh 8.1 load

Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL
REQUEST asc=0x64 ascq=0x00 Sep 25 07:51:22 cyborg kernel:
(cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 40 0 Sep 25
07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status
Error Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status:
Check Condition Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI
sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) Sep 25
07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back

the solution was explained in the gnome install FAQ - here is a clip
- the devfs.conf changes fixed the problem.

To figure out which CD/DVD drive you will be using, run the following
command as root:

# camcontrol devlist


Your output will look similar to the following:

at scbus1 target 0 lun 0 (cd0,pass0)


The devices in parentheses at the end are important. You must make
sure the /dev entries for those devices are writable by the users
that will be using brasero, totem, rhythmbox, or sound-juicer. In
addition to those devices, /dev/xpt* must also be writable to your
brasero, totem, rhythmbox, and sound-juicer users. The
following /etc/devfs.conf configuration will achieve the desired
results given the above devlist:

permcd0 0666
permxpt00666
permpass0   0666


I made those modifications a long time ago without success.

# camcontrol devlist
  at scbus1 target 0 lun 0 (pass0,cd0)
at scbus2 target 0 lun 0 (pass1,da0)
at scbus2 target 0 lun 1 (pass2,da1)
at scbus2 target 0 lun 2 (pass3,da2)
at scbus2 target 0 lun 3 (pass4,da3)

# cat /etc/devfs.conf



permcd0 0666
permacd00666
permxpt00666
permpass0   0666
permpass1   0666
permpass2   0666
permpass3   0666
permpass4   0666



___
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: Unable to access CDROM device to play music

2010-11-30 Thread Carmel
On Mon, 29 Nov 2010 20:01:02 -0500
Nikolai Wendorf  articulated:

> All,
> 
> I was getting exactly this same error following a fresh 8.1 load
> 
> Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL
> REQUEST asc=0x64 ascq=0x00 Sep 25 07:51:22 cyborg kernel:
> (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 40 0 Sep 25
> 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status
> Error Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status:
> Check Condition Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI
> sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track) Sep 25
> 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back
> 
> the solution was explained in the gnome install FAQ - here is a clip
> - the devfs.conf changes fixed the problem.
> 
> To figure out which CD/DVD drive you will be using, run the following 
> command as root:
> 
> # camcontrol devlist
> 
> 
> Your output will look similar to the following:
> 
>at scbus1 target 0 lun 0 (cd0,pass0)
> 
> 
> The devices in parentheses at the end are important. You must make
> sure the /dev entries for those devices are writable by the users
> that will be using brasero, totem, rhythmbox, or sound-juicer. In
> addition to those devices, /dev/xpt* must also be writable to your
> brasero, totem, rhythmbox, and sound-juicer users. The
> following /etc/devfs.conf configuration will achieve the desired
> results given the above devlist:
> 
> permcd0 0666
> permxpt00666
> permpass0   0666

I made those modifications a long time ago without success.

# camcontrol devlist
 at scbus1 target 0 lun 0 (pass0,cd0)
   at scbus2 target 0 lun 0 (pass1,da0)
   at scbus2 target 0 lun 1 (pass2,da1)
   at scbus2 target 0 lun 2 (pass3,da2)
   at scbus2 target 0 lun 3 (pass4,da3)

# cat /etc/devfs.conf



permcd0 0666
permacd00666
permxpt00666
permpass0   0666
permpass1   0666
permpass2   0666
permpass3   0666
permpass4   0666


-- 
Carmel ✌
carmel...@hotmail.com

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
__

To err is human, but when the eraser wears out
before the pencil, you're overdoing it a little.
___
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: Unable to access CDROM device to play music

2010-11-29 Thread Nikolai Wendorf

All,

I was getting exactly this same error following a fresh 8.1 load

Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST 
asc=0x64 ascq=0x00
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 
0 40 0
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status Error
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check Condition
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST 
asc:64,0 (Illegal mode for this track)
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back

the solution was explained in the gnome install FAQ - here is a clip - 
the devfs.conf changes fixed the problem.


To figure out which CD/DVD drive you will be using, run the following 
command as root:


# camcontrol devlist


Your output will look similar to the following:

   at scbus1 target 0 lun 0 (cd0,pass0)


The devices in parentheses at the end are important. You must make sure 
the /dev entries for those devices are writable by the users that will 
be using brasero, totem, rhythmbox, or sound-juicer. In addition to 
those devices, /dev/xpt* must also be writable to your brasero, totem, 
rhythmbox, and sound-juicer users. The following /etc/devfs.conf 
configuration will achieve the desired results given the above devlist:


permcd0 0666
permxpt00666
permpass0   0666

Nick


___
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: Unable to access CDROM device to play music

2010-10-06 Thread Paul B Mahol
On 9/26/10, Carmel  wrote:
> On Sun, 26 Sep 2010 02:03:28 +0200
> Polytropon  articulated:
>
>> On Sat, 25 Sep 2010 19:46:08 -0400, Carmel 
>> wrote:
>> > On Sun, 26 Sep 2010 00:49:16 +0200
>> > Polytropon  articulated:
>> >
>> > > Have you tried mounting using the ATAPI driver?
>> > >
>> > >  # mount -o ro -t cd9660 /dev/acd0 /mnt
>> > >
>> > > Does this work for data CDs?
>> >
>> > I get this error message:
>> >
>> >mount_cd9660: /dev/acd0: Invalid argument
>>
>> This seems to show that there's no ISO-9660 file system on
>> the (data) CD, or the session is not finished, or any other
>> problem on file system level. Can you check
>>
>>  % file - < /dev/acd0
>>  % cdcontrol info
>>
>> Here's an example for the output for a data CD:
>>
>>  % file - < /dev/acd0
>>  /dev/stdin: ISO 9660 CD-ROM filesystem data
>>  'FreeBSD_Install' (bootable)
>>
>>  % cdcontrol info
>>  Starting track = 1, ending track = 1, TOC size = 18 bytes
>>  track start  duration   block  length   type
>>  -
>>  1   0:02.00  57:57.56   0  260831   data
>>170  57:59.56 -  260831   -  -
>>
>> And for an audio CD:
>>
>>  % file - < /dev/acd0
>>  /dev/stdin: ERROR: cannot read `(null)' (Invalid argument)
>>
>>  % cdcontrol info
>>  Starting track = 1, ending track = 18, TOC size = 154 bytes
>>  track start  duration   block  length   type
>>  -
>>  1   0:02.00   3:31.03   0   15828  audio
>>  2   3:33.03   2:52.67   15828   12967  audio
>>  ...
>> 17  52:24.53   7:27.30  235703   33555  audio
>> 18  59:52.08   2:48.67  269258   12667  audio
>>170  62:41.00 -  281925   -  -
>>
>> Do you get the same results for the respective CD content types?
>
> I made some file permission changes, rebooted and made sure that the
> changes were static, and then ran a few test.
>
> The cdcontrol program will not play a CDROM although it claims it is. I
> can play an audio CD from within KDE; however, it is like pulling teeth
> to accomplish it. Way too much trouble. MPlayer cannot access the audio
> CD naively.
>
> DATA CDs are another story. I cannot mount them.
>
> Using a data CD:
>
> # file - < /dev/acd0
> /dev/stdin: ERROR: cannot read `(null)' (Input/output error)
>
> # file - < /dev/cd0
> /dev/stdin: ERROR: cannot read `(null)' (Invalid argument)
>
> # cdcontrol info
> cdcontrol: getting toc header: Invalid argument
> cdcontrol: Invalid argument
>
> With an audio CD:
>
> # file - < /dev/acd0
> /dev/stdin: ERROR: cannot read `(null)' (Invalid argument)
>
> # file - < /dev/cd0
> /dev/stdin: ERROR: cannot read `(null)' (Device not configured)
>
> # cdcontrol info
> Starting track = 1, ending track = 3, TOC size = 34 bytes
> track start  duration   block  length   type
> -
> 1   0:02.00   6:32.00   0   29400  audio
> 2   6:34.00   3:55.12   29400   17637  audio
> 3  10:29.12   3:42.23   47037   16673  audio
>   170  14:11.35 -   63710   -  -
>
> Finally, just trying a mount command from the command line:
>
> $ sudo mount -o ro -t cd9660 /dev/acd0 /mnt
> mount_cd9660: /dev/acd0: Invalid argument
>
> $ sudo mount -o ro -t cd9660 /dev/cd0 /mnt
> mount_cd9660: /dev/cd0: Device not configured
>
> This is getting to be far more trouble and wasting way too much time
> than it is worth. I can just put the CDs in one of my Windows machines
> and then transfer the data over the network to the FreeBSD units. What
> is strange is that this use to work before I upgraded.
>
> By the way, Polytropon, please do not CC me. I am on the list and I
> really do not need two copies of every post. Others may appreciate it;
> however, I don't.

If you are sure that this is not environment issue on you side, maybe
it is because output to cd is broken in new snd_hda requiring manual
setup (unforunatelly this is not trivial).

Look snd_hda(4) for more info. Also try to post to multimedia.
___
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: Unable to access CDROM device to play music

2010-09-26 Thread Carmel
On Sun, 26 Sep 2010 02:03:28 +0200
Polytropon  articulated:

> On Sat, 25 Sep 2010 19:46:08 -0400, Carmel 
> wrote:
> > On Sun, 26 Sep 2010 00:49:16 +0200
> > Polytropon  articulated:
> > 
> > > Have you tried mounting using the ATAPI driver?
> > > 
> > >   # mount -o ro -t cd9660 /dev/acd0 /mnt
> > > 
> > > Does this work for data CDs?
> > 
> > I get this error message:
> > 
> > mount_cd9660: /dev/acd0: Invalid argument
> 
> This seems to show that there's no ISO-9660 file system on
> the (data) CD, or the session is not finished, or any other
> problem on file system level. Can you check
> 
>   % file - < /dev/acd0
>   % cdcontrol info
> 
> Here's an example for the output for a data CD:
> 
>   % file - < /dev/acd0
>   /dev/stdin: ISO 9660 CD-ROM filesystem data
>   'FreeBSD_Install' (bootable)
> 
>   % cdcontrol info
>   Starting track = 1, ending track = 1, TOC size = 18 bytes
>   track start  duration   block  length   type
>   -
>   1   0:02.00  57:57.56   0  260831   data
> 170  57:59.56 -  260831   -  -
> 
> And for an audio CD:
> 
>   % file - < /dev/acd0
>   /dev/stdin: ERROR: cannot read `(null)' (Invalid argument)
> 
>   % cdcontrol info
>   Starting track = 1, ending track = 18, TOC size = 154 bytes
>   track start  duration   block  length   type
>   -
>   1   0:02.00   3:31.03   0   15828  audio
>   2   3:33.03   2:52.67   15828   12967  audio
>   ... 
>  17  52:24.53   7:27.30  235703   33555  audio
>  18  59:52.08   2:48.67  269258   12667  audio
> 170  62:41.00 -  281925   -      -
> 
> Do you get the same results for the respective CD content types?

I made some file permission changes, rebooted and made sure that the
changes were static, and then ran a few test.

The cdcontrol program will not play a CDROM although it claims it is. I
can play an audio CD from within KDE; however, it is like pulling teeth
to accomplish it. Way too much trouble. MPlayer cannot access the audio
CD naively.

DATA CDs are another story. I cannot mount them.

Using a data CD:

# file - < /dev/acd0
/dev/stdin: ERROR: cannot read `(null)' (Input/output error)

# file - < /dev/cd0
/dev/stdin: ERROR: cannot read `(null)' (Invalid argument)

# cdcontrol info
cdcontrol: getting toc header: Invalid argument
cdcontrol: Invalid argument

With an audio CD:

# file - < /dev/acd0
/dev/stdin: ERROR: cannot read `(null)' (Invalid argument)

# file - < /dev/cd0
/dev/stdin: ERROR: cannot read `(null)' (Device not configured)

# cdcontrol info
Starting track = 1, ending track = 3, TOC size = 34 bytes
track start  duration   block  length   type
-
1   0:02.00   6:32.00   0   29400  audio
2   6:34.00   3:55.12   29400   17637  audio
3  10:29.12   3:42.23   47037   16673  audio
  170  14:11.35 -   63710   -  -

Finally, just trying a mount command from the command line:

$ sudo mount -o ro -t cd9660 /dev/acd0 /mnt
mount_cd9660: /dev/acd0: Invalid argument

$ sudo mount -o ro -t cd9660 /dev/cd0 /mnt
mount_cd9660: /dev/cd0: Device not configured

This is getting to be far more trouble and wasting way too much time
than it is worth. I can just put the CDs in one of my Windows machines
and then transfer the data over the network to the FreeBSD units. What
is strange is that this use to work before I upgraded.

By the way, Polytropon, please do not CC me. I am on the list and I
really do not need two copies of every post. Others may appreciate it;
however, I don't.

-- 
Carmel ✌
carmel...@hotmail.com
___
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: Unable to access CDROM device to play music

2010-09-25 Thread Polytropon
On Sat, 25 Sep 2010 19:46:08 -0400, Carmel  wrote:
> On Sun, 26 Sep 2010 00:49:16 +0200
> Polytropon  articulated:
> 
> > Have you tried mounting using the ATAPI driver?
> > 
> > # mount -o ro -t cd9660 /dev/acd0 /mnt
> > 
> > Does this work for data CDs?
> 
> I get this error message:
> 
>   mount_cd9660: /dev/acd0: Invalid argument

This seems to show that there's no ISO-9660 file system on
the (data) CD, or the session is not finished, or any other
problem on file system level. Can you check

% file - < /dev/acd0
% cdcontrol info

Here's an example for the output for a data CD:

% file - < /dev/acd0
/dev/stdin: ISO 9660 CD-ROM filesystem data
'FreeBSD_Install' (bootable)

% cdcontrol info
Starting track = 1, ending track = 1, TOC size = 18 bytes
track start  duration   block  length   type
-
1   0:02.00  57:57.56   0  260831   data
  170  57:59.56 -  260831   -  -

And for an audio CD:

% file - < /dev/acd0
/dev/stdin: ERROR: cannot read `(null)' (Invalid argument)

% cdcontrol info
Starting track = 1, ending track = 18, TOC size = 154 bytes
track start  duration   block  length   type
-
1   0:02.00   3:31.03   0   15828  audio
2   3:33.03   2:52.67   15828   12967  audio
... 
   17  52:24.53   7:27.30  235703   33555  audio
   18  59:52.08   2:48.67  269258   12667  audio
  170  62:41.00 -  281925   -  -

Do you get the same results for the respective CD content types?



-- 
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: Unable to access CDROM device to play music

2010-09-25 Thread Carmel
On Sun, 26 Sep 2010 00:49:16 +0200
Polytropon  articulated:

> Have you tried mounting using the ATAPI driver?
> 
>   # mount -o ro -t cd9660 /dev/acd0 /mnt
> 
> Does this work for data CDs?

I get this error message:

mount_cd9660: /dev/acd0: Invalid argument

-- 
Carmel ✌
carmel...@hotmail.com

___
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: Unable to access CDROM device to play music

2010-09-25 Thread Polytropon
On Sat, 25 Sep 2010 17:32:27 -0400, Carmel  wrote:
> I have tries several different disks, all with the same results. These
> CDs work fine on my Windows machines.
> 
> I used information at URL:
> 
> http://www.freebsd.org/doc/handbook/creating-cds.html
> 
> 18.6.9 Using the ATAPI/CAM Driver
> 
> This worked fine on my previous version of FreeBSD.

I'm also using this setup for many years now.



> Now, entering the
> command:
> 
>   mount -t cd9660 /dev/cd0 /mnt
> 
> Gets me this error message:
> 
> mount_cd9660: /dev/cd0: Input/output error

Does this refer to an audio CD? In that case: Won't work.

Mounting a data CD (ISO-9660 filesystem) _should_ work. From the
error message, I don't think you have permission problems, but make
sure that - as you're using ATAPICAM - have sufficient permissions
for /dev/cd*, /dev/xpt* and /dev/pass*.

Have you tried mounting using the ATAPI driver?

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

Does this work for data CDs?



> MPlayer cannot play a file from a CD because it never finds a CD to
> use. It did work previously.

Okay, seems that you're accessing the audio CD by mplayer, I now
understand. You can specify -dvd-device  as a command line
parameter for mplayer to indicate which drive to use. Oh, and
many programs use $CDROM and $CDPLAYER environment variables.



> > Are you accessing the drive by ATAPI or ATAPICAM?
> 
> ATAPICAM

To make sure there are no other problems, try with ATAPI, too,
as shown above.




-- 
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: Unable to access CDROM device to play music

2010-09-25 Thread Carmel
On Sat, 25 Sep 2010 22:31:39 +0200
Polytropon  articulated:

> On Sat, 25 Sep 2010 08:09:23 -0400, Carmel 
> wrote:
> > I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE
> > 4.5.1) if that matters.Before updating my system to FreeBSD 8.1 /
> > amd64, I had the 7.3 /32 bit version installed. I completely erased
> > the HD prior to installed the newer version so as to eliminate any
> > accumulated garbage that might be hanging around. Previously, I was
> > able to play CD Audio files without any problem. The "cdcontrol"
> > program worked fine and I was able to play music files while using
> > KDE using its audio player.
> > 
> > I now find that I can no-longer achieve that goal. When I place an
> > audio CD into the PC, this error message is displayed: (It will
> > probably wrap)
> > 
> > Unable to mount Audio Disc
> > DBus error org.freedesktop.DBus.Error.NoReply:
> > Message did not receive a reply (timeout by message bus)
> 
> You cannot mount audio CDs.
> 
> The important lines from your system log are:
> 
> acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 
> SCSI status: Check Condition
> SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)
> 
> This seems to indicate that the CD cannot be read. Can it be read
> with a different drive? Maybe the drive is faulty. Or the media
> is. Can you check the media in a "hardware CD player"?

I have tries several different disks, all with the same results. These
CDs work fine on my Windows machines.

I used information at URL:

http://www.freebsd.org/doc/handbook/creating-cds.html

18.6.9 Using the ATAPI/CAM Driver

This worked fine on my previous version of FreeBSD. Now, entering the
command:

mount -t cd9660 /dev/cd0 /mnt

Gets me this error message:

mount_cd9660: /dev/cd0: Input/output error

> > I am at a loss here. I don't believe I made any radical changes from
> > the configuration I was using in my older FreeBSD installation.
> 
> First of all, HAL seems to be interfering. To check, make sure HAL
> is not running, then do "cdcontrol play 1". Have the "mixer" program
> push all volumes up.
> 
> > I might add that MPlayer cannot see the drive either; although, it
> > use to work fine.
> 
> In how far does mplayer "see a drive"?

MPlayer cannot play a file from a CD because it never finds a CD to
use. It did work previously.

> > This problem exists whether KDE is running or not. The
> > "cdcontrol" player will open and close the door on the device;
> > however, no sound is emitted.
> 
> Does the drive have a phones connector at the front? Does it maybe
> play from there? Playing audio CDs is a feature of drives that does
> not neccessarily need CPU / system attention (except for starting
> the playback by a drive command).
> 
> Are you accessing the drive by ATAPI or ATAPICAM?

ATAPICAM

> > Normal 'notification' sounds are emitted so I know
> > the speakers, etc. are working correctly. The KDE start-up
> > notifications works just fine.
> 
> So no problem on this side.
___
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: Unable to access CDROM device to play music

2010-09-25 Thread dan

On 25.09.2010 22:31, Polytropon wrote:

On Sat, 25 Sep 2010 08:09:23 -0400, Carmel  wrote:

I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1)
if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had
the 7.3 /32 bit version installed. I completely erased the HD prior to
installed the newer version so as to eliminate any accumulated garbage
that might be hanging around. Previously, I was able to play CD Audio
files without any problem. The "cdcontrol" program worked fine and I
was able to play music files while using KDE using its audio player.

I now find that I can no-longer achieve that goal. When I place an audio
CD into the PC, this error message is displayed: (It will probably wrap)

Unable to mount Audio Disc
DBus error org.freedesktop.DBus.Error.NoReply:
Message did not receive a reply (timeout by message bus)


You cannot mount audio CDs.

The important lines from your system log are:

acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
SCSI status: Check Condition
SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)

This seems to indicate that the CD cannot be read. Can it be read
with a different drive? Maybe the drive is faulty. Or the media
is. Can you check the media in a "hardware CD player"?




I am at a loss here. I don't believe I made any radical changes from
the configuration I was using in my older FreeBSD installation.


First of all, HAL seems to be interfering. To check, make sure HAL
is not running, then do "cdcontrol play 1". Have the "mixer" program
push all volumes up.




I might add that MPlayer cannot see the drive either; although, it use
to work fine.


In how far does mplayer "see a drive"?




This problem exists whether KDE is running or not. The
"cdcontrol" player will open and close the door on the device; however,
no sound is emitted.


Does the drive have a phones connector at the front? Does it maybe
play from there? Playing audio CDs is a feature of drives that does
not neccessarily need CPU / system attention (except for starting
the playback by a drive command).

Are you accessing the drive by ATAPI or ATAPICAM?




Normal 'notification' sounds are emitted so I know
the speakers, etc. are working correctly. The KDE start-up
notifications works just fine.


So no problem on this side.





If you are accessing ATAPI device using the SCSI subsystem make sure the 
user has all the required permissions to read/write xpt* pass* cd*.
Run "camcontrol devlist" as a normal user and see if it shows you any 
drive  (http://www.freebsd.org/doc/en/books/handbook/creating-cds.html 
Section 18.6.9).


If this matters somehow I get many of the following messages

(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 2 99 77 0 0 1 0
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(cd0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST csi:28,a,1,20 
asc:64,0 (Illegal mode for this track)

(cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
(cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 20 0 0 4 0
(cd0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd0:umass-sim0:0:0:0): SCSI status: Check Condition
(...)
when an audio cd is pre-loaded at bootup into my external dvd rewriter. 
But the drive is functional (or at least seems to be... :-D).


d
___
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: Unable to access CDROM device to play music

2010-09-25 Thread Polytropon
On Sat, 25 Sep 2010 08:09:23 -0400, Carmel  wrote:
> I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1)
> if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had
> the 7.3 /32 bit version installed. I completely erased the HD prior to
> installed the newer version so as to eliminate any accumulated garbage
> that might be hanging around. Previously, I was able to play CD Audio
> files without any problem. The "cdcontrol" program worked fine and I
> was able to play music files while using KDE using its audio player.
> 
> I now find that I can no-longer achieve that goal. When I place an audio
> CD into the PC, this error message is displayed: (It will probably wrap)
> 
> Unable to mount Audio Disc
> DBus error org.freedesktop.DBus.Error.NoReply:
> Message did not receive a reply (timeout by message bus)

You cannot mount audio CDs.

The important lines from your system log are:

acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 
SCSI status: Check Condition
SCSI sense: ILLEGAL REQUEST asc:64,0 (Illegal mode for this track)

This seems to indicate that the CD cannot be read. Can it be read
with a different drive? Maybe the drive is faulty. Or the media
is. Can you check the media in a "hardware CD player"?



> I am at a loss here. I don't believe I made any radical changes from
> the configuration I was using in my older FreeBSD installation.

First of all, HAL seems to be interfering. To check, make sure HAL
is not running, then do "cdcontrol play 1". Have the "mixer" program
push all volumes up.



> I might add that MPlayer cannot see the drive either; although, it use
> to work fine.

In how far does mplayer "see a drive"?



> This problem exists whether KDE is running or not. The
> "cdcontrol" player will open and close the door on the device; however,
> no sound is emitted.

Does the drive have a phones connector at the front? Does it maybe
play from there? Playing audio CDs is a feature of drives that does
not neccessarily need CPU / system attention (except for starting
the playback by a drive command).

Are you accessing the drive by ATAPI or ATAPICAM?



> Normal 'notification' sounds are emitted so I know
> the speakers, etc. are working correctly. The KDE start-up
> notifications works just fine.

So no problem on this side.



-- 
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: Unable to access CDROM device to play music

2010-09-25 Thread Carmel
On Sat, 25 Sep 2010 10:28:13 -0400
Lowell Gilbert  articulated:

> If X isn't running, what does cdcontrol do?

Nothing. It will open or close the tray, but that is about it.

-- 
Carmel ✌
carmel...@hotmail.com
___
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: Unable to access CDROM device to play music

2010-09-25 Thread Lowell Gilbert
Carmel  writes:

> I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1)
> if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had
> the 7.3 /32 bit version installed. I completely erased the HD prior to
> installed the newer version so as to eliminate any accumulated garbage
> that might be hanging around. Previously, I was able to play CD Audio
> files without any problem. The "cdcontrol" program worked fine and I
> was able to play music files while using KDE using its audio player.

If X isn't running, what does cdcontrol do?
___
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: Unable to access CDROM device to play music

2010-09-25 Thread Carmel
On Sat, 25 Sep 2010 12:51:16 +
Paul B Mahol  articulated:

> what is mixer output?
> what sound driver are you using?

From the kernel file:

## SOUND
device  sound   # Install sound driver support
device  snd_hda # nVidia MCP51 sound driver

Via mixer:

$ mixer
Mixer vol  is currently set to  90:90
Mixer pcm  is currently set to  42:45
Mixer speaker  is currently set to 100:100
Mixer line is currently set to 100:100
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to 100:100
Mixer mix  is currently set to   0:0
Mixer rec  is currently set to  75:75
Mixer igainis currently set to   0:0
Recording source: mic

Via pciconf -lv

hd...@pci0:3:0:1:   class=0x040300 card=0x chip=0x0be210de rev=0xa1 
hdr=0x00
vendor = 'NVIDIA Corporation'
class  = multimedia
subclass   = HDA

I attached the "dmesg" output. I don't know if that works on this list
or not. I can always supply if separately. What bugs me is that this use
to work before I upgraded my system.

-- 
Carmel ✌
carmel...@hotmail.com

Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-STABLE #0: Wed Sep 22 21:21:36 EDT 2010
ger...@cyborg.creedmoor.net:/usr/obj/usr/src/sys/CYBORG amd64
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.16-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40fb2  Family = f  Model = 4b  Stepping = 2
  
Features=0x178bfbff
  Features2=0x2001
  AMD Features=0xea500800
  AMD Features2=0x1f
real memory  = 4294967296 (4096 MB)
avail memory = 4084535296 (3895 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, bfef (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 0.0 (no driver attached)
pci0:  at device 0.1 (no driver attached)
pci0:  at device 0.2 (no driver attached)
pci0:  at device 0.3 (no driver attached)
pci0:  at device 0.4 (no driver attached)
pci0:  at device 0.5 (no driver attached)
pci0:  at device 0.6 (no driver attached)
pci0:  at device 0.7 (no driver attached)
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  at device 3.0 on pci0
pci2:  on pcib2
pcib3:  at device 4.0 on pci0
pci3:  on pcib3
vgapci0:  port 0xbc00-0xbc7f mem 
0xfb00-0xfbff,0xd000-0xdfff,0xee00-0xefff irq 16 at 
device 0.0 on pci3
nvidia0:  on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [ITHREAD]
hdac0:  mem 
0xfcffc000-0xfcff irq 16 at device 0.1 on pci3
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
pci0:  at device 9.0 (no driver attached)
isab0:  at device 10.0 on pci0
isa0:  on isab0
pci0:  at device 10.1 (no driver attached)
pci0:  at device 10.2 (no driver attached)
ohci0:  mem 0xfe02f000-0xfe02 irq 21 at 
device 11.0 on pci0
ohci0: [ITHREAD]
usbus0:  on ohci0
ehci0:  mem 0xfe02e000-0xfe02e0ff irq 22 at 
device 11.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1:  on ehci0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 13.0 on pci0
ata0:  on atapci0
ata0: [ITHREAD]
ata1:  on atapci0
ata1: [ITHREAD]
atapci1:  port 
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem 
0xfe02d000-0xfe02dfff irq 23 at device 14.0 on pci0
atapci1: [ITHREAD]
ata2:  on atapci1
ata2: [ITHREAD]
ata3:  on atapci1
ata3: [ITHREAD]
atapci2:  port 
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xcc00-0xcc0f mem 
0xfe02c000-0xfe02cfff irq 20 at device 15.0 on pci0
atapci2: [ITHREAD]
ata4:  on atapci2
ata4: [ITHREAD]
ata5:  on atapci2
ata5: [ITHREAD]
pcib4:  at device 16.0 on pci0
pci4:  on pcib4
pci4:  at device 7.0 (no driver attached)
fwohci0:  port 0x9800-0x987f mem 0xfdcff000-0xfdcff7ff 
irq 19 at device 9.0 on pci4
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:00:0a:e6:ff:65:1e:1b
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
dcons_crom0:  on firewire0
dcons_crom0: bus_addr 0x2554000
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:00:0a:65:1e:1b
fwe0: Ethernet address: 02:00:0a:65:1e:1b
fwip0:  o

Re: Unable to access CDROM device to play music

2010-09-25 Thread Paul B Mahol
On 9/25/10, Carmel  wrote:
> I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1)
> if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had
> the 7.3 /32 bit version installed. I completely erased the HD prior to
> installed the newer version so as to eliminate any accumulated garbage
> that might be hanging around. Previously, I was able to play CD Audio
> files without any problem. The "cdcontrol" program worked fine and I
> was able to play music files while using KDE using its audio player.
>
> I now find that I can no-longer achieve that goal. When I place an audio
> CD into the PC, this error message is displayed: (It will probably wrap)
>
> Unable to mount Audio Disc
> DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a
> reply (timeout by message bus)
>
>
> This is from the system log: (Sorry, but it will probably line wrap)
>
> Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST
> asc=0x64 ascq=0x00
> Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0
> 0 0 40 0
> Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status
> Error
> Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check
> Condition
> Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST
> asc:64,0 (Illegal mode for this track)
> Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back
>
> I am at a loss here. I don't believe I made any radical changes from
> the configuration I was using in my older FreeBSD installation.
>
> I might add that MPlayer cannot see the drive either; although, it use
> to work fine. This problem exists whether KDE is running or not. The
> "cdcontrol" player will open and close the door on the device; however,
> no sound is emitted. Normal 'notification' sounds are emitted so I know
> the speakers, etc. are working correctly. The KDE start-up
> notifications works just fine.

what is mixer output?
what sound driver are you using?
___
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"


Unable to access CDROM device to play music

2010-09-25 Thread Carmel
I am using FreeBSD 8.1 / amd64 with Platform Version 4.5.1 (KDE 4.5.1)
if that matters.Before updating my system to FreeBSD 8.1 / amd64, I had
the 7.3 /32 bit version installed. I completely erased the HD prior to
installed the newer version so as to eliminate any accumulated garbage
that might be hanging around. Previously, I was able to play CD Audio
files without any problem. The "cdcontrol" program worked fine and I
was able to play music files while using KDE using its audio player.

I now find that I can no-longer achieve that goal. When I place an audio
CD into the PC, this error message is displayed: (It will probably wrap)

Unable to mount Audio Disc
DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply 
(timeout by message bus)


This is from the system log: (Sorry, but it will probably line wrap)

Sep 25 07:51:22 cyborg kernel: acd0: FAILURE - READ_BIG ILLEGAL REQUEST 
asc=0x64 ascq=0x00 
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 
0 40 0 
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): CAM status: SCSI Status Error
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI status: Check Condition
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): SCSI sense: ILLEGAL REQUEST 
asc:64,0 (Illegal mode for this track)
Sep 25 07:51:22 cyborg kernel: (cd0:ata1:0:0:0): cddone: got error 0x6 back

I am at a loss here. I don't believe I made any radical changes from
the configuration I was using in my older FreeBSD installation.

I might add that MPlayer cannot see the drive either; although, it use
to work fine. This problem exists whether KDE is running or not. The
"cdcontrol" player will open and close the door on the device; however,
no sound is emitted. Normal 'notification' sounds are emitted so I know
the speakers, etc. are working correctly. The KDE start-up
notifications works just fine.

-- 
Carmel ✌
carmel...@hotmail.com
___
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: FreeBSD and UDF DVD/CDrom

2010-06-24 Thread Mikle Krutov
Why do you want to mount your Windows DVD image?
Why not using /dev/cd0 in your VirtualBox?
P.s. Bruce, sorry for doubled mail, did not see that i
haven't sent it to the mailing list till the last moment.

2010/6/24, Bruce Cran :
> On Thursday 24 June 2010 11:06:59 M. Vale wrote:
>
>> So my question is is possible to mount an UDF disk on FreeBSD or is me
>> that
>> is doing something wrong ?
>
> FreeBSD doesn't support the most recent UDF specification which is why it
> won't work
>
> --
> Bruce Cran
> ___
> 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"
>


-- 
with best regards, Krutov Mikle
___
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: FreeBSD and UDF DVD/CDrom

2010-06-24 Thread Bruce Cran
On Thursday 24 June 2010 11:06:59 M. Vale wrote:

> So my question is is possible to mount an UDF disk on FreeBSD or is me that
> is doing something wrong ?

FreeBSD doesn't support the most recent UDF specification which is why it 
won't work

-- 
Bruce Cran
___
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: FreeBSD and UDF DVD/CDrom

2010-06-24 Thread Derek Funk

On 6/24/2010 5:06 AM, M. Vale wrote:

Hi, I'm trying to install Windows 7 on Virtualbox for testing, but the W7 is
a DVD in UDF format.

On this computer booting gentoo and ubuntu I can mount the DVD without any
problem, but on FreeBSD 8.0 after kldloading udf and trying to mount udf
using:

mount_udf /dev/acd0t0s1 /cdrom or mount -t udf /dev/acd0t0s1 /cdrom:

mount_udf: /dev/acd0t01: Invalid argument

And running dmesg:

  kernel: FSD does not lie within the partition!

So my question is is possible to mount an UDF disk on FreeBSD or is me that
is doing something wrong ?

Thank You

MV
___
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"

   

Try using mount_cd9660 instead... it worked for me even on a udf disk

Derek
___
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"


FreeBSD and UDF DVD/CDrom

2010-06-24 Thread M. Vale
Hi, I'm trying to install Windows 7 on Virtualbox for testing, but the W7 is
a DVD in UDF format.

On this computer booting gentoo and ubuntu I can mount the DVD without any
problem, but on FreeBSD 8.0 after kldloading udf and trying to mount udf
using:

mount_udf /dev/acd0t0s1 /cdrom or mount -t udf /dev/acd0t0s1 /cdrom:

mount_udf: /dev/acd0t01: Invalid argument

And running dmesg:

 kernel: FSD does not lie within the partition!

So my question is is possible to mount an UDF disk on FreeBSD or is me that
is doing something wrong ?

Thank You

MV
___
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"


Can't boot from install cdrom/dvd ( was )

2009-08-21 Thread Olaf Leidinger
Hi!

> Try disabling AHCI.  I had to do that on an Intel board.
> Hope  it does help. :-)

Well, it doesn't. The problem is that it doesn't find the DVD device
(which is IDE). But I figured out that I can boot from USB just fine.
The image of 8.0 BETA 2 works fine (I can install and boot that
installation with AHCI enabled), but I'd prefer to use 7.2.
Unfortunately there is no image available and the tutorials to create
one all require FreeBSD.

I found a PC-BSD image and will try this one now.

Thanks a lot,

O.Leidinger
___
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: geom_label usb cdrom

2009-05-23 Thread ajtiM
On Saturday 23 May 2009 06:03:23 Daniel C. Dowse wrote:
> On Fri, 22 May 2009 20:10:33 -0500
>
> ajtiM  wrote:
> > My system FreeBSD 7.2
> > Problem with CDROM and usb card reader. It works but swithc from da4s1 to
> > da0s1. OK it is no so frustraiting because I mount "manualy" in console.
> > The bigger problem is cdrom which switch too but if I use KDE and K3b is
> > a problem because K3b cannot find cdrom. Restart of computer help.
> >
> > umass1: 
> > on uhub4
> > da4 at umass-sim1 bus 1 target 0 lun 0
> > da4:  Removable Direct Access SCSI-2 device
> > da4: 40.000MB/s transfers
> > da4: 976MB (1999872 512 byte sectors: 64H 32S/T 976C)
> > GEOM_LABEL: Label for provider da4s1 is msdosfs/NIKON D50.
> > GEOM_LABEL: Label msdosfs/NIKON D50 removed.
> > GEOM_LABEL: Label for provider da4s1 is msdosfs/NIKON D50.
> > umass1: at uhub4 port 7 (addr 3) disconnected
> > (da4:umass-sim1:1:0:0): lost device
> > (da4:umass-sim1:1:0:0): removing device entry
> > GEOM_LABEL: Label msdosfs/NIKON D50 removed.
> > umass1: detached
> >
> > ***
> > and later:
> > umass0: 
> > on uhub4
> > da0 at umass-sim0 bus 0 target 0 lun 0
> > da0:  Removable Direct Access SCSI-2 device
> > da0: 40.000MB/s transfers
> > da0: 976MB (1999872 512 byte sectors: 64H 32S/T 976C)
> > GEOM_LABEL: Label for provider da0s1 is msdosfs/NIKON D50.
> > GEOM_LABEL: Label msdosfs/NIKON D50 removed.
> > GEOM_LABEL: Label for provider da0s1 is msdosfs/NIKON D50.
> > umass0: at uhub4 port 7 (addr 2) disconnected
> > (da0:umass-sim0:0:0:0): lost device
> > (dGaE0O:Mu_mLaAsBsE-Ls:i mL0a:b0e:l0 :m0s)d:o srfesm/oNvIiKnOgN  dDe5v0i
> > cree me   onvterdy.
> >
> >
> > Thanks in advance.
> > --
> > Mitja
> > -
> > http://starikarp.redbubble.com
> > ___
> > 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"
>
> hi mitja,
>
> i believe your hardware is broken, i would try to get a pci usbcard an
> disable the onboard controller, or configure a "Generic Kernel" and put
> the hardisk in an different Computer from your buddy or your second
> machine , and check if the problem still exists.
>
> greets
>
> daniel

I have on the computer Linux too and I never have a problem.

-- 
Mitja
-
http://starikarp.redbubble.com
___
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: geom_label usb cdrom

2009-05-23 Thread Daniel C. Dowse
On Fri, 22 May 2009 20:10:33 -0500
ajtiM  wrote:

> My system FreeBSD 7.2
> Problem with CDROM and usb card reader. It works but swithc from da4s1 to 
> da0s1. OK it is no so frustraiting because I mount "manualy" in console. The 
> bigger problem is cdrom which switch too but if I use KDE and K3b is a 
> problem because K3b cannot find cdrom. Restart of computer help.
> 
> umass1:  on 
> uhub4
> da4 at umass-sim1 bus 1 target 0 lun 0
> da4:  Removable Direct Access SCSI-2 device
> da4: 40.000MB/s transfers
> da4: 976MB (1999872 512 byte sectors: 64H 32S/T 976C)
> GEOM_LABEL: Label for provider da4s1 is msdosfs/NIKON D50.
> GEOM_LABEL: Label msdosfs/NIKON D50 removed.
> GEOM_LABEL: Label for provider da4s1 is msdosfs/NIKON D50.
> umass1: at uhub4 port 7 (addr 3) disconnected
> (da4:umass-sim1:1:0:0): lost device
> (da4:umass-sim1:1:0:0): removing device entry
> GEOM_LABEL: Label msdosfs/NIKON D50 removed.
> umass1: detached
> 
> ***
> and later:
> umass0:  on 
> uhub4
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0:  Removable Direct Access SCSI-2 device
> da0: 40.000MB/s transfers
> da0: 976MB (1999872 512 byte sectors: 64H 32S/T 976C)
> GEOM_LABEL: Label for provider da0s1 is msdosfs/NIKON D50.
> GEOM_LABEL: Label msdosfs/NIKON D50 removed.
> GEOM_LABEL: Label for provider da0s1 is msdosfs/NIKON D50.
> umass0: at uhub4 port 7 (addr 2) disconnected
> (da0:umass-sim0:0:0:0): lost device
> (dGaE0O:Mu_mLaAsBsE-Ls:i mL0a:b0e:l0 :m0s)d:o srfesm/oNvIiKnOgN  dDe5v0i cree 
> me   onvterdy.
> 
> 
> Thanks in advance.
> -- 
> Mitja
> -
> http://starikarp.redbubble.com
> ___
> 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"

hi mitja,

i believe your hardware is broken, i would try to get a pci usbcard an
disable the onboard controller, or configure a "Generic Kernel" and put
the hardisk in an different Computer from your buddy or your second
machine , and check if the problem still exists. 

greets 

daniel

-- 
The only reality is virtual!


___
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"


geom_label usb cdrom

2009-05-22 Thread ajtiM
My system FreeBSD 7.2
Problem with CDROM and usb card reader. It works but swithc from da4s1 to 
da0s1. OK it is no so frustraiting because I mount "manualy" in console. The 
bigger problem is cdrom which switch too but if I use KDE and K3b is a 
problem because K3b cannot find cdrom. Restart of computer help.

umass1:  on 
uhub4
da4 at umass-sim1 bus 1 target 0 lun 0
da4:  Removable Direct Access SCSI-2 device
da4: 40.000MB/s transfers
da4: 976MB (1999872 512 byte sectors: 64H 32S/T 976C)
GEOM_LABEL: Label for provider da4s1 is msdosfs/NIKON D50.
GEOM_LABEL: Label msdosfs/NIKON D50 removed.
GEOM_LABEL: Label for provider da4s1 is msdosfs/NIKON D50.
umass1: at uhub4 port 7 (addr 3) disconnected
(da4:umass-sim1:1:0:0): lost device
(da4:umass-sim1:1:0:0): removing device entry
GEOM_LABEL: Label msdosfs/NIKON D50 removed.
umass1: detached

***
and later:
umass0:  on 
uhub4
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: 976MB (1999872 512 byte sectors: 64H 32S/T 976C)
GEOM_LABEL: Label for provider da0s1 is msdosfs/NIKON D50.
GEOM_LABEL: Label msdosfs/NIKON D50 removed.
GEOM_LABEL: Label for provider da0s1 is msdosfs/NIKON D50.
umass0: at uhub4 port 7 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(dGaE0O:Mu_mLaAsBsE-Ls:i mL0a:b0e:l0 :m0s)d:o srfesm/oNvIiKnOgN  dDe5v0i cree 
me   onvterdy.


Thanks in advance.
-- 
Mitja
-
http://starikarp.redbubble.com
___
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: hald makes cdrom fail

2009-02-11 Thread Wojciech Puchar

that's what i do. i don't have atapicd in kernel at all

On Wed, 11 Feb 2009, Polytropon wrote:


On Wed, 11 Feb 2009 10:43:22 +, Anton Shterenlikht  
wrote:

On FBSD 7.1-stable i386 if I start hald from rc.conf with hald_enable="YES"
the cdrom fails with

acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 
0x00 0x00


Maybe this is a stupid and non-backed up idea, but what about using
the ATAPICAM facility (and /dev/cd instead of /dev/acd) for accessing
the CD-ROM drive?



--
Polytropon

From 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"



___
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: hald makes cdrom fail

2009-02-11 Thread Polytropon
On Wed, 11 Feb 2009 10:43:22 +, Anton Shterenlikht  
wrote:
> On FBSD 7.1-stable i386 if I start hald from rc.conf with hald_enable="YES"
> the cdrom fails with
> 
> acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 
> sks=0x40 0x00 0x00

Maybe this is a stupid and non-backed up idea, but what about using
the ATAPICAM facility (and /dev/cd instead of /dev/acd) for accessing
the CD-ROM drive?



-- 
Polytropon
>From 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: hald makes cdrom fail

2009-02-11 Thread Joe Marcus Clarke
Anton Shterenlikht wrote:
> On Wed, Feb 11, 2009 at 11:55:28AM -0500, Joe Marcus Clarke wrote:
>> Anton Shterenlikht wrote:
>>> On FBSD 7.1-stable i386 if I start hald from rc.conf with hald_enable="YES"
>>> the cdrom fails with
>>>
>>> acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 
>>> sks=0x40 0x00 0x00
>>>
>>> I submitted a PR on this
>>> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=i386/131426
>>>
>>> but it seems the problem is in hal, and not FBSD.
>> But what problem is this causing?  It should be benign.
> 
> I cannot mount a cdrom.
> I can do further testing if you suggest the tests.

See http://www.freebsd.org/gnome/docs/halfaq.html .

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  gn...@freebsd.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
___
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: hald makes cdrom fail

2009-02-11 Thread Joe Marcus Clarke
Anton Shterenlikht wrote:
> On FBSD 7.1-stable i386 if I start hald from rc.conf with hald_enable="YES"
> the cdrom fails with
> 
> acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 
> sks=0x40 0x00 0x00
> 
> I submitted a PR on this
> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=i386/131426
> 
> but it seems the problem is in hal, and not FBSD.

But what problem is this causing?  It should be benign.

Joe

> 


-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  gn...@freebsd.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
___
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: hald makes cdrom fail

2009-02-11 Thread Anton Shterenlikht
On Wed, Feb 11, 2009 at 11:55:28AM -0500, Joe Marcus Clarke wrote:
> Anton Shterenlikht wrote:
> > On FBSD 7.1-stable i386 if I start hald from rc.conf with hald_enable="YES"
> > the cdrom fails with
> > 
> > acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 
> > sks=0x40 0x00 0x00
> > 
> > I submitted a PR on this
> > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=i386/131426
> > 
> > but it seems the problem is in hal, and not FBSD.
> 
> But what problem is this causing?  It should be benign.

I cannot mount a cdrom.
I can do further testing if you suggest the tests.

thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


hald makes cdrom fail

2009-02-11 Thread Anton Shterenlikht
On FBSD 7.1-stable i386 if I start hald from rc.conf with hald_enable="YES"
the cdrom fails with

acd0: FAILURE - unknown CMD (0x03) ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 
0x00 0x00

I submitted a PR on this
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=i386/131426

but it seems the problem is in hal, and not FBSD.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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"


cdrom restatus

2008-12-27 Thread edmund jones
Hello Happy Holidays!

Hope you had a great new years. 
Im just writing cause I have a little problem. I must have made an adjustment 
while trying to round out the compatibility of the jdk.  I guess to the 
parameter node of fstab and or /dev.  Now when I try to load the cdrom from any 
where I get "...kernel cannot have more than 32 cdrom devices."
Im stumped. Though, I just checked the site and found a little data. 
However could you offer any way to remove the 32 cd - cause -df does not show 
any loaded. I'll fiddle with the -o and make sure Im syntax ok. but if "you" 
had to quess -??   Please contact Thanks.  


  
___
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: Recovering root password from a drive by mounting the cdrom

2008-07-07 Thread Mukarram Syed
Thanks Manolis for your response.
This disk is running freebsd but it's from iomega software company on an 
unsupported raid controller product of theirs.  I can't get any help from them 
even for a price.
I could boot up the disk in single user but at the login prompt I can't type 
anything, even if I boot up in multi user mode.  That's why I was trying the cd 
path hoping I could get in that way.  Yes I think my console may been marked as 
'insecure' in /etc/ttys that's why I am not able to get in as you said.
I try the options you gave me below and see what I could find.

Thanks much

# mukarram


 Mukarram Syed
[EMAIL PROTECTED]



- Original Message 
From: Manolis Kiagias <[EMAIL PROTECTED]>
To: Mukarram Syed <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Monday, July 7, 2008 12:12:17 AM
Subject: Re: Recovering root password from a drive by mounting the cdrom

Mukarram Syed wrote:
> Thanks for this response and others.
> However, my problem does not look to be so simple.
>
> I boot off the install cd and get into the fixit prompt.
>
> I dmesg | less and get the device name that I think is my hard drive /dev/ad0.
> I fdisk /dev/ad0 and get information about 3 slices.  I am think /dev/ad0 
> slice 3 is the root file system because slice 3 has a greatest amount of disk 
> space and that looks like my root partition
> Then I ls -l /dev |grep ad0 and it spits out a number for /dev/ad0 like ad0s0 
> ad0s1 ad0s3 etc.
> I am assuming /dev/ad0s3 is slice 3 which I believe it to be my root 
> partition.
> So I mount it:
> mount /dev/ad0s3 /mnt
> I do a df -k and find that /mnt has 0 bytes available.  To check I cd /mnt 
> and ls and don't find any data in it.
> I check/dev/ad0s2 /dev/ad0s1 in the same way.  None of it has any data.
>
> I guess there is something else that I am missing at this point.
>
> Can anyone advise.
>
> Thanks
>
> # mukarram
>
>
>  Mukarram Syed
> [EMAIL PROTECTED]
>
>
>  

There must be something wrong if  don't see any partitions in any of the 
slices. You should see something like

ad0s1a, ad0s1d, ad0s1f ...

Are you able to boot the server normally, from its own disk?
Are you able to boot into single user mode, by selecting it from the 
boot menu?

If you can boot into single user mode, you can change the password 
immediately by doing something like:

mount -o rw  /
mount -a
passwd
(then exit and boot will continue)

If you are asked for a root password when going into single user mode, 
your console has been marked as 'insecure' in /etc/ttys. You will need 
to boot with the live CD, mount the root partition and change /etc/ttys, 
then reboot in single user mode and change the password. This is the 
easiest way IMHO. If you are not asked for a password when getting into 
single user mode, you don't need the live CD at all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



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


Re: Recovering root password from a drive by mounting the cdrom

2008-07-07 Thread Manolis Kiagias

Mukarram Syed wrote:

Thanks for this response and others.
However, my problem does not look to be so simple.

I boot off the install cd and get into the fixit prompt.

I dmesg | less and get the device name that I think is my hard drive /dev/ad0.
I fdisk /dev/ad0 and get information about 3 slices.  I am think /dev/ad0 slice 
3 is the root file system because slice 3 has a greatest amount of disk space 
and that looks like my root partition
Then I ls -l /dev |grep ad0 and it spits out a number for /dev/ad0 like ad0s0 
ad0s1 ad0s3 etc.
I am assuming /dev/ad0s3 is slice 3 which I believe it to be my root partition.
So I mount it:
mount /dev/ad0s3 /mnt
I do a df -k and find that /mnt has 0 bytes available.  To check I cd /mnt and 
ls and don't find any data in it.
I check/dev/ad0s2 /dev/ad0s1 in the same way.  None of it has any data.

I guess there is something else that I am missing at this point.

Can anyone advise.

Thanks

# mukarram


 Mukarram Syed
[EMAIL PROTECTED]


  


There must be something wrong if  don't see any partitions in any of the 
slices. You should see something like


ad0s1a, ad0s1d, ad0s1f ...

Are you able to boot the server normally, from its own disk?
Are you able to boot into single user mode, by selecting it from the 
boot menu?


If you can boot into single user mode, you can change the password 
immediately by doing something like:


mount -o rw  /
mount -a
passwd
(then exit and boot will continue)

If you are asked for a root password when going into single user mode, 
your console has been marked as 'insecure' in /etc/ttys. You will need 
to boot with the live CD, mount the root partition and change /etc/ttys, 
then reboot in single user mode and change the password. This is the 
easiest way IMHO. If you are not asked for a password when getting into 
single user mode, you don't need the live CD at all.

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


Re: Recovering root password from a drive by mounting the cdrom

2008-07-06 Thread Mukarram Syed
Thanks for this response and others.
However, my problem does not look to be so simple.

I boot off the install cd and get into the fixit prompt.

I dmesg | less and get the device name that I think is my hard drive /dev/ad0.
I fdisk /dev/ad0 and get information about 3 slices.  I am think /dev/ad0 slice 
3 is the root file system because slice 3 has a greatest amount of disk space 
and that looks like my root partition
Then I ls -l /dev |grep ad0 and it spits out a number for /dev/ad0 like ad0s0 
ad0s1 ad0s3 etc.
I am assuming /dev/ad0s3 is slice 3 which I believe it to be my root partition.
So I mount it:
mount /dev/ad0s3 /mnt
I do a df -k and find that /mnt has 0 bytes available.  To check I cd /mnt and 
ls and don't find any data in it.
I check/dev/ad0s2 /dev/ad0s1 in the same way.  None of it has any data.

I guess there is something else that I am missing at this point.

Can anyone advise.

Thanks

# mukarram


 Mukarram Syed
[EMAIL PROTECTED]



- Original Message 
From: Wojciech Puchar <[EMAIL PROTECTED]>
To: Mukarram Syed <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Sunday, July 6, 2008 2:18:56 PM
Subject: Re: Recovering root password from a drive by mounting the cdrom

> I need your help!
> I have booted up from a freebsd install cd 1.  I have connected my freebsd 
> drive in the system.  Now I don't know how to mount the drive to edit the 
> /etc/shadow file.
> I am at the fixit prompt on the cd.

IMHO

mount  /mnt
mount  /mnt/usr

cd /mnt
chroot . usr/bin/passwd

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



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


Re: Recovering root password from a drive by mounting the cdrom

2008-07-06 Thread Wojciech Puchar

I need your help!
I have booted up from a freebsd install cd 1.  I have connected my freebsd 
drive in the system.  Now I don't know how to mount the drive to edit the 
/etc/shadow file.
I am at the fixit prompt on the cd.


IMHO

mount  /mnt
mount  /mnt/usr

cd /mnt
chroot . usr/bin/passwd

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


Re: Recovering root password from a drive by mounting the cdrom

2008-07-06 Thread David Alanis

Quoting Mukarram Syed <[EMAIL PROTECTED]>:


Hi,
I am totally new to freebsd and as a Unix admin (not a freebsd unix   
admin though), I have to recover a lost root password from a freebsd  
 drive.

I need your help!
I have booted up from a freebsd install cd 1.  I have connected my   
freebsd drive in the system.  Now I don't know how to mount the   
drive to edit the /etc/shadow file.

I am at the fixit prompt on the cd.
Can anyone help.  I have tried googling this for the past hour with no luck.
Is there anyother way to do this?  I can't login using single user   
mode though.


thanks much

# mukarram

 Mukarram Syed
[EMAIL PROTECTED]




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



Simple as typing a few words in google:

http://www.google.com/search?hl=en&q=how+to+recover+a+root+password+freebsd&btnG=Search

Try the first link.




This message was sent using IMP, the Internet Messaging Program.

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


Recovering root password from a drive by mounting the cdrom

2008-07-06 Thread Mukarram Syed
Hi,
I am totally new to freebsd and as a Unix admin (not a freebsd unix admin 
though), I have to recover a lost root password from a freebsd drive.
I need your help!
I have booted up from a freebsd install cd 1.  I have connected my freebsd 
drive in the system.  Now I don't know how to mount the drive to edit the 
/etc/shadow file.
I am at the fixit prompt on the cd.  
Can anyone help.  I have tried googling this for the past hour with no luck.
Is there anyother way to do this?  I can't login using single user mode though.

thanks much

# mukarram

 Mukarram Syed
[EMAIL PROTECTED]



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


Re: Error kio_media_mounthelper cdrom not accessible for normal users

2008-06-29 Thread Gonzalo Nemmi
On Sunday 29 June 2008 23:40:21 Desmond Chapman wrote:
> "Feature only available with HAL"
> I have asked about this. I have searched. I have tried sysctl, I have
> edited devfs.conf and to no avail. I have changed permissions on the
> device.
> And I still cannot access it as a normal non-root user.
>
> How do I make it work?

Try this.
1) as root: add the following line to the end of your /etc/sysctl.conf file

vfs.usermount=1

2) as root: Invite your user to the "operator" group
3) as root: chmod 660 /dev/acd0
4) as root: add this lines to the end of your /etc/devfs.conf file

own /dev/acd0   root:operator
perm/dev/acd0   0660

5) as root: edit your /etc/fstab to add a line like this:

/dev/acd0   /home/youruser/media cd9660  rw,noauto   0   0

6) as root: issue the following command:

/etc/rc.d/devfs restart

7) as user: create a "media" folder inside your "home folder" (the thing is 
that users can only mount on folders they own ...)

When done .. give it a shot:

[EMAIL PROTECTED] ~]% pwd
/usr/home/gonzalo
[EMAIL PROTECTED] ~]% ls media/
[EMAIL PROTECTED] ~]% mount -t cd9660 /dev/acd0 media/
[EMAIL PROTECTED] ~]% ls media/
4.3/   TRANS.TBL  etc/
[EMAIL PROTECTED] ~]% cd media/4.3/
[EMAIL PROTECTED] ~/media/4.3]% ls
TRANS.TBL  i386/
[EMAIL PROTECTED] ~/media/4.3]% cd i386/
[EMAIL PROTECTED] ~/media/4.3/i386]% ls
INSTALL.i386  boot.catalog* bsd.rd*   comp43.tgzman43.tgz 
xetc43.tgzxshare43.tgz
TRANS.TBL bsd*  cdboot*   etc43.tgz misc43.tgz
xfont43.tgz
base43.tgzbsd.mp*   cdbr* game43.tgzxbase43.tgz   
xserv43.tgz
[EMAIL PROTECTED] ~/media/4.3/i386]% cd ~
[EMAIL PROTECTED] ~]% umount media/
[EMAIL PROTECTED] ~]% ls media/
[EMAIL PROTECTED] ~]%

If it worked, feel free to create a "Create New/Link to Device/CD-ROM Device" 
in your KDE desktop ... just make sure that in the "Device" tab entry, the 
path points to /dev/acd0 (/home/youruser/media), and that the rw or ro values 
are correlative to those in your /etc/fstab entry.

Hope it works your you. That's the way it works for me :)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error kio_media_mounthelper cdrom not accessible for normal users

2008-06-29 Thread Desmond Chapman

"Feature only available with HAL"
I have asked about this. I have searched. I have tried sysctl, I have edited 
devfs.conf and to no avail.
I have changed permissions on the device.
And I still cannot access it as a normal non-root user.

How do I make it work?

_
The other season of giving begins 6/24/08. Check out the i’m Talkathon.
http://www.imtalkathon.com?source=TXT_EML_WLH_SeasonOfGiving___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't access cdrom as regular user

2008-06-29 Thread chip

Rudy wrote:


So as root I set the permissions to 777 on acd0, then after a reboot 
the permissions were reset back to what they were previously. What do 
I have to do to get access to my cd drive on my regular account?



Edit your /etc/devfs.conf file...

Add this line:
 permacd00666


Simulate the boot-up of devfs:
 /etc/rc.d/devfs restart

(easier than rebooting)

- Rudy
Thanks Rudy, that fixed that problem, now though another has popped up - 
after listening to a cd, the system doesn't release the drive so the cd 
won't eject, I have to reboot to get the cd out.

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


Re: can't access cdrom as regular user

2008-06-28 Thread Rudy


So as root I set the permissions to 777 on acd0, then after a reboot the 
permissions were reset back to what they were previously. What do I have 
to do to get access to my cd drive on my regular account?



Edit your /etc/devfs.conf file...

Add this line:
 permacd00666


Simulate the boot-up of devfs:
 /etc/rc.d/devfs restart

(easier than rebooting)

- Rudy


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


can't access cdrom as regular user

2008-06-28 Thread chip

I can't access my cd drive on my regular login. I get this message -

CD-ROM read or access error (or no audio disc in drive).
Please make sure you have access permissions to:
/dev/acd0

So as root I set the permissions to 777 on acd0, then after a reboot the 
permissions were reset back to what they were previously. What do I have 
to do to get access to my cd drive on my regular account?

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


Re: Installing FreeBSD from USB CDROM drive

2008-02-27 Thread Wojciech Puchar



I am having problems installing both 6.3 and 7.0 using a CDROM drive that
plugs into a USB port.  The boot process starts, then I get scrambled text
over the whole screen scrolling like crazy.  I can't read any of it.
yes on some motherboard there are problems booting with USB - i've got 
similar too but nor screen scrool just single error when starting 
/boot/loader

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


Re: Installing FreeBSD from USB CDROM drive

2008-02-27 Thread Nerius Landys
>
> > I am having problems installing both 6.3 and 7.0 using a CDROM drive
> that
> > plugs into a USB port.  The boot process starts, then I get scrambled
> text
> > over the whole screen scrolling like crazy.  I can't read any of it.
>
> Are you sure the CD images are OK? Where did they come from.
> Did you download iso images and write them yourself? If so how?


The image is OK.  I used the same exact CD to successfully install onto
other machines.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing FreeBSD from USB CDROM drive

2008-02-27 Thread Malcolm Kay
On Thu, 28 Feb 2008 03:34 pm, Nerius Landys wrote:
> I am having problems installing both 6.3 and 7.0 using a CDROM drive that
> plugs into a USB port.  The boot process starts, then I get scrambled text
> over the whole screen scrolling like crazy.  I can't read any of it.

Are you sure the CD images are OK? Where did they come from.
Did you download iso images and write them yourself? If so how?

> 
> I have no such problems booting or installing from other CDs on this same
> computer.  Ubuntu 6.06 installs just fine, and System Rescue CD 0.4.2 boots
> up just fine.  Any ideas?

Strange things happen but this would make me suspect the validity of the CD 
images.

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


Installing FreeBSD from USB CDROM drive

2008-02-27 Thread Nerius Landys
I am having problems installing both 6.3 and 7.0 using a CDROM drive that
plugs into a USB port.  The boot process starts, then I get scrambled text
over the whole screen scrolling like crazy.  I can't read any of it.

I have no such problems booting or installing from other CDs on this same
computer.  Ubuntu 6.06 installs just fine, and System Rescue CD 0.4.2 boots
up just fine.  Any ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: CDROM Boot Hangs But Only Under 6.x

2007-12-28 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Tim Daneliuk
> Sent: Wednesday, December 26, 2007 1:07 PM
> To: FreeBSD Mailing List
> Subject: Re: CDROM Boot Hangs But Only Under 6.x
> 
> 
> This was a brand new Abit LG-95Z mobo.  The solution was to return it
> and get an Intel mobo instead.  Problem fixed.

Thanks for letting us know this was a problem board.  I would strongly
request you let Abit know what happened as well.  It is only through
feedback like this that motherboard manufacturers will actually test
their stuff under FreeBSD.

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


RE: CDROM Boot Hangs But Only Under 6.x

2007-12-28 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Tim Daneliuk
> Sent: Tuesday, December 25, 2007 11:15 PM
> To: FreeBSD Mailing List
> Subject: Re: CDROM Boot Hangs But Only Under 6.x
>
>
> Ted Mittelstaedt wrote:
> 
>
>
> >
> > If your MB is new it should work.  Older MB's have problems with
> > the "new way" to boot off an optical cd.  You can try BIOS/CMOS
> > updates from the motherbard mfg if they are available.  Sometimes
> > even back-flashing to older BIOS fixes it.
>
> This is a brand new ABIT mobo w/latest bios on board.
>
> >
> >> 3) Reordering/removing memory sticks made no difference.  I am running
> >> a memory test ATM just to be sure, but so far, the memory
> seems fine.
> >>
> >> 4) No amount of poking around in the BIOS settings seems to
> help either.
> >>
> >> I am starting to suspect the MOBO.  If I stick a couple of cards in the
> >> two available PCI slots, the system has trouble taking me into the BIOS
> >> screen.  I have to remove the cards to reliably get into the BIOS
> >> settings menu.  I wonder if this is one of those situations where there
> >> are not enough IRQs to go around.
> >>
> >
> > If it's a new MB the PCI cards are probably too old/slow to work right.
>
> I thought that even modern PCI busses would fall back to the old
> speeds.  I've had not trouble with any of my other rather new
> mobos, running, say, old Adaptec controllers.
>
> >
> > Another thing to check is if the MB has any overclock settings turned
> > on, these will screw up booting, going into BIOS, and some PCI cards.
> > Go to BIOS and select "reset to factory settings" which turns off all
> > the go-fast stuff.  And make sure you confirm the CPU speed in BIOS
> > with the actual speed stamped on the CPU.
>
> I've reset the BIOS to the most conservative mode, no overclocking, etc.
>
> >
> > Sometimes you just got to stick a floppy disk drive on the thing and
> > boot from the 4 boot floppies then do an FTP install.  I have about
> > a dozen servers among the collection I manage that are like this -
> > some are even newer ones.
>
> I would *love* to know just where boot is getting lost.  In the case
> of your servers, do you see the same symptoms I am seeing: The
> kernel loading progress prompt gets painted (most of the time,
> sometimes it does not even make it that far) and the booting
> seizes up?
>

No, they won't even load the boot loader.  The symptoms your describing
are classic for PIO/UDMA negotiation issues.  In other words, the
connection from the atapi controller to the optical drive is being
negotiated by BIOS as UDMA and negotiated by the FreeBSD boot kernel
as UDMA but a bug somewhere is causing the bus to corrupt data.  The
usual fix is to switch to PIO mode.  The only problem with this
is that you have already swapped optical drives, and I'd assume that
at least one of the swaps didn't support UDMA mode (thus forcing
PIO mode) you also said you already checked this, and even if it did
negotiate UDMA it would be UDMA33 not anything faster that would require
the special high speed IDE cables so we can probably rule out a
crap CDROM cable.  Lastly, the default on the ata driver is supposed
to be PIO mode anyway for optical drives.

Ted

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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-27 Thread Tim Kellers
I have 18 brand new Gateway towers at work (I can supply the model 
numbers after school restarts next week).  I wanted to clone them using 
dd and an external usb hard drive.  I couldn't boot 6.x or 7.x  CDs on 
any of the boxes, but I was able to install 7 (I didn't try 6.x) on a 
usb stick, set the BIOS to boot from the device and run FreeBSD (and dd) 
from there.


These machines have CDRW/DVDR drives installed.  I've had no problem 
running any content based media from them at all, but I haven't tried 
booting any other media (like WinXP) from them, either.


Tim

David M. Patronis wrote:




Not in this case.  As I mentioned in a prior post, I tried booting
with the 7.0-BETA4 ISO and got the exact same results.

Response:

Yes, sorry about that; was in too much of a hurry and missed the later 
posts.


David





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





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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-27 Thread David M. Patronis




Not in this case.  As I mentioned in a prior post, I tried booting
with the 7.0-BETA4 ISO and got the exact same results.

Response:

Yes, sorry about that; was in too much of a hurry and missed the later 
posts.


David





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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-26 Thread Tim Daneliuk

David M. Patronis wrote:

Tim Daneliuk wrote:

[EMAIL PROTECTED] wrote:

On 25/12/2007, Tim Daneliuk <[EMAIL PROTECTED]> wrote:

I am building a new server out of both older and brand new
components.  It is based on a Pentium D 925 and ABIT LG-95Z
mobo.  The DVD-RW is a Lite-On about a year old with very
low hours on it.

So ... here's a fun one:  I can boot and install FreeBSD 4.x (CD)
or Novell SUSE Enterprise Linux Desktop 10 SP1 (DVD) via the
DVD.  But attempting to do this with 6.x (I have tried 6.2R and
6.3-PRE disk #1) causes a hang during boot.  The loader gets
as far as showing the vertical bar that ordinarily "spins"
to show intitial kernel loading progress and the the machine
just sits there.  There is some further activity on the optical
drive at this point and then the cursor sort of jumps around a bit.

I've not yet tried swapping the optical drive out - though I doubt
this is the problem since I can load the other OSs.  I've tried
removing and moving memory sticks in case this is a flakey
memory problem - no change.  I've tried removing the only
two cards in the machine: 3COM 905C-TX and an Adaptec 2940UW -
no change.

I have one last ditch thing I will try later tonight which is
to force the DVD IDE port into PIO mode and out of DMA mode.
But that's it.  I am stumped.  Ideas anyone?



If it is not hardware, check your bios settings (and mayhap
set back to default or very conservative) (of which the PIO
trick may work).




I just swapped out the optical drive with a CD-RW - exact same
symptoms.  Fiddling w/BIOS, seems to make no difference, though
I am still poking at it.  I am utterly lost - never seen
very standard hardware like this that FreeBSD could/would not
boot and run on ...

Response:

Its probably an issue with the 6X series. I have experienced something 
similar and just spoke to someone via this list with a similar problem. 
In all cases thus far we were able to install using the 7X series.


David


Not in this case.  As I mentioned in a prior post, I tried booting
with the 7.0-BETA4 ISO and got the exact same results.


--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-26 Thread David M. Patronis

Tim Daneliuk wrote:

[EMAIL PROTECTED] wrote:

On 25/12/2007, Tim Daneliuk <[EMAIL PROTECTED]> wrote:

I am building a new server out of both older and brand new
components.  It is based on a Pentium D 925 and ABIT LG-95Z
mobo.  The DVD-RW is a Lite-On about a year old with very
low hours on it.

So ... here's a fun one:  I can boot and install FreeBSD 4.x (CD)
or Novell SUSE Enterprise Linux Desktop 10 SP1 (DVD) via the
DVD.  But attempting to do this with 6.x (I have tried 6.2R and
6.3-PRE disk #1) causes a hang during boot.  The loader gets
as far as showing the vertical bar that ordinarily "spins"
to show intitial kernel loading progress and the the machine
just sits there.  There is some further activity on the optical
drive at this point and then the cursor sort of jumps around a bit.

I've not yet tried swapping the optical drive out - though I doubt
this is the problem since I can load the other OSs.  I've tried
removing and moving memory sticks in case this is a flakey
memory problem - no change.  I've tried removing the only
two cards in the machine: 3COM 905C-TX and an Adaptec 2940UW -
no change.

I have one last ditch thing I will try later tonight which is
to force the DVD IDE port into PIO mode and out of DMA mode.
But that's it.  I am stumped.  Ideas anyone?



If it is not hardware, check your bios settings (and mayhap
set back to default or very conservative) (of which the PIO
trick may work).




I just swapped out the optical drive with a CD-RW - exact same
symptoms.  Fiddling w/BIOS, seems to make no difference, though
I am still poking at it.  I am utterly lost - never seen
very standard hardware like this that FreeBSD could/would not
boot and run on ...

Response:

Its probably an issue with the 6X series. I have experienced something 
similar and just spoke to someone via this list with a similar problem. 
In all cases thus far we were able to install using the 7X series.


David







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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-26 Thread Tim Daneliuk

NetOpsCenter wrote:

[EMAIL PROTECTED] wrote:

On 25/12/2007, Tim Daneliuk <[EMAIL PROTECTED]> wrote:
 

I am building a new server out of both older and brand new
components.  It is based on a Pentium D 925 and ABIT LG-95Z
mobo.  The DVD-RW is a Lite-On about a year old with very
low hours on it.

So ... here's a fun one:  I can boot and install FreeBSD 4.x (CD)
or Novell SUSE Enterprise Linux Desktop 10 SP1 (DVD) via the
DVD.  But attempting to do this with 6.x (I have tried 6.2R and
6.3-PRE disk #1) causes a hang during boot.  The loader gets
as far as showing the vertical bar that ordinarily "spins"
to show intitial kernel loading progress and the the machine
just sits there.  There is some further activity on the optical
drive at this point and then the cursor sort of jumps around a bit.

I've not yet tried swapping the optical drive out - though I doubt
this is the problem since I can load the other OSs.  I've tried
removing and moving memory sticks in case this is a flakey
memory problem - no change.  I've tried removing the only
two cards in the machine: 3COM 905C-TX and an Adaptec 2940UW -
no change.

I have one last ditch thing I will try later tonight which is
to force the DVD IDE port into PIO mode and out of DMA mode.
But that's it.  I am stumped.  Ideas anyone?




If it is not hardware, check your bios settings (and mayhap
set back to default or very conservative) (of which the PIO
trick may work).

Also, 7.0 ran extremely well for me back in Sept., you might
try it as an alternative.

HTH

  

Aloha,

I had the same problem with a couple of older mobo's . I ended up 
loading 6.* on a hd on a different machine that I knew worked. I 
physically moved it to the problem box and it Worked.


I think the issue could be the size or the type of HD in my case. Some 
older mobo bios jam up when a HD is more than 60 gig I have found.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* +
"All that's really worth doing is what we do for others."- Lewis Carrol



This was a brand new Abit LG-95Z mobo.  The solution was to return it
and get an Intel mobo instead.  Problem fixed.
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-26 Thread NetOpsCenter

[EMAIL PROTECTED] wrote:

On 25/12/2007, Tim Daneliuk <[EMAIL PROTECTED]> wrote:
  

I am building a new server out of both older and brand new
components.  It is based on a Pentium D 925 and ABIT LG-95Z
mobo.  The DVD-RW is a Lite-On about a year old with very
low hours on it.

So ... here's a fun one:  I can boot and install FreeBSD 4.x (CD)
or Novell SUSE Enterprise Linux Desktop 10 SP1 (DVD) via the
DVD.  But attempting to do this with 6.x (I have tried 6.2R and
6.3-PRE disk #1) causes a hang during boot.  The loader gets
as far as showing the vertical bar that ordinarily "spins"
to show intitial kernel loading progress and the the machine
just sits there.  There is some further activity on the optical
drive at this point and then the cursor sort of jumps around a bit.

I've not yet tried swapping the optical drive out - though I doubt
this is the problem since I can load the other OSs.  I've tried
removing and moving memory sticks in case this is a flakey
memory problem - no change.  I've tried removing the only
two cards in the machine: 3COM 905C-TX and an Adaptec 2940UW -
no change.

I have one last ditch thing I will try later tonight which is
to force the DVD IDE port into PIO mode and out of DMA mode.
But that's it.  I am stumped.  Ideas anyone?




If it is not hardware, check your bios settings (and mayhap
set back to default or very conservative) (of which the PIO
trick may work).

Also, 7.0 ran extremely well for me back in Sept., you might
try it as an alternative.

HTH

  

Aloha,

I had the same problem with a couple of older mobo's . I ended up 
loading 6.* on a hd on a different machine that I knew worked. I 
physically moved it to the problem box and it Worked.


I think the issue could be the size or the type of HD in my case. Some 
older mobo bios jam up when a HD is more than 60 gig I have found.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* +
"All that's really worth doing is what we do for others."- Lewis Carrol


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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-25 Thread Tim Daneliuk

Ted Mittelstaedt wrote:





If your MB is new it should work.  Older MB's have problems with
the "new way" to boot off an optical cd.  You can try BIOS/CMOS
updates from the motherbard mfg if they are available.  Sometimes
even back-flashing to older BIOS fixes it.


This is a brand new ABIT mobo w/latest bios on board.




3) Reordering/removing memory sticks made no difference.  I am running
a memory test ATM just to be sure, but so far, the memory seems fine.

4) No amount of poking around in the BIOS settings seems to help either.

I am starting to suspect the MOBO.  If I stick a couple of cards in the
two available PCI slots, the system has trouble taking me into the BIOS
screen.  I have to remove the cards to reliably get into the BIOS
settings menu.  I wonder if this is one of those situations where there
are not enough IRQs to go around.



If it's a new MB the PCI cards are probably too old/slow to work right.


I thought that even modern PCI busses would fall back to the old
speeds.  I've had not trouble with any of my other rather new
mobos, running, say, old Adaptec controllers.



Another thing to check is if the MB has any overclock settings turned
on, these will screw up booting, going into BIOS, and some PCI cards.
Go to BIOS and select "reset to factory settings" which turns off all
the go-fast stuff.  And make sure you confirm the CPU speed in BIOS
with the actual speed stamped on the CPU.


I've reset the BIOS to the most conservative mode, no overclocking, etc.



Sometimes you just got to stick a floppy disk drive on the thing and
boot from the 4 boot floppies then do an FTP install.  I have about
a dozen servers among the collection I manage that are like this - 
some are even newer ones.


I would *love* to know just where boot is getting lost.  In the case
of your servers, do you see the same symptoms I am seeing: The
kernel loading progress prompt gets painted (most of the time,
sometimes it does not even make it that far) and the booting
seizes up?

Thanks for your time,

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


RE: CDROM Boot Hangs But Only Under 6.x

2007-12-25 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Tim Daneliuk
> Sent: Tuesday, December 25, 2007 10:53 PM
> To: FreeBSD Mailing List
> Subject: Re: CDROM Boot Hangs But Only Under 6.x
> 
> 
> [EMAIL PROTECTED] wrote:
> > On 25/12/2007, Tim Daneliuk <[EMAIL PROTECTED]> wrote:
> >> I am building a new server out of both older and brand new
> >> components.  It is based on a Pentium D 925 and ABIT LG-95Z
> >> mobo.  The DVD-RW is a Lite-On about a year old with very
> >> low hours on it.
> >>
> >> So ... here's a fun one:  I can boot and install FreeBSD 4.x (CD)
> >> or Novell SUSE Enterprise Linux Desktop 10 SP1 (DVD) via the
> >> DVD.  But attempting to do this with 6.x (I have tried 6.2R and
> >> 6.3-PRE disk #1) causes a hang during boot.  The loader gets
> >> as far as showing the vertical bar that ordinarily "spins"
> >> to show intitial kernel loading progress and the the machine
> >> just sits there.  There is some further activity on the optical
> >> drive at this point and then the cursor sort of jumps around a bit.
> >>
> >> I've not yet tried swapping the optical drive out - though I doubt
> >> this is the problem since I can load the other OSs.  I've tried
> >> removing and moving memory sticks in case this is a flakey
> >> memory problem - no change.  I've tried removing the only
> >> two cards in the machine: 3COM 905C-TX and an Adaptec 2940UW -
> >> no change.
> >>
> >> I have one last ditch thing I will try later tonight which is
> >> to force the DVD IDE port into PIO mode and out of DMA mode.
> >> But that's it.  I am stumped.  Ideas anyone?
> >>
> > 
> > If it is not hardware, check your bios settings (and mayhap
> > set back to default or very conservative) (of which the PIO
> > trick may work).
> 
> Well ... no amount of BIOS fiddling fixes this problem.
> 
> > 
> > Also, 7.0 ran extremely well for me back in Sept., you might
> > try it as an alternative.
> > 
> 
> I downloaded 7.0-BETA4 and burned the CD - This exhibits the
> exact same boot time behavior as the earlier 6.x releases.
> 
> In summary:
> 
> 1) I can boot 4.x or Linux install CDs.   I cannot boot 6.x or 7.x
> install CD - system hangs at the beginning of loading the kernel
> and the video cursor starts jumping around - presumably because
> the program has lost its way.  (I am assuming that the "program"
> having trouble is the loader itself, since the kernel is not yet
> loaded at this point.)
> 
> 2) Changing optical drives made no difference.
> 

The boot was changed from 4.x to the later series.  I think it was
changed from "floppy emulation boot" to "cd boot" or some such
nonsense.  You can get more info by reading up in the handbook
where it talks about how to create a distribution CD.  One of the
options on the cdburn controls this.

If your MB is new it should work.  Older MB's have problems with
the "new way" to boot off an optical cd.  You can try BIOS/CMOS
updates from the motherbard mfg if they are available.  Sometimes
even back-flashing to older BIOS fixes it.

> 3) Reordering/removing memory sticks made no difference.  I am running
> a memory test ATM just to be sure, but so far, the memory seems fine.
> 
> 4) No amount of poking around in the BIOS settings seems to help either.
> 
> I am starting to suspect the MOBO.  If I stick a couple of cards in the
> two available PCI slots, the system has trouble taking me into the BIOS
> screen.  I have to remove the cards to reliably get into the BIOS
> settings menu.  I wonder if this is one of those situations where there
> are not enough IRQs to go around.
> 

If it's a new MB the PCI cards are probably too old/slow to work right.

Another thing to check is if the MB has any overclock settings turned
on, these will screw up booting, going into BIOS, and some PCI cards.
Go to BIOS and select "reset to factory settings" which turns off all
the go-fast stuff.  And make sure you confirm the CPU speed in BIOS
with the actual speed stamped on the CPU.

Sometimes you just got to stick a floppy disk drive on the thing and
boot from the 4 boot floppies then do an FTP install.  I have about
a dozen servers among the collection I manage that are like this - 
some are even newer ones.

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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-25 Thread Tim Daneliuk

[EMAIL PROTECTED] wrote:

On 25/12/2007, Tim Daneliuk <[EMAIL PROTECTED]> wrote:

I am building a new server out of both older and brand new
components.  It is based on a Pentium D 925 and ABIT LG-95Z
mobo.  The DVD-RW is a Lite-On about a year old with very
low hours on it.

So ... here's a fun one:  I can boot and install FreeBSD 4.x (CD)
or Novell SUSE Enterprise Linux Desktop 10 SP1 (DVD) via the
DVD.  But attempting to do this with 6.x (I have tried 6.2R and
6.3-PRE disk #1) causes a hang during boot.  The loader gets
as far as showing the vertical bar that ordinarily "spins"
to show intitial kernel loading progress and the the machine
just sits there.  There is some further activity on the optical
drive at this point and then the cursor sort of jumps around a bit.

I've not yet tried swapping the optical drive out - though I doubt
this is the problem since I can load the other OSs.  I've tried
removing and moving memory sticks in case this is a flakey
memory problem - no change.  I've tried removing the only
two cards in the machine: 3COM 905C-TX and an Adaptec 2940UW -
no change.

I have one last ditch thing I will try later tonight which is
to force the DVD IDE port into PIO mode and out of DMA mode.
But that's it.  I am stumped.  Ideas anyone?



If it is not hardware, check your bios settings (and mayhap
set back to default or very conservative) (of which the PIO
trick may work).


Well ... no amount of BIOS fiddling fixes this problem.



Also, 7.0 ran extremely well for me back in Sept., you might
try it as an alternative.



I downloaded 7.0-BETA4 and burned the CD - This exhibits the
exact same boot time behavior as the earlier 6.x releases.

In summary:

1) I can boot 4.x or Linux install CDs.   I cannot boot 6.x or 7.x
   install CD - system hangs at the beginning of loading the kernel
   and the video cursor starts jumping around - presumably because
   the program has lost its way.  (I am assuming that the "program"
   having trouble is the loader itself, since the kernel is not yet
   loaded at this point.)

2) Changing optical drives made no difference.

3) Reordering/removing memory sticks made no difference.  I am running
   a memory test ATM just to be sure, but so far, the memory seems fine.

4) No amount of poking around in the BIOS settings seems to help either.

I am starting to suspect the MOBO.  If I stick a couple of cards in the
two available PCI slots, the system has trouble taking me into the BIOS
screen.  I have to remove the cards to reliably get into the BIOS
settings menu.  I wonder if this is one of those situations where there
are not enough IRQs to go around.

I remain confused ...

--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-25 Thread Tim Daneliuk

[EMAIL PROTECTED] wrote:

On 25/12/2007, Tim Daneliuk <[EMAIL PROTECTED]> wrote:

I am building a new server out of both older and brand new
components.  It is based on a Pentium D 925 and ABIT LG-95Z
mobo.  The DVD-RW is a Lite-On about a year old with very
low hours on it.

So ... here's a fun one:  I can boot and install FreeBSD 4.x (CD)
or Novell SUSE Enterprise Linux Desktop 10 SP1 (DVD) via the
DVD.  But attempting to do this with 6.x (I have tried 6.2R and
6.3-PRE disk #1) causes a hang during boot.  The loader gets
as far as showing the vertical bar that ordinarily "spins"
to show intitial kernel loading progress and the the machine
just sits there.  There is some further activity on the optical
drive at this point and then the cursor sort of jumps around a bit.

I've not yet tried swapping the optical drive out - though I doubt
this is the problem since I can load the other OSs.  I've tried
removing and moving memory sticks in case this is a flakey
memory problem - no change.  I've tried removing the only
two cards in the machine: 3COM 905C-TX and an Adaptec 2940UW -
no change.

I have one last ditch thing I will try later tonight which is
to force the DVD IDE port into PIO mode and out of DMA mode.
But that's it.  I am stumped.  Ideas anyone?



If it is not hardware, check your bios settings (and mayhap
set back to default or very conservative) (of which the PIO
trick may work).




I just swapped out the optical drive with a CD-RW - exact same
symptoms.  Fiddling w/BIOS, seems to make no difference, though
I am still poking at it.  I am utterly lost - never seen
very standard hardware like this that FreeBSD could/would not
boot and run on ...



--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: CDROM Boot Hangs But Only Under 6.x

2007-12-25 Thread [EMAIL PROTECTED]
On 25/12/2007, Tim Daneliuk <[EMAIL PROTECTED]> wrote:
> I am building a new server out of both older and brand new
> components.  It is based on a Pentium D 925 and ABIT LG-95Z
> mobo.  The DVD-RW is a Lite-On about a year old with very
> low hours on it.
>
> So ... here's a fun one:  I can boot and install FreeBSD 4.x (CD)
> or Novell SUSE Enterprise Linux Desktop 10 SP1 (DVD) via the
> DVD.  But attempting to do this with 6.x (I have tried 6.2R and
> 6.3-PRE disk #1) causes a hang during boot.  The loader gets
> as far as showing the vertical bar that ordinarily "spins"
> to show intitial kernel loading progress and the the machine
> just sits there.  There is some further activity on the optical
> drive at this point and then the cursor sort of jumps around a bit.
>
> I've not yet tried swapping the optical drive out - though I doubt
> this is the problem since I can load the other OSs.  I've tried
> removing and moving memory sticks in case this is a flakey
> memory problem - no change.  I've tried removing the only
> two cards in the machine: 3COM 905C-TX and an Adaptec 2940UW -
> no change.
>
> I have one last ditch thing I will try later tonight which is
> to force the DVD IDE port into PIO mode and out of DMA mode.
> But that's it.  I am stumped.  Ideas anyone?
>

If it is not hardware, check your bios settings (and mayhap
set back to default or very conservative) (of which the PIO
trick may work).

Also, 7.0 ran extremely well for me back in Sept., you might
try it as an alternative.

HTH

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


CDROM Boot Hangs But Only Under 6.x

2007-12-25 Thread Tim Daneliuk

I am building a new server out of both older and brand new
components.  It is based on a Pentium D 925 and ABIT LG-95Z
mobo.  The DVD-RW is a Lite-On about a year old with very
low hours on it.

So ... here's a fun one:  I can boot and install FreeBSD 4.x (CD)
or Novell SUSE Enterprise Linux Desktop 10 SP1 (DVD) via the
DVD.  But attempting to do this with 6.x (I have tried 6.2R and
6.3-PRE disk #1) causes a hang during boot.  The loader gets
as far as showing the vertical bar that ordinarily "spins"
to show intitial kernel loading progress and the the machine
just sits there.  There is some further activity on the optical
drive at this point and then the cursor sort of jumps around a bit.

I've not yet tried swapping the optical drive out - though I doubt
this is the problem since I can load the other OSs.  I've tried
removing and moving memory sticks in case this is a flakey
memory problem - no change.  I've tried removing the only
two cards in the machine: 3COM 905C-TX and an Adaptec 2940UW -
no change.

I have one last ditch thing I will try later tonight which is
to force the DVD IDE port into PIO mode and out of DMA mode.
But that's it.  I am stumped.  Ideas anyone?

TIA,
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: Disable cdrom open/close buttons

2007-12-24 Thread B H

OpenBlanchy skrev:

My wife's dog keeps bumping into my file server and ejecting either one of
the two cdrom trays. My concern is she will snap the trays off or steal/eat
a cd inside the tray. My initial fix of getting rid of the dog was rejected
so I'm coming here for a software solution.

Basically, I was wondering if there's a setting, script, or even a program
that will make it so the drive will only eject if I tell it to and the
physical buttons are of no use.


Mount the cd.


I run FreeBSD 6.2 without a gui. Thanks.


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


Disable cdrom open/close buttons

2007-12-23 Thread OpenBlanchy

My wife's dog keeps bumping into my file server and ejecting either one of
the two cdrom trays. My concern is she will snap the trays off or steal/eat
a cd inside the tray. My initial fix of getting rid of the dog was rejected
so I'm coming here for a software solution.

Basically, I was wondering if there's a setting, script, or even a program
that will make it so the drive will only eject if I tell it to and the
physical buttons are of no use.

I run FreeBSD 6.2 without a gui. Thanks.
-- 
View this message in context: 
http://www.nabble.com/Disable-cdrom-open-close-buttons-tp14484012p14484012.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: System wont boot from cdrom (was: (no subject))

2007-12-12 Thread Jeremy Gransden
On Dec 12, 2007 7:13 PM, Bin Cheng <[EMAIL PROTECTED]> wrote:

> Hello,
>
> System can't boot from 7.0-BETA4-i386-bootonly cd-rom. I downloaded
> 7.0-BETA4-i386-bootonly, 7.0- BETA4-i386-disc1 and 7.0-BETA4-i386-disc2
> first then burn it on the cd-rom. Any idea? Please let me know.
>
>
>
Hi,

We are going to need much more information then that. How did you burn the
cd's? (the files you downloaded are cd images that need to be burned as
such). What type of hardware? Is the bios set to boot from cd? Do you have
problems booting from other bootable cd's? Please be a little more
descriptive when asking questions, and you may get more answers.


Also,
Please use a more descriptive subject line. Many who read this list will
discard any email without a subject.

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-19 Thread Garrett Cooper

Gary Kline wrote:

On Sat, Nov 17, 2007 at 02:40:18PM -0800, Garrett Cooper wrote:
  
   Even though audio CDs use the ISO-9660 standard, they aren't really 
mountable (depends on how you look at the problem, i.e. what OS you use, 
and what audio playing app you use).
   Specifying the /dev node or mount point (via the application / 
plugin preferences), without trying to mount the actual disk, will most 
likely yield the results you want.

Cheers,
-Garrett



Well, live 'n' learn. Of course, then mmore you think aboutit,
the CD's and DVD's are read-only.   No need to mount them.
One of these decades, I'll write up a long article on how-to use
	these disks; and how to copy  them as well.  It alll works; 
	it's just more autoomated under the Ubuntu fork of Debian 


gary
  

   Technically that was gnome / hald doing the work for you, not Linux :).
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread [LoN]Kamikaze
Gary Kline wrote:
> Okay, I've set vfs.usermount=1, but both totem and kmplayer
> refuse to play my audio-CD.  Using #mount alone (as root)
> doesn't say anything about /dev/acd0.  I have tried to mount 
> the CD ::

Just start cdcontrol and enter play.

You don't need any entries in /etc/fstab to play audio CDs. Only the rights to
access the device /dev/acd0 have to be set. If other applications cannot play
CD-audio, you just have to configure them to use the right device.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Gary Kline
On Sat, Nov 17, 2007 at 02:40:18PM -0800, Garrett Cooper wrote:
> 
>Even though audio CDs use the ISO-9660 standard, they aren't really 
> mountable (depends on how you look at the problem, i.e. what OS you use, 
> and what audio playing app you use).
>Specifying the /dev node or mount point (via the application / 
> plugin preferences), without trying to mount the actual disk, will most 
> likely yield the results you want.
> Cheers,
> -Garrett

Well, live 'n' learn. Of course, then mmore you think aboutit,
the CD's and DVD's are read-only.   No need to mount them.
One of these decades, I'll write up a long article on how-to use
these disks; and how to copy  them as well.  It alll works; 
it's just more autoomated under the Ubuntu fork of Debian 

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Gary Kline
On Sun, Nov 18, 2007 at 12:14:51AM +0100, Roland Smith wrote:
> On Sat, Nov 17, 2007 at 02:13:19PM -0800, Gary Kline wrote:
> > Okay, I've set vfs.usermount=1, but both totem and kmplayer
> > refuse to play my audio-CD. 
> 
> You don't mount audio CDs. They don't carry a cd9660 filesystem.
> 
> Try something like this with a CD in the drive;
> 
> mplayer -cdrom-device /dev/acd0 cdda://1
> 
> Roland


Closer, perhaps, but the stderr is 

Plaaying cdda://1.
File not found: '1'

So whatever it's looking fo r  with "cdda://" is missing.
(There are 25, 35 tracks  on this CD.)

gary


> -- 
> R.F.Smith   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Giorgos Keramidas
On 2007-11-17 14:13, Gary Kline <[EMAIL PROTECTED]> wrote:
>On Sat, Nov 17, 2007 at 08:03:25PM +0200, Giorgos Keramidas wrote:
>>On 2007-11-17 02:55, Joshua Isom <[EMAIL PROTECTED]> wrote:
>>> On Nov 16, 2007, at 10:56 PM, Yeef wrote:
>>>> this is work for me  freebsd 6.2-RELEASE
>>>>
>>>> /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
>>>>
>>>> you should use root mount it.
>>>
>>> Or set vfs.usermount to 1, if I remember right.  I can't recall what's
>>> the proper method for setting it at boot, rc.conf or loader.conf.  The
>>> default is 0, which is what I have it set to, more to annoy me than
>>> security (personal server behind a buggy router/firewall).
>>
>>  man sysctl.conf
>>
>> That's the proper place to put `vfs.usermount=1'.
>
>  Okay, I've set vfs.usermount=1, but both totem and kmplayer
>  refuse to play my audio-CD.  Using #mount alone (as root)
>  doesn't say anything about /dev/acd0.  I have tried to mount
>  the CD ::
>
>  [EMAIL PROTECTED]:/dev# mount_cd9660 /dev/acd0 /media/cdroms/0
>  mount_cd9660: /dev/acd0: Invalid argument

You are not trying to _mount_ an audio CD-ROM, right?

If you are, then please read carefully the Handbook chapter about
multimedia and CD-ROM/DVD-ROM disks.  It will help a lot :)

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Roland Smith
On Sat, Nov 17, 2007 at 02:13:19PM -0800, Gary Kline wrote:
>   Okay, I've set vfs.usermount=1, but both totem and kmplayer
>   refuse to play my audio-CD. 

You don't mount audio CDs. They don't carry a cd9660 filesystem.

Try something like this with a CD in the drive;

mplayer -cdrom-device /dev/acd0 cdda://1

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp4MQ3EwQHzG.pgp
Description: PGP signature


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Chuck Robey

Joshua Isom wrote:


On Nov 16, 2007, at 10:56 PM, Yeef wrote:


this is work for me  freebsd 6.2-RELEASE

/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

you should use root mount it.


Or set vfs.usermount to 1, if I remember right.  I can't recall what's 
the proper method for setting it at boot, rc.conf or loader.conf.  The 
default is 0, which is what I have it set to, more to annoy me than 
security(personal server behind a buggy router/firewall).


I have a dvd-rw and cd-rw in the same box, and I haven't recalled any 
problems with access(except from dvd speed which I'm hoping for an 
answer or fix for) or writing.



On Nov 17, 2007 12:50 PM, Gary Kline <[EMAIL PROTECTED]> wrote:

On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote:

I think I have this page bookmarked; can't find it.  I'll try
"rw" and "ro".   Can either you or David explain why I get a
popup error: Can't mount volume. [?] When I clicked on the
Details, it says:

mount_cd9660: /dev/acd1: Operation not permitted

I click  on "System" (upper left) -> Preferences ->
"Removable Drives and Media Prederences"  and select every
peermissions box.   Nothing.   (I'm using a data disk, not
audio.)


Gary, I've watched for this to go awhile before i went and jumped in, to 
ask my question ... it's about my cdrom drive, whic is a sony, one 
that's been 100% reliable for me, I used it regularly under linux with 
k3b to burn stuff.  Now, under FreeBSD, k3b won't even recognize it as a 
ro or rw cd drive at all.  I can coax burncd to burn bootable disks 
successfully with it, but after the command completes, all further 
accesses to the drive return "device busy", and I have to reboot FreeBSD 
in order to even eject the cd.  The only way I even knew the disk was ok 
was because afterwards, it tried to boot the machine from the disk image 
of a FreeBSD boot disk (which is what I was burning, for a different 
machine, an AMD64 next to it).  Lucky that this machine is even binarily 
compatible (the Intel box is a 64 bit processor, so it boots AMD64 fine, 
but I didn't install it that way).


Anyhow, how could I either coax k3b to recognize it, or get burncd to 
let the disk go after it's finished with it?

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Garrett Cooper

Gary Kline wrote:

On Sat, Nov 17, 2007 at 08:03:25PM +0200, Giorgos Keramidas wrote:
  

On 2007-11-17 02:55, Joshua Isom <[EMAIL PROTECTED]> wrote:


On Nov 16, 2007, at 10:56 PM, Yeef wrote:
  

this is work for me  freebsd 6.2-RELEASE

/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

you should use root mount it.


Or set vfs.usermount to 1, if I remember right.  I can't recall what's
the proper method for setting it at boot, rc.conf or loader.conf.  The
default is 0, which is what I have it set to, more to annoy me than
security (personal server behind a buggy router/firewall).
  

man sysctl.conf

That's the proper place to put `vfs.usermount=1'.




Okay, I've set vfs.usermount=1, but both totem and kmplayer
refuse to play my audio-CD.  Using #mount alone (as root)
	doesn't say anything about /dev/acd0.  I have tried to mount 
	the CD ::


[EMAIL PROTECTED]:/dev# mount_cd9660 /dev/acd0 /media/cdroms/0
mount_cd9660: /dev/acd0: Invalid argument

	and 


[EMAIL PROTECTED]:/dev# mount_cd9660  /media/cdroms/0 /dev/acd0
mount_cd9660: /dev/acd0: not a directory

In /, media and its subdirectories are mode 777, and in
/dev, acd[01] are all 0666 char devices.

Any more places to mouse-click on or files/directories to
chown/chmod??

Oh: FWIW:


[EMAIL PROTECTED]:/dev# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad1s1d on /var (ufs, local)
/dev/ad1s1f on /usr (ufs, local, soft-updates)
/dev/ad1s1e on /home (ufs, local)
/dev/ad1s1g on /store (ufs, local, soft-updates)


gary


   Even though audio CDs use the ISO-9660 standard, they aren't really 
mountable (depends on how you look at the problem, i.e. what OS you use, 
and what audio playing app you use).
   Specifying the /dev node or mount point (via the application / 
plugin preferences), without trying to mount the actual disk, will most 
likely yield the results you want.

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Gary Kline
On Sat, Nov 17, 2007 at 08:03:25PM +0200, Giorgos Keramidas wrote:
> On 2007-11-17 02:55, Joshua Isom <[EMAIL PROTECTED]> wrote:
> > On Nov 16, 2007, at 10:56 PM, Yeef wrote:
> >> this is work for me  freebsd 6.2-RELEASE
> >>
> >> /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
> >>
> >> you should use root mount it.
> >
> > Or set vfs.usermount to 1, if I remember right.  I can't recall what's
> > the proper method for setting it at boot, rc.conf or loader.conf.  The
> > default is 0, which is what I have it set to, more to annoy me than
> > security (personal server behind a buggy router/firewall).
> 
>   man sysctl.conf
> 
> That's the proper place to put `vfs.usermount=1'.
> 

Okay, I've set vfs.usermount=1, but both totem and kmplayer
refuse to play my audio-CD.  Using #mount alone (as root)
doesn't say anything about /dev/acd0.  I have tried to mount 
the CD ::

[EMAIL PROTECTED]:/dev# mount_cd9660 /dev/acd0 /media/cdroms/0
mount_cd9660: /dev/acd0: Invalid argument

and 

[EMAIL PROTECTED]:/dev# mount_cd9660  /media/cdroms/0 /dev/acd0
mount_cd9660: /dev/acd0: not a directory

In /, media and its subdirectories are mode 777, and in
/dev, acd[01] are all 0666 char devices.

Any more places to mouse-click on or files/directories to
chown/chmod??

Oh: FWIW:


[EMAIL PROTECTED]:/dev# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad1s1d on /var (ufs, local)
/dev/ad1s1f on /usr (ufs, local, soft-updates)
/dev/ad1s1e on /home (ufs, local)
/dev/ad1s1g on /store (ufs, local, soft-updates)


gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Giorgos Keramidas
On 2007-11-16 22:24, Chris Hill <[EMAIL PROTECTED]> wrote:
>On Fri, 16 Nov 2007, David J Brooks wrote:
>>On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:
>>> This is the old and current fstable:
>>>
>>> # DVD drive (top)
>>> /dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
>>> # CD-burner (bottom)
>>> /dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0
>>
>> cd9660 is what you need. for the burner at least though, you'll want
>> to make it rw rather than ro.

Not really.  When *mounted* even DVD-RW disks are read-only.

> Good point! Although my CD burner burns CDs just fine with either
> cdrecord or burncd, even with ro in its fstab line.

That's because they are not written ``through the cd9660 filesystem
driver'', but through cdrecord/burncd.

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Giorgos Keramidas
On 2007-11-17 02:55, Joshua Isom <[EMAIL PROTECTED]> wrote:
> On Nov 16, 2007, at 10:56 PM, Yeef wrote:
>> this is work for me  freebsd 6.2-RELEASE
>>
>> /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
>>
>> you should use root mount it.
>
> Or set vfs.usermount to 1, if I remember right.  I can't recall what's
> the proper method for setting it at boot, rc.conf or loader.conf.  The
> default is 0, which is what I have it set to, more to annoy me than
> security (personal server behind a buggy router/firewall).

man sysctl.conf

That's the proper place to put `vfs.usermount=1'.

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Tino Engel

Gary Kline schrieb:


Hopefully! I bought TWO burners, tho.  My acd0 is a Pioneer,
the acd1 is a cheaper "Lite On" (IIRC).


  
Sh... I also have a Lite-On Drive (Combo-Drive) and I never managed to 
burn under FreeBSD...

Reading though is fine.


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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread Joshua Isom


On Nov 16, 2007, at 10:56 PM, Yeef wrote:


this is work for me  freebsd 6.2-RELEASE

/dev/acd0   /cdrom  cd9660  ro,noauto   0  
 0


you should use root mount it.


Or set vfs.usermount to 1, if I remember right.  I can't recall what's 
the proper method for setting it at boot, rc.conf or loader.conf.  The 
default is 0, which is what I have it set to, more to annoy me than 
security(personal server behind a buggy router/firewall).


I have a dvd-rw and cd-rw in the same box, and I haven't recalled any 
problems with access(except from dvd speed which I'm hoping for an 
answer or fix for) or writing.



On Nov 17, 2007 12:50 PM, Gary Kline <[EMAIL PROTECTED]> wrote:

On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote:

I think I have this page bookmarked; can't find it.  I'll try
"rw" and "ro".   Can either you or David explain why I get a
popup error: Can't mount volume. [?] When I clicked on the
Details, it says:

mount_cd9660: /dev/acd1: Operation not permitted

I click  on "System" (upper left) -> Preferences ->
"Removable Drives and Media Prederences"  and select every
peermissions box.   Nothing.   (I'm using a data disk, not
audio.)

Ideas?




True dat.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]


--
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

___

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






--
new city  new thoughts  new men
please choose the freesoftware
to:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"




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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-17 Thread [LoN]Kamikaze
David J Brooks wrote:
> On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:
>>  I've googled aroound, and can't be sure what to  add in the
>>  FStype column to get my DCD/CDROM  burners to work.  Ubuntu
>>  installed ny 2005 burner automagically.  Nothing like that for
>>  FreeBSD, so can anybody clue me in what I substitute for
>>  "udf" and "cd9660"?
>>
>>  This is the old and current fstable:
>>
>>
>> # DVD drive (top)
>> /dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
>> # CD-burner (bottom)
>> /dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0
> 
> cd9660 is what you need. for the burner at least though, you'll want to make 
> it rw rather than ro.

As far as I know it's not possible to write a CD/DVD by copying stuff to the
mount. cd9660 are always read-only. CD/DVD burning always goes right through
the device /dev/acd0 or the CAM interface /dev/cd0.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-16 Thread David J Brooks
On Friday 16 November 2007 10:50:33 pm you wrote:
> On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote:
> > On Fri, 16 Nov 2007, David J Brooks wrote:
> > >On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:
> > >>  I've googled aroound, and can't be sure what to  add in the
> > >>  FStype column to get my DCD/CDROM  burners to work.  Ubuntu
> > >>  installed ny 2005 burner automagically.  Nothing like that for
> > >>  FreeBSD, so can anybody clue me in what I substitute for
> > >>  "udf" and "cd9660"?
> > >>
> > >>  This is the old and current fstable:
> > >>
> > >>
> > >># DVD drive (top)
> > >>/dev/acd0   /media/cdroms/0 udf ro,noauto   0  
> > >> 0 # CD-burner (bottom)
> > >>/dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0  
> > >> 0
> > >
> > >cd9660 is what you need. for the burner at least though, you'll want
> > >to make it rw rather than ro.
> >
> > Good point! Although my CD burner burns CDs just fine with either
> > cdrecord or burncd, even with ro in its fstab line.
> >
> > >This chapter of the handbook:
> > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.h
> > >tml
> > >
> > >and the one that follows are worth a careful reading.
>
>   I think I have this page bookmarked; can't find it.  I'll try
>   "rw" and "ro".   Can either you or David explain why I get a
>   popup error: Can't mount volume. [?] When I clicked on the
>   Details, it says:
>
>   mount_cd9660: /dev/acd1: Operation not permitted
>
>   I click  on "System" (upper left) -> Preferences ->
>   "Removable Drives and Media Prederences"  and select every
>   peermissions box.   Nothing.   (I'm using a data disk, not
>   audio.)
>
>   Ideas?

This page of info from K3B may shed some light on the problem for you: 

Notes for FreeBSD 5.x and onwards users:
1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
   drives, use them through the cam system. See Chapter 12.5.9 of the handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM)
2. Your CD and DVD drives must have a mount point in /etc/fstab. They have
   to be accessed through their atapicam device if possible. I.e. the drives
   have to be adressed by e.g. /dev/cd0 instead of /dev/acd0.
3. k3b has to be started from a root console, which is not recommended.
   Alternatively do ALL of the following:
3a. set the suid flag on cdrecord and cdrdao. The 'Notes' chapter of
'man cdrecord' discusses this.
3b. - For every user who should be able to use k3b and for every CD or DVD
  device add a directory in the users home directory. These directories
  must be owned by the corresponding user. For each such directory add a
  line in /etc/fstab (see remark 2), like:
/dev/cd0c  /usr/home/XXX/cdrom  cd9660  ro,noauto,nodev,nosuid  0  0
  Furthermore allow user mounts as described in topic 9.22 of the FAQ:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
  To make the chmod's to /dev/cdX permanent, do the following:
* add 'devd_enable="YES"' to /etc/rc.conf
* add a 'perm cdX 666' to /etc/devfs.conf for each cd/dvd device. X
  is the device number. If you prefer allow access for a group only,
  add a 'perm cdX 660' instead, followed by an 'own cdX root:XXX'
  where XXX is the group name.
  Alternatively (especially if you are using hot plug capable CD or
  DVD drives) you could add an 'add path 'cd*' mode 666' or an
  'add path 'cd*' mode 660 group XXX' to your /etc/devfs.rules
  under '[system=10]'. To enable it, add 
a 'devfs_system_ruleset="system"'
  to your /etc/rc.conf.
- or just give mount and umount the suid flag, which is a security leak.
3c. Every user who should be able to use k3b must have read and write access
to all pass through devices connected with CD and DVD drives and to the
/dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek
string 'passX' at the end of each line and modify the rights of
/dev/passX). Note, that this is a security leak as well but that there is
no alternative! To make this changes permanent, add 'devd_enable="YES"'
to /etc/rc.conf as described above. Furthermore add a 'perm p

Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-16 Thread Yeef
this is work for me  freebsd 6.2-RELEASE

/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

you should use root mount it.

On Nov 17, 2007 12:50 PM, Gary Kline <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote:
> > On Fri, 16 Nov 2007, David J Brooks wrote:
> >
> > >On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:
> > >>I've googled aroound, and can't be sure what to  add in the
> > >>FStype column to get my DCD/CDROM  burners to work.  Ubuntu
> > >>installed ny 2005 burner automagically.  Nothing like that for
> > >>FreeBSD, so can anybody clue me in what I substitute for
> > >>"udf" and "cd9660"?
> > >>
> > >>This is the old and current fstable:
> > >>
> > >>
> > >># DVD drive (top)
> > >>/dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
> > >># CD-burner (bottom)
> > >>/dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0
> > >
> > >cd9660 is what you need. for the burner at least though, you'll want
> > >to make it rw rather than ro.
> >
> > Good point! Although my CD burner burns CDs just fine with either
> > cdrecord or burncd, even with ro in its fstab line.
> >
> > >This chapter of the handbook:
> > >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
> > >
> > >and the one that follows are worth a careful reading.
> >
>
>
> I think I have this page bookmarked; can't find it.  I'll try
> "rw" and "ro".   Can either you or David explain why I get a
> popup error: Can't mount volume. [?] When I clicked on the
> Details, it says:
>
> mount_cd9660: /dev/acd1: Operation not permitted
>
> I click  on "System" (upper left) -> Preferences ->
> "Removable Drives and Media Prederences"  and select every
> peermissions box.   Nothing.   (I'm using a data disk, not
> audio.)
>
> Ideas?
>
>
>
> > True dat.
> >
> > --
> > Chris Hill   [EMAIL PROTECTED]
> > ** [ Busy Expunging <|> ]
>
> --
>   Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
>   http://jottings.thought.org   http://transfinite.thought.org
>
> ___
>
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>



-- 
new city  new thoughts  new men
please choose the freesoftware
to:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-16 Thread Gary Kline
On Fri, Nov 16, 2007 at 10:24:30PM -0500, Chris Hill wrote:
> On Fri, 16 Nov 2007, David J Brooks wrote:
> 
> >On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:
> >>I've googled aroound, and can't be sure what to  add in the
> >>FStype column to get my DCD/CDROM  burners to work.  Ubuntu
> >>installed ny 2005 burner automagically.  Nothing like that for
> >>FreeBSD, so can anybody clue me in what I substitute for
> >>"udf" and "cd9660"?
> >>
> >>This is the old and current fstable:
> >>
> >>
> >># DVD drive (top)
> >>/dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
> >># CD-burner (bottom)
> >>/dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0
> >
> >cd9660 is what you need. for the burner at least though, you'll want 
> >to make it rw rather than ro.
> 
> Good point! Although my CD burner burns CDs just fine with either 
> cdrecord or burncd, even with ro in its fstab line.
> 
> >This chapter of the handbook: 
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
> >
> >and the one that follows are worth a careful reading.
> 


I think I have this page bookmarked; can't find it.  I'll try
"rw" and "ro".   Can either you or David explain why I get a
popup error: Can't mount volume. [?] When I clicked on the 
Details, it says:

mount_cd9660: /dev/acd1: Operation not permitted

I click  on "System" (upper left) -> Preferences -> 
"Removable Drives and Media Prederences"  and select every
peermissions box.   Nothing.   (I'm using a data disk, not 
audio.)

Ideas?



> True dat.
> 
> --
> Chris Hill   [EMAIL PROTECTED]
> ** [ Busy Expunging <|> ]

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-16 Thread Chris Hill

On Fri, 16 Nov 2007, David J Brooks wrote:


On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:

I've googled aroound, and can't be sure what to  add in the
FStype column to get my DCD/CDROM  burners to work.  Ubuntu
installed ny 2005 burner automagically.  Nothing like that for
FreeBSD, so can anybody clue me in what I substitute for
"udf" and "cd9660"?

This is the old and current fstable:


# DVD drive (top)
/dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
# CD-burner (bottom)
/dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0


cd9660 is what you need. for the burner at least though, you'll want 
to make it rw rather than ro.


Good point! Although my CD burner burns CDs just fine with either 
cdrecord or burncd, even with ro in its fstab line.


This chapter of the handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html


and the one that follows are worth a careful reading.


True dat.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-16 Thread Chris Hill

On Fri, 16 Nov 2007, Gary Kline wrote:


On Fri, Nov 16, 2007 at 09:51:33PM -0500, Chris Hill wrote:

On Fri, 16 Nov 2007, Gary Kline wrote:


I've googled aroound, and can't be sure what to add in the
FStype column to get my DCD/CDROM burners to work.  Ubuntu
installed ny 2005 burner automagically.  Nothing like that for
FreeBSD, so can anybody clue me in what I substitute for
"udf" and "cd9660"?

This is the old and current fstable:

# DVD drive (top)
/dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
# CD-burner (bottom)
/dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0


This works for me (6.3-PRERELEASE):

/dev/acd1  /dvd cd9660 ro,noauto0  0
 
Obviously that would be acd0 in your case.

HTH.


Hopefully! I bought TWO burners, tho.  My acd0 is a Pioneer,
the acd1 is a cheaper "Lite On" (IIRC).

So, using your schema: would I put

/dev/acd0  /dvd cd9660  /media/cdroms0   ro,noauto0  0

and
/dev/acd1  /dvd cd9660  /media/cdroms1   ro,noauto0  0


or is this at least *close*!


Close, but you were actually closer the first time. I'm assuming you 
want these discs to appear at /media/cdroms[0|1], whereas I'm mounting 
my DVD drive at /dvd and my CD drive at /cdrom. This is what I would do, 
given your mountpoints and devices:


/dev/acd0/media/cdroms0 cd9660  ro,noauto   0   0
/dev/acd1/media/cdroms1 cd9660  ro,noauto   0   0
^^^ ^^
device   mountpoint filesystem type

See man fstab.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-16 Thread David J Brooks
On Friday 16 November 2007 08:23:21 pm Gary Kline wrote:
>   I've googled aroound, and can't be sure what to  add in the
>   FStype column to get my DCD/CDROM  burners to work.  Ubuntu
>   installed ny 2005 burner automagically.  Nothing like that for
>   FreeBSD, so can anybody clue me in what I substitute for
>   "udf" and "cd9660"?
>
>   This is the old and current fstable:
>
>
> # DVD drive (top)
> /dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
> # CD-burner (bottom)
> /dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0

cd9660 is what you need. for the burner at least though, you'll want to make 
it rw rather than ro.

This chapter of the handbook: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

and the one that follows are worth a careful reading.

David
-- 
Please turn off all cellphones and tricorders.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-16 Thread Chris Hill

On Fri, 16 Nov 2007, Gary Kline wrote:


I've googled aroound, and can't be sure what to add in the
FStype column to get my DCD/CDROM burners to work.  Ubuntu
installed ny 2005 burner automagically.  Nothing like that for
FreeBSD, so can anybody clue me in what I substitute for
"udf" and "cd9660"?

This is the old and current fstable:

# DVD drive (top)
/dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
# CD-burner (bottom)
/dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0


This works for me (6.3-PRERELEASE):

/dev/acd1  /dvd cd9660 ro,noauto0  0
 
Obviously that would be acd0 in your case.

HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-16 Thread Gary Kline
On Fri, Nov 16, 2007 at 09:51:33PM -0500, Chris Hill wrote:
> On Fri, 16 Nov 2007, Gary Kline wrote:
> 
> > I've googled aroound, and can't be sure what to add in the
> > FStype column to get my DCD/CDROM burners to work.  Ubuntu
> > installed ny 2005 burner automagically.  Nothing like that for
> > FreeBSD, so can anybody clue me in what I substitute for
> > "udf" and "cd9660"?
> >
> > This is the old and current fstable:
> >
> ># DVD drive (top)
> >/dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
> ># CD-burner (bottom)
> >/dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0
> 
> This works for me (6.3-PRERELEASE):
> 
> /dev/acd1  /dvd cd9660 ro,noauto0  0
>  
> Obviously that would be acd0 in your case.
> 
> HTH.
> 


Hopefully! I bought TWO burners, tho.  My acd0 is a Pioneer,
the acd1 is a cheaper "Lite On" (IIRC).

So, using your schema: would I put

/dev/acd0  /dvd cd9660  /media/cdroms0   ro,noauto0  0

and
/dev/acd1  /dvd cd9660  /media/cdroms1   ro,noauto0  0


or is this at least *close*!

gary



> --
> Chris Hill   [EMAIL PROTECTED]
> ** [ Busy Expunging <|> ]

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


What do I put in fstab to get my DVD/CDROM burner to work?

2007-11-16 Thread Gary Kline

I've googled aroound, and can't be sure what to  add in the 
FStype column to get my DCD/CDROM  burners to work.  Ubuntu
installed ny 2005 burner automagically.  Nothing like that for
FreeBSD, so can anybody clue me in what I substitute for
"udf" and "cd9660"?

This is the old and current fstable:


# DVD drive (top) 
/dev/acd0   /media/cdroms/0 udf ro,noauto   0   0
# CD-burner (bottom) 
/dev/acd1   /media/cdroms/1 cd9660  ro,noauto   0   0

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


CDROM Sony CDU55E not detected

2007-10-17 Thread Reinhard Haller

Hi,

I recently installed freebsd 6.2 from cd. After the reboot the cdrom drive
wan't discovered.

Any suggestions?

Thanks
Reinhard

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


CDROM TSST Corp DVD +/- RW TS-H653A

2007-09-19 Thread Philip M. Gollucci
I have a dell demension 9200 with
CDROM TSST Corp DVD +/- RW TS-H653A

freebsd doesn't like it at all -- is it just me. Can I change something
to make it work or am I just screwed.

Its freebsd 7.0-current

-- 

Philip M. Gollucci ([EMAIL PROTECTED]) c:323.219.4708 o:703.749.9295x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

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


cdrom: reading problem

2007-05-29 Thread Claude Baudouin

Hi,

I installed FreeBSD6.1 on  old PC :

2xchannel IDE controller ATA mode 4 compatible
3xPCI v2.0
3xISA 16bit
CPU AMD 5X86
32Mo
2 disks, 600Mo et 2Go  connected at primary IDE
1 x cdrom connected at secondary IDE
FreeBSD 6.1 kernel noyau  generic

I installed with floppy and ftp because the cdrom drive don't work right.
I have tried two CDROM drive :
"HITACHI model CDR-7730" and "SAMSUNG SCR-243", but I have the same
problem I get the next error messages after mounting:

#mount_cd9660 /dev/acd0 /cdrom
acd0 : TIMEOUT-READ_BIG retrying (1 retry left)
acd0 : TIMEOUT-READ_BIG retrying ((0 retries left)
acd0: FAILURE-READ timed out
g_vfs_done(): acd0[READ(offset=34816, length=2048)] error=5
mount_cd9660: /dec/acd0: input/output error

I have tried several CD disks and also " kldload atapicam" and
"hw.ata.atapi_dma=0 et 1 but I get the same kind of message:
"g_vsf_done(): acd0[READ(offset ...etc"
The error messages happend especially if one want to copy a big file
from the cdrom drive to a harddisk.
With "sysinstall" I had always error messages.
Anyone an idea?
thanks,

Claude






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


Re: xfce4 + hal can't/won't mount cdrom

2007-05-28 Thread James Butler

On 5/28/07, Joe Marcus Clarke <[EMAIL PROTECTED]> wrote:


On Mon, 2007-05-28 at 14:50 +1200, James Butler wrote:
> Hi Lists
> I've just (Saturday) built a fresh -CURRENT with xorg-7.2, xfce-4.4.1_1and
> HAL support. When I insert any cd in the drive, I get the cd icon
appearing
> on the desktop or in Thunar, but trying to open it gives an error
dialog:
>
> Unable to mount "FreeBSD_Install":
> Mount operation claims to be successfull [sic], but kernel doesn't list
the
> volume as mounted
>
> Any ideas? I have googled around with little luck.
>
> My rc.conf includes:
> dbus_enable="YES"
> hald_enable="YES"
> polkitd_enable="YES"
>
> My user is in group 'operator'. I can manually mount cds without
problems.
>
> I performed the steps suggested for HAL debugging in the freebsd-gnome
FAQ,
> the script session is available at
> http://homepages.ihug.co.nz/~sweetnavelorange/hal_trouble.txt

You need to remove acd0 from /etc/fstab.

Joe

--
PGP Key : http://www.marcuscom.com/pgp.asc

Phew, that was painless. Thanks heaps.


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


Re: xfce4 + hal can't/won't mount cdrom

2007-05-28 Thread Joe Marcus Clarke
On Mon, 2007-05-28 at 14:50 +1200, James Butler wrote:
> Hi Lists
> I've just (Saturday) built a fresh -CURRENT with xorg-7.2, xfce-4.4.1_1 and
> HAL support. When I insert any cd in the drive, I get the cd icon appearing
> on the desktop or in Thunar, but trying to open it gives an error dialog:
> 
> Unable to mount "FreeBSD_Install":
> Mount operation claims to be successfull [sic], but kernel doesn't list the
> volume as mounted
> 
> Any ideas? I have googled around with little luck.
> 
> My rc.conf includes:
> dbus_enable="YES"
> hald_enable="YES"
> polkitd_enable="YES"
> 
> My user is in group 'operator'. I can manually mount cds without problems.
> 
> I performed the steps suggested for HAL debugging in the freebsd-gnome FAQ,
> the script session is available at
> http://homepages.ihug.co.nz/~sweetnavelorange/hal_trouble.txt

You need to remove acd0 from /etc/fstab.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


xfce4 + hal can't/won't mount cdrom

2007-05-27 Thread James Butler

Hi Lists
I've just (Saturday) built a fresh -CURRENT with xorg-7.2, xfce-4.4.1_1 and
HAL support. When I insert any cd in the drive, I get the cd icon appearing
on the desktop or in Thunar, but trying to open it gives an error dialog:

Unable to mount "FreeBSD_Install":
Mount operation claims to be successfull [sic], but kernel doesn't list the
volume as mounted

Any ideas? I have googled around with little luck.

My rc.conf includes:
dbus_enable="YES"
hald_enable="YES"
polkitd_enable="YES"

My user is in group 'operator'. I can manually mount cds without problems.

I performed the steps suggested for HAL debugging in the freebsd-gnome FAQ,
the script session is available at
http://homepages.ihug.co.nz/~sweetnavelorange/hal_trouble.txt

Any help would be greatly appreciated.

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


Re: "Operation not permitted" when mounting floppy or cdrom

2007-02-20 Thread lysergius2001

Thanks everyone.

On 2/19/07, Oliver Fromme <[EMAIL PROTECTED]> wrote:


lysergius2001 <[EMAIL PROTECTED]> wrote:
> FreeBSD 6.2.  Recently installed will not permit user mount of floppy
disk,
> cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules,
fstab,
> /dev.  Nothing seems to make a difference.

For ordinary users to be able to mount file systems, three
conditions have to be met:

-1-  sysctl vfs.usermount=1

-2-  The user must have read+write access to the device
 to be mounted.  Usually you will solve that via
 group permissions, e.g. create a group for people
 who are allowed to mount a certain device, then put
 those people into that group (via /etc/group), and
 change the permission modes of the device so that
 the group can read+write it.

-3-  The user must own the mount point.  Note that read+
 write access is not sufficient here, and group rights
 don't matter -- the user must be the owner of the
 mount point.

Best regards
   Oliver

--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
Any opinions expressed in this message are personal to the author and may
not necessarily reflect the opinions of secnetix GmbH & Co KG in any way.
FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"C is quirky, flawed, and an enormous success."
-- Dennis M. Ritchie.





--
Lysergius says, "Stay light, but trust gravity"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Operation not permitted" when mounting floppy or cdrom

2007-02-19 Thread Oliver Fromme
lysergius2001 <[EMAIL PROTECTED]> wrote:
 > FreeBSD 6.2.  Recently installed will not permit user mount of floppy disk,
 > cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules, fstab,
 > /dev.  Nothing seems to make a difference.

For ordinary users to be able to mount file systems, three
conditions have to be met:

-1-  sysctl vfs.usermount=1

-2-  The user must have read+write access to the device
 to be mounted.  Usually you will solve that via
 group permissions, e.g. create a group for people
 who are allowed to mount a certain device, then put
 those people into that group (via /etc/group), and
 change the permission modes of the device so that
 the group can read+write it.

-3-  The user must own the mount point.  Note that read+
 write access is not sufficient here, and group rights
 don't matter -- the user must be the owner of the
 mount point.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
Any opinions expressed in this message are personal to the author and may
not necessarily reflect the opinions of secnetix GmbH & Co KG in any way.
FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"C is quirky, flawed, and an enormous success."
-- Dennis M. Ritchie.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "Operation not permitted" when mounting floppy or cdrom

2007-02-17 Thread Momchil Ivanov
На 17.2.2007 21:11 lysergius2001 пише:
> FreeBSD 6.2.  Recently installed will not permit user mount of floppy disk,
> cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules,
> fstab, /dev.  Nothing seems to make a difference.
>
> Any ideas welcomed...
>
> Thanks

Try setting the vfs.usermount sysctl to 1

-- 
This correspondence is strictly confidential. Any screening, filtering
and/or production for the purpose of public or otherwise disclosure is
forbidden without written permission by the author signed above. If you are
not the intended recipient, please immediately notify the sender and
permanently delete any copies

PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B


pgpSBbroyeJzM.pgp
Description: PGP signature


Re: "Operation not permitted" when mounting floppy or cdrom

2007-02-17 Thread Garrett Cooper

lysergius2001 wrote:

FreeBSD 6.2.  Recently installed will not permit user mount of floppy disk,
cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules, 
fstab,

/dev.  Nothing seems to make a difference.

Any ideas welcomed...

Thanks


You don't have access to the /dev nodes. Make sure that your user has 
the ability to mount.


Make sure that this sysctl is also set to 1:

vfs.usermount: 1

If that doesn't work, then we'll have to get more info about the devices 
you're trying to mount (ls -l), what groups you're in, etc.

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


  1   2   3   4   5   6   >