Problems Printing

2013-03-05 Thread Joseph A. Nagy, Jr

Cups is setup so I should be able to print:
http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png

My pdf reader sees the printer:
http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png

yet it won't print and delivers this dialog:
http://www.joseph-a-nagy-jr.us/images/problems/print-error.png

any ideas on how to correct this?
--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

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


SV: Problems Printing

2013-03-05 Thread Leslie Jensen
I've had problems when I haven't set the printer to server default. I use xpdf 
and print with the printer choice lp


Skickat från min Samsung Mobil

 Originalmeddelande 
Från: "Joseph A. Nagy, Jr"  
Datum:  
Till: "Questions @ FreeBSD"  
Rubrik: Problems Printing 
 
Cups is setup so I should be able to print:
http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png

My pdf reader sees the printer:
http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png

yet it won't print and delivers this dialog:
http://www.joseph-a-nagy-jr.us/images/problems/print-error.png

any ideas on how to correct this?
-- 
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt
___
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: Problems Printing

2013-03-05 Thread Matthias Apitz
El día Tuesday, March 05, 2013 a las 02:10:51AM -0600, Joseph A. Nagy, Jr 
escribió:

> Cups is setup so I should be able to print:
> http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png
> 
> My pdf reader sees the printer:
> http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png
> 
> yet it won't print and delivers this dialog:
> http://www.joseph-a-nagy-jr.us/images/problems/print-error.png
> 
> any ideas on how to correct this?

Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in
/usr/local/bin/lpr in your PATH; just do as root:

# chmod  /usr/bin/lpr

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: SV: Problems Printing

2013-03-05 Thread Joseph A. Nagy, Jr

On 03/05/13 03:44, Leslie Jensen wrote:

I've had problems when I haven't set the printer to server default. I
use xpdf and print with the printer choice lp



The printer is set as the default printer, I cannot print from any 
application, but acroread9 is the only one to pop up an error message.


--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
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: Problems Printing

2013-03-05 Thread Matthias Apitz
El día Tuesday, March 05, 2013 a las 04:22:46AM -0600, Joseph A. Nagy, Jr 
escribió:

> The lpr error message is now gone, but no printing activity is going on. ):

Try first printing a simple text file or even stdin from the cmd line,
like:

$ date | lpr -Pfoo 

if this works, check the CUPS log files what the problem might be when
you print from your whatever graphical tool.

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems Printing

2013-03-05 Thread Jerry
On Tue, 5 Mar 2013 10:57:30 +0100
Matthias Apitz articulated:

> El día Tuesday, March 05, 2013 a las 02:10:51AM -0600, Joseph A.
> Nagy, Jr escribió:
> 
> > Cups is setup so I should be able to print:
> > http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png
> > 
> > My pdf reader sees the printer:
> > http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png
> > 
> > yet it won't print and delivers this dialog:
> > http://www.joseph-a-nagy-jr.us/images/problems/print-error.png
> > 
> > any ideas on how to correct this?
> 
> Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in
> /usr/local/bin/lpr in your PATH; just do as root:
> 
> # chmod  /usr/bin/lpr

A long time ago, I don't remember by whom or when, I was told to put
this in the "/etc/make.conf" file:

WITH_CUPS=YES
CUPS_OVERWRITE_BASE=YES
WITHOUT_LPR=YES

Then rebuild the system and re-install CUPS and all would be well. I
did it and it worked so I guess it was okay to do. Was that info
actually correct or did I just luck out?

-- 
Jerry ♔

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

___
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: Problems Printing

2013-03-05 Thread Joseph A. Nagy, Jr

On 03/05/13 04:46, Jerry wrote:

On Tue, 5 Mar 2013 10:57:30 +0100
Matthias Apitz articulated:


El día Tuesday, March 05, 2013 a las 02:10:51AM -0600, Joseph A.
Nagy, Jr escribió:


Cups is setup so I should be able to print:
http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png

My pdf reader sees the printer:
http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png

yet it won't print and delivers this dialog:
http://www.joseph-a-nagy-jr.us/images/problems/print-error.png

any ideas on how to correct this?


Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in
/usr/local/bin/lpr in your PATH; just do as root:

# chmod  /usr/bin/lpr


A long time ago, I don't remember by whom or when, I was told to put
this in the "/etc/make.conf" file:

WITH_CUPS=YES
CUPS_OVERWRITE_BASE=YES
WITHOUT_LPR=YES

Then rebuild the system and re-install CUPS and all would be well. I
did it and it worked so I guess it was okay to do. Was that info
actually correct or did I just luck out?



It might be right, but it isn't helping. That's already in my make.conf

--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
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: Problems Printing

2013-03-05 Thread Joseph A. Nagy, Jr

On 03/05/13 03:57, Matthias Apitz wrote:

El día Tuesday, March 05, 2013 a las 02:10:51AM -0600, Joseph A. Nagy, Jr 
escribió:


Cups is setup so I should be able to print:
http://www.joseph-a-nagy-jr.us/images/problems/cups-printer.png

My pdf reader sees the printer:
http://www.joseph-a-nagy-jr.us/images/problems/printer-there.png

yet it won't print and delivers this dialog:
http://www.joseph-a-nagy-jr.us/images/problems/print-error.png

any ideas on how to correct this?


Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in
/usr/local/bin/lpr in your PATH; just do as root:

# chmod  /usr/bin/lpr

matthias



The lpr error message is now gone, but no printing activity is going on. ):

--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
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: Problems Printing

2013-03-05 Thread Matthias Apitz
El día Tuesday, March 05, 2013 a las 05:46:01AM -0500, Jerry escribió:

> > Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in
> > /usr/local/bin/lpr in your PATH; just do as root:
> > 
> > # chmod  /usr/bin/lpr
> 
> A long time ago, I don't remember by whom or when, I was told to put
> this in the "/etc/make.conf" file:
> 
> WITH_CUPS=YES
> CUPS_OVERWRITE_BASE=YES
> WITHOUT_LPR=YES
> 
> Then rebuild the system and re-install CUPS and all would be well. I
> did it and it worked so I guess it was okay to do. Was that info
> actually correct or did I just luck out?

yes, correct; this will a) not install lpr in the base system, but b)
allow later CUPS to do a symlink from /usr/bin/lpr to
/usr/local/bin/lpr;

I did not want to send the OP to a complete rebuild for such a small
issue :-)

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems Printing

2013-03-05 Thread Joseph A. Nagy, Jr

On 03/05/13 05:10, Matthias Apitz wrote:

El día Tuesday, March 05, 2013 a las 05:46:01AM -0500, Jerry escribió:


Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in
/usr/local/bin/lpr in your PATH; just do as root:

# chmod  /usr/bin/lpr


A long time ago, I don't remember by whom or when, I was told to put
this in the "/etc/make.conf" file:

WITH_CUPS=YES
CUPS_OVERWRITE_BASE=YES
WITHOUT_LPR=YES

Then rebuild the system and re-install CUPS and all would be well. I
did it and it worked so I guess it was okay to do. Was that info
actually correct or did I just luck out?


yes, correct; this will a) not install lpr in the base system, but b)
allow later CUPS to do a symlink from /usr/bin/lpr to
/usr/local/bin/lpr;

I did not want to send the OP to a complete rebuild for such a small
issue :-)

matthias



Not a small issue for me, tbh, and libffi, pcre, and icu I pretty much 
do the same for. buildworld and installworld, then?


--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
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: Problems Printing

2013-03-05 Thread Matthias Apitz
El día Tuesday, March 05, 2013 a las 05:30:44AM -0600, Joseph A. Nagy, Jr 
escribió:

> >> WITH_CUPS=YES
> >> CUPS_OVERWRITE_BASE=YES
> >> WITHOUT_LPR=YES
> >>
> >> Then rebuild the system and re-install CUPS and all would be well. I
> >> did it and it worked so I guess it was okay to do. Was that info
> >> actually correct or did I just luck out?
> >
> > yes, correct; this will a) not install lpr in the base system, but b)
> > allow later CUPS to do a symlink from /usr/bin/lpr to
> > /usr/local/bin/lpr;
> >
> > I did not want to send the OP to a complete rebuild for such a small
> > issue :-)
> >
> > matthias
> >
> 
> Not a small issue for me, tbh, and libffi, pcre, and icu I pretty much 
> do the same for. buildworld and installworld, then?

no; just fix the problem as I said in my first reply;

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems Printing

2013-03-05 Thread Mike Clarke
On Tuesday 05 Mar 2013 09:57:30 Matthias Apitz wrote:

> Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in
> /usr/local/bin/lpr in your PATH; just do as root:
> 
> # chmod  /usr/bin/lpr

And for full CUPS functionality you should do the same for /usr/bin/lp, 
/usr/bin/lpq and /usr/bin/lprm

-- 
Mike Clarke
___
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: Problems Printing

2013-03-05 Thread Joseph A. Nagy, Jr

On 03/05/13 04:29, Matthias Apitz wrote:

El día Tuesday, March 05, 2013 a las 04:22:46AM -0600, Joseph A. Nagy, Jr 
escribió:


The lpr error message is now gone, but no printing activity is going on. ):


Try first printing a simple text file or even stdin from the cmd line,
like:

$ date | lpr -Pfoo

if this works, check the CUPS log files what the problem might be when
you print from your whatever graphical tool.

matthias


# date | lpr -Pfoo
lpr: The printer or class does not exist.
/var/log/cups/# less error_log
X [05/Mar/2013:05:45:41 -0600] kevent() returned Bad file descriptor
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/Brother/BR5070DN_GPL.ppd.gz!
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp830c.ppd.gz!
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp850c.ppd.gz!
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp880c.ppd.gz!
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp9100.ppd.gz!
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp920c.ppd.gz!
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp950c.ppd.gz!
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp960s.ppd.gz!
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/Epson/eplp980c.ppd.gz!
W [05/Mar/2013:05:45:57 -0600] [CGI] Missing NickName and ModelName in 
/usr/local/share/cups/model/foomatic-db-ppds/KONICA_MINOLTA/KOC451JX.ppd.gz!
E [05/Mar/2013:05:45:57 -0600] [cups-driverd] Bad driver information 
file "/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [05/Mar/2013:05:45:57 -0600] [cups-driverd] Bad driver information 
file 
"/usr/local/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt"!


not sure why its using Kyocera when I told cups the printer is a Pixma 
MP210 (using the gutenprint driver).

 /var/log/cups/# less access_log
localhost - root [05/Mar/2013:05:45:48 -0600] "POST /admin/ HTTP/1.1" 
200 168 CUPS-Delete-Printer successful-ok


(I decided to delete the printer and reinstall it)

localhost - - [05/Mar/2013:05:45:55 -0600] "POST / HTTP/1.1" 401 112 
CUPS-Get-Devices successful-ok
localhost - root [05/Mar/2013:05:45:55 -0600] "POST / HTTP/1.1" 200 1586 
CUPS-Get-Devices -
localhost - root [05/Mar/2013:05:45:57 -0600] "POST / HTTP/1.1" 200 
4558380 CUPS-Get-PPDs -
localhost - - [05/Mar/2013:05:47:18 -0600] "POST /admin/ HTTP/1.1" 401 
393 CUPS-Add-Modify-Printer successful-ok
localhost - root [05/Mar/2013:05:47:18 -0600] "POST /admin/ HTTP/1.1" 
200 393 CUPS-Add-Modify-Printer successful-ok
localhost - - [05/Mar/2013:05:47:24 -0600] "POST /printers/foo HTTP/1.1" 
200 172 Create-Job client-error-not-found
localhost - - [05/Mar/2013:05:47:36 -0600] "POST /printers/foo HTTP/1.1" 
200 172 Create-Job client-error-not-found


Also, to Mike:
On 03/05/13 05:39, Mike Clarke wrote:> On Tuesday 05 Mar 2013 09:57:30 
Matthias Apitz wrote:

>
>> Looks like you have FreeBSD's lpr(1) in front of CUPS' lpr(1) in
>> /usr/local/bin/lpr in your PATH; just do as root:
>>
>> # chmod  /usr/bin/lpr
>
> And for full CUPS functionality you should do the same for /usr/bin/lp,
> /usr/bin/lpq and /usr/bin/lprm
>

I did that before deleting and re-adding the printer.
--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
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: Problems Printing

2013-03-05 Thread Matthias Apitz
El día Tuesday, March 05, 2013 a las 05:52:53AM -0600, Joseph A. Nagy, Jr 
escribió:

> On 03/05/13 04:29, Matthias Apitz wrote:
> > El día Tuesday, March 05, 2013 a las 04:22:46AM -0600, Joseph A. Nagy, Jr 
> > escribió:
> >
> >> The lpr error message is now gone, but no printing activity is going on. ):
> >
> > Try first printing a simple text file or even stdin from the cmd line,
> > like:
> >
> > $ date | lpr -Pfoo
> >
> > if this works, check the CUPS log files what the problem might be when
> > you print from your whatever graphical tool.
> >
> > matthias
> >
> # date | lpr -Pfoo
> lpr: The printer or class does not exist.

what is the name of your printer in CUPS? You named it "foo"?
Please try it to configure as well as a Generic Postscript printer;

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Problems Printing

2013-03-05 Thread Joseph A. Nagy, Jr

On 03/05/13 06:19, Matthias Apitz wrote:

El día Tuesday, March 05, 2013 a las 05:52:53AM -0600, Joseph A. Nagy, Jr 
escribió:


On 03/05/13 04:29, Matthias Apitz wrote:

El día Tuesday, March 05, 2013 a las 04:22:46AM -0600, Joseph A. Nagy, Jr 
escribió:


The lpr error message is now gone, but no printing activity is going on. ):


Try first printing a simple text file or even stdin from the cmd line,
like:

$ date | lpr -Pfoo

if this works, check the CUPS log files what the problem might be when
you print from your whatever graphical tool.

matthias


# date | lpr -Pfoo
lpr: The printer or class does not exist.


what is the name of your printer in CUPS? You named it "foo"?
Please try it to configure as well as a Generic Postscript printer;

matthias



Sorry, I haven't had sleep for 24 hours. It's named PIXMA.

--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

___
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: Problems Printing

2013-03-05 Thread Matthias Apitz
El día Tuesday, March 05, 2013 a las 06:38:24AM -0600, Joseph A. Nagy, Jr 
escribió:

> >> # date | lpr -Pfoo
> >> lpr: The printer or class does not exist.
> >
> > what is the name of your printer in CUPS? You named it "foo"?
> > Please try it to configure as well as a Generic Postscript printer;
> >
> > matthias
> >
> 
> Sorry, I haven't had sleep for 24 hours. It's named PIXMA.

then the test is 

$ date | lpr -PPIXMA

matthias

-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: backups using rsync

2013-03-05 Thread Polytropon
On Mon, 04 Mar 2013 12:19:09 -0800, Ronald F. Guilmette wrote:
> 
> In message <20130304125634.8450cfaf.free...@edvax.de>, 
> Polytropon  wrote:
> 
> >On Mon, 04 Mar 2013 03:35:30 -0800, Ronald F. Guilmette wrote:
> >> Now, unfortunately, I have just been bitten by the evil... and apparently
> >> widely known (except to me)... ``You can't use dump(8) to dump a journaled
> >> filesystem with soft updates'' bug-a-boo.
> >
> >There are other tools you can use, for example tar or cpdup
> >or rsync, as you've mentioned in the subject.
> 
> tar I already knew about, but I think you will agree that it has lots of
> limitations that make it entirely inappropriate for mirroring an entire
> system.

That's true. If your purpose is "backup of data files",
tar is a good tool, especially for cross-platform use.
But if you need to deal with "exceptional" things like
extended permissions, ACL, sparse files and such, you
will quickly see its limits. On the other hand, it can
be used for multi-volume savesets, but this is not your
intention.



> This cpdup thing is entirely new to me.  Thanks for mentioning it!  I really
> never heard of it before, but I just now installed it from ports, and I'm
> perusing the man page. 

It's a little bit comparable to rsync and can also do
things like "only add" (so you won't lose any files:
if they are removed in source, they will be kept in
backup). It also has limitations that rsync will not.



> It looks very promising.  Too bad it doesn't
> properly handle sparse files, but oh well.  That's just a very minor nit.
> (Does it properly handle everything else that rsync claims to be able to
> properly handle, e.g. ACLs, file attributes, etc., etc.?)

That's something you should check with an "example
dataset" you back up, restore, and compare. I've been
using it for "normal files" successfully.



> >The same problems that apply when dumping live systems can
> >bite you using rsync,
> 
> What problems are we talking about, in particular?

The problems I'm refering to is the kind of _possible_
trouble you can get into when backing up files that
keep changing. The ability to make a snapshot prior
to starting the backup is a great help here (if you
don't have the chance to unmount the partitions to
backup). I can't imagine _how_ programs will react
if they start reading a file, prepare sufficient space
in some kind of TOC, then continue reading while the
file grows... or if a file is being read which is
removed during read... If you minimize the writing
activity to the (still) _live_ data you're dealing
with, that could be a benefit.




> I am guessing that if I use rsync, then I *won't* encounter this rather
> annoying issue/problem relating to UFS filesystems that have both soft
> updates and journaling enabled, correct?
> 
> >but support for this "on file system
> >level" seems to be better in rsync than what dump does "on
> >block level".
> 
> What exactly did you mean by "this" ?

As mentioned above: Unexpected and unpredictable results,
strange kinds of inconsistency, may they appear during
backup or later on restore.



> >> If I use all of the following rsync options...  -a,-H,-A, -X, and -S 
> >> when trying to make my backups, and if I do whatever additional fiddling
> >> is necessary to insure that I separately copy over the MBR and boot loader
> >> also to my backup drive, then is there any reason that, in the event of
> >> a sudden meteor shower that takes out my primary disk drive while leaving
> >> my backup drive intact, I can't just unplug my old primary drive, plug in
> >> my (rsync-created) backup drive, reboot and be back in the sadddle again,
> >> almost immediately, and with -zero- problems?
> >
> >You would have to make sure _many_ things are consistent
> >on the backup disk.
> 
> Well, this is what I am getting at.  This is/was the whole point of my post
> and my question.  I want to know:  What is that set of things, exactly?

The backup disk (or failover disk, as I said) needs to be
initialized properly prior to the first backup run: Make
sure it's bootable. Depending on how you handle identification
of the disk (by device name, by label or UFSID) and how
you're going to boot from it (by selecting the failover
disk in some post-BIOS/POST dialog or by swapping cables
or bays), you should check it actually starts booting.



> >Regarding terminology, that would make the disk a failover disk
> 
> OK.  Thank you.  I will henceforth use that terminology.

Just a suggestion from how you described you will be
using the disk, which isn't what commonly (or mostly)
is expressed by the term "backup" (also cf. "archive"
which is something entirely different).



> >The disk would need to have an initialized file system and
> >a working boot mechanism, both things rsync does not deal with
> 
> Check and check.  I implicitly understood the former, and I explicitly
> mentioned the latter in my original post in this thread.
> 
> But is there anything else, other than those

Re: VIA PV530

2013-03-05 Thread Lowell Gilbert
Andrew Pack  writes:

> Does anyone have any experience running FreeBSD on this platform?
> Unless I'm mistaken, I could't find it listed under the new release
> compatibility list. 

I haven't used that one specifically, but Via processors have worked
fine for me, including the power and encryption facilities.
___
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: backups using rsync

2013-03-05 Thread Giorgos Keramidas
On 2013-03-04 03:35, "Ronald F. Guilmette"  wrote:
> As a result of this past Black Friday weekend, I now enjoy a true
> abundance of disk space, for the first time in my life.
> 
> I wanna make a full backup, on a weekly basis, of my main system's
> shiny new 1TB drive onto another 1TB drive that I also picked up cheap
> back on Black Friday.
> 
> I've been planning to set this up for some long time now, but I've
> only gotten 'round to working on it now.
> 
> Now, unfortunately, I have just been bitten by the evil... and
> apparently widely known (except to me)... ``You can't use dump(8) to
> dump a journaled filesystem with soft updates'' bug-a-boo.
>
> Sigh.  The best laid plans of mice and men...
> 
> I _had_ planned on using dump/restore and making backups from live mounted
> filesystems while the system was running.  But I really don't want to have
> to take the system down to single-user mode every week for a few hours while
> I'm making my disk-to-disk backup.  So now I'm looking at doing the backups
> using rsync.

Yes, this should be possible...

One thing that can bite you when using rsync to traverse & copy large
filesystems is that the filesystem may still be changing beneath rsync
*as it's doing* the copy.

If this is a UFS2 filesystem, it may be a good idea to snapshot the
filesystem, and then rsync-backup the snapshot instead.

___
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: Zlib version in FreeBSD - 3 releases behind?

2013-03-05 Thread Giorgos Keramidas
On 2013-03-04 07:28, KrisUniverse  wrote:
> The Zlib baked into FreeBSD is Zlib 1.2.4 even on 9.1R.
> 
> However, Zlib has gone to 1.2.7 sometime ago after stepping through
> 1.2.5, 1.2.6 and 1.2.7 with bug fixes.
> 
> Is there any reason for not using Zlib 1.2.7?

I don't have a 9.1-RELEASE system nearby, but I think zlib 1.2.7 _should_
already be there...  Are you sure it's still an old version?

The zlib on /head is 1.2.7, merged from the vendor branch on 2012-06-21.

| % svn log --limit 1 svn://svn.freebsd.org/base/head/lib/libz
| 
| r237410 | delphij | 2012-06-21 23:47:08 +0200 (Πεμ, 21 Ιον 2012) | 8 lines
| 
| MFV: Update zlib to 1.2.7.
| 
| (x86 assembler optimization disabled for now because it
| requires the new .cfi_* directives that is not supported
| by base system binutils).
| 
| MFC after:  1 week

This was later merged to 9.1-STABLE after about a week of burn-in on /head:

| % svn log --limit 1 svn://svn.freebsd.org/base/stable/9/lib/libz
| 
| r237691 | delphij | 2012-06-28 09:08:48 +0200 (Πεμ, 28 Ιον 2012) | 2
| lines
| 
| MFC r237410: zlib 1.2.7.

Then the 9.1-RELEASE branch was copied from releng/9.1 on 2012-12-03, long
after the MFC of zlib 1.2.7 to the stable/9 branch.

| 
| r243808 | kensmith | 2012-12-03 06:03:33 +0100 (Δευ, 03 Δεκ 2012) | 4 lines
| 
| Copy releng/9.1 to release/9.1.0 as part of 9.1-RELEASE.
| 
| Approved by:re (implicit)

I'm confused now.  By tracking down these commits in our svn repository I would
expect libz on 9.1-RELEASE to be version 1.2.7.

___
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 compile lighttpd form source

2013-03-05 Thread Lowell Gilbert
"Zyumbilev, Peter"  writes:

> Hi,
>
> I am trying to follow instructions on this page:
>
> http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
>
> and compile lighttpd.
>
> [root@pistolmp01 ~/lighttpd-1.4.28]# ./autogen.sh
> ./autogen.sh: running `libtoolize --copy --force'
> libtoolize: putting auxiliary files in `.'.
> libtoolize: copying file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: copying file `m4/libtool.m4'
> libtoolize: copying file `m4/ltoptions.m4'
> libtoolize: copying file `m4/ltsugar.m4'
> libtoolize: copying file `m4/ltversion.m4'
> libtoolize: copying file `m4/lt~obsolete.m4'
> ./autogen.sh: running `aclocal -I m4'
> configure.ac:42: error: automatic de-ANSI-fication support has been removed
> /usr/local/share/aclocal-1.12/protos.m4:12: AM_C_PROTOTYPES is expanded
> from...
> configure.ac:42: the top level
> autom4te-2.69: /usr/local/bin/gm4 failed with exit status: 1
> aclocal-1.12: error: /usr/local/bin/autom4te-2.69 failed with exit status: 1
>
> System version is: FreeBSD 8.3-RELEASE-p3
>
>
> Please give me some hints as I am unable to install lighttpd with h264
> streaming support from both ports and source on FreeBSD.

The port seems to work fine, so I'd recommend you try to figure out
where that goes wrong for you, rather than figuring out version
incompatibilities in autotools...
___
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"


cmake fails to build under 9.1

2013-03-05 Thread Paul Kraus
In trying to build NagIOS, one of the dependencies is cmake and it is failing 
to build. See below. And if I run make again it will fail on a different file, 
see further down. Any ideas ? I am running 64 bit 9.1 under VBox 4.2.6 and the 
parent host is Mac OS X 10.8.

[ 61%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmComputeLinkInformation.cxx.o
{standard input}: Assembler messages:
{standard input}:14628: Warning: end of file not at end of a line; newline 
inserted
{standard input}:16093: Error: bad register name `%r1'
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See http://gcc.gnu.org/bugs.html> for instructions.
*** [Source/CMakeFiles/CMakeLib.dir/cmBootstrapCommands.cxx.o] Error code 1
1 error
*** [Source/CMakeFiles/CMakeLib.dir/all] Error code 2
1 error
*** [all] Error code 2
1 error
*** [do-build] Error code 1

Stop in /usr/ports/devel/cmake.

[ 68%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmGlobalGenerator.cxx.o
[ 68%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmGlobalUnixMakefileGenerator3.cxx.o
[ 68%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmGraphVizWriter.cxx.o
{standard input}: Assembler messages:
{standard input}:119141: Warning: end of file not at end of a line; newline 
inserted
{standard input}:119618: Error: bad register name `%rb'
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See http://gcc.gnu.org/bugs.html> for instructions.
*** [Source/CMakeFiles/CMakeLib.dir/cmBootstrapCommands.cxx.o] Error code 1
1 error
*** [Source/CMakeFiles/CMakeLib.dir/all] Error code 2
1 error
*** [all] Error code 2
1 error
*** [do-build] Error code 1

Stop in /usr/ports/devel/cmake.

Thanks.

--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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: cmake fails to build under 9.1

2013-03-05 Thread Volodymyr Kostyrko

05.03.2013 18:51, Paul Kraus:

In trying to build NagIOS, one of the dependencies is cmake and it is failing 
to build. See below. And if I run make again it will fail on a different file, 
see further down. Any ideas ? I am running 64 bit 9.1 under VBox 4.2.6 and the 
parent host is Mac OS X 10.8.

[ 61%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmComputeLinkInformation.cxx.o
{standard input}: Assembler messages:
{standard input}:14628: Warning: end of file not at end of a line; newline 
inserted
{standard input}:16093: Error: bad register name `%r1'
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See http://gcc.gnu.org/bugs.html> for instructions.
*** [Source/CMakeFiles/CMakeLib.dir/cmBootstrapCommands.cxx.o] Error code 1
1 error
*** [Source/CMakeFiles/CMakeLib.dir/all] Error code 2
1 error
*** [all] Error code 2
1 error
*** [do-build] Error code 1

Stop in /usr/ports/devel/cmake.


Any messages on the system console?

--
Sphinx of black quartz, judge my vow.
___
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"


Jailed process listening to broadcast address of host system - possible?

2013-03-05 Thread Matthias Petermann


Hello,

is there any way to listen to a networks broadcast adress from within a Jail?

Given ist the following setup:

 * The host (IP 192.168.2.127)
 * The jail (same IP as host, 192.168.2.127)

When I do:

 $ nc -l 192.168.2.255 

I got the following results:

root@host # nc -l 192.168.2.255 


root@jail # nc -l 192.168.2.255 
nc: Can't assign requested address

The latter is the problem. I already sat security.jail.allow_raw_sockets=1
and now not sure if I am trying to do something which is not allowed  
by design?


Thanks in advance,
Matthias



# Additional Information:

## ifconfig (host):

root@host # ifconfig -a
em0: flags=8843 metric 0 mtu 1500
options=9b
ether 08:00:27:b3:64:f2
inet 192.168.2.127 netmask 0xff00 broadcast 192.168.2.255
nd6 options=29
media: Ethernet autoselect (1000baseT )
status: active
lo0: flags=8049 metric 0 mtu 16384
options=63
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
inet 10.0.0.1 netmask 0x
inet 10.0.0.2 netmask 0x
inet 10.0.0.3 netmask 0x
inet 10.0.0.4 netmask 0x
inet 10.0.0.5 netmask 0x
nd6 options=21
pflog0: flags=141 metric 0 mtu 33152
nd6 options=21

## ifconfig (jail):

root@jail # ifconfig -a
em0: flags=8843 metric 0 mtu 1500
options=9b
ether 08:00:27:b3:64:f2
inet 192.168.2.127 netmask 0xff00 broadcast 192.168.2.255
media: Ethernet autoselect (1000baseT )
status: active
lo0: flags=8049 metric 0 mtu 16384
options=63
pflog0: flags=141 metric 0 mtu 33152






--
Matthias Petermann 

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


Booting from an aribrary disk in ZFS RAIDZ on 8.x

2013-03-05 Thread Doug Poland
Hello,

I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE
amd64. The kernel build is rather dated from around Feb 2010.

I have 6 disks in a RAIDZ configuration.  All disks were sliced
the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1,
swap on index 2 and freebsd-zfs on index 3.

Given this configuration, I should be able to boot from any of the 6
disks in the RAIDZ.  If this is a true statement, how do I make that
happen from the loader prompt?

At the loader prompt when I type show, I get the following relevant
variables:

currdev="zfs0"
loaddev="disk1a:"
vfs.root.mountfrom="zfs:rpool"

A peek at man loader(1) shows me two interesting variables:
root_disk_unit
rootdev

If disk0 is the legacy floppy device, presumably disk1a: maps to da0.
What variable do I set to signify boot from what I know as:

da0p1 == gpt/boot0 
da0p2 == gpt/swap0 
da0p3 == gpt/disk0
...
snip
...
da5p1 == gpt/boot5 
da5p2 == gpt/swap5 
da5p3 == gpt/disk5

Thanks very much in advance.  BTW, is it bad form to cross-post to
forums.freebsd.org?

-- 
Regards,
Doug
___
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: backups using rsync

2013-03-05 Thread Matthias Petermann

Hello,

Zitat von Giorgos Keramidas :


If this is a UFS2 filesystem, it may be a good idea to snapshot the
filesystem, and then rsync-backup the snapshot instead.


Last time I tried UFS2 snapshots I found out two serious limitations.
The first is it doesn't work when UFS Journaling is used. The second is
that taking a snapshop on a large filesystem can cause parts of the
system to freeze for many minutes up to hours when accessing files
part of the snapshot, depending on the size of the filesystem.
That's why I could not use it on my server with > 1TB UFS2.

Did this improve in the last year? (I guess my experience is from the
time around 9.0 release).

Kind regards,
Matthias


--
Matthias Petermann 

___
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: Problems Printing

2013-03-05 Thread Joseph A. Nagy, Jr

On 03/05/13 06:49, Matthias Apitz wrote:

El día Tuesday, March 05, 2013 a las 06:38:24AM -0600, Joseph A. Nagy, Jr 
escribió:


# date | lpr -Pfoo
lpr: The printer or class does not exist.


what is the name of your printer in CUPS? You named it "foo"?
Please try it to configure as well as a Generic Postscript printer;

matthias



Sorry, I haven't had sleep for 24 hours. It's named PIXMA.


then the test is

$ date | lpr -PPIXMA

matthias



I figured that out, sent the test, it queud the job and stuck there. 
When I get home I'm going to clear the cups logs and start over again.


--
Yours in Christ,

Joseph A Nagy Jr
"Whoever loves instruction loves knowledge, But he who hates correction
is stupid." -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL 
http://copyfree.org/licenses/owl/license.txt

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


How to connect to VPN

2013-03-05 Thread Любомир Григоров
I have been trying to find a way to connect to a PPTP or L2TP VPN for over
a year now. There is no GUI client that I know of and any text
configuration I try with pptpclient fails.

How can I connect to a VPN, the fast way as in Windows, OS X and GNU/Linux.
I have the following information (no internal IP's or ranges or NAT):

Gateway - I have the URL to connect to, I suppose I can map it to IP
Username
Password
MSCHAP
MSCHAPv2
Use point-to-point encryption (MPPE)
Allow BSD data compression
Allow deflate data compression
Use TCP header compression


How can I connect to the VPN with just this information above? Everything I
find requires internal IP's, ranges, NAT and other things making a 5 second
gui configuration take months. The VPN server supports PPTP and L2TP as
mentioned. Any advice on how I can connect will be helpful.

-- 
Lyubomir Grigorov (bgalakazam)
___
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: Jailed process listening to broadcast address of host system - possible?

2013-03-05 Thread Fbsd8

Matthias Petermann wrote:


Hello,

is there any way to listen to a networks broadcast adress from within a 
Jail?


Given ist the following setup:

 * The host (IP 192.168.2.127)
 * The jail (same IP as host, 192.168.2.127)

When I do:

 $ nc -l 192.168.2.255 

I got the following results:

root@host # nc -l 192.168.2.255 


root@jail # nc -l 192.168.2.255 
nc: Can't assign requested address

The latter is the problem. I already sat security.jail.allow_raw_sockets=1
and now not sure if I am trying to do something which is not allowed by 
design?


Thanks in advance,
Matthias



# Additional Information:

## ifconfig (host):

root@host # ifconfig -a
em0: flags=8843 metric 0 mtu 1500
options=9b
ether 08:00:27:b3:64:f2
inet 192.168.2.127 netmask 0xff00 broadcast 192.168.2.255
nd6 options=29
media: Ethernet autoselect (1000baseT )
status: active
lo0: flags=8049 metric 0 mtu 16384
options=63
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
inet 10.0.0.1 netmask 0x
inet 10.0.0.2 netmask 0x
inet 10.0.0.3 netmask 0x
inet 10.0.0.4 netmask 0x
inet 10.0.0.5 netmask 0x
nd6 options=21
pflog0: flags=141 metric 0 mtu 33152
nd6 options=21

## ifconfig (jail):

root@jail # ifconfig -a
em0: flags=8843 metric 0 mtu 1500
options=9b
ether 08:00:27:b3:64:f2
inet 192.168.2.127 netmask 0xff00 broadcast 192.168.2.255
media: Ethernet autoselect (1000baseT )
status: active
lo0: flags=8049 metric 0 mtu 16384
options=63
pflog0: flags=141 metric 0 mtu 33152



Since your talking about a jail process, you really need to provide 
details on how you configured the jail and if your using the interface 
parameter?




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


Tuning ZFS ARC for 512GB Memory

2013-03-05 Thread Reed A. Cartwright
I have a 512GB memory system that has a 480GB (or so) L2ARC, and a
raidz2 storage pool.  No dedup or compression is enabled.  Although, I
will enable compression in the future.

By default vfs.zfs.arc_max is about 300GB and the L2ARC is hardly touched.

I've seen a couple hints recently on the mailing lists that having too
big of an ARC can be a performance hit because it takes a long time to
inspect it when something needs to integrate over the entries.

I've also had issues with running 9.1 on this machine due to zfs
deadlocks or stalls and am currently "stuck" using 9.0 with no issue.

So, I was wondering if shrinking the ARC would potentially help and
what should I shrink it to?

I am thinking about setting vfs.zfs.arc_max to 64GB.

Does anyone have an opinion?


--
Reed A. Cartwright, PhD
Assistant Professor of Genomics, Evolution, and Bioinformatics
School of Life Sciences
Center for Evolutionary Medicine and Informatics
The Biodesign Institute
Arizona State University
___
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: Booting from an aribrary disk in ZFS RAIDZ on 8.x

2013-03-05 Thread Shane Ambler

On 06/03/2013 05:14, Doug Poland wrote:

Hello,

I'm running ZFS filesystem ver 3, storage pool ver 14, on 8-STABLE
amd64. The kernel build is rather dated from around Feb 2010.


You probably want to update that sometime.


I have 6 disks in a RAIDZ configuration.  All disks were sliced
the same with gpart (da(n)p1,p2,p3) with bootcode written to index 1,
swap on index 2 and freebsd-zfs on index 3.

Given this configuration, I should be able to boot from any of the 6
disks in the RAIDZ.  If this is a true statement, how do I make that
happen from the loader prompt?


You don't boot from an individual disk you boot from a zpool - all disks 
are linked together making one zpool "disk".



At the loader prompt when I type show, I get the following relevant
variables:

currdev="zfs0"
loaddev="disk1a:"
vfs.root.mountfrom="zfs:rpool"


zfs:rpool is the "disk" you boot from.

I'm guessing that you ask as your machine isn't booting.
You probably need to boot from a cd and do adjustments.

You have zfs_load=yes in /boot/loader.conf ?
You have vfs.root.mountfrom="zfs:rpool" in /boot/loader.conf ?
You have zfs_enable=yes in /etc/rc.conf ?
You have zpool set bootfs=rpool rpool or similar?

I think it has been resolved recently but you used to have to copy the 
zpool.cache into /boot


Did you set the mountpoint when installing and not change it back?

I had issues with setting up with a mountpoint / and changing it to 
legacy. Setting the mountpoint as you want before setup then use altroot 
to mount it for install is the way to go.


If you search wiki.freebsd.org for zfs you can find several examples 
that may provide hints to what you missed.


___
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: Tuning ZFS ARC for 512GB Memory

2013-03-05 Thread Gezeala M . Bacuño II
Try to read through the email thread I have started and specifically posts
(replies) by alc:

http://lists.freebsd.org/pipermail/freebsd-performance/2012-August/thread.html#4640

I have followed his suggestions, and with the arc_max setting I used we
still have on average free RAM ~137GB.

HTH.




On Tue, Mar 5, 2013 at 6:36 PM, Reed A. Cartwright wrote:

> I have a 512GB memory system that has a 480GB (or so) L2ARC, and a
> raidz2 storage pool.  No dedup or compression is enabled.  Although, I
> will enable compression in the future.
>
> By default vfs.zfs.arc_max is about 300GB and the L2ARC is hardly touched.
>
> I've seen a couple hints recently on the mailing lists that having too
> big of an ARC can be a performance hit because it takes a long time to
> inspect it when something needs to integrate over the entries.
>
> I've also had issues with running 9.1 on this machine due to zfs
> deadlocks or stalls and am currently "stuck" using 9.0 with no issue.
>
> So, I was wondering if shrinking the ARC would potentially help and
> what should I shrink it to?
>
> I am thinking about setting vfs.zfs.arc_max to 64GB.
>
> Does anyone have an opinion?
>
>
> --
> Reed A. Cartwright, PhD
> Assistant Professor of Genomics, Evolution, and Bioinformatics
> School of Life Sciences
> Center for Evolutionary Medicine and Informatics
> The Biodesign Institute
> Arizona State University
> ___
> 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: Problems Printing

2013-03-05 Thread Matthias Apitz
El día Tuesday, March 05, 2013 a las 03:42:15PM -0600, Joseph A. Nagy, Jr 
escribió:

> > then the test is
> >
> > $ date | lpr -PPIXMA
> >
> > matthias
> >
> 
> I figured that out, sent the test, it queud the job and stuck there. 
> When I get home I'm going to clear the cups logs and start over again.

Does the CUPS' test page works from the web interface? If not, try to
configure the printer as Generic Postscript first.

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