Re: setting X11BASE

2008-02-23 Thread perryh
 LOCALBASE is /usr/local unless you've changed it (but then you
 would already know what it was if you had.)  You can find its
 value in /usr/ports/Mk/

  grep LOCALBASE?= /usr/ports/Mk/*
 /usr/ports/Mk/bsd.port.mk:LOCALBASE?=   /usr/local

Aha!

  In case it matters, I have not upgraded to the modular Xorg, and
  would prefer not to go through all that.  It ain't broke ...

 ... if you want to stay with the old system, you're probably going
 to need to put USE_NONDEFAULT_X11BASE?=/usr/X11R6 in your make.conf
 file to keep your ports from breaking in interesting ways ...

Aha! again.

 Read /usr/ports/UPDATING carefully before proceeding.

I did, but only as far back as the last time I updated, and I skipped
entries which were identified as affecting ports I haven't installed
or don't use ... including the modular xorg which I'm trying to avoid.
(I figure it can wait until I do a clean install, on a different
machine, using 7.0 when it comes out.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting X11BASE

2008-02-23 Thread perryh
  * What is the value of LOCALBASE?  I'm not finding any
definition, or other reference, in /etc/make.conf.

 Just set it to ${LOCALBASE} verbatim. Not what you think is the
 value of the variable LOCALBASE but the word ${LOCALBASE}.

Academic interest :)

I'm finding it especially interesting that /etc/make.conf, which
to judge from its location is part of the base, depends on a setting
from something in the /usr/ports tree.

  In case it matters, I have not upgraded to the modular Xorg, and
  would prefer not to go through all that.  It ain't broke ...

 True, but your portstree is now 'broken', because support for how
 it used to work is being phased out, like the whole X11BASE thing.

 I think if you upgrade anything that depends on xorg, you'll find
 dependencies being pulled in that are part of the modular xorg,
 unless you really know what you're doing.

... which is why I am trying to install portmaster before doing
anything else.  I may try pkg_tree also, if it doesn't lead into
a dependency maze of its own.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting X11BASE

2008-02-23 Thread Dominic Fandrey

[EMAIL PROTECTED] wrote:

* What is the value of LOCALBASE?  I'm not finding any
  definition, or other reference, in /etc/make.conf.

Just set it to ${LOCALBASE} verbatim. Not what you think is the
value of the variable LOCALBASE but the word ${LOCALBASE}.


Academic interest :)

I'm finding it especially interesting that /etc/make.conf, which
to judge from its location is part of the base, depends on a setting
from something in the /usr/ports tree.



Well, actually it doesn't. What gives you this impression?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MP3/MP4

2008-02-23 Thread G Grace
Dear Customer,



We are pleased to get to know that you are presently on the market for MP4
other digital products, and as the *largest specialized OEM manufacturer of
MP4/GPS/DPF and other digital products *and exporter for these products in
China, we sincerely hope to establish business relations with your esteemed
corporation.



To know more about our products, kindly visit our website:
www.valor-wave.com

Please kindly check and contact us.

If you are not in the product or purchasing department, please forward my
information to the relevant department.Thks.


-- 
Thks  Best regards,
Grace
TEL:86-755-28532658   28532458
Fax:86-755-89518848
MSN: [EMAIL PROTECTED]
Email:[EMAIL PROTECTED]
 [EMAIL PROTECTED]
www.valor-wave.com
CHINA factory Add. : SHANGXUE INDUSTRIAL ZONE, BUJI, SHENZHEN, CHINA

TEL: 00852-30628889   30602868
FAX: 00852-35902333
HK Add. : RM1002, 10/F, RICKEY CENTRE, 36 CHONG YIP STREET,KWUN TONG,
KOWLOON, HK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD diskless workstation and over the network installation via PXE

2008-02-23 Thread Erik Norgaard

vincenzo romero wrote:

Hello,

Am new to FreeBSD and relatively new to linux;  I have a CentOS 5.1
PXE/tftpd/dhcpd server; I'd like it to be the build/PXE server where a
bunch of 1U clients could PXE boot and run:

1.  diskless over NFS-Root

In googling, seems like there is a clone script that preps and lets
you generate a root file system structure and let your clients boot
off the network.


I found the docs I could find on the internet way obsolete back in 2005 
when I played with it, and I am not aware that these has been updated.


I wrote my own guide to make up for this, however, this may now also be 
obsolete as it's been some time since I played with this.


My main problem with diskless is that FreeBSD mounts memory backed 
filesystems for /var and /tmp which waste a lot of precious RAM if you 
have restricted memory. And a feature, useless in diskless operation, 
prevents mounting /var and /tmp from a server.



I checked the Free BSD Handbook (Chapter 29) where extensive
documentation on setup is outlined, but it assumes that the
PXE/TFTP/NFS/DHCPd servers are FreeBSD;  mine is a CentOS; just want
to support diskless PXE boot for my clients.

Section 29.7.2.9.2 9Usning a Non-FreeBSD server - just indicates that
do a tar/cpio of root; but ensure that special files in /dev are taken
care of ...


There is no problem serving files from a non-FreeBSD server, however 
things are easier, as you need to build all applications served via NFS 
for FreeBSD. This mainly affects you if you want diskless clients, you 
need to keep these updated. For installation this is not a concern.


The /dev is not a problem, the diskless client mounts a /dev locally, it 
is not a real file system.



- does anyone have this type of scenario setup?  if so, can you please
share with me your insights/cheat-sheet-how to?


http://www.locolomo.org/pub/pxeboot/index.html


- i'd be interested in understanding the setup of how you handled
copying the /dev files into your exported ROOT directorty ...

Are there any other recommendations ?


If you want to do network installation rather than diskless, avoid NFS, 
it is much easier to set up installation over ftp.


Cheers, Erik
--
Erik Nørgaard
Ph: +34.666334818   http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


duplicate message removal

2008-02-23 Thread Robin Becker
We have a bunch of FreeBSD 6.x servers which we administer remotely. As 
part of that we get the normal root job mails emailed to a mailing list 
which the admins(mostly me) can inspect at leisure and also use for 
historical purposes.


Trouble is many of the emails get huge because of repeated messages 
typically stuff like


xxx.yyy.com login failures:
Feb 22 20:07:54 app3 sshd[56886]: reverse mapping checking getaddrinfo 
for 216-194-26-66.ny.ny.metconnect.net failed - POSSIBLE BREAKIN ATTEMPT!


etc etc

All these servers are running denyhosts, but we still see lots of these 
messages.


I was wondering if there's any simple compression script which notices 
the repetitions (apart from timestamp) and can remove the many 
duplicates etc etc.

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


Re: setting X11BASE

2008-02-23 Thread Mel
On Saturday 23 February 2008 09:01:26 [EMAIL PROTECTED] wrote:
   * What is the value of LOCALBASE?  I'm not finding any
 definition, or other reference, in /etc/make.conf.
 
  Just set it to ${LOCALBASE} verbatim. Not what you think is the
  value of the variable LOCALBASE but the word ${LOCALBASE}.

 Academic interest :)

 I'm finding it especially interesting that /etc/make.conf, which
 to judge from its location is part of the base, depends on a setting
 from something in the /usr/ports tree.

No, the ports tree uses make(1), a base utility and the global configuration 
file for make is /etc/make.conf. So the ports tree depends on a base utility.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: duplicate message removal

2008-02-23 Thread Mel
On Saturday 23 February 2008 11:32:41 Robin Becker wrote:

 Trouble is many of the emails get huge because of repeated messages
 typically stuff like

 xxx.yyy.com login failures:
 Feb 22 20:07:54 app3 sshd[56886]: reverse mapping checking getaddrinfo
 for 216-194-26-66.ny.ny.metconnect.net failed - POSSIBLE BREAKIN ATTEMPT!

 etc etc

 All these servers are running denyhosts, but we still see lots of these
 messages.

 I was wondering if there's any simple compression script which notices
 the repetitions (apart from timestamp) and can remove the many
 duplicates etc etc.

Well, there's two things you can do:
Attack the problem:
Install sysutils/grok on the machines and start it with following config:

file /var/log/auth.log {
type ssh-illegal-user {
match = Invalid user %USERNAME% from %IP%;
threshold = 5;   # 5 hits ...
key = %IP%;# from a single ip ...
interval = 60;   # in 1 minutes
reaction = /sbin/pfctl -t sshscan -Tadd %IP%;
};

type ssh-scan-possible {
match = Did not receive identification string from %IP%;
threshold = 3;
interval = 60;
reaction = /sbin/pfctl -t sshscan -Tadd %IP%;
};
};

If you replace:
my $TAIL = tail -0f;
with
my $TAIL = /usr/bin/tail -0F; # capital F

in grok, you will never have to look at it again. Else you will have to 
restart it whenever newsyslog(8) rotates the auth.log.
Note that this uses pf, and assumes the table sshscan is blocking table.
I'm sure it can be done with other firewalls as well.

Attack the report:
daily_status_security_loginfail_enable=NO /etc/periodic.conf

Then write your own and put it in /usr/local/etc/periodic/security/. I've 
written something similar with php for mail rejects, that groups sender or 
hostname and error message together, but any scripting language that you're 
comfy with should work.


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


6.3 DHCP and static_routes

2008-02-23 Thread Andrea Venturoli

Hello.
This is part of my rc.conf:

ifconfig_vr0=DHCP
static_routes=a b c
route_a=192.168.101.0/24 xxx
route_b=192.168.103.0/24 yyy
route_c=192.168.106.0/24 xxx

This used to work fine with 6.2, with the default route set up by the 
DHCP servers.


After I upgraded to 6.3, I get no default route anymore. This is the 
relevant part of my logfile:


Feb 23 11:16:38 zzz kernel: DHCPDISCOVER on vr0 to 255.255.255.255 port 
67 interval 6

Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: DHCPOFFER from 10.1.2.15
Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: DHCPREQUEST on vr0 to 255.255.255.255 port 67
Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: DHCPACK from 10.1.2.15
Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: bound to 10.1.2.18 -- renewal in 1800 seconds.
Feb 23 11:16:38 zzz kernel:
Feb 23 11:16:38 zzz kernel: lo0: 
flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384

Feb 23 11:16:38 zzz kernel: inet 127.0.0.1 netmask 0xff00
Feb 23 11:16:38 zzz kernel: vr0: 
flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500

Feb 23 11:16:38 zzz kernel: options=8VLAN_MTU
Feb 23 11:16:38 zzz kernel: inet 10.1.2.18 netmask 0xff00 broadcast 
10.1.2.255

Feb 23 11:16:38 zzz kernel: ether 00:50:8d:63:65:ce
Feb 23 11:16:38 zzz kernel: media: Ethernet autoselect (100baseTX 
full-duplex)

Feb 23 11:16:38 zzz kernel: status: active
Feb 23 11:16:38 zzz kernel: add net 192.168.101.0: gateway xxx
Feb 23 11:16:38 zzz kernel: route:
Feb 23 11:16:38 zzz kernel: writing to routing socket
Feb 23 11:16:38 zzz kernel: :
Feb 23 11:16:38 zzz kernel: File exists
Feb 23 11:16:38 zzz kernel: add net 192.168.103.0: gateway yyy: route 
already in table

Feb 23 11:16:38 zzz kernel: add net 192.168.106.0: gateway xxx
Feb 23 11:16:38 zzz kernel: Additional routing options:


Has anything changed? Anyone else experiencing a similar problem? Any 
suggestion?


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


gmirror on slice

2008-02-23 Thread Daniel Gerzo
Hello people,

 I'm trying to set up a gmirror on two slices, but I am stuck
 somewhere. I am unable to find out what is wrong. Here's what I have
 done so far:

 I have 2 disks in the box. I have created 2 slices on both of them
 (ad{4,6}s1 and ad{4,6}s2) through sysinstall. (btw,
 http://www.freebsd.org/cgi/query-pr.cgi?pr=72895cat= is really
 annoying, lucky I had a remote console :-))

 Now I want to initialize gmirror on slice 1:

ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1
gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.
ha-db1# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 0 - 16
ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1
gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.

for additional information, I am including the following:

ha-db1# fdisk -vp ad4
# /dev/ad4
g c1453521 h16 s63
p 1 0xa5 63 72340632
a 1
p 2 0xa5 72340695 1392803370

ha-db1# disklabel /dev/ad4s1
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  104857604.2BSD 2048 16384 8
  b: 25165824  1048576  swap
  c: 723406320unused0 0 # raw part, don't edit
  d: 25165824 262144004.2BSD 2048 16384 28528
  e: 20960408 513802244.2BSD 2048 16384 28528


 Any ideas will be much appreciated.

-- 
Best regards,
 Daniel  mailto:[EMAIL PROTECTED]

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


My Rebuild Problem

2008-02-23 Thread tonylabarbara
Now I get this when I try and log on:


no /boot/loader

All I want to do is rebuild the silly FBSD! Again, I fell into this silly loop 
when I tried to rebuild:

-- Select Drive
-- FDISK Partition Editor (Q)
-- Install Boot Manager

and it just goes round, and round, and round. Can I just wipe the disk and 
start over? And why these strange problems? I´m not connected to the Internet, 
so no possibility of virus. Never had this problem before.
Help!
Tony


More new features than ever.  Check out the new AOL Mail ! - 
http://webmail.aol.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gmirror on slice

2008-02-23 Thread Wojciech Puchar

Now I want to initialize gmirror on slice 1:

ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1
gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.
ha-db1# sysctl kern.geom.debugflags=16


you try to make a mirror on used slice or some partition of that


kern.geom.debugflags: 0 - 16
ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1
gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.

for additional information, I am including the following:

ha-db1# fdisk -vp ad4
# /dev/ad4
g c1453521 h16 s63
p 1 0xa5 63 72340632
a 1
p 2 0xa5 72340695 1392803370

ha-db1# disklabel /dev/ad4s1
# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  104857604.2BSD 2048 16384 8
 b: 25165824  1048576  swap
 c: 723406320unused0 0 # raw part, don't edit
 d: 25165824 262144004.2BSD 2048 16384 28528
 e: 20960408 513802244.2BSD 2048 16384 28528


Any ideas will be much appreciated.

--
Best regards,
Daniel  mailto:[EMAIL PROTECTED]

___
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: Re: tape splitter

2008-02-23 Thread Wojciech Puchar

2. Outputs chunks in specified directory. You can configure it to write 
directly to tape, but it's not the best solution.
3. Can be configured to write only N chunks and after that wait for SIGUSR1 to 
write next.
4. Can be configured to write MD5-digest of every piece in separate file.

I use it to make 45Gb backup on the DVD's every week at Friday. It takes 
approximatelly 30 minutes of my time and 6 hours of real time (i need to 
replace DVD's and write labels on them). It takes 12 DVD's and cost 6$.

If you tapes is not very huge ( 4Gb) you will be better to use DVD's. Write 
once DVD is available ~0.5$ is you bought 100 at once.
DVD is more reliable then tapes, and you can just put old backups on the shelf 
for long storage.
For daily delta-backups you can use few DVD-RW.



i have 100GB tape drive. thanks for your program!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
Hi,

I have installed FreeBSD 6.3 onto a new machine.

I cvsup'd  ('src-all' and 'ports-all', RELENG_6_3).

I then set some /etc/make.conf parameters (CPUTYPE=c3, CFLAGS= -O2 -pipe,
COPTFLAGS= -O -pipe), rebuilt both world and kernel (no changes were made to
the kernel file GENERIC), and installed both of them.

I have a fully working system.  If I do a uname -a, I get something like
the following...

FreeBSD watchtower.X.org 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0:
Fri Feb 22 07:45:19 GMT 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

All indications suggested everything was fine.

I then intended to install a number of packages from ports, so I switched to
root.  I usually use portupgrade, so I then tried the following...

cd /usr/ports/ports-mgmt/portupgrade
make install clean

As part of the install, it tried to install lang/ruby18, but it failed.
This is the error I was presented with...


checking minix/config.h presence... no
checking for minix/config.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for long long... yes
checking for off_t... yes
checking for int... yes
checking size of int... configure: error: cannot compute sizeof (int)
See `config.log' for more details.
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/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/lang/ruby18.
*** Error code 1

Stop in /usr/ports/ports-mgmt/portupgrade.
*** Error code 1

Stop in /usr/ports/ports-mgmt/portupgrade.




I was surprised - I was tracking the security branch after all.  I examined
the config.log it mentions above, but i'm not a C programmer and I couldn't
really make sense of it.

I performed a make clean, and mentally shrugging, went on to try and
install the other packages in my list.  Portaudit successfully installed,
but the other two packages (security/aide and net/isc-dhcp3-server) did
not...

= security/aide ==
config.status: creating po/Makefile
config.status: creating build.sh
===  Building for gmake-3.81_2
make  all-recursive
Making all in glob
if
cc -DHAVE_CONFIG_H -I. -I. -I..-I/usr/local/include  -O2 -pipe -march=c3
 -MT glob.o -MD -MP -MF .deps/glob.Tpo -c -o glob.o glob.c;  then mv -f
.deps/glob.Tpo .deps/glob.Po; else rm -f .deps/glob.Tpo; exit 1; fi
glob.c:150: warning: conflicting types for built-in function 'malloc'
glob.c: In function `globfree':
glob.c:1075: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81/glob.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/security/aide.




= net/isc-dhcp3-server 
Making links in server
===  Building for isc-dhcp3-server-3.0.5_2
Making all in common
cc -O2 -pipe -march=c3 -D_PATH_DHCPD_CONF=\/usr/local/etc/dhcpd.conf\ -D_P
ATH_DHCPD_DB=\/var/db/dhcpd.leases\ -D_PATH_DHCPD_PID=\/var/run/dhcpd.pid
\ -D_PATH_DHCRELAY_PID=\/var/run/dhcrelay.pid\ -D_PATH_DHCLIENT_CONF=\/u
sr/local/etc/dhclient.conf\ -D_PATH_DHCLIENT_SCRIPT=\/usr/local/sbin/dhcli
ent-script\ -D_PATH_DHCLIENT_DB=\/var/db/dhclient.leases\ -D_PATH_DHCLIEN
T_PID=\/var/run/dhclient.pid\ -Dwarn=dhcp_warn -DNOMINUM -DPARANOIA -DJAIL
   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/ports/net/isc-d
hcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c raw.c
cc -O2 -pipe -march=c3 -D_PATH_DHCPD_CONF=\/usr/local/etc/dhcpd.conf\ -D_P
ATH_DHCPD_DB=\/var/db/dhcpd.leases\ -D_PATH_DHCPD_PID=\/var/run/dhcpd.pid
\ -D_PATH_DHCRELAY_PID=\/var/run/dhcrelay.pid\ -D_PATH_DHCLIENT_CONF=\/u
sr/local/etc/dhclient.conf\ -D_PATH_DHCLIENT_SCRIPT=\/usr/local/sbin/dhcli
ent-script\ -D_PATH_DHCLIENT_DB=\/var/db/dhclient.leases\ -D_PATH_DHCLIEN
T_PID=\/var/run/dhclient.pid\ -Dwarn=dhcp_warn -DNOMINUM -DPARANOIA -DJAIL
   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/ports/net/isc-d
hcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c parse.c
parse.c: In function `parse_numeric_aggregate':
parse.c:516: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with 

Outsourcing Your Book Editing Jobs

2008-02-23 Thread www . mrwebedit . com
**
*Dear Sir / Madam, *





*We are an on-line service provider for all *journalism and publishing
related activities - original articles, ghost writing, editing, magazine
management etc.



Kindly *visit us at:*

* *

*www.mrwebedit.com*

Reliability, maintaining confidentiality and strict adherence to delivery
dates is sacrosanct to the organization.

*We look forward to working with you.*



*Regards,*



*Manjula Ramakrishnan*

*CEO*

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


Apache-2.0+PHP5 does not like MySQL-5.x ...

2008-02-23 Thread Forrest Aldrich
After a long process of figuring out what went wrong, httpd was using a 
ton of resources when it received a HUP signal (log rotation at 
midnight).  Subsequently, php -v was dumping core things pointed to 
mysqli.so.  

Long story short, I downgraded to mysql-4.10, recompiled php5 and 
dependencies and walla, no more problems.


Though I didn't specifically figure out the problem, I'm pretty sure 
it's MySQL related as that was the only thing that was changed on this 
system (apart from recompiling dependencies to support the new API).


I wonder if someone has run across this and if so, have you found a bug 
or a solution. 



Thanks.

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


Re: Unable to compile anything from ports

2008-02-23 Thread Mel
On Saturday 23 February 2008 17:11:41 Jasvinder S. Bahra wrote:
 Hi,

 I have installed FreeBSD 6.3 onto a new machine.

 I cvsup'd  ('src-all' and 'ports-all', RELENG_6_3).

 I then set some /etc/make.conf parameters (CPUTYPE=c3,

It has a Via CPU?
Comment that option and try again.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SMP interrupt problem

2008-02-23 Thread Rob

Scott Bennett wrote:



Once it is running it seems to just be busy doing interrupts.

When idle top -C -S shows:

last pid:   811;  load averages:  1.00,  0.67,  0.31up 0+00:04:24  07:32:53
65 processes:  6 running, 43 sleeping, 16 waiting
CPU states:  0.0% user,  0.0% nice,  0.0% system, 43.6% interrupt, 56.4% idle
Mem: 7376K Active, 4768K Inact, 18M Wired, 8336K Buf, 963M Free
Swap: 1024M Total, 1024M Free

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIMECPU COMMAND
   13 root1 171   52 0K 8K RUN0   3:43 99.02% idle: cpu0
   23 root1 -52 -171 0K 8K CPU2   2   2:51 85.11% irq9: acpi0


 Have you looked to see which device(s) you have at IRQ 9?  Is there some
problem with the device(s)?


   11 root1 171   52 0K 8K RUN2   0:55 12.89% idle: cpu2
   37 root1 171   52 0K 8K pgzero 0   0:00  0.00% pagezero
   15 root1 -32 -151 0K 8K WAIT   0   0:00  0.00% swi4: clock s
0 root1  960 0K 0K WAIT   1   0:00  0.00% swapper
4 root1  -80 0K 8K -  0   0:00  0.00% g_down
3 root1  -80 0K 8K -  0   0:00  0.00% g_up

If anyone has an idea what the problem is I would be grateful for any advice.


 You deleted part of the startup messages, so we can't see what you have
at IRQ 9.  Go back and look at either dmesg(1) output or /var/log/messages
to find out what device(s) interrupt(s) at IRQ 9.  Then check for anything
weird about the device activity.

Thanks for the reply, I didn't post the whole dmesg as I couldn't see an irq 9 in 
the listing - sorry, I should have mentioned that. I have pasted the whole dmesg 
output below again though in case there are any other clues in there:


Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.21-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNXT-ID,xTPR
  Logical CPUs per core: 2
real memory  = 1073676288 (1023 MB)
avail memory = 1037307904 (989 MB)
ACPI APIC Table: A M I  OEMAPIC 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
ioapic2 Version 2.0 irqs 48-71 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Jan 16 2008 04:43:12)
acpi0: A M I OEMRSDT on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci2: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 29.0 on pci2
pci4: ACPI PCI bus on pcib2
em0: Intel(R) PRO/1000 Network Connection Version - 6.7.2 port 0xd800-0xd83f m
em 0xfe9e-0xfe9f irq 48 at device 1.0 on pci4
em0: Ethernet address: 00:e0:81:27:63:93
pcib3: ACPI PCI-PCI bridge at device 31.0 on pci2
pci3: ACPI PCI bus on pcib3
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 0xe800-0xe81f irq 16
 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801CA/CAM (ICH3) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib4: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib4
fxp0: Intel 82551 Pro/100 Ethernet port 0xc400-0xc43f mem 0xfe7fe000-0xfe7feff
f,0xfe7a-0xfe7b irq 17 at device 1.0 on pci1
miibus0: MII bus on fxp0
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:e0:81:27:63:92
pci1: display, VGA at device 2.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH3 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x37
6,0xffa0-0xffaf at device 31.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)

Re: setting X11BASE

2008-02-23 Thread perryh
  * What is the value of LOCALBASE?  I'm not finding any
definition, or other reference, in /etc/make.conf.
 
  Just set it to ${LOCALBASE} verbatim. Not what you think is the
  value of the variable LOCALBASE but the word ${LOCALBASE}.
  
  Academic interest :)
  
  I'm finding it especially interesting that /etc/make.conf,
  which to judge from its location is part of the base, depends
  on a setting from something in the /usr/ports tree.

 Well, actually it doesn't. What gives you this impression?

Paul Schmehl reported where LOCALBASE is set: in /usr/ports/Mk/bsd.port.mk

Now I'm being told to add this:

X11BASE=${LOCALBASE}

to /etc/make.conf, so that /etc/make.conf needs LOCALBASE to be set
in order to set X11BASE correctly.  Is that not a dependency?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: esx 3.0.2 Update 1 and BTX halted

2008-02-23 Thread Uwe Laverenz
On Tue, Feb 19, 2008 at 07:39:51PM +0200, Omer Faruk Sen wrote:

 Has anyone in this list installed fbsd 6.2 or 6.3 to esx 3.0.2 update 1
 ?(I have also tried esx 3.0.2 without update 1 and has taken the same
 error message). If yes have you done anything special for this system ?

Yes, I have installed 6.2/amd64 and 6.3/amd64 on esx 3.0.x and esx 3.5,
no special adjustments needed. As guest operating system I choose Other
(64bit).

On esx 3.0.2 I manually change Advanced Settings/Misc/Misc.Timer/MinHardPeriod
from 400 to 100 (default on 3.5) and set kern.hz=100 on the guest
machines.

Uwe

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


Re: setting X11BASE

2008-02-23 Thread Mel
On Saturday 23 February 2008 18:58:22 [EMAIL PROTECTED] wrote:
   * What is the value of LOCALBASE?  I'm not finding any
 definition, or other reference, in /etc/make.conf.
  
   Just set it to ${LOCALBASE} verbatim. Not what you think is the
   value of the variable LOCALBASE but the word ${LOCALBASE}.
  
   Academic interest :)
  
   I'm finding it especially interesting that /etc/make.conf,
   which to judge from its location is part of the base, depends
   on a setting from something in the /usr/ports tree.
 
  Well, actually it doesn't. What gives you this impression?

 Paul Schmehl reported where LOCALBASE is set: in /usr/ports/Mk/bsd.port.mk

 Now I'm being told to add this:

 X11BASE=${LOCALBASE}

 to /etc/make.conf, so that /etc/make.conf needs LOCALBASE to be set
 in order to set X11BASE correctly.  Is that not a dependency?

You assume make(1)'s variable assignment is done on encounter base at runtime.
It isn't:

# echo LOCALBASE=/usr/local /tmp/foo.mk

# echo 'X11BASE=${LOCALBASE}' /etc/make.conf

# make -f /tmp/foo.mk -V X11BASE
/usr/local

# echo LOCALBASE=/tmp /tmp/foo.mk

# make -f /tmp/foo.mk -V X11BASE
/tmp

For your academic interest:
gzcat /usr/share/doc/psd/12.make/paper.ascii.gz|$PAGER
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting X11BASE

2008-02-23 Thread Paul Schmehl

--On February 23, 2008 9:58:22 AM -0800 [EMAIL PROTECTED] wrote:


 I'm finding it especially interesting that /etc/make.conf,
 which to judge from its location is part of the base, depends
 on a setting from something in the /usr/ports tree.

Well, actually it doesn't. What gives you this impression?


Paul Schmehl reported where LOCALBASE is set: in
/usr/ports/Mk/bsd.port.mk

Now I'm being told to add this:

X11BASE=${LOCALBASE}

to /etc/make.conf, so that /etc/make.conf needs LOCALBASE to be set
in order to set X11BASE correctly.  Is that not a dependency?


You're looking at it in the reverse of what it really is.

LOCALBASE is set in /usr/ports/Mk/bsd.port.mk so that *ports* know where 
to install stuff.  And X11BASE needs to be set to ${LOCALBASE} in 
/etc/make.conf because *ports* need to know that X11BASE has changed from 
the previous default of /usr/X11R6.


A dependency is a program that a *port* requires to function properly, not 
a *location* where ports install their files.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

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


Re[2]: gmirror on slice

2008-02-23 Thread Daniel Gerzo
Hello Wojciech,

Saturday, February 23, 2008, 5:15:14 PM, you wrote:

 Now I want to initialize gmirror on slice 1:

 ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1
 gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.
 ha-db1# sysctl kern.geom.debugflags=16

 you try to make a mirror on used slice or some partition of that

and what's wrong with that, actually?
how do I create gmirror-ed slice then?

I have also tried the above commands on system that has ad4s1 and its
partitions unmounted, still getting the same error.

-- 
Best regards,
 Danielmailto:[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: Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
 It has a Via CPU?
 Comment that option and try again.

Mel,

It does indeed have a Via cpu.  The box is running on a VIA EPIA EK 8000EG
motherboard (which has a CPU integrated into it). If I run cat
/var/log/dmesg.today | grep CPU, I get...

CPU: VIA C3 Nehemiah+RNG+AES (800.03-MHz 686-class CPU)

Regardless, I commented out all three settings in /etc/make.conf (CPUTYPE,
CFLAGS and COPTFLAGS), and tried the 'make install clean' routine again.

Unfortunately, Portupgrade, Aide and ISC-DHCP3-Server still fail, though at
a different point...

= Portupgrade ==
config.status: creating Makefile
===  Building for ruby-1.8.6.111_1,1
cc -O2 -fno-strict-aliasing -pipe-fPIC  -DRUBY_EXPORT -I. -I. -c array.c
array.c: In function `rb_ary_modify':
array.c:72: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/ports/lang/ruby18/work/ruby-1.8.6-p111.
*** Error code 1

Stop in /usr/ports/lang/ruby18.
*** Error code 1

Stop in /usr/ports/ports-mgmt/portupgrade.
*** Error code 1

Stop in /usr/ports/ports-mgmt/portupgrade.




= Aide ===
config.status: creating po/Makefile
config.status: creating build.sh
===  Building for gmake-3.81_2
make  all-recursive
Making all in glob
if
cc -DHAVE_CONFIG_H -I. -I. -I..-I/usr/local/include  -O2 -fno-strict-ali
asing -pipe -MT glob.o -MD -MP -MF .deps/glob.Tpo -c -o glob.o glob.c;
then mv -f .deps/glob.Tpo .deps/glob.Po; else rm -f .deps/glob.Tpo;
exit 1; fi
glob.c:150: warning: conflicting types for built-in function 'malloc'
glob.c: In function `prefix_array':
glob.c:1162: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81/glob.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/security/aide.




= Aide ===
Making links in server
===  Building for isc-dhcp3-server-3.0.5_2
Making all in common
cc -O2 -fno-strict-aliasing -pipe   -D_PATH_DHCPD_CONF=\/usr/local/etc/dhcp
d.conf\ -D_PATH_DHCPD_DB=\/var/db/dhcpd.leases\ -D_PATH_DHCPD_PID=\/var/
run/dhcpd.pid\ -D_PATH_DHCRELAY_PID=\/var/run/dhcrelay.pid\ -D_PATH_DHCLI
ENT_CONF=\/usr/local/etc/dhclient.conf\ -D_PATH_DHCLIENT_SCRIPT=\/usr/loc
al/sbin/dhclient-script\ -D_PATH_DHCLIENT_DB=\/var/db/dhclient.leases\ -D
_PATH_DHCLIENT_PID=\/var/run/dhclient.pid\ -Dwarn=dhcp_warn -DNOMINUM -DPA
RANOIA -DJAIL   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/po
rts/net/isc-dhcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c
raw.c
cc -O2 -fno-strict-aliasing -pipe   -D_PATH_DHCPD_CONF=\/usr/local/etc/dhcp
d.conf\ -D_PATH_DHCPD_DB=\/var/db/dhcpd.leases\ -D_PATH_DHCPD_PID=\/var/
run/dhcpd.pid\ -D_PATH_DHCRELAY_PID=\/var/run/dhcrelay.pid\ -D_PATH_DHCLI
ENT_CONF=\/usr/local/etc/dhclient.conf\ -D_PATH_DHCLIENT_SCRIPT=\/usr/loc
al/sbin/dhclient-script\ -D_PATH_DHCLIENT_DB=\/var/db/dhclient.leases\ -D
_PATH_DHCLIENT_PID=\/var/run/dhclient.pid\ -Dwarn=dhcp_warn -DNOMINUM -DPA
RANOIA -DJAIL   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/po
rts/net/isc-dhcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c
parse.c
parse.c: In function `convert_num':
parse.c:635: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5/work.freebsd/common.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5/work.freebsd.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server.


Jazz



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


Re: Unable to compile anything from ports

2008-02-23 Thread Derek Ragona

At 01:11 PM 2/23/2008, Jasvinder S. Bahra wrote:

 It has a Via CPU?
 Comment that option and try again.

Mel,

It does indeed have a Via cpu.  The box is running on a VIA EPIA EK 8000EG
motherboard (which has a CPU integrated into it). If I run cat
/var/log/dmesg.today | grep CPU, I get...

CPU: VIA C3 Nehemiah+RNG+AES (800.03-MHz 686-class CPU)

Regardless, I commented out all three settings in /etc/make.conf (CPUTYPE,
CFLAGS and COPTFLAGS), and tried the 'make install clean' routine again.

Unfortunately, Portupgrade, Aide and ISC-DHCP3-Server still fail, though at
a different point...

= Portupgrade ==
config.status: creating Makefile
===  Building for ruby-1.8.6.111_1,1
cc -O2 -fno-strict-aliasing -pipe-fPIC  -DRUBY_EXPORT -I. -I. -c array.c
array.c: In function `rb_ary_modify':
array.c:72: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/ports/lang/ruby18/work/ruby-1.8.6-p111.
*** Error code 1

Stop in /usr/ports/lang/ruby18.
*** Error code 1

Stop in /usr/ports/ports-mgmt/portupgrade.
*** Error code 1

Stop in /usr/ports/ports-mgmt/portupgrade.




= Aide ===
config.status: creating po/Makefile
config.status: creating build.sh
===  Building for gmake-3.81_2
make  all-recursive
Making all in glob
if
cc -DHAVE_CONFIG_H -I. -I. -I..-I/usr/local/include  -O2 -fno-strict-ali
asing -pipe -MT glob.o -MD -MP -MF .deps/glob.Tpo -c -o glob.o glob.c;
then mv -f .deps/glob.Tpo .deps/glob.Po; else rm -f .deps/glob.Tpo;
exit 1; fi
glob.c:150: warning: conflicting types for built-in function 'malloc'
glob.c: In function `prefix_array':
glob.c:1162: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81/glob.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/security/aide.




= Aide ===
Making links in server
===  Building for isc-dhcp3-server-3.0.5_2
Making all in common
cc -O2 -fno-strict-aliasing -pipe   -D_PATH_DHCPD_CONF=\/usr/local/etc/dhcp
d.conf\ -D_PATH_DHCPD_DB=\/var/db/dhcpd.leases\ -D_PATH_DHCPD_PID=\/var/
run/dhcpd.pid\ -D_PATH_DHCRELAY_PID=\/var/run/dhcrelay.pid\ -D_PATH_DHCLI
ENT_CONF=\/usr/local/etc/dhclient.conf\ -D_PATH_DHCLIENT_SCRIPT=\/usr/loc
al/sbin/dhclient-script\ -D_PATH_DHCLIENT_DB=\/var/db/dhclient.leases\ -D
_PATH_DHCLIENT_PID=\/var/run/dhclient.pid\ -Dwarn=dhcp_warn -DNOMINUM -DPA
RANOIA -DJAIL   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/po
rts/net/isc-dhcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c
raw.c
cc -O2 -fno-strict-aliasing -pipe   -D_PATH_DHCPD_CONF=\/usr/local/etc/dhcp
d.conf\ -D_PATH_DHCPD_DB=\/var/db/dhcpd.leases\ -D_PATH_DHCPD_PID=\/var/
run/dhcpd.pid\ -D_PATH_DHCRELAY_PID=\/var/run/dhcrelay.pid\ -D_PATH_DHCLI
ENT_CONF=\/usr/local/etc/dhclient.conf\ -D_PATH_DHCLIENT_SCRIPT=\/usr/loc
al/sbin/dhclient-script\ -D_PATH_DHCLIENT_DB=\/var/db/dhclient.leases\ -D
_PATH_DHCLIENT_PID=\/var/run/dhclient.pid\ -Dwarn=dhcp_warn -DNOMINUM -DPA
RANOIA -DJAIL   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/po
rts/net/isc-dhcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c
parse.c
parse.c: In function `convert_num':
parse.c:635: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5/work.freebsd/common.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5/work.freebsd.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server.


Jazz




It looks like your c compiler is bad.  You may want to try a binary upgrade 
from CD to the same version you are running.  Then try the ports again.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: My Rebuild Problem

2008-02-23 Thread Derek Ragona

At 09:14 AM 2/23/2008, [EMAIL PROTECTED] wrote:

Now I get this when I try and log on:


no /boot/loader

All I want to do is rebuild the silly FBSD! Again, I fell into this silly 
loop when I tried to rebuild:


-- Select Drive
-- FDISK Partition Editor (Q)
-- Install Boot Manager

and it just goes round, and round, and round. Can I just wipe the disk and 
start over? And why these strange problems? I´m not connected to the 
Internet, so no possibility of virus. Never had this problem before.

Help!
Tony


Tony,

You don't mention what version you installing.

Be sure your BIOS is not set to not allow boot sector writes.  Some BIOS 
have this set to thwart boot sector viruses.


A few things you can try:
You can boot FreeDOS and run booteasy from the tools folder on the FreeBSD 
install CD to install the boot-manager.
Boot the FreeBSD install CD and use the emergency shell to check the hard 
drive for the correct creation of the folders and kernel.


If all else fails you can reformat and start over.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
 It looks like your c compiler is bad.  You may want to try a binary
upgrade
 from CD to the same version you are running.  Then try the ports again.

Derek,

I did a make world from the RELENG_6_3 security branch.  Wouldn't that
suggest theres a problem with the compiler code in RELENG_6_3?

How on earth could the compiler have broken?

Jazz



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


Nightmare on FreeBSD Street: NIC Drivers

2008-02-23 Thread W. D.
Compiled, built kernel, and world per:

http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html

Still getting timeout errors.  Seems like more of them
with this nfe driver.  

FreeBSD 6.2, Asus M2NPV-VM, nVidia Ethernet.

Can anyone help me debug this problem or suggest a solid,
reliable, and compatible PCI NIC to use instead?






Start Here to Find It Fast!™ - http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names - http://domains.us-webmasters.com/

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


Re: Unable to compile anything from ports

2008-02-23 Thread Mel
On Saturday 23 February 2008 20:11:18 Jasvinder S. Bahra wrote:
  It has a Via CPU?
  Comment that option and try again.

 Mel,

 It does indeed have a Via cpu.  The box is running on a VIA EPIA EK
 8000EG motherboard (which has a CPU integrated into it). If I run cat
 /var/log/dmesg.today | grep CPU, I get...

 CPU: VIA C3 Nehemiah+RNG+AES (800.03-MHz 686-class CPU)

 Regardless, I commented out all three settings in /etc/make.conf (CPUTYPE,
 CFLAGS and COPTFLAGS), and tried the 'make install clean' routine again.

 Unfortunately, Portupgrade, Aide and ISC-DHCP3-Server still fail, though at
 a different point...

 = Portupgrade ==
 config.status: creating Makefile
 ===  Building for ruby-1.8.6.111_1,1
 cc -O2 -fno-strict-aliasing -pipe-fPIC  -DRUBY_EXPORT -I. -I. -c
 array.c array.c: In function `rb_ary_modify':
 array.c:72: internal compiler error: Illegal instruction: 4
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1

This clearly points at a compiler bug, with the VIA cpu, but since 
world/kernel build cleanly and anything else bugs out quite early, I would 
suspect an optimization bug.
Could you set the following in /etc/make.conf:
CFLAGS=-pipe -O0 # capital O, number zero

As a shortcut, you could go to the ruby workdir:
cd `make -f /usr/ports/lang/ruby18/Makefile -V WRKSRC`

then type:
cc -pipe -O0 -fPIC -DRUBY_EXPORT -I. -c array.c

Then again, it could be the compiler you built yourself is broken. Easy to 
test if you can rebuild world again now.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: gmirror on slice

2008-02-23 Thread Wojciech Puchar

gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.
ha-db1# sysctl kern.geom.debugflags=16



you try to make a mirror on used slice or some partition of that


and what's wrong with that, actually?
how do I create gmirror-ed slice then?

I have also tried the above commands on system that has ad4s1 and its
partitions unmounted, still getting the same error.

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


[Wireless] Can't connect to wlan

2008-02-23 Thread Alphons Fonz van Werven

Howdy,

I've been trying to connect my laptop, running 7.0-RC3, to my wireless
network but It Isn't Working.

Wpa_supplicant can find the network ok and ifconfig shows the correct SSID,
authentication mode, protocol, BSSID etc. However, it also says no carrier.
So needless to say DHCP cries no link and fails.

Any idea what the problem could be here?

If you need more information, let me know and I'll cook up a more elaborate
message, but I thought I'd keep it short at first, so as not to swamp the
list with lots of output right away.

Any help will be greatly appreciated because at the moment I'm stuck with
Vista if I need the Internet and I don't like Windows...

Alphons

--
All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus
is not very Christian.
 -- pope Benedict XVI, South Park episode #158

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


Re: [freebsd-questions] Re: Unable to compile anything from ports

2008-02-23 Thread Tuc at T-B-O-H.NET
 
 This clearly points at a compiler bug, with the VIA cpu, but since 
 world/kernel build cleanly and anything else bugs out quite early, I would 
 suspect an optimization bug.

This may have nothing to do with it, but little story...

We used to buy whiteboxed machines, and as a test we would build
world and compile perl. One time world was fine, perl failed, and would always
seem to fail in the same spot. The company replaced every part and narrowed it 
down to the power supply. Once they changed that out, perl compiled fine. The 
next box had the same problems, perl stopped compiling in the same place, 
and found out they re-used the power supply. Changed it out, perl compiled.
We convinced them to throw away the power supply (I'm sure someone else ended
up with it).

May be nothing of the sort, but just wanted to relay a weird 
experience we ran into.

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


Re[3]: gmirror on slice

2008-02-23 Thread Daniel Gerzo
Hello Wojciech,

Saturday, February 23, 2008, 8:41:55 PM, you wrote:

 gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted.
 ha-db1# sysctl kern.geom.debugflags=16

 you try to make a mirror on used slice or some partition of that

 and what's wrong with that, actually?
 how do I create gmirror-ed slice then?

 I have also tried the above commands on system that has ad4s1 and its
 partitions unmounted, still getting the same error.
 swap off?

no swap being used.

-- 
Best regards,
 Danielmailto:[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: [Wireless] Can't connect to wlan

2008-02-23 Thread Mel
On Saturday 23 February 2008 20:50:04 Alphons Fonz van Werven wrote:
 Howdy,

 I've been trying to connect my laptop, running 7.0-RC3, to my wireless
 network but It Isn't Working.

 Wpa_supplicant can find the network ok and ifconfig shows the correct SSID,
 authentication mode, protocol, BSSID etc. However, it also says no
 carrier. So needless to say DHCP cries no link and fails.

First cause to check is authentication keys. I'm going to assume you're using 
WEP, in which case the nr.1 cause with wpa_supplicant is that you're trying 
to use wepkey1 rather then wepkey0. It should look like this:
wep_key0=FE0lblablablehexkey
wep_tx_keyidx=0

If it's not wep you're using, now would be a good time to mention what you are 
using :)

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


Re: Unable to compile anything from ports

2008-02-23 Thread Boris Samorodov
On Sat, 23 Feb 2008 16:11:41 - Jasvinder S. Bahra wrote:

 I have installed FreeBSD 6.3 onto a new machine.

 I cvsup'd  ('src-all' and 'ports-all', RELENG_6_3).

Did you set a tag RELENG_6_3 for ports? I'm not sure what you may get
but RELENG_6_3_0 is for the release tag and . (i.e. a dot) for
up-to-date ports.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Wireless] Can't connect to wlan

2008-02-23 Thread Alphons Fonz van Werven

Mel wrote:


If it's not wep you're using, now would be a good time to mention what you
are using :)


Okay. I was hoping that the no carrier thing indicated some trivial
mistake on my part but since it's WPA2 I'm using I'll post a more elaborate
message. It may take a while to gather all the data, commands, output, dmesg
greps etc. though.

To be continued,

Alphons

--
All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus
is not very Christian.
 -- pope Benedict XVI, South Park episode #158

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


Re: [Wireless] Can't connect to wlan

2008-02-23 Thread Predrag Punosevac

Alphons Fonz van Werven wrote:

Mel wrote:

If it's not wep you're using, now would be a good time to mention 
what you

are using :)


Okay. I was hoping that the no carrier thing indicated some trivial
mistake on my part but since it's WPA2 I'm using I'll post a more 
elaborate
message. It may take a while to gather all the data, commands, output, 
dmesg

greps etc. though.

To be continued,

Alphons

Did you read the handbook about wireless support. The chapter is very 
well written. The first thing I would make sure
is that you have proper drivers loaded into the kernel. Generic kernel 
doesn't contain drivers for wpa support.

wpa supplicant file looks good.

Other things to notice is that some Wi cards do not support WPA or/and 
WPA2:-( if I remember correctly.
Make sure your WiFi router is in Wi mode. We had people trouble shooting 
WiFi network for hours just to realize that they use WEP. Do not use WPE 
unless you set up IPsec or OpenVPN. I would definitely set IPsec even 
with  WAP  or  WAP2.


You might want to turn off the PF until you configure thins. Other than 
that much more info is needed to trouble  shoot


Best,
Predrag

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


Re[3]: gmirror on slice

2008-02-23 Thread Wojciech Puchar


and what's wrong with that, actually?
how do I create gmirror-ed slice then?

I have also tried the above commands on system that has ad4s1 and its
partitions unmounted, still getting the same error.

swap off?


no swap being used.


sorry i can't help you more :(

but check with gmirror status if it isn't created ;)

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


Re: Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
 Could you set the following in /etc/make.conf:
 CFLAGS=-pipe -O0 # capital O, number zero

Mel,

You've cracked it.  I set CFLAGS as above, and lang/ruby18 
installed successfully.

What does this mean?  The package did install, so the compiler 
isn't broken.  Maybe an optimisation bug as you mentioned?



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


Re: Unable to compile anything from ports

2008-02-23 Thread Jasvinder S. Bahra
 Did you set a tag RELENG_6_3 for ports? I'm not sure what you may get
 but RELENG_6_3_0 is for the release tag and . (i.e. a dot) for
 up-to-date ports.

Boris,

Yes, I did indeed use the . tag in my cvsup supfile...

= supfile ==
*default host=cvsup.uk.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_6_3
*default delete use-rel-suffix
*default compress
*default umask=022

src-all
ports-all tag=.
=

In any case, thanks to Mel, i've successfully managed to install
portupgrade.

Thanks for your help.



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


Re: Unable to compile anything from ports

2008-02-23 Thread Mel
On Saturday 23 February 2008 23:55:51 Jasvinder S. Bahra wrote:
  Could you set the following in /etc/make.conf:
  CFLAGS=-pipe -O0 # capital O, number zero

 Mel,

 You've cracked it.  I set CFLAGS as above, and lang/ruby18
 installed successfully.

 What does this mean?  The package did install, so the compiler
 isn't broken.  Maybe an optimisation bug as you mentioned?

Yes. Not many use VIA cpu's, so I think it would help a lot if you'd do a 
send-pr. Include a full dmesg so the CPU flags can be seen. The default on 
FreeBSD is to compile with -O2 now, so either cc should disable the specific 
optimization for which there is no matching CPU instruction internally, or 
via CPUTYPE or similar constructs, the optimization flag for this should be 
turned off.
-O2 is a collection of optimizations that can be turned on/off 
individually. -O = -O1 is a smaller set, -O0 turns it off entirely.


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


Re: Unable to compile anything from ports

2008-02-23 Thread Bruce Cran

Jasvinder S. Bahra wrote:

It has a Via CPU?
Comment that option and try again.


Mel,

It does indeed have a Via cpu.  The box is running on a VIA EPIA EK 8000EG
motherboard (which has a CPU integrated into it). If I run cat
/var/log/dmesg.today | grep CPU, I get...

CPU: VIA C3 Nehemiah+RNG+AES (800.03-MHz 686-class CPU)



That's a new revision of the C3 which supports SSE: 'c3-2' is a better 
CPUTYPE for it.


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


The FreeBSD Diary: 2008-02-03 - 2008-02-23

2008-02-23 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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