Re: chmod... what am I missing?

2013-03-04 Thread Bas Smeelen

On 03/04/2013 12:40 PM, Ronald F. Guilmette wrote:

I must not be attending the Right conferences, or else the Right parties,
because I don't get the joke.

Could somebody please explain to me the meaning of the BUGS section of the
chmod(1) man page, as distributed with 9.1-RELEASE?


http://www.mail-archive.com/svn-src-all@freebsd.org/msg04124.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


Copyright notice in 9.1-RELEASE-p1 is 1992-2012 instead of 1992-2013

2013-02-22 Thread Bas Smeelen
I just upgraded to systems from 7.4-STABLE to 9.1-RELEASE-p1 and noticed 
that the copyright shows 1992-2012 instead of 1992-2013


Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.4-STABLE #0 r247092: Thu Feb 21 11:22:38 CET 2013


Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-RELEASE-p1 #1: Fri Feb 22 11:14:03 CET 2013


In CURRENT it is OK

Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #2 r246823: Mon Feb 18 08:04:55 CET 2013


___
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: pkg_add problems after upgrading to 9.1-RELEASE and a fix

2013-02-20 Thread Bas Smeelen

On 02/20/2013 12:20 PM, paranormal wrote:

And there was an unofficial pkg repository, I can't find where, it was
mentioned recently.


There was a message on the stable list
http://lists.freebsd.org/pipermail/freebsd-stable/2013-February/072037.html



On Fri, 2013-02-15 at 11:03 +0100, Eduardo Morras wrote:

Hi all, yesterday i updated my server to 9.1-RELEASE from 8.3. After that, 
while recompiling the ports and packages i get a lot off errors trying to get 
9.1-RELESASE packages and all recompiled from ports.

The problem is that there's no 9.1-RELEASE directory in ftp.freebsd.org server. 
I solved it after changing the path to fetch from 9-STABLE instead. A better 
fix i think it's to add that directory or make a ln to stable.

The url where add the fault directory is:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/

the fault directoy is :

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/

An example of the error is:

root@camibar:/usr/ports/www # pkg_add -r zen-cart
Error: Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz:
 File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz'
 by URL

I made the recompilation of ports with portmaster as noted in 'man portmaster' with 
this options (from memory, it's not a cp)

#portmaster -P -R -D `cat /root/installed_ports_list`

Thanks In Advance

---   ---
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: which pkg repository with 9.1

2013-02-04 Thread Bas Smeelen

On 02/05/13 04:22, Polytropon wrote:

On Mon, 04 Feb 2013 21:04:40 -0600, Joseph A. Nagy, Jr wrote:

I've almost always built from source since I switched to FreeBSD (I
sometimes, during the initial installation, used pkgs), it's longer but
more reliable.


There was a message on the stable list
http://lists.freebsd.org/pipermail/freebsd-stable/2013-February/072037.html

I use poudriere at the moment which works very well


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


Re: binary updates for firefox and chromium?

2013-02-01 Thread Bas Smeelen

On 01/31/2013 10:50 PM, Peter Vereshagin wrote:

Hello.

2013/01/31 21:42:50 + Walter Hurry walterhu...@gmail.com = To 
freebsd-questions@freebsd.org :
WH  WH What, for example, is the problem with compiling Firefox 18 from the
WH  port?
WH  WH
WH  WH It takes about an hour to compile on my main box (9.1 Release on-
WH  WH x86_64), which has nothing special at all by way of hardware.
WH 
WH  It use to take me a day (~20h) to rebuild each of: www/firefox,
WH  www.seamonkey, mail/thunderbird.
WH
WH 20h? What on earth is your hardware?

Neither hurry nor x86_64.

But the browser performance is satisfactory.

Thank you.


On a 8 year old laptop with celeron 1,6GHz processor and 2GB RAM it takes 
about 10 hours to rebuild firefox and thunderbird.
Performance is great for working, but when updating the ports I leave it 
building over night.
Lately I have been able to use a server at work for package building with 
poudriere which works very well.


I guess FreeBSD people are close to having a new package infrastructure and 
look forward to this.




___
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: Network PHY driver source code

2013-01-30 Thread Bas Smeelen

On 01/30/2013 12:13 PM, Hrisikesh sahu wrote:

Hi all,
Could you guide me where I can find all the supported PHY driver source
code details ?
I want to know what are the PHY drivers supported within Freebsd 9.1
Release.

Please help me on this.

Regards
Hrisikesh


Hi
My guess: /usr/src/sys/dev/mii



___
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: Network PHY driver source code

2013-01-30 Thread Bas Smeelen

On 01/30/2013 02:43 PM, Hrisikesh sahu wrote:

Thanks a lot for quick reply.
There is no file within /usr/src folder.

Could you please tell me how to get those source files for freebsd 9.1
release?



You didn't install the sources when installing FreeBSD?
For 9.1-RELEASE i386 you can get the sources from
ftp://ftp.nl.freebsd.org/mirror/FreeBSD/releases/i386/9.1-RELEASE/src.txz
for instance
or the amd64 sources from
ftp://ftp.nl.freebsd.org/mirror/FreeBSD/releases/amd64/9.1-RELEASE/src.txz

Then unpack with tar xf src.txc
The result is usr/src unpacked in your current directory, move src to /usr/src





On Wed, Jan 30, 2013 at 6:31 PM, Bas Smeelen b.smee...@ose.nl wrote:


On 01/30/2013 12:13 PM, Hrisikesh sahu wrote:


Hi all,
Could you guide me where I can find all the supported PHY driver source
code details ?
I want to know what are the PHY drivers supported within Freebsd 9.1
Release.

Please help me on this.

Regards
Hrisikesh


Hi
My guess: /usr/src/sys/dev/mii




___
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: A little OT: VNCviewer recent_hosts does not work

2013-01-16 Thread Bas Smeelen

On 01/16/2013 12:08 PM, Leslie Jensen wrote:


I'm using vnc-4.1.3_5 on FreeBSD 9.1-RELEASE with xfce4.

I have about 10 different hosts that I usually connect to.

I would like these hosts to be in a drop down menu so I just have to pick 
the one I need to connect to.


From what I can read on-line the hosts should be saved to
$HOME/.vnc/recent_hosts

This file is not created by vncviewer and adding it manually has no effect.

I would like to know if it's possible and in that case how to achieve what 
I want.


Thank you.

/Leslie


I'm not sure about vnc but use remmina for this type of stuff.
When installed with the appropriate plugins, it can connect via vnc, ssh and 
rdp.




___
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: FB 9.1 boot loader problem in VirtualBox

2013-01-06 Thread Bas Smeelen

On 01/06/2013 01:51 PM, Michael Powell wrote:

Michael Powell wrote:

[snip]

The converse may be applicable as well, that Vbox has configurability to
know a little something about the environment for the proposed guest. When
creating a new VM, you can choose BSD in the Operating System drop-down
and then choose FreeBSD or FreebSD-64. I've had no trouble installing the
9.1 Release disk1 CD into a Vbox VM (amd64 version). What I have not done
is tried all the various partitioning schemes available under Manual
config. Possibly one, such as Dos MBR or BSD disklabel which I have not
tried, may be broken boot-loading wise. I only went straight down the GPT
road.

Addendum:

Also, which I forgot and left out in my haste, I think I have seen most
reports of people having trouble seems to have revolved around the Auto
partitioning scheme choice in the new bsdinstaller. I avoided it and went
straight to Manual as I prefer to do my own. IIRC the Auto provides one
slice and one partition and throws everything in there. I still wish to have
separate partitions for /, /usr, /var, etc, so I've also never tried the
Auto scheme either. Maybe if this is the problem the OP may wish to try
avoiding Auto and proceed directly to Manual. Might rule something out.

-Mike




Auto configures your system with three gpt partitions
freebsd-boot where the bootstrap code is installed
freebsd-ufs which is the / partition
freebsd-swap for swap obviously

There are no slices involved in the default installation.



___
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: kldload if_run error

2012-12-22 Thread Bas Smeelen

On 12/22/12 13:48, Вячеслав Агапов wrote:

Hello.

I try load if_run module on freebsd and got error
uname -a
FreeBSD 9.0-STABLE #0 r23

kldload if_run
kldload: can't load if_run: Exec format error
interface run.1 already present in the KLD 'kernel'!


device run is in compiled into generic kernel
you don't have to load the module since the driver is already included 
in the kernel



linker_load_file: Unsupported file type

on FreeBSD 9.1-PRERELEASE i got the same error.

help me. How i can load this module?
I wont use usb wi-fi model d-link dwa-125.

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



___
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: exclude directories from find command

2012-12-22 Thread Bas Smeelen

On 12/22/12 15:22, Jack Mc Lauren wrote:

Hi fellas
How can I exclude specific directories from my find command ? I want to look 
for all files in the whole system except for those in e.g /extra directory.
I use this command to find all files, but how can I exclude /extra directory ?

find / -type f


find -path /extra -prune -o -type f



Thanks in advance ...
___
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


poudriere upgade perl in jail

2012-12-22 Thread Bas Smeelen
I have poudriere setup on a server to compile packages for my old 
laptop, mini, and some friends laptops and it works great.


How can I upgrade the perl version of the poudriere jail to perl-5.16, 
it is now perl-5.14?


I tried startied the jail with poudriere jail -s -j and then try jail 
command=portmaster -o lang/perl5.16 lang/perl5.14 but can't get this to 
work.


Should I just wipe the jail, then recreate and first build perl5.16 in 
it before building the other packages?


I have read the man pages for poudriere and jail and searched the web 
for this, but can't get to the right solution.


Thanks in advance.



___
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: poudriere upgade perl in jail

2012-12-22 Thread Bas Smeelen

On 12/22/12 17:08, Patrick Lamaiziere wrote:

Le Sat, 22 Dec 2012 16:56:09 +0100,
Bas Smeelen b.smee...@ose.nl a écrit :


I have poudriere setup on a server to compile packages for my old
laptop, mini, and some friends laptops and it works great.

How can I upgrade the perl version of the poudriere jail to
perl-5.16, it is now perl-5.14?

I tried startied the jail with poudriere jail -s -j and then try jail
command=portmaster -o lang/perl5.16 lang/perl5.14 but can't get this
to work.

Should I just wipe the jail, then recreate and first build perl5.16
in it before building the other packages?

I think PERL_VERSION=5.16.X in the poudriere jail's make.conf will do
the trick.

Then you will have to rebuild all the poudriere packages (not sure if
this is safe else)


Alright. Thanks! That did it. It looks like it deleted all perl5.14 
dependent packages and is rebuilding them now with perl5.16.2 Great :)


Maybe I should have asked the question before spending a day figuring 
out how.


Merci beaucoup.



___
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


portmaster: hal-0.5.14_20 and xorg-server-1.7.7_6, 1 (re)installation fails

2012-12-18 Thread Bas Smeelen
When running portmaster -d -w -r pcre because of the upgrade from 
pcre-8.31 to pcre-8.32 I encountered the following inconveniences:


Upgrade to hal-0.5.14_20 failed with the message it needs intltool  
0.40 which was installed at the time. First upgrading to intltool-0.41.1 
solved this.


When reinstalling xorg-server-1.7.7_6,1 with portmaster today:

Making install in xkb
mkdir: /usr/local/share/X11/xkb/compiled: No such file or directory
mkdir: /usr/local/share/X11/xkb/compiled: No such file or directory

So I checked /usr/local/share/X11/xkb/compiled and this is a symlink to 
/var/lib/xkb which did not exist at the time. I created /var/lib/xkb and 
the installation went fine then. There is one file installed in this 
location: README.compiled


This worked, but is it the right solution? Does anyone know what changed 
maybe?


This is on 9.1-RELEASE with a portstree just updated with portsnap. 
Previous versions of the ports were from about 20 days ago. Everything 
is installed the standard way.


Just if someone runs into these issues these may be found in the list 
(or already have been solved in ports) Things like this do not happen 
too often.


___
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: updatedb?

2012-12-18 Thread Bas Smeelen

On 12/18/12 22:32, RW wrote:

On Tue, 18 Dec 2012 21:01:33 + (UTC)
Walter Hurry wrote:


$ sudo /usr/libexec/locate.updatedb

WARNING
Executing updatedb as root.  This WILL reveal all filenames
on your machine to all login users, which is a security risk.

$

Why is it a security risk? Security through obscurity? Really? In
this day and age?

Or am I missing something?

If permissions have been set to prevent other users reading filenames
then obviously leaking file names is security issue.


Yes. But as stated before it defaults to run as user nobody.

Line 26 /etc/periodic/weekly/310.locate
echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3

No issue there.

If someone runs it as root it can be, as everything being run as root, a 
security issue.




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


Re: updatedb?

2012-12-18 Thread Bas Smeelen

On 12/18/12 23:04, C. P. Ghost wrote:

On Tue, Dec 18, 2012 at 10:01 PM, Walter Hurry walterhu...@gmail.com wrote:

$ sudo /usr/libexec/locate.updatedb

WARNING
Executing updatedb as root.  This WILL reveal all filenames
on your machine to all login users, which is a security risk.

$

Why is it a security risk? Security through obscurity? Really? In this
day and age?

Or am I missing something?

Suppose someone managed to start a shell under your account
and is seeking to escalate privileges, i.e. to become root. If he can
look at a full unrestricted locatedb, he may pay particular attention
to config files, log files etc... that may otherwise be hidden from sight.


locate.updatebd is _not_ run as root by default.
See Polytropon's and other replies.

If root runs it, it is root's responsibility that others can obtain all 
filenames on the system.




Just by looking at this, he may infer that a particular software package
at a particular revision is actually running on that host and is configured
in a particular way. E.g., he may see that logfiles accumulate in /var/log
and are cleaned only once a week. It would be then easy to induce that
program to create more log files, thus denying service to other programs
that need /var as well. This, in turn, could result in real exploits of those
other programs...

Sure, most of this is already world-visible and in the regular locatedb
because we're so liberal with the rights of /var/db/pkg, /var/log, /etc, ... but
some admins prefer to hide particularly sensitive programs, their configs,
logs etc., in a non-world-readable directory hierarchy. Running
locate.updatedb(8) with root privileges would defeat that strategy.
That's why it is discouraged.

Of course, this is even more necessary when you have regular users on
that machine that don't necessarily trust each others. They wouldn't like
their home dirs to be world-readable by default by everyone else. Maybe
they won't object (and set /home/$USER to -rwxr-xr-x instead of -rwxr-x---
or -rwx--) but that's their call, not the sysadmin's.

-cpghost.




___
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: updatedb?

2012-12-18 Thread Bas Smeelen

On 12/18/12 23:44, RW wrote:

On Tue, 18 Dec 2012 22:53:29 +0100
Polytropon wrote:


On Tue, 18 Dec 2012 21:32:50 +, RW wrote:

On Tue, 18 Dec 2012 21:01:33 + (UTC)
Walter Hurry wrote:


$ sudo /usr/libexec/locate.updatedb

WARNING
Executing updatedb as root.  This WILL reveal all filenames
on your machine to all login users, which is a security risk.

$

Why is it a security risk? Security through obscurity? Really?
In this day and age?

Or am I missing something?

If permissions have been set to prevent other users reading
filenames then obviously leaking file names is security issue.

There are no leaking file names,

There is from the perspective of an ordinary user that's configured
directories under ~ to be confidential.


as by command, the tool does
what it is requested to: to not obey the restrictions that apply
in its _normal_ use and list _all_ file names instead.

Obviously. But the warning is intended for people that haven't
thought through the consequences of what they are doing.


Agree. It is good to be there. Should be clear to Walter I guess. It is 
not security through obscurity, it is security by permissions and 
controls, and root can circumvent these and expose potential security 
risks by information to others or the world, thus the warning when 
running it as root.


Thanks.




On Tue, 18 Dec 2012 22:49:43 +0100
Bas Smeelen wrote:



Yes. But as stated before it defaults to run as user nobody.

Line 26 /etc/periodic/weekly/310.locate
echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3

This is true but not very relevant.

It runs as nobody from the periodic script, but the warning comes from
locate.updatedb itself, which may be run independently of 310.locate.


If someone runs it as root it can be, as everything being run as
root, a security issue.

Not really, mostly when things are run as root there is an additional
risk. Very few things do the wrong thing simply as a consequence of
running as root so it warrants a warning.


Fully agree. Root can be a liability though.


___
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: updatedb?

2012-12-18 Thread Bas Smeelen

On 12/18/12 23:04, C. P. Ghost wrote:

On Tue, Dec 18, 2012 at 10:01 PM, Walter Hurry walterhu...@gmail.com wrote:

$ sudo /usr/libexec/locate.updatedb

WARNING
Executing updatedb as root.  This WILL reveal all filenames
on your machine to all login users, which is a security risk.

$

Why is it a security risk? Security through obscurity? Really? In this
day and age?

Or am I missing something?

Suppose someone managed to start a shell under your account
and is seeking to escalate privileges, i.e. to become root. If he can
look at a full unrestricted locatedb, he may pay particular attention
to config files, log files etc... that may otherwise be hidden from sight.

Just by looking at this, he may infer that a particular software package
at a particular revision is actually running on that host and is configured
in a particular way. E.g., he may see that logfiles accumulate in /var/log
and are cleaned only once a week. It would be then easy to induce that
program to create more log files, thus denying service to other programs
that need /var as well. This, in turn, could result in real exploits of those
other programs...

Sure, most of this is already world-visible and in the regular locatedb
because we're so liberal with the rights of /var/db/pkg, /var/log, /etc, ... but
some admins prefer to hide particularly sensitive programs, their configs,
logs etc., in a non-world-readable directory hierarchy. Running
locate.updatedb(8) with root privileges would defeat that strategy.
That's why it is discouraged.

Of course, this is even more necessary when you have regular users on
that machine that don't necessarily trust each others. They wouldn't like
their home dirs to be world-readable by default by everyone else. Maybe
they won't object (and set /home/$USER to -rwxr-xr-x instead of -rwxr-x---
or -rwx--) but that's their call, not the sysadmin's.

-cpghost.



Sorry, cpghost, I missed the point. Clear explanation.
Should such programs be modified so there is never a change to being run 
as root?


I guess there are environments where measures like these are taken, no 
warning, just refuse to run as root?


___
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


zfsboot error 1 just sometimes

2012-12-13 Thread Bas Smeelen
Sometimes when I start my laptop it does not start with the following 
message

zfsboot: error 1 lba 48
zfsboot: error 1 lba 0
zfsboot: no ZFS pools located, can't boot

FreeBSD ZFSroot is installed on a MBR partitioned hard disk in the 
second slice which has two partitions: freebsd-zfs and freebsd-swap. I 
installed the boot code according to the wiki with:


dd if=/mnt2/boot/zfsboot of=/dev/ada0s2 count=1
dd if=/mnt2/boot/zfsboot of=/dev/ada0s2a skip=1 seek=1024

It just happens sometimes.

The reason I ask is because I want to backup and then repartition the 
disk with GPT and just put FreeBSD ZFSroot on it, but maybe I should use 
UFS instead?


I used smartctl to get some diskinfo and the only thing I can think of 
is the error disk power-on.
 40 51 7c e4 84 fb e8  Error: UNC 124 sectors at LBA = 0x08fb84e4 = 
150701284


There are no reallocated sectors though, to me it seems the disk should 
be fine?

Does anybody have a suggestion?

Thanks in advance.

Output of smartctl below:

smartctl 6.0 2012-10-10 r3643 [FreeBSD 9.1-RC3-p1 i386] (local build)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Hitachi Travelstar 5K160
Device Model: Hitachi HTS541612J9AT00
Serial Number:SB0D04E4H02PUE
LU WWN Device Id: 5 000cca 51ece21a7
Firmware Version: SBDOA70H
User Capacity:120,034,123,776 bytes [120 GB]
Sector Size:  512 bytes logical/physical
Device is:In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 T13/1532D revision 1
Local Time is:Thu Dec 13 09:41:34 2012 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status:  (   0)The previous self-test 
routine completed

without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (  645) seconds.
Offline data collection
capabilities:  (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:(0x0003)Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01)Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time:  (   2) minutes.
Extended self-test routine
recommended polling time:  (  73) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE UPDATED  
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000b   100   100   062Pre-fail 
Always   -   0
  2 Throughput_Performance  0x0005   100   100   040Pre-fail 
Offline  -   0
  3 Spin_Up_Time0x0007   083   083   033Pre-fail 
Always   -   3
  4 Start_Stop_Count0x0012   099   099   000Old_age 
Always   -   2754
  5 Reallocated_Sector_Ct   0x0033   100   100   005Pre-fail 
Always   -   0
  7 Seek_Error_Rate 0x000b   100   100   067Pre-fail 
Always   -   0
  8 Seek_Time_Performance   0x0005   100   100   040Pre-fail 
Offline  -   0
  9 Power_On_Hours  0x0012   095   095   000Old_age 
Always   -   2312
 10 Spin_Retry_Count0x0013   100   100   060Pre-fail 
Always   -   0
 12 Power_Cycle_Count   0x0032   099   099   000Old_age 
Always   -   2673
191 G-Sense_Error_Rate  0x000a   100   100   000Old_age 
Always   -   0
192 Power-Off_Retract_Count 0x0032   100   100   000Old_age 
Always   -   58
193 Load_Cycle_Count0x0012   097   097   000Old_age 
Always   -   36981
194 Temperature_Celsius 0x0002   250   250   000Old_age 
Always   -   22 (Min/Max 13/45)
196 Reallocated_Event_Count 0x0032   100   100   000Old_age 
Always   -   62
197 Current_Pending_Sector  0x0022   100   100   000Old_age 
Always   -   0
198 Offline_Uncorrectable   0x0008   100   100   000Old_age 
Offline  -   0
199 UDMA_CRC_Error_Count0x000a   200   200   000Old_age 
Always   -   0
223 Load_Retry_Count0x000a   100   100  

Re: FreeBSD Release Date Challenge, plus other stuff the project needs

2012-12-10 Thread Bas Smeelen

On 12/11/2012 08:17 AM, Stephen Cook wrote:

On 12/11/2012 1:52 AM, Anonymous wrote:

We, the users of FreeBSD, *do hereby challenge* the FreeBSD project
to meet its future release dates.


Similarly, I'm a bit concerned that 9.0 loses support at the end of 
January, but there is no release date for 9.1 (at 
http://www5.us.freebsd.org/releases/9.1R/schedule.html, the last actual 
date shown is November 3, 2012, for RC3). I'm confused as to the best 
course of action: continue to use an unsupported version and hope the new 
one comes out sooner than later, or downgrade to a supported version (8.3).


I know FreeBSD is free and community-supported, but this still seems a 
bit... improper? Right now I'm only dealing with personal machines (and 
nothing truly vital at that), but I am formulating plans to use FreeBSD 
commercially and this makes me uneasy.


Well for production servers I have the habit of staying on 8.3-RELEASE, in 
this case, which is supported until April 30 2014 and then move them to 
9.1-RELEASE

I have been doing so for previous releases also, no need to get worried.

For personal and testing systems, like being not for clients production 
systems, I use whatever is desired, RELEASE, BETA, or RC (freebsd-update) 
and STABLE, or CURRENT (source svn)




___
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.1-RC3 LiveCD missing features

2012-12-07 Thread Bas Smeelen

On 12/08/12 00:05, Tomek CEDRO wrote:
On 12/07/12 23:11, Chuck Burns wrote:

On 12/7/2012 3:50 PM, CeDeROM wrote:

Hello

I have tried to chceck for badblocks on my / but I did not find 
badblocks
program on LiveCD and there is no option to install it. This is very 
useful

utility, please add it as part of LiveCD

Also there is a problem with DHCP based workstations using LiveCD -
although interface gets configured it is impossible to update
/etc/resolv.conf (by dhclient and by hand) and so this workstation 
pretty

useless for IPv4 (is it more usable on IPv6?). Please update

Thank you
Tomek




dd if=/dev/zer of=/dev/ada0

^^^ There's your badblocks program.  Any hard drive made in the last 
decade have been self-remapping..  Attempting to write to a bad block 
will cause the hard drive to remap an unused sector into it's place, 
until the drive runs out of said unused backup sectors, and at that 
time, will begin simply begin just losing storage space... IE the 
number of total sectors on the drive will begin to shrink.





/dev/zero

Badblocks is outdated for more than 17 years I guess
The dd mentioned above will let the firmware remap all bad sectors until 
there are no spare sectors left (and wipe anything on disk as a bonus 
;then you can begin to think about replacing your harddrive.


As for DHCP, it works for me when booting from a netinstall for instance 
or going to fixit.
Tomek, please try to describe more accurately what you are doing and try 
to accomplish



As I get ffs_valloc kernel panic on my / I want to check for badblocks but
cannot do that from the system itself so I need another FreeBSD instance to
run badblocks on unmounted /. There are no badblocks on LiveCD and I cannot
simply download it with pkg_add -r. Installing another system just to test
existing one seems silly. It would be nice to finally have swiss army knife
on generic LiveCD FreeBSD install, not using linux windows hirens etc :-)

I have just started dd if=root of=root from LiveCD, Ill let you know if
that worked :-)


I will be surprised what that will do for you

I have lloked at the picture and all I can come up wih is either bad 
hardware or a very strange software/system configuration.


Good luck
Please reply to this list if any

___
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: Questions not working again?

2012-12-07 Thread Bas Smeelen

On 12/08/12 01:00, Erich Dollansky wrote:

Hi,

On Fri, 07 Dec 2012 13:32:40 -1000
Al Plant n...@hdk5.net wrote:


Aloha FreeBSD mail list.

This is the second month that it questions have stopped working to my
mail box. All the other lists are fine that I subscribe to. My
firewall spam wall has not been changed.


what Do you mean? You could not post to it?

You did not get any messages from it anymore?

Erich


Any way to fix this?


There is no difference between the mails I get from questions and what I 
got in my mail




~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

___
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: Questions not working again?

2012-12-07 Thread Bas Smeelen

On 12/08/12 01:04, Bas Smeelen wrote:

On 12/08/12 01:00, Erich Dollansky wrote:



Hi,

On Fri, 07 Dec 2012 13:32:40 -1000
Al Plant n...@hdk5.net wrote:


Aloha FreeBSD mail list.

This is the second month that it questions have stopped working to my
mail box. All the other lists are fine that I subscribe to. My
firewall spam wall has not been changed.


what Do you mean? You could not post to it?

You did not get any messages from it anymore?

Erich


Any way to fix this?


There is no difference between the mails I get from questions and what 
I got in my mail


The mail in archives on http-list I meant

___
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: root filesystem and soft-update

2012-12-04 Thread Bas Smeelen

On 12/04/12 22:50, Rick Miller wrote:

Hi all,

I remember one time seeing a site that explained why soft-updates was
not enabled for the root filesystem.  I tried looking for it earlier,
but failed to locate it.  Is there someone who knows where it is?

--
Rick


Hi Rick

Maybe in the FAQ? http://www.freebsd.org/doc/faq/disks.html#safe-softupdates



___
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: Recent security announcement and csup/cvsup?

2012-11-20 Thread Bas Smeelen
On 11/20/2012 12:45 PM, Mohacsi Janos wrote:
 Dear Ollivier and all,
 I have problem with the portsnap: I maintain a private repository 
 under the /usr/ports: There is a /usr/ports/tmp where I store new ports to 
 be tested, and submitted. The portsnap is removing unrecognized local files.
 With cvsup I don't have such a problem.
 I have no information about pkgng, whether I can maintain private 
 repository with pkgng or not?

I guess the best in this case is to switch to subversion.
http://wiki.freebsd.org/PortsSubversionPrimer



 Janos Mohacsi
 Head of HBONE+ project
 Network Engineer, Director Network and Multimedia
 NIIF/HUNGARNET, HUNGARY
 Co-chair of Hungarian IPv6 Forum
 Key 70EF9882: DEC2 C685 1ED4 C95A 145F  4300 6F64 7B00 70EF 9882

 On Tue, 20 Nov 2012, Ollivier Robert wrote:

 According to Gary Palmer on Sun, Nov 18, 2012 at 01:04:21PM -0500:
 In other words: while signed updates via freebsd-update and portsnap
 are great for a good chunk of users, they don't address everyones needs.

 Hopefully, with the move toward kngng, there will be less need of 
 portsnap (and /usr/ports for that matter).

 -- 
 Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- robe...@keltia.net
 In memoriam to Ondine, our 2nd child: http://ondine.keltia.net/ 



This e-mail message, including any attachment(s), is intended solely for the 
addressee or addressees. Any views or opinions presented herein are solely 
those of the author and do not necessarily represent those of OSE.

If you are not the intended recipient of this communication please return this 
e-mail message and the attachment(s) to the sender and delete and destroy all 
copies.

___
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: WARNING: FreeBSD 9.0-RELEASE is approaching its End-of-Life date.

2012-11-16 Thread Bas Smeelen
On 11/16/2012 08:52 AM, Matthias Petermann wrote:
 Hi Andreas,
 do I understand it right - the default behaviour of freebsd-update will
 be to update a 9.0 system to 9.1 when it becomes available? So this is
 a rolling procedure?

Hi

No it only updates the release you have.
To upgrade you wil have to use -r and specify the release
In other words to upgrade use
freebsd-update -r 9.1-RELEASE upgrade

 I ask this because I could not find a parameter etc. in the man page
 which may influent this, e.g. to limit updates to stay in a main
 release (9.0, 9.0-p1, 9.0-p., 9.0-p12) but don't upgrade to 9.1.
 Kind regards,
 Matthias
 Am Freitag, 16. November 2012 00:25 CET, Andreas Rudisch
 cyb.@gmx.net schrieb:

   On Thu, 15 Nov 2012 23:46:53 +0100
   Matthias Petermann wrote:
Thanks for the clearification. One technical thing: is it
   possible, to upgrade
from FreeBSD 9.0 to 9.1 with the freebsd-update utility?
   Yes, it is.



This e-mail message, including any attachment(s), is intended solely for the 
addressee or addressees. Any views or opinions presented herein are solely 
those of the author and do not necessarily represent those of OSE.

If you are not the intended recipient of this communication please return this 
e-mail message and the attachment(s) to the sender and delete and destroy all 
copies.

___
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 9.1 and SU+J

2012-11-04 Thread Bas Smeelen
On 11/03/2012 07:30 PM, Herbert J. Skuhra wrote:
 On 03.11.2012 13:48, Doug Hardie wrote:

 I didn't notice that journaling is on by default and now dump is
 failing.  The only way I can see to disable journaling requires that
 the file system be dismounted, or read-only.  This is a remote machine
 and journaling is on root.  Is there any other way that would not
 require me to make a long trip out to the site?

 This is a task for mfsBSD: http://mfsbsd.vx.sk

Hmm, I think you have to make a trip or get some kind of remote console 
over ip.
I tried it remote on a 9.1-RC2 system that has / /tmp /var and /usr as 
seperate partions
For / i can do a mount -o ro / and tunefs -j disable /dev/da0p2 then 
mount -o rw /
For the /tmp /var and /usr filesystems this does not work bcause hey 
cannot be remounted ro while they are busy.


This e-mail message, including any attachment(s), is intended solely for the 
addressee or addressees. Any views or opinions presented herein are solely 
those of the author and do not necessarily represent those of OSE.

If you are not the intended recipient of this communication please return this 
e-mail message and the attachment(s) to the sender and delete and destroy all 
copies.

___
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 9.1 and SU+J

2012-11-04 Thread Bas Smeelen
On 11/04/2012 02:11 PM, RW wrote:
 On Sun, 04 Nov 2012 11:44:28 +0100
 Bas Smeelen wrote:

 On 11/03/2012 07:30 PM, Herbert J. Skuhra wrote:
 On 03.11.2012 13:48, Doug Hardie wrote:

 I didn't notice that journaling is on by default and now dump is
 failing.  The only way I can see to disable journaling requires
 that the file system be dismounted, or read-only.  This is a
 remote machine and journaling is on root.  Is there any other way
 that would not require me to make a long trip out to the site?
 This is a task for mfsBSD: http://mfsbsd.vx.sk

 Hmm, I think you have to make a trip or get some kind of remote
 console over ip.
 I tried it remote on a 9.1-RC2 system that has / /tmp /var and /usr
 as seperate partions
 For / i can do a mount -o ro / and tunefs -j disable /dev/da0p2 then
 mount -o rw /
 For the /tmp /var and /usr filesystems this does not work bcause hey
 cannot be remounted ro while they are busy.
 A quick and dirty way to do it would be to edit /etc/rc.d/fsck and put
 your tunefs commands at the bottom of fsck_start(), then do a reboot.

Very nice :) Thanks a lot!
I tried this and can confirm it works.
_But_ not all partitions are soft updates without journaling now.
It didn't work for the / partition, I guess because / is mounted rw 
before /etc/rc.d/fsck is executed.
For the / partition I guess I will really have to be at the console 
starting single user, because mount -o ro en then disable with tunefs -j 
disable did not work either. See at the end of this mail.
I wonder if it even can be accomplished when booting single user, which 
I cannto test right now.

Doug, if you have more partitions than just / you could go ahead with 
the above solution, it worked for me. You can then at least dump data 
from your other partitions.

See below:

root@osebart:/usr/home/Freebee # mount
/dev/da0p2 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
/dev/da0p3 on /tmp (ufs, local, journaled soft-updates)
/dev/da0p4 on /var (ufs, local, journaled soft-updates)
/dev/da0p5 on /usr (ufs, local, journaled soft-updates)

edit /etc/rc.d/fsck and added:

/sbin/tunefs -j disable /dev/da0p2
/sbin/tunefs -j disable /dev/da0p3
/sbin/tunefs -j disable /dev/da0p4
/sbin/tunefs -j disable /dev/da0p5

just before
}

load_rc_config $name
run_rc_command $1

at the end.

shutdown -r now and I have

root@osebart:/usr/home/Freebee # mount
/dev/da0p2 on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
/dev/da0p3 on /tmp (ufs, local, soft-updates)
/dev/da0p4 on /var (ufs, local, soft-updates)
/dev/da0p5 on /usr (ufs, local, soft-updates)

See below for mount -o ro

root@osebart:/usr/home/Freebee # mount -o ro /
root@osebart:/usr/home/Freebee # mount
/dev/da0p2 on / (ufs, local, read-only)
devfs on /dev (devfs, local, multilabel)
/dev/da0p3 on /tmp (ufs, local, soft-updates)
/dev/da0p4 on /var (ufs, local, soft-updates)
/dev/da0p5 on /usr (ufs, local, soft-updates)
root@osebart:/usr/home/Freebee # tunefs -j disable /dev/da0p2
Clearing journal flags from inode 4
tunefs: soft updates journaling cleared but soft updates still set.
tunefs: remove .sujournal to reclaim space

shutdown -r now but still

root@osebart:/usr/home/Freebee # mount
/dev/da0p2 on / (ufs, local, soft-updates)
devfs on /dev (devfs, local, multilabel)
/dev/da0p3 on /tmp (ufs, local, soft-updates)
/dev/da0p4 on /var (ufs, local, soft-updates)
/dev/da0p5 on /usr (ufs, local, soft-updates)








This e-mail message, including any attachment(s), is intended solely for the 
addressee or addressees. Any views or opinions presented herein are solely 
those of the author and do not necessarily represent those of OSE.

If you are not the intended recipient of this communication please return this 
e-mail message and the attachment(s) to the sender and delete and destroy all 
copies.

___
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 9.1 and SU+J

2012-11-04 Thread Bas Smeelen
On 11/04/2012 03:00 PM, Bas Smeelen wrote:
 On 11/04/2012 02:11 PM, RW wrote:
 On Sun, 04 Nov 2012 11:44:28 +0100
 Bas Smeelen wrote:

 On 11/03/2012 07:30 PM, Herbert J. Skuhra wrote:
 On 03.11.2012 13:48, Doug Hardie wrote:

 I didn't notice that journaling is on by default and now dump is
 failing.  The only way I can see to disable journaling requires
 that the file system be dismounted, or read-only.  This is a
 remote machine and journaling is on root.  Is there any other way
 that would not require me to make a long trip out to the site?

I guess I was a little off here, it actually worked for / also
See further below for the whole story
This was all done remote with ssh

$ mount
/dev/da0p2 on / (ufs, local, soft-updates)
devfs on /dev (devfs, local, multilabel)
/dev/da0p3 on /tmp (ufs, local, soft-updates)
/dev/da0p4 on /var (ufs, local, soft-updates)
/dev/da0p5 on /usr (ufs, local, soft-updates)
$ su
Password:
root@osebart:/usr/home/Freebee # rm /.sujournal
root@osebart:/usr/home/Freebee # rm /var/.sujournal
root@osebart:/usr/home/Freebee # rm /tmp/.sujournal
root@osebart:/usr/home/Freebee # rm /usr/.sujournal
root@osebart:/usr/home/Freebee # uname -a
FreeBSD osebart.ose.nl 9.1-RC2 FreeBSD 9.1-RC2 #0 r241106: Mon Oct 1 
18:26:44 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 This is a task for mfsBSD: http://mfsbsd.vx.sk

 Hmm, I think you have to make a trip or get some kind of remote
 console over ip.
 I tried it remote on a 9.1-RC2 system that has / /tmp /var and /usr
 as seperate partions
 For / i can do a mount -o ro / and tunefs -j disable /dev/da0p2 then
 mount -o rw /
 For the /tmp /var and /usr filesystems this does not work bcause hey
 cannot be remounted ro while they are busy.
 A quick and dirty way to do it would be to edit /etc/rc.d/fsck and put
 your tunefs commands at the bottom of fsck_start(), then do a reboot.
 Very nice :) Thanks a lot!
 I tried this and can confirm it works.
 _But_ not all partitions are soft updates without journaling now.
 It didn't work for the / partition, I guess because / is mounted rw
 before /etc/rc.d/fsck is executed.
 For the / partition I guess I will really have to be at the console
 starting single user, because mount -o ro en then disable with tunefs -j
 disable did not work either. See at the end of this mail.
 I wonder if it even can be accomplished when booting single user, which
 I cannto test right now.

 Doug, if you have more partitions than just / you could go ahead with
 the above solution, it worked for me. You can then at least dump data
 from your other partitions.

 See below:

 root@osebart:/usr/home/Freebee # mount
 /dev/da0p2 on / (ufs, local, journaled soft-updates)
 devfs on /dev (devfs, local, multilabel)
 /dev/da0p3 on /tmp (ufs, local, journaled soft-updates)
 /dev/da0p4 on /var (ufs, local, journaled soft-updates)
 /dev/da0p5 on /usr (ufs, local, journaled soft-updates)

 edit /etc/rc.d/fsck and added:

 /sbin/tunefs -j disable /dev/da0p2
 /sbin/tunefs -j disable /dev/da0p3
 /sbin/tunefs -j disable /dev/da0p4
 /sbin/tunefs -j disable /dev/da0p5

 just before
 }

 load_rc_config $name
 run_rc_command $1

 at the end.

 shutdown -r now and I have

 root@osebart:/usr/home/Freebee # mount
 /dev/da0p2 on / (ufs, local, journaled soft-updates)
 devfs on /dev (devfs, local, multilabel)
 /dev/da0p3 on /tmp (ufs, local, soft-updates)
 /dev/da0p4 on /var (ufs, local, soft-updates)
 /dev/da0p5 on /usr (ufs, local, soft-updates)

 See below for mount -o ro

 root@osebart:/usr/home/Freebee # mount -o ro /
 root@osebart:/usr/home/Freebee # mount
 /dev/da0p2 on / (ufs, local, read-only)
 devfs on /dev (devfs, local, multilabel)
 /dev/da0p3 on /tmp (ufs, local, soft-updates)
 /dev/da0p4 on /var (ufs, local, soft-updates)
 /dev/da0p5 on /usr (ufs, local, soft-updates)
 root@osebart:/usr/home/Freebee # tunefs -j disable /dev/da0p2
 Clearing journal flags from inode 4
 tunefs: soft updates journaling cleared but soft updates still set.
 tunefs: remove .sujournal to reclaim space

 shutdown -r now but still

 root@osebart:/usr/home/Freebee # mount
 /dev/da0p2 on / (ufs, local, soft-updates)
 devfs on /dev (devfs, local, multilabel)
 /dev/da0p3 on /tmp (ufs, local, soft-updates)
 /dev/da0p4 on /var (ufs, local, soft-updates)
 /dev/da0p5 on /usr (ufs, local, soft-updates)





This e-mail message, including any attachment(s), is intended solely for the 
addressee or addressees. Any views or opinions presented herein are solely 
those of the author and do not necessarily represent those of OSE.

If you are not the intended recipient of this communication please return this 
e-mail message and the attachment(s) to the sender and delete and destroy all 
copies.

___
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 9.1 and SU+J

2012-11-04 Thread Bas Smeelen
On 11/04/2012 11:18 PM, Doug Hardie wrote:
 On 4 November 2012, at 07:04, Bas Smeelen wrote:

 On 11/04/2012 03:00 PM, Bas Smeelen wrote:
 On 11/04/2012 02:11 PM, RW wrote:
 On Sun, 04 Nov 2012 11:44:28 +0100
 Bas Smeelen wrote:

 On 11/03/2012 07:30 PM, Herbert J. Skuhra wrote:
 On 03.11.2012 13:48, Doug Hardie wrote:

 I didn't notice that journaling is on by default and now dump is
 failing.  The only way I can see to disable journaling requires
 that the file system be dismounted, or read-only.  This is a
 remote machine and journaling is on root.  Is there any other way
 that would not require me to make a long trip out to the site?
 I guess I was a little off here, it actually worked for / also
 See further below for the whole story
 This was all done remote with ssh

 $ mount
 /dev/da0p2 on / (ufs, local, soft-updates)
 devfs on /dev (devfs, local, multilabel)
 /dev/da0p3 on /tmp (ufs, local, soft-updates)
 /dev/da0p4 on /var (ufs, local, soft-updates)
 /dev/da0p5 on /usr (ufs, local, soft-updates)
 $ su
 Password:
 root@osebart:/usr/home/Freebee # rm /.sujournal
 root@osebart:/usr/home/Freebee # rm /var/.sujournal
 root@osebart:/usr/home/Freebee # rm /tmp/.sujournal
 root@osebart:/usr/home/Freebee # rm /usr/.sujournal
 root@osebart:/usr/home/Freebee # uname -a
 FreeBSD osebart.ose.nl 9.1-RC2 FreeBSD 9.1-RC2 #0 r241106: Mon Oct 1
 18:26:44 UTC 2012
 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 I can't get that to work on i386.  Here is /etc/rc.d/fsck:
 
  fi

  echo Ready for tunefs
  /sbin/tunefs -j disable /dev/da0p2
 }

 load_rc_config $name
 run_rc_command $1

 


 reboot computer and here is the output from messages:

 


 Nov  4 14:07:19 Router kernel: Ready for tunefs
 Nov  4 14:07:19 Router kernel: Clearing journal flags from inode 4
 Nov  4 14:07:19 Router kernel: tunefs: soft updates journaling cleared but 
 soft updates still set.
 Nov  4 14:07:19 Router kernel: tunefs: remove .sujournal to reclaim space
 Nov  4 14:07:19 Router kernel: Mounting local file systems:.

 

 and the output from mount:

 Router# mount
 /dev/da0p2 on / (ufs, local, journaled soft-updates)
 devfs on /dev (devfs, local, multilabel)

 

 Journaled is still on after 2 reboots.

 Router# uname -a
 FreeBSD Router 9.1-RC2 FreeBSD 9.1-RC2 #0 r241133: Tue Oct  2 17:11:45 UTC 
 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 -- Doug

Hi Doug

This is bad. It did not work for me that way either on the / partition, but 
it worked on the other partitions.
Because I have seperate /tmp /var and /usr partition I was able to mount the 
/ partition readonly in multiuser mode with mount -o ro / and then tunefs -j 
disable and right after that reboot.
It seems that somehow when the / partition gets mounted after disabling the 
journal, journaled soft updates is still set and thus still enabled, but 
with a reboot it gets cleared?
I don't really understand this.



This e-mail message, including any attachment(s), is intended solely for the 
addressee or addressees. Any views or opinions presented herein are solely 
those of the author and do not necessarily represent those of OSE.

If you are not the intended recipient of this communication please return this 
e-mail message and the attachment(s) to the sender and delete and destroy all 
copies.

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


Re: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE

2012-10-12 Thread Bas Smeelen
On 10/12/2012 10:53 AM, Jamie Paul Griffin wrote:
 [ Greg Larkin wrote on Thu 11.Oct'12 at 20:49:19 -0400 ]

 Hi Stuart,

 If you click the link in this mailing list article
 (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html),
 then follow the rest of the threaded messages, you should be able fix
 the problem once you upgrade to 7.4.

 The issue is that freebsd-update cannot update the ld-elf.so.1 binary
 on a running system, so after the upgrade to 7.4 (or higher), the
 system is not completely updated.

 This message
 (http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html)
 has a fix, but it involves booting from a liveCD and replacing the
 binary manually.
 Would it be easier to do an update by building from source? I've never used 
 freebsd-update myself so not had to troubleshoot these issues before.

That's probably the best way.

Bit I am wondering about this.
I upgraded several systems (physical and virtual machines) with 
freebsd-update from 7.1 - 7.3 - 8.1 - 8.3 and also one system from 7.1 - 
7.4 (with custom kernels) and did not encounter this. Did I just get lucky then?




This e-mail message, including any attachment(s), is intended solely for the 
addressee or addressees. Any views or opinions presented herein are solely 
those of the author and do not necessarily represent those of OSE.

If you are not the intended recipient of this communication please return this 
e-mail message and the attachment(s) to the sender and delete and destroy all 
copies.

___
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: portmaster options

2012-10-12 Thread Bas Smeelen
On 10/12/2012 01:57 PM, jb wrote:
 jb jb.1234abcd at gmail.com writes:

 ...
   --index-only
   do not try to use /usr/ports.  For updating ports when no
   /usr/ports
   directory is present the -PP|--packages-only option is required.
   See the ENVIRONMENT section below for additional requirements.

 ...
 And -PP|--packages-only option implies index only entry behavior, so there
 is redundancy here as well.

 Does anybody know where this --index-only option really matter ?
 jb


Well /usr/local/sbin/portmaster is a _big_  shell script
You could read through it to find the answer to your question




This e-mail message, including any attachment(s), is intended solely for the 
addressee or addressees. Any views or opinions presented herein are solely 
those of the author and do not necessarily represent those of OSE.

If you are not the intended recipient of this communication please return this 
e-mail message and the attachment(s) to the sender and delete and destroy all 
copies.

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


Re: Problem upgrading misc/help2man: missing language files

2012-10-02 Thread Bas Smeelen

On 10/02/2012 10:59 AM, Thomas Mueller wrote:

I am unable to upgrade misc/help2man, required by autoconf and other ports that 
I want to upgrade that depend on perl and/or png.

Currently installed version of help2man is 1.40.12 and new version is 1.40.13

I get a bundle of error messages like


Extracting help2man (with variable substitutions)

=== Creating a backup package for old version help2man-1.40.12
tar: lib/bindtextdomain.so: Cannot stat: No such file or directory
tar: share/locale/de/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/el/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/eo/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/fi/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/fr/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/hr/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory


Hi Tom

Isn't this just the creation of the backup package that fails?
I encounter errors like this sometimes, but portmaster goed on installing 
the newer version.



tar: share/locale/it/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/pl/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/pt_BR/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/ru/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/sr/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/sv/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/uk/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/vi/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/ja/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: man/de/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/el/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/eo/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/fi/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/fr/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/hr/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/it/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/pl/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/pt_BR/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/ru/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/sr/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/sv/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/uk/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/vi/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/ja/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256


So here I am stuck.  I don't know whether the fault is with my installed 
help2man-1.40.12 or the distfile for 1.40.13.


Stuck? Or does portmaster continue as it should?


How do I get past this impasse?  I suppose I could use -x misc/help2man in 
portmaster commands, but don't really want to do that if 1.40.13 is good but my 
installation of 1.40.12 is corrupted.

Tom

___
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



--
Systeembeheerder


OverNite Software Europe BV
Dr. Nolenslaan 157
6136 GM Sittard
THE NETHERLANDS
 
phone: +31464200933

fax:   +31464200934
web:   http://www.ose.nl



Disclaimer: http://www.ose.nl/email

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


Re: Problem upgrading misc/help2man: missing language files

2012-10-02 Thread Bas Smeelen

On 10/02/2012 10:59 AM, Thomas Mueller wrote:

I am unable to upgrade misc/help2man, required by autoconf and other ports that 
I want to upgrade that depend on perl and/or png.

Currently installed version of help2man is 1.40.12 and new version is 1.40.13

I get a bundle of error messages like


Extracting help2man (with variable substitutions)

=== Creating a backup package for old version help2man-1.40.12


Below it looks like the creation of the backup package fails, which get's 
deleted by default after the new port is installed.
I Just update ports on a CURRENT server with csup from cvsup4.nl.FreeBSD.org 
and the help2man version is still 1.40.12

I will go ahead and update from cvsup9.freebsd.org
.
.
.
No help2man-1.40.13 yet.
Maybe csup the portstree again and retry portmaster misc/help2man?

Did portmaster end with lines like
Upgrade of help2man-1.40.11 to help2man-1.40.12
But then help2man-1.40.12 to help2man-1.40.13 instead of the above?
The it should be OK.

** http://lists.freebsd.org/mailman/listinfo/svn-ports-all

tar: lib/bindtextdomain.so: Cannot stat: No such file or directory
tar: share/locale/de/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/el/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/eo/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/fi/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/fr/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/hr/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/it/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/pl/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/pt_BR/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/ru/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/sr/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/sv/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/uk/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/vi/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: share/locale/ja/LC_MESSAGES/help2man.mo: Cannot stat: No such file or 
directory
tar: man/de/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/el/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/eo/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/fi/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/fr/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/hr/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/it/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/pl/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/pt_BR/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/ru/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/sr/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/sv/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/uk/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/vi/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: man/ja/man1/help2man.1.gz: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256


So here I am stuck.  I don't know whether the fault is with my installed 
help2man-1.40.12 or the distfile for 1.40.13.

How do I get past this impasse?  I suppose I could use -x misc/help2man in 
portmaster commands, but don't really want to do that if 1.40.13 is good but my 
installation of 1.40.12 is corrupted.

Tom

___
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



--
Systeembeheerder


OverNite Software Europe BV
Dr. Nolenslaan 157
6136 GM Sittard
THE NETHERLANDS
 
phone: +31464200933

fax:   +31464200934
web:   http://www.ose.nl



Disclaimer: http://www.ose.nl/email

___
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


SOLVED: Re: Error after upgrading to php 5.4.6

2012-09-11 Thread Bas Smeelen

This is now solved after an update to pecl-APC-3.1.13




Disclaimer: http://www.ose.nl/email

___
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: Error after upgrading to php 5.4.6

2012-09-04 Thread Bas Smeelen

On 09/04/2012 04:18 AM, Michael Powell wrote:

Paul Macdonald wrote:


On 03/09/2012 12:26, Darrell Betts wrote:

My php pages will no longer render in a web browser after upgrading to
php 5.4.6. Used port upgrade to do this. Running apache 2.2.22_6. Checked
the error log and this is what I receive

[notice] child pid 38232 exit signal Segmentation fault (11)

This does this on all php pages.
Any idea how to fix this error?

[snip]

try editing your /usr/local/etc/php/extensions.ini, comment out all
extensions (restart apache) and see if it stops seg faulting.
If it works, add in the modules one by one until it stops.

Previously i've seen people posting about the order being important


Some while back I thought portupgrading PHP caused the extensions.ini to be
edited after each and every extension rebuild/reinstall, causing a shuffle
like effect. Since I do a backup before, including all configs, I got into
the habit of just copying my old extensions.ini back into place afterwards
prior to restarting PHP and/or web servers.

-Mike
  
Well with pkg_delete -f php5\* , removing all of php's config files in 
/usr/local/etc (keeping a backup of course) and then installing php-5.4.6 
extensions resolved the problem. It does not happen too often that this goes 
wrong, but somehow php can be troublesome at times.


Thanks
Bas



Disclaimer: http://www.ose.nl/email

___
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: Error after upgrading to php 5.4.6

2012-09-04 Thread Bas Smeelen

On 09/04/2012 04:18 AM, Michael Powell wrote:

Paul Macdonald wrote:


On 03/09/2012 12:26, Darrell Betts wrote:

My php pages will no longer render in a web browser after upgrading to
php 5.4.6. Used port upgrade to do this. Running apache 2.2.22_6. Checked
the error log and this is what I receive

[notice] child pid 38232 exit signal Segmentation fault (11)

This does this on all php pages.
Any idea how to fix this error?

[snip]

try editing your /usr/local/etc/php/extensions.ini, comment out all
extensions (restart apache) and see if it stops seg faulting.
If it works, add in the modules one by one until it stops.

Previously i've seen people posting about the order being important


Some while back I thought portupgrading PHP caused the extensions.ini to be
edited after each and every extension rebuild/reinstall, causing a shuffle
like effect. Since I do a backup before, including all configs, I got into
the habit of just copying my old extensions.ini back into place afterwards
prior to restarting PHP and/or web servers.

-Mike



My previous response was sent too early :(

I still get errors in apache
[Tue Sep 04 08:14:42 2012] [error] [client 192.168.1.189] PHP Warning: 
Unknown: Unable to allocate memory for pool. in Unknown on line 0, referer: 
http://sys.ose.nl/cacti/graph_view.php?action=treetree_id=1leaf_id=21
[Tue Sep 04 08:14:43 2012] [notice] child pid 56172 exit signal Segmentation 
fault (11)
[Tue Sep 04 08:14:43 2012] [notice] child pid 56163 exit signal Segmentation 
fault (11)
[Tue Sep 04 08:14:53 2012] [error] [client 192.168.1.189] PHP Warning: 
Unknown: Unable to allocate memory for pool. in Unknown on line 0, referer: 
http://sys.ose.nl/cacti/graph_view.php?action=treetree_id=1leaf_id=7
[Tue Sep 04 08:15:59 2012] [notice] child pid 56169 exit signal Segmentation 
fault (11)


So now I will comment out all extensions and start investigating.
Well it turns out to be apc.so, this comes with core php I guess?
For completeness: The php manual states this is for alternative php cache.
http://php.net/manual/en/book.apc.php

With apc.so commented out and testing with cacti and mediawiki all seems to 
go well. My extensions.ini follows below


extension=pdf.so
extension=imagick.so
;extension=apc.so
extension=hash.so
extension=phar.so
extension=zip.so
extension=zlib.so
extension=iconv.so
extension=mysql.so
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite3.so
extension=json.so
extension=tokenizer.so
extension=filter.so
extension=posix.so
extension=ctype.so
extension=dom.so
extension=simplexml.so
extension=xml.so
extension=xmlreader.so
extension=xmlwriter.so
extension=session.so




Disclaimer: http://www.ose.nl/email

___
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


SOLVED: Re: Error after upgrading to php 5.4.6

2012-09-04 Thread Bas Smeelen

On 09/04/2012 09:02 AM, Michael Powell wrote:

Bas Smeelen wrote:

[snip]

My previous response was sent too early :(

I still get errors in apache
[Tue Sep 04 08:14:42 2012] [error] [client 192.168.1.189] PHP Warning:
Unknown: Unable to allocate memory for pool. in Unknown on line 0,
referer:
http://sys.ose.nl/cacti/graph_view.php?action=treetree_id=1leaf_id=21
[Tue Sep 04 08:14:43 2012] [notice] child pid 56172 exit signal
[Segmentation
fault (11)
[snip]

Well it turns out to be apc.so, this comes with core php I guess?
  
[snip]
I have found that the faults are present because www/pecl-APC was not 
recompiled/reinstalled.
So I reinstalled www/pecl-APC with portmaster -f and this also reinstalled 
the following ports:

Re-install pecl-APC-3.1.12
Re-install autoconf-2.69
Re-install autoconf-wrapper-20101119
Re-install gmake-3.82_1
Re-install gettext-0.18.1.1
Re-install libiconv-1.14
Re-install libtool-2.4.2
Re-install m4-1.4.16_1,1
Re-install perl-5.12.4_4
Re-install help2man-1.40.11
Re-install p5-Locale-gettext-1.05_3
Re-install php5-5.4.6
Re-install pcre-8.31
Re-install pkgconf-0.8.7_2
Re-install libxml2-2.7.8_3
Re-install apache-2.2.22_6
Re-install apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12_1
Re-install db42-4.2.52_5
Re-install gdbm-1.9.1
Re-install automake-1.12.3
Re-install automake-wrapper-20101119
Re-install python27-2.7.3_3
Re-install expat-2.0.1_2

There is nothing about this in UPDATING, should there?
This solved the problem anyway.

Bas


Disclaimer: http://www.ose.nl/email

___
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


SOLVED: Re: Error after upgrading to php 5.4.6

2012-09-04 Thread Bas Smeelen

On 09/04/2012 09:02 AM, Michael Powell wrote:

Bas Smeelen wrote:

[snip]

My previous response was sent too early :(

I still get errors in apache
[Tue Sep 04 08:14:42 2012] [error] [client 192.168.1.189] PHP Warning:
Unknown: Unable to allocate memory for pool. in Unknown on line 0,
referer:
http://sys.ose.nl/cacti/graph_view.php?action=treetree_id=1leaf_id=21
[Tue Sep 04 08:14:43 2012] [notice] child pid 56172 exit signal
[Segmentation
fault (11)
[snip]

Well it turns out to be apc.so, this comes with core php I guess?

[snip]


Sorry, this just delays the error but it eventually comes back so I'll keep 
apc.so commented.



I have found that the faults are present because www/pecl-APC was not 
recompiled/reinstalled.
So I reinstalled www/pecl-APC with portmaster -f and this also reinstalled 
the following ports:

Re-install pecl-APC-3.1.12
Re-install autoconf-2.69
Re-install autoconf-wrapper-20101119
Re-install gmake-3.82_1
Re-install gettext-0.18.1.1
Re-install libiconv-1.14
Re-install libtool-2.4.2
Re-install m4-1.4.16_1,1
Re-install perl-5.12.4_4
Re-install help2man-1.40.11
Re-install p5-Locale-gettext-1.05_3
Re-install php5-5.4.6
Re-install pcre-8.31
Re-install pkgconf-0.8.7_2
Re-install libxml2-2.7.8_3
Re-install apache-2.2.22_6
Re-install apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12_1
Re-install db42-4.2.52_5
Re-install gdbm-1.9.1
Re-install automake-1.12.3
Re-install automake-wrapper-20101119
Re-install python27-2.7.3_3
Re-install expat-2.0.1_2

There is nothing about this in UPDATING, should there?
This solved the problem anyway.

Bas


Disclaimer: http://www.ose.nl/email

___
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: Error after upgrading to php 5.4.6

2012-09-03 Thread Bas Smeelen

On 09/03/2012 01:26 PM, Darrell Betts wrote:

My php pages will no longer render in a web browser after upgrading to php 
5.4.6. Used port upgrade to do this. Running apache 2.2.22_6.
Checked the error log and this is what I receive

[notice] child pid 38232 exit signal Segmentation fault (11)

This does this on all php pages.
Any idea how to fix this error?


Thanks___


I had the same issue on a 8.3-STABLE machine.
On other machines php is still at 5.4.3 and does not have this problems.

On the machine where 5.4.6 gave the problems I completely removed php and 
installed lang/php53 (5.3.16) which solved the issue


If you are using portmaster -b to update ports, then a backup of the 
previous port will be in /usr/ports/packages and you can reinstall the 
previous version




Disclaimer: http://www.ose.nl/email

___
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: Error after upgrading to php 5.4.6

2012-09-03 Thread Bas Smeelen

On 09/03/2012 03:23 PM, Jerry wrote:

On Mon, 03 Sep 2012 13:52:45 +0200
Bas Smeelen articulated:


On 09/03/2012 01:26 PM, Darrell Betts wrote:

My php pages will no longer render in a web browser after upgrading
to php 5.4.6. Used port upgrade to do this. Running apache
2.2.22_6. Checked the error log and this is what I receive

[notice] child pid 38232 exit signal Segmentation fault (11)

This does this on all php pages.
Any idea how to fix this error?


I had the same issue on a 8.3-STABLE machine.
On other machines php is still at 5.4.3 and does not have this
problems.

On the machine where 5.4.6 gave the problems I completely removed php
and installed lang/php53 (5.3.16) which solved the issue

If you are using portmaster -b to update ports, then a backup of the
previous port will be in /usr/ports/packages and you can reinstall
the previous version

I completely removed all traces of PHP from my system, including
configuration files, made sure to run make config in each PHP port I
intended to install and then installed the latest version of PHP
without a single problem. I believe, although I can not prove it, that
the problem is not in the PHP port but rather in the update process.
Running portmanager with the -p option might take care of some
ports not being updated correctly with PHP also. Again, there is
nothing wrong with the latest version but rather in the way it is
presently running on your system.



OK thanks voor the insight, I only checked the extensions.ini file after 
updating

I will go ahead and try it the clean way with version 5.4.6




Disclaimer: http://www.ose.nl/email

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


Re: Problem with pkgconf and glib.

2012-07-30 Thread Bas Smeelen

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:

I'm trying to build emacs with gtk2 on my build box and I'm running into
trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
dies in devel/gobject-introspection and complains that it cannot find
header files for gio-unix-2.0. From what I can see the problem looks like
the fact that pkgconf is returning the wrong include path for these
header files, running:

[snip]

I have the same problem with devel/gobject-introspection. It's also a
dependecy for Xorg.

A couple of days ago devel/pkg-config was removed from ports as
deprecated, and replaced with devel/pkgconf, and consequently the build
dependencies of many ports were changed. Maybe this recent change is not
thoroughly worked out?


When I first saw it in UPDATING and did the command I believe it was not
completely correct, as it did nothing. That was something on the order of 3
or 4 days ago. Just csup'd today and the command in UPDATING I think
contained something slightly different, and is now correct.

Before, it did not remove/replace pkg-config. Today it did. Perhaps a ports
tree refresh and if using portupgrade do this:

portupgrade -fo devel/pkgconf pkg-config-\*

This did remove pkg-config and replace it with pkgconf, like I expected it to
do 3-4 days ago and didn't.

-Mike
  
I had about the same issues on a fresh RELENG_9 laptop wih xfce4, 
firefox and thunderbird. Just removing pkg-config (pkg_delete -f) then 
installing pkgconf and do a portmaster --check-depends solved it for me.




Disclaimer: http://www.ose.nl/email

___
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: fsck on FAT32 filesystem?

2012-07-17 Thread Bas Smeelen

On 07/17/2012 11:36 AM, Wojciech Puchar wrote:

It appears I was mistaken.


Care to elaborate? Most people on this list seem to speak highly of 
SpinRite.


first - it is off topic.
second - because all commercial software like that are designed for 
uneducated user, mostly try to automatically do everything. Which is a 
danger not help.


Hi
This is an old story.
You can look at
http://en.wikipedia.org/wiki/SpinRite
and the talk page
http://en.wikipedia.org/wiki/Talk%3ASpinRite

http://allthatiswrong.wordpress.com/2009/10/11/steve-gibson-is-a-fraud/


I have never used this tool because dd has always sufficed.
Even with an almost end of hardware life (takketaketakke noise generating) 
disk I have been able to create an image (even with hitting the disk case 
because heads got stuck) and rescue data from it with plain dd. This has 
been more then 8 years ago, since then I make sure to always have multiple 
good back-ups



Disclaimer: http://www.ose.nl/email

___
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 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bas Smeelen

On 07/10/2012 12:00 PM, Bosko Radivojevic wrote:

Hi,

i just forgot to add following output from FreeBSD 8.3:

# atacontrol status ar0
ar0: ATA RAID1 status: READY
  subdisks:
0 ad4  ONLINE
1 ad6  ONLINE

Thanks,
Bosko


Hi Bosko,

For FreeBSD 9.0-RELEASE see the release notes
http://www.freebsd.org/releases/9.0R/relnotes.html


especially
Thegraid(8) 
http://www.freebsd.org/cgi/man.cgi?query=graidsektion=8manpath=FreeBSD+9.0-RELEASEGEOM 
class has been added. This is a replacement of theataraid(4) 
http://www.freebsd.org/cgi/man.cgi?query=ataraidsektion=4manpath=FreeBSD+9.0-RELEASEdriver 
supporting various BIOS-based software RAID.[r219974 
http://svn.freebsd.org/viewvc/base?view=revisionrevision=219974]



Disclaimer: http://www.ose.nl/email

___
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 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bas Smeelen

On 07/10/2012 12:11 PM, Wojciech Puchar wrote:
It is always better to use gmirror instead of hardware RAID. One have 
full control over what is going on


mmh not always. Nothing replaces a good hardware RAID card with a BBU


for real reason i used parantheses for word hardware. 


That's clear to me.
These hardware raid controllers are not very reliable because they are 
indeed not real hardware raid controllers, but software based.

Maybe for desktop usage it's ok/ good enough?
It is better to use the operating systems raid capability linke gmirror instead.

Of course real hardware raid controllers with cache and battery backed are a 
different thing and very reliable.



Disclaimer: http://www.ose.nl/email

___
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 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bas Smeelen

On 07/10/2012 12:20 PM, Bosko Radivojevic wrote:

Hi Bas,

thank you for response. 'geom disk list' gives me list of disks, but
'geom raid load;geom raid list' doesn't give anything. I've tried
'geom load mirror', but 'geom mirror list' is also empty.

What next? :)

Thanks!

Hi Bosko,

I do not have any experience with these kind of controllers, so I could just 
guess.
What does pciconf -lv produce, looking at the lines for you disk/softraid 
controller?

Look for the device with class = mass storage

Maybe it's not fully supported by graid, which would surprise me because 
graid this is a replacement for ataraid.



Disclaimer: http://www.ose.nl/email

___
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 9.0 LSI MegaRAID SATA problem

2012-07-10 Thread Bas Smeelen

On 07/10/2012 12:26 PM, Wojciech Puchar wrote:


That's clear to me.
These hardware raid controllers are not very reliable because they are 
indeed not real hardware raid controllers, but software based.

Maybe for desktop usage it's ok/ good enough?


precise what is desktop usage is.


Here at work we just use non raided disks for workstations which run linux.
The home directories are on nfs, so when a disk fails it's replaced very 
fast by doing a basic install on a new disk or just replacing the disk by a 
preinstalled disk laying on the shelf here.



i don't see a reason for doing mirroring for home use.


Me neither, just keep back-ups of important data on a different place/device



It is better to use the operating systems raid capability linke gmirror 
instead.



always.

Of course real hardware raid controllers with cache and battery backed 
are a different thing and very reliable.


if you have workload where battery backed cache will actually improve 
things (heavy fsync usage) then yes. otherwise no.


i've seen many of them, older, newer, and with same disks i always got at 
least same performance with FreeBSD software solution.


Not talking about RAID5 of which i am not interested at all - there is no 
reason trading performance for available space nowadays with 2-3TB disks.


I have never tries the FreeBSD raid solution as we always have servers with 
from past to now acc, amr and mfi controllers with raid1 and raid5 in the 
past mostly used for databases and perl cgi based web applications.




Disclaimer: http://www.ose.nl/email

___
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: NFS mount error: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak

2012-07-06 Thread Bas Smeelen

On 07/06/2012 06:03 PM, Walter Hurry wrote:

I am running FreeBSD 9.0-RELEASE (64 bit), with a VirtualBox VM also
running the same.

On the host I am running NFS server:

$ showmount -e
Exports list on localhost:
/usr/home  Everyone

But when I try to mount is on the client (the VM guest) I get this:

# mount xx:/usr/home /mnt
[tcp] xx:/usr/home: RPCPROG_MNT: RPC: Authentication error; why =
Client credential too weak
#


Hi Walter

Are you root when mounting on the client?
From looking at your prompt # I think you are, but I ask just to make sure.
You can also take a look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
in the handbook



On the server, in /var/log/messages I see this:

mountd[29140]: mount request from nnn.nnn.nnn.nnn from unprivileged port

So I infer that the 'unprivileged port' bit is the problem.

Further information - on the client:

$ rpcinfo xx
program version netid addressserviceowner
 104tcp   0.0.0.0.0.111  rpcbindsuperuser
 103tcp   0.0.0.0.0.111  rpcbindsuperuser
 102tcp   0.0.0.0.0.111  rpcbindsuperuser
 104udp   0.0.0.0.0.111  rpcbindsuperuser
 103udp   0.0.0.0.0.111  rpcbindsuperuser
 102udp   0.0.0.0.0.111  rpcbindsuperuser
 104tcp6  ::.0.111   rpcbindsuperuser
 103tcp6  ::.0.111   rpcbindsuperuser
 104udp6  ::.0.111   rpcbindsuperuser
 103udp6  ::.0.111   rpcbindsuperuser
 104local /var/run/rpcbind.sock  rpcbindsuperuser
 103local /var/run/rpcbind.sock  rpcbindsuperuser
 102local /var/run/rpcbind.sock  rpcbindsuperuser
 132udp   0.0.0.0.8.1nfssuperuser
 133udp   0.0.0.0.8.1nfssuperuser
 132udp6  ::.8.1 nfssuperuser
 133udp6  ::.8.1 nfssuperuser
 132tcp   0.0.0.0.8.1nfssuperuser
 133tcp   0.0.0.0.8.1nfssuperuser
 132tcp6  ::.8.1 nfssuperuser
 133tcp6  ::.8.1 nfssuperuser
 151udp6  ::.2.94mountd superuser
 153udp6  ::.2.94mountd superuser
 151tcp6  ::.2.94mountd superuser
 153tcp6  ::.2.94mountd superuser
 151udp   0.0.0.0.2.94   mountd superuser
 153udp   0.0.0.0.2.94   mountd superuser
 151tcp   0.0.0.0.2.94   mountd superuser
 153tcp   0.0.0.0.2.94   mountd superuser
$

What am I doing wrong? I am new to NFS.


___
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





Disclaimer: http://www.ose.nl/email

___
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: Does FreeBSD start slices at head boundaries?

2012-07-06 Thread Bas Smeelen

On 07/06/2012 07:28 PM, Robert Huff wrote:

Ryan Coleman writes:


   Anyway just don't make slices at all if your disk is dedicated
   to FreeBSD
  
  Except for swap, right?

Why do you say that?


Robert huff





I think Ryan means partition and not slice?
I would not recommend no slices at all, It's deprecated to use 
dangerously dedicated disks


Starting with 9 I don't see slices in mount ouput anymore but still 
there are FreeBSD partitions in slices (which is a partitions in dos terms)

Example / is now disk0p1 it used to be disk0s1a







Disclaimer: http://www.ose.nl/email

___
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: NFS mount error: RPCPROG_MNT: RPC: Authentication error; why = Client credential too weak

2012-07-06 Thread Bas Smeelen

On 07/06/2012 07:25 PM, Walter Hurry wrote:

On Fri, 06 Jul 2012 18:55:27 +0200, Bas Smeelen wrote:


Are you root when mounting on the client?
  From looking at your prompt # I think you are, but I ask just to make
  sure.
You can also take a look at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-

nfs.html

in the handbook

Thanks for the reply. Yes, I'm running as root on the client when I try
the mount.

It was the handbook I was following in my attempt to set up NFS.




OK.
With -n (allow from non root users) for mountd the mount succeeds 
although without it doesn't but you are root on the client. The nfs 
server is use is still 7.4 and I cannot find a difference in the man 
pages of 7 and 9 mountd and mount_nfs regarding to this issue.


In regard to the security implications, I think that we don't want 
mounts from trusted clients by a non root user who cannot bind to 
privileged ports, thus deny unprivileged ports.




Disclaimer: http://www.ose.nl/email

___
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: Does FreeBSD start slices at head boundaries?

2012-07-06 Thread Bas Smeelen

On 07/06/2012 08:25 PM, Polytropon wrote:

On Fri, 06 Jul 2012 19:47:27 +0200, Bas Smeelen wrote:

On 07/06/2012 07:28 PM, Robert Huff wrote:

Ryan Coleman writes:


Anyway just don't make slices at all if your disk is dedicated
to FreeBSD
   
   Except for swap, right?

Why do you say that?


Robert huff




I think Ryan means partition and not slice?
I would not recommend no slices at all, It's deprecated to use
dangerously dedicated disks

First of all, it's dedicated disks, there's nothing dangerous
related. :-)


Hi Polytropon
I got this from the docs somewhere, let me search
Ah the FAQ
http://www.freebsd.org/doc/en/books/faq/disks.html#DANGEROUSLY-DEDICATED

I don't think it's dangerous either.
Thanks for your explanations.



If you are using the MBR approach (old way), you can do
either creating a DOS primary partition, a slice, which
then will contain your partitions: a swap partition and
one or more UFS partitions. So you have ad0s1a, ad0s1b
and so on.

When you omit the slice and create the partitions on the bare
disk, you have a dedicated layout. FreeBSD will run with
it without any problem. It _may_ be possible that some
systems like Windows have trouble with this approach,
but if you're going to use FreeBSD only on that disk, there
is no danger, no problem. You have ad0a, ad0b and so on.

If you are using the GPT approach (new way), you create
partitions using a different tool set, setting them to be
a file system or a swap partition. You end up in ad0p1,
ad0p2 and so on. Note that those aren't DOS primary
partitions anymore, outdated systems may not properly
recognize them.

If you label your partitions (you can do that with both
approaches), you don't need to deal with device names at
all.




Starting with 9 I don't see slices in mount ouput anymore but still
there are FreeBSD partitions in slices (which is a partitions in dos terms)
Example / is now disk0p1 it used to be disk0s1a

Correct, this relation can be constructed.



To OP:

If you omit the slice and just create two partitions (one for
FS and one for swap), FreeBSD will use this fine. Just make
sure to set the boot parameters properly. Or simply use the
GPT-related tools, so you don't have to deal with the question
at all.









Disclaimer: http://www.ose.nl/email
___
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: Does FreeBSD start slices at head boundaries?

2012-07-06 Thread Bas Smeelen

On 07/06/2012 09:06 PM, Michael Sierchio wrote:

On Fri, Jul 6, 2012 at 11:58 AM, Eitan Adler li...@eitanadler.com wrote:


Slices isn't the old way. There is no perf advantage for dedicated
disks. Maybe you get a
few kb of extra space. Don't do it.

http://www.unixguide.net/freebsd/faq/09.03.shtml

That is EXTREMELY old advice.  The general advice, for this and many
other things, is - don't do it, but if you do it, know what you're
doing. ;-)


agree, advice: don't use dedicated disks, it might be dangerous if 
another fdisk silently modifies your disk or the BIOS does not 
understand it.

It's still in the FAQ though :)
http://www.freebsd.org/doc/en/books/faq/disks.html#DANGEROUSLY-DEDICATED






Disclaimer: http://www.ose.nl/email

___
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: portmaster embarrassingly simple question (y- option)

2012-07-03 Thread Bas Smeelen

On 07/03/2012 12:29 PM, Jakub Lach wrote:

=== Starting check for runtime dependencies
=== Gathering dependency list for archivers/unzip from ports
=== No dependencies for archivers/unzip
=== Installing package

=== Installation of archivers/unzip (unzip-6.0_1) succeeded


=== Delete unzip60.tar.gz? y/n [n]

What option do I need to specify with -y to automatically answer those?


Hi
-d



I've tried --clean-distfiles, --clean-packages but it's not it.

It usually happens when doing portmaster --packages-build
--delete-build-only
build.





Disclaimer: http://www.ose.nl/email

___
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: Uptime [OT]

2012-06-15 Thread Bas Smeelen

On 06/15/2012 05:51 AM, Mark Felder wrote:
FreeBSD REDACTED 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 15 16:29:10 
CST 2006 root@REDACTED:/usr/src/sys/i386/compile/IPFW-POLING-ALTQ i386


Theres no way I'm giving out the organization name or hostname haha. We're 
slowly moving customers away from this device, but not forcing anyone.


I wonder if the technician who compiled that kernel considered how long it 
would run



Oh, perhaps this thread should be renamed to Why are you using FreeBSD? 
to fit in with the others...


Nice.
Here's another one. Used mainly for imap proxy and ipfw. Too bad it will be 
moved to another physical location in a week or two.


$ uptime
 2:38PM  up 2266 days, 20:43, 1 user, load averages: 0.00, 0.00, 0.00



Disclaimer: http://www.ose.nl/email

___
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: Why am I, Still subscribed and reading this list ?

2012-06-02 Thread Bas Smeelen

On 06/02/2012 06:59 PM, Jason Hellenthal wrote:

Because... at some point it may return to normal without all the
bikeshedding and, I run because, I don't run because.

The previous threads before this message should have been on a web form
or questions@ as they are completely out of control.



why not to use FreeBSD should go on questions



Disclaimer: http://www.ose.nl/email

___
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: Ethernet driver HP ProLiant BL460c G7

2012-05-16 Thread Bas Smeelen

On 05/16/2012 02:38 PM, Polytropon wrote:

HP ProLiant BL460c G7

Maybe this helps
http://forums.freebsd.org/showthread.php?t=24769





Disclaimer: http://www.ose.nl/email

___
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: System initialization

2012-04-19 Thread Bas Smeelen
On 04/19/2012 02:32 AM, Erich Dollansky wrote:
 Hi,

 I think you have had the list twice in the address list.

 On Thursday 19 April 2012 06:23:26 Brett Glass wrote:

 Has anyone out there worked on the problem of generating 
 configuration files for important daemons (e.g. mpd, dnscache from 
 are you sure that you really need this dynamically?

 I believed this too until I realised that a script manually run can do the 
 job for me.

 I created a central location for my configuration files and let a script do 
 the rest. Of course, it is all static.

 Erich
Hi

The people from pfSense have done this very nicely.
Maybe you can take a look at how they did this.
It has one configuration file which is in xml format.



Disclaimer: http://www.ose.nl/email

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

2012-03-12 Thread Bas Smeelen
On 03/12/2012 12:28 PM, Olafiranye Olakunle wrote:
 What Commands to restart cacti ?please. Kunle 
 ___
 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
There is no command to restart cacti.
Data is gathered by the script poller.php which runs as a cronjob and the
interface to cacti graphs is available via apache webserver.
Maybe you want to restart apache?
apachectl (re)start or /usr/local/etc/rc.d/apache22 (re)start this is for
apache 2.2.x

Kind regards


Disclaimer: http://www.ose.nl/email

___
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: Network interface aliasing?

2012-03-07 Thread Bas Smeelen
On 03/07/2012 03:39 PM, Brent Clark wrote:
 Hiya

 I would like to ask.

 Is it possible to, do network interface aliasing. Im not talking about ip
 aliasing.

 I basically want to bind one process to network interface vr0:0 and
 another process to vr0:1.

What do you want to accomplish?
Processes usually listen on adresses or sockets


Disclaimer: http://www.ose.nl/email

___
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: Network interface aliasing?

2012-03-07 Thread Bas Smeelen
On 03/07/2012 04:24 PM, Mikel King wrote:
 On 3/7/12 9:39 AM, Brent Clark wrote:
 Hiya

 I would like to ask.

 Is it possible to, do network interface aliasing. Im not talking about ip
 aliasing.

 I basically want to bind one process to network interface vr0:0 and
 another process to vr0:1.

 Thanks
 Brent

 Brent,

 You can rename an interface to just about anything you wish. If the
 process allows for interface binding then you can use that new name.

 http://jafdip.com/index.php/2008/09/08/renaming-ethernet-interfaces-under-freebsd-7x/


This gives the interface a different name.
It does not create an alias name for the interface as far as I understand.

Kind regards,
Bas


Disclaimer: http://www.ose.nl/email

___
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 9, GPT and gmirror

2012-02-08 Thread Bas Smeelen
On Wed, 8 Feb 2012 13:42:59 -0500
Janos Dohanics w...@3dresearch.com wrote:

 Hello Everyone,
 
 May be I should have searched more for answers, but after installing
 FreeBSD 9 with gmirror, I am wondering if the experts here have some
 recommendations for best practices.
 
 1. The Guided partitioning doesn't suggest any more to
 create /var, /tmp, /usr, etc. file systems. Is it really the
 recommendation to go with just / ?

This is a bad recommendation I think, but you can accept guidance and
the adjust to your needs.
 
 2. Is there a way to use the old sysinstall to install FreeBSD 9? 

Yes, harder to use, or no the new installer should have some more sane
defaults
 
 3. It seems that setting up gmirror is more involved with GPT
 (http://blather.michaelwlucas.com/archives/1071); now I have a mirror
 for each of the filesystems /, /var, /tmp, etc. Is it OK to use
 gmirror in this way at all?
 
 4. Also, with GPT, one has to be in single user mode to synchronize
 disks - correct?
 
 3. Assuming one has enough RAM, is zfs mirror or raidz recommended
 over gmirror?

gmirror, still I think

 
 Prior to FreeBSD 9, I used to take the the sysinstall defaults with
 some overrides as I thought appropriate and proceeded to set up
 gmirror - it was simple and not a lot of work, and a good way to make
 use of older systems...

I think the new installer is quite good, but needs some shaving around
the rough edges

Cheers


Disclaimer: http://www.ose.nl/email

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


Re: Unable to upgrade packages on FreeBSD

2012-01-30 Thread Bas Smeelen
On Mon, 30 Jan 2012 12:52:07 -0500
David Jackson djackson...@gmail.com wrote:

 I have tried endlessly to no avail to upgrade binary the packages on
 Freebsd to the latest version. I have tried:
 
 *portupgrade -PP -a
 *portmaster -PP -a
 *pkg_update
 
 All fail miserably and totally and have left the system in an
 unuseable state.

What's unusable? For instance, servers are perfectly usable without
graphical tools. If you have tried `endlessly` why didn't you
consult /usr/ports/UPDATING and just recompile the ports without
using binary packages?
Or you might want to try PCBSD, it's FreeBSD with some fancy stuff
taken care of which might solve the problem you complain about. 
 
 Why can't FreeBSD just make the package system just work. Right
 after installing FreeBSD I should be able to type a single command
 such as update_packages and it should update all packages on the
 system, with no errors and without requiring any configurations to be
 troubleshooted, it should work out of the box.
 
 Why not? Why is something so simple so difficult and impossible?
 Ubuntu can do it, why not FreeBSD?

FreeBSD unlike Ubuntu is an entirely volunteer project. Ubuntu has
a dedicated corporation working on it and I guess a larger user base.
 
 Why cant FreeBSD  Just make the package upgrades work.

Because uh well it's not up to FreeBSD since the ports work perfectly
with the documentation that comes with it or it might depend on the user
base also, but _you_ can help to make binary package upgrades work
better.


Disclaimer: http://www.ose.nl/email

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


Re: Unable to upgrade packages on FreeBSD

2012-01-30 Thread Bas Smeelen
On Mon, 30 Jan 2012 17:04:56 -0500
David Jackson djackson...@gmail.com wrote:

 On Mon, Jan 30, 2012 at 3:58 PM, Bas Smeelen b.smee...@ose.nl wrote:
 
  On Mon, 30 Jan 2012 12:52:07 -0500
  David Jackson djackson...@gmail.com wrote:
 
   I have tried endlessly to no avail to upgrade binary the packages
   on Freebsd to the latest version. I have tried:
  
   *portupgrade -PP -a
   *portmaster -PP -a
   *pkg_update
  
   All fail miserably and totally and have left the system in an
   unuseable state.
 
  What's unusable? For instance, servers are perfectly usable without
  graphical tools. If you have tried `endlessly` why didn't you
  consult /usr/ports/UPDATING and just recompile the ports without
  using binary packages?
  Or you might want to try PCBSD, it's FreeBSD with some fancy stuff
  taken care of which might solve the problem you complain about.
  
 
 
 
 I wish to use binary packages and I specifically do not want to
 compile anything, it tends to take far too long to compile programs
 and would rather install some packages and have it all work right
 away. Binary packages are a big time saver and are more efficient. It
 should be easy for FreeBSD to make it easy to install the most recent
 versions of all binary packages, its beyond belief they cannot pull
 off such a simple ans straight forward, and basic part of any OS.

I understand your motivations. 
On my 1,6GHz celeron it takes a lot of time to compile the ~600 ports I
use, especially chromium for instance and when I forget to give an
option to not bother me with questions it sits there waiting for me to
enter y or n.
Ports/ packages are not `a basic part` of the FreeBSD OS. I also don't
think it is simple and straight forward to satisfy all different user
requirements and options in a package system. Ubuntu for my taste has
had flukes in many ways many times in the past and still has (often
enough the developers desktop users complain). It works good with
complete upgrades at times, on the other hand it still leaves me
sometimes with an unusable freezing OS on the desktop, and before every
upgrade it has becomes mandatory to me to first try it with an USB boot.
This is something I cannot have on server systems being used 24x7.

 
 
   Why can't FreeBSD just make the package system just work. Right
   after installing FreeBSD I should be able to type a single command
   such as update_packages and it should update all packages on the
   system, with no errors and without requiring any configurations
   to be troubleshooted, it should work out of the box.
  
   Why not? Why is something so simple so difficult and impossible?
   Ubuntu can do it, why not FreeBSD?
 
  FreeBSD unlike Ubuntu is an entirely volunteer project. Ubuntu has
  a dedicated corporation working on it and I guess a larger user
  base.
 
 
 The reason that FreeBSD has a smaller user base is because it has a
 dysfunctional package system and it is hard to upgrade package to the
 most recent version, making FreeBSD more difficult to use/
 
 But doing a workable package system is not difficult, it something
 that FreeBSD should be easily able to make it easy to have a way to
 upgrade packages to most recent versions out of box anbd in an error
 free and reliable way.
 
 
  
   Why cant FreeBSD  Just make the package upgrades work.
 
  Because uh well it's not up to FreeBSD since the ports work
  perfectly with the documentation that comes with it or it might
  depend on the user base also, but _you_ can help to make binary
  package upgrades work better.
 
 
  A working package system is a part of any good operating system and
  saves
 time from having to compile programs. It is more convenient for most
 users to use packages so having a package system will make FreeBSD
 more popular. the reason freebsd is not used by as many people as
 Ubuntu is because of the extreme difficulty and unreliability of
 using FreeBSD.

Well, if you are talking about desktop work places, you're
probably right. This is what PCBSD is for, or even Ubuntu or other
'Operating Systems'
On servers however FreeBSD is extremely reliable. It requires the
operator to take care of the system, OS updates and upgrades are rock
solid for decades and application (ports/ packages) updates/
upgrades require the operator to evaluate the changes in detail. I have
had a lot of trouble by the ease of upgrade/ update on other 'OS'
applications which I did not encounter on FreeBSD because FreeBSD
required me to think about what I was doing and then it
goes well the first time.

 
 FreeBSD does not HAVE to make the system reasonably easy to use for
 common users who want to install packages, but it would be the right
 thing to do, especially if FreeBSD wants more users.

Again PCBSD might be an option.
It depends on what kind of users. Users who think and can rely on a
rock solid OS or users who just upgrade/ update and then sit with
failing application services, database changes and so on, because they
did not read

Re: Unable to upgrade packages on FreeBSD

2012-01-30 Thread Bas Smeelen
On Mon, 30 Jan 2012 17:04:56 -0500
David Jackson djackson...@gmail.com wrote:


 On Mon, Jan 30, 2012 at 3:58 PM, Bas Smeelen b.smee...@ose.nl wrote:
   
  On Mon, 30 Jan 2012 12:52:07 -0500
  David Jackson djackson...@gmail.com wrote:
   
   I have tried endlessly to no avail to upgrade binary the packages
   on Freebsd to the latest version. I have tried:
  
   *portupgrade -PP -a
   *portmaster -PP -a
   *pkg_update
  
   All fail miserably and totally and have left the system in an
   unuseable state.  
 
  What's unusable? For instance, servers are perfectly usable without
  graphical tools. If you have tried `endlessly` why didn't you
  consult /usr/ports/UPDATING and just recompile the ports without
  using binary packages?
  Or you might want to try PCBSD, it's FreeBSD with some fancy stuff
  taken care of which might solve the problem you complain about.  

   
 
 
 I wish to use binary packages and I specifically do not want to
 compile anything, it tends to take far too long to compile programs
 and would rather install some packages and have it all work right
 away. Binary packages are a big time saver and are more efficient. It
 should be easy for FreeBSD to make it easy to install the most recent
 versions of all binary packages, its beyond belief they cannot pull
 off such a simple ans straight forward, and basic part of any OS.  

I understand your motivations. 
On my 1,6GHz celeron it takes a lot of time to compile the ~600 ports I
use, especially chromium for instance and when I forget to give an
option to not bother me with questions it sits there waiting for me to
enter y or n.
Ports/ packages are not `a basic part` of the FreeBSD OS. I also don't
think it is simple and straight forward to satisfy all different user
requirements and options in a package system. Ubuntu for my taste has
had flukes in many ways many times in the past and still has (often
enough the developers desktop users complain). It works good with
complete upgrades at times, on the other hand it still leaves me
sometimes with an unusable freezing OS on the desktop, and before every
upgrade it has becomes mandatory to me to first try it with an USB boot.
This is something I cannot have on server systems being used 24x7.

 
   
   Why can't FreeBSD just make the package system just work. Right
   after installing FreeBSD I should be able to type a single command
   such as update_packages and it should update all packages on the
   system, with no errors and without requiring any configurations
   to be troubleshooted, it should work out of the box.
  
   Why not? Why is something so simple so difficult and impossible?
   Ubuntu can do it, why not FreeBSD?  
 
  FreeBSD unlike Ubuntu is an entirely volunteer project. Ubuntu has
  a dedicated corporation working on it and I guess a larger user
  base.
   
 
 The reason that FreeBSD has a smaller user base is because it has a
 dysfunctional package system and it is hard to upgrade package to the
 most recent version, making FreeBSD more difficult to use/
 
 But doing a workable package system is not difficult, it something
 that FreeBSD should be easily able to make it easy to have a way to
 upgrade packages to most recent versions out of box anbd in an error
 free and reliable way.
 
   
  
   Why cant FreeBSD  Just make the package upgrades work.  
 
  Because uh well it's not up to FreeBSD since the ports work
  perfectly with the documentation that comes with it or it might
  depend on the user base also, but _you_ can help to make binary
  package upgrades work better.
 
 
  A working package system is a part of any good operating system and
  saves  
 time from having to compile programs. It is more convenient for most
 users to use packages so having a package system will make FreeBSD
 more popular. the reason freebsd is not used by as many people as
 Ubuntu is because of the extreme difficulty and unreliability of
 using FreeBSD.  

Well, if you are talking about desktop work places, you're
probably right. This is what PCBSD is for, or even Ubuntu or other
'Operating Systems'
On servers however FreeBSD is extremely reliable. It requires the
operator to take care of the system, OS updates and upgrades are rock
solid for decades and application (ports/ packages) updates/
upgrades require the operator to evaluate the changes in detail. I have
had a lot of trouble by the ease of upgrade/ update on other 'OS'
applications which I did not encounter on FreeBSD because FreeBSD
required me to think about what I was doing and then it
goes well the first time.

 
 FreeBSD does not HAVE to make the system reasonably easy to use for
 common users who want to install packages, but it would be the right
 thing to do, especially if FreeBSD wants more users.  

Again PCBSD might be an option.
It depends on what kind of users. Users who think and can rely on a
rock solid OS or users who just upgrade/ update and then sit with
failing application services, database changes

Re: Unable to upgrade packages on FreeBSD

2012-01-30 Thread Bas Smeelen
On Tue, 31 Jan 2012 00:02:44 +0100
Bas Smeelen b.smee...@ose.nl wrote:

 On Mon, 30 Jan 2012 17:04:56 -0500
 David Jackson djackson...@gmail.com wrote:

To put it bluntly

It's the users fault
from my own experience

Apple: just fsck off
Mcrsft and Oracle and whom they have swallowed so far: just pay enough
bucks, it's still your fault wait for the next update
Ubuntu: just be rude on the mail-lists, wait for the next update or get
involved
FreeBSD: you could have known, RTFM! or get involved it's just as easy
with the FM

Netherlands: Bowmore Islay and others others are fore sale this week :)

Damn laptop is still compiling
Would be nice if there were stills compiling something else

Cheers


Disclaimer: http://www.ose.nl/email

___
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: Dual Booting Linux with FreeBSD 9.0 - Grub in MBR

2012-01-28 Thread Bas Smeelen
On Fri, 27 Jan 2012 21:32:10 +
Kaya Saman kayasa...@gmail.com wrote:

 Hi,
 
 am just wondering if anyone has successfully managed to boot FreeBSD
 9.0 and Linux.
 
 I run Fedora 16 x64 with Grub installed in my MBR.
 
 FBSD9 installed as the new disk scheme GPT. I think (I manually 
 partitioned as my disk is quite crowded).
 
 Anyway I found this:
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2011-October/234858.html
 
 and at the moment I have this in my Grub config:
 
 menuentry 'FreeBSD 9.0'  {
  set root=(ada0,1,a)
  kfreebsd /boot/loader
  boot
 }
 
 But unfortunately no boot :-(
 
 
 I have tried using (hd0,0), (hd0,1,a), (hd0,0,a), and (hd0,a) but 
 unfortunately nothing is working.
 
 
 The Grub version is 2.
 
 
 Can anyone help me?
 

Hi

I have the following partition layout
P1 linux swap
P2 FreeBSD 
P3 linux
P4 extended which holds 2 more linux partitions

FreeBSD 9 installed on P2 and the FreeBSD bootloader on P2

In /etc/grub.d/40_custom I have put the following:

menuentry FreeBSD {
 set root=(hd0,2)
 chainloader +1
 }

Then run update-grub as root.

The (hd0,2) entry means first harddisk (this laptop only has one) and
the second partition, which holds the FreeBSD bootloader that gets
loaded with the enry chainloader +1.

This works for me. Hope it helps.

I think with the way you have the setup now, a module must be loaded
first in the grub config. Insmod ufs or similair.


Disclaimer: http://www.ose.nl/email

___
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: upgrade from 8.2 to 9.0

2012-01-13 Thread Bas Smeelen
On 01/13/2012 02:42 PM, Dick Hoogendijk wrote:
 I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
 I guess the binary upgrade will not be a problem with freebsd-update -r
 9.0-RELEASE fetch If so, I do like to hear the caveats.
 My main problem lies with the installed ports. I know the -all- have to be
 recompiled, but I don't know an easy way for this job.  I always use
 portmaster. Do I have to make a list manually for all installed ports? Or
 is there a procedure to follow in this matter? I'd like to get some
 pointers if possible.
 Thanks.
 _
It works great with source upgrade, so freebsd-update should not be a
problem but i haven't used it yet to upgrade to 9.
It is used like this: freebsd-update -r 9.0-RELEASE upgrade  (i.e. not fetch)
See also the handbook for a good explanation

You can use portmaster --list-origins to make a list of all root and leaf
ports and use this to reinstall all ports after the upgrade.
See man portmaster for a good example.

Or you can use portmaster -af to recompile all ports.


Disclaimer: http://www.ose.nl/email

___
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


9.0-STABLE custom kernel interrupt storm irq10

2012-01-07 Thread Bas Smeelen
Hi all,

After updating the sources to 9.0-STABLE and building a custom kernel I
get a interrupt storm on irq10, from messages I get that different devices use 
irq10.
It starts after loading ums0 and wlan0 and ath0 times out then.

Rebuilding the GENERIC kernel en booting does not give this interrupt
storm.

In the messages from GENERIC I see that the devices sing irq10 with the custom 
kernel 
use different irq,s

What device or option did I comment out in the custom kernel that
triggers this?

In /etc/make.conf I have
MODULES_OVERRIDE= cd9660 cd9660_iconv msdosfs msdosfs_iconv linux linprocfs
so only the modules I (might) use are being build.

The uname -a without this problem
$ uname -a
FreeBSD mpw 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jan  7 12:41:51 CET
2012 root@mpw:/usr/obj/usr/src/sys/GENERIC  i386

$ vmstat -i
interrupt  total   rate
irq1: atkbd01793  2
irq9: acpi021373 27
irq14: ata010404 13
irq18: ath0 uhci2  17219 22
irq19: uhci1   10129 13
irq20: hpet0 cbb0 156521202
irq23: uhci0 ehci0 2  0
irq256: hdac0   2020  2
Total 219461283

This is with the GENERIC kernel, nothing is using irq10.
Below you find output of pciconf, the custom kernel config and output of
messages. Thanks in advance

$ pciconf -lv
hostb0@pci0:0:0:0:  class=0x06 card=0x01101025
chip=0x27a08086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation'
device = 'Mobile 945GM/PM/GMS, 943/940GML and 945GT Express
Memory Controller Hub' class  = bridge
subclass   = HOST-PCI
vgapci0@pci0:0:2:0: class=0x03 card=0x01101025
chip=0x27a28086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation'
device = 'Mobile 945GM/GMS, 943/940GML Express Integrated
Graphics Controller' class  = display
subclass   = VGA
vgapci1@pci0:0:2:1: class=0x038000 card=0x01101025
chip=0x27a68086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation'
device = 'Mobile 945GM/GMS/GME, 943/940GML Express Integrated
Graphics Controller' class  = display
hdac0@pci0:0:27:0:  class=0x040300 card=0x01101025
chip=0x27d88086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = 'N10/ICH 7 Family High Definition Audio Controller'
class  = multimedia
subclass   = HDA
pcib1@pci0:0:28:0:  class=0x060400 card=0x01101025
chip=0x27d08086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation'
device = 'N10/ICH 7 Family PCI Express Port 1'
class  = bridge
subclass   = PCI-PCI
pcib2@pci0:0:28:1:  class=0x060400 card=0x01101025
chip=0x27d28086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation'
device = 'N10/ICH 7 Family PCI Express Port 2'
class  = bridge
subclass   = PCI-PCI
pcib3@pci0:0:28:2:  class=0x060400 card=0x01101025
chip=0x27d48086 rev=0x02 hdr=0x01 vendor = 'Intel Corporation'
device = 'N10/ICH 7 Family PCI Express Port 3'
class  = bridge
subclass   = PCI-PCI
uhci0@pci0:0:29:0:  class=0x0c0300 card=0x01101025
chip=0x27c88086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = 'N10/ICH 7 Family USB UHCI Controller'
class  = serial bus
subclass   = USB
uhci1@pci0:0:29:1:  class=0x0c0300 card=0x01101025
chip=0x27c98086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = 'N10/ICH 7 Family USB UHCI Controller'
class  = serial bus
subclass   = USB
uhci2@pci0:0:29:2:  class=0x0c0300 card=0x01101025
chip=0x27ca8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = 'N10/ICH 7 Family USB UHCI Controller'
class  = serial bus
subclass   = USB
uhci3@pci0:0:29:3:  class=0x0c0300 card=0x01101025
chip=0x27cb8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = 'N10/ICH 7 Family USB UHCI Controller'
class  = serial bus
subclass   = USB
ehci0@pci0:0:29:7:  class=0x0c0320 card=0x01101025
chip=0x27cc8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = 'N10/ICH 7 Family USB2 EHCI Controller'
class  = serial bus
subclass   = USB
pcib4@pci0:0:30:0:  class=0x060401 card=0x01101025
chip=0x24488086 rev=0xe2 hdr=0x01 vendor = 'Intel Corporation'
device = '82801 Mobile PCI Bridge'
class  = bridge
subclass   = PCI-PCI
isab0@pci0:0:31:0:  class=0x060100 card=0x01101025
chip=0x27b98086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = '82801GBM (ICH7-M) LPC Interface Bridge'
class  = bridge
subclass   = PCI-ISA
atapci0@pci0:0:31:1:class=0x01018a card=0x01101025
chip=0x27df8086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = '82801G (ICH7 Family) IDE Controller'
class  = mass storage
subclass   = ATA

Re: 9.0-STABLE custom kernel interrupt storm irq10

2012-01-07 Thread Bas Smeelen
On Sat, 7 Jan 2012 13:17:01 +0100
Bas Smeelen b.smee...@ose.nl wrote:

 Hi all,
 
 After updating the sources to 9.0-STABLE and building a custom kernel
 I get a interrupt storm on irq10, from messages I get that different
 devices use irq10. It starts after loading ums0 and wlan0 and ath0
 times out then.

I guess 
device apic
is mandatory



Disclaimer: http://www.ose.nl/email

___
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: Apparently conflicting smartctl output

2012-01-06 Thread Bas Smeelen
On 01/06/2012 03:39 PM, Warren Block wrote:
 On Fri, 6 Jan 2012, Bas Smeelen wrote:

 I have had this with a drive and multiple read errors would not remap the
 sector.
 With write errors the sector would be remapped. This was a new Samsung
 laptop drive though, not a Western Digital.

 That's standard.  Sectors are only remapped to spares on a write error.

 To get the sector remapped I had to fully write the drive and it was ok
 after that.

 Just writing to the sector should be enough.  Of course, when one sector
 goes bad, others often follow. 

I just hope it does not develop more bad sectors.

From what I read on the Bad block HOWTO for smartmontools on sourceforge
it's not trivial to just write to that sector and also it would destroy the
filesystem?
So I just copied a big iso file several times untill the sector got
remapped, the disk was almost full then.
This is a brand new disk, maybe I should return it under warranty then,
though it did not develop more bad sectors?



Disclaimer: http://www.ose.nl/email

___
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: Apparently conflicting smartctl output

2012-01-06 Thread Bas Smeelen

On 01/06/2012 04:37 PM, Warren Block wrote:

On Fri, 6 Jan 2012, Bas Smeelen wrote:


On 01/06/2012 03:39 PM, Warren Block wrote:

On Fri, 6 Jan 2012, Bas Smeelen wrote:

I have had this with a drive and multiple read errors would not 
remap the

sector.
With write errors the sector would be remapped. This was a new Samsung
laptop drive though, not a Western Digital.


That's standard.  Sectors are only remapped to spares on a write error.

To get the sector remapped I had to fully write the drive and it 
was ok

after that.


Just writing to the sector should be enough.  Of course, when one 
sector

goes bad, others often follow.


I just hope it does not develop more bad sectors.


That's the worrying thing.  Was it just a loose flake of oxide, or was 
it a strip that peeled off the disk?


No way to know I guess


From what I read on the Bad block HOWTO for smartmontools on 
sourceforge
it's not trivial to just write to that sector and also it would 
destroy the

filesystem?


Finding the right block may not be too hard.  /var/log/messages should 
show the block number, but then I don't know what tool is available to 
write to that specific block.  Tools like that are not common because 
generally, growing bad sectors means the drive is starting to fail 
anyway.


I could use dd if=/dev/random of=file seek=blocks_to_skip bs=100M the 
next time





So I just copied a big iso file several times untill the sector got
remapped, the disk was almost full then.
This is a brand new disk, maybe I should return it under warranty then,
though it did not develop more bad sectors?


If possible, yes.  It already lost some data.



I'll talk to the supplier anyway when more bad sectors occur
Cheers



Disclaimer: http://www.ose.nl/email

___
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: Apparently conflicting smartctl output

2012-01-06 Thread Bas Smeelen
On Fri, 6 Jan 2012 12:32:14 -0700 (MST)
Warren Block wbl...@wonkity.com wrote:

 On Fri, 6 Jan 2012, Bas Smeelen wrote:
 
  On 01/06/2012 04:37 PM, Warren Block wrote:
  On Fri, 6 Jan 2012, Bas Smeelen wrote:
  
  On 01/06/2012 03:39 PM, Warren Block wrote:
  On Fri, 6 Jan 2012, Bas Smeelen wrote:
  
  I have had this with a drive and multiple read errors would not
  remap the
  sector.
  With write errors the sector would be remapped. This was a new
  Samsung laptop drive though, not a Western Digital.
 
  I could use dd if=/dev/random of=file seek=blocks_to_skip bs=100M
  the next time
 
 Yes, if you're not worried about existing data.  But use /dev/zero 
 (faster and you can verify the value) and bs=1M count=100 (ties up
 only 1M of buffer space).

Thanks a lot. This was always confusing me, now I know!
Cheers



Disclaimer: http://www.ose.nl/email

___
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


[OT] re: Realtek RTL8191SEvB Linux driver?

2012-01-06 Thread Bas Smeelen
to Jerry at seibercom.net

weapons make a polite society

http://www.telegraaf.nl/binnenland/11138983/__Van_Uhm_is_wereldhit__.html

there's no free piss
it's recycled money for water/beer/juice/whatever

Cheers
Bas



Disclaimer: http://www.ose.nl/email

___
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: Apparently conflicting smartctl output

2012-01-05 Thread Bas Smeelen
On 01/05/2012 08:56 PM, Chuck Swiger wrote:
 On Jan 5, 2012, at 11:42 AM, Janos Dohanics wrote:
 - Do I have a bad hard drive (apparently, I do...)

 - Why are there No Errors Logged by smartctl?
 You've probably got a bad sector on the drive, anyway.

 The SMART error log is a funny thing governed by various drive's firmware 
 which have quirks.  Some of 'em only have a self-test log, but don't store 
 the error log at all; others will only record an error after they've given up 
 trying to remap a failing sector.  You snipped too much of the smartctl 
 output to see what the Error logging capability section says-- the full 
 output would be more informative.

 You almost certainly want to do a full read-scan of the drive via dd 
 if=/dev/ad4 of=/dev/null bs=64k, which will help the drive notice any other 
 failing sectors.  Repeat dd if it aborts early with an error (or add 
 conv=noerror, maybe).

 Regards,

Hi,

I have had this with a drive and multiple read errors would not remap the
sector.
With write errors the sector would be remapped. This was a new Samsung
laptop drive though, not a Western Digital.
To get the sector remapped I had to fully write the drive and it was ok
after that.
For now no bad sectors have been showing up



Disclaimer: http://www.ose.nl/email

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

2012-01-04 Thread Bas Smeelen
On 01/04/2012 01:17 PM, Daniel Lewis wrote:
 Im running Free BSD 8.2 and was wondering whats a good web browser for
 version 8.2?
 Where and how would we install it? ( Im really new to unix)


 Thanks,
 Daniel Lewis

Hi Daniel,

It depends on your preferences.
You can read up on:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

I like Midori a lot and the default Gnome browser Epiphany.
If you have the flash plugin installed like explained in de document link,
both will also play video's.



Disclaimer: http://www.ose.nl/email

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

2012-01-04 Thread Bas Smeelen
On 01/04/2012 01:59 PM, Julian H. Stacey wrote:
 Hi,
 Reference:
 From:Daniel Lewis innervisionnetw...@gmail.com 
 Date:Wed, 4 Jan 2012 07:17:47 -0500 
 Message-id:  
 cahsizg-op0mo79qawg2grlyleatkcip8iabq+0ayqvk7idz...@mail.gmail.com 
 Daniel Lewis wrote:
 Im running Free BSD 8.2 and was wondering whats a good web browser for
 version 8.2?
 Where and how would we install it? ( Im really new to unix)
 su
 cd /usr/ports/www/firefox ; make install

 This fetches then builds from source code

 Or to install binaries
   man pkg_add 

 Cheers,
 Julian

To follow up.
Midori and Epiphany are not explained in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

as root:
cd /usr/ports/www/midori  make install clean
Epiphany comes with the gnome desktop environment, which is mentioned in the
Handbook also.

I don't use/install the Java plugin, only flash


Disclaimer: http://www.ose.nl/email

___
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 Kernel Internals Documentation

2011-12-31 Thread Bas Smeelen

On 12/31/2011 01:02 PM, Joe Gain wrote:

Writers who rely on ideological positions such as (socialism || fascism ||
jedi-knight == good | bad) really need to go visit a social science mailing
list. It's not like political/ religious mailing lists don't exist.

My positivist take on things:

1. Nobody is stopping anybody from changing their freebsd kernel. The same
cannot be said of MS Windows. Documentation is an excuse.

FreeBSD is very well documented!
I guess a lot of people can't cope with how structured and professional 
it is. They are used to chaos, fear, uncertainty and doubt and feel 
comfortable that way.


2. FreeBsd is a main-stream O/S-- just look at the number of different
architectures/applications which are supported by FreeBSD.

Main stream and top player for web and internet servers


3. FreeBSD isn't even hard to use, if you only want to use it like 80% of
computer users, to run your web browser, watch videos and listen to music.
People who consider it difficult might like to remember their first
experiences with learning windows.
I guess PCBSD is easier and better for the average desktop user, those 
guys do a good job at this!
FreeBSD is the easiest to use for me on servers and even on the desktop 
but I still have a linux ubuntu desktop though
To get a good desktop going without initial internet connection it is a 
daunting task on FreeBSD


4. Drivers aren't really a limitation. Look at the history of computing,
that modern O/S support such diverse platforms is an amazing development.
As far as I'm concerned, FreeBSD supports main stream components, there are
no classes of components that I'm aware of which aren't supported by
FreeBSD. If you need to use a particular device, for which there is no
driver, historically it's not unusual to find that on any particular
platform a particular device is not supported.

It supports most things except the things you wouldn't want anyway


5. Nobody is making anyone use FreeBSD. It's free. If you don't enjoy it,
don't use it. Maybe remove yourself from the mailing list-- or don't, if
you just want to stay informed.

If you don't like it, please leave, there are a lot of alternatives


Normative takes:

6. Is FreeBSD better than windows? For me it is. For me it's stabler. What
I remember from using windows, and what I'm aware of, from people around me
who use windows is that over time, the system seems to degrade. This leads
to really major actions such as re-installation every 6mths or so. And...

It is!


7. The temptation to install illegal software on MS Windows is very high.
Who wants to pay for every little gimmicky app? Who can afford to pay for
some major applications, which are needed for studying etc.? This often
leads to an unstable system and security problems. The ports system in
comparison is a much preferred software/ application distribution system
because at least you get to look at the source code, if you want to.
Most windows users and professionals I know are plane thieves, it is 
just easy for hem to get away with it. It's not my cup -o- joe and I 
refuse to be like that, no illegal software for me.


8. It's an individual choice. Depends what you use your computer for.
maths/R is one of my favorite applications and it even runs on windows.
It's all about choice and I'd rather learn from history than repeat it 
over and over


May the force be with you!

Use the force Luke, read the source :)

Cheers



Disclaimer: http://www.ose.nl/email

___
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.3RC3: halt

2011-12-23 Thread Bas Smeelen
Hi folks,

Another question I wasn't able to answer proper to my self. I recognized
that the system is not turning of by default after typing halt, but
waiting in some kind of standby for reboot. Is this wished behavior or
maybe related to some local config/hardware?

Cheers,
Frank

Hi Frank,

halt does not power off the system.
halt -p does.
See man halt

Cheers

Disclaimer: http://www.ose.nl/email

___
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.3RC3: halt

2011-12-23 Thread Bas Smeelen
 Hi folks,

 Another question I wasn't able to answer proper to my self. 

READ THE MANPAGE.
I guess he just did :)

This is -standard- behavior. 

Has been so for many releases.  
Indeed
Have great holidays and/or if you care merry Christmas

If you want the machine to turn the power off, you must use the proper option
for that behavior.
halt -p

Disclaimer: http://www.ose.nl/email

___
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


Fw: Merry Christmas from the FreeBSD Security Team

2011-12-23 Thread Bas Smeelen
_  
From: FreeBSD Security Officer [mailto:cperc...@freebsd.org]
To: freebsd-secur...@freebsd.org
Sent: Fri, 23 Dec 2011 16:41:20 +0100
Subject: Merry Christmas from the FreeBSD Security Team

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

No, the Grinch didn't steal the FreeBSD security officer GPG key, and your eyes
aren't deceiving you: We really did just send out 5 security advisories.

The timing, to put it bluntly, sucks.  We normally aim to release advisories on
Wednesdays in order to maximize the number of system administrators who will be
at work already; and we try very hard to avoid issuing advisories any time close
to holidays for the same reason.  The start of the Christmas weekend -- in some
parts of the world it's already Saturday -- is absolutely not when we want to be
releasing security advisories.

Unfortunately my hand was forced: One of the issues (FreeBSD-SA-11:08.telnetd)
is a remote root vulnerability which is being actively exploited in the wild;
bugs really don't come any worse than this.  On the positive side, most people
have moved past telnet and on to SSH by now; but this is still not an issue we
could postpone until a more convenient time.

While I'm writing, a note to freebsd-update users: FreeBSD-SA-11:07.chroot has a
rather messy fix involving adding a new interface to libc; this has the awkward
side effect of causing the sizes of some symbols (aka. functions) in libc to
change, resulting in cascading changes into many binaries.  The long list of
updated files is irritating, but isn't a sign that anything in freebsd-update
went wrong.

- -- 
Colin Percival
Security Officer, FreeBSD | freebsd.org | The power to serve
Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk70oR8ACgkQFdaIBMps37IHEwCeNT8dws04qyJ8yuOz7g2xd9Xs
IsoAn0QfaSE6i90zFBuk1k0isvrDMYO3
=p94J
-END PGP SIGNATURE-

merry Christmas

Disclaimer: http://www.ose.nl/email

___
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.3RC3: halt

2011-12-23 Thread Bas Smeelen
_  

From: Damien Fleuriot [mailto:m...@my.gd]
To: Bas Smeelen [mailto:b.smee...@ose.nl]
Sent: Fri, 23 Dec 2011 17:49:04 +0100
Subject: Re: 9.3RC3: halt
  
  
  I do like your company's email disclaimer.
  
  At least it doesn't pretend to PROHIBIT recipients from doing anything
  when it has no legal leg to stand on, it merely asks nicely.
  
  Makes for a nice change.
  
  
  happy xmasThanks  Damien
My employer still does not approve and does not understand my explanation that 
a disclaimer is just plain bullshit. I still put this in to keep him quiet :)

Happy Christmas to you too and have great holidays
Bas

p.s. I cc'd questions because I like your comment and more people could do it 
this way, thanks very much



Disclaimer: http://www.ose.nl/email
___
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: Perl Upgrade And Mailscanner Woes

2011-12-21 Thread Bas Smeelen
On 12/21/2011 03:59 PM, Tim Daneliuk wrote:
 Almost every time there is a perl upgrade, it manages to break
 Mailscanner even after running perl-after-upgrade.  The solution
 ends up being a reinstall of Mailscanner, but this is a real pain,
 because you have to delete and reinstall every dependent perl
 package used by Mailscanner.

 Does anyone have a better way?
Hi
After a major perl upgrade?

portmaster -r perl-
portmaster p5-

portupgrade -fr perl


Disclaimer: http://www.ose.nl/email

___
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


9.0-PRERELEASE slow scp transfer

2011-11-22 Thread Bas Smeelen
Hi

I have a stange thing.

1. 7.3-RELEASE-p2 on dell poweredge SC440 with bge nic
2. 9.0-PRERELEASE on another dell poweredge SC440 bge nic
3. 7.4-RELEASE-p4 in a vmware virtual machine with em nic

When i copy a file with scp which is a few hundred megabytes on 1. from 2.
or from 3. i get about 10MB/s
When i copy a filewith scpwhich is a few hundred megabytes on 3. from 1. or
from 2. i get about 10MB/s
When i copy a file with scpwhich is a few hundred megabytes on2. from 3.i
get about 10MB/s
When i copy a file with scp which is a few hundred megabytes on2. from 1.i
get about 130 KB/s

I can find nothing in the logs or netstat errors on this 9.0-PRERELEASE box.
I have switched network kabels and ports on the switch.

How could i further investigate?

Thanks in advance



Disclaimer: http://www.ose.nl/email

___
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 find installed executables

2011-10-11 Thread Bas Smeelen
On 10/11/2011 11:09 AM, Jim jim wrote:
 Hallo,
 I'm kind of new to FreeBSD and installed the latest version a few days ago, 
 it gave me the option to install some packages and I chose some of them like 
 'FlightGear' for example.But now I don't know how to execute this game or any 
 other program I got installed. I can find the folder and it's like 
 /usr/ports/games/flightgear but there is the Makefile so I think that is the 
 installation folder and i also tried to install it but than it shows me that 
 it is already installed.Could you tell me which one is the executable and how 
 to run it or where I can find it?
 Hope you can help me with this.
 Yours Sincerely
 Jim van Dooren. 
Hi Jim,

Ports (and packages) are installed under /usr/local
For Flightgear for example in de ports directory you mention
/usr/ports/games/flightgear there is a file pkg-plist which contains a list
of files that are installed by this port. If you have done a rehash after
installing then the binary should be found in your path.
Good luck.


This e-mail is for the intended recipient(s) only. Access, disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: Fw: 8.2-RELEASE-amd64.iso weirdness (help!)

2011-08-03 Thread Bas Smeelen
On 08/03/2011 09:06 AM, Conrad J. Sabatier wrote:
 I ran dd and zeroed out the entire first gigabyte of space on the
 drive, yet grub was still there!  I couldn't believe it.  I'm on the
 verge now of just zeroing out the entire drive.  Hate to have to resort
 to such a ridiculously extreme method, but at this point, there seems
 to be little else left to try.  The unfortunate thing is that, after
 all these repeated failures, I then have to go back and reinstall Ubuntu
 Linux to get back online, post questions, do further investigation, etc.
 Very time-consuming.
You can just run a live cd or usb to get online



This e-mail is for the intended recipient(s) only. Access, disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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 deny getting static ip address via pf ?

2011-07-26 Thread Bas Smeelen
On 07/26/2011 12:44 PM, Yavuz Maşlak wrote:
 Hello 

 I use pf on freebsd as packet filter.

 I have a wireless area. The users get to the internet using automatic ip
 from the dhcp server. 
 I wish to deny to assign a static ip address by manual. 

 How can I do that with pf or ipfw or another thing?

 thanks

Hi
You cannot deny a client to set a static IP address on the client machine,
except when you have control over the client machine.
You can allow access with pf or ipfw only for the DHCP address range you
give out to clients and for static addresses you may have configured
yourself on some network devices that need access. If your firewall defaults
to deny (default) all other IP addresses are denied, otherwise deny those
addresses.


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

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

2011-07-25 Thread Bas Smeelen
On 07/25/2011 09:36 AM, Jos Chrispijn wrote:
 Dear group,
 Is there a web driven configuration for ipfw after I installed it on my
 server?

webmin /usr/ports/sysutils/webmin/
the BSD Firewall module http://www.webmin.com/standard.html



DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: finding kernel 'r' number

2011-06-16 Thread Bas Smeelen
On 06/16/2011 02:28 PM, Bruce Cran wrote:
 On Thu, 16 Jun 2011 08:16:45 -0400
 Robert Huff roberth...@rcn.com wrote:

  For some time now, people have been referring to what build
 they're using by the 'r' number, which I believe to be part of svn.
  How would one go about determining this value for the
 installed kernel?
 I'm not sure you can: the revision only shows up if you have svn
 installed (devel/subversion-freebsd) and have built the kernel from code
 checked out from the svn server.

You might want to read:
http://wiki.freebsd.org/SubversionPrimer





DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: finding kernel 'r' number

2011-06-16 Thread Bas Smeelen
On 06/16/2011 02:32 PM, Brandon Gooch wrote:
 That would be uname(1):

 $ uname -v
 FreeBSD 9.0-CURRENT #0 r223017: Sun Jun 12 13:55:34 CDT 2011
 root@m6500.local:/usr/obj/usr/src/sys/GENERIC

 where r223017 is the current svn revision number from which my
 system is compiled (kernel and userland).
Does this only apply if you checkout with svn ?
I run current on a machine, update with csup and have get r number with uname


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: A possibly odd upgrade question

2011-05-20 Thread Bas Smeelen
On 05/20/2011 03:58 AM, Chris Brennan wrote:
 On Thu, May 19, 2011 at 5:04 PM, Polytropon free...@edvax.de wrote:

 Yes, the recommended order. :-)
 One last question ... hopefully lol. am I going to run into any issues w/
 the default fbsd6 layout?

 [root@Ziggy [~]# df -h
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a496M328M128M72%/
 devfs  1.0K1.0K  0B   100%/dev
 /dev/ad0s1e496M234K456M 0%/tmp
 /dev/ad0s1f 33G5.7G 25G19%/usr
 /dev/ad0s1d1.3G1.0G226M82%/var
 /dev/ad1s1d 54G8.9G 41G18%/usr/home
 /dev/ad6s1  74G 61G 13G82%/mnt/music
 linprocfs  4.0K4.0K  0B   100%/usr/compat/linux/proc
 [root@Ziggy [~]#

 What I think I failed to previously mention is that this machine started out
 with fbsd6.x, was upgraded many times from 6x though 7.1 where it fell into
 disuse. With my recent repurpose of this box ... I'm concerned that it might
 be a moot point if base won't fit on rot root slice.

It can fit, however don't build the kernel with debug symbols and move or
remove the current debug symbol files of your kernel.

See below, our development box. It has GENERIC with debug symbol files, a
kernel.old and a kernel without debug symbols on /boot which is on the /
partition

FreeBSD dev.ose.nl 7.4-RELEASE FreeBSD 7.4-RELEASE #0: Fri Mar 18 23:05:18
CET 2011 free...@dev.ose.nl:/usr/obj/usr/src/sys/DEV  amd64
dev:/home/Freebee #df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/da0s1a496M295M162M65%/
devfs   1.0K1.0K  0B  100%/dev
/dev/da0s1e7.7G642K7.1G 0%/tmp
/dev/da0s1f135G 46G 78G37%/usr
/dev/da0s1d7.7G1.1G6.0G16%/var



-- 
Systeembeheerder


OverNite Software Europe BV
Dr. Nolenslaan 157
6136 GM Sittard
THE NETHERLANDS
 
phone: +31464200933
fax:   +31464200934
web:   http://www.ose.nl




DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: BTX loader - cant find sources

2011-03-25 Thread Bas Smeelen
On 03/25/2011 09:18 AM, Andi Anton wrote:
 Hi guys,

 Can you tell me, please, where can I found the sources for the freeBSD BTX 
 bootloader?
Hi
If you have the sources installed, it's in
/usr/src/sys/boot/i386/btx/btxldr/ I guess
 I have some BIOS SATA hdd detection problems (the BTX loader hangs just ater 
 it founds the hdd) and I want to recompile and debug the BTX loader in order 
 to fix my problem.

 Thanks in advance,
 phpwolf



DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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 is KIX (super)

2011-03-18 Thread Bas Smeelen
Thank you all FreeBSD people
I use to keep the servers up to date and have a custom kernel, but some don't 
need this!

FreeBSD 6.0-RELEASE (GENERIC) #0: Thu Nov  3 09:36:13 UTC 2005
$ uptime
 6:14PM  up 1812 days,  1:51, 1 user, load averages: 0.13, 0.03, 0.01
$ uname -a
FreeBSD mail.xxx.nl 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 
2005 r...@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
$ 

It has a nice ipfw and provides some http sites, ssl smtp, mysql and imapproxy 
for about 100 users roaming throughout the world :)

cheers

 

DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Bas Smeelen
On 03/10/2011 12:35 PM, Juan C. Valido wrote:
 A GUI on a server is just a matter of preference, I go back to before
 Dos 1.0 and when Windows came out, I fell in love. Now I've got to have
 a GUI on everything, besides as you get older the command line becomes
 harder (memory loss)...
Do you plan to update FreeBSD and installed ports on your servers on a
regular basis?
Then I would not recommend installing graphical window ports (applications)
on these servers, because it can give you a lot of time, work e.g.
unnecessary hassle when upgrading/updating.
Webmin is a  good GUI progam (from client perspective) for administering
your servers, it just runs in your clients webbrowser and you can administer
almost every aspect of your servers with it.
Also you might want to take a look at:
http://www.freebsdforums.org/plesk-cpanel-dedicated-servers/

 On Thu, 2011-03-10 at 08:39 +0100, Bas Smeelen wrote:
 On 03/10/2011 04:33 AM, Juan C. Valido wrote:
 I'm an old foggie also and a lifetime Windows guy and I did a lot of
 research and a lot of trial and error until I found Dan's blog. God
 Bless the Man! Without his blog I would not have this server up. And yes
 it's running gnome. https://www.dan.me.uk/blog/category/freebsd/

 On Thu, 2011-03-10 at 09:42 +0800, Foo JH wrote:
 Hi guys,

 I know the steps are documented on the Handbook and all. I've tried to 
 read, follow, and re-read the steps, but I'm not still getting any 
 popular window manager up and running on my FreeBSD servers. Meanwhile 
 new hires are seduced by the comes-with-it windows manager via Ubuntu 
 Desktop (yes, they abstained from the server edition because they really 
 wanted the GUI).
 Hi
 Why would you want a window manager on your servers?
 Do you all work directly on the consoles?
 Do you have window managers/desktop environments on the workstations and
 access your servers remotely?
 It's not very hard, I would say it's easier, to configure your servers and
 services from the commandline with ssh.
 Or if you really want something graphical then webmin would be fine also.
 This is what I tend to roll-out for other
 (graphical oriented) administrators and with some custom commands configured
 this works great for them.



DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: lost network during freebsd-update install

2011-03-10 Thread Bas Smeelen
On 03/10/2011 01:52 PM, Tom Worster wrote:
 i was upgrading a remote machine from 7.1 to 8.1 with freebsd-update.

 the freebsd-update -r 8.1-RELEASE upgrade phase was complete and i had
 given:

 # freebsd-update install
 Installing updates...

 when the wifi on my local computer went away. eventually i restarted the
 wifi interface but the ssh session didn't recover.


 i don't know if the freebsd-update command completed or not. or how to
 find out. and if it did not, what to do next.

 i'd be most grateful for any help.
 tom
You should be able to connect to your server (new ssh session) because at
this stage freebsd-update is installing the new kernel.
Then just repeat the freebsd-update install step and you should be fine and
continue with it following the steps listed in the handbook
Also screen (1) can be your friend for doing things on remote servers.



DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Bas Smeelen
On 03/10/2011 01:46 PM, Bas Smeelen wrote:
 On 03/10/2011 12:35 PM, Juan C. Valido wrote:
 A GUI on a server is just a matter of preference, I go back to before
 Dos 1.0 and when Windows came out, I fell in love. Now I've got to have
 a GUI on everything, besides as you get older the command line becomes
 harder (memory loss)...
On the other hand, you might want to try PC-BSD.
I think it is very well supported and up to date and comes with GUI parts
and the option to install as FreeBSD

 Do you plan to update FreeBSD and installed ports on your servers on a
 regular basis?
 Then I would not recommend installing graphical window ports (applications)
 on these servers, because it can give you a lot of time, work e.g.
 unnecessary hassle when upgrading/updating.
 Webmin is a  good GUI progam (from client perspective) for administering
 your servers, it just runs in your clients webbrowser and you can administer
 almost every aspect of your servers with it.
 Also you might want to take a look at:
 http://www.freebsdforums.org/plesk-cpanel-dedicated-servers/

 On Thu, 2011-03-10 at 08:39 +0100, Bas Smeelen wrote:
 On 03/10/2011 04:33 AM, Juan C. Valido wrote:
 I'm an old foggie also and a lifetime Windows guy and I did a lot of
 research and a lot of trial and error until I found Dan's blog. God
 Bless the Man! Without his blog I would not have this server up. And yes
 it's running gnome. https://www.dan.me.uk/blog/category/freebsd/

 On Thu, 2011-03-10 at 09:42 +0800, Foo JH wrote:
 Hi guys,

 I know the steps are documented on the Handbook and all. I've tried to 
 read, follow, and re-read the steps, but I'm not still getting any 
 popular window manager up and running on my FreeBSD servers. Meanwhile 
 new hires are seduced by the comes-with-it windows manager via Ubuntu 
 Desktop (yes, they abstained from the server edition because they really 
 wanted the GUI).
 Hi
 Why would you want a window manager on your servers?
 Do you all work directly on the consoles?
 Do you have window managers/desktop environments on the workstations and
 access your servers remotely?
 It's not very hard, I would say it's easier, to configure your servers and
 services from the commandline with ssh.
 Or if you really want something graphical then webmin would be fine also.
 This is what I tend to roll-out for other
 (graphical oriented) administrators and with some custom commands configured
 this works great for them.



DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: lost network during freebsd-update install

2011-03-10 Thread Bas Smeelen
On 03/10/2011 02:37 PM, Tom Worster wrote:
 freebsd-update install
 Installing updates...Bad system call (core dumped)
But your server is running and other services are ok?

Is your kernel still 7.1 ?
I guess it should be. (uname -a)

Looks like either a newer version of freebsd-update already got installed
which is not compatible with some library or the other way around.
I have never gone from 7.1 to 8.1 directly and I haven't lost my connection
during the updates.

Does freebsd-update rollback work?
I guess maybe not but it's worth a try.

Then it's time to dive into the exact workings of freebsd-update when going
from 7.1 to 8.1 I guess.


BTW Yes I mean sysutils/screen


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: lost network during freebsd-update install

2011-03-10 Thread Bas Smeelen
On 03/10/2011 03:03 PM, Tom Worster wrote:
 at this stage, i have no remote access. even if i could gain access, i
 wouldn't know what state it's in or how to proceed. it's probably best now
 to pay for the hosting company to install 8.1 from cd.
Well if this is an option. But before paying and with a bit of bad luck
getting the same problem in 8.1 it would be nice to know what's the cause.
You do not have remote console access and a way to mount a virtual cdrom?

It sounds more like kernel and userland are not in sync or something else.
This shouldn't be a problem caused by freeb-update though.

Maybe someone has a clue about this?
Is this on real hardware or hosted in a virtual machine setup?

I haven't have this happen with about 30 servers the last three years going
from 6 to 7 and to 8, the latter with freebsd-update, rebooting with GENERIC
and then building a custom kernel.



DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: lost network during freebsd-update install

2011-03-10 Thread Bas Smeelen
On 03/10/2011 04:24 PM, Tom Worster wrote:
 before resorting to cd.

Hi, I've read your last post, this sucks.
I missed a point which you have thought about (see below)
The best thing would have been either rollback or reboot and continue, see
below.
 the handbook describes a procedure:

 A) 1st freebsd-update install: The kernel and kernel modules will be
 patched

 B) reboot

 C) 2nd freebsd-update install: The state of the process has been saved and
 thus,freebsd-update will not start from the beginning, but will remove all
 old shared libraries and object files


 i'm just guessing... A) did not complete because its shell exited. i was
 left with a half-patched kernel. when i did freebsd-update install
 again, instead of doing A) over from scratch, it attempted C) and started
 dumping cores all over the carpet. result: system can't get the kernel up
 properly.

 or another guess... A) did complete while i was disconnected. when i
 repeated freebsd-update install it attempted C) but because the old
 kernel was still running it didn't work and started dumping cores all over
 the carpet. result: system hangs attempting to start some userland part.

I guess you're right here.
When ssh disconnects the shell does not immediatly exit, it takes some minutes.
So freebsd-update succesfully installed the kernel and when you got
connected again and ran install the second time it tried to install a new
userland on top of the old running kernel which in case of this major
version upgrade did not work. Why so much stuff is missing though is not
clear to me, I would think that freebsd-update just overwrites the old binaries.

 it seems a pity now that freebsd-update chose to use the same command verb
 for both A and C.

It would be nice if freebsd-update had the same command sequence (without
the build parts) as in a source upgrade. First fetch of course, then
freebsd-update installkernel with a message to reboot on succes or rollback
on failure, then after reboot freebsd-update installworld, with a check if
the new kernel is actually loaded, after that and rebuilding ports
freebsd-update delete-old-libs

I would like to know how others think about this approach, or am I thinking
completely wrong here?
 real hw.

 i'm considering going to the clouds. i could easily restore from a vm
 snapshot. but for that i need to learn linux, another big time sink.

 add votes here:
 http://feedback.rackspacecloud.com/forums/71021-product-feedback/suggestion
 s/989519-create-a-freebsd-image

Voted.
I run FreeBSD on real hardware and in virtual machines, both work fine over
the years.

Hope you have your server up and running again and from your posts I trust
you have good backups and a reliable fast way to restore.



DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-10 Thread Bas Smeelen
On 03/11/2011 01:10 AM, Polytropon wrote:
 On Thu, 10 Mar 2011 13:46:42 +0100, Bas Smeelen b.smee...@ose.nl wrote:
 Do you plan to update FreeBSD and installed ports on your servers on a
 regular basis?
 Then I would not recommend installing graphical window ports (applications)
 on these servers, because it can give you a lot of time, work e.g.
 unnecessary hassle when upgrading/updating.
 I would suggest that, too. Allow me to point out a new
 perspective of the way of use: GUI forces you to work in a
 linear way and pay extra attention. You cannot automate it.
 Depending on what your primary intention is, using CLI
 tools to get rid of hands on work may be a better choice.
 This approach of course assumes that you actually KNOW what
 you're doing, but that's a main requirement for any
 administrator. :-)

I definitely agree here.

 Webmin is a  good GUI progam (from client perspective) for administering
 your servers, it just runs in your clients webbrowser and you can administer
 almost every aspect of your servers with it.
 That's true, but it brings new security risks to the system.
 Also keep in mind that using a web browser limits your
 accessibility to what the browser can do (and the Webmin
 can support), e. g. you may be faster using a shell with
 patterns and autocompletition than manually selecting
 things from a list.

Agree here too. Webmin can be secured and audited very well, but still the
more services that are available, the greater the security risks will be.
Only from the commandline you have all options for configuration of
different services available and it's the fastest way to do things.
For graphical oriented users I think that Webmin is a real good solution and
gives a way to get into the use of the commandline and configuration files.


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-09 Thread Bas Smeelen
On 03/10/2011 04:33 AM, Juan C. Valido wrote:
 I'm an old foggie also and a lifetime Windows guy and I did a lot of
 research and a lot of trial and error until I found Dan's blog. God
 Bless the Man! Without his blog I would not have this server up. And yes
 it's running gnome. https://www.dan.me.uk/blog/category/freebsd/

 On Thu, 2011-03-10 at 09:42 +0800, Foo JH wrote:
 Hi guys,

 I know the steps are documented on the Handbook and all. I've tried to 
 read, follow, and re-read the steps, but I'm not still getting any 
 popular window manager up and running on my FreeBSD servers. Meanwhile 
 new hires are seduced by the comes-with-it windows manager via Ubuntu 
 Desktop (yes, they abstained from the server edition because they really 
 wanted the GUI).
Hi
Why would you want a window manager on your servers?
Do you all work directly on the consoles?
Do you have window managers/desktop environments on the workstations and
access your servers remotely?
It's not very hard, I would say it's easier, to configure your servers and
services from the commandline with ssh.
Or if you really want something graphical then webmin would be fine also.
This is what I tend to roll-out for other
(graphical oriented) administrators and with some custom commands configured
this works great for them.


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have 
received it
by mistake please let us know by reply and then delete it from your system.

___
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


  1   2   >