Re: sysvipc only for one jail

2013-08-13 Thread Fbsd8

Terje Elde wrote:

On 12. aug. 2013, at 19.46, Trond Endrestøl wrote:
If you start the jail manually using jail(8), then /etc/jail.conf 
comes into play, whereas the lines in /etc/rc.conf is used during 
automatic startup of the jails when the host is rebooted. The whole 
arrangement seems unnecessary redundant, and I truly wish this can be 
merged sooner rather than later.


It *is* unnecessary redundant.

If you're using /etc/rc.conf to define the jails, then start them with:

/etc/rc.d/jail start jailname

That is, if you're mostly using /etc/rc.conf to define the jails, then start 
them manually using that as well?

Problem solved?

Terje



Here is a writeup about jails that you may find useful.
It includes a boot time jail startup script for jail(8) defined jails.

http://www.a1poweruser.com/35.00-Jails_guide_article.php



___
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: sysvipc only for one jail

2013-08-13 Thread Trond Endrestøl
On Tue, 13 Aug 2013 07:53-0400, Fbsd8 wrote:

 What 9.3 are you talking about
 9.2-RC1 is the newest available.
 Is 9.3 a typo and you really mean 9.2??

PostgreSQL 9.3beta2, you'll find it in ports as 
databases/postgresql93-server, etc.

http://wiki.postgresql.org/wiki/What's_new_in_PostgreSQL_9.3

Among other things:

o Switch to Posix shared memory and mmap(). (DONE)

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
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 with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread Volodymyr Kostyrko

13.08.2013 17:30, O. Hartmann wrote:

For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT
successfully. But by now, out of the blue, login as the database's
supervisor pgsql remotely isn't possible any more.

The appropriate lines in pg_hba.conf are:

local   all  pgsql md5
hostssl all  pgsql 0.0.0.0/0   md5

The funny thing is: when login locally without providing a password
(swap md5 to trust in the local line) and setting the password for
the role pgsql via

ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe;


I guess ENCRYPTED means you are substituting FooMe with md5 hashed 
password correctly salted with role name as postgresql requires?



or doing the same via pgadmin3 from remotely by also swapping md5 to
trust in the line hostssl for global network, it seems I could
alter/change the password for the supervisor pgsql. But restoring the
password check by setting back md5 leaves me locked out!

By the way, this strange behaviour occurs on ALL(!) PostgreSQL 9.2
servers running on FreeBSD 10.0-CURRENT boxes.

Ports databases/postgresql-XXX as well as FreeBSD is as of the latest
sources and up to date.

What is going wrong?



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


Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread Volodymyr Kostyrko

13.08.2013 17:30, O. Hartmann wrote:

For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT
successfully. But by now, out of the blue, login as the database's
supervisor pgsql remotely isn't possible any more.

The appropriate lines in pg_hba.conf are:

local   all  pgsql md5
hostssl all  pgsql 0.0.0.0/0   md5

The funny thing is: when login locally without providing a password
(swap md5 to trust in the local line) and setting the password for
the role pgsql via

ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe;


I guess ENCRYPTED means you are substituting FooMe with md5 hashed
password correctly salted with role name as postgresql requires?


Silly me, that's wrong. ENCRYPTED only means that password will be 
stored encrypted on the disk. There's a side note about using ENCRYPTED 
password with postgres in the docs though:


Note that older clients might lack support for the MD5 authentication 
mechanism that is needed to work with passwords that are stored encrypted.


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


Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread O. Hartmann
On Tue, 13 Aug 2013 17:55:06 +0300
Volodymyr Kostyrko c.kw...@gmail.com wrote:

  13.08.2013 17:30, O. Hartmann wrote:
  For the past I ran PostgreSQL 9.2 servers on FreeBSD 10.0-CURRENT
  successfully. But by now, out of the blue, login as the database's
  supervisor pgsql remotely isn't possible any more.
 
  The appropriate lines in pg_hba.conf are:
 
  local   all  pgsql md5
  hostssl all  pgsql 0.0.0.0/0   md5
 
  The funny thing is: when login locally without providing a password
  (swap md5 to trust in the local line) and setting the password
  for the role pgsql via
 
  ALTER ROLE pgsql ENCRYPTED PASSWORD 'FooMe;
 
  I guess ENCRYPTED means you are substituting FooMe with md5 hashed
  password correctly salted with role name as postgresql requires?
 
 Silly me, that's wrong. ENCRYPTED only means that password will be 
 stored encrypted on the disk. There's a side note about using
 ENCRYPTED password with postgres in the docs though:
 
 Note that older clients might lack support for the MD5
 authentication mechanism that is needed to work with passwords that
 are stored encrypted.
 

Well, even if not ENCRYPTED it doesn't work anymore and prior to this
failure, the passwords were stored md5 hashed via pgadmin3 all the time
- and it worked.

I made now another test. On a FreeBSD 9.2 box which is also running
PostgreSQL 9.2 and to which I have access the way that is now rejected
by the others, I did a login as the supervisor (pgsql) successfully and
then set the password for that supervisor again with

alter role pgsql with encrypted password 'FooMe';

(FooMe was the passowrd used before on the same system, it worked
definitely) and - booom - I can not login anymore onto that machine!
Something is definitely wrong.

I have no idea what is wrong here.


signature.asc
Description: PGP signature


Re: trouble with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread Terje Elde
On 13. aug. 2013, at 16:30, O. Hartmann ohart...@zedat.fu-berlin.de wrote:
 What is going wrong?

Are you unable to connect, or do you get an error message? If you do, what is 
it?

Terje
___
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 with PostgreSQL 9.2 on FreeBSD 10.0-CURRENT: superuser can not autheticate anymore with md5 password hash set

2013-08-13 Thread O. Hartmann
On Tue, 13 Aug 2013 18:22:33 +0200
Terje Elde te...@elde.net wrote:

 On 13. aug. 2013, at 16:30, O. Hartmann
 ohart...@zedat.fu-berlin.de wrote:
  What is going wrong?
 
 Are you unable to connect, or do you get an error message? If you do,
 what is it?
 
 Terje

I always get this message:

psql postgres pgsql
Password for user pgsql: XX
psql: FATAL:  password authentication failed for user pgsql


signature.asc
Description: PGP signature


Re: sysvipc only for one jail

2013-08-13 Thread Alejandro Imass
On Tue, Aug 13, 2013 at 12:14 AM, Shane Ambler free...@shaneware.biz wrote:
 On 12/08/2013 21:39, Trond Endrestøl wrote:

 On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote:


 And thus, it's not enabled as postgresql tells:

 creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL:
   could not create shared memory segment: Function not implemented


 I'll look into this by creating a new jail for PostgreSQL 9.2 when I
 get home.


 While it is currently in beta maybe you could also try 9.3 and verify that
 the shared memory update works or eliminates this configuration?



No need for any complication. Pg will work just fine by following this
simple recipe. I compute a UID unique to the overall system by
concatenating 70 (the natural UID for the pgsql user user in FBSD) and
the last 3 digits of the Jails'IP, but you can come up with any
numbering scheme as long as it's consistent and easily associated to a
specific jail.

For example for the Pg running on jail 192.168.101.124, install
PostgreSQL and before doing anything else:

pw usermod pgsql -u 70124
pw groupmod pgsql -g 70124
pw usermod pgsql -g 70124
chown -R pgsql /usr/local/pgsql/
chgrp -R pgsql /usr/local/pgsql/

Any other application that uses SYSV IPC should follow a similar
recipe, and it's compatible with al versions of Jails.

And that's it. I have dozens of jails with Pg running this way.
Likewise also make sure all of your network daemons listen
_specifically_ to that jail's IP, in Pg that would be postgresql.conf:
listen_addresses = 'xx' although the default 'localhost' should
work most of the time. Always double check all daemons with sockstat
(e.g. sockstat -4l) to make sure they only listen on that jail's
IP(s).

Best,

-- 
Alejandro Imass
___
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 on ThinkPad W530

2013-08-13 Thread Adrian Chadd
Hi!

Yay another FreeBSD laptop user!

Please do this:

* join the freebsd-mobile list;
* create PRs for each of your problems with -10 above!;
* the power utilisation thing is going to be fun to track down - what kind
of CPU is in there? Is it a recent Intel? I'm playing around with their
tools at the moment; maybe we can look at the power the CPU is consuming
and then add on the power from each of the other parts in your laptop until
we figure out what's drawing said power
* the brightness thing is known; a bunch of us have this issue and the
fix is known. Trouble is, there's no (yet) clean fix that's made it into
acpi_ibm. I'm glad there's another person who cares; it means we have more
chance of getting a real fix that works for multiple people into the tree.

As for suspend/resume - I'm glad it at least works for you. Right now I
don't even get video output upon resume. But, it's a starting point. Let's
get the PRs filed, the brightness thing pushed into -HEAD, and then start
down the path of figuring out where the power consumption is coming from.



-adrian



On 13 August 2013 15:21, vermaden verma...@interia.pl wrote:

 Hi,

 I have just tried FreeBSD on ThinkPad W530 and I must say that its very
 disapointing experience ...

 The FreeBSD 9.2-RC1 and PC-BSD 9.2-BETA2 does not even boot from the USB
 drive - instant kernel panic and reboot.

 The FreeBSD 10.0-CURRENT was able to boot successfully and I could install
 FreeBSD onto the drive with 'ZFS Madnss' style.

 After installation with extended battery charged to 100% I have about 3
 hours of work ... while having about 10 hours on Windows (haven't tried
 Linux yet). I disabled discrete graphics (Nvidia) in the BIOS and also
 added set hw.pci.do_power_nodriver to 3, but that also did not solved the
 'battery' problem. The powerd daemon was of course running and worked ok.

 After compiling new x11/xorg (with WITH_NEW_XORG in /etc/make.conf) along
 with x11-wm/openbox I was able to get X11 working, but I can not go back to
 console as its not implemented yet.

 The screen is 100% bright all the time because acpi_ibm module probably
 does not support this model yet (changing the dev.acpi_ibm.0.lcd_brightness
 is pointless, no effects).

 Suspend and resume works very poor, after resume the resolution is 640x640
 with all colors broken, requires restarting X11 in 'blind mode' (not
 implemented console switching).

 Of course as all of the above is not possible, using the Nvidia Optimus
 technology (graphics card switching) is probably also not possible, which
 is possible with Bumblebee on Linux, any plans on merging that
 functionality into FreeBSD?

 At least WiFi and LAN worked out of the box ...

 Now ... how can I help, what information can I provide to help resolve
 these issues:
 1. disable power for discrete graphics card
 2. have working screen brightness changing and working other Fn + X
 shotrcuts
 3. I guess I will have to 'just wait' for the console switching
 implementation?

 ... or maybe I am doing it 'wrong' someone have W530 there and uses
 FreeBSD with any more degree of success then I?

 Regards,
 vermaden
 ___
 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: SolarFlare 10GB card

2013-08-13 Thread aurfalien

On Aug 12, 2013, at 11:12 AM, Roland Smith wrote:

 On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote:
 Hi all,
 
 We've a brand spanking new SolarFlare 10GB nic for use with our beast of a 
 server.
 
 However the vendor support page says the driver is in beta.
 
 If you look in the download[1], you'll see that the driver is named sfxge. It
 was released in November 2011. This driver is already present in FreeBSD 9.1,
 look at the source in /usr/src/sys/dev/sfxge.
 So it seems like it is as much out of beta as any other driver. :-)

Well, how would I compile it?:)

I can the dir in my 9.2RC1 install.

- aurf
___
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: SolarFlare 10GB card

2013-08-13 Thread aurfalien

On Aug 12, 2013, at 11:12 AM, Roland Smith wrote:

 On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote:
 Hi all,
 
 We've a brand spanking new SolarFlare 10GB nic for use with our beast of a 
 server.
 
 However the vendor support page says the driver is in beta.
 
 If you look in the download[1], you'll see that the driver is named sfxge. It
 was released in November 2011. This driver is already present in FreeBSD 9.1,
 look at the source in /usr/src/sys/dev/sfxge.
 So it seems like it is as much out of beta as any other driver. :-)

It was actually easier to dl the driver from SolarF;ares site and follow there 
dirs.

But for future, ref, would be cool to now how to do this.

- aurf
___
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: SolarFlare 10GB card

2013-08-13 Thread aurfalien

On Aug 13, 2013, at 8:30 PM, kpn...@pobox.com wrote:

 On Tue, Aug 13, 2013 at 07:13:57PM -0700, aurfalien wrote:
 
 On Aug 12, 2013, at 11:12 AM, Roland Smith wrote:
 
 On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote:
 Hi all,
 
 We've a brand spanking new SolarFlare 10GB nic for use with our beast of a 
 server.
 
 However the vendor support page says the driver is in beta.
 
 If you look in the download[1], you'll see that the driver is named sfxge. 
 It
 was released in November 2011. This driver is already present in FreeBSD 
 9.1,
 look at the source in /usr/src/sys/dev/sfxge.
 So it seems like it is as much out of beta as any other driver. :-)
 
 It was actually easier to dl the driver from SolarF;ares site and follow 
 there dirs.
 
 But for future, ref, would be cool to now how to do this.
 
 I haven't been paying that much attention, but ...
 
 If you are running 9.1 or later, what happens if you run as root these two
 commands:
 
 # kldload if_sfxge
 # kldstat

Hi,

Thanks for the reply.

It fails as cannot find module.

Eh, no biggy, building it from there actual source is trivial.

- aurf
___
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: sysvipc only for one jail

2013-08-12 Thread David Demelier
2013/8/11 Maciej Suszko mac...@suszko.eu:
 Maciej Suszko mac...@suszko.eu wrote:
 [...]

 You can specify different params for each jail using _parameters, for
 example:

 jail_jailname_params=allow.chflags=1 allow.sysvipc=1

 Sorry, my mistake - it should be jail_jailname_parameters= of course.
 --
 regards, Maciej Suszko.

Thanks for your message,

However, I could not find this setting in the manual of rc.conf(5)
neither in /etc/rc.d/jail :(. It does not seems to be applied.

Cheers,

-- 
Demelier David
___
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: sysvipc only for one jail

2013-08-12 Thread Trond Endrestøl
On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote:

 2013/8/11 Maciej Suszko mac...@suszko.eu:
  Maciej Suszko mac...@suszko.eu wrote:
  [...]
 
  You can specify different params for each jail using _parameters, for
  example:
 
  jail_jailname_params=allow.chflags=1 allow.sysvipc=1
 
  Sorry, my mistake - it should be jail_jailname_parameters= of course.
  --
  regards, Maciej Suszko.
 
 Thanks for your message,
 
 However, I could not find this setting in the manual of rc.conf(5)
 neither in /etc/rc.d/jail :(. It does not seems to be applied.

Have a look at jail(8) and the last lines of /etc/default/rc.conf.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
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: sysvipc only for one jail

2013-08-12 Thread David Demelier
2013/8/12 Trond Endrestøl trond.endres...@fagskolen.gjovik.no:
 On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote:

 2013/8/11 Maciej Suszko mac...@suszko.eu:
  Maciej Suszko mac...@suszko.eu wrote:
  [...]
 
  You can specify different params for each jail using _parameters, for
  example:
 
  jail_jailname_params=allow.chflags=1 allow.sysvipc=1
 
  Sorry, my mistake - it should be jail_jailname_parameters= of course.
  --
  regards, Maciej Suszko.

 Thanks for your message,

 However, I could not find this setting in the manual of rc.conf(5)
 neither in /etc/rc.d/jail :(. It does not seems to be applied.

 Have a look at jail(8) and the last lines of /etc/default/rc.conf.

 --
 +---++
 | Vennlig hilsen,   | Best regards,  |
 | Trond Endrestøl,  | Trond Endrestøl,   |
 | IT-ansvarlig, | System administrator,  |
 | Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
 | tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
 | sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
 +---++

I see,

I've added what Maciej Suszko told me but the sysctls in the jail is
not set as it should be :

security.jail.param.allow.sysvipc: 0
security.jail.param.allow.chflags: 0

And thus, it's not enabled as postgresql tells:

creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL:
 could not create shared memory segment: Function not implemented

Cheers,

-- 
Demelier David
___
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: sysvipc only for one jail

2013-08-12 Thread Trond Endrestøl
On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote:

 2013/8/12 Trond Endrestøl trond.endres...@fagskolen.gjovik.no:
  On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote:
 
  2013/8/11 Maciej Suszko mac...@suszko.eu:
   Maciej Suszko mac...@suszko.eu wrote:
   [...]
  
   You can specify different params for each jail using _parameters, for
   example:
  
   jail_jailname_params=allow.chflags=1 allow.sysvipc=1
  
   Sorry, my mistake - it should be jail_jailname_parameters= of course.
   --
   regards, Maciej Suszko.
 
  Thanks for your message,
 
  However, I could not find this setting in the manual of rc.conf(5)
  neither in /etc/rc.d/jail :(. It does not seems to be applied.
 
  Have a look at jail(8) and the last lines of /etc/default/rc.conf.
 
 I see,
 
 I've added what Maciej Suszko told me but the sysctls in the jail is
 not set as it should be :
 
 security.jail.param.allow.sysvipc: 0
 security.jail.param.allow.chflags: 0
 
 And thus, it's not enabled as postgresql tells:
 
 creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL:
  could not create shared memory segment: Function not implemented

I'll look into this by creating a new jail for PostgreSQL 9.2 when I 
get home.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
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: if_bridge and ng_netflow

2013-08-12 Thread Volodymyr Kostyrko

10.08.2013 16:51, Fbsd8 wrote:

if_bridge is relatively new in FreeBSD. Netgraph precedes if_bridge and
is un-aware of if_bridge. Change your if_bridge definition to a
ng bridge definition and everything your trying to do should fall into
place.


ng_bridge lacks some if_bridge goodies like passing by traffic filtering 
and stp. However yes, ng_bridge works for me and I can compose a good 
bridge and even record netflow without data duplication.


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


Re: Setup HP Laserjet 1120m over network with LPD

2013-08-12 Thread Volodymyr Kostyrko

06.08.2013 22:58, Juris Kaminskis wrote:

after several trials and errors and reading through FreeBSD handbook I am
at dead end on how to proceed further, hope someone can guide me.


I always use foomatic for such things, it's quite easier to set up. For 
example I have:


hplj2420d|lp|HP LaserJet 2420|:\
:af=/usr/local/etc/foomatic/lpd/hplj2420d.ppd:\
:lf=/var/log/lp-errs:\
:ppdfile=/usr/local/etc/foomatic/lpd/hplj2420d.ppd:\
:sd=/var/spool/lpd/hplj2420d:\
:lp=/dev/ulpt0:\
:if=/usr/local/bin/foomatic-rip:\
:sh:\
:mx#0:

I installed those ones:

print/foomatic-db-engine
print/foomatic-db-hpijs

This is local setup, but I think network setup can be done almost the 
same way. This printer was initially set up as a network printer but 
after Windows 7 emerged there were numerous problems with printing 
anything so I grabbed the box and converted it to lpd printer. Now 
everything works flawlessly for years.


In your case the key might be using correct filters to feed raw data to 
printer. Most winprinters doesn't know what ps is and require user to 
provide correct raw data.


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


Re: sysvipc only for one jail

2013-08-12 Thread Maciej Suszko
David Demelier demelier.da...@gmail.com wrote:
 2013/8/11 Maciej Suszko mac...@suszko.eu:
  Maciej Suszko mac...@suszko.eu wrote:
  [...]
 
  You can specify different params for each jail using _parameters,
  for example:
 
  jail_jailname_params=allow.chflags=1 allow.sysvipc=1
 
  Sorry, my mistake - it should be jail_jailname_parameters= of
  course. --
  regards, Maciej Suszko.
 
 Thanks for your message,
 
 However, I could not find this setting in the manual of rc.conf(5)
 neither in /etc/rc.d/jail :(. It does not seems to be applied.

I suppose jail_(jname)_parameters rc.conf option is available in
at least 9-STABLE.
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: sysvipc only for one jail

2013-08-12 Thread Trond Endrestøl
On Mon, 12 Aug 2013 14:09+0200, Trond Endrestøl wrote:

 On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote:
 
  2013/8/12 Trond Endrestøl trond.endres...@fagskolen.gjovik.no:
   On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote:
  
   2013/8/11 Maciej Suszko mac...@suszko.eu:
Maciej Suszko mac...@suszko.eu wrote:
[...]
   
You can specify different params for each jail using _parameters, for
example:
   
jail_jailname_params=allow.chflags=1 allow.sysvipc=1
   
Sorry, my mistake - it should be jail_jailname_parameters= of course.
--
regards, Maciej Suszko.
  
   Thanks for your message,
  
   However, I could not find this setting in the manual of rc.conf(5)
   neither in /etc/rc.d/jail :(. It does not seems to be applied.
  
   Have a look at jail(8) and the last lines of /etc/default/rc.conf.
  
  I see,
  
  I've added what Maciej Suszko told me but the sysctls in the jail is
  not set as it should be :
  
  security.jail.param.allow.sysvipc: 0
  security.jail.param.allow.chflags: 0
  
  And thus, it's not enabled as postgresql tells:
  
  creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL:
   could not create shared memory segment: Function not implemented
 
 I'll look into this by creating a new jail for PostgreSQL 9.2 when I 
 get home.

My host is running 9.2-PRERELEASE, r254150, in VirtualBox 4.2.16.
The jails are running world, also at r254150.

I added the following to the host's /etc/rc.conf:

jail_enable=YES
jail_list=postgresql

jail_postgresql_rootdir=/jails/postgresql
jail_postgresql_hostname=postgresql.bsd.net
jail_postgresql_interface=vtnet0
jail_postgresql_fib=0
jail_postgresql_ip=10.0.2.103,2001:db8::103
jail_postgresql_exec_start=/bin/sh /etc/rc
jail_postgresql_exec_stop=/bin/sh /etc/rc.shutdown
jail_postgresql_devfs_enable=YES
jail_postgresql_parameters=enforce_statfs=1 allow.chflags=1 allow.sysvipc=1 
allow.mount=1 allow.mount.zfs=1

I added the following to the host's /etc/jail.conf:

postgresql {
  path = /jails/postgresql;
  enforce_statfs = 1;
  allow.chflags;
  allow.sysvipc;
  allow.mount;
  allow.mount.zfs;
  mount.devfs;
  host.hostname = postgresql.bsd.net;
  ip4.addr = 10.0.2.103;
  ip6.addr = 2001:db8::103;
  interface = vtnet0;
  exec.start = /bin/sh /etc/rc;
  exec.stop = /bin/sh /etc/rc.shutdown;
}

PostgreSQL 9.2.4 had no problems running initdb nor running postgres 
inside the jail:

root@freebsd-jails:/ # jexec 4 csh
root@postgresql:/ # /usr/local/etc/rc.d/postgresql status
pg_ctl: server is running (PID: 46623)
/usr/local/bin/postgres -D /usr/local/pgsql/data
root@postgresql:/ #

If you start the jail manually using jail(8), then /etc/jail.conf 
comes into play, whereas the lines in /etc/rc.conf is used during 
automatic startup of the jails when the host is rebooted. The whole 
arrangement seems unnecessary redundant, and I truly wish this can be 
merged sooner rather than later.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
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: SolarFlare 10GB card

2013-08-12 Thread Roland Smith
On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote:
 Hi all,
 
 We've a brand spanking new SolarFlare 10GB nic for use with our beast of a 
 server.
 
 However the vendor support page says the driver is in beta.

If you look in the download[1], you'll see that the driver is named sfxge. It
was released in November 2011. This driver is already present in FreeBSD 9.1,
look at the source in /usr/src/sys/dev/sfxge.
So it seems like it is as much out of beta as any other driver. :-)

[1]: 
https://support.solarflare.com/index.php?view=categoriesid=1847option=com_cognidox)


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


pgpIbeA5E1rhI.pgp
Description: PGP signature


Re: SolarFlare 10GB card

2013-08-12 Thread aurfalien

On Aug 12, 2013, at 11:12 AM, Roland Smith wrote:

 On Mon, Aug 12, 2013 at 10:47:27AM -0700, aurfalien wrote:
 Hi all,
 
 We've a brand spanking new SolarFlare 10GB nic for use with our beast of a 
 server.
 
 However the vendor support page says the driver is in beta.
 
 If you look in the download[1], you'll see that the driver is named sfxge. It
 was released in November 2011. This driver is already present in FreeBSD 9.1,
 look at the source in /usr/src/sys/dev/sfxge.

Ahh, thanks man.

Didn't even think to look there.

 So it seems like it is as much out of beta as any other driver. :-)

Yea, I concur :)

- aurf
___
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: 9.2-RC1: Problem with Kernel

2013-08-12 Thread Walter Hurry
On Sun, 11 Aug 2013 22:47:36 +1000, Ian Smith wrote:

 In freebsd-questions Digest, Vol 479, Issue 8, Message: 10 On Sun, 11
 Aug 2013 09:43:57 + (UTC) Walter Hurry walterhu...@gmail.com
 wrote:
   On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote:
   
On Sat, 10 Aug 2013 19:04:29 + (UTC), Walter Hurry wrote:
This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching
the source from releng/9.2 and rebuilding kernel and world).

The kernel compiles and runs fine using the supplied GENERIC, but
when I try to use my custom kenel config file, on reboot I get
this:

Mounting from ufs:/dev/ada0p2 failed with error 19

What module(s) have I missed?

Diff against the GENERIC kernel. Maybe device xhci?
What bootable media is listed when you type ? at the mountroot
prompt?
If GENERIC boots and your kernel doesn't, there should be a
significant difference regarding the config file's content. :-)
   
   Thanks for the reply. When I type ? at the mountroot prompt I get:
   
   List of GEOM managed disk devices:
   
   with nothing shown.
   
   After restoring the GENERIC kernel, the output from 'gpart list' is:
   
   Geom name: ada0
 [..]
   Consumers:
   1. Name: ada0
  Mediasize: 21474836480 (20G)
  Sectorsize: 512 Mode: r2w2e3
   
   (This is a small VirtualBox VM.)
   
   Kernel config is at http://paste2.org/h17Ih0PD
 
 Please Walter, it's not fair to make us do the work of figuring out what
 you've changed from GENERIC in that, when all you need to provide is:
 
 # diff -uw /path/to/GENERIC /path/to/YOURKERNEL
 
 More ideal for custom kernel configs - for just these occasions - is:
 
 include GENERIC ident YOURKERNEL # custom {no,}device and {no,}options
 statements
 
Sorry again. Anyway, I have it nailed down now. For anyone who is 
interested, the missing entry was:

options ATA_CAM


___
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: 9.2-RC1: Problem with Kernel

2013-08-12 Thread Polytropon
On Mon, 12 Aug 2013 21:01:14 + (UTC), Walter Hurry wrote:
 Sorry again. Anyway, I have it nailed down now. For anyone who is 
 interested, the missing entry was:
 
 options ATA_CAM

Correct. Line 84 and 264 have it commented out. This is
the new method of talking to disk devices, similarly
as the acd interface for optical media has been trans-
formed into SCSI over ATA (ex device atapicam). So
the disk drive has not been recognized by the kernel,
therefore: No soup for you (i. e., no boot device). :-)



-- 
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: sysvipc only for one jail

2013-08-12 Thread Shane Ambler

On 12/08/2013 21:39, Trond Endrestøl wrote:

On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote:



And thus, it's not enabled as postgresql tells:

creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL:
  could not create shared memory segment: Function not implemented


I'll look into this by creating a new jail for PostgreSQL 9.2 when I
get home.



While it is currently in beta maybe you could also try 9.3 and verify 
that the shared memory update works or eliminates this configuration?


If you missed the change, 9.3 is implementing shared memory using mmap.


___
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: sysvipc only for one jail

2013-08-12 Thread Terje Elde
On 13. aug. 2013, at 06:14, Shane Ambler free...@shaneware.biz wrote:
 If you missed the change, 9.3 is implementing shared memory using mmap.

But still using sysvipc for some locks/mutexes, so doesn't allow you to run 
sysvipc-free. 

Terje

___
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: 9.2-RC1: Problem with Kernel

2013-08-11 Thread Walter Hurry
On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote:

 On Sat, 10 Aug 2013 19:04:29 + (UTC), Walter Hurry wrote:
 This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the
 source from releng/9.2 and rebuilding kernel and world).
 
 The kernel compiles and runs fine using the supplied GENERIC, but when
 I try to use my custom kenel config file, on reboot I get this:
 
 Mounting from ufs:/dev/ada0p2 failed with error 19
 
 What module(s) have I missed?
 
 Diff against the GENERIC kernel. Maybe device xhci?
 What bootable media is listed when you type ? at the mountroot prompt?
 If GENERIC boots and your kernel doesn't, there should be a significant
 difference regarding the config file's content. :-)

Thanks for the reply. When I type ? at the mountroot prompt I get:

List of GEOM managed disk devices:

with nothing shown.

After restoring the GENERIC kernel, the output from 'gpart list' is:

Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 41943006
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ada0p1
   Mediasize: 65536 (64k)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 17408
   Mode: r0w0e0
   rawuuid: c5ae2f8e-f5e1-11e2-92dd-08002755f0f7
   rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
   label: (null)
   length: 65536
   offset: 17408
   type: freebsd-boot
   index: 1
   end: 161
   start: 34
2. Name: ada0p2
   Mediasize: 20401029120 (19G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 82944
   Mode: r1w1e1
   rawuuid: c5ba5d2c-f5e1-11e2-92dd-08002755f0f7
   rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 20401029120
   offset: 82944
   type: freebsd-ufs
   index: 2
   end: 39845921
   start: 162
3. Name: ada0p3
   Mediasize: 1073707008 (1G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 3221242880
   Mode: r1w1e0
   rawuuid: c5ccb46a-f5e1-11e2-92dd-08002755f0f7
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 1073707008
   offset: 20401112064
   type: freebsd-swap
   index: 3
   end: 41943005
   start: 39845922
Consumers:
1. Name: ada0
   Mediasize: 21474836480 (20G)
   Sectorsize: 512
   Mode: r2w2e3

(This is a small VirtualBox VM.)

Kernel config is at http://paste2.org/h17Ih0PD

___
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: 9.2-RC1: Problem with Kernel

2013-08-11 Thread Ian Smith
In freebsd-questions Digest, Vol 479, Issue 8, Message: 10
On Sun, 11 Aug 2013 09:43:57 + (UTC) Walter Hurry walterhu...@gmail.com 
wrote:
  On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote:
  
   On Sat, 10 Aug 2013 19:04:29 + (UTC), Walter Hurry wrote:
   This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the
   source from releng/9.2 and rebuilding kernel and world).
   
   The kernel compiles and runs fine using the supplied GENERIC, but when
   I try to use my custom kenel config file, on reboot I get this:
   
   Mounting from ufs:/dev/ada0p2 failed with error 19
   
   What module(s) have I missed?
   
   Diff against the GENERIC kernel. Maybe device xhci?
   What bootable media is listed when you type ? at the mountroot prompt?
   If GENERIC boots and your kernel doesn't, there should be a significant
   difference regarding the config file's content. :-)
  
  Thanks for the reply. When I type ? at the mountroot prompt I get:
  
  List of GEOM managed disk devices:
  
  with nothing shown.
  
  After restoring the GENERIC kernel, the output from 'gpart list' is:
  
  Geom name: ada0
[..]
  Consumers:
  1. Name: ada0
 Mediasize: 21474836480 (20G)
 Sectorsize: 512
 Mode: r2w2e3
  
  (This is a small VirtualBox VM.)
  
  Kernel config is at http://paste2.org/h17Ih0PD

Please Walter, it's not fair to make us do the work of figuring out what 
you've changed from GENERIC in that, when all you need to provide is:

# diff -uw /path/to/GENERIC /path/to/YOURKERNEL

More ideal for custom kernel configs - for just these occasions - is:

include GENERIC
ident YOURKERNEL
# custom {no,}device and {no,}options statements

cheers, Ian
___
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: sysvipc only for one jail

2013-08-11 Thread Maciej Suszko
David Demelier demelier.da...@gmail.com wrote:
 Hi,
 
 I would like to enable sysvipc only for one jail (defined in
 /etc/rc.conf). It's possible with jail.conf but this is not supported
 with jails listed in /etc/rc.conf.
 
 Is it possible without using the global jail_sysvipc_allow ?

You can specify different params for each jail using _parameters, for
example:

jail_jailname_params=allow.chflags=1 allow.sysvipc=1

-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: sysvipc only for one jail

2013-08-11 Thread Maciej Suszko
Maciej Suszko mac...@suszko.eu wrote:
[...]
 
 You can specify different params for each jail using _parameters, for
 example:
 
 jail_jailname_params=allow.chflags=1 allow.sysvipc=1

Sorry, my mistake - it should be jail_jailname_parameters= of course.
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: BSD Magazine

2013-08-11 Thread dgmm
On Wednesday 07 August 2013 18:43:45 Frank Leonhardt wrote:
 No man but a blockhead ever wrote, except for money.
 - Samuel Johnson

That sentiment pretty much wipes out FreeBSD and FOSS in general.
___
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: 9.2-RC1: Problem with Kernel

2013-08-11 Thread Walter Hurry
On Sun, 11 Aug 2013 22:47:36 +1000, Ian Smith wrote:

 In freebsd-questions Digest, Vol 479, Issue 8, Message: 10 On Sun, 11
 Aug 2013 09:43:57 + (UTC) Walter Hurry walterhu...@gmail.com
 wrote:
   On Sat, 10 Aug 2013 21:29:10 +0200, Polytropon wrote:
   
On Sat, 10 Aug 2013 19:04:29 + (UTC), Walter Hurry wrote:
This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching
the source from releng/9.2 and rebuilding kernel and world).

The kernel compiles and runs fine using the supplied GENERIC, but
when I try to use my custom kenel config file, on reboot I get
this:

Mounting from ufs:/dev/ada0p2 failed with error 19

What module(s) have I missed?

Diff against the GENERIC kernel. Maybe device xhci?
What bootable media is listed when you type ? at the mountroot
prompt?
If GENERIC boots and your kernel doesn't, there should be a
significant difference regarding the config file's content. :-)
   
   Thanks for the reply. When I type ? at the mountroot prompt I get:
   
   List of GEOM managed disk devices:
   
   with nothing shown.
   
   After restoring the GENERIC kernel, the output from 'gpart list' is:
   
   Geom name: ada0
 [..]
   Consumers:
   1. Name: ada0
  Mediasize: 21474836480 (20G)
  Sectorsize: 512 Mode: r2w2e3
   
   (This is a small VirtualBox VM.)
   
   Kernel config is at http://paste2.org/h17Ih0PD
 
 Please Walter, it's not fair to make us do the work of figuring out what
 you've changed from GENERIC in that, when all you need to provide is:
 
 # diff -uw /path/to/GENERIC /path/to/YOURKERNEL
 
 More ideal for custom kernel configs - for just these occasions - is:
 
 include GENERIC ident YOURKERNEL # custom {no,}device and {no,}options
 statements
 
Sorry. A diff wouldn't have helped much, as every line had changed due to 
my reformatting. Never mind, I'll work it out for myself by a process of 
elimination - and I'll post the answer here just in case anyone else is 
interested.


___
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: cursor keys not working on console

2013-08-10 Thread O. Hartmann
On Thu, 08 Aug 2013 21:18:15 -0400
Thomas Dickey dic...@his.com wrote:

 On Thu, Aug 08, 2013 at 07:53:04PM +0200, O. Hartmann wrote:
  The cursor keys on the consoles in freebsd CURRENT (no X11 virtual
  consoles, the FreeBSD consoles!) do not work for me.
  
  I use tcsh as the main shell.
  As set by default in /etc/ttys, the console's terminal type is
  xterm. Switching to 
  
  setenv TERM cons25
  
  solves the problem, but the menus in ports via make config look ugly
  and more ugly, but they are unusable with the setting TERM=xterm.
  
  What is wrong here? Why are the cursor keys not working in the
  console/ports menu as expected when using tcsh/csh as default shell?
 
 from infocmp (cons25 vs xterm):
 
   kcub1: '\E[D', '\EOD'.
   kcud1: '\E[B', '\EOB'.
   kcuf1: '\E[C', '\EOC'.
   kcuu1: '\E[A', '\EOA'.
 
 It's probably 
 
   http://invisible-island.net/ncurses/ncurses.faq.html#cursor_appmode
 
 You would probably find
   TERM=xterm-noapp
 
 and improvement.
 

Hello.

Thanks, this works for me.

I was wondering if others did not have the same problem, since I use
only standard settings for the console (except that I use csh/tcsh
instead of sh).

Regards,
Oliver


signature.asc
Description: PGP signature


Re: New to Free-BSD with questions.

2013-08-10 Thread Polytropon
On Sat, 10 Aug 2013 09:58:07 GMT, r_oliva...@juno.com wrote:
 New to Free-BSD. Downloaded a current ISO image and burned it to a DVD.
 System boots from DVD to command line mode.

It should boot into a text mode installer. After installation,
FreeBSD usually boots into a text mode (depending on what has
been installed and configured already).



 Questions are: 
 A.) Is Xwindows, (X11) included on the DVD copy? 

If I remember correctly, the required packages are part
of the DVD #1. If you are already connected to the Internet,
you can use that medium as installation source.

Just a side note: PC-BSD, a system derived from FreeBSD,
offers a graphical installer and a more tight integration
with GUI-centric concepts (installs X automatically and
even brings a desktop environment preinstalled).



 B.) If included, what command is used to start it? 

It depends. If you want to start X from a regular login
shell, startx is used. But a display manager which
maintains a GUI login (like xdm) can also be used.

See the handbook for more details:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html

And don't miss the excellent FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/



 C.) What shell is installed as the standard shell in command line mode?

FreeBSD's default dialog shell is the C Shell (more precisely,
the tcsh). The command shell in single user mode (maintenance
mode) is a plain Bourne-alike shell (sh), which is also the
systems default scripting shell. You can install shells like
ksh, zsh and bash if you like.



 D.) Is there a site that I can download a complete copy of
 the documentation for Free-BSD, as one file and not a
 series/set of separate files?

Not that I know of, because the documentation on the web is
primarily for use with a web browser, that's why it's hierarchically
designed and separated. However, the documentation is part of
the FreeBSD installation, and you can generate PS and PDF book,
as _one_ (voluminous) file, from them (even though I've never
tried that).

You can use a tool like wget to download a copy of the web
documentation for offline use (keeping the mentioned
separation). The web pages contain a Split HTML and
Single HTML option, so you could maybe simply save
this web page

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html

for the FAQ, and

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html

for The FreeBSD Handbook, but it might be unhandy for printing.


-- 
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: New to Free-BSD with questions.

2013-08-10 Thread Frank Leonhardt

On 10/08/2013 10:58, r_oliva...@juno.com wrote:

New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. System 
boots from DVD to command line mode.
Questions are:
A.) Is Xwindows, (X11) included on the DVD copy?


That's X, X11, Xorg or the X-Window System. Yeah, kind-of but you've 
probably downloaded the base version that expects you to be using it 
from the command line unless you compile or add X later.




B.) If included, what command is used to start it?


startx


C.) What shell is installed as the standard shell in command line mode?


tcsh - basically the standard Bourne shell unless you specified a 
different one when you created the user. You can switch to csh easily 
enough (type csh) or you can can add any other shell you like from the 
ports collection.

D.) Is there a site that I can download a complete copy of the documentation 
for Free-BSD, as one file and not a series/set of separate files?


You probably want to read this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

Or if you want the whole thing at once try this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html

However, you'll get a lot of specific information for the man pages that 
come with it. There's an install option (new at 9.0?) to include 
documentation but I've never made use of it myself.


However, if you're wanting a quick-start version of a FreeBSD with a 
graphical shell and looking more like a Windoze desktop try this one:


http://www.pcbsd.org/

Regards, Frank.

___
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: Commercial Licensing

2013-08-10 Thread Daniel Feenberg



On Fri, 9 Aug 2013, kpn...@pobox.com wrote:


On Fri, Aug 09, 2013 at 08:41:04PM -0500, Someth San wrote:

Hello,

I'm interested in installing FreeBSD into a small form factor PC for
commercial use and was wondering whether there is a EULA in place for that
purpose. I would like to avoid the open source requirement of disclosing my
codes to a public community.




You haven't said if commercial use includes the distribution of 
executables.


Note that the GPL requirement to disclose source applies only if binaries 
are distributed outside your establishment. You can make commercial use of 
the device inside your firm of GPL code without violating the GPL.  This 
is often forgotten in discussion, and leads to unnecessary worry.


Daniel Feenberg
___
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: New to Free-BSD with questions.

2013-08-10 Thread Eduardo Morras
On Sat, 10 Aug 2013 09:58:07 GMT
r_oliva...@juno.com r_oliva...@juno.com wrote:

 New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. 
 System boots from DVD to command line mode.
 Questions are: 
 A.) Is Xwindows, (X11) included on the DVD copy? 

Yes, included.

 B.) If included, what command is used to start it? 

It's included, but not installed. After boot under command line mode, login as 
root and type '#pkg_add -r xorg' (without quotes). When install ends, you can 
use startx or xinit to enter X mode. The default wm is a bit rude, install the 
one you want, f.ex. '#pkg_add -r kde4', '#pkg_add -r gnome2', '#pkg_add -r 
xfce4'. After install use '#rehash ' and/or '#hash -r'. Start each wm using 
proper command, startkde4, startxfluxbox, check docs or sail the web for that.

 C.) What shell is installed as the standard shell in command line mode?

Plain sh. Minimal, standard, works, rocks.

 D.) Is there a site that I can download a complete copy of the documentation 
 for Free-BSD, as one file and not a series/set of separate files?

The handbook has single html mode.

 Thank you for your assistance.
 Ms. R. Olivarez
 (E-mail: r_oliva...@juno.com

HTH

---   ---
Eduardo Morras emorr...@yahoo.es
___
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: New to Free-BSD with questions.

2013-08-10 Thread Warren Block

On Sat, 10 Aug 2013, r_oliva...@juno.com wrote:


D.) Is there a site that I can download a complete copy of the documentation 
for Free-BSD, as one file and not a series/set of separate files?


ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/ 
has the Handbook in compressed files for download.  Several formats are 
available, including single and split HTML, PDF, and others.  Many 
people just read the online version at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html


Translated versions are also available.
___
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: if_bridge and ng_netflow

2013-08-10 Thread Fbsd8

Volodymyr Kostyrko wrote:

Hi all.

I have one machine with bridge configured. Recently I thinked about 
capturing all traffic on the bridge with ng_netflow.


1. ng_ether doesn't attach to bridge0 interface:

# ngctl list | grep ether
  Name: rl0 Type: ether   ID: 0034   Num hooks: 2
  Name: ste0Type: ether   ID: 0035   Num hooks: 2
  Name: wlan0   Type: ether   ID: 0036   Num hooks: 2

2. If I attach all physical interfaces to netflow I get no statistics 
for data originating from server. I.e. I see all inbound traffic but I 
see no outbound traffic.


Maybe I'm just doing everything wrong? I'm adding interfaces to netflow 
this way:


connect wlan0: netflow0: upper iface2
connect wlan0: netflow0: lower iface3
connect netflow0: netflow0: out2 out3

3. Ok, I can do this other way (sorry, I'm bad at netflow scripting):

mkpeer eiface ether ether
rmhook ngeth0: ether

ifconfig ngeth0 up
ifconfig bridge0 span ngeth0

And again I see only inbound packets. I see no packets coming from me.

Is there any other working way to get stats from bridge interface?




if_bridge is relatively new in FreeBSD. Netgraph precedes if_bridge and 
is un-aware of if_bridge. Change your if_bridge definition to a
ng bridge definition and everything your trying to do should fall into 
place.


___
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: texlive and package updating

2013-08-10 Thread Jerry
On Fri, 09 Aug 2013 11:40:10 -0500
Tim Daneliuk articulated:

 On 08/09/2013 11:36 AM, Jerry wrote:
  Port:   texlive-full-20120701
  Path:   /usr/ports/print/texlive-full
  Info:   TeX Live, Full Version
  Maint:  h...@freebsd.org
 
  With: TEX_DEFAULT=texlive placed in the /etc/make.conf file.
 
  My question is how do I update the packages since the package
  updater has apparently been deliberately disabled? I install/update
  dozens of packages each week on my Windows machine, so I know that
  they are available.
 
  Also. all of the *-freebsd-doc-* ports are bonked due to the
  use of texlive. Is there any headway being made on that front?
 
 I've given up on all OS distribution-based TexLive drops.  I install
 texlive manually from their installer and then run tlmgr under
 cron control nightly to keep it up-to-date.  I do this on
 FreeBSD (my primary dev and server platform) as well as all
 linux instances in my environment.  It makes things a lot simpler.

I have to admit that I am somewhat confused myself. Why the port was
released sans any viable method of updating the packages seems counter
productive.

I know for a fact that this problem does not exist on an MS Windows
machine, nor from what I have been able to ascertain, most other *.nix
operating systems. Hopefully these two glaring problems will be
rectified soon.

I am wondering if I simply make tlmgr operational, if it will work.
Did you have to do anything special to accomplish getting tlmgr
working and updating correctly?

-- 
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: texlive and package updating

2013-08-10 Thread Nikola Pavlović
On 09/08/13 18:40, Tim Daneliuk wrote:
 I've given up on all OS distribution-based TexLive drops.  I install
 texlive manually from their installer and then run tlmgr under
 cron control nightly to keep it up-to-date.  I do this on
 FreeBSD (my primary dev and server platform) as well as all
 linux instances in my environment.  It makes things a lot simpler.
 

How do you manage dependency tracking errors?  The last time I've
installed it the way you do was on Slackware and since it doesn't do any
dependency tracking there were no problems (as long as the binaries were
in PATH).  I can imagine ports and pkg tools on FreeBSD complaining
about missing TeX packages, and AFAIK Debian based Linux distributions
will certainly complain (I think there is a workaround, but it involves
messing with dpkg).


___
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: Commercial Licensing

2013-08-10 Thread Nikola Pavlović
On 10/08/13 03:41, Someth San wrote:
 Hello,
 
 I'm interested in installing FreeBSD into a small form factor PC for
 commercial use and was wondering whether there is a EULA in place for that
 purpose. I would like to avoid the open source requirement of disclosing my
 codes to a public community.
 
 If you can provide some information/direction in this regard, I would
 greatly appreciate it.
 

As others have said, you can do what you want to do with FreeBSD
licenced code.  The third party components in the base system that are
under different licences are in /usr/src/contrib and /usr/src/gnu, so
look there for potential problems.

And as Daniel has said, if you're not going to distribute the binaries
even the GPL code isn't a problem.  In any case, you should consult a
lawyer specializing in *software* copyright, not just any copyright
lawyer because depending on what you want to do, GPL can be very
complicated.


___
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: 9.2-RC1: Problem with Kernel

2013-08-10 Thread Polytropon
On Sat, 10 Aug 2013 19:04:29 + (UTC), Walter Hurry wrote:
 This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the 
 source from releng/9.2 and rebuilding kernel and world).
 
 The kernel compiles and runs fine using the supplied GENERIC, but when I 
 try to use my custom kenel config file, on reboot I get this:
 
 Mounting from ufs:/dev/ada0p2 failed with error 19
 
 What module(s) have I missed?

Diff against the GENERIC kernel. Maybe device xhci?
What bootable media is listed when you type ? at the
mountroot prompt? If GENERIC boots and your kernel
doesn't, there should be a significant difference
regarding the config file's content. :-)



-- 
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: 9.2-RC1: Problem with Kernel

2013-08-10 Thread Warren Block

On Sat, 10 Aug 2013, Walter Hurry wrote:


This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the
source from releng/9.2 and rebuilding kernel and world).

The kernel compiles and runs fine using the supplied GENERIC, but when I
try to use my custom kenel config file, on reboot I get this:

Mounting from ufs:/dev/ada0p2 failed with error 19

What module(s) have I missed?


options GEOM_PART_GPT

But without information on what you removed, it's only a guess.
___
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: Terrible disk performance with LSI / FreeBSD 9.2-RC1

2013-08-10 Thread J David
To follow up on this issue, at one point the stats were down to this:

extended device statistics
device r/s   w/skr/skw/s qlen svc_t  %b
da00.0   0.0 0.0 0.00   0.0   0
da10.0   0.0 0.0 0.00   0.0   0
da2  127.9   0.0   202.3 0.01  47.5 100
da3  125.9   0.0   189.3 0.01  43.1  97
da4  127.9   0.0   189.8 0.01  45.8 100
da5  128.9   0.0   206.3 0.00  42.5  99
da6  127.9   0.0   202.3 0.01  46.2  98
da70.0 249.7 0.0   334.2   10  39.5 100

At some point, I figured out that 125 random iops is pretty much the
limit for 7200 RPM SATA drives.  So mostly what we're looking at here
is the resilver of a raidz2 is the pathological worst case.  Lesson
learned; raidz2 is just really not viable without some kind of sort on
the resilver operations.  Wish I understood ZFS well enough to do
something about that, but research suggests the problem is
non-trivial. :(

There also seems to be a separate ZFS issue related to having a very
large number of snapshots (e.g. hourly for several months on a couple
of filesystems).  Some combination of the OS updates we've been doing
trying to get this machine to 9.2-RC1 and deleting a ton of snapshots.
 It would be nice to know which it was; I guess we'll find out in a
few months.

So it seems like the combination of these two issues is mostly what
is/was plaguing us.

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: learn

2013-08-09 Thread Quark


- Original Message -
 From: Chris Hill ch...@monochrome.org
 To: Quark unixuser2000-f...@yahoo.com
 Cc: Mike Jeays mike.je...@rogers.com; me...@bris.ac.uk 
 me...@bris.ac.uk; freebsd-questions@freebsd.org 
 freebsd-questions@freebsd.org; aurfalien aurfal...@gmail.com
 Sent: Thursday, 8 August 2013 9:50 AM
 Subject: Re: learn
 
 On Thu, 8 Aug 2013, Quark wrote:
 
  On Aug 1, 2013, at 8:31 AM, Mike Jeays wrote:
 
 
 [ big snip ]
 
  Hell, I may even get a hoody from the store :)
 
  hey, where are the hoodies??? I found for mozilla  openSUSE on their 
  respective sites very good looking hoodies, but nor FreeBSD I won't 
  hesitate to order one for reasonable price of 20-30 USD
 
 https://www.freebsdmall.com/cgi-bin/fm/scan/fi=prod_bsd/tf=list_order/sf=category/se=shirts?id=bipk46TBmv_pc=267
 
 FreeBSD Mall, then shirts and jackets. They cost a little more than 
 that, though.
 
 -- 
 Chris Hill              ch...@monochrome.org
 **                     [ Busy Expunging / ]
 ___
 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
 
thanks all, this looks good,
https://www.freebsdmall.com/cgi-bin/fm/bsdpullover.bk?id=wQnRGQDnmv_pc=31
___
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: texlive and package updating

2013-08-09 Thread Tim Daneliuk

On 08/09/2013 11:36 AM, Jerry wrote:

Port:   texlive-full-20120701
Path:   /usr/ports/print/texlive-full
Info:   TeX Live, Full Version
Maint:  h...@freebsd.org

With: TEX_DEFAULT=texlive placed in the /etc/make.conf file.

My question is how do I update the packages since the package updater
has apparently been deliberately disabled? I install/update dozens of
packages each week on my Windows machine, so I know that they are
available.

Also. all of the *-freebsd-doc-* ports are bonked due to the
use of texlive. Is there any headway being made on that front?


I've given up on all OS distribution-based TexLive drops.  I install
texlive manually from their installer and then run tlmgr under
cron control nightly to keep it up-to-date.  I do this on
FreeBSD (my primary dev and server platform) as well as all
linux instances in my environment.  It makes things a lot simpler.

-

Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Setup HP Laserjet 1120m over network with LPD

2013-08-09 Thread Al Plant

Warren Block wrote:

On Tue, 6 Aug 2013, Juris Kaminskis wrote:


after several trials and errors and reading through FreeBSD handbook I am
at dead end on how to proceed further, hope someone can guide me.


Are you sure about that model number?  I can't find specs for a Laserjet 
1120M.  There is a Laserjet M1120.  It's a Winprinter.


The file entries are confusing and use some non-base programs.  You may 
be mixing the base system's lpr/lpd with the CUPS versions of the same 
names from ports.


For plain lpr/lpd, I have this article:
http://www.wonkity.com/~wblock/docs/html/lpdprinting.html
___
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,

I, like Warren , think your entry is too comlpicated and I have a very 
old HP 1100 LaserJet that works on lpr using apsfilter  from ports.

I have only 5 lines in my printcap file.


~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: Commercial Licensing

2013-08-09 Thread James Gosnell
I'm not a lawyer, but you need to read the BSD license. You can pretty much
do anything you want with something that is licensed by it.


On Fri, Aug 9, 2013 at 8:41 PM, Someth San s...@indesyne.com wrote:

 Hello,

 I'm interested in installing FreeBSD into a small form factor PC for
 commercial use and was wondering whether there is a EULA in place for that
 purpose. I would like to avoid the open source requirement of disclosing my
 codes to a public community.

 If you can provide some information/direction in this regard, I would
 greatly appreciate it.

 Thank you.

 Regards,

 Someth San
 Indesyne Inc.


 ___
 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




-- 
James Gosnell, ACP
___
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: Commercial Licensing

2013-08-09 Thread mikel king
Greetings Someth,

With FreeBSD you are free use as you see fit. Think of the BSD license in terms 
of 'Free' beer and not the freedom to look under the hood like some other mock 
free licenses. If this were not the case then Apple would not have been able to 
derive Mac OS X from FreeBSD and close the source of their product. 

The nature of the various FreeBSD licenses allow for you to do this with the 
exception of some newer versions of the license the include an anti relicensing 
clause which essentially prohibits you from taking a BSD licensed code based 
and relicensing it under one of the GPL versions. At this point those sorts of 
addendum's are rare but definitely becoming more popular. 

Ultimately there is not requirement that you give back to the BSD community in 
the form of your code additions however you are strongly encourage to do so, 
the choice is yours.

Finally I would recommend consulting an IP attorney for a review of the current 
license just to ensure that everything is still as it was explained to me a 
long time ago by mine.

Regards,
Mikel

On Aug 9, 2013, at 9:41 PM, Someth San s...@indesyne.com wrote:

 Hello,
 
 I'm interested in installing FreeBSD into a small form factor PC for
 commercial use and was wondering whether there is a EULA in place for that
 purpose. I would like to avoid the open source requirement of disclosing my
 codes to a public community.
 
 If you can provide some information/direction in this regard, I would
 greatly appreciate it.
 
 Thank you.
 
 Regards,
 
 Someth San
 Indesyne Inc.
 
 
 ___
 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: Commercial Licensing

2013-08-09 Thread James Gosnell
GPL'ed software in the base system: https://wiki.freebsd.org/GPLinBase


On Fri, Aug 9, 2013 at 9:58 PM, kpn...@pobox.com wrote:

 On Fri, Aug 09, 2013 at 08:41:04PM -0500, Someth San wrote:
  Hello,
 
  I'm interested in installing FreeBSD into a small form factor PC for
  commercial use and was wondering whether there is a EULA in place for
 that
  purpose. I would like to avoid the open source requirement of disclosing
 my
  codes to a public community.

 This requirement of disclosure isn't so much an open source thing, it's
 required by some popular licenses (like the GPL). The rather large group
 of people in software has groups that prefer restrictive licenses like the
 GPL, and other groups who prefer licenses with fewer restrictions.

 Be aware that FreeBSD isn't covered by a single license. Rather, it is
 made up of a large number of pieces of software that came from various
 sources over a lot of years.

 In general FreeBSD tries to avoid using those kinds of license that you
 are saying you want to avoid. But in the set of all software that make up
 FreeBSD there is still code left covered by it. With a little care you can
 avoid getting bitten by this. Which leads to my next point...

  If you can provide some information/direction in this regard, I would
  greatly appreciate it.

 I want to second the advice of talking to a lawyer who specializes in
 copyright. The lawyer should be working for you and paid by you (or your
 business, etc). Any time real money is involved you should hire a lawyer.

 Any time real money is involved you should hire a lawyer. Any time the
 outcome matters you should hire a lawyer.

 Seriously, your use of the term EULA shows you need to talk to a lawyer.

 Give your lawyer the FreeBSD source code and your lawyer can look at it
 and advise you.

 But don't let this scare you. With a little care you will probably be just
 fine.

 --
 A method for inducing cats to exercise consists of directing a beam of
 invisible light produced by a hand-held laser apparatus onto the floor ...
 in the vicinity of the cat, then moving the laser ... in an irregular way
 fascinating to cats,... -- US patent 5443036, Method of exercising a cat
 ___
 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




-- 
James Gosnell, ACP
___
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: Terrible disk performance with LSI / FreeBSD 9.2-RC1

2013-08-08 Thread Terje Elde
On 8. aug. 2013, at 00:08, Frank Leonhardt fra...@fjl.co.uk wrote:
 As a suggestion, what happens if you read from the drives directly? Boot in 
 single user and try reading a Gb or two using /bin/dd. It might eliminate or 
 confirm a problem with ZFS.

If not too inconvenient, it'd be very interesting to see what'd happen if you 
were to physically disconnect (data and power) 5 of the 6 drives, then boot and 
dd from the remaining disk to /dev/null. Then repeat with another drive. 

You could boot from USB to leave the system itself otherwise untouched. 

The reason I'm suggesting is that I'm wondering if this can be down to a power 
or cable-issue, locking things up or causing retransmits, etc. 

Not sure if this would always be logged, others might be able to enlighten that 
issue. 

Terje


___
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: can't build virtualbox-ose

2013-08-08 Thread Gary Aitken
On 08/08/13 05:22, felix wrote:
 hi,all when i build the port, it shows the following messages.
 === Installing for gnutls-2.12.23_1
 ===   Generating temporary packing list 
 ===  Checking if security/gnutls already installed
 === gnutls-2.12.23_1 is already installed
 You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to
 upgrade it properly. If you really wish to overwrite the old port of
 security/gnutls without deleting it first, set the variable
 FORCE_PKG_REGISTER in your environment or the make install
 command line. *** [check-already-installed] Error code 1
...
 Stop in /usr/ports/emulators/virtualbox-ose.
 
 I had run portupgrade -fr security/gnutls, even though i run
 portupgrade -a, the problem is still. any hints? thanks

I had this problem with a different port.
I think I got around it by cd'ing to the port directory and doing a make 
install.
___
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: memory stick

2013-08-08 Thread Adam Vande More
On Thu, Aug 8, 2013 at 9:34 AM, william benton weben...@hotmail.com wrote:

 I am trying to mount a memory stick at the command line. I seem to be able
 to mount and unmount it but i can't copy files into the stick. please see
 the attached image for the commands I used and the results. If you have any
 suggestions on what the problem might be I would sure like to know what you
 think. I logged in as root on free BSD version 7.0 release 0.0.



You have a special character in your path.  You will need to escape it, eg
cp /usr/home/w\!/foo /mnt/ufs/

-- 
Adam Vande More
___
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: memory stick

2013-08-08 Thread Teske, Devin
(sorry for top post)

Heh, looks like the Alton Brown style of debugging ;D (for anyone that follows 
his twitter feed)
-- 
Devin


On Aug 8, 2013, at 7:34 AM, william benton wrote:

 I am trying to mount a memory stick at the command line. I seem to be able to 
 mount and unmount it but i can't copy files into the stick. please see the 
 attached image for the commands I used and the results. If you have any 
 suggestions on what the problem might be I would sure like to know what you 
 think. I logged in as root on free BSD version 7.0 release 0.0.   
  
 20130808091209582.pdf___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: /usr/src for 9.2 beta?

2013-08-08 Thread Walter Hurry
On Fri, Jul 26, 2013 at 05:58:18PM -0400, kpn wrote:
 On Fri, Jul 26, 2013 at 05:56:09PM -0400, kpn...@pobox.com wrote:
  On Fri, Jul 26, 2013 at 07:30:17PM +, Walter Hurry wrote:
   I'd like to try out 9.2-BETA1 on a test box.
   
   From where do I check out the sources please (using svn)?
  
  I believe you want:
  svn co svn://svn.freebsd.org/base/stable/9
  
  After 9.2 is released you'll be able to use:
  svn co svn://svn.freebsd.org/base/releng/9.2
  
  But if I'm not mistaken until then you'll want stable/9.
 
 I should have also mentioned that you can get already compiled images 
from:
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.2/

BTW, I just saw that 9.2 has a new branch in svn. So if you want to track
9.2 you'll need:
svn co svn://svn.freebsd.org/base/releng/9.2

Meaning, my Jul 26th email is now out of date.

If you want the 9.x stuff that will probably not be in the 9.2 release
then you can continue to track stable/9.

Thanks again. I'm trying releng/9.2 as we speak.

___
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: firefox audio / youtube crashes?

2013-08-08 Thread Sean DuBois
Hey Gary,

Try launching FireFox in a terminal emulator, do you get an error
message related to cubeb_refill_stream? To fix the error
try either setting media.use_cubeb - false in about:config
or rebuild audio/alsa-plugins with ARIFF_OSS disabled.

On Thu, Aug 08, 2013 at 12:25:41AM -0600, Gary Aitken wrote:
 I think I should know this but I don't, and a search didn't turn up anything
 recent.
 
 It's my understanding firefox 22 with html5 should allow playing youtube 
 videos
 without the flash plugin.  But when I try to watch a youtube video, firefox
 crashes.  I had this working on firefox 17 under 9.0 but don't know how it was
 configured...  My firefox is installed with the following options:  
 
 /usr/ports/www/firefox$ make showconfig
 === The following configuration options are available for firefox-22.0,1:
  DBUS=on: D-Bus IPC system support
  DEBUG=off: Install debug symbols
  GCONF=off: GConf configuration backend support
  GIO=on: GIO for file I/O
  GNOMEUI=off: libgnomeui support module
  GNOMEVFS2=off: GnomeVFS2 (virtual file system) support
  GSTREAMER=off: Multimedia support via GStreamer
  LIBPROXY=off: Proxy support via libproxy
  LOGGING=on: Additional log messages
  OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
  PGO=off: Use Profile-Guided Optimization
  WEBRTC=on: Web Real-Time Communication
  Options available for the single AUDIO: you have to select exactly one 
 of them
  ALSA=on: ALSA audio architecture support
  PULSEAUDIO=off: PulseAudio sound server support
 
 I installed the following as freshports indicated they were needed to run,
 but it made no difference:
 www/nspluginwrapper
 audio/alsa-lib
 multimedia/libv4l
 
 hints?
 ___
 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: Terrible disk performance with LSI / FreeBSD 9.2-RC1

2013-08-08 Thread Frank Leonhardt

On 08/08/2013 12:42, Terje Elde wrote:

On 8. aug. 2013, at 00:08, Frank Leonhardt fra...@fjl.co.uk wrote:

As a suggestion, what happens if you read from the drives directly? Boot in 
single user and try reading a Gb or two using /bin/dd. It might eliminate or 
confirm a problem with ZFS.

If not too inconvenient, it'd be very interesting to see what'd happen if you 
were to physically disconnect (data and power) 5 of the 6 drives, then boot and 
dd from the remaining disk to /dev/null. Then repeat with another drive.

You could boot from USB to leave the system itself otherwise untouched.

The reason I'm suggesting is that I'm wondering if this can be down to a power 
or cable-issue, locking things up or causing retransmits, etc.

Not sure if this would always be logged, others might be able to enlighten that 
issue.

Terje


And while you're at it, could you post the output of diskinfo -v 
/dev/[slices] - check the cylinder alignment and so on if you haven't 
already.


Regards, Frank.

___
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: cursor keys not working on console

2013-08-08 Thread Thomas Dickey
On Thu, Aug 08, 2013 at 07:53:04PM +0200, O. Hartmann wrote:
 The cursor keys on the consoles in freebsd CURRENT (no X11 virtual
 consoles, the FreeBSD consoles!) do not work for me.
 
 I use tcsh as the main shell.
 As set by default in /etc/ttys, the console's terminal type is xterm.
 Switching to 
 
 setenv TERM cons25
 
 solves the problem, but the menus in ports via make config look ugly
 and more ugly, but they are unusable with the setting TERM=xterm.
 
 What is wrong here? Why are the cursor keys not working in the
 console/ports menu as expected when using tcsh/csh as default shell?

from infocmp (cons25 vs xterm):

kcub1: '\E[D', '\EOD'.
kcud1: '\E[B', '\EOB'.
kcuf1: '\E[C', '\EOC'.
kcuu1: '\E[A', '\EOA'.

It's probably 

http://invisible-island.net/ncurses/ncurses.faq.html#cursor_appmode

You would probably find
TERM=xterm-noapp

and improvement.

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


Re: Control-M question

2013-08-08 Thread ill...@gmail.com
On 8 August 2013 17:15, Leonardo Santagostini lsantagost...@gmail.com wrote:
 Hello list,

 Im trying to install control-m agent on FreeBSD doing some searching i
 didnt find anything that point to me to a sucessfull installation.

 I would really appreciate if someone can give to me a clue or some recipe
 or some howto !!

 Arquitecture is:

 FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012
 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 and CTM agent is:

 PIM PLATFORMPACKAGE DATEINSTALL DATE
  VERSION INSTALL TYPECOMME
 NTS
 
 DRKAI.6.3.01Linux-x86_64Dec-04-2006 Nov-04-2009
 6.3.01.000  INSTALLATION


Well, assuming you're talking about the BMC software, they don't list
FreeBSD as a supported platform.
http://www.bmc.com/modules/module-html/Control-M-by-applications.html?height=488width=940
Given that it's not open source, if the doesn't run successfully under
Linux emulation, I strongly doubt you can do anything outside of con-
tacting the company.

Also, AFIK Linux emulation is i386 only, not amd64/x86_64 (or what-
ever obnoxious neologism they're using to-day) so you'll probably have
to run something other than Linux-x86_64.

-- 
--
___
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: Control-M question

2013-08-08 Thread Leonardo Santagostini
Ok thank you very much =)


Regards / Saludos.-
Leonardo Santagostini

http://ar.linkedin.com/in/santagostini





2013/8/8 ill...@gmail.com ill...@gmail.com

 On 8 August 2013 17:15, Leonardo Santagostini lsantagost...@gmail.com
 wrote:
  Hello list,
 
  Im trying to install control-m agent on FreeBSD doing some searching i
  didnt find anything that point to me to a sucessfull installation.
 
  I would really appreciate if someone can give to me a clue or some recipe
  or some howto !!
 
  Arquitecture is:
 
  FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012
  r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 
  and CTM agent is:
 
  PIM PLATFORMPACKAGE DATEINSTALL DATE
   VERSION INSTALL TYPECOMME
  NTS
 
 
  DRKAI.6.3.01Linux-x86_64Dec-04-2006 Nov-04-2009
  6.3.01.000  INSTALLATION
 

 Well, assuming you're talking about the BMC software, they don't list
 FreeBSD as a supported platform.

 http://www.bmc.com/modules/module-html/Control-M-by-applications.html?height=488width=940
 Given that it's not open source, if the doesn't run successfully under
 Linux emulation, I strongly doubt you can do anything outside of con-
 tacting the company.

 Also, AFIK Linux emulation is i386 only, not amd64/x86_64 (or what-
 ever obnoxious neologism they're using to-day) so you'll probably have
 to run something other than Linux-x86_64.

 --
 --

___
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: Static Jail ID's (JID's) for use with IPFW?

2013-08-07 Thread Arthur Chance

On 07/08/2013 09:28, Karl Pielorz wrote:

I have a number of jailed systems running - and I've been setting up
ipfw rules for them.

This is on FBSD 9.1.

'ipfw' lets you match on traffic to/from a Jail ID (JID) - however every
time jails get started / stopped their JID changes [thus breaking the
firewall rules].

I can't see anywhere to 'statically' configure a JID to a Jail (i.e. in
/etc/rc.conf).



I don't think the old /etc/rc.conf way of handling jails lets you do it, 
but the latest version of jail(8) introduced /etc/jail.conf and you 
should be able to add jid = N; parameters in there.


I've no idea what will happen if your choice conflicts with an 
automatically generated jid, so you'll either have to make sure all 
jails have fixed jids, or choose a suitably high range for fixed ones 
and hope you never generate too many unfixed jids.


--
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

_Lord of the Rings 2.0, the Web Edition_
___
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: Static Jail ID's (JID's) for use with IPFW?

2013-08-07 Thread Fbsd8

Karl Pielorz wrote:


Hi,

I have a number of jailed systems running - and I've been setting up 
ipfw rules for them.


This is on FBSD 9.1.

'ipfw' lets you match on traffic to/from a Jail ID (JID) - however every 
time jails get started / stopped their JID changes [thus breaking the 
firewall rules].


I can't see anywhere to 'statically' configure a JID to a Jail (i.e. in 
/etc/rc.conf).


Is this possible? / How?

Thanks,

-Karl 



Use the jails IP address in the hosts IPFW rules.



___
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: Static Jail ID's (JID's) for use with IPFW?

2013-08-07 Thread Karl Pielorz



--On 07 August 2013 12:23 +0100 Arthur Chance free...@qeng-ho.org wrote:


I don't think the old /etc/rc.conf way of handling jails lets you do it,
but the latest version of jail(8) introduced /etc/jail.conf and you
should be able to add jid = N; parameters in there.


Thanks - I'll check that out...


I've no idea what will happen if your choice conflicts with an
automatically generated jid, so you'll either have to make sure all jails
have fixed jids, or choose a suitably high range for fixed ones and hope
you never generate too many unfixed jids.


I'll be making them all static - just to avoid that problem ;)

Cheers,

-Karl
___
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: learn

2013-08-07 Thread Quark






 From: aurfalien aurfal...@gmail.com
To: Mike Jeays mike.je...@rogers.com 
Cc: me...@bris.ac.uk; freebsd-questions@freebsd.org 
Sent: Thursday, 1 August 2013 9:25 PM
Subject: Re: learn
 


On Aug 1, 2013, at 8:31 AM, Mike Jeays wrote:

 On Thu, 1 Aug 2013 14:21:34 +0100 (BST)
 Anton Shterenlikht me...@bris.ac.uk wrote:
 
 Date: Thu, 1 Aug 2013 14:29:25 +0200
 From: herbert langhans w...@langhans.com.pl
 To: freebsd-questions@freebsd.org
 Subject: Re: learn
 
 The handbook is a monster, even technically interested people get lost
 there. You know that, corebug.
 
 I completely disagree.
 
 The handbook is of excellent quality for a volunteer project.
 In particular, it is far ahead of any linux documentation
 effort I've seen. Indeed, it was the handbook that made me
 start using FreeBSD in the first place. In about 2003 I tried
 several linux distros, and got completely lost. The available
 documentation for linux, at least at that time, was not designed
 for a novice, certainly not at my level. In contrast, the
 FreeBSD handbook was very clear and allowed me to install
 and start using FreeBSD quickly and easily. This was version 4.9.
 
 Since then the quality of the handbook improved a lot.
 The handbook is certantly the first FreeBSD resource
 I would recommend to a FreeBSD novice.
 
 Anton
 ___
 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
 
 Agreed - the handbook has been a great resource since I started using 
 FreeBSD in 1997,
 at version 2.2.something.
 
 Greg Lehey's book The Complete FreeBSD is also excellent, and available as 
 a free
 download - although I am sure he would appreciate contributions or purchases.
 
 http://www.lemis.com/grog/Documentation/CFBSD/

I suggest downloading the USB image, combine that with Googling and bayam, off 
you go.

Of course, supplement with RTFMing which should always be at your side and all 
will be well.

And lastly, having membership on this fine list is key.  The FreeBSD community 
is indeed grand.

Hell, I may even get a hoody from the store :)

hey, where are the hoodies??? I found for mozilla  openSUSE on their 
respective sites very good looking hoodies, but nor FreeBSD
I won't hesitate to order one for reasonable price of 20-30 USD



- aurf
___
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: BSD Magazine

2013-08-07 Thread Frank Leonhardt

On 07/08/2013 13:19, Kamil Sobieraj wrote:

Hello,

I am from BSD Magazine (BSDMag.org), devoted to BSD operating systems.
I would like to ask if you are interested in contributing an article?
Current theme is: *Day-to-day BSD administration*.
I believe that your experience will enrich our magazine and bring valuable
knowledge to our readers.
In return I would like to offer an advertisement of your company and its
products (if any).
Would you be interested in that? Please let me know.

Regards,
Kamil Sobieraj



No man but a blockhead ever wrote, except for money.
- Samuel Johnson

___
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: BSD Magazine

2013-08-07 Thread Mark Felder
Isn't BSDMag now owned by iXSystems (purchased as part of BSDMall?)? And
this seems odd / unprofessional to just blindly post on the -questions
mailing list
___
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: learn

2013-08-07 Thread aurfalien
You've the zip and pull over hoodies;

https://www.freebsdmall.com/cgi-bin/fm/scan/fi=prod_bsd/tf=list_order/sf=category/se=shirts?id=dInoZShjmv_pc=12

Then you have this site which looks to have a slightly better shopping cart;

http://www.cafepress.com/+freebsd+sweatshirts-hoodies

Unsure if any purchases go to supporting FreeBSD as it looks like they may not 
:(

However one can, at worst case show there love of the OS to the world :)

At best case FreeBSD.org gets some monayz from this.

- aurf
On Aug 7, 2013, at 9:21 AM, Quark wrote:

 
 
 
 
 
 
 From: aurfalien aurfal...@gmail.com
 To: Mike Jeays mike.je...@rogers.com 
 Cc: me...@bris.ac.uk; freebsd-questions@freebsd.org 
 Sent: Thursday, 1 August 2013 9:25 PM
 Subject: Re: learn
 
 
 
 On Aug 1, 2013, at 8:31 AM, Mike Jeays wrote:
 
 On Thu, 1 Aug 2013 14:21:34 +0100 (BST)
 Anton Shterenlikht me...@bris.ac.uk wrote:
 
 Date: Thu, 1 Aug 2013 14:29:25 +0200
 From: herbert langhans w...@langhans.com.pl
 To: freebsd-questions@freebsd.org
 Subject: Re: learn
 
 The handbook is a monster, even technically interested people get lost
 there. You know that, corebug.
 
 I completely disagree.
 
 The handbook is of excellent quality for a volunteer project.
 In particular, it is far ahead of any linux documentation
 effort I've seen. Indeed, it was the handbook that made me
 start using FreeBSD in the first place. In about 2003 I tried
 several linux distros, and got completely lost. The available
 documentation for linux, at least at that time, was not designed
 for a novice, certainly not at my level. In contrast, the
 FreeBSD handbook was very clear and allowed me to install
 and start using FreeBSD quickly and easily. This was version 4.9.
 
 Since then the quality of the handbook improved a lot.
 The handbook is certantly the first FreeBSD resource
 I would recommend to a FreeBSD novice.
 
 Anton
 ___
 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
 
 Agreed - the handbook has been a great resource since I started using 
 FreeBSD in 1997,
 at version 2.2.something.
 
 Greg Lehey's book The Complete FreeBSD is also excellent, and available 
 as a free
 download - although I am sure he would appreciate contributions or 
 purchases.
 
 http://www.lemis.com/grog/Documentation/CFBSD/
 
 I suggest downloading the USB image, combine that with Googling and bayam, 
 off you go.
 
 Of course, supplement with RTFMing which should always be at your side and 
 all will be well.
 
 And lastly, having membership on this fine list is key.  The FreeBSD 
 community is indeed grand.
 
 Hell, I may even get a hoody from the store :)
 
 hey, where are the hoodies??? I found for mozilla  openSUSE on their 
 respective sites very good looking hoodies, but nor FreeBSD
 I won't hesitate to order one for reasonable price of 20-30 USD
 
 
 
 - aurf
 ___
 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

___
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: Tablet PCs and FreeBSD?

2013-08-07 Thread cpghost
On 08/05/13 23:07, Adam Vande More wrote:
 On Mon, Aug 5, 2013 at 4:05 PM, Adam Vande More amvandem...@gmail.com 
 mailto:amvandem...@gmail.com wrote:
 
 
 On Mon, Aug 5, 2013 at 1:44 PM, cpghost cpgh...@cordula.ws 
 mailto:cpgh...@cordula.ws wrote:
 
 Hello list,
 
 what's the status of FreeBSD/arm w.r.t. Tablet PCs?
 Is there ANY tablet out there that managed to at
 least boot FreeBSD? (I'm not talking about Xorg etc,
 just a simple console with FreeBSD base system would
 suffice for now -- even NetBSD would be great)
 
 I'm looking for a Tablet PC that runs Linux/arm (not
 just Android), and it would be nice if that model was
 also able to run FreeBSD; and if not now, so in the
 foreseeable future.
 
 Any suggestions w.r.t. models?
 
 
 All I can recall was this thread(read whole thing):
 
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2012-November/246404.html
 
 
 Also asking on freebsd-arm might get you farther.

Ah, thanks for the hint!

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/

___
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: Terrible disk performance with LSI / FreeBSD 9.2-RC1

2013-08-07 Thread James Gosnell
Maybe one of your drives is bad, so it's constantly doing error correction?


On Tue, Aug 6, 2013 at 9:48 PM, J David j.david.li...@gmail.com wrote:

 We have a machine running 9.2-RC1 that's getting terrible disk I/O
 performance.  Its performance has always been pretty bad, but it
 didn't really become clear how bad until we did a zpool replace on one
 of the drives and realized it was going to take 3 weeks to rebuild a
 1TB drive.

 The hardware specs are:
 - 2 x Xeon L5420
 - 32 GiB RAM
 - LSI Logic SAS 1068E
 - 2 x 32GB SSD's
 - 6 x 1TB Western Digital RE3 7200RPM SATA

 The LSI controller has the most recent firmware I'm aware of
 (6.36.00.00 / 1.33.00.00 dated 2011.08.24), is in IT mode, and appears
 to be working fine:

 mpt0 Adapter:
Board Name: USASLP-L8i
Board Assembly: USASLP-L8i
 Chip Name: C1068E
 Chip Revision: B3
   RAID Levels: none

 mpt0 Configuration: 0 volumes, 8 drives
 drive da0 (30G) ONLINE FTM32GL25H 10 SATA
 drive da1 (29G) ONLINE SSDSA2SH032G1GN 8860 SATA
 drive da2 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA
 drive da3 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA
 drive da4 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA
 drive da5 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA
 drive da6 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA
 drive da7 (931G) ONLINE WDC WD1002FBYS-0 0C05 SATA

 The eight drives are configured as ZIL, L2ARC on SSD and a six drive
 raidz2 on the spinning disks.

 We did a ZFS replace on the last drive in the line, and the resilver
 is proceeding at less than 800k/sec.

 extended device statistics
 device r/s   w/skr/skw/s qlen svc_t  %b
 da00.0   0.0 0.0 0.10   0.9   0
 da10.0   8.2 0.019.90   0.1   0
 da2  125.6  23.0   768.240.54  33.0  88
 da3  126.6  23.1   769.041.34  32.3  89
 da4  126.0  24.0   768.542.74  32.1  88
 da5  125.9  22.0   768.240.14  31.6  87
 da6  124.0  22.0   766.639.95  31.4  84
 da70.0 136.9 0.0   801.30   0.6   4

 The system has plenty of free RAM, is 99.7% idle, has nothing else
 going on, and runs like a one-legged dog.

 There are no error messages or any sign of a problem anywhere, other
 than the really terrible performance.  (When not rebuilding, it does
 light NFS duty.  That performance is similarly bad, but has never
 really mattered.)

 Similar systems running Solaris put out 10x these numbers claiming 30%
 busy instead of 90% busy.

 Does anyone have any suggestions for how I could troubleshoot this
 further?  At this point, I'm kind of at a loss as to where to go from
 here.  My goal is to try to phase out the Solaris machines, but this
 is kind of a roadblock.

 Thanks for any advice!
 ___
 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




-- 
James Gosnell, ACP
___
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: php problems

2013-08-07 Thread Panagiotis Christias
On Tue, Aug 6, 2013 at 5:56 PM, mikel king mikel.k...@gmail.com wrote:


 On Aug 5, 2013, at 11:33 PM, Mark Moellering m...@msen.com wrote:

  A few years ago (2011) I set up an email system for a small internet
 based company.  I used postfix with a mysql backend for virtual accounts.
  I also set up apache to test a php based webmail front-end.
  I set up several php scripts that would run from cron that would query a
 database and look for new email account requests and then do a variety of
 tasks to get everything set up properly.
  After I left, someone else made modifications to the system and things
 stopped working properly.  A few months ago I was asked to try and get
 things working again.
 
  I discovered that all php scripts now generate a seg fault.
 
  I tried a simple hello world type program
  the actual code is :
  ?php
  echo test
  ?
  and the output was;
 
  testsegmentation fault
 
  The system is FreeBSD 8.2 and php 5.3
 
  If anyone has any idea of what changes might have been made that could
 cause this, please let me know.  My other thought was to try reinstalling /
 upgrading php.
 
  Thanks in advance
 
  Mark Moellering
  ___
  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


 Hey Mark,

 Do you have a backup/alternative system you can test the code on? In lieu
 of that I would seriously consider rebuilding php. After you get it working
 it would be worth also considering upgrading to 55.

 Also make a complete revision backup of the code and config files once you
 get it working, this will save a lot of hair if the company in question
 hires someone else to tweak things in the future…

 Cheers,
 Mikel
 ___
 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


Hello,

If a simple command like php -v (no script) results a seg fault then you
should follow Patrick's advice. Or try editing by hand
/usr/local/etc/php/extensions.ini and comment out one by one the extensions
mentioned in there.

If you are lucky you will find one or more offending extensions that you
don't need and leave them commented out on uninstall them. If not, you
would have to recompile/reinstall the offending extensions or portupgrade
php and all extensions. Latest php versions in ports tree (all branches:
5.4.x, 5.3.x, even 5.2.x) seem to have resolve this issue.

Regards,
Panagiotis

-- 
Panagiotis Christias
christ...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Terrible disk performance with LSI / FreeBSD 9.2-RC1

2013-08-07 Thread J David
On Wed, Aug 7, 2013 at 3:15 PM, James Gosnell jamesgosn...@gmail.com wrote:
 Maybe one of your drives is bad, so it's constantly doing error correction?

Not according to SMART; all the drives report no problems.  Also, all
the drives seem to perform in lock-step for both reading and writing.
E.g. when one drive in an array is failing, all the drives may be
pulling the same # of reads, but the failing drive will often report
100% busy and/or multi-second svc_t's and the others will sit at 4%
with 20msec svc_t's or similar.  In this case, it's acting like the
disks are all hugely overloaded.   Except without even the high
svc_t's I typically associate with overworking an array.

The speeds do fluctuate.  Last night it was down to 64k/sec reads per
drive (about 15 reads/sec) and still reporting 90% busy on all drives.

It feels like some sort of issue with the
bus/controller/kernel/driver/ZFS that is affecting all the drives
equally.

Also, even ls takes forever (10-30 seconds for ls -lh /) but when it
eventually does finish, time ls -lh / reports:

0.02 real 0.00 user 0.00 sys

Really not sure what to make of that. An attempt to do ps axlww |
fgrep ls while the ls was running failed, because the ps hangs just
as long as the ls.  So it's like the system is just repeatedly putting
anything that touches the disks on hold, even if all the data being
requested is clearly in cache.  (Even apparently loading the binary
for /bin/ls or doing ls -lh / twice in a row.)

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: Terrible disk performance with LSI / FreeBSD 9.2-RC1

2013-08-07 Thread Frank Leonhardt

On 07/08/2013 21:36, J David wrote:

It feels like some sort of issue with the
bus/controller/kernel/driver/ZFS that is affecting all the drives
equally.

Also, even ls takes forever (10-30 seconds for ls -lh /) but when it
eventually does finish, time ls -lh / reports:

 0.02 real 0.00 user 0.00 sys

Really not sure what to make of that. An attempt to do ps axlww |
fgrep ls while the ls was running failed, because the ps hangs just
as long as the ls.  So it's like the system is just repeatedly putting
anything that touches the disks on hold, even if all the data being
requested is clearly in cache.  (Even apparently loading the binary
for /bin/ls or doing ls -lh / twice in a row.)


As a suggestion, what happens if you read from the drives directly? Boot 
in single user and try reading a Gb or two using /bin/dd. It might 
eliminate or confirm a problem with ZFS.


Regards, Frank.





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

2013-08-07 Thread Chris Hill

On Thu, 8 Aug 2013, Quark wrote:


On Aug 1, 2013, at 8:31 AM, Mike Jeays wrote:



[ big snip ]


Hell, I may even get a hoody from the store :)


hey, where are the hoodies??? I found for mozilla  openSUSE on their 
respective sites very good looking hoodies, but nor FreeBSD I won't 
hesitate to order one for reasonable price of 20-30 USD


https://www.freebsdmall.com/cgi-bin/fm/scan/fi=prod_bsd/tf=list_order/sf=category/se=shirts?id=bipk46TBmv_pc=267

FreeBSD Mall, then shirts and jackets. They cost a little more than 
that, though.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
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: php problems

2013-08-06 Thread Lars Eighner

On Mon, 5 Aug 2013, Mark Moellering wrote:


I tried a simple hello world type program
the actual code is :
?php
echo test
?
and the output was;

testsegmentation fault


First, try it with clean code: put the ; after the command and stop closing
the ?php tag at the end of the file.




The system is FreeBSD 8.2 and php 5.3

If anyone has any idea of what changes might have been made that could cause 
this, please let me know.  My other thought was to try reinstalling / 
upgrading php.


Thanks in advance

Mark Moellering
___
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




--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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: php problems

2013-08-06 Thread Frank Leonhardt

On 06/08/2013 15:21, Lars Eighner wrote:

On Mon, 5 Aug 2013, Mark Moellering wrote:


I tried a simple hello world type program
the actual code is :
?php
echo test
?
and the output was;

testsegmentation fault


First, try it with clean code: put the ; after the command and stop 
closing

the ?php tag at the end of the file.



Actually that should work and does work. I'm in the happy position of 
being able to recreate (but without the fault):


%php test.php
test
%php --version
PHP 5.3.6 with Suhosin-Patch (cli) (built: Jul 27 2011 20:41:21)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
%uname -v
FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

%cat test.php
?php
echo test
?

%php test.php
test
%

So what you're should doing should work. I should try recompiling and 
reinstalling PHP as a first step, unless you have reasons you don't want 
to do that. Email me directly if you want to cross-check config files 
and so on on what may be a very similar environment.


Regards, Frank.


___
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: php problems

2013-08-06 Thread Frank Leonhardt

On 06/08/2013 15:21, Lars Eighner wrote:

On Mon, 5 Aug 2013, Mark Moellering wrote:


I tried a simple hello world type program
the actual code is :
?php
echo test
?
and the output was;

testsegmentation fault


First, try it with clean code: put the ; after the command and stop 
closing

the ?php tag at the end of the file.



Actually that should work and does work. I'm in the happy position of 
being able to recreate (but without the fault):


%php test.php
test
%php --version
PHP 5.3.6 with Suhosin-Patch (cli) (built: Jul 27 2011 20:41:21)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
%uname -v
FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

%cat test.php
?php
echo test
?

%php test.php
test
%

So what you're should doing should work. I should try recompiling and 
reinstalling PHP as a first step, unless you have reasons you don't want 
to do that. Email me directly if you want to cross-check config files 
and so on on what may be a very similar environment.


Regards, Frank.


___
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: php problems

2013-08-06 Thread Patrick Lamaiziere
Le Mon, 05 Aug 2013 23:33:08 -0400,
Mark Moellering m...@msen.com a écrit :

 I discovered that all php scripts now generate a seg fault.
 
 I tried a simple hello world type program
 the actual code is :
 ?php
 echo test
 ?
 and the output was;
 
 testsegmentation fault
 
 The system is FreeBSD 8.2 and php 5.3
 
 If anyone has any idea of what changes might have been made that
 could cause this, please let me know.  My other thought was to try 
 reinstalling / upgrading php.

That could be a problem with the extensions order in php.ini 
(search google php + crash + freebsd)

There is a script to fix the order, I have not tried it. 
http://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh

Regards.
___
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: php problems

2013-08-06 Thread mikel king

On Aug 5, 2013, at 11:33 PM, Mark Moellering m...@msen.com wrote:

 A few years ago (2011) I set up an email system for a small internet based 
 company.  I used postfix with a mysql backend for virtual accounts.  I also 
 set up apache to test a php based webmail front-end.
 I set up several php scripts that would run from cron that would query a 
 database and look for new email account requests and then do a variety of 
 tasks to get everything set up properly.
 After I left, someone else made modifications to the system and things 
 stopped working properly.  A few months ago I was asked to try and get things 
 working again.
 
 I discovered that all php scripts now generate a seg fault.
 
 I tried a simple hello world type program
 the actual code is :
 ?php
 echo test
 ?
 and the output was;
 
 testsegmentation fault
 
 The system is FreeBSD 8.2 and php 5.3
 
 If anyone has any idea of what changes might have been made that could cause 
 this, please let me know.  My other thought was to try reinstalling / 
 upgrading php.
 
 Thanks in advance
 
 Mark Moellering
 ___
 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


Hey Mark,

Do you have a backup/alternative system you can test the code on? In lieu of 
that I would seriously consider rebuilding php. After you get it working it 
would be worth also considering upgrading to 55.

Also make a complete revision backup of the code and config files once you get 
it working, this will save a lot of hair if the company in question hires 
someone else to tweak things in the future… 

Cheers,
Mikel
___
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: .sh script code to determine IPv4 or IPv6

2013-08-06 Thread markham breitbach
On 13-08-03 8:04 AM, Teske, Devin wrote:
 Actually, there's /usr/share/bsdconfig/media/tcpip.subr


I don't seem to have that (FreeBSD 8.3-RELEASE).  Where would I get that from? 


___
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: .sh script code to determine IPv4 or IPv6

2013-08-06 Thread Polytropon
On Tue, 06 Aug 2013 10:20:05 -0600, markham breitbach wrote:
 On 13-08-03 8:04 AM, Teske, Devin wrote:
  Actually, there's /usr/share/bsdconfig/media/tcpip.subr
 
 
 I don't seem to have that (FreeBSD 8.3-RELEASE). 
 Where would I get that from? 

Maybe from sysutils/bsdconfig in the ports collection?
I have not checked if this specific subroutine file is
part of the port...


-- 
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: .sh script code to determine IPv4 or IPv6

2013-08-06 Thread Teske, Devin

On Aug 6, 2013, at 9:20 AM, markham breitbach wrote:

 On 13-08-03 8:04 AM, Teske, Devin wrote:
 Actually, there's /usr/share/bsdconfig/media/tcpip.subr
 
 
 I don't seem to have that (FreeBSD 8.3-RELEASE).  Where would I get that 
 from? 
 
 


It's in up-coming 9.2-R (and present 9.2-* snapshots leading up to 9.2-R).

You can snatch a copy of the code by installing sysutils/bsdconfig from the 
ports tree.

However, the port is marked (correctly-so) as requiring FreeBSD 9.0 or higher.

But don't let that stop you... the only reason it's marked as requiring 9.0 is 
because 9.0 brings in a new dialog(1) implementation.

However, if you're interested in the TCP validation code... that will work on 
any release. It's only the dialog(1) stuff that won't work on 8.x or older.

Luckily, it'll be pretty easy to avoid the land-mines. All functions starting 
with f_dialog_* should be avoided on 8.x or older.

So here's the latest package to download (in case you're unsuccessful in 
getting the port to behave -- afterall, it may just balk at you for not running 
9.x):

fetch 
http://druidbsd.sourceforge.net/download/bsdconfig/bsdconfig-0.9.0.tbz

That's a FreeBSD package. You can download it and say (as root):

pkg_add bsdconfig-0.9.0.tbz

Just be forewarned (again), on 8.x or older, executing bsdconfig will have 
widely unexpected results (it won't eat your homework, but it may or may not 
actually *run*).

However, doing the above 2-step (fetch  pkg_add) will bring in the files 
you're looking for and give you the functionality you're wanting on 8.x.
-- 
Devin

P.S. I really *can't* make the dialog(1) stuff backward compatible with 8.x's 
(or any older's) version of dialog(1). The new `cdialog' variant that was 
brought into 9.x to replace the aging dialog(1)/libdialog pair is has a *lot* 
of functionality that I depend on. It could potentially take months to make 
bsdconfig *fully* backward compatible with 8.x. For now, it's safe if you just 
use the libraries and avoid any/all functions beginning with f_dialog_.

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: .sh script code to determine IPv4 or IPv6

2013-08-06 Thread Teske, Devin

On Aug 6, 2013, at 9:43 AM, Polytropon wrote:

 On Tue, 06 Aug 2013 10:20:05 -0600, markham breitbach wrote:
 On 13-08-03 8:04 AM, Teske, Devin wrote:
 Actually, there's /usr/share/bsdconfig/media/tcpip.subr
 
 
 I don't seem to have that (FreeBSD 8.3-RELEASE). 
 Where would I get that from? 
 
 Maybe from sysutils/bsdconfig in the ports collection?
 I have not checked if this specific subroutine file is
 part of the port...
 

Ah, Polytropon beat me ;D

And yes... to clarify... the port is a mirror of what's in 9.x base. (however, 
see my recent notes in a separate reply; TL;DR: port is 9.x only; proceed only 
if you know you don't care about the dialog(1) aspects of the library code).
-- 
Devin


 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: How to Fix Port Audit showing ports not installed on a system

2013-08-06 Thread Paul Macdonald

On 06/08/2013 17:25, dweimer wrote:
I have a system that I just recently setup port audit, after realizing 
I forgot to install it on the machine.  The problem is that it is 
finding vulnerabilities in several ports that are not installed on 
the  system.  These may have been installed at   one  point and 
removed.  Firefox is one of the ones listed, I know that it was on the 
system previously, but was removed a few months back.  portmaster -l 
and pkg info don't list it as installed,  but port audit shows: 
firefox-20.0,1.  Where would portaudit be picking up these ports 
from?  Is there anyway to reset its  database?



rm -R /var/db/portaudit/

then run portaudit -Fda


--
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07970339546
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA

High Specification Dedicated Servers from £100.00pm


___
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: .sh script code to determine IPv4 or IPv6

2013-08-06 Thread Polytropon
On Tue, 6 Aug 2013 16:50:37 +, Teske, Devin wrote:
 And yes... to clarify... the port is a mirror of what's in 9.x base.
 (however, see my recent notes in a separate reply; TL;DR: port is
 9.x only; proceed only if you know you don't care about the dialog(1)
 aspects of the library code).

I think it should be relatively unproblematic to fetch the
port and only use the subroutines as is, even if it's just
for educational purposes. :-)



-- 
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: .sh script code to determine IPv4 or IPv6

2013-08-06 Thread Teske, Devin

On Aug 6, 2013, at 10:39 AM, Polytropon wrote:

 On Tue, 6 Aug 2013 16:50:37 +, Teske, Devin wrote:
 And yes... to clarify... the port is a mirror of what's in 9.x base.
 (however, see my recent notes in a separate reply; TL;DR: port is
 9.x only; proceed only if you know you don't care about the dialog(1)
 aspects of the library code).
 
 I think it should be relatively unproblematic to fetch the
 port and only use the subroutines as is, even if it's just
 for educational purposes. :-)
 

Right.

Just a warning though, what is fetched in ports is actually in the format of 
what's in HEAD (read: not in the format of what gets installed).

For example, there are things that end up in /usr/share/bsdconfig that aren't 
in the bsdconfig/share/ source directory (e.g., all the stuff under 
/usr/share/bsdconfig/networking is under the source directory 
bsdconfig/networking/share). This may be counter-intuitive from an 
exploratory view if looking at the source directory (what's fetched by ports).

And since the port Makefile will prevent you from turning that fetch'ed source 
directory into an installed software (putting things where they end up), it 
might be easier to grab this pre-built package that I stashed...

http://druidbsd.sf.net/download/bsdconfig/bsdconfig-0.9.0.tbz

Because then you can say pkg_add and everything will be in the right place 
(/usr/share/bsdconfig/ will be flush with everything and you won't have to 
hunt-and-peck through the source with a maintainers view).
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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: .sh script code to determine IPv4 or IPv6

2013-08-06 Thread markham breitbach
I have some scripts that do fairly crude IPv4/6 validation testing. It is 
generally
assumed that the input is coming from someone who knows what they are doing, 
but even the
best of us have fat fingers sometimes :) Having standardized routines for 
something like
this is great!

Thanks,
-Markham

On 13-08-06 11:45 AM, Teske, Devin wrote:
 On Aug 6, 2013, at 10:39 AM, Polytropon wrote:

 On Tue, 6 Aug 2013 16:50:37 +, Teske, Devin wrote:
 And yes... to clarify... the port is a mirror of what's in 9.x base.
 (however, see my recent notes in a separate reply; TL;DR: port is
 9.x only; proceed only if you know you don't care about the dialog(1)
 aspects of the library code).
 I think it should be relatively unproblematic to fetch the
 port and only use the subroutines as is, even if it's just
 for educational purposes. :-)

 Right.

 Just a warning though, what is fetched in ports is actually in the format 
 of what's in HEAD (read: not in the format of what gets installed).

 For example, there are things that end up in /usr/share/bsdconfig that aren't 
 in the bsdconfig/share/ source directory (e.g., all the stuff under 
 /usr/share/bsdconfig/networking is under the source directory 
 bsdconfig/networking/share). This may be counter-intuitive from an 
 exploratory view if looking at the source directory (what's fetched by 
 ports).

 And since the port Makefile will prevent you from turning that fetch'ed 
 source directory into an installed software (putting things where they end 
 up), it might be easier to grab this pre-built package that I stashed...

 http://druidbsd.sf.net/download/bsdconfig/bsdconfig-0.9.0.tbz

 Because then you can say pkg_add and everything will be in the right place 
 (/usr/share/bsdconfig/ will be flush with everything and you won't have to 
 hunt-and-peck through the source with a maintainers view).

___
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: How to Fix Port Audit showing ports not installed on a system

2013-08-06 Thread dweimer

On 08/06/2013 11:58 am, Paul Macdonald wrote:

On 06/08/2013 17:25, dweimer wrote:
I have a system that I just recently setup port audit, after realizing 
I forgot to install it on the machine.  The problem is that it is 
finding vulnerabilities in several ports that are not installed on the 
 system.  These may have been installed at   one  point and removed.  
Firefox is one of the ones listed, I know that it was on the system 
previously, but was removed a few months back.  portmaster -l and pkg 
info don't list it as installed,  but port audit shows: 
firefox-20.0,1.  Where would portaudit be picking up these ports from? 
 Is there anyway to reset its  database?



rm -R /var/db/portaudit/

then run portaudit -Fda


--


Already tried that, but that data only contains the list of known 
vulnerabilities, not the installed ports/packages.  Perhaps, its not 
using pkgng I discovered if I do a pkg info command I get the correct 
list of installed ports and packages.  If I do a pkg_info I get a much 
larger list showing everything as corrupted.


...
pkg_info: the package info for package 'fftw3-3.3.3_1' is corrupt
pkg_info: the package info for package 'filelight-4.10.1' is corrupt
pkg_info: the package info for package 'firefox-20.0,1' is corrupt
pkg_info: the package info for package 'fixesproto-5.0' is corrupt
pkg_info: the package info for package 'flac-1.2.1_3' is corrupt
pkg_info: the package info for package 'flex-2.5.37_1' is corrupt
...

Of course I have WITH_PKGNG=YES in the make.conf, and I believe that 
has been there ever since the server was built.  Is my best option to 
get the correct list from pkg info use rm -r /var/db/pkg/* to clear 
everything out and then reinstall all of the ports?


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
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: How to Fix Port Audit showing ports not installed on a system

2013-08-06 Thread Matthew Seaman
On 06/08/2013 19:23, dweimer wrote:
 Of course I have WITH_PKGNG=YES in the make.conf, and I believe that
 has been there ever since the server was built.  Is my best option to
 get the correct list from pkg info use rm -r /var/db/pkg/* to clear
 everything out and then reinstall all of the ports?

If you've had WITH_PKGNG=YES ever since the server was built then you
shouldn't have any of the old-style pkg_tools entries in /var/db/pkg.

Unless, that is, you've been using pkg_add(1) directly.  Don't do that.
 You just end up with a complete mess.  Remember folks -- pkgng is like
getting married.  Once you go with pkgng, you're not meant to dally with
other package tools, but to stay faithful to pkgng from henceforth.

I hope you've got the old-style pkg_tools per-package subdirectories in
/var/db/pkg because either (i) you used to use pkg_tools and you ran
pkg2ng to convert or (ii) you've been using portmaster, in which case
those sub-directories only /look/ like the result of what pkg_tools
generates, but are really just a place for portmaster to stash a few things.

If those sub-directories contain files called thing like +CONTENTS or
+COMMENT or other names beginning with '+' then you do have a messed up
mixture of old pkg_tools and pkgng.

First: remove all the subdirectories but *not* local.sqlite or
repo.sqlite -- those are rather important bits of pkgng.
Then you can force a reinstall of all packages by

   pkg upgrade -f

Obviusly, you'll need pkg(8) configured to use a repo with all the
appropriate packages available.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: How to Fix Port Audit showing ports not installed on a system

2013-08-06 Thread dweimer

On 08/06/2013 2:55 pm, Matthew Seaman wrote:

On 06/08/2013 19:23, dweimer wrote:

Of course I have WITH_PKGNG=YES in the make.conf, and I believe that
has been there ever since the server was built.  Is my best option to
get the correct list from pkg info use rm -r /var/db/pkg/* to clear
everything out and then reinstall all of the ports?


If you've had WITH_PKGNG=YES ever since the server was built then you
shouldn't have any of the old-style pkg_tools entries in /var/db/pkg.

Unless, that is, you've been using pkg_add(1) directly.  Don't do that.
 You just end up with a complete mess.  Remember folks -- pkgng is like
getting married.  Once you go with pkgng, you're not meant to dally 
with

other package tools, but to stay faithful to pkgng from henceforth.

I hope you've got the old-style pkg_tools per-package subdirectories in
/var/db/pkg because either (i) you used to use pkg_tools and you ran
pkg2ng to convert or (ii) you've been using portmaster, in which case
those sub-directories only /look/ like the result of what pkg_tools
generates, but are really just a place for portmaster to stash a few 
things.


If those sub-directories contain files called thing like +CONTENTS or
+COMMENT or other names beginning with '+' then you do have a messed up
mixture of old pkg_tools and pkgng.

First: remove all the subdirectories but *not* local.sqlite or
repo.sqlite -- those are rather important bits of pkgng.
Then you can force a reinstall of all packages by

   pkg upgrade -f

Obviusly, you'll need pkg(8) configured to use a repo with all the
appropriate packages available.

Cheers,

Matthew


Thanks for the info, I have never used pkg_add, everything has been 
installed via ports and portmaster, but it is possible that some ports 
were installed prior to having the with pkgng added in make.conf, and 
that something happened in the pk2ng conversion.  I thought I had built 
this machine after I had been running with pkgng, but perhaps this one 
was built right as I was switching over to it.  I had originally built 
this machine with Xorg and KDE to use virtual box GUI, and once I became 
comfortable with the commands, switched to vboxheadless and removed all 
the GUI components.  Which is where all the extra ports that were 
removed came from.


I have removed the sub directories, now portaudit doesn't show any 
vulnerabilities in non existent ports, pkg info displays the correct 
installed packages, and portmaster -l matches the installed ports that 
pkg info displays.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
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: Setup HP Laserjet 1120m over network with LPD

2013-08-06 Thread Warren Block

On Tue, 6 Aug 2013, Juris Kaminskis wrote:


after several trials and errors and reading through FreeBSD handbook I am
at dead end on how to proceed further, hope someone can guide me.


Are you sure about that model number?  I can't find specs for a Laserjet 
1120M.  There is a Laserjet M1120.  It's a Winprinter.


The file entries are confusing and use some non-base programs.  You may 
be mixing the base system's lpr/lpd with the CUPS versions of the same 
names from ports.


For plain lpr/lpd, I have this article:
http://www.wonkity.com/~wblock/docs/html/lpdprinting.html
___
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: Setup HP Laserjet 1120m over network with LPD

2013-08-06 Thread Juris Kaminskis
Model number: HP LaserJet M1120n MFP

I try your how-to in few days as it seems I need to redo whole config. I
will post my results, thanks
2013. gada 6. aug. 23:17 Warren Block wbl...@wonkity.com rakstīja:

 On Tue, 6 Aug 2013, Juris Kaminskis wrote:

  after several trials and errors and reading through FreeBSD handbook I am
 at dead end on how to proceed further, hope someone can guide me.


 Are you sure about that model number?  I can't find specs for a Laserjet
 1120M.  There is a Laserjet M1120.  It's a Winprinter.

 The file entries are confusing and use some non-base programs.  You may be
 mixing the base system's lpr/lpd with the CUPS versions of the same names
 from ports.

 For plain lpr/lpd, I have this article:
 http://www.wonkity.com/~**wblock/docs/html/lpdprinting.**htmlhttp://www.wonkity.com/~wblock/docs/html/lpdprinting.html

___
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: Setup HP Laserjet 1120m over network with LPD

2013-08-06 Thread Warren Block

On Wed, 7 Aug 2013, Juris Kaminskis wrote:


2013. gada 6. aug. 23:17 Warren Block wbl...@wonkity.com rakst?ja:
  On Tue, 6 Aug 2013, Juris Kaminskis wrote:

after several trials and errors and reading through FreeBSD 
handbook I am
at dead end on how to proceed further, hope someone can guide me.


  Are you sure about that model number?  I can't find specs for a Laserjet 
1120M.  There is a Laserjet M1120.  It's a Winprinter.

  The file entries are confusing and use some non-base programs.  You may 
be mixing the base system's lpr/lpd with the CUPS versions of the same names 
from ports.

  For plain lpr/lpd, I have this article:
  http://www.wonkity.com/~wblock/docs/html/lpdprinting.html



Model number: HP LaserJet M1120n MFP

I try your how-to in few days as it seems I need to redo whole config. I will 
post my results, thanks


The Laserjet M1120 is a winprinter, which means it does not understand 
plain text or common PDLs like PCL or PostScript.  There is 
print/foo2zjs in ports, but it's meant to be used with CUPS.  I have not 
tested 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: Setup HP Laserjet 1120m over network with LPD

2013-08-06 Thread Polytropon
On Tue, 6 Aug 2013 22:57:27 -0600 (MDT), Warren Block wrote:
 On Wed, 7 Aug 2013, Juris Kaminskis wrote:
 
  2013. gada 6. aug. 23:17 Warren Block wbl...@wonkity.com rakst?ja:
On Tue, 6 Aug 2013, Juris Kaminskis wrote:
 
  after several trials and errors and reading through FreeBSD 
  handbook I am
  at dead end on how to proceed further, hope someone can guide 
  me.
  
 
Are you sure about that model number?  I can't find specs for a 
  Laserjet 1120M.  There is a Laserjet M1120.  It's a Winprinter.
 
The file entries are confusing and use some non-base programs.  You 
  may be mixing the base system's lpr/lpd with the CUPS versions of the same 
  names from ports.
 
For plain lpr/lpd, I have this article:
http://www.wonkity.com/~wblock/docs/html/lpdprinting.html
 
  Model number: HP LaserJet M1120n MFP
  
  I try your how-to in few days as it seems I need to redo whole config. I 
  will post my results, thanks
 
 The Laserjet M1120 is a winprinter, which means it does not understand 
 plain text or common PDLs like PCL or PostScript.  There is 
 print/foo2zjs in ports, but it's meant to be used with CUPS.  I have not 
 tested it.

It seems that a HPLIP interface is available for this printer,
so it should probably work with CUPS and _maybe_ with the
normal means of printing (FreeBSD printer spooler plus a
printer filter that turns PS, the _default_ output language
for printing, into the specific non-standard language that
printer wants to be spoken to in).

http://hplipopensource.com/hplip-web/models/laserjet/hp_laserjet_m1120_mfp.html

http://foo2xqx.rkkda.com/

I'm using a similar approach for a terrible Samsung color
laserprinter (foo2qpdl-wrapper in my specific case) which
I could easily integrate with the already mentioned CUPS,
as well as the normal system's printer subsystem.

However, I also have not tested if it works for the M1120,
because I prefer to use printers that work, that's why I
don't own such a thing. :-)


-- 
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: AMD Phenom II X4 temperature issues (was Re: hardware monitor)

2013-08-05 Thread Eugene

Hello Gary,

Also make sure there is no packed dirt on the heatsink -- I don't know about 
AMDs, but older Intel heatsinks often tend to accumulate a paper-like layer 
of dirt on the 'top' of heatsink grid, blocking the airflow. I once had 
several thermal shutdowns on my home PC before I found that. This does not 
seem to happen with newer heatsinks so they must have changed the design 
somehow =)


Best wishes
Eugene

-Original Message- 
From: Peter Giessel

Sent: Monday, August 05, 2013 8:23 AM
To: Gary Aitken
Cc: freebsd-questions@freebsd.org
Subject: Re: AMD Phenom II X4 temperature issues (was Re: hardware monitor)

You can also try shutting down (obviously), then removing the heat sink, put 
some thermal paste on the processor and reinstall the heat sink.  Sometimes 
there isn't much (any) thermal paste there and the processor can't get the 
heat into the heat sink.


On 2013, Aug 4, at 15:22, Gary Aitken vagab...@blackfoot.net wrote:


Ok, so now I see that my cpu temperature shoots up pretty dang fast when a
build is going on.


___
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: AMD Phenom II X4 temperature issues (was Re: hardware monitor)

2013-08-05 Thread Frank Leonhardt

On 05/08/2013 06:05, Gary Aitken wrote:

On 08/04/13 21:39, Frank Leonhardt wrote:
This suggests it's not the ACPI in FreeBSD shutting you down, but
something on the motherboard.
That was my guess as well.

big snip

As it's probably not FreeBSD you're now asking on the wrong list, and 
other than cooling advice you're not going to get much (unless there are 
any closet over-clockers hereabouts). Personally I favour filling the 
whole case with a pumped fluorocarbon like FC-77 and using a heat 
exchanger to take the heat away in water to use in a fountain in my 
hallway ;-)


The one sensible suggestion no one has made is to check if a BIOS 
upgrade doesn't fix it. As to getting FreeBSD to manage it instead of 
the BIOS: Unfortunately not all chipsets and motherboards are supported. 
If you want to add support yourself see:


/usr/src/sys/dev/acpica

If you want to get some idea of what you're up against see:

/usr/src/sys/dev/acpica/acpi_quirks

I've thought about it a few times but real work always got in the way.

Regards, Frank.

___
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: AMD Phenom II X4 temperature issues (was Re: hardware monitor)

2013-08-05 Thread Perry Hutchison
Gary Aitken vagab...@blackfoot.net wrote:

 Air ducting shouldn't be a problem; I've got the side of the case off...

This just might be part of the problem.  Air plumbing
is not as forgiving as it was in the old days.
___
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: Update /usr/src with subversion

2013-08-05 Thread Matthew Seaman
On 05/08/2013 09:00, David Noel wrote:
 Does anyone know how a workaround for having to rm -rf /usr/src every
 time the source URL changes? I'm updating from 8.3 to 8.4 with
 subversion and got a message along the lines of Error: /usr/src/
 contains files from a different URL. -David

You need 'svn switch' -- so, if you've got some other branch checked
out, and you want to have 8.4-RELEASE instead, then it's something like:

   # svn switch ^/base/releng/8.4

This will speedily change your checked out tree with minimal network IO.

You can also use 'svn switch --relocate' to change which svn servers you
have the tree checked out from or the protocol (svn://, https:// etc)
used.  See the output of 'svn help switch' for details.

Cheers,

Matthew

___
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: Update /usr/src with subversion

2013-08-05 Thread David Noel
Ok great, thanks Matthew. I tried a different search query and
actually found a similar question on the forums:
http://forums.freebsd.org/showthread.php?t=35014

Your solution looks a bit cleaner than the one proposed there: rm -r
/usr/src/.svn, and then check out the new branch.

I'll check out the man for svn switch.

Thanks again,

-David

On 8/5/13, Matthew Seaman matt...@freebsd.org wrote:
 On 05/08/2013 09:00, David Noel wrote:
 Does anyone know how a workaround for having to rm -rf /usr/src every
 time the source URL changes? I'm updating from 8.3 to 8.4 with
 subversion and got a message along the lines of Error: /usr/src/
 contains files from a different URL. -David

 You need 'svn switch' -- so, if you've got some other branch checked
 out, and you want to have 8.4-RELEASE instead, then it's something like:

# svn switch ^/base/releng/8.4

 This will speedily change your checked out tree with minimal network IO.

 You can also use 'svn switch --relocate' to change which svn servers you
 have the tree checked out from or the protocol (svn://, https:// etc)
 used.  See the output of 'svn help switch' for details.

   Cheers,

   Matthew

 ___
 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: AMD Phenom II X4 temperature issues (was Re: hardware monitor)

2013-08-05 Thread RW
On Mon, 5 Aug 2013 10:33:55 +0400
Eugene wrote:

 Hello Gary,
 
 Also make sure there is no packed dirt on the heatsink -- I don't
 know about AMDs, but older Intel heatsinks often tend to accumulate a
 paper-like layer of dirt on the 'top' of heatsink grid, blocking the
 airflow. I once had several thermal shutdowns on my home PC before I
 found that. This does not seem to happen with newer heatsinks so they
 must have changed the design somehow =)

I had a AMD Phenom II X4 and it had exactly that problem. Every few
months I had to remove the fan to get a brush into the fins. An idle
temperature of 45 C sounds about right for one that's been neglected.
___
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


<    4   5   6   7   8   9   10   11   12   13   >