stalled gnome installation

2007-05-22 Thread Zbigniew Szalbot
Hello,

What can I do about a halted/stalled gnome2 installation?

16053  v0  I+ 0:00.08 fetch: cdrtools-2.01.tar.bz2 [72% of 1367 kB]
(fetch)

It has been like that for an hour now. Do I start the gnome2 installation
from scratch? I am afraid that if I stop it by force, the package database
may get out of sync. Any advice what to do? Thank you in advance!


-- 
Zbigniew Szalbot

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


reject mail hosts

2007-05-22 Thread Jack Barnett


This is in the daily run output.  Anyone know what this means?  It's 
it someone trying to relay/spam though me?


Checking for rejected mail hosts:
  2 bcast.americansingles.com (553... exist)
  1 gmail.com (550... denied)
  1 aol.com (550... denied)
  1  (553... required)


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


Server rebooting after some minutes

2007-05-22 Thread Nico -telmich- Schottelius
Since today a server is rebooting after some minutes of uptime with
the following error:

mode = 0100600, inum=566528, fs=/hsphere
panic: ffs_valloc: dup_alloc
cpuid=1
boot() called on cpu#1
Cannot dump: No dump device defined.
iir0: Flushing [...]

Anyone an idea what causes that reboot?

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


portmanager -s deletes ports?

2007-05-22 Thread Heinrich Rebehn

Hi list,

i use

#  portmanager -s|grep OLD | sort -t: -k2

occasionally to see which ports need upgrading. Ports tree is cvsup'ed 
each night.


Today the above command seemed to take forever and also gave an error 
message:


MGPMrTimer timeout started signal -=14

When i hit ^C i got:

[EMAIL PROTECTED] [~] # pkg_delete: unexec command for 'rm -f 
/usr/X11R6/man/cat1/xset.1.gz /usr/X11R6/man/cat1/xset.1 
/usr/X11R6/man/cat1/xset.1.gz /usr/X11R6/man/cat1/xset.1.gz.gz 
/usr/X11R6/man/cat1/xset.1.gz.bz2' failed

pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)

I then noticed that almost *all* X11 manpages had been deleted. :-(

The portmanager manpage reads:

 o   -s or --status
  status of installed ports

My Question: how is it possible that this command *deletes* any ports?
I am aware that there have been big changes to X11 recently, but 
nevertheless, something like this should not happen.


Or is there anything that i have missed?

Kind regards,

--

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :-3341

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


Re: xorg 7.2 start problem

2007-05-22 Thread Björn König
Andriy schrieb:
 (II) Loading font FreeType
 (II) LoadModule: mga
 (WW) Warning, couldn't open module mga
 (II) UnloadModule: mga
 (EE) Failed to load module mga (module does not exist, 0)
 (II) LoadModule: mouse
 (WW) Warning, couldn't open module mouse
 (II) UnloadModule: mouse
 (EE) Failed to load module mouse (module does not exist, 0)
 (II) LoadModule: kbd
 (WW) Warning, couldn't open module kbd
 (II) UnloadModule: kbd
 (EE) Failed to load module kbd (module does not exist, 0)
 (EE) No drivers available.

You need at least the following ports:

  x11-drivers/xf86-video-mga
  x11-drivers/xf86-input-mouse
  x11-drivers/xf86-input-keyboard

Regards
Björn


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


Re: stalled gnome installation

2007-05-22 Thread Zbigniew Szalbot
Hello,

Zbigniew Szalbot wrote:
 Hello,

 What can I do about a halted/stalled gnome2 installation?

 16053  v0  I+ 0:00.08 fetch: cdrtools-2.01.tar.bz2 [72% of 1367 kB]
 (fetch)

 It has been like that for an hour now. Do I start the gnome2 installation
 from scratch? I am afraid that if I stop it by force, the package database
 may get out of sync. Any advice what to do? Thank you in advance!

Actually it is better to wait. After two hours of inactivity, fetching
cdrtools has been resumed and installation is under way.

-- 
Zbigniew Szalbot

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


Re: reject mail hosts

2007-05-22 Thread Mikhail Goriachev
Jack Barnett wrote:
 This is in the daily run output.  Anyone know what this means?  It's 
 it someone trying to relay/spam though me?

That's right. Someone's trying to deliver/relay e-mails through your
system and such attempts get logged and reported to you.

 Checking for rejected mail hosts:
2 bcast.americansingles.com (553... exist)
1 gmail.com (550... denied)
1 aol.com (550... denied)
1  (553... required)


553... exist: domain of sender doesn't exist
550... denied: relaying denied / authentication required



You shouldn't worry about it.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Spamassassin not working

2007-05-22 Thread betts
I have installed Spamaassassin along with amavisd-new to filter spam, but
I don't think it is working. I am getting a bunch of spam and spamassassin
is not tagging it as spam. I have the score set at 3.0. It worked before
on my old box but when I installed it on a new box using the same
procedure I used on the old box it is not working. Anyone have any ideas?

Thanks

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


Kernel Options fo a File Server

2007-05-22 Thread Ivan Carey

Hello,
What would be the best Kernel options to run a file server?
I will be using an Intel server mother board with one Xeon quad core CPU 
installed (this mother board has 2 CPU sockets) 2GB RAM and dual 500Gb 
SATA HDD's


I am thinking of options that would make the kernel efficient as a pure 
file server.


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


Re: Spamassassin not working

2007-05-22 Thread Chris Slothouber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2007-05-22 06:45, [EMAIL PROTECTED] wrote:
 I have installed Spamaassassin along with amavisd-new to filter spam, but
 I don't think it is working. I am getting a bunch of spam and spamassassin
 is not tagging it as spam. I have the score set at 3.0. It worked before
 on my old box but when I installed it on a new box using the same
 procedure I used on the old box it is not working. Anyone have any ideas?

What MTA are you using?  What method are you using to forward messages
between the MTA and amavisd-new?

Have you copied the appropriate plug-in .cf files for SA into
`/usr/local/etc/mail/spamassassin`?  Are the plugins being loaded in
`/usr/local/etc/mail/spamassassin/init.pre`?

- --
Chris Slothouber ([EMAIL PROTECTED]) -=- Mercenary Sysadmin
BIZ: http://www.hier7.com -=- building.better.ideas
PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGUtm3s0gLFnnAwn8RAhd1AJ4q3O9+soBroig7IIQX/JZcV1rjgwCgtIwQ
Q8xnkFNKMoxCoJAtEIwrBcU=
=jkdF
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


no glxgears with xorg 7.2?

2007-05-22 Thread Harald Schmalzbauer

Hello,

I wanted to test OpenGL with my navidia driver but ould not find 
glxgears anymore (fresh 7.0/7.2 installation).

Does anybody know what additionalport I have to install?
Or is there a replacement?

Thanks,

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


Re: no glxgears with xorg 7.2?

2007-05-22 Thread Michael Rudolph
On Tuesday 22 May 2007 13:53:25 Harald Schmalzbauer wrote:
 Hello,

 I wanted to test OpenGL with my navidia driver but ould not find
 glxgears anymore (fresh 7.0/7.2 installation).
 Does anybody know what additionalport I have to install?
 Or is there a replacement?

 Thanks,

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

Hello Harald,

running pkg_which(1) on glxgears on my not yet updated system, reveals 
xorg-clients as the origin of glxgears(1).

If I'm not mistaken, xorg-clients was renamed to xorg-apps during the 
upgrade of xorg 6.9 to xorg 7.2.

I hope that helps.

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


Re: freebsd broken after kernel re-compile.

2007-05-22 Thread Reid Linnemann

Comments inline:

Written by Yanko Sanchez on 05/21/07 19:44

@youshi10:
yeah, I'm aware that MacOSX supports for unix, but at the time that we
transfered the data to the hdd we didn't know which server was gonna
be running the hdd... Fat32 was the only FS that we know would be
compatible with any OS (but we didn't know of the size limit) so if
the server had been a Windows 2003 server, I don't think I would have
had any chance of opening that FS (unless 3rd party software if there
is any)


Anyways, here is the info that Reid asked for.

1: I updated the ports tree following the instructions of freebsd wiki



The FreeBSD wiki is a collection of pages, I need to know which specific 
pages contained your instructions.



2:  I recompiled the kernel following the instructions of freebsd wiki:
cp /usr/src/sys/i386/conf/BASTION /usr/src/sys/i386/conf/BASTION2
vim /usr/src/sys/i386/conf/BASTION2
added option MSDOSFS_LARGE

cd /usr/src
make buildkernel KERNCONF=BASTION2

make installkernel KERNCONF=BASTION2
reboot



This is a standard way to install a new kernel.


3: uname -a:
FreeBSD bastion 6.2-STABLE FreeBSD 6.2-STABLE #2L Mon May 21 00:30:39
PDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BASTION2  i386

4: iffconfig -a:
bastion# ifconfig -a

rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
atalk 65280.205 range 0-65534 phase 2 broadcast 0.255
ether 00:e0:18:8d:10:8f
media: Ethernet autoselect (100baseTX full-duplex)
status: active
fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
options=8VLAN_MTU
ether 0a:00:46:29:6f:02
ch 1 dma -1
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00
atalk 0.0 range 0-0 phase 2

Also, I think my network card that shows up took the place of the
otherone, in other words, rl1 is now rl0 and rl1 is gone... I don't
know if that just changed cos it can't find the other network card.




I think the output of pciconf -lv might help as well.

You should be able to boot back up in your old kernel so you can at 
least get back to your previous working conditions. When you boot the 
machine, and you see the boot menu, select the option to escape to the 
loader prompt. Here, 'unload kernel' and 'load /boot/kernel.old/kernel', 
then 'boot' to start the system. Whenever you make installkernel from 
the source tree, it will back up your old kernel and modules in 
/boot/kernel.old. Alternatively, you can move /boot/kernel to 
/boot/kernel.bak and move /boot/kernel.old to /boot/kernel to restore 
your original kernal and modules, and reboot the machine.


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


Unable to get IP Address - WEP, DHCP, Ndisgen, bcmwl5_sys.ko

2007-05-22 Thread Stanley
As the subject suggests, I am having trouble getting online on my computer. I 
have generated a driver with ndisgen and the card worked perfectly with 
ndiswrapper in Debian. I can configure the card with ifconfig, but I can't get 
an IP Address with DHCP, and if I assign it manually and ping my router, it 
says Network Unreachable.

Thanks for any help,
James Stanley
P.S. I hope this is the right way to ask, I've never posted to a mailing list 
before...

--
Free pop3 email with a spam filter.
http://www.bluebottle.com

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


Re: no glxgears with xorg 7.2?

2007-05-22 Thread Pietro Cerutti
Michael Rudolph wrote:
 On Tuesday 22 May 2007 13:53:25 Harald Schmalzbauer wrote:
 Hello,

 I wanted to test OpenGL with my navidia driver but ould not find
 glxgears anymore (fresh 7.0/7.2 installation).
 Does anybody know what additionalport I have to install?
 Or is there a replacement?

 Thanks,

 -Harry
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 Hello Harald,
 
 running pkg_which(1) on glxgears on my not yet updated system, reveals 
 xorg-clients as the origin of glxgears(1).
 
 If I'm not mistaken, xorg-clients was renamed to xorg-apps during the 
 upgrade of xorg 6.9 to xorg 7.2.

That's true, xorg-apps is a meta-package for a lot of small applications
X11-related.

... but glxgears isn't included.

Don't ask me why, I also was looking for it some time ago, but couldn't
find it.

 
 I hope that helps.
 
 michael

-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp



signature.asc
Description: OpenPGP digital signature


Upgrading to Xorg 7.2.0

2007-05-22 Thread Christopher Prance

Any help with this would be greatly appreciated. I'm following the UPDATING
file in /usr/ports,  I'm trying to upgrade to Xorg 7.2.0  things were
running smoothly up until pkgdb -F reachded xdriinfo-1.0.1_1, here is the
output..


[EMAIL PROTECTED] /usr/ports]# pkgdb -F
---  Checking the package registry database
Stale dependency: xorg-apps-7.2 - xdriinfo-1.0.1_1 (x11/xdriinfo):
Install stale dependency? ([y]es/[n]o/[a]ll) [yes]
[Gathering depends for x11/xdriinfo
 done]
---  Installing 'xdriinfo-1.0.1_1' from a port (x11/xdriinfo)
---  Building '/usr/ports/x11/xdriinfo'
===  Cleaning for glproto-1.4.8
===  Cleaning for libX11-1.1.1_1,1
===  Cleaning for pkg-config-0.21
===  Cleaning for libGL-6.5.3_2
===  Cleaning for bigreqsproto-1.0.2
===  Cleaning for xextproto-7.0.2
===  Cleaning for xcmiscproto-1.1.2
===  Cleaning for kbproto-1.0.3
===  Cleaning for inputproto-1.3.2
===  Cleaning for xf86bigfontproto-1.1.2
===  Cleaning for libXau-1.0.3_2
===  Cleaning for libXdmcp-1.0.2
===  Cleaning for xtrans-1.0.3
===  Cleaning for xproto-7.0.10
===  Cleaning for libtool-1.5.22_4
===  Cleaning for gmake-3.81_2
===  Cleaning for makedepend-1.0.0,1
===  Cleaning for libXxf86vm-1.0.1
===  Cleaning for libXext-1.0.3,1
===  Cleaning for libXfixes-4.0.3
===  Cleaning for libXdamage-1.1.1
===  Cleaning for libdrm-2.3.0
===  Cleaning for gettext-0.16.1_3
===  Cleaning for xf86vidmodeproto-2.2.2
===  Cleaning for fixesproto-4.0
===  Cleaning for damageproto-1.1.0_2
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for xdriinfo-1.0.1_1
===  Vulnerability check disabled, database not found
===  Extracting for xdriinfo-1.0.1_1
= MD5 Checksum OK for xorg/app/xdriinfo-1.0.1.tar.bz2.
= SHA256 Checksum OK for xorg/app/xdriinfo-1.0.1.tar.bz2.
===  Patching for xdriinfo-1.0.1_1
===   xdriinfo-1.0.1_1 depends on file:
/usr/local/libdata/pkgconfig/glproto.pc - found
===   xdriinfo-1.0.1_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc
- found
===   xdriinfo-1.0.1_1 depends on executable in : pkg-config - found
===   xdriinfo-1.0.1_1 depends on shared library: GL.1 - found
===  Configuring for xdriinfo-1.0.1_1
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386-portbld-freebsd6.2-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking return type of signal handlers... void
checking for i386-portbld-freebsd6.2-pkg-config... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XDRIINFO... yes
checking for library containing glXGetProcAddressARB... no
configure: error: cannot find GL library - make sure Mesa or other OpenGL
package is installed
See `config.log' for more details.
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/config.log including the
output
of the failure of your make command. Also, it might be a good idea to
provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11/xdriinfo.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall.44338.0 env make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
   ! x11/xdriinfo  (configure error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
Command failed [exit code 1]: /usr/local/sbin/portinstall x11/xdriinfo

I've tried updating the libGL, and even the Mesa, but these progams fail on
build as well. I'm not exactly new to FreeBSD but it has been a while since
I have used it and I'm just now getting back into it. So any help would be
greatly appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no glxgears with xorg 7.2?

2007-05-22 Thread Norberto Meijome
On Tue, 22 May 2007 14:45:53 +0200
Michael Rudolph [EMAIL PROTECTED] wrote:

 running pkg_which(1) on glxgears on my not yet updated system, reveals 
 xorg-clients as the origin of glxgears(1).
 
correct

 If I'm not mistaken, xorg-clients was renamed to xorg-apps during the 
 upgrade of xorg 6.9 to xorg 7.2.

correct again...but glxgears is nowhere to find in this package, nor in 
/usr/ports...

hardly critical...but stilll :)
_
{Beto|Norberto|Numard} Meijome

If you're not part of the solution, you're part of the precipitate.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: reject mail hosts

2007-05-22 Thread Jack Barnett


Thanks for the info.

If all of those requests have been denied (by the way, which file are 
those logged into?) - then have any of them worked?


I just want to make sure I'm not relaying/accepting spam!

-J

Mikhail Goriachev wrote:

Jack Barnett wrote:
  
This is in the daily run output.  Anyone know what this means?  It's 
it someone trying to relay/spam though me?



That's right. Someone's trying to deliver/relay e-mails through your
system and such attempts get logged and reported to you.

  

Checking for rejected mail hosts:
   2 bcast.americansingles.com (553... exist)
   1 gmail.com (550... denied)
   1 aol.com (550... denied)
   1  (553... required)




553... exist: domain of sender doesn't exist
550... denied: relaying denied / authentication required



You shouldn't worry about it.


Regards,
Mikhail.

  


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


Re: no glxgears with xorg 7.2?

2007-05-22 Thread Matt

On 5/22/07, Pietro Cerutti [EMAIL PROTECTED] wrote:

Michael Rudolph wrote:
 On Tuesday 22 May 2007 13:53:25 Harald Schmalzbauer wrote:
 Hello,

 I wanted to test OpenGL with my navidia driver but ould not find
 glxgears anymore (fresh 7.0/7.2 installation).
 Does anybody know what additionalport I have to install?
 Or is there a replacement?

 Thanks,

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

 Hello Harald,

 running pkg_which(1) on glxgears on my not yet updated system, reveals
 xorg-clients as the origin of glxgears(1).

 If I'm not mistaken, xorg-clients was renamed to xorg-apps during the
 upgrade of xorg 6.9 to xorg 7.2.

That's true, xorg-apps is a meta-package for a lot of small applications
X11-related.

... but glxgears isn't included.

Don't ask me why, I also was looking for it some time ago, but couldn't
find it.


 I hope that helps.

 michael

--
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp




Running pkg_which on my system reveals the following origin for glxgears:

/usr/local/bin/glxgears was installed by package mesa-demos-6.5.3_1

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


Re: notebook cpu throttling

2007-05-22 Thread Ian Smith
On Tue, 22 May 2007 00:56:08 +0300 Ghirai [EMAIL PROTECTED] wrote:
  Hello Roland,
  
  Monday, May 21, 2007, 11:08:13 PM, you wrote:
  
   On Mon, May 21, 2007 at 09:52:22PM +0300, Ghirai wrote:
   Hello list,
   
   I'm running 6.2-RELEASE, SMP, on a
   Fujitsu-Siemens Amilo Pro v3205 (Core Duo).
   
   Everything works fine, except the cpu throttling,
   which makes the fan start quite often.
   
   Is there any way to fix this?
  
   You need to do three things (as root);
  
   1) Load the cpufreq module 'kldload cpufreq'.
   2) Put 'powerd_enable=YES' in your /etc/rc.conf
   2) Start powerd: '/etc/rc.d/powerd start'
  
   Roland
  
  Thanks for the hint.
  
  I did that, but now xorg constantly uses 20-30% CPU.
  
  CPUs were running cooler indeed, but everything ran jerky,
  because of the xorg cpu usage.
  
  Note that i haven't upgraded to 7.2 yet,
  but i don't think this is the problem.

This might not really indicate any problem.  Firstly, what are your
# sysctl dev.cpu.0.freq_levels

Try watching the current cpu speed (dev.cpu.0.freq) while running under
powerd.  You can watch it shift under various loads by running 'powerd
-v' in foreground, show it by running a script sleeping for eg a minute,
or use (say) gkrellm with gkfreq plugin to display cpu speed constantly.

Point being, if powerd has selected your lowest cpu frequency because
load is less than default (or as specified by -i and -r switches) and
this is (say) 1/4 of full speed, then something that normally showed 5%
cpu will now show as using 20% (of available cpu cycles at that speed) 

You can tune your powerd idle levels more towards performance, and/or
you can set a higher minimum cpu freq with sysctl debug.cpufreq.lowest
from among your available levels.

powerd's default shiftpoints work on my T23, but it's only a 2-speed :)

Cheers, Ian

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


Re: no glxgears with xorg 7.2?

2007-05-22 Thread artem_kim
On Tuesday 22 May 2007 15:53, Harald Schmalzbauer wrote:
 Hello,

 I wanted to test OpenGL with my navidia driver but ould not find
 glxgears anymore (fresh 7.0/7.2 installation).

You can use this port  /usr/ports/graphics/mesa-demos .

This question already was discussed  in freebsd-x11@ mailing list.

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


Re: Spamassassin not working

2007-05-22 Thread betts
What MTA are you using?
Postfix

What method are you using to forward messages
between the MTA and amavisd-new?
This is part of the main.cf

smtp-amavis unix -  -   y   -   2  smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20

127.0.0.1:10025 inet n  -   n   -   -  smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0

Have you copied the appropriate plug-in .cf files for SA into
`/usr/local/etc/mail/spamassassin`?  Are the plugins being loaded in
`/usr/local/etc/mail/spamassassin/init.pre`?

I don't see any plugins in that directory. Where would I find those
plugins or do I need to reinstall spamassassin with amavis-new?

Thanks



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


Re: Upgrading to Xorg 7.2.0

2007-05-22 Thread Norberto Meijome
On Tue, 22 May 2007 15:40:18 +0200
Christopher Prance [EMAIL PROTECTED] wrote:

 checking pkg-config is at least version 0.9.0... yes
 checking for XDRIINFO... yes
 checking for library containing glXGetProcAddressARB... no
 configure: error: cannot find GL library - make sure Mesa or other OpenGL
 package is installed
 See `config.log' for more details.
 ===  Script configure failed unexpectedly.  
 Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
 /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/config.log including the
 output
 of the failure of your make command. Also, it might be a good idea to
 provide
 an overview of all packages installed on your system (e.g. an `ls
 /var/db/pkg`).
 *** Error code 1
 
 Stop in /usr/ports/x11/xdriinfo.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portinstall.44338.0 env make
 ** Fix the problem and try again.
 ** Listing the failed packages (*:skipped / !:failed)
 ! x11/xdriinfo  (configure error)
 ---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed  
 Command failed [exit code 1]: /usr/local/sbin/portinstall x11/xdriinfo
 
 I've tried updating the libGL, and even the Mesa, but these progams fail on
 build as well.

Hi Chris,
Can you send the errors libGL and Mesa show? (sorry, i don't know the answer 
right away... but , FWIW, I had no problem installing the lot... )

_
{Beto|Norberto|Numard} Meijome

He can compress the most words into the smallest idea of any man I know.
  Abraham Lincoln

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg 7.2 start problem

2007-05-22 Thread P.U.Kruppa

On Mon, 21 May 2007, Andriy Babiy wrote:


Hi everybody,

To upgrade xorg, I followed the procedure described in
the /usr/ports/UPDATING file. The build went smooth, without any build
errors. At the merge step, the script complained about mime.info files, so
I made backup copy of those and deleted the duplicates.
But after reboot I cannot start X. On that machine, I use xfce4. When I
issue startxfce4, I receive messages that modules kbd, mouse, and mga
haven't been found.
During the build I didn't see any errors; presumably, it's a configuration
error. Could you advise me on where I should look for an error?
It's i386 machine, with 6.2 stable. The Xorg.0.log file is enclosed. Errors
are at the end pf the file.
Thank you very much in advance!

Andriy

Of course you created a new xorg.conf ??
Module paths changed from /usr/X11R6 to /usr/local/ .

Regards,

Uli.




_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/S01060040ca14628b:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-STABLE i386
Current Operating System: FreeBSD S01060040ca14628b 6.2-STABLE FreeBSD
6.2-STABLE #0: Fri May 11 03:30:47 PDT 2007
root@:/usr/obj/usr/src/sys/HP386 i386
Build Date: 20 May 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon May 21 16:42:21 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Simple Layout
(**) |--Screen Screen 1 (0)
(**) |   |--Monitor HP-D8896
(**) |   |--Device Matrox
(**) |--Input Device Mouse1
(**) |--Input Device Keyboard1
(WW) `fonts.dir' not found (or not valid)
in /usr/local/lib/X11/fonts/local/.
Entry deleted from font path.
(Run 'mkfontdir' on /usr/local/lib/X11/fonts/local/).
(**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/
(==) RgbPath set to /usr/local/share/X11/rgb
(==) ModulePath set to /usr/local/lib/xorg/modules
(II) Loader magic: 0x81c0340
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.1
X.Org XInput driver : 0.7
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on freebsd
(II) LoadModule: pcidata
(II) Loading /usr/local/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor=X.Org Foundation
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.1
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card , rev 03 class 06,00,00 hdr
00
(II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr
01
(II) PCI: 00:04:0: chip 8086,7110 card , rev 02 class 06,01,00 hdr
80
(II) PCI: 00:04:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr
00
(II) PCI: 00:04:2: chip 8086,7112 card , rev 01 class 0c,03,00 hdr
00
(II) PCI: 00:04:3: chip 8086,7113 card , rev 02 class 06,80,00 hdr
00
(II) PCI: 00:06:0: chip 1013,6003 card 1013,4280 rev 01 class 04,01,00 hdr
00
(II) PCI: 00:0b:0: chip 10b7,9055 card 10b7,9055 rev 30 class 02,00,00 hdr
00
(II) PCI: 01:00:0: chip 102b,0521 card 102b,ff00 rev 03 class 03,00,00 hdr
00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x008c (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
[0] -1  0   0xf420 - 0xf4ff (0xe0) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1  0   0xf500 - 0xf5ff (0x100) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:4:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) Matrox Graphics, Inc. MGA G200 AGP rev 3, Mem @
0xf500/24, 0xf420/14, 0xf480/23
(II) Addressable bus resource ranges 

Re: freebsd broken after kernel re-compile.

2007-05-22 Thread Yanko Sanchez

well yesterday I recompiled the kernel again turning on and off some of the
options I had previously changed just to see if that what would change. I
was able to get both NIC cards up and the routing services on. The problem
is that now the card that used to be rl0 is now rl1 and the one that used to
be rl1 is now rl0. It doesn't really matter that much since I just had to
change the variables in some settings. And everything started working fine.
Is there a reason why this happened? why did the system re-asisgn the names
of the NICs?

On 5/22/07, Reid Linnemann [EMAIL PROTECTED] wrote:


Comments inline:

Written by Yanko Sanchez on 05/21/07 19:44
 @youshi10:
 yeah, I'm aware that MacOSX supports for unix, but at the time that we
 transfered the data to the hdd we didn't know which server was gonna
 be running the hdd... Fat32 was the only FS that we know would be
 compatible with any OS (but we didn't know of the size limit) so if
 the server had been a Windows 2003 server, I don't think I would have
 had any chance of opening that FS (unless 3rd party software if there
 is any)


 Anyways, here is the info that Reid asked for.

 1: I updated the ports tree following the instructions of freebsd wiki


The FreeBSD wiki is a collection of pages, I need to know which specific
pages contained your instructions.

 2:  I recompiled the kernel following the instructions of freebsd wiki:
 cp /usr/src/sys/i386/conf/BASTION /usr/src/sys/i386/conf/BASTION2
 vim /usr/src/sys/i386/conf/BASTION2
 added option MSDOSFS_LARGE

 cd /usr/src
 make buildkernel KERNCONF=BASTION2

 make installkernel KERNCONF=BASTION2
 reboot


This is a standard way to install a new kernel.

 3: uname -a:
 FreeBSD bastion 6.2-STABLE FreeBSD 6.2-STABLE #2L Mon May 21 00:30:39
 PDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BASTION2  i386

 4: iffconfig -a:
 bastion# ifconfig -a

 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=8VLAN_MTU
 atalk 65280.205 range 0-65534 phase 2 broadcast 0.255
 ether 00:e0:18:8d:10:8f
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 fwe0: flags=108802BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
 options=8VLAN_MTU
 ether 0a:00:46:29:6f:02
 ch 1 dma -1
 plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
 inet6 ::1 prefixlen 128
 inet 127.0.0.1 netmask 0xff00
 atalk 0.0 range 0-0 phase 2

 Also, I think my network card that shows up took the place of the
 otherone, in other words, rl1 is now rl0 and rl1 is gone... I don't
 know if that just changed cos it can't find the other network card.



I think the output of pciconf -lv might help as well.

You should be able to boot back up in your old kernel so you can at
least get back to your previous working conditions. When you boot the
machine, and you see the boot menu, select the option to escape to the
loader prompt. Here, 'unload kernel' and 'load /boot/kernel.old/kernel',
then 'boot' to start the system. Whenever you make installkernel from
the source tree, it will back up your old kernel and modules in
/boot/kernel.old. Alternatively, you can move /boot/kernel to
/boot/kernel.bak and move /boot/kernel.old to /boot/kernel to restore
your original kernal and modules, and reboot the machine.



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


Upgrading to Xorg 7.2.0

2007-05-22 Thread Christopher Prance

On 5/22/07, Norberto Meijome [EMAIL PROTECTED] wrote:

On Tue, 22 May 2007 15:40:18 +0200
Christopher Prance  [EMAIL PROTECTED] wrote:

 checking pkg-config is at least version 0.9.0... yes
 checking for XDRIINFO... yes
 checking for library containing glXGetProcAddressARB... no
 configure: error: cannot find GL library - make sure Mesa or other OpenGL
 package is installed
 See `config.log' for more details.
 ===  Script configure failed unexpectedly.
 Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
 /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/config.log including the
 output
 of the failure of your make command. Also, it might be a good idea to
 provide
 an overview of all packages installed on your system (e.g. an `ls
 /var/db/pkg`).
 *** Error code 1

 Stop in /usr/ports/x11/xdriinfo.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portinstall.44338.0 env make
 ** Fix the problem and try again.
 ** Listing the failed packages (*:skipped / !:failed)
 ! x11/xdriinfo  (configure error)
 ---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
 Command failed [exit code 1]: /usr/local/sbin/portinstall x11/xdriinfo

 I've tried updating the libGL, and even the Mesa, but these progams fail on
 build as well.

Hi Chris,
Can you send the errors libGL and Mesa show? (sorry, i don't know the answer 
right away... but , FWIW, I had no problem installing the lot... )

_
{Beto|Norberto|Numard} Meijome

He can compress the most words into the smallest idea of any man I know.
Abraham Lincoln

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.




I reinstalled LibGL and everything went fine, but I tried to install
the Mesa-Demos because it is the only mesa port I can find on my
system, if you know of another please let me know.  Here is the output
from installing the mesa-demos port...

===  Building for mesa-demos-6.5.3_1
gmake[1]: Entering directory
`/usr/ports/graphics/mesa-demos/work/Mesa-6.5.3/progs/demos'
cc -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM
-DHZ=100 -O2 -fno-strict-aliasing -pipe  arbfplight.c readtex.o
-L/usr/local/lib -lglut -lGLU -lGL -lXext -lXmu -lXi -lX11 -lm -o
arbfplight
arbfplight.c:14:21: GL/glut.h: No such file or directory
arbfplight.c:17: error: syntax error before Diffuse
arbfplight.c:17: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:18: error: syntax error before Specular
arbfplight.c:18: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:19: error: syntax error before LightPos
arbfplight.c:19: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:20: error: syntax error before Delta
arbfplight.c:20: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:22: error: syntax error before FragProg
arbfplight.c:22: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:23: error: syntax error before VertProg
arbfplight.c:23: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:24: error: syntax error before Anim
arbfplight.c:24: error: `GL_TRUE' undeclared here (not in a function)
arbfplight.c:24: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:25: error: syntax error before Wire
arbfplight.c:25: error: `GL_FALSE' undeclared here (not in a function)
arbfplight.c:25: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:26: error: syntax error before PixelLight
arbfplight.c:26: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:27: error: syntax error before Win
arbfplight.c:27: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:29: error: syntax error before T0
arbfplight.c:29: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:30: error: syntax error before Frames
arbfplight.c:30: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:32: error: syntax error before Xrot
arbfplight.c:32: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:34: error: syntax error before glProgramLocalParameter4fvARB_func
arbfplight.c:34: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:35: error: syntax error before glProgramLocalParameter4dARB_func
arbfplight.c:35: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:36: error: syntax error before
glGetProgramLocalParameterdvARB_func
arbfplight.c:36: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:37: error: syntax error before glGenProgramsARB_func
arbfplight.c:37: error: ISO C forbids data definition with no type or
storage class
arbfplight.c:38: error: syntax error before glProgramStringARB_func

Half-Duplex

2007-05-22 Thread User Iam

HI

How do I force my nic card to half-duplex..

I have read the man page and it is probably there and I just didn't
recognize it...

TIA

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


Re: Sendmail ignores hosts.allow

2007-05-22 Thread Maxim Khitrov

On 5/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

I suspect sendmail is reading /etc/hosts.allow

# Start by allowing everything (this prevents the rest of the file
# from working, so remove it when you need protection).
# The rules here work on a First match wins basis.
#ALL : ALL : allow

Did you comment out the above line?

Steve


Here's the entire file as it is right now:

# Deny sendmail to all clients (temporary)
sendmail : all : deny

# Allow anything from localhost
all : local ip : allow

# Process SSH deny rules
sshd : /etc/hosts.evil : deny

# Allow everything else
all : all : allow

Once I can get sendmail to block all connection requests, I'll move it
below the second rule. That way, only local processes will be able to
use it. For now, however, that rule is being ignored completely.

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


Re: Half-Duplex

2007-05-22 Thread Vince
User Iam wrote:
 HI
 
 How do I force my nic card to half-duplex..
 
 I have read the man page and it is probably there and I just didn't
 recognize it...
 
ifconfig bfe0 mediaopt half-duplex
works for me (with a bfe interface :)
but you are right I didnt see it explicity in the manpage(s) i looked in.

Vince


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

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


Re: Half-Duplex

2007-05-22 Thread Vince
Vince wrote:
 User Iam wrote:
 HI

 How do I force my nic card to half-duplex..

 I have read the man page and it is probably there and I just didn't
 recognize it...

 ifconfig bfe0 mediaopt half-duplex
 works for me (with a bfe interface :)
 but you are right I didnt see it explicity in the manpage(s) i looked in.
 
Sorry no it doesnt, i just momentarily lost the ability to read obviously.

sorry for the noise,

Vince


 Vince
 
 
 TIA

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

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


Re: reject mail hosts

2007-05-22 Thread Mikhail Goriachev
Jack Barnett wrote:
 Thanks for the info.
 
 If all of those requests have been denied (by the way, which file are 
 those logged into?) - then have any of them worked?
 
 I just want to make sure I'm not relaying/accepting spam!

Please don't top-post.

Those are logged into /var/log/maillog file - and none of them worked.
You can always test your machine for relays using:

http://www.abuse.net/relay.html



Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP 2605 printer and FreeBSD.

2007-05-22 Thread Roland Smith
On Mon, May 21, 2007 at 11:19:12PM +0200, [EMAIL PROTECTED] wrote:
 Hi,
 I would want to buy a color laser printer. The HP laserjet 2605 works
 well on Linux with CUPS.
 On FreBSD it is the same?

It is listed as a postscript printer on openprinting.org. It should work
fine.

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


pgpr8kGGkk6ug.pgp
Description: PGP signature


Re[2]: notebook cpu throttling

2007-05-22 Thread Ghirai
Hello Ian,

Tuesday, May 22, 2007, 5:08:19 PM, you wrote:

 On Tue, 22 May 2007 00:56:08 +0300 Ghirai [EMAIL PROTECTED] wrote:
  Hello Roland,
  
  Monday, May 21, 2007, 11:08:13 PM, you wrote:
  
   On Mon, May 21, 2007 at 09:52:22PM +0300, Ghirai wrote:
   Hello list,
   
   I'm running 6.2-RELEASE, SMP, on a
   Fujitsu-Siemens Amilo Pro v3205 (Core Duo).
   
   Everything works fine, except the cpu throttling,
   which makes the fan start quite often.
   
   Is there any way to fix this?
  
   You need to do three things (as root);
  
   1) Load the cpufreq module 'kldload cpufreq'.
   2) Put 'powerd_enable=YES' in your /etc/rc.conf
   2) Start powerd: '/etc/rc.d/powerd start'
  
   Roland
  
  Thanks for the hint.
  
  I did that, but now xorg constantly uses 20-30% CPU.
  
  CPUs were running cooler indeed, but everything ran jerky,
  because of the xorg cpu usage.
  
  Note that i haven't upgraded to 7.2 yet,
  but i don't think this is the problem.

 This might not really indicate any problem.  Firstly, what are your
 # sysctl dev.cpu.0.freq_levels

 Try watching the current cpu speed (dev.cpu.0.freq) while running under
 powerd.  You can watch it shift under various loads by running 'powerd
 -v' in foreground, show it by running a script sleeping for eg a minute,
 or use (say) gkrellm with gkfreq plugin to display cpu speed constantly.

 Point being, if powerd has selected your lowest cpu frequency because
 load is less than default (or as specified by -i and -r switches) and
 this is (say) 1/4 of full speed, then something that normally showed 5%
 cpu will now show as using 20% (of available cpu cycles at that speed)

 You can tune your powerd idle levels more towards performance, and/or
 you can set a higher minimum cpu freq with sysctl debug.cpufreq.lowest
 from among your available levels.

 powerd's default shiftpoints work on my T23, but it's only a 2-speed :)

 Cheers, Ian

I suspected this; xorg just reporting to use 20-30% cpu doesn't bother
my, what bothers me is the fact that mouse cursor and everything moves
jerky.

I'll try to raise the min. freq., maybe powerd lowers it too much..

-- 
Best regards,
Ghirai.

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


Alternative keyboard layouts not working with xorg7.2

2007-05-22 Thread Norberto Meijome
Hello everyone,
I've had xorg 6.x configured to allow me to switch from US English keyboard to
US English with international support (for accented characters) as follows:

in xorg.conf:
[...]
Section InputDevice
Identifier  KeyboardThinkpadZ60M
Driver  kbd
Option  XkbRules xorg
Option  XkbModel inspiron
Option  XkbLayout us,us
Option  XkbVariant ,intl
Option  XKbOptions grp:alt_shift_toggle
EndSection

[...]

and in /usr/X11R6/lib/X11/xkb/X0-config.keyboard (now under /usr/local/ )

Rules=  xorg
Model=  inspiron
Layout   =  us,us
Variant  =  ,intl
MouseKeysCurve   =  0


I use XFCE4.4 as my environment, and both the 'Keyboard Layout Switcher' applet
and the left alt-shift combos would allow me to switch between the 2 modes
flawlessly.

After the upgrade to xorg 7.2, using the same configuration, I noticed several
problems related to the keyboard behaviour, namely:

1) - neither method to change the keyboard layout works.
2) - Several shortcuts that involve the Alt (left) key work either : alt-tab to
cycle through windows, ctrl-alt-arrows to move through desktops.
3) - When launching the application 'skippy' (x11-wm/skippy) or skippy-xd
(x11-wm/skippy-xd), i get :

$ skippy-xd 
X Error of failed request:  BadAccess (attempt to access private resource 
denied)
  Major opcode of failed request:  33 (X_GrabKey)
  Serial number of failed request:  75
  Current serial number in output stream:  75

This never used to happen before (notice the X_GrabKey error).


I tried a clean keyboard config (only 1 layout) and the problem with the normal
XFCE shortcuts (problem #2) is solved... 

I tried creating a separate keyboard using xorgcfg with the 'intl' layout, but
it didnt do what I wanted - problem #2 was still solved, but I couldnt switch
between layouts (which is rather obvious, as they were defined as different
keyboards...)

If anyone could shed some light on this, it'd be greatly appreciated :)

Thanks!
Beto
_
{Beto|Norberto|Numard} Meijome

All that is necessary for the triumph of evil is that good men do nothing.
  Edmund Burke

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Options fo a File Server

2007-05-22 Thread Josh Paetzel
Ivan Carey wrote:
 Hello,
 What would be the best Kernel options to run a file server?
 I will be using an Intel server mother board with one Xeon quad core CPU 
 installed (this mother board has 2 CPU sockets) 2GB RAM and dual 500Gb SATA 
 HDD's
 
 I am thinking of options that would make the kernel efficient as a pure file 
 server.
 
 Thanks,
 Ivan

Even with a GENERIC kernel you're going to be disk-bound, unless you
have them in RAID 0, in which case you'll be network bound.

If you are running i386 you can take out 486 and 586 support, that's
probably the biggest single improvement you can make, and it's
incremental at best.

---
Thanks,

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


Re: Upgrading to Xorg 7.2.0

2007-05-22 Thread Christopher Prance

On 5/22/07, Norberto Meijome [EMAIL PROTECTED] wrote:

sorry mate, dont have the asnwer but i'd try retrying the whole process now 
that libGL has been installed...often something in the spaghetti of 
dependencies gets fixed once you fix one little problem... it's been working 
for me most of the times...

good luck,
B

PS - if you want, i can send you a precompiled xdriinfo package from my 
system... but , if I were you, i wouldn't take someone else's binary anyway ... 
:D


On Tue, 22 May 2007 17:02:50 +0200
Christopher Prance [EMAIL PROTECTED] wrote:

 On 5/22/07, Norberto Meijome [EMAIL PROTECTED] wrote:
  On Tue, 22 May 2007 15:40:18 +0200
  Christopher Prance  [EMAIL PROTECTED] wrote:
 
   checking pkg-config is at least version 0.9.0... yes
   checking for XDRIINFO... yes
   checking for library containing glXGetProcAddressARB... no
   configure: error: cannot find GL library - make sure Mesa or other OpenGL
   package is installed
   See `config.log' for more details.
   ===  Script configure failed unexpectedly.
   Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
   /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/config.log including the
   output
   of the failure of your make command. Also, it might be a good idea to
   provide
   an overview of all packages installed on your system (e.g. an `ls
   /var/db/pkg`).
   *** Error code 1
  
   Stop in /usr/ports/x11/xdriinfo.
   ** Command failed [exit code 1]: /usr/bin/script -qa
   /tmp/portinstall.44338.0 env make
   ** Fix the problem and try again.
   ** Listing the failed packages (*:skipped / !:failed)
   ! x11/xdriinfo  (configure error)
   ---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
   Command failed [exit code 1]: /usr/local/sbin/portinstall x11/xdriinfo
  
   I've tried updating the libGL, and even the Mesa, but these progams fail 
on
   build as well.
 
  Hi Chris,
  Can you send the errors libGL and Mesa show? (sorry, i don't know the 
answer right away... but , FWIW, I had no problem installing the lot... )
 
  _
  {Beto|Norberto|Numard} Meijome
 
  He can compress the most words into the smallest idea of any man I know.
  Abraham Lincoln
 
  I speak for myself, not my employer. Contents may be hot. Slippery when 
wet. Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
 

 I reinstalled LibGL and everything went fine, but I tried to install
 the Mesa-Demos because it is the only mesa port I can find on my
 system, if you know of another please let me know.  Here is the output
 from installing the mesa-demos port...

  ===  Building for mesa-demos-6.5.3_1
 gmake[1]: Entering directory
 `/usr/ports/graphics/mesa-demos/work/Mesa-6.5.3/progs/demos'
 cc -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM
 -DHZ=100 -O2 -fno-strict-aliasing -pipe  arbfplight.c readtex.o
 -L/usr/local/lib -lglut -lGLU -lGL -lXext -lXmu -lXi -lX11 -lm -o
 arbfplight
 arbfplight.c:14:21: GL/glut.h: No such file or directory
 arbfplight.c:17: error: syntax error before Diffuse
 arbfplight.c:17: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:18: error: syntax error before Specular
 arbfplight.c:18: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:19: error: syntax error before LightPos
 arbfplight.c:19: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:20: error: syntax error before Delta
 arbfplight.c:20: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:22: error: syntax error before FragProg
 arbfplight.c:22: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:23: error: syntax error before VertProg
 arbfplight.c:23: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:24: error: syntax error before Anim
 arbfplight.c:24: error: `GL_TRUE' undeclared here (not in a function)
 arbfplight.c:24: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:25: error: syntax error before Wire
 arbfplight.c:25: error: `GL_FALSE' undeclared here (not in a function)
 arbfplight.c:25: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:26: error: syntax error before PixelLight
 arbfplight.c:26: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:27: error: syntax error before Win
 arbfplight.c:27: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:29: error: syntax error before T0
 arbfplight.c:29: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:30: error: syntax error before Frames
 arbfplight.c:30: error: ISO C forbids data definition with no type or
 storage class
 arbfplight.c:32: error: syntax error before Xrot
 arbfplight.c:32: error: ISO C forbids data definition with no type or
 storage class
 

Wireless, WEP, DHCP, and bcmwl5_sys - not working

2007-05-22 Thread Stanley
As the subject suggests, I am having trouble getting online on my computer. I 
have generated a driver with ndisgen and the card worked perfectly with 
ndiswrapper in Debian. I can configure the card with ifconfig, but I can't get 
an IP Address with DHCP, and if I assign it manually and ping my router, it 
says Network Unreachable.

Thanks for any help,
James Stanley
P.S. I hope this is the right way to ask, I've never posted to a mailing list 
before...

--
Finally - A spam blocker that actually works.
http://www.bluebottle.com

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


Re: Sendmail ignores hosts.allow

2007-05-22 Thread Maxim Khitrov

On 5/22/07, doug [EMAIL PROTECTED] wrote:

On Tue, 22 May 2007, Maxim Khitrov wrote:

 On 5/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I suspect sendmail is reading /etc/hosts.allow

 # Start by allowing everything (this prevents the rest of the file
 # from working, so remove it when you need protection).
 # The rules here work on a First match wins basis.
 #ALL : ALL : allow

 Did you comment out the above line?

 Steve

 Here's the entire file as it is right now:

 # Deny sendmail to all clients (temporary)
 sendmail : all : deny

 # Allow anything from localhost
 all : local ip : allow

 # Process SSH deny rules
 sshd : /etc/hosts.evil : deny

 # Allow everything else
 all : all : allow

 Once I can get sendmail to block all connection requests, I'll move it
 below the second rule. That way, only local processes will be able to
 use it. For now, however, that rule is being ignored completely.

The default configuration gives you what you want so I assume your goal is to
see if you can make hosts.allow work within a jail. In general there are
performance reasons not to use inetd to control ssh and sendmail. ssh under
inetd causes more key generation. Sendmail has its own controls which give you
the equivalent (or better) than can be done with inetd.

I assume from an earlier post you are trying to make this work inside a jail. If
thats true you must also have in the jail rc.conf

   inetd_flags=-wW -a your-ip-address

I assume you have this or you would not have been able to control ssh. All that
said, I have only used inetd to control ftp/imap/pop3. It seems to me your
specific question is: does this work inside a jail and is any special setup
required to make it work with sendmail. Sorry I can not help more.

Doug


I'm not sure I understand what you mean... I'm not using inetd, and
the default configuration doesn't block sendmail from all remote
hosts. The ssh server is running all by itself, same as sendmail. The
way I understand it is that as long as the server was compiled with
tcp wrappers, it should follow the rules in hosts.allow.

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


Re: Assignment of device names to external USB drives

2007-05-22 Thread [EMAIL PROTECTED]

On 19/05/07, Kevin Downey [EMAIL PROTECTED] wrote:

On 5/19/07, Denis Fortin [EMAIL PROTECTED] wrote:
 Greetings,

 I am trying to set up a backup server, using a combination of internal
 and external (USB) disk drives.

 How can I manage the mapping of USB disk drives to device names?  i.e.
 USB drives get assigned device names like da0, da1, da2... when they are
 detected.  But if one of the drives fails or is not powered up, all
 other ones will get bumped down one in the list next time I reboot.

 The problem is that if I automatically mount /dev/da0a
 /archive/volume1, mount /dev/da1a /archive/volume2, etc. I run the
 risk of having the wrong disk being mounted on a mount point !?!

 Is there an obvious solution that I'm missing, or a canonical workaround
 to this problem?


when you newfs a drive use the -L flag to give it a label like
'VOLUME1' then if you load the geom_label module that drive becomes
availble under /dev/ufs/VOLUME1


Or, if instead of fdisk, you
# glabel label disk0 da0
# bsdlabel -w label/fancy0
# newfs -U label/fancy0a
# mount /dev/label/fancy0a /bla

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


Re: Sendmail ignores hosts.allow

2007-05-22 Thread Doug Hardie


On May 22, 2007, at 10:46, Maxim Khitrov wrote:


On 5/22/07, doug [EMAIL PROTECTED] wrote:

On Tue, 22 May 2007, Maxim Khitrov wrote:

 On 5/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I suspect sendmail is reading /etc/hosts.allow

 # Start by allowing everything (this prevents the rest of the file
 # from working, so remove it when you need protection).
 # The rules here work on a First match wins basis.
 #ALL : ALL : allow

 Did you comment out the above line?

 Steve

 Here's the entire file as it is right now:

 # Deny sendmail to all clients (temporary)
 sendmail : all : deny

 # Allow anything from localhost
 all : local ip : allow

 # Process SSH deny rules
 sshd : /etc/hosts.evil : deny

 # Allow everything else
 all : all : allow

 Once I can get sendmail to block all connection requests, I'll  
move it
 below the second rule. That way, only local processes will be  
able to

 use it. For now, however, that rule is being ignored completely.

The default configuration gives you what you want so I assume your  
goal is to
see if you can make hosts.allow work within a jail. In general  
there are
performance reasons not to use inetd to control ssh and sendmail.  
ssh under
inetd causes more key generation. Sendmail has its own controls  
which give you

the equivalent (or better) than can be done with inetd.

I assume from an earlier post you are trying to make this work  
inside a jail. If

thats true you must also have in the jail rc.conf

   inetd_flags=-wW -a your-ip-address

I assume you have this or you would not have been able to control  
ssh. All that
said, I have only used inetd to control ftp/imap/pop3. It seems to  
me your
specific question is: does this work inside a jail and is any  
special setup

required to make it work with sendmail. Sorry I can not help more.

Doug


I'm not sure I understand what you mean... I'm not using inetd, and
the default configuration doesn't block sendmail from all remote
hosts. The ssh server is running all by itself, same as sendmail. The
way I understand it is that as long as the server was compiled with
tcp wrappers, it should follow the rules in hosts.allow.


tcp wrappers must be coded into the application.  The call which  
actually checks the access permissions in the hosts.allow file is  
hosts_access() (see man hosts_access).  Checking through the sendmail  
source for version 8.13.8, there are no calls to hosts_access in the  
source code.  You will need to patch sendmail to make it do what you  
want.  There might be patches at www.sendmail.org for that, but I  
doubt it.  openssh's sshd.c is probably a good template to use.


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


Re: Upgrading to Xorg 7.2.0

2007-05-22 Thread José García Juanino
El martes 22 de mayo a las 17:06:55 CEST, Christopher Prance escribió:
  On 5/22/07, Norberto Meijome [EMAIL PROTECTED] wrote:

  ===  Building for mesa-demos-6.5.3_1
  gmake[1]: Entering directory
  `/usr/ports/graphics/mesa-demos/work/Mesa-6.5.3/progs/demos'
  cc -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM
  -DHZ=100 -O2 -fno-strict-aliasing -pipe  arbfplight.c readtex.o
  -L/usr/local/lib -lglut -lGLU -lGL -lXext -lXmu -lXi -lX11 -lm -o
  arbfplight
  arbfplight.c:14:21: GL/glut.h: No such file or directory

It looks like it cannot find ${X11BASE}/include/GL/glut.h. This header
is installed by graphics/libglut port. Check whether
/usr/X11R6/include/GL/glut.h exists. In that case update it with
portupgrade -f, and then that header will install in
/usr/local/include/GL/glut.h (check before whether you have
devel/imake-6 port instead of the devel/imake one, as the last one is
the suitable port for Xorg 7.2).

Regards

-- 
http://www.telefonica.net/web2/gauss


pgpJmJh9te1qB.pgp
Description: PGP signature


Re: [freebsd-questions] Can't build php5? - Builds now, but doesn't work due to gd.so

2007-05-22 Thread Patrick Baldwin

Beech Rintoul wrote:


 On Monday 21 May 2007, Patrick Baldwin said:


First, my apologies to Beech for replying off-list, I'm on a few
others that work a bit differently, and I was a little quick with
the send button.

On to the issue at hand:

Beech Rintoul wrote:

  On Monday 21 May 2007, Patrick Baldwin said:

  Hi, I'm in the process of trying to build a Horde/IMP server.
  I started by freshly installing  updating 6.2-RELEASE-p4
  FreeBSD.  I then installed IMP package with pkg_add -r imp.
  All seemed to go well.  I then started working my way through
  configuring the various newly installed things.
 
  From:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/netwo
 rk-a pache.html
 
  I added:
 
  LoadModule php5_modulelibexec/apache/libphp5.so
 
  AddModule mod_php5.c
  IfModule mod_php5.c
  DirectoryIndex index.php index.html
  /IfModule
  IfModule mod_php5.c
  AddType application/x-httpd-php .php
  AddType application/x-httpd-php-source .phps
  /IfModule
 
  To my /usr/local/etc/apache/httpd.conf file.
 
  When I tried to restart Apache, I get:
   apachectl start
  Syntax error on line 238 of /usr/local/etc/apache/httpd.conf:
  Cannot load /usr/local/libexec/apache/libphp5.so into server:
  Cannot open /usr/local/libexec/apache/libphp5.so
  /usr/local/sbin/apachectl start: httpd could not be started
 
 
  And sure enough, it's not there.  I go to /usr/ports/lang/php5,
  Run make config install, telling it to build Apache module, and
  I get:
 
  ===  Vulnerability check disabled, database not found
  ===  Found saved configuration for php5-5.2.2
  = suhosin-patch-5.2.2-0.9.6.2.patch.gz doesn't seem to exist
  in /usr/ports/distfiles/.
  = Attempting to fetch from
  http://www.hardened-php.net/suhosin/_media/. fetch:
  http://www.hardened-php.net/suhosin/_media/suhosin-patch-5.2.2-
 0.9. 6.2.patch.gz: Connection refused
  = Attempting to fetch from
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
  fetch:
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/suhosin-patch
 -5.2 .2-0.9.6.2.patch.gz: File unavailable (e.g., file not
  found, no access)
  = Couldn't fetch it - please try to retrieve this
  = port manually into /usr/ports/distfiles/ and try again.
  *** Error code 1
 
  Stop in /usr/ports/lang/php5.
  *** Error code 1
 
  Stop in /usr/ports/lang/php5.
 
 
  My goal here is to get a working FreeBSD 6.2 Horde/IMP server.
  I'm new to all these things, so if I'm going about this the
  hard or the stupid way, please don't hesitate to tell me.  It
  seemed like the easiest and fastest way to get a working
  install would be to install the package, but maybe I'm wrong.
 
  Regards,

 
  The problem is there have been upgrades to php and their server
  is


currently down. This has been reported by several people and all I
can suggest is to try again later. FWIW, I just tried to fetch and
it's still down.


  Beech


And apparently continues to be so.  I guess I'll try again
tomorrow.

In the meantime, this leaves me wondering if I should try and
uninstall imp, and re-install once this server is back.  I am under
the impression that installing via a package should cause any
dependencies of the package to be built with the options the
package needs to run (if I'm wrong on this please let me know),  so
it seems like I may end up chasing dependencies for awhile if I
just proceed from where I am right now, since it obviously couldn't
build PHP with the options needed for Horde/IMP to work.

Also, it;s mentioned above that several people have reported this
problem.  My Google searches didn't turn anything up; is there
someplace I should be checking for issues like this before posting
here?

Thanks,



 I found a mirror with a good checksum. Download and put
 in /usr/ports/distfiles then rebuild.

  http://critical.ch/distfiles/suhosin-patch-5.2.2-0.9.6.2.patch.gz

 Beech


I did what was suggested above.  All seemed to go well with the
rebuild.  Started Apache, and found it was still trying to download
PHP files, not run them.  Checked httpd-error.log, found:

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20
060613/gd.so' - /usr/local/lib/php/20060613/gd.so: Undefined symbol
quot;gdImag
eCreateFromXpmquot; in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20
060613/gd.so' - /usr/local/lib/php/20060613/gd.so: Undefined symbol
quot;gdImag
eCreateFromXpmquot; in Unknown on line 0
[Tue May 22 12:53:53 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.2 with
Suhosin-
Patch configured -- resuming normal operations
[Tue May 22 12:53:53 2007] [notice] Accept mutex: flock (Default: flock)

When I checked to verify that /usr/local/lib/php/20060613/gd.so existed,
I did find it:
webmail# pwd
/usr/local/lib/php/20060613
webmail# ls -asl g*
368 -r--r--r--  1 root  wheel  357948 May 22 12:26 gd.so


The log mentions the patch, so it looks like that installed fine. The
file 

[FreeBSD 7.0-CUR/gcc 4.2/portsnap]: portsnap fetch reports illegal portsnap tag!

2007-05-22 Thread O. Hartmann

Hello out here,
since I upgrade my box with the lates FreeBSD 7.0-CUR/AMD64 and gcc 4.2, 
I do not have access to ports via portsnap anymore. Portsnap stops 
running with this error:


# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap1.FreeBSD.org... Illegal instruction
invalid snapshot tag.
Fetching snapshot tag from portsnap2.FreeBSD.org... Illegal instruction
invalid snapshot tag.
Fetching snapshot tag from portsnap3.FreeBSD.org... Illegal instruction
invalid snapshot tag.
No mirrors remaining, giving up.

I removed everything what's in /var/db/portsnap/, but this doesn't help, 
it seems a checksum isn't calculated correctly. Alternatively I used cvsup.


Is there anything wrong? I remember myself of issues with OpenSSL and 
gcc 4.2, so due to the calculation of the checksum this might cause the 
error.


Regards,
Oliver

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


Re: Sendmail ignores hosts.allow

2007-05-22 Thread Rob

Doug Hardie wrote:

On May 22, 2007, at 10:46, Maxim Khitrov wrote:

 # Deny sendmail to all clients (temporary)
 sendmail : all : deny


tcp wrappers must be coded into the application.  The call which 
actually checks the access permissions in the hosts.allow file is 
hosts_access() (see man hosts_access).  Checking through the sendmail 


I have to disagree with that.  I run unmodified 8.13.8 on 6.2, and it DOES 
respect hosts.allow.  Just not in the way you might assume.

I can telnet to port 25, it allows connections from *anywhere*, and will respond to a HELO.  It's not until I 
give it a mail to: that it protests with 550 5.0.0 Access denied.  I use 
FEATURE(delay_checks) in the cf file, which may have some effect on this.

The log file shows:
May 22 14:56:47 cartman sm-mta[74026]: l4MIullh074026: tcpwrappers (unknown, 
192.31.130.140) rejection

The actual options  version look like:
$ sendmail -bp -d0.1
Version 8.13.8
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
   NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF
   STARTTLS TCPWRAPPERS USERDB XDEBUG
$ uname -rms
FreeBSD 6.2-RELEASE i386


  -RW

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


Re: Sendmail ignores hosts.allow

2007-05-22 Thread Alex Zbyslaw

Maxim Khitrov wrote:


I'm not sure I understand what you mean... I'm not using inetd, and
the default configuration doesn't block sendmail from all remote
hosts. The ssh server is running all by itself, same as sendmail. The
way I understand it is that as long as the server was compiled with
tcp wrappers, it should follow the rules in hosts.allow.


Sendmail is different from other network apps in that it does not block 
the connection when a deny rule is in effect, instead it send some kind 
of reject code (5xx) during the SMTP conversation.


If you check /var/log/maillog you may well see this happening.

If you search the mail archives (or try google) with some appropriate 
keywords then you should find a post from Matthew Seaman which explains 
it in detail  You could also search the source code, if you are somewhat 
C literate.


If you want to completely block connections from specific hosts (or only 
allow specific hosts) then I would suggest doing that with firewall rules.


Didn't follow the start of the thread very closely so I hope I got the 
right end of the stick.


--Alex


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


Re: [FreeBSD 7.0-CUR/gcc 4.2/portsnap]: portsnap fetch reports illegal portsnap tag!

2007-05-22 Thread Kris Kennaway
On Tue, May 22, 2007 at 09:04:11PM +0200, O. Hartmann wrote:
 Hello out here,
 since I upgrade my box with the lates FreeBSD 7.0-CUR/AMD64 and gcc 4.2, 
 I do not have access to ports via portsnap anymore. Portsnap stops 
 running with this error:
 
 # portsnap fetch update
 Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
 Fetching snapshot tag from portsnap1.FreeBSD.org... Illegal instruction
 invalid snapshot tag.
 Fetching snapshot tag from portsnap2.FreeBSD.org... Illegal instruction
 invalid snapshot tag.
 Fetching snapshot tag from portsnap3.FreeBSD.org... Illegal instruction
 invalid snapshot tag.
 No mirrors remaining, giving up.
 
 I removed everything what's in /var/db/portsnap/, but this doesn't help, 
 it seems a checksum isn't calculated correctly. Alternatively I used cvsup.
 
 Is there anything wrong? I remember myself of issues with OpenSSL and 
 gcc 4.2, so due to the calculation of the checksum this might cause the 
 error.

See my reply from when you asked this same question yesterday.

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


Re: Sendmail ignores hosts.allow

2007-05-22 Thread Maxim Khitrov

On 5/22/07, Rob [EMAIL PROTECTED] wrote:

Doug Hardie wrote:
 On May 22, 2007, at 10:46, Maxim Khitrov wrote:
  # Deny sendmail to all clients (temporary)
  sendmail : all : deny

 tcp wrappers must be coded into the application.  The call which
 actually checks the access permissions in the hosts.allow file is
 hosts_access() (see man hosts_access).  Checking through the sendmail

I have to disagree with that.  I run unmodified 8.13.8 on 6.2, and it DOES 
respect hosts.allow.  Just not in the way you might assume.

I can telnet to port 25, it allows connections from *anywhere*, and will respond to a HELO.  It's not until I 
give it a mail to: that it protests with 550 5.0.0 Access denied.  I use 
FEATURE(delay_checks) in the cf file, which may have some effect on this.

The log file shows:
May 22 14:56:47 cartman sm-mta[74026]: l4MIullh074026: tcpwrappers (unknown, 
192.31.130.140) rejection

The actual options  version look like:
$ sendmail -bp -d0.1
Version 8.13.8
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF
STARTTLS TCPWRAPPERS USERDB XDEBUG
$ uname -rms
FreeBSD 6.2-RELEASE i386


   -RW


You know, I could have sworn that I checked actually sending the
message through telnet yesterday with the deny rule in place. You're
right through, it fails right after I give it mail from command. Guess
I didn't keep good track of what I was checking each time. Do you know
if there is a reason they chose to do it this way? Accept the
connection, but don't allow the client to do anything with it? I
didn't find FEATURE(delay_checks) in any of my cf files, so I think
it's something else. Well at any rate, thanks for your help.

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


Re: Sendmail ignores hosts.allow

2007-05-22 Thread Chuck Swiger

On May 22, 2007, at 1:21 PM, Maxim Khitrov wrote:
Do you know if there is a reason they chose to do it this way?   
Accept the

connection, but don't allow the client to do anything with it?


There is some advantage to getting enough info from attempted spam to  
produce useful logging messages, even if you want your mail system to  
eventually return a 5xx permanent failure.


Some people also find that accepting and tying up spammer connections  
can help reduce the rate that spam gets pumped out, although for that  
to be really effective, it helps to have a teergrube (German for  
tarpit) in your MX list which is specially designed to very slowly  
accept traffic from potential spammers without tying down a lot of  
your own bandwidth.


--
-Chuck

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


Re: [FreeBSD 7.0-CUR/gcc 4.2/portsnap]: portsnap fetch reports illegal portsnap tag!

2007-05-22 Thread Colin Percival
O. Hartmann wrote:
 Fetching snapshot tag from portsnap1.FreeBSD.org... Illegal instruction
 invalid snapshot tag.
 
 Is there anything wrong? I remember myself of issues with OpenSSL and
 gcc 4.2, so due to the calculation of the checksum this might cause the
 error.

This is the OpenSSL/gcc42 bug being invoked when portsnap calls openssl
to verify a signature.

Colin Percival

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


AZ Media Consultants Mailing List - Action Required

2007-05-22 Thread AZ Media Consultants
Subscription Confirmation


You are currently registered as a subscriber to the AZ Media Consultants 
mailing list. As an active member, you receive valuable information from AZ 
Media Consultants.

Our new mailing list service requires that we 
maintain a 100% permission-based list. In order to continue receiving our 
subscription-based correspondence, please confirm that you want to remain an 
active subscriber.

Click here to confirm 
your subscription ( 
http://app.expressemailmarketing.com/confirm.aspx?id=27648sid=55639852guid=aa181fa5-82da-418b-8bee-e9fe5a3890de
 ) 

If you do not click the link above, you will not 
receive any future email messages from AZ Media Consultants.



Sincerely,  
  

AZ Media Consultants





This email was sent by AZ Media Consultants,  , Phoenix, AZ 85000, using 
Express Email Marketing.

Express Email Marketing has a zero-tolerance SPAM policy. Please report SPAM by 
clicking here ( 
http://app.expressemailmarketing.com/unsubscribe.aspx?id=27648sid=55639852spam=true
 ) 


Copyright (C) 2004-2007.  All rights reserved.

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

Re: Sendmail ignores hosts.allow

2007-05-22 Thread Scott Bennett

 On Tue, 22 May 2007 11:37:24 -0400 Maxim Khitrov [EMAIL PROTECTED]
wrote:

On 5/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I suspect sendmail is reading /etc/hosts.allow

 Why would anyone expect that?  /etc/hosts.allow is one of the control
files for the TCP wrapper program, tcpd.  (See man tcpd.)

 # Start by allowing everything (this prevents the rest of the file
 # from working, so remove it when you need protection).
 # The rules here work on a First match wins basis.
 #ALL : ALL : allow

 Did you comment out the above line?

 Steve

Here's the entire file as it is right now:

# Deny sendmail to all clients (temporary)
sendmail : all : deny

# Allow anything from localhost
all : local ip : allow

# Process SSH deny rules
sshd : /etc/hosts.evil : deny

# Allow everything else
all : all : allow

Once I can get sendmail to block all connection requests, I'll move it
below the second rule. That way, only local processes will be able to
use it. For now, however, that rule is being ignored completely.

 Okay.  First off, as noted above, /etc/hosts.{allow,deny} are not
sendmail(8) control files.  They are tcpd(8) control files.
 Secondly, tcpd is normally interposed between inetd(8), which has
essentially no built-in means of deciding whether to accept or reject
TCP connections based upon the source address of the connection request.
Instead of listing a particular program in /etc/inetd.conf as the program
to run to service an incoming connection on a particular port, one lists
the tcpd program and provides *it* the path of the desired service program.
tcpd then looks at /etc/hosts.{allow,deny} to determine whether to close
the connection or to pass it along to the service program.
 Third, it is possible to run sendmail in non-daemon mode.  If one
does not wish to tie up kernel resources to keep a sendmail process in the
system all the time, for example, one can list sendmail in /etc/inetd.conf
for the SMTP port (25), so that an inbound connection will result in inetd(8)
forking off a sendmail process to handle it.  (See man sendmail, and try
/usr/sbin/sendmail -bm IIRC.)  It is in this setup *only* that the
/etc/hosts.{allow,deny} files should have any effect whatsoever upon whether
incoming connections are handled by sendmail.  N.B. even in this case, it
is tcpd reading those files and making the decisions, *not* sendmail.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[freebsd-questions] Can't build php5? - Now builds, but doesn't work.- Fixed

2007-05-22 Thread Patrick Baldwin

Beech Rintoul wrote:


 On Monday 21 May 2007, Patrick Baldwin said:


First, my apologies to Beech for replying off-list, I'm on a few
others that work a bit differently, and I was a little quick with
the send button.

On to the issue at hand:

Beech Rintoul wrote:

  On Monday 21 May 2007, Patrick Baldwin said:

  Hi, I'm in the process of trying to build a Horde/IMP server.
  I started by freshly installing  updating 6.2-RELEASE-p4
  FreeBSD.  I then installed IMP package with pkg_add -r imp.
  All seemed to go well.  I then started working my way through
  configuring the various newly installed things.
 
  From:
  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/netwo

 rk-a pache.html
 
  I added:
 
  LoadModule php5_modulelibexec/apache/libphp5.so
 
  AddModule mod_php5.c
  IfModule mod_php5.c
  DirectoryIndex index.php index.html
  /IfModule
  IfModule mod_php5.c
  AddType application/x-httpd-php .php
  AddType application/x-httpd-php-source .phps
  /IfModule
 
  To my /usr/local/etc/apache/httpd.conf file.
 
  When I tried to restart Apache, I get:
   apachectl start
  Syntax error on line 238 of /usr/local/etc/apache/httpd.conf:
  Cannot load /usr/local/libexec/apache/libphp5.so into server:
  Cannot open /usr/local/libexec/apache/libphp5.so
  /usr/local/sbin/apachectl start: httpd could not be started
 
 
  And sure enough, it's not there.  I go to /usr/ports/lang/php5,
  Run make config install, telling it to build Apache module, and
  I get:
 
  ===  Vulnerability check disabled, database not found
  ===  Found saved configuration for php5-5.2.2
  = suhosin-patch-5.2.2-0.9.6.2.patch.gz doesn't seem to exist
  in /usr/ports/distfiles/.
  = Attempting to fetch from
  http://www.hardened-php.net/suhosin/_media/. fetch:
  http://www.hardened-php.net/suhosin/_media/suhosin-patch-5.2.2-
 0.9. 6.2.patch.gz: Connection refused
  = Attempting to fetch from
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
  fetch:
  ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/suhosin-patch
 -5.2 .2-0.9.6.2.patch.gz: File unavailable (e.g., file not
  found, no access)
  = Couldn't fetch it - please try to retrieve this
  = port manually into /usr/ports/distfiles/ and try again.
  *** Error code 1
 
  Stop in /usr/ports/lang/php5.
  *** Error code 1
 
  Stop in /usr/ports/lang/php5.
 
 
  My goal here is to get a working FreeBSD 6.2 Horde/IMP server.
  I'm new to all these things, so if I'm going about this the
  hard or the stupid way, please don't hesitate to tell me.  It
  seemed like the easiest and fastest way to get a working
  install would be to install the package, but maybe I'm wrong.
 
  Regards,

 
  The problem is there have been upgrades to php and their server
  is


currently down. This has been reported by several people and all I
can suggest is to try again later. FWIW, I just tried to fetch and
it's still down.


  Beech


And apparently continues to be so.  I guess I'll try again
tomorrow.

In the meantime, this leaves me wondering if I should try and
uninstall imp, and re-install once this server is back.  I am under
the impression that installing via a package should cause any
dependencies of the package to be built with the options the
package needs to run (if I'm wrong on this please let me know),  so
it seems like I may end up chasing dependencies for awhile if I
just proceed from where I am right now, since it obviously couldn't
build PHP with the options needed for Horde/IMP to work.

Also, it;s mentioned above that several people have reported this
problem.  My Google searches didn't turn anything up; is there
someplace I should be checking for issues like this before posting
here?

Thanks,



 I found a mirror with a good checksum. Download and put
 in /usr/ports/distfiles then rebuild.

  http://critical.ch/distfiles/suhosin-patch-5.2.2-0.9.6.2.patch.gz

 Beech


I did what was suggested above.  All seemed to go well with the
rebuild.  Started Apache, and found it was still trying to download
PHP files, not run them.  Checked httpd-error.log, found:

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20
060613/gd.so' - /usr/local/lib/php/20060613/gd.so: Undefined symbol
quot;gdImag
eCreateFromXpmquot; in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/lib/php/20
060613/gd.so' - /usr/local/lib/php/20060613/gd.so: Undefined symbol
quot;gdImag
eCreateFromXpmquot; in Unknown on line 0
[Tue May 22 12:53:53 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.2 with
Suhosin-
Patch configured -- resuming normal operations
[Tue May 22 12:53:53 2007] [notice] Accept mutex: flock (Default: flock)

When I checked to verify that /usr/local/lib/php/20060613/gd.so existed,
I did find it:
webmail# pwd
/usr/local/lib/php/20060613
webmail# ls -asl g*
368 -r--r--r--  1 root  wheel  357948 May 22 12:26 gd.so


The log mentions the patch, so it looks like that installed fine. The
file 

Problems with USB drive booting, installing over NFS mount

2007-05-22 Thread Mike Sweetser - Adhost
I've been trying to get a server installed with FreeBSD 6.1 from either
a USB CD or floppy, or an NFS mount for nearly a week, with no luck.
(The server has no CD-ROM drive or floppy drive, and is SATA-only).

When trying to boot from the FreeBSD install CD from a USB CD-ROM drive,
or when booting from a boot floppy from a USB floppy drive, at the very
start of booting, it starts scrolling a hexadecimal dump, and becomes
unresponsive.

I've set up a basic FreeBSD server install as a PXE/TFTP/NFS server and
have the server booting off that into FreeBSD, but whenever I run
sysinstall, I get as far as it extracting the distribution.  At the
first area, once it gets to 7%, it always errors out, saying that it's
lost connection to the NFS mount.  It never reestablished the connection
and hangs there.

Any ideas of anything I can do?  This is really getting frustrating.

Mike Sweetser

--
Mike Sweetser | Systems Administrator

Adhost Internet
140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA
P 206.404.9000T 888.234.6781 (ADHOST-1)F 206.404.9050
E [EMAIL PROTECTED]W adhost.com

Our brand new Adhost West data center is open - contact us for a tour at
1-888-234-6781 (ADHOST-1)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Assignment of device names to external USB drives

2007-05-22 Thread Mikhail Goriachev
[EMAIL PROTECTED] wrote:
 On 19/05/07, Kevin Downey [EMAIL PROTECTED] wrote:
 On 5/19/07, Denis Fortin [EMAIL PROTECTED] wrote:
 Greetings,

 I am trying to set up a backup server, using a combination of internal
 and external (USB) disk drives.

 How can I manage the mapping of USB disk drives to device names?  i.e.
 USB drives get assigned device names like da0, da1, da2... when they are
 detected.  But if one of the drives fails or is not powered up, all
 other ones will get bumped down one in the list next time I reboot.

 The problem is that if I automatically mount /dev/da0a
 /archive/volume1, mount /dev/da1a /archive/volume2, etc. I run the
 risk of having the wrong disk being mounted on a mount point !?!

 Is there an obvious solution that I'm missing, or a canonical workaround
 to this problem?

 when you newfs a drive use the -L flag to give it a label like
 'VOLUME1' then if you load the geom_label module that drive becomes
 availble under /dev/ufs/VOLUME1
 
 Or, if instead of fdisk, you
 # glabel label disk0 da0
 # bsdlabel -w label/fancy0
 # newfs -U label/fancy0a
 # mount /dev/label/fancy0a /bla
 

In addition, you can modify an already created filesystem (as described
in glabel(8)):

# tunefs -L data /dev/da4s1a


Read the glabel(8) and loader.conf(5) man pages.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portmanager -s deletes ports?

2007-05-22 Thread RW
On Tue, 22 May 2007 09:39:33 +0200
Heinrich Rebehn [EMAIL PROTECTED] wrote:

 Hi list,
 
 i use
 
 #  portmanager -s|grep OLD | sort -t: -k2
 
 occasionally to see which ports need upgrading. Ports tree is
 cvsup'ed each night.
 
 I then noticed that almost *all* X11 manpages had been deleted. :-(
 
 The portmanager manpage reads:
 
   o   -s or --status
status of installed ports
 
 My Question: how is it possible that this command *deletes* any ports?
 I am aware that there have been big changes to X11 recently, but 
 nevertheless, something like this should not happen.

That port has been removed from the tree. Portmanger will prompt you to
remove it and then do it automatically after a timeout. It's not really
intended to be machine-readable output.

pkg_version -vl will give you a list of out of date ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


did a new install with xorg 7.2

2007-05-22 Thread Jonathan Horne
installed xorg 7.2, then built kde3 port.  edited my xorg.conf to use the new 
paths, and everything starts up fine.  

then, i go to install the linux-firefox port, and i think something is not 
right now.  linux-firefox wont start at all, and now a linux-xorg-libs-6.8 
shows up on my sytem.

[EMAIL PROTECTED] ~]# pkg_info |grep xorg
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
xorg-7.2X.Org complete distribution metaport
xorg-apps-7.2   X.org apps meta-port
xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
xorg-docs-1.3,1 X.org documentation files
xorg-drivers-7.2X.org drivers meta-port
xorg-fonts-100dpi-7.2 X.Org 100dpi bitmap fonts
xorg-fonts-7.2  X.org fonts meta-port
xorg-fonts-75dpi-7.2 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.2 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.2 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.2 X.Org TrueType fonts
xorg-fonts-type1-7.2 X.Org Type1 fonts
xorg-libraries-7.2  X.org libraries meta-port
xorg-protos-7.2 X.org protos meta-port
xorg-server-1.2.0_2,1 X.Org X server and related programs

is that linux-xorg-libs supposed to still be in there i wonder?  could that be 
some of the cause why linux-firefox keeps dumping?
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spamassassin not working

2007-05-22 Thread Olivier Nicole
 I have installed Spamaassassin along with amavisd-new to filter spam, but
 I don't think it is working. I am getting a bunch of spam and spamassassin
 is not tagging it as spam. I have the score set at 3.0. It worked before
 on my old box but when I installed it on a new box using the same
 procedure I used on the old box it is not working. Anyone have any ideas?

I have about 1000 of ideas, so we need to narrow down the problem.

First thing would be to tell us if SpamAssassin is working at all or
not: are the messages tagged by SA but all are under 3.0 or they are
not tagged at all?

Did you try to run a message throught SA by hand, using the command
spamassassin? Are you running SA daemon, do you have spamd running?
Did you try to feed a message to spand?

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


what's up with portsnap?

2007-05-22 Thread r17fbsd
Hope this hasn't been asked 2^32 times;  didn't see anything in the 
recent archives.


What is up with the portsnap servers?  I saw the announcement that 
ports was frozen for the new XOrg blah... blah  Is that 
still the case?


Try to fetch and it says:

# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap3.FreeBSD.org... done.
Latest snapshot on server is older than what we already have!
Cowardly refusing to downgrade from Thu May 10 10:42:40 EDT 2007
to Mon Apr 16 10:17:39 EDT 2007.

And even if it was frozen how did I get to May 10, if it was frozen 
at Apr 16?!  I've ONLY used portsnap, not cvs for updates.  Oh yeah 
-- running 6.2-Release.


  -Thanks,  Rob

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


raid or not raid

2007-05-22 Thread kalin mintchev
hi all..

i have a box in a remote hosting facility that claims that the machine has
two discs raided in it but df and fstab show only one disc with a bunch of
slices.
under devices there is another name - ad6 - but it's not mounted anywhere.
the one i see both in df and the fstab is ad4 with one big slice and
different partitions

they insist there are 2 raided discs in tha machine. the os is 5.4 and i
think at that point the raid drivers were still considered 'experimental'.

it makes sense to me that if i don't see a second drive in the fstab there
isn;t any mounting which means that there is no raid going on...

is there any other way i can make sure if raid is actually on?
would there will be any logs somewhere?
the machine has been up for about 2 years and the dmesg is long gone...

thanks.


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


Re: what's up with portsnap?

2007-05-22 Thread Colin Percival
[EMAIL PROTECTED] wrote:
 # portsnap fetch
 Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
 Fetching snapshot tag from portsnap3.FreeBSD.org... done.
 Latest snapshot on server is older than what we already have!
 Cowardly refusing to downgrade from Thu May 10 10:42:40 EDT 2007
 to Mon Apr 16 10:17:39 EDT 2007.

That's really strange.  And it doesn't happen for me.

Is it possible that you have a misbehaving proxy which is caching
a month-old snapshot?

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


Re: notebook cpu throttling

2007-05-22 Thread Ian Smith
On Tue, 22 May 2007 19:35:10 +0300 Ghirai [EMAIL PROTECTED] wrote:
[..]
I did that, but now xorg constantly uses 20-30% CPU.

CPUs were running cooler indeed, but everything ran jerky,
because of the xorg cpu usage.
[..]
   Point being, if powerd has selected your lowest cpu frequency because
   load is less than default (or as specified by -i and -r switches) and
   this is (say) 1/4 of full speed, then something that normally showed 5%
   cpu will now show as using 20% (of available cpu cycles at that speed)
  
   You can tune your powerd idle levels more towards performance, and/or
   you can set a higher minimum cpu freq with sysctl debug.cpufreq.lowest
   from among your available levels.
[..]

  I suspected this; xorg just reporting to use 20-30% cpu doesn't bother
  my, what bothers me is the fact that mouse cursor and everything moves
  jerky.
  
  I'll try to raise the min. freq., maybe powerd lowers it too much..

Maybe.  In one recent example, a 1400MHz box (Thinkpad T42p) had freqs
all the way down to 75MHz while still running with 1mS slicing (1000HZ) 
apparently losing i8254 timer interrupts (when using APM, not with ACPI)

powerd(8) in adaptive mode with default settings will lower cpu freq one
level whenever the load idle is 90% or more, and raise freq (two levels) 
whenever idle gets less than 65%.  Looks like if you set that to say 75%
your xorg alone would kick it up.  Of course you must be careful not to
set the shiftpoints too close together, or you'll observe oscillation ..
again, running 'powerd -v' is useful while you're playing with tuning.

Re jerkiness, you might also benefit by decreasing the polling interval
(how often powerd checks load average) from 500mS to perhaps half that? 

I'm kinda interested in these fujitsu-siemens laptops myself, so I'm
still keen to see your 'sysctl dev.cpu.0.freq_levels' please? 

Cheers, Ian

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


How to do Spam Control in FreeBSD

2007-05-22 Thread dhaneshk k

Hi  Everbody

 I have a freebsd-6.0 server with postfix and mailman running on this 
machine ,


but I havn't configured spamassasin ,amavisd etc in this box. so I am 
suffering from spams daily ..


Since I am a new be to FreeBSD ,  let me requset you to share your expertise 
(the steps how to install  configure  spamassasin,amavisd  in  this box )


( Genaral question : Is  there  any port for spamassasin,amavisd in FreeBSD)

Thanks in Advance
Dhanesh

_
Spice up your IM conversations. New, colorful and animated emoticons. Get 
chatting! http://server1.msn.co.in/SP05/emoticons/


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


Re: How to do Spam Control in FreeBSD

2007-05-22 Thread Olivier Nicole
Hi Dhanesh,

 ( Genaral question : Is  there  any port for spamassasin,amavisd in FreeBSD)

Starting from the end but that is the easy part, yes there are.
 
   I have a freebsd-6.0 server with postfix and mailman running on this 
 machine ,

(Side remark: You may consider upgrading to 6.2)

 but I havn't configured spamassasin ,amavisd etc in this box. so I am 
 suffering from spams daily ..

To answer both your personnal email and the one to the list, I am not
using postfix but sendmail.

I am using amavis thourgh amavis-milter, that is a *very* old version
of amavis.

And I am using SpamAssassin through procmail. 

The reason I separated both of them is partly historical (at the timeI
started with them there was no amavisd-new that could call to SA) and
partly philosophical (even if it means expending the atttachments 2
times; on one hand anti-virus is the same configuration for every
users, it is a matter of security policy and no user is allowed to
change that, so it is checked at transport; spam filtering on the
other hand is really a matter of personnal choices, some may have
their own rules, etc. so a message could be treated differently for
each specific user, so it is checked at delivery).

Best regards,

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