atacontrol reinit

2012-03-31 Thread Petri Helenius

Hi,

How do I accomplish atacontrol reinit in 9.0 with ATA_CAM enabled? Plugged 
drives don't show up without a reboot and camcontrol reset or rescan does not 
help.

Pete

___
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 Security in Multiuser Environments

2012-03-31 Thread Julian H. Stacey
Hi,
Reference:
 From: schu...@ime.usp.br 
 Date: Fri, 30 Mar 2012 22:44:16 -0300 
 Message-id:   20120330224416.13643xk4rsfd2...@webmail.ime.usp.br 

schu...@ime.usp.br wrote:
 Hello,
 
 I would like to raise a discussion about the security features
 of FreeBSD as a whole and how they might be employed to actually
 derive some meaningful guarantees.

We have a list specialy for freebsd-security@. Please use it.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
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


ps, clang and make variables

2012-03-31 Thread R Skinner
Stupid question, but I need to clarify and make sure I'm right here: 
what should I see as the running process if clang is compiling? ATM I 
see cc1plus.


I'm trying to set CC and friends make variables to clang for a build, 
but it doesn't appear to be 'sticking'. It seems to change the shell env 
to bash, but that shouldn't be the problem. So I'm trying to work out 
whats up.


FWIW I'm trying to build libreoffice with clang as it doesn't build, or 
more accurately doesn't build and test correctly. It doesn't appear to 
honor the CC variables (CC, CXX, CPP, etc). Worth a shot anyway :)


Cheers
___
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: Printer recommendation please

2012-03-31 Thread Da Rock

On 03/31/12 05:17, Warren Block wrote:

On Fri, 30 Mar 2012, Karel Miklav wrote:

Could you please recommend me a home printer that works nicely with 
FreeBSD?


HP inkjets aren't that bad, FreeBSD drivers are allright, but I'd 
like to shift towards some kind of PostScript laser. Xerox Phaser 
6500 looks nice, but I can not economically justify my appetite. Is 
there a cheaper alternative or maybe PostScript printers aren't that 
good idea anyway, heh?


The Phaser 6500 has some good specifications.  Genuine Adobe 
PostScript 3, gigabit Ethernet, 24 PPM.  The duty cycle is 4,000 pages 
per month, which is very low.  Toner is expensive.  Reviews are 
somewhat mixed.


It should work with FreeBSD, certainly for text.  For graphics output, 
Gutenprint doesn't have a setting specifically for the 6500, but one 
of the similar printers probably will work.  Don't expect photo 
quality, color lasers have to do halftones.
Depending. Xerox C410 used a Fiery engine onboard which produced 
dramatic results- awesome photo quality I have yet to see even in an inkjet.


Not sure what the Phasers are like though; they're not actually Xerox 
designed per se, but use the Xerox processes so hence the brand.


Anyway, I digress. The critical point is the print engine- if it says 
Fiery grab it don't let go! :) Results may vary a little between brands, 
but anything with Fiery in it is better than without. And you don't need 
Gutenprint because thats what Gutenprint is attempting to emulate.

___
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: Printer recommendation please

2012-03-31 Thread Da Rock

On 03/31/12 07:23, Polytropon wrote:

On Fri, 30 Mar 2012 17:38:36 +0200, Karel Miklav wrote:

Could you please recommend me a home printer that works nicely with FreeBSD?

HP inkjets aren't that bad, FreeBSD drivers are allright, but I'd like
to shift towards some kind of PostScript laser. Xerox Phaser 6500 looks
nice, but I can not economically justify my appetite. Is there a cheaper
alternative or maybe PostScript printers aren't that good idea anyway, heh?

Allow me to mention some things that are worth investing in.

1. Network connection.
Don't bother with USB stuff. Buy a printer that offers Ethernet
and maybe also WLAN, this will save you many trouble, and you
are free to put the printer wherever you want.

2. Standard language.
Postscript and PCL. Make sure the printer understands at least
one of them. PCL is very common among HP printers. Regarding
drivers - you don't need them. PS is the default output format
for printing from every application. Printer filter collections
such as apsfilter or CUPS tend to support non-PS printers very
well, and it's quite easy to write your own printer filter (may
even be a one-liner) using ghostscript. There's nothing wrong
with PS because (as I said) you don't need any drivers, but the
data transfer may need some time, and the processing speed
depends on how fast and how good (!) the PS interpreter in the
printer is. In my experience (with the printers I'm going to
mention at the end of this message) PCL is faster.

+1.

+1 +1 +1 ;) A definite must! Cannot be emphasised enough; the others 
are manufacturer errors!


3. Laser printer.
Don't believe that inkpee printers are genereally cheaper. They
are not. The only excuse for using them is that you need photo
quality color prints (requiring the proper paper, too).
Usually by the time you need to replace a cartridge you may want to buy 
another printer- it will take you that long to go through the cartridge 
(4000 prints as opposed to the 40 in an inkjet that you _may_ get out of 
it). Remember you have to pay nearly the same amount _somewhere_; either 
through ink/toner or initial cost (or pain :) ).


4. Additional functionalities.
Before buying something, ask yourself what you need. Does it
need to have a scanner? Does the scanner part support FreeBSD?
Is there a way to scan to local storage (e. g. USB stick)
in the printer? Does it need a sheet feeder for scan input?
Does it need to scan photo positive/negative films? Does it
need to fax?

I have had good luck with my army of laser printers here.
HP Laserjet II, 4, 4000 duplex, as well as a Samsung color
laserprinter CLX-2160. All this stuff works out of the box.
I don't have any need for inkpee. Photos can be printed at
much better quality at my local drugstore, if I need that.
The printer filters are gs one-liners I wrote myself, because
I speak PCL to the laser printer, and some splix gibberish
using foo2qpdl to the (sadly USB connected) color printer.






___
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: Printer recommendation please

2012-03-31 Thread Da Rock

On 03/31/12 08:32, RW wrote:

On Fri, 30 Mar 2012 16:14:20 -0400
Mike Jeays wrote:


I strongly recommend a laser printer over an inkjet even for home
use. The reduced running costs and better reliability are easily
worth the lack of colour, IMO.

How do they compare for light and  occasional use? I'm thinking in
terms of a few pages, a few times a year, so presumably the
consumables become perishables.

Quite well. Toner doesn't dry up :)

Watch the older type fusers though- they can develop 'flat spots' on the 
rollers. The newer printers use a ceramic type fuser which has fast 
warm-up and no flat spot troubles.


Also keep the dust low on _any_ printer and it will last longer and 
perform better. Dusty paper can cause major issues (both printing and 
mechanical) as well.

___
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 Security in Multiuser Environments

2012-03-31 Thread Da Rock

On 03/31/12 17:46, Julian H. Stacey wrote:

Hi,
Reference:

From:   schu...@ime.usp.br
Date:   Fri, 30 Mar 2012 22:44:16 -0300
Message-id: 20120330224416.13643xk4rsfd2...@webmail.ime.usp.br

schu...@ime.usp.br wrote:

Hello,

I would like to raise a discussion about the security features
of FreeBSD as a whole and how they might be employed to actually
derive some meaningful guarantees.

We have a list specialy for freebsd-security@. Please use it.
Hang on, hold the phone: The security list (specifically) is for 
security announcements. At least that what it said when I subscribed to 
it...

___
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: Printer recommendation please

2012-03-31 Thread Polytropon
On Sat, 31 Mar 2012 21:17:52 +1000, Da Rock wrote:
 Watch the older type fusers though- they can develop 'flat spots' on the 
 rollers. The newer printers use a ceramic type fuser which has fast 
 warm-up and no flat spot troubles.

But it's still possible to get replacement parts for older
office printers. I said _office_ printers, even used ones
that you can pick up for few dollars or a bottle of beer.
Spare parts aren't expensive, and in many cases, you can
install them yourself. The funny thing: Even for 10 years
old printers (and even older ones), they are available.

Try _that_ with a home consumer inkpee printer! :-)



 Also keep the dust low on _any_ printer and it will last longer and 
 perform better. Dusty paper can cause major issues (both printing and 
 mechanical) as well.

Sometimes rubber parts tend to harden. There are a few
tricks to make them soft again, but the typical solution
is to replace them for few dollars. Note that this isn't
something you'll notice in 2 - 5 years of use. You often
need 10 or more years to find fail and trouble in a good
printer. Good printer == office printer, as I said befire. :-)

-- 
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: Printer recommendation please

2012-03-31 Thread Jerry
On Sat, 31 Mar 2012 12:08:57 +0700
Erich Dollansky articulated:

 I know a person who did this too. But for the purpose of saving
 money. It was during a time when new printers with refill have been
 cheaper than the refill. This guy actually saved money and has had
 the latest model.

Kodak made a major change in their price structure to actually front
load the cost of the printer while most other manufacturers still
basically give away the printer with the expectations of making profit
on the selling of the ink. Hence, many individuals, especially college
students purchase cheap ink-jet printers that can actually rival the
output of many high priced color laser units and simply discard them in
six months when the ink runs dry. Plus, they have the functionality of
being able to plug those ink-jets into virtually any Microsoft product,
sans driver and still have a fully functional device.

By the way, PS is going the way of the dodo bird. PDF is quickly
becoming the printing norm. If you are going to spend a significant
amount of money on a printing device, make sure it supports native PDF.

-- 
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: Printer recommendation please

2012-03-31 Thread Da Rock

On 03/31/12 21:32, Polytropon wrote:

On Sat, 31 Mar 2012 21:17:52 +1000, Da Rock wrote:

Watch the older type fusers though- they can develop 'flat spots' on the
rollers. The newer printers use a ceramic type fuser which has fast
warm-up and no flat spot troubles.

But it's still possible to get replacement parts for older
office printers. I said _office_ printers, even used ones
that you can pick up for few dollars or a bottle of beer.
Spare parts aren't expensive, and in many cases, you can
install them yourself. The funny thing: Even for 10 years
old printers (and even older ones), they are available.

Try _that_ with a home consumer inkpee printer! :-)




Also keep the dust low on _any_ printer and it will last longer and
perform better. Dusty paper can cause major issues (both printing and
mechanical) as well.

Sometimes rubber parts tend to harden. There are a few
tricks to make them soft again, but the typical solution
is to replace them for few dollars. Note that this isn't
something you'll notice in 2 - 5 years of use. You often
need 10 or more years to find fail and trouble in a good
printer. Good printer == office printer, as I said befire. :-)

All absolutely true. My point was the few 'gotchas' for printers and 
what to watch for. Also the better features for new printers.


I seem to remember using eucalyptus oil to revive cracked rubber - not 
that it happened much with the latest rubbers (2k+). A little alcohol 
cleaner will clean them up usually to get them going again for another 
100 or so pages- usually a lot more :) You can also use a little mag 
polish on the exterior panels of the older ones to remove stubborn marks 
and make them look new again (unless they've gone mediteranean and been 
a bit sunburnt).


Parts (for the old and new - trick is to find a supplier, a quick google 
will do) are a dime a dozen almost - can be touchier on the colour 
printers though, not that the parts on those wear out too quickly: you 
can usually expect 30k out of those parts anyway- a lifetime for those 
printers.


Try and get a printer _designed_ to run 100k before servicing (like 
Kyocera), and you'll buy a new printer before buying a new cartridge 
(possibly). A 1010/1020 did that, I'm not sure what the (descendant) 
newer models are.

___
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: Printer recommendation please

2012-03-31 Thread Daniel Toschläger

Hello
I use a HP LaserJet 1320n from a handicap workshop for some Euros. it 
works great. It is connected via internal LAN with a lot of features. I 
put it into the WLAN via an access point and a switch. No problems so 
far. Can also get connected via USB. ps works just fine.


best regards
Daniel

Am 30.03.2012 17:38, schrieb Karel Miklav:

Could you please recommend me a home printer that works nicely with
FreeBSD?

HP inkjets aren't that bad, FreeBSD drivers are allright, but I'd like
to shift towards some kind of PostScript laser. Xerox Phaser 6500 looks
nice, but I can not economically justify my appetite. Is there a cheaper
alternative or maybe PostScript printers aren't that good idea anyway, heh?

--

Thanks,
Karel
___
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: FreeBSD Security in Multiuser Environments

2012-03-31 Thread Julian H. Stacey
Hi,
Reference:
 From: Da Rock freebsd-questi...@herveybayaustralia.com.au 
 Date: Sat, 31 Mar 2012 21:25:37 +1000 
 Message-id:   4f76e9b1.5040...@herveybayaustralia.com.au 

Da Rock wrote:
 On 03/31/12 17:46, Julian H. Stacey wrote:
  Hi,
  Reference:
  From:  schu...@ime.usp.br
  Date:  Fri, 30 Mar 2012 22:44:16 -0300
  Message-id:20120330224416.13643xk4rsfd2...@webmail.ime.usp.br
  schu...@ime.usp.br wrote:
  Hello,
 
  I would like to raise a discussion about the security features
  of FreeBSD as a whole and how they might be employed to actually
  derive some meaningful guarantees.
  We have a list specialy for freebsd-security@. Please use it.
 Hang on, hold the phone: The security list (specifically) is for 
 security announcements. At least that what it said when I subscribed to 
 it...

Wrong.

For list of mail lists see:
http://lists.freebsd.org/mailman/listinfo

Specifically:
freebsd-secur...@freebsd.org
http://lists.freebsd.org/mailman/listinfo/freebsd-security

freebsd-security-notificati...@freebsd.org
http://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
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: ps, clang and make variables

2012-03-31 Thread Michael Powell
R Skinner wrote:

 Stupid question, but I need to clarify and make sure I'm right here:
 what should I see as the running process if clang is compiling? ATM I
 see cc1plus.
 
 I'm trying to set CC and friends make variables to clang for a build,
 but it doesn't appear to be 'sticking'. It seems to change the shell env
 to bash, but that shouldn't be the problem. So I'm trying to work out
 whats up.
 
 FWIW I'm trying to build libreoffice with clang as it doesn't build, or
 more accurately doesn't build and test correctly. It doesn't appear to
 honor the CC variables (CC, CXX, CPP, etc). Worth a shot anyway :)

I have done the buildworld/buildkernel dance with the following in 
/etc/make.conf a few weeks back. Haven't played with it recently though.

.if !defined(CC) || ${CC} == cc
CC=clang
.endif
.if !defined(CXX) || ${CXX} == c++
CXX=clang++
.endif
.if !defined(CPP) || ${CPP} == cpp
CPP=clang-cpp
.endif
# Don't die on warnings
NO_WERROR=
WERROR=
# Don't forget this when using Jails!
NO_FSCHG=

I got this from:

http://wiki.freebsd.org/BuildingFreeBSDWithClang

Good Luck!

-Mike


___
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: ps, clang and make variables

2012-03-31 Thread andrew clarke
On Sat 2012-03-31 20:32:04 UTC+1000, R Skinner 
(ro...@herveybayaustralia.com.au) wrote:

 Stupid question, but I need to clarify and make sure I'm right here: 
 what should I see as the running process if clang is compiling? ATM I 
 see cc1plus.

clang for C, clang++ for C++

 I'm trying to set CC and friends make variables to clang for a build, 
 but it doesn't appear to be 'sticking'. It seems to change the shell env 
 to bash, but that shouldn't be the problem. So I'm trying to work out 
 whats up.

I have this in /etc/make.conf:

.include /etc/make.clang.conf

and /etc/make.clang.conf itself:

.if !defined(CC) || ${CC} == cc
CC=clang
.endif
.if !defined(CXX) || ${CXX} == c++
CXX=clang++
.endif
.if !defined(CPP) || ${CPP} == cpp
CPP=clang -E
.endif
# Don't die on warnings
NO_WERROR=
WERROR=
# Don't forget this when using Jails!
NO_FSCHG=

This is from http://wiki.freebsd.org/BuildingFreeBSDWithClang which
talks about building the FreeBSD kernel  base, but it's also used by
the Ports system.

Another option is to set CC  CXX explicitly:

cd /usr/ports/*/foobar
make CC=clang CXX=clang++
  
 FWIW I'm trying to build libreoffice with clang as it doesn't build, or 
 more accurately doesn't build and test correctly. It doesn't appear to 
 honor the CC variables (CC, CXX, CPP, etc). Worth a shot anyway :)

I've never tried building LibreOffice at all, let alone with Clang,
but apparently it can be done:

http://nabble.documentfoundation.org/libreoffice-clang-success-td3788899.html

Regards
Andrew
___
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 Security in Multiuser Environments

2012-03-31 Thread Erich Dollansky
Hi,

On Saturday 31 March 2012 20:26:14 Julian H. Stacey wrote:
 Hi,
 Reference:
  From:   Da Rock freebsd-questi...@herveybayaustralia.com.au 
  Date:   Sat, 31 Mar 2012 21:25:37 +1000 
  Message-id: 4f76e9b1.5040...@herveybayaustralia.com.au 
 
 Da Rock wrote:
  On 03/31/12 17:46, Julian H. Stacey wrote:
   Hi,
   Reference:
   From:schu...@ime.usp.br
   Date:Fri, 30 Mar 2012 22:44:16 -0300
   Message-id:  20120330224416.13643xk4rsfd2...@webmail.ime.usp.br
   schu...@ime.usp.br wrote:
   Hello,
  
   I would like to raise a discussion about the security features
   of FreeBSD as a whole and how they might be employed to actually
   derive some meaningful guarantees.
   We have a list specialy for freebsd-security@. Please use it.
  Hang on, hold the phone: The security list (specifically) is for 
  security announcements. At least that what it said when I subscribed to 
  it...
 
 Wrong.
 
 For list of mail lists see:
   http://lists.freebsd.org/mailman/listinfo
 
 Specifically:
   freebsd-secur...@freebsd.org
   http://lists.freebsd.org/mailman/listinfo/freebsd-security
 
   freebsd-security-notificati...@freebsd.org
   http://lists.freebsd.org/mailman/listinfo/freebsd-security-notifications
 
this sounds very confusing for people who have simple question:

'General system administrator questions of an FAQ nature are off-topic for this 
list, but the creation and maintenance of a FAQ is on-topic. Thus, the 
submission of questions (with answers) for inclusion into the FAQ is welcome. 
Such question/answer sets should be clearly marked as (at least FAQ 
submission) such in the subject. '

This sounds that 'schultz' would be wrong there.

Erich
___
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: Printer recommendation please

2012-03-31 Thread perryh
Polytropon free...@edvax.de wrote:

 On Fri, 30 Mar 2012 17:38:36 +0200, Karel Miklav wrote:
  Could you please recommend me a home printer that works nicely
  with FreeBSD?
  
  HP inkjets aren't that bad, FreeBSD drivers are allright, but
  I'd like to shift towards some kind of PostScript laser. Xerox
  Phaser 6500 looks nice ...

 Allow me to mention some things that are worth investing in.

 1. Network connection.
 Don't bother with USB stuff. Buy a printer that offers Ethernet

+1

 and maybe also WLAN,

I personally don't trust wireless, because it's well nigh impossible
to truly secure it.

 2. Standard language.
 Postscript and PCL. Make sure the printer understands at least
 one of them.

or, alternatively, PDF (which some of the newer printers are reputed
to take directly, rather than requiring the host to convert it to PS
or PCL).

 3. Laser printer.
 Don't believe that inkpee printers are genereally cheaper. They
 are not.

+1, especially if used only occasionally.

If I needed a monochrome printer this weekend, I'd head for the
local Fry's where they're advertising the (network  duplex capable)
Samsung ML-2955ND for $80.  I haven't used that model, but it looks
very similar to the (network-capable, but no duplex) ML-2571N that's
been working just fine since I got it a few years ago.

 The only excuse for using them is that you need photo
 quality color prints (requiring the proper paper, too).

I've gotten quite adequate printing of digital-camera photos from
a Xerox Phaser 6130 (about $400 a few years ago IIRC).
___
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: ps, clang and make variables

2012-03-31 Thread Da Rock

On 03/31/12 23:56, andrew clarke wrote:

On Sat 2012-03-31 20:32:04 UTC+1000, R Skinner 
(ro...@herveybayaustralia.com.au) wrote:


Stupid question, but I need to clarify and make sure I'm right here:
what should I see as the running process if clang is compiling? ATM I
see cc1plus.

clang for C, clang++ for C++


Figures... not working then.



I'm trying to set CC and friends make variables to clang for a build,
but it doesn't appear to be 'sticking'. It seems to change the shell env
to bash, but that shouldn't be the problem. So I'm trying to work out
whats up.

I have this in /etc/make.conf:

.include /etc/make.clang.conf

and /etc/make.clang.conf itself:

.if !defined(CC) || ${CC} == cc
CC=clang
.endif
.if !defined(CXX) || ${CXX} == c++
CXX=clang++
.endif
.if !defined(CPP) || ${CPP} == cpp
CPP=clang -E
.endif
# Don't die on warnings
NO_WERROR=
WERROR=
# Don't forget this when using Jails!
NO_FSCHG=

This is from http://wiki.freebsd.org/BuildingFreeBSDWithClang which
talks about building the FreeBSD kernel  base, but it's also used by
the Ports system.

Another option is to set CC  CXX explicitly:

cd /usr/ports/*/foobar
make CC=clang CXX=clang++


And thats whats not working here.



FWIW I'm trying to build libreoffice with clang as it doesn't build, or
more accurately doesn't build and test correctly. It doesn't appear to
honor the CC variables (CC, CXX, CPP, etc). Worth a shot anyway :)

I've never tried building LibreOffice at all, let alone with Clang,
but apparently it can be done:

http://nabble.documentfoundation.org/libreoffice-clang-success-td3788899.html
Apparently. And given the errors I've been having I'm trying to give it 
a go.

___
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


using clang (was: Re: ps, clang and make variables)

2012-03-31 Thread Robert Huff

As long as we're talking about clang, I have two questions.
1) Is there any generic reason why a port compiled with clang
won't work on a world compiled with gcc?
2) If not, how do I set that up?


Robert Huff

___
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


shutdown -p doesn't power-off USB

2012-03-31 Thread Jens Schweikhardt
hello world\n

I'm running 9-STABLE/amd64 and for a few months now, whenever I shut
down with shutdown -p now, the USB devices still have power. This is
most visible on the USB keyboard, where *all* LEDs are turned on and
stay on.

The MB is an ASUS P5Q3 Deluxe.

The USB related sysctls are:
# sysctl -aw|grep -i usb
descrUSB1008A Flash Disk/descr
device  usb
hw.pci.usb_early_takeover: 1
hw.usb.no_shutdown_wait: 0
hw.usb.no_boot_wait: 0
hw.usb.debug: 0
hw.usb.usb_lang_mask: 255
hw.usb.usb_lang_id: 9
hw.usb.template: 0
hw.usb.power_timeout: 30
hw.usb.no_pf: 0
hw.usb.no_cs_fail: 0
dev.uhci.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
dev.uhci.0.%location: slot=26 function=0 handle=\_SB_.PCI0.USB4
dev.uhci.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
dev.uhci.1.%location: slot=26 function=1 handle=\_SB_.PCI0.USB5
dev.uhci.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
dev.uhci.2.%location: slot=26 function=2 handle=\_SB_.PCI0.USB6
dev.uhci.3.%desc: Intel 82801JI (ICH10) USB controller USB-A
dev.uhci.3.%location: slot=29 function=0 handle=\_SB_.PCI0.USB0
dev.uhci.4.%desc: Intel 82801JI (ICH10) USB controller USB-B
dev.uhci.4.%location: slot=29 function=1 handle=\_SB_.PCI0.USB1
dev.uhci.5.%desc: Intel 82801JI (ICH10) USB controller USB-C
dev.uhci.5.%location: slot=29 function=2 handle=\_SB_.PCI0.USB2
dev.usbus.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
dev.usbus.0.%driver: usbus
dev.usbus.0.%parent: uhci0
dev.usbus.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
dev.usbus.1.%driver: usbus
dev.usbus.1.%parent: uhci1
dev.usbus.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
dev.usbus.2.%driver: usbus
dev.usbus.2.%parent: uhci2
dev.usbus.3.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
dev.usbus.3.%driver: usbus
dev.usbus.3.%parent: ehci0
dev.usbus.4.%driver: usbus
dev.usbus.4.%parent: xhci0
dev.usbus.5.%desc: Intel 82801JI (ICH10) USB controller USB-A
dev.usbus.5.%driver: usbus
dev.usbus.5.%parent: uhci3
dev.usbus.6.%desc: Intel 82801JI (ICH10) USB controller USB-B
dev.usbus.6.%driver: usbus
dev.usbus.6.%parent: uhci4
dev.usbus.7.%desc: Intel 82801JI (ICH10) USB controller USB-C
dev.usbus.7.%driver: usbus
dev.usbus.7.%parent: uhci5
dev.usbus.8.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
dev.usbus.8.%driver: usbus
dev.usbus.8.%parent: ehci1
dev.ehci.0.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
dev.ehci.0.%location: slot=26 function=7 handle=\_SB_.PCI0.USBE
dev.ehci.1.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
dev.ehci.1.%location: slot=29 function=7 handle=\_SB_.PCI0.EUSB
dev.xhci.0.%desc: XHCI (generic) USB 3.0 controller
dev.uhub.0.%parent: usbus0
dev.uhub.1.%parent: usbus1
dev.uhub.2.%parent: usbus2
dev.uhub.3.%parent: usbus3
dev.uhub.4.%parent: usbus4
dev.uhub.5.%parent: usbus5
dev.uhub.6.%parent: usbus6
dev.uhub.7.%parent: usbus7
dev.uhub.8.%parent: usbus8
dev.ums.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2
dev.uhid.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2

Any help appreciated in telling me how to turn off USB power with shutdown.

Regards,

Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
___
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: shutdown -p doesn't power-off USB

2012-03-31 Thread Michael Sierchio
That would be something in the BIOS settings, probably...

On Sat, Mar 31, 2012 at 8:38 AM, Jens Schweikhardt 
schwe...@schweikhardt.net wrote:

 hello world\n

 I'm running 9-STABLE/amd64 and for a few months now, whenever I shut
 down with shutdown -p now, the USB devices still have power. This is
 most visible on the USB keyboard, where *all* LEDs are turned on and
 stay on.

 The MB is an ASUS P5Q3 Deluxe.

 The USB related sysctls are:
 # sysctl -aw|grep -i usb
descrUSB1008A Flash Disk/descr
 device  usb
 hw.pci.usb_early_takeover: 1
 hw.usb.no_shutdown_wait: 0
 hw.usb.no_boot_wait: 0
 hw.usb.debug: 0
 hw.usb.usb_lang_mask: 255
 hw.usb.usb_lang_id: 9
 hw.usb.template: 0
 hw.usb.power_timeout: 30
 hw.usb.no_pf: 0
 hw.usb.no_cs_fail: 0
 dev.uhci.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
 dev.uhci.0.%location: slot=26 function=0 handle=\_SB_.PCI0.USB4
 dev.uhci.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
 dev.uhci.1.%location: slot=26 function=1 handle=\_SB_.PCI0.USB5
 dev.uhci.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
 dev.uhci.2.%location: slot=26 function=2 handle=\_SB_.PCI0.USB6
 dev.uhci.3.%desc: Intel 82801JI (ICH10) USB controller USB-A
 dev.uhci.3.%location: slot=29 function=0 handle=\_SB_.PCI0.USB0
 dev.uhci.4.%desc: Intel 82801JI (ICH10) USB controller USB-B
 dev.uhci.4.%location: slot=29 function=1 handle=\_SB_.PCI0.USB1
 dev.uhci.5.%desc: Intel 82801JI (ICH10) USB controller USB-C
 dev.uhci.5.%location: slot=29 function=2 handle=\_SB_.PCI0.USB2
 dev.usbus.0.%desc: Intel 82801JI (ICH10) USB controller USB-D
 dev.usbus.0.%driver: usbus
 dev.usbus.0.%parent: uhci0
 dev.usbus.1.%desc: Intel 82801JI (ICH10) USB controller USB-E
 dev.usbus.1.%driver: usbus
 dev.usbus.1.%parent: uhci1
 dev.usbus.2.%desc: Intel 82801JI (ICH10) USB controller USB-F
 dev.usbus.2.%driver: usbus
 dev.usbus.2.%parent: uhci2
 dev.usbus.3.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
 dev.usbus.3.%driver: usbus
 dev.usbus.3.%parent: ehci0
 dev.usbus.4.%driver: usbus
 dev.usbus.4.%parent: xhci0
 dev.usbus.5.%desc: Intel 82801JI (ICH10) USB controller USB-A
 dev.usbus.5.%driver: usbus
 dev.usbus.5.%parent: uhci3
 dev.usbus.6.%desc: Intel 82801JI (ICH10) USB controller USB-B
 dev.usbus.6.%driver: usbus
 dev.usbus.6.%parent: uhci4
 dev.usbus.7.%desc: Intel 82801JI (ICH10) USB controller USB-C
 dev.usbus.7.%driver: usbus
 dev.usbus.7.%parent: uhci5
 dev.usbus.8.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
 dev.usbus.8.%driver: usbus
 dev.usbus.8.%parent: ehci1
 dev.ehci.0.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-B
 dev.ehci.0.%location: slot=26 function=7 handle=\_SB_.PCI0.USBE
 dev.ehci.1.%desc: Intel 82801JI (ICH10) USB 2.0 controller USB-A
 dev.ehci.1.%location: slot=29 function=7 handle=\_SB_.PCI0.EUSB
 dev.xhci.0.%desc: XHCI (generic) USB 3.0 controller
 dev.uhub.0.%parent: usbus0
 dev.uhub.1.%parent: usbus1
 dev.uhub.2.%parent: usbus2
 dev.uhub.3.%parent: usbus3
 dev.uhub.4.%parent: usbus4
 dev.uhub.5.%parent: usbus5
 dev.uhub.6.%parent: usbus6
 dev.uhub.7.%parent: usbus7
 dev.uhub.8.%parent: usbus8
 dev.ums.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2
 dev.uhid.0.%desc: Logitech USB Receiver, class 0/0, rev 2.00/22.00, addr 2

 Any help appreciated in telling me how to turn off USB power with shutdown.

 Regards,

Jens
 --
 Jens Schweikhardt http://www.schweikhardt.net/
 SIGSIG -- signature too long (core dumped)
 ___
 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


Détecteur D'alcoolémie Porte Clef à 0 euros

2012-03-31 Thread Skoopon
Skoopon est heureux de vous présenter les Skoops en National
Afin de visualiser l'ensemble de la Newsletter cliquez sur ce liens : 

http://news.skoopon.fr/public/read_message.jsp?tsp=1333213729524custid=15101uid=15027764244sig=FEAHJFFGIEINCIHMmid=151435

Pour être sur de recevoir tous nos emails, ajoutez  charlo...@info.skoopon.fr 
à votre carnet d´adresses.

Skoop N°1: 
http://news.skoopon.fr/re?l=ot28ijI6wj553oI0req=wizzMailCircle%3Dfreebsd-questions%40freebsd.org
DéTECTEUR D'ALCOOLéMIE PORTE CLEF
OFFRE EXCLUSIVE ! SOYEZ PRUDENT AU VOLANT, SOUFFLEZ, ATTENDEZ, CONSTATEZ VOTRE 
TAUX D'ALCOOLéMIE ! PRENEZ LA ROUTE EN SéCURITé GRâCE à CE PORTE CLEF DéTECTEUR 
D'ALCOOLéMIE POUR 0€ !

Skoop N°2: 
http://news.skoopon.fr/re?l=ot28ijI6wj553oI1req=wizzMailCircle%3Dfreebsd-questions%40freebsd.org
ROULEAU LED
ECLAIREZ VOTRE BAR, VOTRE SALON OU L'EXTéRIEUR DE VOTRE MAISON, GRâCE AU 
ROULEAU LED, POUR SEULEMENT 49€ AU LIEU DE 149€


Skoop N°3: 
http://news.skoopon.fr/re?l=ot28ijI6wj553oI2req=wizzMailCircle%3Dfreebsd-questions%40freebsd.org
FILM DE PROTECTION
ALLIEZ PROTECTION ET CLASSE GRâCE AUX FILMS DE PROTECTION IPHONE 4/4S ! POUR 
SEULEMENT 7€ AU LIEU DE 19,90€ ! FDP INCLUS


Skoop N°4: 
http://news.skoopon.fr/re?l=ot28ijI6wj553oI3req=wizzMailCircle%3Dfreebsd-questions%40freebsd.org
SOUTIENS-GORGES AHH BRA
UNE VéRITABLE RéVOLUTION, LES SOUTIENS-GORGES AHH BRA ! ULTRA CONFORT, GALBE 
LA POITRINE, UN MAINTIEN PARFAIT! VOTRE LOT DE 3 SOUTIENS-GORGES POUR SEULEMENT 
19,90€ AU LIEU DE 69 € !


Skoop N°5: 
http://news.skoopon.fr/re?l=ot28ijI6wj553oI4req=wizzMailCircle%3Dfreebsd-questions%40freebsd.org
ECIGARETTE-WEB CASE
NE DéTRUISEZ PLUS VOTRE SANTé EN FUMANT ET DIMINUEZ PROGRESSIVEMENT VOTRE 
ACOUTUMANCE AU TABAC GRâCE à CETTE ECIGARETTE ! POUR SEULEMENT 9,95€ AU LIEU DE 
38,50€


Vous recevez cet e-mail car vous faites confiance a Skoopon. Vous pouvez a tout 
moment décider de ne plus recevoir de message de notre part.  Vous désinscrire 
: 
http://news.skoopon.fr/public/unsubscribe.jsp?gid=150377uid=15027764244mid=151435sig=FEHAIMBILLHHBGJM
Le site skoopon.fr est une propriété de la société WIZZDEALS.
La société WIZZDEALS est une société par actions simplifiée dont le siège 
social est situé,  6 rue Troyon - 92310 Sévres (France) et enregistrée au 
Registre du Commerce et des Sociétés de Paris sous le numéro 532 937 596.

Mentions Légales : http://news.skoopon.fr/re?l=ot28ijI6wj553oI5
Conditions générales de ventes : http://news.skoopon.fr/re?l=ot28ijI6wj553oI6
___
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: Printer recommendation please

2012-03-31 Thread Lino Miklav

On 31.03.2012 00:16, Peter A. Giessel wrote:

On 2012, Mar 30, at 11:17, Warren Block wrote:

It should work with FreeBSD, certainly for text.  For graphics
output, Gutenprint doesn't have a setting specifically for the
6500, but one of the similar printers probably will work.  Don't
expect photo quality, color lasers have to do halftones.


I've requested a test printout, but they claim their 600 x 600 x 16 
technology gives similar results than 1200 dpi inkjets.



It doesn't surprise me that Gutenprint doesn't have a setting
specifically for the 6500 because Xerox provides one:


Uf, I have this idea to only use LPD and filters.


I have a Phaser 6300 (older model), and it has worked well for every
OS that I have thrown at it, including Mac, Windows, Linux, FreeBSD,
iOS, etc.

Echoing others, get a real postscript printer, get a real network printer
(not USB), and get a laser printer (although Thermal Wax would also be
acceptable).


Just got an incredible deal, Xerox Phaser 6280V DN with toners for 2000+ 
pages for 362 EUR. That's exactly the price I've paid for ink in the 
last five years. I think I'll go with this one.


Regards and thanks to everyone who chimed in with a piece of good advice.

Karel
___
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: using clang (was: Re: ps, clang and make variables)

2012-03-31 Thread Jakub Lach
/etc/make.conf :

.if !empty(.CURDIR:M/usr/ports/*)
set clang as you like
.endif

clang for ports, YMMV as always.

http://wiki.freebsd.org/PortsAndClang

libreoffice 3.5.x builds and run sucessfully 
with clang 3.0 and (upcoming) 3.1 - @bapt

So wait for libreoffice 3.5 for clang support.



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/ps-clang-and-make-variables-tp5608586p5609272.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 freebsd-questions-unsubscr...@freebsd.org


Trouble installing py-sqlite3 port for python3.x

2012-03-31 Thread Modulok
List,

I'm *guessing* this is more of FreeBSD problem than a python one, so I'll ask
on this list. I'm trying to import sqlite3 in python3.2 on FreeBSD
8.1-RELEASE and ran
into trouble:

$ python3.2
...
 import sqlite3
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/local/lib/python3.2/sqlite3/__init__.py, line 23, in module
from sqlite3.dbapi2 import *
  File /usr/local/lib/python3.2/sqlite3/dbapi2.py, line 26, in module
from _sqlite3 import *
ImportError: No module named _sqlite3


I assumed I was missing some operating system dependent sqlite3 package. When I
attempt to install the 'ports/databases/py-sqlite3' port, it worked but it
installed it for python2.6. (Importing sqlite3 works in 2.6) There are no
config options for this port to select a python version. Similarly there's no
sqlite3 related config options for the python3.2 port.

I then tried to use the python specific install tool, 'pip-3.2' to install the
python module:

# pip-3.2 install pysqlite

Unfortunately, it fails:

Downloading/unpacking pysqlite
  Real name of requirement pysqlite is pysqlite
  Downloading pysqlite-2.6.3.tar.gz (74Kb): 74Kb downloaded
  Running setup.py egg_info for package pysqlite
Traceback (most recent call last):
  File string, line 14, in module
  File /usr/local/lib/python3.2/codecs.py, line 300, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 98:
invalid continuation byte
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

  File string, line 14, in module

  File /usr/local/lib/python3.2/codecs.py, line 300, in decode

(result, consumed) = self._buffer_decode(data, self.errors, final)

UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 98:
invalid continuation byte


Command python setup.py egg_info failed with error code 1
Storing complete log in /root/.pip/pip.log

The complete log file doesn't reveal much else. My environment doesn't contain
any python env var. I don't have any python config files overriding install
locations or anything. My /etc/make.conf file contains no python variables. I
can display UTF-8 characters on the console just fine e.g:

$ pytho3.2
...
 chr(0xe4)
'ä'

Suggestions, thoughts, ideas?


Thanks!
-Modulok-
___
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


Many SATA disks

2012-03-31 Thread Daniel Feenberg


We would like to build a FreeBSD machine ourselves with many (~15) SATA 
drives, but NOT use a RAID controller. We want to be able to remove any 
drive and connect it to an ordinary motherboard SATA port and mount the 
filesystem using only the OS provided drivers and tools. I have built many 
FreeBSD systems, but never used port multipliers and don't know which 
controllers advertised as RAID controllers will support a plain pass-thru 
mode. Would anyone like to make a suggestion from actual experience?


The system will be used solely for archiving, so performance is not 
critical, but portability of the partitions to other systems is necessary.


Daniel Feenberg
NBER

___
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: using clang

2012-03-31 Thread Da Rock

On 04/01/12 05:45, Jakub Lach wrote:

/etc/make.conf :

.if !empty(.CURDIR:M/usr/ports/*)
set clang as you like
.endif

clang for ports, YMMV as always.

http://wiki.freebsd.org/PortsAndClang
Yes but setting that does not seem to affect the ports build operation - 
make.conf or -DCC etc, Seems to be poorly implemented, setting that 
should set --cc in the configure, etc.


libreoffice 3.5.x builds and run sucessfully
with clang 3.0 and (upcoming) 3.1 - @bapt

So wait for libreoffice 3.5 for clang support.

Not an option ATM.




--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/ps-clang-and-make-variables-tp5608586p5609272.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 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: Trouble installing py-sqlite3 port for python3.x

2012-03-31 Thread Da Rock

On 04/01/12 06:00, Modulok wrote:

List,

I'm *guessing* this is more of FreeBSD problem than a python one, so I'll ask
on this list. I'm trying to import sqlite3 in python3.2 on FreeBSD
8.1-RELEASE and ran
into trouble:

 $ python3.2
 ...
   import sqlite3
 Traceback (most recent call last):
   File stdin, line 1, inmodule
   File /usr/local/lib/python3.2/sqlite3/__init__.py, line 23, inmodule
 from sqlite3.dbapi2 import *
   File /usr/local/lib/python3.2/sqlite3/dbapi2.py, line 26, inmodule
 from _sqlite3 import *
 ImportError: No module named _sqlite3


I assumed I was missing some operating system dependent sqlite3 package. When I
attempt to install the 'ports/databases/py-sqlite3' port, it worked but it
installed it for python2.6. (Importing sqlite3 works in 2.6) There are no
config options for this port to select a python version. Similarly there's no
sqlite3 related config options for the python3.2 port.

I then tried to use the python specific install tool, 'pip-3.2' to install the
python module:

 # pip-3.2 install pysqlite

Unfortunately, it fails:

 Downloading/unpacking pysqlite
   Real name of requirement pysqlite is pysqlite
   Downloading pysqlite-2.6.3.tar.gz (74Kb): 74Kb downloaded
   Running setup.py egg_info for package pysqlite
 Traceback (most recent call last):
   File string, line 14, inmodule
   File /usr/local/lib/python3.2/codecs.py, line 300, in decode
 (result, consumed) = self._buffer_decode(data, self.errors, final)
 UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 98:
 invalid continuation byte
 Complete output from command python setup.py egg_info:
 Traceback (most recent call last):

   File string, line 14, inmodule

   File /usr/local/lib/python3.2/codecs.py, line 300, in decode

 (result, consumed) = self._buffer_decode(data, self.errors, final)

 UnicodeDecodeError: 'utf8' codec can't decode byte 0xe4 in position 98:
 invalid continuation byte

 
 Command python setup.py egg_info failed with error code 1
 Storing complete log in /root/.pip/pip.log

The complete log file doesn't reveal much else. My environment doesn't contain
any python env var. I don't have any python config files overriding install
locations or anything. My /etc/make.conf file contains no python variables. I
can display UTF-8 characters on the console just fine e.g:

 $ pytho3.2
 ...
   chr(0xe4)
 'ä'

Suggestions, thoughts, ideas?


Perhaps try ports@? But first try make build-depends-list to obtain more 
info, but it looks like it may not be supported.

___
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


Access to Time Warner cable network

2012-03-31 Thread Fbsd8

Just purchased an account on the northern Ohio Time Warner cable system.
Having problem connecting to their service. Seems their dhcp server has 
an ip address of 10.2.0.1 which is not public routable. I know my 
Freebsd 8.2 box functions because it worked fine under att service which 
I just left for Time Warner service. MY xp laptop works fine with time 
warner. I can see that during the connection hand shake they first issue 
ip addresses 192.168.x.x then end up with real public routable ip 
address for dns and my ip address. Just the dhcp ip is 10.2.0.1. XP 
seems to handle this connection hand shake ok.


Does any one have any suggestions on how to get Freebsd 8.2 working 
under TW?

___
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: Access to Time Warner cable network

2012-03-31 Thread Da Rock

On 04/01/12 09:52, Fbsd8 wrote:

Just purchased an account on the northern Ohio Time Warner cable system.
Having problem connecting to their service. Seems their dhcp server 
has an ip address of 10.2.0.1 which is not public routable. I know my 
Freebsd 8.2 box functions because it worked fine under att service 
which I just left for Time Warner service. MY xp laptop works fine 
with time warner. I can see that during the connection hand shake they 
first issue ip addresses 192.168.x.x then end up with real public 
routable ip address for dns and my ip address. Just the dhcp ip is 
10.2.0.1. XP seems to handle this connection hand shake ok.


Does any one have any suggestions on how to get Freebsd 8.2 working 
under TW?


Have you got a firewall or something else blocking dhcp from 
communicating? What does ifconfig say?

___
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: Access to Time Warner cable network

2012-03-31 Thread Fbsd8

Da Rock wrote:

On 04/01/12 09:52, Fbsd8 wrote:

Just purchased an account on the northern Ohio Time Warner cable system.
Having problem connecting to their service. Seems their dhcp server 
has an ip address of 10.2.0.1 which is not public routable. I know my 
Freebsd 8.2 box functions because it worked fine under att service 
which I just left for Time Warner service. MY xp laptop works fine 
with time warner. I can see that during the connection hand shake they 
first issue ip addresses 192.168.x.x then end up with real public 
routable ip address for dns and my ip address. Just the dhcp ip is 
10.2.0.1. XP seems to handle this connection hand shake ok.


Does any one have any suggestions on how to get Freebsd 8.2 working 
under TW?


Have you got a firewall or something else blocking dhcp from 
communicating? What does ifconfig say?




No firewall running and NIC status is no carrier
___
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: Access to Time Warner cable network

2012-03-31 Thread Da Rock

On 04/01/12 10:52, Fbsd8 wrote:

Da Rock wrote:

On 04/01/12 09:52, Fbsd8 wrote:
Just purchased an account on the northern Ohio Time Warner cable 
system.
Having problem connecting to their service. Seems their dhcp server 
has an ip address of 10.2.0.1 which is not public routable. I know 
my Freebsd 8.2 box functions because it worked fine under att 
service which I just left for Time Warner service. MY xp laptop 
works fine with time warner. I can see that during the connection 
hand shake they first issue ip addresses 192.168.x.x then end up 
with real public routable ip address for dns and my ip address. Just 
the dhcp ip is 10.2.0.1. XP seems to handle this connection hand 
shake ok.


Does any one have any suggestions on how to get Freebsd 8.2 working 
under TW?


Have you got a firewall or something else blocking dhcp from 
communicating? What does ifconfig say?




No firewall running and NIC status is no carrier


Actually I asked what the output of ifconfig was, but it looks like your 
cable is not connected (or wifi- hard to tell without output. It 
preempts many questions).


Try `ifconfig NIC up`, check the cable, etc. FreeBSD should be 
responding just like Winblows here, but your network isn't connected for 
whatever reason that will probably be clearer when we know what ifconfig 
looks like. Hence dhcp will not work in these circumstances, at least 
until you connect your network... :)

___
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: Access to Time Warner cable network

2012-03-31 Thread Al Plant

Da Rock wrote:

On 04/01/12 10:52, Fbsd8 wrote:

Da Rock wrote:

On 04/01/12 09:52, Fbsd8 wrote:
Just purchased an account on the northern Ohio Time Warner cable 
system.
Having problem connecting to their service. Seems their dhcp server 
has an ip address of 10.2.0.1 which is not public routable. I know 
my Freebsd 8.2 box functions because it worked fine under att 
service which I just left for Time Warner service. MY xp laptop 
works fine with time warner. I can see that during the connection 
hand shake they first issue ip addresses 192.168.x.x then end up 
with real public routable ip address for dns and my ip address. Just 
the dhcp ip is 10.2.0.1. XP seems to handle this connection hand 
shake ok.


Does any one have any suggestions on how to get Freebsd 8.2 working 
under TW?


Have you got a firewall or something else blocking dhcp from 
communicating? What does ifconfig say?




No firewall running and NIC status is no carrier


Actually I asked what the output of ifconfig was, but it looks like your 
cable is not connected (or wifi- hard to tell without output. It 
preempts many questions).


Try `ifconfig NIC up`, check the cable, etc. FreeBSD should be 
responding just like Winblows here, but your network isn't connected for 
whatever reason that will probably be clearer when we know what ifconfig 
looks like. Hence dhcp will not work in these circumstances, at least 
until you connect your network... :)

___
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



Aloha,

Make sure your connection to Road Runner or TW is set for DHCP. And make 
sure you can ping your NIC card and like Da Rock says see whats up with 
iconfig. If there is a switch on the line make sure it is plugged in. I 
have one customer I work for that lost his signal from TW Roadrunner and 
they had to come out to replace some link to a failed splitter on the 
house connection. Here in Hawaii we have a bad corrosion problem  from 
the salt air.  TW also needs the electric service to work here as well.


Did they come to your location and run a test to their equipment? My 
neighbor had a recent cable outage of an existing cable on our block 
that was too low  and a moving van hit it.



~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
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 freebsd-questions-unsubscr...@freebsd.org


Re: Access to Time Warner cable network

2012-03-31 Thread Da Rock

On 04/01/12 11:22, Al Plant wrote:

Da Rock wrote:

On 04/01/12 10:52, Fbsd8 wrote:

Da Rock wrote:

On 04/01/12 09:52, Fbsd8 wrote:
Just purchased an account on the northern Ohio Time Warner cable 
system.
Having problem connecting to their service. Seems their dhcp 
server has an ip address of 10.2.0.1 which is not public routable. 
I know my Freebsd 8.2 box functions because it worked fine under 
att service which I just left for Time Warner service. MY xp 
laptop works fine with time warner. I can see that during the 
connection hand shake they first issue ip addresses 192.168.x.x 
then end up with real public routable ip address for dns and my ip 
address. Just the dhcp ip is 10.2.0.1. XP seems to handle this 
connection hand shake ok.


Does any one have any suggestions on how to get Freebsd 8.2 
working under TW?


Have you got a firewall or something else blocking dhcp from 
communicating? What does ifconfig say?




No firewall running and NIC status is no carrier


Actually I asked what the output of ifconfig was, but it looks like 
your cable is not connected (or wifi- hard to tell without output. It 
preempts many questions).


Try `ifconfig NIC up`, check the cable, etc. FreeBSD should be 
responding just like Winblows here, but your network isn't connected 
for whatever reason that will probably be clearer when we know what 
ifconfig looks like. Hence dhcp will not work in these circumstances, 
at least until you connect your network... :)

___
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



Aloha,

Make sure your connection to Road Runner or TW is set for DHCP. And 
make sure you can ping your NIC card and like Da Rock says see whats 
up with iconfig. If there is a switch on the line make sure it is 
plugged in. I have one customer I work for that lost his signal from 
TW Roadrunner and they had to come out to replace some link to a 
failed splitter on the house connection. Here in Hawaii we have a bad 
corrosion problem  from the salt air.  TW also needs the electric 
service to work here as well.


Did they come to your location and run a test to their equipment? My 
neighbor had a recent cable outage of an existing cable on our block 
that was too low  and a moving van hit it.


Apparently the Windows system works, so I'd assume all that side is ok- 
just FBSD box is the issue.

___
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: Access to Time Warner cable network

2012-03-31 Thread Erich Dollansky
Hi,

On Sunday 01 April 2012 06:52:48 Fbsd8 wrote:
 Just purchased an account on the northern Ohio Time Warner cable system.
 Having problem connecting to their service. Seems their dhcp server has 
 an ip address of 10.2.0.1 which is not public routable. I know my 
 Freebsd 8.2 box functions because it worked fine under att service which 
 I just left for Time Warner service. MY xp laptop works fine with time 
 warner. I can see that during the connection hand shake they first issue 
 ip addresses 192.168.x.x then end up with real public routable ip 
 address for dns and my ip address. Just the dhcp ip is 10.2.0.1. XP 
 seems to handle this connection hand shake ok.

this seems to work like my ISP. I have at the end a private IP address in the 
range 10.x.y.z. They do the translation when needed for me. Of course, my 
machine is not accessible from outside.

What confuses me is that your XP machine gets a 192.168 address between. How 
can it access the DHCP then? Can you try to limit the address range to 10.x.y.z 
during the negotiation phase?

How do you connect to the cable? Is there some kind of a 'modem'?

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


problem

2012-03-31 Thread jangkawijaya
I've got the problem like this

Apr  1 17:03:15 johannesang named[576]: zone 79.205.167.in-addr.arpa/IN: 
loading from master file /etc/namedb/master/db.johannesang failed: extra input 
text
Apr  1 17:03:15 johannesang named[576]: zone 79.205.167.in-addr.arpa/IN: not 
loaded due to errors.
Apr  1 17:03:15 johannesang named[576]: 
/etc/namedb/master/localhost-reverse.db:2: no current owner name
Apr  1 17:03:15 johannesang named[576]: zone 0.ip6.arpa/IN: loading from master 
file /etc/namedb/master/localhost-reverse.db failed: no owner
Apr  1 17:03:15 johannesang named[576]: zone 0.ip6.arpa/IN: not loaded due to 
errors.
Apr  1 17:03:15 johannesang named[576]: zone 8.B.D.0.1.0.0.2.IP6.ARPA/IN: zone 
serial (0) unchanged. zone may fail to transfer to slaves.
Apr  1 17:03:15 johannesang named[576]: dns_rdata_fromtext: 
/etc/namedb/master/db.domain:5: near '3h': extra input text
Apr  1 17:03:15 johannesang named[576]: zone johannesang.com/IN: loading from 
master file /etc/namedb/master/db.domain failed: extra input text
Apr  1 17:03:15 johannesang named[576]: zone johannesang.com/IN: not loaded due 
to errors

 here is localhost-reverse.db file


 $FreeBSD: src/etc/namedb/master/localhost-reverse.db,v 1.1.14.1 2010/02/10 00:2

$TTL 3h
@ SOA localhost. nobody.localhost. 42 1d 12h 1w 3h
 Serial, Refresh, Retry, Expire, Neg. cache TTL

NS  localhost.

1.0.0   PTR localhost.

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR localhost.


here is my db.domain file

$TTL3600

johannesang.com. IN  SOA host.johannesang.com.  root.johannesang.com.   (

201204010042   1d12h 1w  3h
 Serial, Refresh, Retry, Expire, Neg. cache TTL


;DNS Servers
johannesang.com. IN  NS  host.johannesang.com.

;Machine Names
host.johannesang.com.IN  A   167.205.79.105

;Aliases
www  IN  CNAME   host.johannesang.com.

here is my db.johannesang file
$TTL3600

79.205.167.in-addr.arpa. IN  SOA host.johannesang.com.  root.johannesang.com.

201204010042   1d12h 1w  3h
 Serial, Refresh, Retry, Expire, Neg. cache TTL


DNS Servers
79.205.167.in-addr.arpa.   IN  NS  host.johannesang.com.

;Machine IPs
105IN  PTR host.johannesang.com.
105IN  PTR www.johannesang.com.

and here is my named.conf

key rndc-key {
algorithm hmac-md5;
secret +W8n6komoiD9BRAfbbT//QsntsFScEs6gUXArJuH4Nk=;
};



zone johannesang.com {
type master;
file /etc/namedb/master/db.domain;
allow-transfer { localhost; };
allow-update { key rndc-key; };
};



zone 79.205.167.in-addr.arpa {
type master;
file /etc/namedb/master/db.johannesang;
allow-transfer { localhost; };
allow-update { key rndc-key; };

};

I need your help 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: Access to Time Warner cable network

2012-03-31 Thread Erich Dollansky
Hi,

On Sunday 01 April 2012 08:57:00 Da Rock wrote:
 
  Did they come to your location and run a test to their equipment? My 
  neighbor had a recent cable outage of an existing cable on our block 
  that was too low  and a moving van hit it.
 
 Apparently the Windows system works, so I'd assume all that side is ok- 
 just FBSD box is the issue.

so, there is some difference. The questions are there to find out what the 
difference might be.

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


adding

2012-03-31 Thread jangkawijaya
my IP is dynamic... 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


adding

2012-03-31 Thread jangkawijaya
my IP is dynamic... 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: Access to Time Warner cable network

2012-03-31 Thread Outback Dingo
On Sat, Mar 31, 2012 at 11:21 PM, Erich Dollansky
erichfreebsdl...@ovitrap.com wrote:
 Hi,

 On Sunday 01 April 2012 08:57:00 Da Rock wrote:
 
  Did they come to your location and run a test to their equipment? My
  neighbor had a recent cable outage of an existing cable on our block
  that was too low  and a moving van hit it.

 Apparently the Windows system works, so I'd assume all that side is ok-
 just FBSD box is the issue.

 so, there is some difference. The questions are there to find out what the 
 difference might be.

 Erich

to me it sounds like a link negotiation problem between the network
interfaces, and auto-sensing not being able to sync
you might need to set the interface on the bsd box manually to see if
you can even establish link, once link is up dhcp should function

 ___
 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: problem

2012-03-31 Thread Da Rock

On 04/01/12 13:18, jangkawij...@students.itb.ac.id wrote:

I've got the problem like this

Apr  1 17:03:15 johannesang named[576]: zone 79.205.167.in-addr.arpa/IN: 
loading from master file /etc/namedb/master/db.johannesang failed: extra input 
text
Apr  1 17:03:15 johannesang named[576]: zone 79.205.167.in-addr.arpa/IN: not 
loaded due to errors.
Apr  1 17:03:15 johannesang named[576]: 
/etc/namedb/master/localhost-reverse.db:2: no current owner name
Apr  1 17:03:15 johannesang named[576]: zone 0.ip6.arpa/IN: loading from master 
file /etc/namedb/master/localhost-reverse.db failed: no owner
Apr  1 17:03:15 johannesang named[576]: zone 0.ip6.arpa/IN: not loaded due to 
errors.
Apr  1 17:03:15 johannesang named[576]: zone 8.B.D.0.1.0.0.2.IP6.ARPA/IN: zone 
serial (0) unchanged. zone may fail to transfer to slaves.
Apr  1 17:03:15 johannesang named[576]: dns_rdata_fromtext: 
/etc/namedb/master/db.domain:5: near '3h': extra input text
Apr  1 17:03:15 johannesang named[576]: zone johannesang.com/IN: loading from 
master file /etc/namedb/master/db.domain failed: extra input text
Apr  1 17:03:15 johannesang named[576]: zone johannesang.com/IN: not loaded due 
to errors

 here is localhost-reverse.db file


  $FreeBSD: src/etc/namedb/master/localhost-reverse.db,v 1.1.14.1 2010/02/10 
00:2

$TTL 3h
@ SOA localhost. nobody.localhost. 42 1d 12h 1w 3h
  Serial, Refresh, Retry, Expire, Neg. cache TTL

 NS  localhost.

1.0.0   PTR localhost.

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR localhost.


here is my db.domain file

$TTL3600

johannesang.com. IN  SOA host.johannesang.com.  root.johannesang.com.   (

201204010042   1d12h 1w  3h
  Serial, Refresh, Retry, Expire, Neg. cache TTL


;DNS Servers
johannesang.com. IN  NS  host.johannesang.com.

;Machine Names
host.johannesang.com.IN  A   167.205.79.105

;Aliases
www  IN  CNAME   host.johannesang.com.

here is my db.johannesang file
$TTL3600

79.205.167.in-addr.arpa. IN  SOA host.johannesang.com.  root.johannesang.com.

201204010042   1d12h 1w  3h
  Serial, Refresh, Retry, Expire, Neg. cache TTL


DNS Servers

Is this a typo or actually in the file?

79.205.167.in-addr.arpa.   IN  NS  host.johannesang.com.

;Machine IPs
105IN  PTR host.johannesang.com.
105IN  PTR www.johannesang.com.

and here is my named.conf

key rndc-key {
 algorithm hmac-md5;
 secret +W8n6komoiD9BRAfbbT//QsntsFScEs6gUXArJuH4Nk=;
};



zone johannesang.com {
 type master;
 file /etc/namedb/master/db.domain;
 allow-transfer { localhost; };
 allow-update { key rndc-key; };
};



zone 79.205.167.in-addr.arpa {
 type master;
 file /etc/namedb/master/db.johannesang;
 allow-transfer { localhost; };
 allow-update { key rndc-key; };

};

I need your help thanks


Did you update your serials?

I'd go back and check your zone files (for starters), and reread the 
bind admin book on their format.


HTH
___
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: problem

2012-03-31 Thread Jon Radel
The format of named files isn't quite as free-form as you apparently 
think. :-) Compare one of mine:


$TTL 1H
@   IN  SOA ns3.radel.com. jon.radel.com. (
2010100400  ; serial
1H  ; refresh
15M ; retry
2W  ; expiry
30M )   ; minimum
IN NS   ns.radel.com.
IN NS   ns2.radel.com.
IN NS   ns3.radel.com.
IN NS   ns4.radel.com.

with yours:



$TTL3600

OK


johannesang.com. IN  SOA host.johannesang.com.  root.johannesang.com.   (
OK; @ in mine is shorthand for the domain which this zone file 
defines, but giving the domain explicitly works fine.


201204010042   1d12h 1w  3h
Starts as OK syntax, but a 42 second refresh with 1 day retry strikes me 
as dubious at best and then you have an extra value on the end. 
Actually, I suspect that 42 is actually your extra value.  2012040100 
is the serial number, you know.

  Serial, Refresh, Retry, Expire, Neg. cache TTL
This line is extraneous garbage, as you've not commented it out; that's 
what the semi-colons do in my example.  I suspect that's why one error 
message moans about an error in the vicinity of the 3h, as that's an 
extra value followed by garbage.


Missing close parenthesis.




;DNS Servers
johannesang.com. IN  NS  host.johannesang.com.

Looks fine.


;Machine Names
host.johannesang.com.IN  A   167.205.79.105

Looks fine


;Aliases
www  IN  CNAME   host.johannesang.com.

Looks fine


here is my db.johannesang file
$TTL3600

79.205.167.in-addr.arpa. IN  SOA host.johannesang.com.  root.johannesang.com.

201204010042   1d12h 1w  3h

missing open and close parenthesis, extra value

  Serial, Refresh, Retry, Expire, Neg. cache TTL

extraneous garbage


Etc.  You're pretty close and it should work fine after you clean up 
your syntax a bit.


--Jon Radel
j...@radel.com