RE: EC2 Instances Future

2013-04-11 Thread Don O'Neil
I personally need medium and large instances, but I would think others might
need the tiny and small as well. Colin has published his for the cluster
compute models, so I don't think there is need for that.

Thanks!

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Michael Sierchio
Sent: Thursday, April 11, 2013 7:44 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: EC2 Instances Future

I have constructed several AMIs.  If I get a sense for which flavor of
instance/OS combos are of interest, I can roll a few and make them
available.

- M

On Wed, Apr 10, 2013 at 8:25 PM, Don O'Neil  wrote:
> Have you made any AMI's based on this method? I would love to deploy a 
> medium or large instance that isn't subject to the 'tax', but don't 
> really know where to start to build one like this.
>
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Michael 
> Sierchio
> Sent: Wednesday, April 10, 2013 1:05 PM
> To: jflowers
> Cc: freebsd-questions@freebsd.org
> Subject: Re: EC2 Instances Future
>
> I still follow Colin's original pattern of using a minimal "Linux"
> grub boot EBS device (1GB), ext2fs, with the root partition being on 
> another
> (ufs2) EBS device.  This works very well, with a couple of caveats -
>
> - Install e2fsprogs (pkg or port) - you will need it, on occasion when 
> modifying the boot device (after mounting rw).
>
> - Kernel upgrades are tricky, so be careful
>
> - Edit /etc/freebsd-update.conf intelligently to prevent unintended 
> consequences
>
> Apart from that, I have been running i386 and amd64 instances this 
> way, both
> 8.3 and 9.1, without difficulty (apart from some Xen clock weirdness 
> in 8.3).
>
> No Windoze Tax. ;-)
>
> - M
>
>
> On Wed, Apr 10, 2013 at 10:05 AM, jflowers  wrote:
>> Is there anything likely to be available in the future (3 months to a
>> year) to avoid the Windows tax on FreeBSD instances for the smaller 
>> (t1.micro, m1.small, m1.medium) types?  I understand the problem but 
>> don't find anything much online about a possible solution.  Probably 
>> because I don't understand as much as I think.
>>
>> Thanks.
>>
>> --
>> Jim Flowers 
>>
>> ___
>> freebsd-questions@freebsd.org mailing list 
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


RE: EC2 Instances Future

2013-04-10 Thread Don O'Neil
Have you made any AMI's based on this method? I would love to deploy a
medium or large instance that isn't subject to the 'tax', but don't really
know where to start to build one like this. 

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Michael Sierchio
Sent: Wednesday, April 10, 2013 1:05 PM
To: jflowers
Cc: freebsd-questions@freebsd.org
Subject: Re: EC2 Instances Future

I still follow Colin's original pattern of using a minimal "Linux"
grub boot EBS device (1GB), ext2fs, with the root partition being on another
(ufs2) EBS device.  This works very well, with a couple of caveats -

- Install e2fsprogs (pkg or port) - you will need it, on occasion when
modifying the boot device (after mounting rw).

- Kernel upgrades are tricky, so be careful

- Edit /etc/freebsd-update.conf intelligently to prevent unintended
consequences

Apart from that, I have been running i386 and amd64 instances this way, both
8.3 and 9.1, without difficulty (apart from some Xen clock weirdness in
8.3).

No Windoze Tax. ;-)

- M


On Wed, Apr 10, 2013 at 10:05 AM, jflowers  wrote:
> Is there anything likely to be available in the future (3 months to a 
> year) to avoid the Windows tax on FreeBSD instances for the smaller 
> (t1.micro, m1.small, m1.medium) types?  I understand the problem but 
> don't find anything much online about a possible solution.  Probably 
> because I don't understand as much as I think.
>
> Thanks.
>
> --
> Jim Flowers 
>
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


RE: Amazon VPC instances

2013-04-10 Thread Don O'Neil
Thanks for the info... it looks like Apache supports, does anyone out there
have first hand experience of using it? What issues, if any does this pose
with email services like Dovecot or Exim and providing SSL authentication?

What about anonymous FTP? Don't I need multiple IP's for multiple anonymous
FTP sites?

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Sean DuBois
Sent: Tuesday, April 09, 2013 8:35 PM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Amazon VPC instances

I don't know about FreeBSD + EC2, but you may be interested to know that you
can use multiple SSL certificates with one IP address! So you can have
multiple vhosts/server blocks with different certificates on one host.

http://en.wikipedia.org/wiki/Server_Name_Indication

On Tue, Apr 09, 2013 at 06:20:29PM -0700, Don O'Neil wrote:
> Has anyone used Colin Percival's FreeBSD builds for Amazon EC2 to 
> build an Amazon VPC instance? If so, does it support multiple network 
> interfaces or aliases with multiple IP's so that I can run multiple 
> SSL certs on the same instance?
> 
>  
> 
> Thanks!
> 
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


Amazon VPC instances

2013-04-09 Thread Don O'Neil
Has anyone used Colin Percival's FreeBSD builds for Amazon EC2 to build an
Amazon VPC instance? If so, does it support multiple network interfaces or
aliases with multiple IP's so that I can run multiple SSL certs on the same
instance?

 

Thanks!

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


Problem making software distros

2013-04-07 Thread Don O'Neil
I've got an older FreeBSD 6.1 install that will no longer allow me to build
any software distributions. Any time I try to do a 'configure', the
configure seems to run fine, then I get a "config.status: error: cannot find
input file:". This has happened on several packages from several different
sources.

 

Any ideas as to what could be causing this? Is one of my binaries make
corrupted possibly?

 

Thanks!

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


RE: Problems with IPFW causing failed DNS and FTP sessions

2013-04-01 Thread Don O'Neil
My DNS config is pretty generic. I did try putting in the options to stop
recursive lookups, but all that did was cause even more failures (permission
denied lookups, etc...), so I removed that.

Here's my basic config;

options {
directory   "/etc/namedb";
pid-file"/var/run/named/pid";
dump-file   "/var/dump/named_dump.db";
statistics-file "/var/stats/named.stats";

};

zone "." {
type hint;
file "named.root";
};

I'm not sure the problem is specific to named, but something more systemic
with IPFW like I said, FTP sessions are timing out as well, and when I
turn off IPFW that fixes that problem too.

Is there any way to monitor what IPFW is dropping, by some sort of counters
rather than logging everything, and see what's going on internally to IPFW?

Thanks!

-Original Message-
From: Michael Sierchio [mailto:ku...@tenebras.com] 
Sent: Monday, April 01, 2013 7:23 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Problems with IPFW causing failed DNS and FTP sessions

Okay, what's your DNS setup?  Are you running a recursive cache that
contacts the root servers directly?  Using your ISP's servers?  Etc.

As a mitigation step, I tried pointing my caches to 8.8.8.8 and
8.8.4.4. - but it turns out that Google is intentionally blocking
(returning NX responses to) many netblocks right now because they
contain hosts known to be part of the botnet in the DDOS DNS
amplification attack.

I'm mirroring the root zone everywhere I have a cache, and it's helping.

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


RE: Problems with IPFW causing failed DNS and FTP sessions

2013-04-01 Thread Don O'Neil
Well I tried changing them to various numbers up to 180 from 1 and 5
respectively and that didn't help.

Anyone else get around all this DNS mess with timeouts? It's causing my mail
server to throw errors; host lookup did not complete and not deliver mail.

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Michael Sierchio
Sent: Sunday, March 31, 2013 10:04 PM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Problems with IPFW causing failed DNS and FTP sessions

net.inet.ip.fw.dyn_short_lifetime ?
net.inet.ip.fw.dyn_udp_lifetime ?

You might want to increase these, given the current state of things...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

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


RE: Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Don O'Neil
Thanks for the response... here's my full rullset:

# ipfw list
00100 check-state
00101 allow tcp from any to any established
00102 allow ip from any to any out keep-state
00103 allow icmp from any to any
00201 allow ip from any to any via lo0
00202 allow ip from any to 127.0.0.0/8
00203 allow ip from 127.0.0.0/8 to any
00204 deny tcp from any to any frag
00301 deny log logamount 50 ip from any to any ipoptions rr
00302 deny log logamount 50 ip from any to any ipoptions ts
00303 deny log logamount 50 ip from any to any ipoptions lsrr
00304 deny log logamount 50 ip from any to any ipoptions ssrr
00305 deny log logamount 50 tcp from any to any tcpflags syn,fin
00306 deny log logamount 50 tcp from any to any tcpflags syn,rst
01110 allow tcp from any to any dst-port 20 in
0 allow tcp from any to any dst-port 20 out
01112 allow tcp from any to any dst-port 21 in
01113 allow tcp from any to any dst-port 21 out
01114 allow tcp from any to any dst-port 990 in
01115 allow tcp from any to any dst-port 990 out
01116 allow udp from any to any dst-port 990 in
01117 allow udp from any to any dst-port 990 out
01118 allow tcp from any to any dst-port 989 in
01119 allow tcp from any to any dst-port 989 out
01120 allow udp from any to any dst-port 989 in
01121 allow udp from any to any dst-port 989 out
01122 allow tcp from any to any dst-port 1024-65000 keep-state
01125 allow tcp from any to any dst-port 22 in
01126 allow tcp from any to any dst-port 22 out
01130 allow tcp from any to any dst-port 25 in
01131 allow tcp from any to any dst-port 25 out
01132 allow tcp from any to any dst-port 587 in
01133 allow tcp from any to any dst-port 587 out
01134 allow tcp from any to any dst-port 2525 in
01135 allow tcp from any to any dst-port 2525 out
01140 allow tcp from any to any dst-port 110 in
01141 allow tcp from any to any dst-port 110 out
01142 allow tcp from any to any dst-port 995 in
01143 allow tcp from any to any dst-port 995 out
01144 allow tcp from any to any dst-port 2110 in
01145 allow tcp from any to any dst-port 2110 out
01150 allow tcp from any to any dst-port 143 in
01151 allow tcp from any to any dst-port 143 out
01152 allow tcp from any to any dst-port 993 in
01153 allow tcp from any to any dst-port 993 out
01160 allow udp from any to any dst-port 53 in keep-state
01161 allow tcp from any to any dst-port 53 in keep-state
01162 allow udp from any to any dst-port 53 out keep-state
01163 allow tcp from any to any dst-port 53 out keep-state
01170 allow tcp from any to any dst-port 80 in
01171 allow tcp from any to any dst-port 80 out
01172 allow tcp from any to any dst-port 443 in
01172 allow tcp from any to any dst-port 443 out
01180 allow tcp from any to any dst-port  in
01181 allow tcp from any to any dst-port  out
65535 deny ip from any to any


I've tried these rules;

01160 allow udp from any to any dst-port 53 in 
01161 allow tcp from any to any dst-port 53 in 
01162 allow udp from any to any dst-port 53 out
01163 allow tcp from any to any dst-port 53 out

Without the keep-state option, and the problem is still persisting...

The weird thing is that I've run these rules for a number of years without
any issues until just recently. I've checked my interface stats to make sure
there aren't a bunch of fragmented packets or errors, and there aren't. I'm
not running NAT, it's a publically accessible IP address.

-Original Message-
From: Michael Sierchio [mailto:ku...@tenebras.com] 
Sent: Sunday, March 31, 2013 8:58 PM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Problems with IPFW causing failed DNS and FTP sessions

It would be really helpful if you'd post the ruleset.

At first glance, your stateful rules seem rather wrong, unless there's a
check-state above.  Also, in and out aren't discriminating enough - every
packet is seen by the ruleset more than once.  You should think in terms of
interfaces, direction, etc.

Are you doing NAT?  Stateful rules with NAT are indeed possible, but subtle.

Your problem has nothing to do with server load, and probably everything to
do with not-terribly-well-conceived ruleset.  Please post yours here.

- M

On Sun, Mar 31, 2013 at 8:34 PM, Don O'Neil  wrote:
> Hi everyone. recently my server started having issues with DNS and FTP 
> sessions either not resolving or timing out. I've tracked the issue 
> down to IPFW. if I issue a 'sysctl net.inet.ip.fw.enable=0' then my issues
go away.
>
>
>
> I have the basic rules like this for dns;
>
>
>
> 01160 allow udp from any to any dst-port 53 in keep-state
>
> 01161 allow tcp from any to any dst-port 53 in keep-state
>
> 01162 allow udp from any to any dst-port 53 out keep-state
>
> 01163 allow tcp from any to any dst-port 53 out keep-state
>
>
>
> When I try an nslookup sometimes they fail, sometimes they get 
> through, even if I change my DNS serv

Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Don O'Neil
Hi everyone. recently my server started having issues with DNS and FTP
sessions either not resolving or timing out. I've tracked the issue down to
IPFW. if I issue a 'sysctl net.inet.ip.fw.enable=0' then my issues go away.

 

I have the basic rules like this for dns;

 

01160 allow udp from any to any dst-port 53 in keep-state

01161 allow tcp from any to any dst-port 53 in keep-state

01162 allow udp from any to any dst-port 53 out keep-state

01163 allow tcp from any to any dst-port 53 out keep-state

 

When I try an nslookup sometimes they fail, sometimes they get through, even
if I change my DNS server to google, my ISP, or even OpenDNS. the firewall
seems to be causing the issue.

 

I have about 65 rules in all.

 

Any ideas what could be causing this? My server load is low, usually
hovering around .2 

 

How can I look at the actual amount of traffic that the IPFW module is
processing and track down potential performance issues? My server isn't
pushing much data, only around 4-5 Mbps sustained.

 

Thanks!

 

 

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


Problems with IPFW causing failed DNS and FTP sessions

2013-03-31 Thread Don O'Neil
Hi everyone. recently my server started having issues with DNS and FTP
sessions either not resolving or timing out. I've tracked the issue down to
IPFW. if I issue a 'sysctl net.inet.ip.fw.enable=0' then my issues go away.

 

I have the basic rules like this for dns;

 

01160 allow udp from any to any dst-port 53 in keep-state

01161 allow tcp from any to any dst-port 53 in keep-state

01162 allow udp from any to any dst-port 53 out keep-state

01163 allow tcp from any to any dst-port 53 out keep-state

 

When I try an nslookup sometimes they fail, sometimes they get through, even
if I change my DNS server to google, my ISP, or even OpenDNS. the firewall
seems to be causing the issue.

 

I have about 65 rules in all.

 

Any ideas what could be causing this? My server load is low, usually
hovering around .2 

 

How can I look at the actual amount of traffic that the IPFW module is
processing and track down potential performance issues? My server isn't
pushing much data, only around 4-5 Mbps sustained.

 

Thanks!

 

 

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


zfs configuration

2013-01-21 Thread Don Dugger
Hi All,

So I use zfs for the root file system. Works well. However now I want to
move /tmp to ram-disk (memory disk or what ever). When I try to unmount
/tmp with the zfs command of course it won't because its busy. With ufs I
would just edit fstab and reboot what do I don with zfs??

Thx in advance...

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


Re: User IDs

2013-01-07 Thread Don Dugger
>On Mon, 7 Jan 2013 11:49:48 -0800, Don Dugger wrote:
>> The question is about dealing with adding users. I been using NIS for a
>> while now it works ok however I've had to keep good notes on how to do
>> thing mainly because I don't add user or boxes very often. I'm a software
>> engineer not a system admin so I not clean on what the best way to deal
>> with things like this. The problem is when I added a PC-BSD box and
added a
>> user with the GUI admin stuff provided it did not let me specify the user
>> id so now the users file that are on the nfs mounted drives user id's
don't>
>> match. I can login as root and use chpass and change the user ids but
then
>> I must go through add they files on the new box change uids and gids.
>>
>> Question is there an easier way??

>If the GUI tool of PC-BSD doesn't cover the specific need you
>have, use the CLI equivalent. If you need an interactive way
>of adding users, use "adduser", and if you have some time,
>read "man pw" and use "pw useradd" (and maybe "pw usermod")
>which will cover nearly all imaginable cases.

>The advantage of pw is that you can easily script and automate
>things. If urgently needed, you could create a GUI wrapper
>with Tcl/Tk, but you'll probably find that the CLI tool is
>much easier to use.

Ya I tried that the problem is adduser doesn't set the users home directory
up for the for PC-BSD system. (KDE)

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


User IDs

2013-01-07 Thread Don Dugger
Hi All,

Looking for advice.

I have had between 3 - 9 boxes on a small home business network. This
network has been in place for 12+ years. On occasions there's a Linux box
however I am trying to use PC-BSD instead. The non-FreeBSD boxes are used
for office and
general work the FreeBSD boxes are for development.

The question is about dealing with adding users. I been using NIS for a
while now it works ok however I've had to keep good notes on how to do
thing mainly because I don't add user or boxes very often. I'm a software
engineer not a system admin so I not clean on what the best way to deal
with things like this. The problem is when I added a PC-BSD box and added a
user with the GUI admin stuff provided it did not let me specify the user
id so now the users file that are on the nfs mounted drives user id's don't
match. I can login as root and use chpass and change the user ids but then
I must go through add they files on the new box change uids and gids.

Question is there an easier way??

Thx in advance...

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


Best RAID setup

2011-01-25 Thread Don O'Neil
I'm getting ready to setup a new FreeBSD 8.1 64 bit server and wanted to
know everyone's thoughts on which way to go. software RAID 5 (or 10) or
hardware RAID 5 (or 10). I currently have a 3Ware card in one of my servers
and it works great, but I haven't really been keeping up on what the latest
RAID support is. How is the ZFS support these days? Is it production ready?
What about hardware RAID, is there a compatibility list somewhere with what
hardware (or pseudo hardware) RAID controllers are supported? 

 

I'm just looking for the most stable, and production ready RAID that can
handle at least 1 TB disks and create volumes in the 3-4 TB range. Any
thoughts, feedback, caveats, etc. are welcomed.

 

Thanks!

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


Re: 8.1-RELEASE hangs on reboot

2010-12-01 Thread Don Lewis
On  1 Dec, Ondřej Majerech wrote:
> Hello,
> 
> my 8.1-R system has just started hanging on reboot. Specifically after
> I svn up'd my source and updated from 8.1-R-p1 to -p2.
> 
> Some kind of hang occurs on every reboot attempt. Usually it hangs at
> the "Rebooting..." message, but sometimes the thing just locks up
> before it even syncs disks. shutdown -p now seems to shutdown the
> system successfully each time.

One of my systems running 8.1-STABLE started reliably(?) hanging at the
"Rebooting..." step whenever try to reboot it.  It's been doing this for
the last month or so.  I haven't seen the earlier hang.  9.0-CURRENT on
the same hardware doesn't experience this problem.

I haven't had time to try to debug this, so I've just been using the
reset switch when it hangs.

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


Gateway 8.1

2010-08-21 Thread Don Dugger
I recently loaded 8.1 Rel on a box using the same basic configuration as a
7.1 Rel box I was replacing.
Everything works except the box won't work as a gateway now. Is there
something new in 8.1 that would change the basic configuration that I
would need to change.


Thx in advance...

Don

Heres my rc.conf:



# -- sysinstall generated deltas -- # Fri Aug 13 08:23:57 2010
# Created: Fri Aug 13 08:23:57 2010
# Enable network daemons for user convenience.

# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="74.92.224.230"
hostname="freedom.local.hotlz.com"

gateway_enable="YES"
firewall_client_net="172.27.240.0:255.255.0.0"
firewall_enable="YES"
firewall_type="OPEN"
ifconfig_xl0="inet 172.27.240.33  netmask 255.255.0.0"

ifconfig_xl1="inet 74.92.224.225/24"
ifconfig_msk0="inet 74.92.224.226/32"
#ipv4_addrs_xl1="74.92.224.225-226/8"

#ifconfig_msk0="inet 172.27.140.38  netmask 255.255.248.0"

natd_enable="YES"
natd_interface="xl1"
#firewall_nat_enable="YES"
#firewall_nat_interface="xl1"


named_enable="YES"

inetd_enable="YES"
linux_enable="YES"
local_startup="/usr/local/etc/rc.d"
moused_enable="YES"
nfs_client_enable="YES"

nfs_server_enable="YES"
rpcbind_enable="YES"
sshd_enable="YES"
#usbd_enable="YES"
apache22_enable="YES"
lpd_enable="YES"
slapd_enable="YES"

slapd_flags='-h "ldap://thecampingview.com/";'

postfix_enable="YES"

mysql_dbdir="/data1/mysql"
mysql_enable="YES"


postgresql_enable="YES"
postgresql_data="/usr/local/pgsql/data"
postgresql_flags="-w -s -m fast"
postgresql_initdb_flags="--encoding=utf-8 --lc-collate=C"
postgresql_class="default"


sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

# The Fish generated deltas - Tue Sep  2 10:06:49 2008

timed_enable="YES"

nisdomainname="hotlz-nis"
nis_server_enable="YES"
nis_client_enable="YES"
nis_client_flags="-S hotlz-nis,freedom.local.hotlz.com"

nis_yppasswdd_enable="YES"

courier_imap_imapd_enable="YES"
courier_authdaemond_enable="YES"
courier_imap_imapd_ssl_enable="YES"

# -- sysinstall generated deltas -- # Thu Aug 19 03:27:27 2010

check_quotas="NO"
rpc_statd_enable="YES"

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


Re: question about FreeBSD installing

2010-04-21 Thread Don Brearley
>>> 王跃辉  04/21/10 10:21 AM >>>
>hi
>   I have a problem when I try to install FreeBSD as client OS on a
Linux
>OS. following the instruction I find that I can't open the website of
>www.fsmware.com to finish some download work. it seems that the dns
server
>don't support the address in China Mainland. do you have any way to
solve
>the problem?
>
>-- 
>-thanks
>-yuehui
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"


Sorry for my previous top-post, was a mistake!

I forgot to mention, check out this website as well, it has instructions
for running 8.0
in paravirtualization mode in Xen. 

http://www.ita.com.ua/eng/articles.htm?id=34

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


Re: question about FreeBSD installing

2010-04-21 Thread Don Brearley
Hello!

I presume you are talking about running FreeBSD as a guest OS in Xen or
the like.

Let me point you to this URL, it contains a lot of useful information on
what you're seeking.
The fsmware.com website seems down, and has been for awhile.  The
documentation is
just out of date.

http://wiki.freebsd.org/AdrianChadd

Take Care!

- Don



>>> 王跃辉  04/21/10 10:21 AM >>>
hi
I have a problem when I try to install FreeBSD as client OS on a
Linux
OS. following the instruction I find that I can't open the website of
www.fsmware.com to finish some download work. it seems that the dns
server
don't support the address in China Mainland. do you have any way to
solve
the problem?

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

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


Re: install.cfg for Documentation Installation Menu on 8.0-RELEASE

2010-04-06 Thread don Juan
thank you, thenk you, thank you :)

On Thu, Mar 4, 2010 at 4:41 PM, Ross  wrote:
>
> dJ> What come up with 8.0-RELEASE is the new FreeBSD
> dJ> Documentation Installation Menu in sysinstall. I would like to know
> dJ> what command for install.cfg to configure my installation with, say,
> dJ> English Documentation.
>
> It's undocumented (and breaks non-interactive installs) so I ended up
> going through the source to find the answer for myself a while ago.
>
> The option you want is:
>
> distDoc=
>
> Where the  is a bitfield for which versions of the doc packages
> you want installed.  Also the bitfield must be in _decimal_, not 0x##
> format, or it won't correctly select what you want.  You need to view
> version 1.75 or higher of dist.h (from sysinstall's source) to get the
> full listing.  URL: 
> http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/dist.h?rev=1.75.2.1.2.1;content-type=text%2Fplain
>
> 0 (zero) disables installation.  16 is english.
>
> *** WARNING/RANT: If you use any of the "distSetxx" (eg:
> distSetKernDeveloper) options to select what to install, it doesn't
> matter what you've selected above - you _will_ be prompted with a menu
> to select a doc package upon running sysinstall.  (Those options reset
> distDoc option above).
>
> Non-interactive sysinstall is effectively broken in FreeBSD 8.0
> distribution disks. (There is a way around it, but it's a pain in the
> butt)
>
> That being said: sysinstall has been patched in source last month (Feb
> 2010), so should be good for 8.1, with the default of no docs
> installed if "nonInteractive=yes" is set in your sysinstall.cfg file.
>
>
> R.
>
> --
>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: VirtualBox from the command line

2010-03-18 Thread Don O'Neil
You need to use 'vboxtool'... 

http://vboxtool.sourceforge.net/


> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Aiza
> Sent: Thursday, March 18, 2010 5:45 PM
> To: FreeBSD Questions
> Subject: VirtualBox from the command line
> 
> Does VirtualBox launch from the FBSD command line?
> Is there a package for it in the pkg system?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> unsubscr...@freebsd.org"

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


Re: install.cfg for Documentation Installation Menu on 8.0-RELEASE

2010-03-03 Thread don Juan
On Wed, Feb 24, 2010 at 3:51 PM, don Juan  wrote:
> Hi,
>
> What come up with 8.0-RELEASE is the new FreeBSD
> Documentation Installation Menu in sysinstall. I would like to know
> what command for install.cfg to configure my installation with, say,
> English Documentation.
>
> i've found this question already posted to this forum but it's still
> unanswered.
>
> Thanks!
>

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


Re: USB 3.0

2010-03-01 Thread Don Read
On Thu, 14 Jan 2010 10:39:09 -0500 Jerry said:

> I just found this regarding USB 3.0:
 

 
> Will FreeBSD be able to take advantage of this updated technology?
> 

Looking over the FAQ 
http://www.everythingusb.com/superspeed-usb.html
 ... it seems to be a change in pinouts ...
INAD, but FreeBSD probably already can take advantage of it.

-- 
Don Readdon_r...@att.net
 It's always darkest before the dawn. So if you are going to
 steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


install.cfg for Documentation Installation Menu on 8.0-RELEASE

2010-02-24 Thread don Juan
Hi,

What come up with 8.0-RELEASE is the new FreeBSD
Documentation Installation Menu in sysinstall. I would like to know
what command for install.cfg to configure my installation with, say,
English Documentation.

i've found this question already posted to this forum but it's still
unanswered.

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


RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-13 Thread Don O'Neil
> ===
> I try a 'make all-depend-list'
> the error shows up
> =
> which error show ?

# make
X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
*** Error code 1

Stop.

That's the error... happens every time, no matter what I try to set/unset in
/etc/make.conf. I looked through the makefiles to see where X11BASE is
referenced and I can't find any place where it is to just kill it.

> > This is _exactly_ what I did, and as soon as I try a 'make all-
> depend-list'
> > the error shows up. I don't even have the X11 system installed (it's
> a
> > headless server, with no GUI).
> >
> > This is on a CLEAN 6.1 install, without any upgrades/patches, just
> straight
> > off the ISO install and after a portsnap install/extract.
> >
> > I tried building it _before_ I updated the ports and it would build a
> 5.1.2
> > php ok, but I need 5.2.12. Something has changed in the port between
> 5.1.2
> > and 5.2.12
> >
> >> 1.add
> >> WITHOUT_X11=yes
> >> in /etc/make.conf
> >> 2.remove
> >> X11BASE=""
> >> from that file and
> >>
> >> 4.make all-depend-list
> >> 5.make clean all depend soft
> >> 6.make menuconfig set X11 disable
> >> 7.make &&make install
> >>
> >>
> >> 2010/1/12 Don O'Neil :
> >> > Ok.. just for grins I installed a new instance of 6.1, NO Patches,
> >> just
> >> > straight off the ISO...
> >> >
> >> > I loaded the ports that came WITH the distro, and was able to make
> >> php 5.1.2
> >> > ok...
> >> >
> >> > When I did a portsnap fetch, portsnap extract, then went into the
> >> > /usr/ports/lang/php5 and just typed make I get the same error...
> >> >
> >> > SO as it seems, the port is broken, at least for working with
> FreeBSD
> >> 6.1.
> >> >
> >> > Can anyone give me some hints on how to build this sucker by hand?
> >> Seems as
> >> > though there are a bunch of patches that are referenced in the
> >> distinfo
> >> > file.
> >> >
> >> > I REALLY need to get this taken care of asap, any help is
> >> appreciated.
> >> >
> >> > Thanks!
> >> >
> >> >> > > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as
> >> >> X11BASE=
> >> >> > and
> >> >> > > X11BASE="", but I still get the same error.
> >> >> >
> >> >> > Remove them. This makes sure they are not defined, not even
> >> >> > empty (as in "#define BLA -> symbol 'BLA' is defined").
> >> >> >
> >> >> > > Where to go from here? Do I have and old version of something
> >> that
> >> >> is
> >> >> > > causing this? I get this error _right away_ before anything
> is
> >> even
> >> >> > built.
> >> >> >
> >> >> > It seems to be a check by the Makefile at port's top level.
> >> >>
> >> >> Ok... I have no definition for X11BASE anywhere, not in my env,
> not
> >> in
> >> >> my
> >> >> /etc/make.conf, nowhwere...
> >> >>
> >> >> However, it's still complaining about X11BASE being deprecated. I
> >> tried
> >> >> just
> >> >> adding WITHOUT_X11=yes in /etc/make, and without it. I even
> searched
> >> >> all the
> >> >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to
> find
> >> >> any
> >> >> reference to X11, or X, or X11BASE, but nada... I don't even know
> >> where
> >> >> this
> >> >> error message is being generated from.
> >> >>
> >> >> I can't even do a basic make without it immediately spitting out
> the
> >> >> error:
> >> >>
> >> >> # make
> >> >> X11BASE is now deprecated.  Unset X11BASE in make.conf and try
> >> again.
> >> >> *** Error code 1
> >> >>
> >> >> Stop.

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


RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-12 Thread Don O'Neil
This is _exactly_ what I did, and as soon as I try a 'make all-depend-list'
the error shows up. I don't even have the X11 system installed (it's a
headless server, with no GUI).

This is on a CLEAN 6.1 install, without any upgrades/patches, just straight
off the ISO install and after a portsnap install/extract.

I tried building it _before_ I updated the ports and it would build a 5.1.2
php ok, but I need 5.2.12. Something has changed in the port between 5.1.2
and 5.2.12

> 1.add
> WITHOUT_X11=yes
> in /etc/make.conf
> 2.remove
> X11BASE=""
> from that file and
> 
> 4.make all-depend-list
> 5.make clean all depend soft
> 6.make menuconfig set X11 disable
> 7.make &&make install
> 
> 
> 2010/1/12 Don O'Neil :
> > Ok.. just for grins I installed a new instance of 6.1, NO Patches,
> just
> > straight off the ISO...
> >
> > I loaded the ports that came WITH the distro, and was able to make
> php 5.1.2
> > ok...
> >
> > When I did a portsnap fetch, portsnap extract, then went into the
> > /usr/ports/lang/php5 and just typed make I get the same error...
> >
> > SO as it seems, the port is broken, at least for working with FreeBSD
> 6.1.
> >
> > Can anyone give me some hints on how to build this sucker by hand?
> Seems as
> > though there are a bunch of patches that are referenced in the
> distinfo
> > file.
> >
> > I REALLY need to get this taken care of asap, any help is
> appreciated.
> >
> > Thanks!
> >
> >> > > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as
> >> X11BASE=
> >> > and
> >> > > X11BASE="", but I still get the same error.
> >> >
> >> > Remove them. This makes sure they are not defined, not even
> >> > empty (as in "#define BLA -> symbol 'BLA' is defined").
> >> >
> >> > > Where to go from here? Do I have and old version of something
> that
> >> is
> >> > > causing this? I get this error _right away_ before anything is
> even
> >> > built.
> >> >
> >> > It seems to be a check by the Makefile at port's top level.
> >>
> >> Ok... I have no definition for X11BASE anywhere, not in my env, not
> in
> >> my
> >> /etc/make.conf, nowhwere...
> >>
> >> However, it's still complaining about X11BASE being deprecated. I
> tried
> >> just
> >> adding WITHOUT_X11=yes in /etc/make, and without it. I even searched
> >> all the
> >> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find
> >> any
> >> reference to X11, or X, or X11BASE, but nada... I don't even know
> where
> >> this
> >> error message is being generated from.
> >>
> >> I can't even do a basic make without it immediately spitting out the
> >> error:
> >>
> >> # make
> >> X11BASE is now deprecated.  Unset X11BASE in make.conf and try
> again.
> >> *** Error code 1
> >>
> >> Stop.
> >>
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.725 / Virus Database: 270.14.136/2616 - Release Date:
> 01/11/10 23:35:00

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


RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-11 Thread Don O'Neil
Ok.. just for grins I installed a new instance of 6.1, NO Patches, just
straight off the ISO...

I loaded the ports that came WITH the distro, and was able to make php 5.1.2
ok...

When I did a portsnap fetch, portsnap extract, then went into the
/usr/ports/lang/php5 and just typed make I get the same error...

SO as it seems, the port is broken, at least for working with FreeBSD 6.1.

Can anyone give me some hints on how to build this sucker by hand? Seems as
though there are a bunch of patches that are referenced in the distinfo
file.

I REALLY need to get this taken care of asap, any help is appreciated.

Thanks!

> > > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as
> X11BASE=
> > and
> > > X11BASE="", but I still get the same error.
> >
> > Remove them. This makes sure they are not defined, not even
> > empty (as in "#define BLA -> symbol 'BLA' is defined").
> >
> > > Where to go from here? Do I have and old version of something that
> is
> > > causing this? I get this error _right away_ before anything is even
> > built.
> >
> > It seems to be a check by the Makefile at port's top level.
> 
> Ok... I have no definition for X11BASE anywhere, not in my env, not in
> my
> /etc/make.conf, nowhwere...
> 
> However, it's still complaining about X11BASE being deprecated. I tried
> just
> adding WITHOUT_X11=yes in /etc/make, and without it. I even searched
> all the
> Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find
> any
> reference to X11, or X, or X11BASE, but nada... I don't even know where
> this
> error message is being generated from.
> 
> I can't even do a basic make without it immediately spitting out the
> error:
> 
> # make
> X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
> *** Error code 1
> 
> Stop.
> 

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


RE: Clean PHP 5.2.12 Build Core Dumping

2010-01-10 Thread Don O'Neil
> > I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE=
> and
> > X11BASE="", but I still get the same error.
> 
> Remove them. This makes sure they are not defined, not even
> empty (as in "#define BLA -> symbol 'BLA' is defined").
> 
> > Where to go from here? Do I have and old version of something that is
> > causing this? I get this error _right away_ before anything is even
> built.
> 
> It seems to be a check by the Makefile at port's top level.

Ok... I have no definition for X11BASE anywhere, not in my env, not in my
/etc/make.conf, nowhwere...

However, it's still complaining about X11BASE being deprecated. I tried just
adding WITHOUT_X11=yes in /etc/make, and without it. I even searched all the
Makefiles in /usr/ports, and in the /usr/ports/lang/php5 dir to find any
reference to X11, or X, or X11BASE, but nada... I don't even know where this
error message is being generated from.

I can't even do a basic make without it immediately spitting out the error:

# make
X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
*** Error code 1

Stop.

Where should I look next? Any help is appreciated. Thanks!

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


RE: Clean PHP 5.2.12 Build Core Dumping

2010-01-09 Thread Don O'Neil
Well, I hadn't edited the Makefiles, I was planning on it (but won't now
that you pointed out the make option), but never got past making the generic
port

I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and
X11BASE="", but I still get the same error.

Where to go from here? Do I have and old version of something that is
causing this? I get this error _right away_ before anything is even built.

Thanks!

> If installing with the ports system you shouldn't need to be editing
> any
> Makefiles. make config will give you list of options you may select
> from.
> Note there is an initial build/install of PHP itself and a second port
> called php5-extensions which you then install for all the modules.
> Again, a
> make config will list all options. No need to mess with Makefiles.
> 
> > X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
> > *** Error code 1
> >
> 
> Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such
> as GD
> try and pull in X dependencies; this will short circuit that.



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


RE: Clean PHP 5.2.12 Build Core Dumping

2010-01-09 Thread Don O'Neil
Ok... well, your idea is a good one, but it seems that the port is broken.

I did a port update, which brought in the latest php build info from
December, but when I run 'make' (without even editing the Makefile to add my
own other modules I need) I get this:

X11BASE is now deprecated.  Unset X11BASE in make.conf and try again.
*** Error code 1

Not even sure where it's getting that error message from, since I can't find
any reference to X11BASE in any of the files in the package, or in my env.

Any ideas?

> -Original Message-
> From: Polytropon [mailto:free...@edvax.de]
> Sent: Friday, January 08, 2010 10:35 PM
> To: Don O'Neil
> Cc: php-gene...@lists.php.net; freebsd-questions@freebsd.org
> Subject: Re: Clean PHP 5.2.12 Build Core Dumping
> 
> On Fri, 8 Jan 2010 16:18:11 -0800, "Don O'Neil" 
> wrote:
> > Ok... more info on the problem...
> >
> > I started with a clean untarred archive, ad just ran ./configure,
> make, make
> > test I get a core dump.
> 
> Maybe this is not a FreeBSD source?
> 
> I'd suggest using the FreeBSD ports system for installation from
> source (i. e. tar archives). PHP 5.2.12 seems to be availabe.
> You can use
> 
>   # cd /usr/ports/lang/php5
>   # make
>   # make install
> 
> Make sure - not "make sure" :-) - that your ports tree is up to
> date in order to recieve the latest version.
> 
> 
> 
> > After running gdb on the core dump I noticed it was the sqlite stuff
> that
> > was dumping, so I re-ran configure with --without-sqlite
> > --without-pdo-sqlite --with-mysql=/usr/local/mysql
> 
> Check the available options that can be set for the php5 port
> at compile time, either via "make config", or enter them
> manually (e. g. in Makefile.local - I'm not sure if this
> mechanism is still supported).
> 
> 
> 
> > Now the gdb shows this:
> >
> > Core was generated by `php'.
> > Program terminated with signal 11, Segmentation fault.
> > #0  0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0,
> eDest=164102200,
> > iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
> > aff=0x0)
> > at
> > /usr/local/directadmin/customapache/php-
> 5.2.11/ext/pdo_sqlite/sqlite/src/sel
> > ect.c:3172
> > 3172  for(j=0; jnExpr; j++){
> >
> >
> > First off, the compile directory listed is wrong, don't know where it
> got
> > php-5.2.11 from, that's the last version I built and is installed on
> this
> > system. Maybe it's pulling that from the system php?
> 
> Yes, correct.
> 
> 
> 
> > Secondly, even though I've told it not to use sqlite, it still seems
> to be.
> 
> It is - by 5.2.11 (or by directadmin). Seems that you've not
> installed 5.2.12 with your custom options yet.
> 
> 
> 
> > Any help here would be appreciated in moving forward. My whole reason
> for
> > needing to rebuild php is I need the pdo_mysql module instead of the
> > pdo_sqlite version.
> 
> As I said, I would suggest to try to achieve this through
> the ports system. It's easier than fighting ./configure. :-)
> 
> 
> 
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...

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


Clean PHP 5.2.12 Build Core Dumping

2010-01-08 Thread Don O'Neil
Ok... more info on the problem...

I started with a clean untarred archive, ad just ran ./configure, make, make
test I get a core dump.

After running gdb on the core dump I noticed it was the sqlite stuff that
was dumping, so I re-ran configure with --without-sqlite
--without-pdo-sqlite --with-mysql=/usr/local/mysql

Now the gdb shows this:

Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
#0  0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200,
iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8,
aff=0x0)
at
/usr/local/directadmin/customapache/php-5.2.11/ext/pdo_sqlite/sqlite/src/sel
ect.c:3172
3172  for(j=0; jnExpr; j++){


First off, the compile directory listed is wrong, don't know where it got
php-5.2.11 from, that's the last version I built and is installed on this
system. Maybe it's pulling that from the system php? 

Secondly, even though I've told it not to use sqlite, it still seems to be.

Any help here would be appreciated in moving forward. My whole reason for
needing to rebuild php is I need the pdo_mysql module instead of the
pdo_sqlite version.

Thanks!

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


Clean PHP 5.2.12 Build Core Dumping

2010-01-08 Thread Don O'Neil
I'm trying to build a clean version of php 5.2.12 on my FreeBSD 6.1 box and
even with NO OPTIONS, php core dumps during the make test phase.

How do I go about tracking down what is causing this problem?

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


Re: sendmail CLIENT_OPTIONS

2009-10-06 Thread Don Wilde
On Tue, Oct 6, 2009 at 2:26 AM, Oliver Fromme  wrote:
> Don Wilde  wrote:
>  > I am setting up the sendmail on my 7.2-STABLE system, and I cannot get
>  > it to listen to my live server address besides the localhost.
>  >
>  > I've added
>  >                            CLIENT_OPTIONS(`Family=inet,
>  > Addr=64.156.192.103, Name=MTA')dnl
>  >
>  > directly above the DAEMON_OPTIONS lines (after the FEATUREs),
>  > recompiled with make -C, and copied the domain-specific cf to
>  > sendmail.cf.
>
> You do not have to add anything to your .mc/.cf file.
> Just be sure to have this line in /etc/rc.conf:
>
> sendmail_enable="YES"
>
> then restart sendmail, and it will listen on all interfaces.
>
>  > Sendmail starts correctly, so the m4 compilation was successful, but
>  > it is still only listening on 127.0.0.1:25 according to netstat -atn.
>
> It's better to use "sockstat -l | grep sendmail".
> It lists user, command and PID along with the IP address
> ("*" if all addresses) and port number, so you can easily
> match it with output from ps or top, using the PID number.
>
> If sendmail is listening only on localhost, it usually
> means that you don't have sendmail_enable="YES" in rc.conf.
> In that case, the default is to run sendmail only on the
> localhost interface, so that local mail delivery does work
> (e.g. output mailed from cron jobs).
>
> A common error is to put an entry at the top of rc.conf,
> not noticing that another entry further down the file
> overrides it.  The last entry takes effect.  For example,
> if you have sendmail_enable="YES" at the top, but there's
> sendmail_enable="NO" somewhere near the end of the file,
> then the latter will take effect.
>
> "grep sendmail /etc/rc.conf" will tell you the truth.
>
> After any changes, don't forget to restart sendmail:
> "/etc/rc.d/sendmail restart"
>
> If you're extra paranoid, first do only "stop" instead of
> "restart", then verify that no sendmail processes are
> running, then perform the "start".
>
> Best regards
>   Oliver
>
Oliver, Gorgios, Bernt -

You all hit the nail right on the head.  I had added the
sendmail_enable line before, but in my pushing and shoving in emacs I
seem to have deleted it again. Many thanks to all of you for your
patience and support! :D
-- 
-- Don Wilde
   " Engineering the Future "
http://www.EngineeringJobFuture.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sendmail CLIENT_OPTIONS

2009-10-05 Thread Don Wilde
On Mon, Oct 5, 2009 at 8:27 PM, Bernt Hansson  wrote:
> Don Wilde said the following on 2009-10-06 02:48:
>>
>> Hello, folks -
>>
>> I am setting up the sendmail on my 7.2-STABLE system, and I cannot get
>> it to listen to my live server address besides the localhost.
>>
>> I've added
>>                           CLIENT_OPTIONS(`Family=inet,
>> Addr=64.156.192.103, Name=MTA')dnl
>>
>> directly above the DAEMON_OPTIONS lines (after the FEATUREs),
>> recompiled with make -C, and copied the domain-specific cf to
>> sendmail.cf.
>>
>> I've reviewed the old docs on /usr/share/sendmail/cf and the newer
>> ones on /usr/src/contrib/sendmail/cf that were referenced in the
>> manual.
>>
>> Sendmail starts correctly, so the m4 compilation was successful, but
>> it is still only listening on 127.0.0.1:25 according to netstat -atn.
>
> Do you have sendmail_enable="YES" in your /etc/rc.conf file?
>[snip]

Yes, Bernt.



-- 
-- Don Wilde
   " Engineering the Future "
http://www.EngineeringJobFuture.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


sendmail CLIENT_OPTIONS

2009-10-05 Thread Don Wilde
Hello, folks -

I am setting up the sendmail on my 7.2-STABLE system, and I cannot get
it to listen to my live server address besides the localhost.

I've added
   CLIENT_OPTIONS(`Family=inet,
Addr=64.156.192.103, Name=MTA')dnl

directly above the DAEMON_OPTIONS lines (after the FEATUREs),
recompiled with make -C, and copied the domain-specific cf to
sendmail.cf.

I've reviewed the old docs on /usr/share/sendmail/cf and the newer
ones on /usr/src/contrib/sendmail/cf that were referenced in the
manual.

Sendmail starts correctly, so the m4 compilation was successful, but
it is still only listening on 127.0.0.1:25 according to netstat -atn.

This seems to be more of a newbie issue than a STABLE issue, but
please correct me if I'm wrong. I just updated to fix the null issue,
but I don't see anything in either UPDATING file. If you need more
configs, please forgive me for not including them. No other changes
have been made to the mc file.

Thanks in advance! :D

-- 
-- Don Wilde
   " Engineering the Future "
http://www.EngineeringJobFuture.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Requesting Service

2009-09-28 Thread don carlos
Hello and Good day,

We are looking for a company that provides on-site services on installing
FreeBSD mailserver. We currently have a FreeBSD based mailserver running and
we need to upgrade it.  We need all emails and addressbooks to be
transferred into the new server.

We will provide the hardware.  Can you please advise if you do such services
or if you could refer us.

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


Re: Wake up time

2009-09-21 Thread Don Brearley
>>> Roland Smith  09/21/09 4:06 PM >>>
On Mon, Sep 21, 2009 at 10:06:28PM +0200, Anselm Strauss wrote:
> Hi,
> 
> anybody knows if it's possible to set BIOS wake up time in FreeBSD. I  
> have a machine I would like to regularly shutdown and wake up at  
> different times depending the on the day of week.


Could you enable "Wake-On-LAN" in the BIOS and then configure another box
to wake it up via the LAN at your specified time?

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


df -k vs. du -s

2009-08-13 Thread Don O'Neil
My /var partition is showing a different value for a df -k on the file
system vs a du -s on the file system:

df -k
Filesystem1K-blocks  Used Avail Capacity  Mounted on
/dev/ad0s1a 202603088954497440448%/
devfs 1 1 0   100%/dev
/dev/ad0s1e 2026030   964   1862984 0%/tmp
/dev/ad0s1d 8122126   1997988   547436827%/usr
/dev/ad0s1f 8122126   5301938   217041871%/var

du -s /var
993261  /var

Any ideas why I would see this? Where is the other 4+G? Do I have a bunch of
bad sectors in the file system or is it majorly fragmented? If so, how do I
find out what the problem is?

The other partitions match between the df and du... I'm running 6.1 if that
makes a difference.


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


Re: restoring a dump file across the network

2009-06-30 Thread Don Read
On Tue, 30 Jun 2009 17:15:26 -0400 Dave said:

> Hello,
>   I've got a dumpfile taken of one machine and placed on another. Now
> i want to push it to a third, i was wondering if this were doable? Machine 3
> does not have dump/restore on it can't get it, so needs to have it sent over
> an encrypted ssh connection. Suggestions welcome.
> Thanks.
> Dave.
> 

Can you mount the files system(s) with nfsd?

Regards,
-- 
Don Readdon_r...@att.net
 It's always darkest before the dawn. So if you are going to
 steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: General and specific make questions

2009-06-09 Thread Don Read
On Tue, 9 Jun 2009 16:31:42 +0200 (CEST) Wojciech Puchar said:

> >> Correct. I do the same here.
> >
> > I also do use make to produce LaTeX documents. I even `published' my 
> > collection of makefiles at https://gna.org/projects/bsdmakepscripts/
> 
> make is universal too, as many other unix tools. for example i use make 
> and cpp (C preprocessor) for making HTML pages :)

Yep.
On the old DG/SCO (spit) box I used to admin; I used a makefile to
generate the Sales, Inventory, AR, AP, etc. reports every day.

if SGDSR.SP out of date or missing? then run script to spool it to disk.
if ARAGE.SP out of date or missing? then run script ...

etc. ...

-- 
Don Readdon_r...@att.net
 It's always darkest before the dawn. So if you are going to
 steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD on USB drive for a MacBook Pro

2009-06-01 Thread Don Read
On Sat, 30 May 2009 21:36:49 -0400 John Nielsen said:

> I'm looking for advice and/or pointers. I have an Intel-based MacBook Pro 
> and I would like to use a USB thumb drive to be able to boot FreeBSD on 
> it. 

This should get you started:
http://groups.google.com/group/lucky.freebsd.questions/msg/5c759b1c87376b22?pli=1

Regards,
-- 
Don Readdon_r...@att.net
 It's always darkest before the dawn. So if you are going to
 steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: csup source tree as of a certian date

2009-05-14 Thread Don Read
On Thu, 14 May 2009 12:45:51 -0500 Sam Fourman Jr. said:

> hello,
> 
> I would like to know how to obtain the FreeBSD -CURRENT source tree as
> of 4-29-2009 (anywhere in that day is fine)
> 
> I normally run this command to follow -CURRENT
> 
> csup -g -L 2 -h cvsup15.freebsd.org /usr/share/examples/cvsup/standard-supfile
> 
> as my kernel now panics on a i386 kernel as of today, as well as
> 5-1-2009 (A source tree I had on a alternate machine)
> 
> What would I have to modify to move my source tree back to say the
> april 29th or so?
> 
> I have a kernel from 4-13-2009 that works fine. so I have a window to
> track down the trouble.
> 
> 
> Sam Fourman Jr.


Have you tried: 
*default date=2009.04.28.23.59.59

Back when I had to get the old XOrg, *default date' in my ports-supfile
returned me to sanity ...

-- 
Don Readdon_r...@att.net
 It's always darkest before the dawn. So if you are going to
 steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Compass 597 Sprint

2009-05-07 Thread Don Dugger
Has anyone got a Compass 597 from Sprint to work?
And if so can I get some pointers?

Thx in advance...

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


Re: make install krb5 conflict with heimdal

2009-04-09 Thread Don Read
On Thu, 9 Apr 2009 12:20:35 -0500 Gary Gatten said:

> On FreeBSD 6.0.  I have FreeRADIUS installed and functional.  Trying to
> integrate with AD so trying to install SAMBA for the NTLM Auth
> functions.  SAMBA installs failed with a problem with krb5.  Finally got
> the make of krb5 to succeed, but the make install fails with error
> below.  Tried removing heimdal but FreeRADIUS depends on it!  Any help
> getting past this paradox would be GREATLY appreciated!  I'm stuck right
> now and really don't want to uninstall FreeRADIUS.  
> 
> 
> ===>  Installing for krb5-1.6.3_5
> 
> ===>  krb5-1.6.3_5 conflicts with installed package(s):
>   heimdal-1.0.1
> 
>   They install files into the same place.
>   Please remove them first with pkg_delete(1).
> *** Error code 1
> 
> Stop in /usr/ports/security/krb5.
> *** Error code 1
> 
> Stop in /usr/ports/security/krb5.
> 

1. Stop hijacking threads.

2. man pkg_delete. 
Note the  -f, --force argument.


furrfu ...

-- 
Don Readdon_r...@att.net
 It's always darkest before the dawn. So if you are going to
 steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Physical location of cvsup servers

2009-03-17 Thread Don Read
On Tue, 17 Mar 2009 18:50:46 -0500 Charles Howse said:

> Hi,
> Can anyone point me to a link that shows the physical location of the  
> U.S. cvsup servers?
> 
> 

Not physical, but by wire time:

localhost# fastest_cvsup -c us

-- 
Don Read   donr...@sbcglobal.net
 It's always darkest before the dawn. So if you are going to 
 steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: please remove all search results with name Constantin Stalzer

2009-02-11 Thread Don Read
On Tue, 10 Feb 2009 20:54:18 -0500 michael copeland said:

> On Tue, Feb 10, 2009 at 8:52 PM, prad  wrote:

> i agree now that i think about it.
> but what about the ipv6?!
> 

vi versus Emacs?


-- 
Don Read   donr...@sbcglobal.net
 It's always darkest before the dawn. So if you are going to 
 steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Vinum/FreeBSD 6.4

2009-02-01 Thread Don O'Neil
Are there any disk size/volume size limitations on Vinum with FreeBSD 6.4? 

Can I run Vinum on 4 500 G drives and get a 1Tbyte RAID10 config?

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


Best Journaling File System - ZFS/???

2008-12-02 Thread Don O'Neil
With all the discussions of ZFS lately, I'm beginning to wonder if it's
really ready for a production environment. Concerns over memory utilization,
speed, stability, etc...

So, my question is this... If you were building a brand new 6.3/7.0 server
with decent performance (dual core, 32 Bit OS - because of known
compatibility issues with specific software, 4 GB RAM, etc...) what file
system would you choose? What options are out there besides UFS and ZFS?
What FS's are least likely to have corruption issues when there are power
hits?

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


RE: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-03 Thread Don Witt
This is very cool.  What is up with NetBSD and OpenBSD.  Are these numbers
accurate?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc G. Fournier
Sent: Monday, November 03, 2008 2:34 PM
To: freebsd-questions@freebsd.org; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]; Thorsten Glaser;
Gonzalo Martinez - Sanjuan Sanchez;
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In


As of November 3rd, 2008, the project has hit a new milestone of 25 000+
hosts 
reporting in, with a break down as follows:

   PC-BSD   17 454 hosts
   FreeBSD   5 526 hosts
   DesktopBSD1 919 hosts
   NetBSD   86 hosts
   MirBSD   21 hosts
   OpenBSD  55 hosts
   DragonFly26 hosts
   MidnightBSD  26 hosts
   GNU/kFreeBSD  2 hosts

We currently have hosts being reported in from 135 countries, with the top
10
being:

   United States   6 082
   Russian Federation  1 836
   Germany 1 586
   Australia   1 341
   Ukraine   997
   France930
   Japan 898
   United Kingdom791
   Canada767
   Brazil729

Project URL: http://www.bsdstats.org

Project Objective:

"The mission of this site is to compile semi-accurate numbers for advocacy
and
marketing of the *BSD operating systems."


PC-BSD, to the best of our knowledge, is the only one that defaults to
enabled, 
while the rest have to be enabled manually.

For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats to
set 
things up.

If you aren't participating, we very much encourage you to start ... the
report 
script is a shell script, so you can scan it to figure out what, exactly, is

being sent in .. and there is only one level of reporting that is  required,

and that is Operating System + Version ... Device and Ports reporting are
100% 
optional ...

For those that are participating ... once more, thank you ... and spread the
word, we need more ...


If you have any questions, please feel free to email me ...

-- 
Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-advocacy
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: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O'Neil
> > The hardware I have is the built in SATA controller on the 
> > motherboard, which is GIGABYTE GA-M61P-S3. With the NVIDIA GeForce 
> > 6100 / nForce 430 and Super I/O chip: ITE IT8716.
> >
> > Oct  4 04:07:30 kermit kernel: atapci0:  controller> port 
> > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on 
> > pci0 Oct  4 04:07:30 kermit kernel: ata0:  
> on atapci0 
> > Oct  4 04:07:30 kermit kernel: ata1:  on 
> atapci0 Oct  4 
> > 04:07:30 kermit kernel: pci0:  at device 7.0 (no driver 
> > attached) Oct  4 04:07:30 kermit kernel: atapci1:  > controller> port 
> > 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd000-0xd00f mem 
> > 0xf7004000-0xf7004fff irq 20 at device 8.0 on pci0 Oct  4 04:07:30 
> > kermit kernel: ata2:  on atapci1 Oct  4 
> 04:07:30 kermit 
> > kernel: ata3:  on atapci1 Oct  4 04:07:30 kermit 
> > kernel: atapci2:  port 
> > 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xe400-0xe40f mem 
> > 0xf700-0xf7000fff irq 21 at device 8.1 on pci0 Oct  4 04:07:30 
> > kermit kernel: ata4:  on atapci2 Oct  4 
> 04:07:30 kermit 
> > kernel: ata5:  on atapci2 Oct  4 04:07:30 kermit 
> > kernel: ad0: 76293MB  at 
> ata0-master UDMA33 
> > Oct  4 04:07:30 kermit kernel: ad4: 953869MB  > SD15> at ata2-master UDMA33
> 
> This motherboard uses the nForce 430, but the SATA portion is 
> actually a subset chip called the MCP61.  I've confirmed this 
> by looking at PRs 116880 and 108830.
> 
> I can see two things from the dmesg:
> 
> 1) FreeBSD has no idea what this controller is, or any "quirks"
> surrounding the controller (meaning it's possible that disk 
> or block addressing is being done incorrectly),
> 
> 2) The disks are seen as classic PATA disks and not SATA.  
> This could be a result of there being no nForce 430 support 
> in 6.1, but it could also be due to a BIOS setting on that 
> motherboard.
> 
> I'm looking at the User Manual for this motherboard, but I 
> can't find the BIOS option that I'm used to seeing on other 
> nForce-based boards, and Intel ICH-based boards:
> 
> A feature where you can change the way the OS sees the 
> underlying SATA controller; it's called "Emulated" or 
> "Emulation" mode.  The controller is able to interface with 
> SATA disks, but the OS sees the controller as a classic 
> PATA/IDE controller.  This is often used for OSes which lack 
> SATA support or native SATA drivers, such as MS-DOS.
> 
> The only thing in the User Manual I see which sets off red 
> flags is the "Serial-ATA RAID Config" item under the 
> Integrated Peripherals menu.  I really hope the "NV SATA Raid 
> Function" is set to Disabled on your box.
> 
> Looking at CVS commit logs for src/sys/dev/ata/ata-chipset.c, 
> I can see that MCP61 support was officially added to HEAD on 
> on 2007/06/26.  I'm having a difficult time determining what 
> HEAD meant at that date.  I can't figure out for the life of 
> me if it was referring to RELENG_6 or RELENG_7.
> 
> Either way, point is, FreeBSD 6.1 flat out does not have 
> support for that chip, even a 6.1 dated August 2006.  I can't 
> help but wonder if that's what's causing the odd problem.
> 
> I also found another LBA48-related issue, dated 2007/10/04, 
> labelled "fix the LBA28/LBA48 crossover bug".  I'm still not 
> sure what that is.
> 
> And I haven't even begun to look at GEOM changes/bugfixes, 
> which might be a more likely place.
> 
> > This is actually a FreeBSD-Stable install... From 08/2006 I 
> > realize it's probably time to do an OS upgrade, but this is 
> the ONLY 
> > issue I've run into running this code base. Some of the 
> software I'm 
> > running hasn't been tested with 7.X, so I'm not comfortable 
> going there yet.
> 
> What this means is that it's a 6.1-RELEASE install which follows the
> RELENG_6 tag, and has been cvsup'd at least up until August 2006.
> 
> I understand you're not comfortable upgrading to FreeBSD 7, 
> but it would be worthwhile if you could download FreeBSD 
> 7.1-PRERELEASE (specifically disc 1 or a live CD), and see if 
> that reports the same problem as 6.1.
> 
> I still can't explain why booting the 6.1 installer and using 
> a fixit image lets you work around the problem.  That is just 
> flat out bizarre.
> 
> You have to understand: there's been a lot of 
> evolution/bugfixes applied between 6.1 and 7.1.  There's 
> almost too much for me to try and track down.  I'm trying 
> very hard, but it's difficult.

Thanks for all the clarifications, I didn't realize there have been that
many changes since 6.1. I suppose its time to upgrade. What I need to do is
build an identical server to that one and test it all out locally. Since the
drive is currently 500 miles away it will take me some time, but I'll see
what I can do.

I'll also check my BIOS settings to make sure the RAID is disabled. I'm
almost positive it is, but who knows. Jerry pointed out that the boot
process is seeing it as a regular ATA device, so it may be running in some
sort of compatibility mode li

RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O'Neil
> On Mon, Oct 06, 2008 at 09:45:52AM -0700, Jeremy Chadwick wrote:
> > There is one thing about later FreeBSDs which I am aware of: 48-bit 
> > LBA addressing.  I'm left wondering if what you're running 
> into is a 
> > bug or a problem with older FreeBSD (6.1) not supporting this.  I 
> > would have to go back through CVS commit lots for ata(4) to 
> find out 
> > when 48-bit LBA was added.  I think 48-bit LBA support is 
> required for disks >500GB.
> 
> The issue I'm referring to has been touched on many times.
> 
> First and foremost, 6.1-RELEASE was released in May 2006.  
> Keep that date in mind when reading the below.
> 
> The first incident, according to CVS commit logs, was adding 
> 48-bit LBA support, supporting disks >137GB.  That would've 
> been in RELENG_4, dated 2002/01/05.  FreeBSD 6.1 should have this.
> 
> Next, we have a commit dated 2003/01/19, affecting 48-bit LBA 
> support on Promise 66/100 controllers.  FreeBSD 6.1 should have this.
> 
> Next, 2004/12/09, talking about disk firmware bugs affecting 
> 48-bit LBA addressing, which was affecting a significant 
> number of users.  That was applied to HEAD and RELENG_5, so 
> FreeBSD 6.1 ("HEAD" at that time) should have this.
> 
> Next, 2005/04/14, something about "read back the real 
> taskfile register values when in 48-bit mode".  Committed to 
> HEAD, which would've been during days shortly before RELENG_6 
> was tagged (6.0).
> 
> Next, 2005/08/17, "support for working around controllers 
> that can't do DMA in 48-bit LBA mode", forcing the disk to 
> use PIO mode allowing the disk to address >137GB.  This was 
> added to HEAD and RELENG_6, so this should also exist in 6.1.
> 
> Next, 2007/12/13, "also fix 48-bit LBA addressing issues, 
> apparently newe chips need 16-bit writes and not the usual 
> FIFO thing".  This was committed to HEAD first, RELENG_7 on 
> 2008/01/09, and RELENG_6 on 2008/01/09.
> 
> This is one which FreeBSD 6.1 *would not* have fixes for.
> 
> I do not know if this is the problem -- I'm just speculating.
> 
> Because dmesg output was not provided ("nothing 
> interesting"), we can't tell what sort of controller your 
> disks are hooked to, yadda yadda.
> This is explicitly why I asked for that information.
> 
> If you could please try 7.0-STABLE or 7.1-PRERELEASE, that 
> would be highly recommended.  It would at least allow us to 
> determine if you're being affected by a bug in older FreeBSD, 
> or if this is something that is unique to your environment or 
> applies to present-day FreeBSD.

The hardware I have is the built in SATA controller on the motherboard,
which is GIGABYTE GA-M61P-S3. With the NVIDIA GeForce 6100 / nForce 430 and
Super I/O chip: ITE IT8716.  

Dmesg had no output pertaining to the partition/format/dd, etc... Just
messages from my ftp daemon. If you're wanting to see the boot messages,
this is from the last time I rebooted when I installed the disk:

Oct  4 04:07:30 kermit kernel: Copyright (c) 1992-2006 The FreeBSD Project.
Oct  4 04:07:30 kermit kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Oct  4 04:07:30 kermit kernel: The Regents of the University of California.
All rights reserved.
Oct  4 04:07:30 kermit kernel: FreeBSD 6.1-STABLE-200608 #0: Mon Mar 19
22:52:31 PDT 2007
Oct  4 04:07:30 kermit kernel:
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/KERMIT
Oct  4 04:07:30 kermit kernel: ACPI APIC Table: 
Oct  4 04:07:30 kermit kernel: Timecounter "i8254" frequency 1193182 Hz
quality 0
Oct  4 04:07:30 kermit kernel: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor
5200+ (2611.90-MHz 686-class CPU)
Oct  4 04:07:30 kermit kernel: Origin = "AuthenticAMD"  Id = 0x40f32
Stepping = 2
Oct  4 04:07:30 kermit kernel:
Features=0x178bfbff
Oct  4 04:07:30 kermit kernel: Features2=0x2001
Oct  4 04:07:30 kermit kernel: AMD
Features=0xea500800
Oct  4 04:07:30 kermit kernel: AMD Features2=0x1f,,CR8>
Oct  4 04:07:30 kermit kernel: Cores per package: 2
Oct  4 04:07:30 kermit kernel: real memory  = 3724476416 (3551 MB)
Oct  4 04:07:30 kermit kernel: avail memory = 3647496192 (3478 MB)
Oct  4 04:07:30 kermit kernel: FreeBSD/SMP: Multiprocessor System Detected:
2 CPUs
Oct  4 04:07:30 kermit kernel: cpu0 (BSP): APIC ID:  0
Oct  4 04:07:30 kermit kernel: cpu1 (AP): APIC ID:  1
Oct  4 04:07:30 kermit kernel: ioapic0: Changing APIC ID to 2
Oct  4 04:07:30 kermit kernel: ioapic0  irqs 0-23 on
motherboard
Oct  4 04:07:30 kermit kernel: kbd1 at kbdmux0
Oct  4 04:07:30 kermit kernel: acpi0:  on motherboard
Oct  4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR
Oct  4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR
Oct  4 04:07:30 kermit kernel: acpi0: Power Button (fixed)
Oct  4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR
Oct  4 04:07:30 kermit kernel: acpi_bus_number: can't get _ADR
Oct  4 04:07:30 kermit kernel: Timecounter "ACPI-fast" frequency 3579545 Hz
quality 1000
Oct  4 04:07:30 kermit kernel: acpi_timer0: <24-bit timer at 3.579545MHz>
port 0x

RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O'Neil
 
> > > > I just swapped out an old 500G disk with a 1TB one and I'm 
> > > > trying to label it and mount it...
> > > > 
> > > > If I run bsdlabel -w ad4, I get:
> > > > 
> > > > bsdlabel: Geom not found
> > > > 
> > > > If I run sysinstall, it tells me that it can't write to the disk.
> > > > 
> > > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but 
> > > > that didn't help.
> > > > 
> > > > Can anyone help me get this new disk installed without having to 
> > > > boot off a recovery CD? The server is 500 miles away from me and 
> > > > I don't have direct console access.
> > > > Can you provide output from dmesg, as well as "geom disk list"?
> > > 
> > > OK... I tried:
> > > 
> > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
> > > dd: /dev/ad4: Operation not permitted
> > > 
> > > # fdisk /dev/ad4
> > > *** Working on device /dev/ad4 *** parameters extracted 
> > > from in-core disklabel are:
> > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
> > > 
> > > Figures below won't work with BIOS for partitions not in cyl 1 
> > > parameters to be used for BIOS calculations are:
> > > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
> > > 
> > > fdisk: invalid fdisk partition table found Media sector size is 
> > > 512
> > > Warning: BIOS sector numbering starts with sector 1 Information 
> > > from DOS bootblock is:
> > > The data for partition 1 is:
> > > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> > > start 63, size 1953525105 (953869 Meg), flag 80 (active)
> > > beg: cyl 0/ head 1/ sector 1;
> > > end: cyl 612/ head 15/ sector 63 The data for partition 2
> > > is:
> > > 
> > > The data for partition 3 is:
> > > 
> > > The data for partition 4 is:
> > > 
> > 
> > 
> > OK.   That looks pretty normal.
> >
> > Well, except for not allowing the dd to the disk.  
> > I haven't had that happen on a disk.  (I used to see that a lot on 
> > DAT
> tapes)
> >
> > So, maybe, as someone else suggested, you also need:
> >
> > > OK... I tried:
> > > 
> > > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
> > > dd: /dev/ad4: Operation not permitted
> > > 
> > Did you "sysctl kern.geom.debugflags=16" before doing this?
> > > 
> > What's happening here is that GEOM isn't letting you overwrite the 
> > MBR on the disk.  Setting kern.geom.debugflags=16 should permit that 
> > to happen.
> > 
> >
> > But, do the following too.  
> >
> > 
> > Did you try doing an: fdisk -I ad4   or  maybe  fdisk -BI ad4
> > 
> > It takes that to get fdisk to initialize the disk.
> > (the -B puts the master boot block there.
> > 
> > Just doing anfdisk ad4   only had fdisk read out stuff
> > and there isn't anything there yet to read - so of course it is 
> > invalid.
> > 
> > 
> > > 
> > > Geometry output:
> > > 
> > > Geom name: ad4
> > > Providers:
> > > 1. Name: ad4
> > >Mediasize: 1000204886016 (932G)
> > >Sectorsize: 512
> > >Mode: r0w0e0
> > >fwsectors: 63
> > >fwheads: 16
> > > 
> > > Nothing exciting coming from dmesg.
> 
> I tried kern.geom.debugflags=16 originally, still doesn't help.

> Can you please do it and then attempt the exact dd you ran above?

# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 16 -> 16

# dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
dd: /dev/ad4: Operation not permitted

>The reason I'm hounding: you're not providing a lot of detail between
whatever it is you're doing.  Just a lot of >one-liner responses "No didn't
work, next".  It's very difficult to discern what exactly you're doing; for
example, >you could've run the sysctl and then attempted an install, rather
than re-execute the dd.

I did exactly as you suggested, and I've posed all my results here... I'm
scratching my head on this one as much as you are.

>I can refer you to historic data that shows people have gotten the exact
error you're seeing when attempting to >write to block 0 (MBR), stopped by
GEOM, which is why I'm a little wary.

>> Someone else recommended running sade(8) and properly configuring this
disk.
>> What is sade(8)? I don't have such an application on 6.1, and there is 
>> nothing in the ports. I think that sade is a 7.0+ tool.

>6.1?  Why?  This is a new install, right?  Is there some reason you're
installing 6.1 and not 6.3, or better yet, >7.0?  That's a separate
question, but it does make me wonder if something was fixed between 6.1 and
6.3/7.0 which >might address this problem.

No, it's not a new install, I'm just trying to add a new disk on an older
server. I REALLY don't want to do an OS upgrade at this point on a
production box that is running fine. We do that 1x a year, and I'm not in
the mood to do it just to add a bigger disk.

>There is one thing about later FreeBSDs which I am aware of: 48-bit LBA
addressing.  I'm left wondering if what >you're running into is a bug or a
problem with older FreeBSD (6.1) not supporting this.  I would have to go
back> through CVS commit lots for ata(4) to find out when 48-bit LBA w

RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O'Neil

> On Mon, Oct 06, 2008 at 08:03:46AM -0700, Don O'Neil wrote:
> 
> > > I just swapped out an old 500G disk with a 1TB one and I'm trying 
> > > to label it and mount it...
> > > 
> > > If I run bsdlabel -w ad4, I get:
> > > 
> > > bsdlabel: Geom not found
> > > 
> > > If I run sysinstall, it tells me that it can't write to the disk.
> > > 
> > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but 
> > > that didn't help.
> > > 
> > > Can anyone help me get this new disk installed without having to 
> > > boot off a recovery CD? The server is 500 miles away from me and I 
> > > don't have direct console access.
> > > Can you provide output from dmesg, as well as "geom disk list"?
> > 
> > OK... I tried:
> > 
> > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
> > dd: /dev/ad4: Operation not permitted
> > 
> > # fdisk /dev/ad4
> > *** Working on device /dev/ad4 *** parameters extracted from 
> > in-core disklabel are:
> > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
> > 
> > Figures below won't work with BIOS for partitions not in cyl 1 
> > parameters to be used for BIOS calculations are:
> > cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)
> > 
> > fdisk: invalid fdisk partition table found Media sector size is 512
> > Warning: BIOS sector numbering starts with sector 1 Information from 
> > DOS bootblock is:
> > The data for partition 1 is:
> > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> > start 63, size 1953525105 (953869 Meg), flag 80 (active)
> > beg: cyl 0/ head 1/ sector 1;
> > end: cyl 612/ head 15/ sector 63 The data for partition 2 
> > is:
> > 
> > The data for partition 3 is:
> > 
> > The data for partition 4 is:
> > 
> 
> 
> OK.   That looks pretty normal.
>
> Well, except for not allowing the dd to the disk.  
> I haven't had that happen on a disk.  (I used to see that a lot on DAT
tapes)
>
> So, maybe, as someone else suggested, you also need:
>
> > OK... I tried:
> > 
> > # dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
> > dd: /dev/ad4: Operation not permitted
> > 
> Did you "sysctl kern.geom.debugflags=16" before doing this?
> > 
> What's happening here is that GEOM isn't letting you overwrite the MBR 
> on the disk.  Setting kern.geom.debugflags=16 should permit that to 
> happen.
> 
>
> But, do the following too.  
>
> 
> Did you try doing an: fdisk -I ad4   or  maybe  fdisk -BI ad4
> 
> It takes that to get fdisk to initialize the disk.
> (the -B puts the master boot block there.
> 
> Just doing anfdisk ad4   only had fdisk read out stuff
> and there isn't anything there yet to read - so of course it is 
> invalid.
> 
> 
> > 
> > Geometry output:
> > 
> > Geom name: ad4
> > Providers:
> > 1. Name: ad4
> >Mediasize: 1000204886016 (932G)
> >Sectorsize: 512
> >Mode: r0w0e0
> >fwsectors: 63
> >fwheads: 16
> > 
> > Nothing exciting coming from dmesg.

I tried kern.geom.debugflags=16 originally, still doesn't help.

Someone else recommended running sade(8) and properly configuring this disk.
What is sade(8)? I don't have such an application on 6.1, and there is
nothing in the ports. I think that sade is a 7.0+ tool.

Any other ideas?

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


RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-06 Thread Don O'Neil
> I just swapped out an old 500G disk with a 1TB one and I'm trying to 
> label it and mount it...
> 
> If I run bsdlabel -w ad4, I get:
> 
> bsdlabel: Geom not found
> 
> If I run sysinstall, it tells me that it can't write to the disk.
> 
> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that 
> didn't help.
> 
> Can anyone help me get this new disk installed without having to boot 
> off a recovery CD? The server is 500 miles away from me and I don't 
> have direct console access.
> Can you provide output from dmesg, as well as "geom disk list"?

OK... I tried:

# dd if=/dev/zero of=/dev/ad4 bs=512 count=1000
dd: /dev/ad4: Operation not permitted

# fdisk /dev/ad4
*** Working on device /dev/ad4 ***
parameters extracted from in-core disklabel are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1938021 heads=16 sectors/track=63 (1008 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1953525105 (953869 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 612/ head 15/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


Geometry output:

Geom name: ad4
Providers:
1. Name: ad4
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Mode: r0w0e0
   fwsectors: 63
   fwheads: 16

Nothing exciting coming from dmesg.


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


RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Don O'Neil

> >>> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but 
> >>> that
>  >>> didn't help.
>  >>>
>  >>> Can anyone help me get this new disk installed without having to 
> boot  >>> off a recovery CD? The server is 500 miles away from me and 
> I don't  >>> have direct console access.
>  >>>
>  >>
>  >> Uhmm... This may seem silly, but did you use fdisk to create a 
> slice  >> first before you tried partitioning?
>  >>
>  >this is NOT needed. actually i don't do it anywhere.
>  >
>  >it just may be sysinstall problem, anything else.
>
>
> I tried using fdisk first, same problem, won't let me write to the disk.

Do you will use the entire disk in one partition ? If so, just do:
newfs /dev/ad4

Maybe you should to use gjournal for this large filesystem



I tried newfs before, same issue:

# newfs /dev/ad4
newfs: /dev/ad4: failed to open disk for writing

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


RE: Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Don O'Neil
>>> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that 
>>> didn't help.
>>>
>>> Can anyone help me get this new disk installed without having to boot 
>>> off a recovery CD? The server is 500 miles away from me and I don't 
>>> have direct console access.
>>>
>>
>> Uhmm... This may seem silly, but did you use fdisk to create a slice 
>> first before you tried partitioning?
>>
>this is NOT needed. actually i don't do it anywhere.
>
>it just may be sysinstall problem, anything else.

I tried using fdisk first, same problem, won't let me write to the disk.

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


Can't add new 1TB disk in FreeBSD 6.1

2008-10-04 Thread Don O'Neil
I just swapped out an old 500G disk with a 1TB one and I'm trying to label
it and mount it...

If I run bsdlabel -w ad4, I get:

bsdlabel: Geom not found

If I run sysinstall, it tells me that it can't write to the disk.

I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't
help.

Can anyone help me get this new disk installed without having to boot off a
recovery CD? The server is 500 miles away from me and I don't have direct
console access.

Thanks!!!

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


Re: Fwd: newsyslog.conf / rotating logs based on size AND time

2008-09-22 Thread Don Read
On Thu, 07 Aug 2008 17:25:39 +0200 Zbigniew Szalbot said:

> Hello all,
> 
> Would anyone want to comment if it is possible to rotate logs with
> newsyslog based on size and time (using FBSD 7.0-Release)?
> 
> Many thanks!

Have you considered using a separate .conf file?
cat /etc/crontab
...
# Rotate log files every hour, if necessary. 
0   *   *   *   *   rootnewsyslog
# Rotate apache logs once a month
0   0   1   *   *   rootnewsyslog -f 
/usr/local/etc/nsl.http.conf
#

Regards,
-- 
Don Read   [EMAIL PROTECTED]
 It's always darkest before the dawn. So if you are going to 
 steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


restricted users

2008-09-11 Thread Don Wilde
Greetings, All -

I want to set up an account for my boy that he can use freely with the
exception that I can turn off his Internet access at will from my
root-privilege account. It would be nice if I could also set up a
limited-access constraint that would allow him some domains with a
white-list file.

I'm using KDE4 on 7-STABLE. I need the rest of the accounts to remain
connected, so a simple ifconfig is not appropriate. He's not experienced
enough (yet :) to be able to reconfigure things for himself, so if there's a
KDE config that I can use that'll be fine.

Thanks in advance for your suggestions! Please reply including my direct
address as I am not on the list subscription.

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


Re: unsetting a Port's configuration

2008-03-08 Thread Don Wilde
I DID see that whoopsie in the previous post, thanks Giorgos!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: unsetting a Port's configuration

2008-03-08 Thread Don Wilde
On Sat, Mar 8, 2008 at 10:06 AM, D Hill <[EMAIL PROTECTED]> wrote:

> On Sat, 8 Mar 2008 at 09:32 -0600, [EMAIL PROTECTED] confabulated:
>
> > Hello, all -
> >
> > When building a port, specifically in this case qdvdauthor, I run into a
> > setup issue that makes me want to redo the configuration  of the port.
> Is
> > there a simple way to disable the use of the saved configuration and
> > restart the port from the CURSES menu?
> >
> > I was able to blast it  by wiping the makefile and re-CVSupping, but
> that
> > does seem like the long way 'round.
>
> You can do a 'make config' within the port directory and it should present
> the configure menu again. If you want to remove the configuration to start
> again, you can do a 'make rmconfig'.
>
> 'man ports' should show all the options you can make.


Thanks to all who responded. It appears that there are no options that will
allow that port to build due to a showstopper in libxine that portaudit
complains about. The weblink appears to say that it's fixed in this version,
but it appears that there's no way around it. I tried ports, packages, etc.,
and can't get it to be happy with libxine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


unsetting a Port's configuration

2008-03-08 Thread Don Wilde
Hello, all -

When building a port, specifically in this case qdvdauthor, I run into a
setup issue that makes me want to redo the configuration  of the port. Is
there a simple way to disable the use of the saved configuration and
restart the port from the CURSES menu?

I was able to blast it  by wiping the makefile and re-CVSupping, but that
does seem like the long way 'round.

Thanks in advance!
--
Don Wilde
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Which environment variable?

2008-01-14 Thread Don Read
On Mon, 14 Jan 2008 09:35:41 +0200 Matiss said:

> Is there such environment variable, which changes window title for
> putty? I mean, MC is able to change it to working dir I think.. How
> do I change that title to let's say server name for my shell?
> 
> Thanks :)

man xprop

Or for the terminally lazy,
cat xtitle
#!/bin/sh
#
# gets/sets xterm title
#

me=`basename $0`
usage="Usage : $me [pwd | new title ... ] ('pwd' sets it to the current 
directory)";

Adjective='Current'

while [ $# -gt 0 ]
do
case "$1" in
--help | -help | -h | -\?)
echo;
echo $usage;
exit 0;;
-*) echo "$me: Unrecognized switch: $1 ($me -help to show valid 
options)";
exit 1;;
pwd) Adjective='New';
Title=`pwd`;;
*)  Adjective='New';
Title=$1;
while [ $# -gt 1 ]
do
shift;Title="$Title $1";
done;;
esac
shift
done
if [ -n "$Title" ]
then
xprop -id $WINDOWID -set WM_NAME "$Title";
fi
Title=`xprop -id $WINDOWID | grep WM_NAME | cut -d= -f2`
echo $Adjective 'title :' $Title
exit 0



-- 
Don Read  [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Port Updates for 6.1

2007-12-29 Thread Don O'Neil
What is the safest and cleanest way to update the ports in /usr/ports for a
6.1-STABLE install? I don't want to risk breaking anything, I just need some
updated ports so I can install the latest SpamAssassin port.

Thanks!

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


RE: Building a SAN using FreeBSD

2007-10-06 Thread Don O'Neil
Well, that's is a possibility, but seems a bit of a hack to me... The SAN
device would be interfaces to another FreeBSD box so there's no need for
Samba... what I'm looking for is a way to extend 1 file system to an
infinite size by adding additional devices/network boxes, like what is
available from HP and the bigger players, based on a journaled file system.
Multiple disks basically added together like RAID, but in a
software/hardware setup to create one large volume (and single file system).
 
The use would be for web services... so when a particular volume fills up I
can extend it by adding disks and not have to move home directories to
different file systems, etc...

  _  

From: Derek Ragona [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 06, 2007 2:14 PM
To: Don O'Neil; freebsd-questions@freebsd.org
Subject: Re: Building a SAN using FreeBSD


At 04:00 PM 10/6/2007, Don O'Neil wrote:


Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.

TIA!



Well you can load FreeBSD on multiple boxes, I assume using cheap disks,
then run samba on each to share some of the drives.

-Derek


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 
MailScanner thanks transtec Computers <http://www.transtec.co.uk/>  for
their support. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OpenSSL/PHP/Apache problem

2007-10-06 Thread Don O'Neil

Any time I compile PHP 4.4.7 with --with-ssl my apache 1.3.39 server core
dumps on start up on my FreeBSD 6.1 dual core AMD X2 box (in 32 bit mode).
Anyone have a work around for this or suggestions where to look/try? I was
having a similar problem with Curl, but once I told curl where the OpenSSL
home dir was and re-built it that solved that problem. The location of my
openSSL is /usr/local, so it's in the 'default' location. I ran the core
through gdb, and that is what prompted me to isolate the problem to
--with-ssl.

Here's my build options/script for php:

./configure \
--with-apxs \
--with-gd \
--with-gd-dir=/usr/local \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-imap=/usr/local/imap-2000e \
--with-imap-ssl \
  --with-openssl \
  --enable-memory-limit

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


Building a SAN using FreeBSD

2007-10-06 Thread Don O'Neil
Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.

TIA!

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


Re: Mutt Help

2007-10-02 Thread Don Read
On Tue, 2 Oct 2007 13:37:11 -0700 Bill Campbell said:

> On Wed, Oct 03, 2007, andrew clarke wrote:
> >On Sun, Sep 30, 2007 at 05:54:37PM -0700, Rem P Roberti wrote:

> >
> >By default, Fetchmail will put your mail wherever $MAIL points to. 
> >Usually this is in a file named /var/mail/username, where username is
> >your login name.
> 
> I thought that the default for fetchmail was to pass the messages
> to the system's MTA (postfix, sendmail, etc.), not to attempt
> delivery itself.
> 
> Bill

Correct.
quote:
   As each message is retrieved, fetchmail normally delivers it  via  SMTP
   to  port 25 on the machine it is running on (localhost), just as though
   it were being passed in over a normal TCP/IP link.  fetchmail  provides
   the  SMTP  server  with  an  envelope  recipient  derived in the manner
   described previously.  The mail will then be delivered locally via your
   system's  MDA (Mail Delivery Agent, usually sendmail(8) but your system
   may use a different one such as smail, mmdf, exim, postfix, or  qmail).
   All  the  delivery-control mechanisms (such as .forward files) normally
   available through your system MDA and local delivery agents will there-
   fore work automatically.

   If  no  port 25 listener is available, but your fetchmail configuration
   was told about a reliable local MDA, it will use  that  MDA  for  local
       delivery instead.
/quote

$ man fetchmail

Regards,
-- 
Don Read  [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portupgrading cups-base gives compiler error

2007-09-30 Thread Don Read
On Sat, 29 Sep 2007 00:06:37 + Aryeh Friedman said:

> When will this be in cvsup?
> 
> --Aryeh

About 30 hours ago.

localhost.root# ls -l /var/log/cvsup.log
-rw-r--r--  1 root  wheel  41979 Sep 29 03:19 /var/log/cvsup.log

localhost.root# grep cups-base /var/log/cvsup.log
 Edit ports/print/cups-base/Makefile
 Edit ports/print/cups-base/distinfo
 Delete ports/print/cups-base/files/patch-CVE-2007-3387
 Checkout ports/print/cups-base/files/patch-Makedefs.in
 Delete ports/print/cups-base/files/patch-Makefile
 Checkout ports/print/cups-base/files/patch-auth.c
 Checkout ports/print/cups-base/files/patch-configure
 Edit ports/print/cups-base/pkg-plist
localhost.root# 

Regards,
-- 
Don Read  [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Stress testing/burning in HDDs

2007-09-27 Thread Don O'Neil
I have an array that has a drive that keeps timing out/failing... So I need
to replace it. However, I want to stress test/burn in a replacement disk
first.

What is the best way to do this?

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


Stress testing/burning in HDD's

2007-09-26 Thread Don O'Neil
I have an array that has a drive that keeps timing out/failing... So I need
to replace it. However, I want to stress test/burn in a replacement disk
first.

What is the best way to do this?

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


Support for LSI SAS 1068?

2007-09-19 Thread Don Smith
Is the LSI SAS 1068 controller (non-RAID) supported (it is used in the 
Dell 5/i integrated SAS on the PowerEdge 2950)?  If so, what driver?

Thanks.

--
F. Donelson Smith (Don)  (919) 962-1884
Research Professor   [EMAIL PROTECTED]
Department of Computer Science   www.cs.unc.edu/~smithfd
University of North Carolina at Chapel Hill
___
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 delete a package

2007-09-17 Thread Don Read
On Mon, 17 Sep 2007 18:34:15 + [EMAIL PROTECTED]
said:


> ===>  Installing for libgda3-1.9.102_3
> ===>  libgda3-1.9.102_3 conflicts with installed package(s):
>  libgda2-1.2.4_1,1
>  They install files into the same place.
>  Please remove them first with pkg_delete(1).


>   ...so I:


> root# pkg_delete libgda2-1.2.4_1,1
> pkg_delete: package 'libgda2-1.2.4_1,1' is required by these other
> packages and may not be deinstalled:
> py25-gnome-extras-2.14.3_3
> straw-0.27
> gnome2-fifth-toe-2.18.3
> ***
>
>...so I then try to install the new libgda separately:

Try using the '-f' force flag as in:
 pkg_delete -f libgda2-1.2.4_1,1'

Regards,
-- 
Don Read  [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Strange port 80 access problem

2007-09-12 Thread Don O'Neil
I have a very strange access problem that just popped up this morning. For
whatever reason, my machine at home over my cable modem can no longer access
Apache on port 80... However other services are accessible elsewhere (Direct
Admin control panel, FTP, SMTP,etc...) BUT Apache is accessible to other
devices, not on my IP... It seems as though there is some sort of IP block
on me, but I can't seem to find anything in the logs to confirm this. I
don't have a 'deny from' in any .htaccess files... What could be going on?

I'm running apache 1.3.39, and FreeBSD 6.1.

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


Re: hosts is ignored

2007-09-12 Thread Don Read
On Wed, 12 Sep 2007 17:51:23 +0800 Erich Dollansky said:

Hi,

> checked. It is readable by all.

> I agree. It is something stupid like.

Try to delete and re-type it. I got stung by a non-printing
character once ...

Regards,
-- 
Don Read  [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Server rebooting itself

2007-08-29 Thread Don O'Neil
I did some digging... I too had bought the machine built by an integrator...
They however used DDR2 RAM that is 2.0V where as the motherboard spec calls
for 1.8V DDR2. I'm betting that is what my problem is, so I ordered some
DDR2 that was listed on the compatibility list from the MB mfctr. I'm hoping
that, as well as the BIOS update solves everything.

I'll let everyone know my result just for their own information. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robin Vleij
Sent: Wednesday, August 29, 2007 1:07 AM
To: freebsd-questions@freebsd.org
Subject: Re: Server rebooting itself

Don O'Neil wrote:

Don,

> This happens randomly every 3-20 days (no apparent pattern). 
> Any suggestions on what to check next? 

As other wrote: it can be anything. I had a similair problem and it almost
drove me mad. It was a webhosting machine running 5.4, later 6.1 and up. The
machine was running Cpanel, a webhosting panel.
I've tried everything (memory testing, stress testing, etc etc): kept
rebooting. Just when I was at the point of actually stopping my webhosting
business (I just have that as a hobby), I swapped the dual Xeon Supermicro
that was giving problems with a really old dual P3 Dell 1650. It's been
running stable since then. Stable but slow. :)

Same for my backup machine, which was a self-built Dual Athlon MP (well,
built by a computer supplier). Swapped that for an old dual P4 Dell 2550
and: all is fine.

Doesn't help you much, except if you have some old Dell hardware laying
around. :)

/Robin

--
F/X Services
Managed Hosting
http://www.fx-services.com | http://www.fxs.se
___
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: Server rebooting itself

2007-08-29 Thread Don O'Neil
We tried that, 2 different PS's and no change, so I don't think that is what
it is. 

I'm thinking its either a BIOS issue, or _maybe_ memory. There may be 1 bad
cell somewhere in RAM that gets randomly hit and causes a reset. I'm going
to try upgrading the BIOS, and then if that doesn't work, put in new ram
from a different manufacturer. I've heard of MB/RAM combo problems before.
The ram we have in there isn't cheap, but is by no means 'top shelf'. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tuc at T-B-O-H.NET
Sent: Tuesday, August 28, 2007 8:29 PM
To: Marwan Sultan
Cc: freebsd-questions@freebsd.org; [EMAIL PROTECTED]
Subject: Re: Server rebooting itself

> > > I tried installing 'mbmon' port, but when I run mbmon -d I get:
> > >
> > > mbmon -d
> > > InitMBInfo: Operation not permitted This program needs "setuid 
> > > root"!!
> > >
> > > The SUID flag is set, and I'm running it from root. I am wondering 
> > > if
> >there
> > > is a possible power supply issue, or something like that. 


ODD STORY... We used to buy servers custom built for us. One of my
requirements was it had to be put on the net for me to check remotely.
SOMEHOW I got the idea to compile perl to put the machine through its paces.
(Don't remember how/why/etc). Once machine I was doing it on and all of a
sudden the compile fails. WEIRD. So I try a few more times.. Dies in the
same place every time. . The integrator swaps this, that, the other
things, to the point only 2 things weren't swapped. Case and power supply.
Swaps the power supply, thing builds fine. Next machine, it starts failing
again. I asked if he used the power supply from last time and he told me
"YES". I offered to BUY the power supply and throw it in the garbage. 

SO, long story short (TOO LATE), WEIRD WEIRD STUFF can happen with a
seemingly good power supply.

Tuc
___
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: Server rebooting itself

2007-08-29 Thread Don O'Neil
That is interesting, we are using filters. What version ot Apache are you
running? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gert Lynge
Sent: Wednesday, August 29, 2007 2:16 AM
To: freebsd-questions@freebsd.org
Subject: RE: Server rebooting itself

>I have a 6.1 machine (AMD X2-5200) that reboots itself from time to 
>time
for
>no apparent reason.

Using HTTP accept filters by any chance?

I am investigating a similar problem - running FreeBSD 6.2 on a SupreMicro
server.
Rebooted randomly from 1-2 times a week to 3-4 times a day. Seemed to be
load related...
No kernel dump, nothing i logs, nothing in the IPMI-cards log. Actually no
clues at all :-/.

I think I narrowed it down to HTTP Accept Filters with the Apache server.
When I disabled those the problem disapered (running without reboots for 9
days now)...
I still need to confirm it 100% by re-enabling it - but I want more uptime
on the box first (just to be sure).

Regards
Gert Lynge


___
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]"


Server rebooting itself

2007-08-28 Thread Don O'Neil
I have a 6.1 machine (AMD X2-5200) that reboots itself from time to time for
no apparent reason. Today, I caught it in a reboot and on the console it
said it was shutting down the CPU's, like someone had hit control-alt-delete
on it (the same message)... But there is no keyboard attached to it, and
nobody was logged in.

This happens randomly every 3-20 days (no apparent pattern). 

I originally thought it was the 3ware controller causing it, but there was
no correlation.

I tried installing 'mbmon' port, but when I run mbmon -d I get:

mbmon -d
InitMBInfo: Operation not permitted
This program needs "setuid root"!!

The SUID flag is set, and I'm running it from root. I am wondering if there
is a possible power supply issue, or something like that. I swapped the PS
some time ago for a bigger one, but that didn't change anything. If anyone
has any suggestions on how to get mbmon to work I'd love to hear them. The
MB is GIGABYTE GA-M61P-S3 GF6100 AM2, which uses the nforce4 chipset. I'm
not even sure if mbmon works with that newer chipset or not.

I'm suspecting power problems further upstream (at the data center) but I
have no way of knowing. There doesn't seem to be any coorelation with usage
either, so I'm kind of stumped.

Any suggestions on what to check next? 

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


Server rebooting itself

2007-08-28 Thread Don O'Neil
I have a 6.1 machine (AMD X2-5200) that reboots itself from time to time for
no apparent reason. Today, I caught it in a reboot and on the console it
said it was shutting down the CPU's, like someone had hit control-alt-delete
on it (the same message)... But there is no keyboard attached to it, and
nobody was logged in.

This happens randomly every 3-20 days (no apparent pattern). 

I originally thought it was the 3ware controller causing it, but there was
no correlation.

I tried installing 'mbmon' port, but when I run mbmon -d I get:

mbmon -d
InitMBInfo: Operation not permitted
This program needs "setuid root"!!

The SUID flag is set, and I'm running it from root. I am wondering if there
is a possible power supply issue, or something like that. I swapped the PS
some time ago for a bigger one, but that didn't change anything. If anyone
has any suggestions on how to get mbmon to work I'd love to hear them. The
MB is GIGABYTE GA-M61P-S3 GF6100 AM2, which uses the nforce4 chipset. I'm
not even sure if mbmon works with that newer chipset or not.

I'm suspecting power problems further upstream (at the data center) but I
have no way of knowing. There doesn't seem to be any coorelation with usage
either, so I'm kind of stumped.

Any suggestions on what to check next? 

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


Re: cheap (supported) wifi card

2007-08-16 Thread Don Hinton
Hi Adam:

Adam J Richardson writes:
 > Don Hinton wrote:
 > > Could someone recommend a good (and
 > > cheap) one that's includes a/b/g*/n and is supported, either natively
 > > or via ndis?
 > 
 > Hi Don,
 > 
 > I can heartily recommend any card based on the TNET1130 chipset. They 
 > work very well with ndisgen. Examples include the Add-on Tech GWP-100 
 > and the Belkin F5D7 series, such as the F5D7051 USB key or the F5D7000 
 > cardbus card. They're all cheap. They do "a", "b" and "g". I'm not sure 
 > about "n", though.

I picked up a Belkin F5D7050, but can seem to figure out how to get it
to work.  I'm obviously missing something.

$ dmesg

ugen0:  on uhub6

$ uname -a
FreeBSD localhost 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Mon Aug 13 16:23:35 UTC 
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP_SMP  i386

I've compiled the following in my kernel, per man ural:

device  wlan# 802.11 support
device  wlan_amrr   # AMRR transmit rate control algorithm
device  uhci# UHCI PCI->USB interface
device  ohci# OHCI PCI->USB interface
device  ehci# EHCI PCI->USB interface (USB 2.0)
device  usb # USB Bus (required)
device  ural# Ralink Technology RT2500USB wireless NICs

But don't see a ural device getting created.  It's hard to tell from
the package, but I suspect it's a version problem.  There's a small
sticker on the bottom of the box that has "00173FAFD030 ver. 4000"
printed on it.  But the part number just says FD7050.

Any help would be appreciated.

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


cheap (supported) wifi card

2007-08-09 Thread Don Hinton
Hi:

I recently purchased a new HP dv9500t laptop.  Unfortunately, the
Intel 4965AGN wireless card it came with isn't supported (yet).  I
tried to use ndisgen, but it caused a panic (both 6.2 and
7.0-current).

Since I'd like to continue using FreeBSD as my desktop (laptop) OS,
and need wireless access, I've decided to pick up a temporary PCMCIA
wireless card in the meantime.  Could someone recommend a good (and
cheap) one that's includes a/b/g*/n and is supported, either natively
or via ndis?

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


Re: How does Sendmail know how it was invoked?

2007-08-04 Thread Don Hinton

> I don't think that's right. As I understand it, the argv argument to
> execve() is passed-on directly as the child processes arguments, and
> the parent can write whatever it likes into argv[0] - it's only
> convention that it's a filename. So mailwrapper passes its own
> argv[0] as sendmail's argv[0]. And so sendmail behaves as if it had been
> invoked as mailq or whatever.

You're exactly right.  I misread the man file and did a little test to confirm 
it. 

thanks...
don
-- 
Don Hinton  or 
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How does Sendmail know how it was invoked?

2007-08-04 Thread Don Hinton
On Saturday 04 August 2007 15:13:34 RW wrote:
> On Sat, 4 Aug 2007 13:23:07 -0500
>
> Dan Nelson <[EMAIL PROTECTED]> wrote:
> > In the last episode (Aug 04), RW said:
> > > mailwrapper checks to see how it was invoked and then looks up the
> > > appropriate command in mailer.conf.  All of the entries in
> > > mailer.conf point to /usr/libexec/sendmail/sendmail, so how does
> > > that binary know what it's supposed to do.
> >
> > The kernel passes the executable name to the running process along
> > with the rest of the commandline arguments.  If you run "ls -l /tmp",
> > for example, the ls binary gets "ls", "-l", and "/tmp" as its
> > arguments. See around line 360 of src/contrib/sendmail/src/main.c.
>
> Yes, I understand that. When you type mailq, mailwrapper's argv[0] will
> contain "mailq". but then mailwrapper looks-up mailq in mailer.conf
> and runs /usr/libexec/sendmail/sendmail. So when sendmail checks it's
> argv[0] I was assuming that it would see "sendmail".
>
> What I didn't get was that when a binary is executed from execve(), it's
> the parent program that sets the argv[0] seen by the child, and not
> the kernel.

Sorry, I should have paid closer attention to your question and actually 
looked at the code to see what they were doing in this specific case.

They original args, including argv[0], are passed as args parameter to execve.  
So from the perspective of the called application, the original argv[0] is 
now argv[1].  

Take a look at how mailwrapper.c uses the arglist structure.

http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/mailwrapper/mailwrapper.c?rev=1.11;content-type=text%2Fplain

hth...
don

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



-- 
Don Hinton  or 
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How does Sendmail know how it was invoked?

2007-08-04 Thread Don Hinton
On Saturday 04 August 2007 13:06:34 RW wrote:
> mailwrapper checks to see how it was invoked and then looks up the
> appropriate command in mailer.conf.   All of the entries in mailer.conf
> point to /usr/libexec/sendmail/sendmail, so how does that binary know what
> it's supposed to do.

It checks argv[0], i.e., the name used to invoke it.  Here's a simple program 
demostrating it:

#include 
int main (int argc, char* argv[])
{
  std::cout << "my name is: " << argv[0] << std::endl;
  return 0;
}

Save it to a file and do the following:
$ c++ -o foo file.cxx
$ ./foo
my name is: ./foo
$ mv foo bar
$ ./bar
my name is: ./bar

hth...
don
>
> I'm just curious.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"



-- 
Don Hinton  or 
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: semi OT: sh scripting problem

2007-08-01 Thread Don Hinton
On Wednesday 01 August 2007 09:35:44 Robert Huff wrote:
>   (This is probably a FAQ, and I'll take a pointer (or even the
> magic words to identify the problem) instead of an answer.)
>   Let's suppose I have a file FILE, with contents:
>
>   foo
>   bar grill
>   baz
>
>   If I do "cat FILE", everything comes out fine.
>   If, however, I write a script:
>
>
>   #!/bin/sh
>
>   for i in `cat FILE`
>   do
>   .
>   .
>   .
>   .
>   done
>
>   $i is set to
>
>   foo
>   bar
>   grill
>   baz
>
>   Is there a way within the script - or, failing that, by
> modifying FILE - to not break at the whitespace?

I'm sure someone will give you a more elegant solution, but short of using sed 
or awk (my preference), this might help:

$ cat test.sh
#!/bin/sh

myloop()
{
  while read line; do
   echo $line
  done
}

cat test.sh | myloop


hth...
don



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



-- 
Don Hinton  or 
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: awk question

2007-07-26 Thread Don Hinton
On Thursday 26 July 2007 15:26:02 Peter Boosten wrote:
> P.U.Kruppa wrote:
> > Hi (and sorry for this slightly OT question),
> >
> > I would like to extract the second last field of each line of a file
> > called user.csv .
> > So I try
> >
> > > awk '{print $(NF-1)}' user.csv
> >
> > awk: trying to access out of range field -1
> >  input record number 1, file user.csv
> >  source line number 1
> >
> > Obviously $(NF-1) doesn't do the trick. Any better idea?
>
> Hmmm, works for me it does...

Me too, except of course if the first line of user.cvs is blank...

>
> Peter



-- 
Don Hinton  or 
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728


FW: Mail delivery failed: returning message to sender

2007-06-29 Thread Don O'Neil
I've been getting these messages fairly regularly lately. We're running SA
3.1.8 and Exim 4.6.6 on FreeBSD 6.1. I've changed the exim->SA config to go
through a pipe rather than the traditional way, set it to only scan messages
<100K, turned off Bayes AutoLearn because it was creating token files in the
multiple hundred megabyte range and it still is popping up. I've held off on
upgrading to SA 3.2.1 because of the performance issues I've read about, I'm
concerned that the problem will get worse if I upgrade. 

Anyone have any ideas on how to fix it? 

Here is the message:

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [EMAIL PROTECTED]
local delivery failed

The following text was generated during the delivery attempt:

-- [EMAIL PROTECTED] --

An error was detected while processing a file of BSMTP input.
The error message was:

  421 Lost incoming connection

The SMTP transaction started in line 0.
The error was detected in line 3.
0 previous messages were successfully processed.
The rest of the batch was abandoned.
421 Lost incoming connection
Transaction started in line 0
Error detected in line 3

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


Re: testing for directory

2007-04-29 Thread Don Hinton
On Sunday 29 April 2007 15:58:48 Roland Smith wrote:
> On Sun, Apr 29, 2007 at 04:39:42PM -0400, Robert Huff wrote:
> > In C code, is there a quick and dirty way to tell if a path
> > points to a directory?  Or do I have to open the parent directory and
> > check the entry for that name?

Just open() the path, then pass the fd to getdirentries(), if it returns -1, 
and errno = EINVAL, it's not a directory.  (man getdirentries for more info)

hth...
don

>
> Try opening the path in question for writing with open(2). If it returns
> -1, and errno is EISDIR, it is a directory.
>
> This will be inconclusive on a read-only filesystem, or if the limit of
> open file handles is reached, or for any other reason that can make
> open(2) fail.
>
> Roland



-- 
Don Hinton  or 
Institute for Software Integrated Systems (ISIS), Vanderbilt University
tel: 615.480.5667 or 615.870.9728


pgpCl51TDL7hA.pgp
Description: PGP signature


Quotacheck failing

2007-04-28 Thread Don O'Neil
I'm having a problem with quotacheck failing and giving this message:

quotacheck: /home/quota.user: seek failed: Invalid argument THE FOLLOWING
FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
/dev/twed0s1d (/home)

However, I have run a full fsck from single user mode on this volume and it
comes up clean every time. I've removed the quota.user and had it
re-generated, but that didn't help either.

Anyone know how/why this is happening, and what do try to do to fix it? Is
there possible some corrupt file somewhere on the volume that quotacheck
doesn't like, but is technically fine according to fsck? 

I haven't heard from any one with any ideas, so I'm reposting. Beyond moving
the data off the array, reformatting it and moving it back (which I did
originally) how can I fix this problem?

Thanks for any suggestions!

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


Quotacheck failing

2007-04-25 Thread Don O'Neil
I'm having a problem with quotacheck failing and giving this message:

quotacheck: /home/quota.user: seek failed: Invalid argument THE FOLLOWING
FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
/dev/twed0s1d (/home)

However, I have run a full fsck from single user mode on this volume and it
comes up clean every time. I've removed the quota.user and had it
re-generated, but that didn't help either.

Anyone know how/why this is happening, and what do try to do to fix it? Is
there possible some corrupt file somewhere on the volume that quotacheck
doesn't like, but is technically fine according to fsck? 

Thanks for any suggestions!

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


RE: Memory >3.5GB not used?

2007-04-24 Thread Don O'Neil
If it's a hack maybe I should just not worry about the extra .5GB then... I
don't really need it, it was just a bit of an annoyance to see the message. 

When I need more RAM I'll just update to AMD64.

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 24, 2007 11:55 AM
To: Don O'Neil
Cc: 'Andy Greenwood'; freebsd-questions@freebsd.org
Subject: Re: Memory >3.5GB not used?

In response to "Don O'Neil" <[EMAIL PROTECTED]>:

> I never had this problem before when I built the kernel the first time.
> Could my module source be corrupt? If so, how do I re-install just the 
> kernel sources for 6.1?

Not all modules work with PAE.  Read the example PAE kernel file for
information.

PAE is an awful hack, BTW.  I've heard a number of people complain that
performance sucks under PAE.

> 
> -Original Message-
> From: Andy Greenwood [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 24, 2007 11:44 AM
> To: Don O'Neil
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Memory >3.5GB not used?
> 
> On 4/24/07, Don O'Neil <[EMAIL PROTECTED]> wrote:
> > Thanks for all who pointed out the obvious PAE option...
> >
> > When I went to rebuild the kernel I got this message:
> >
> > +++
> > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE
-nostdinc
> > -I-   -DHAVE_KERNEL_OPTION_HEADERS -include
> > /usr/src/sys/i386/compile/KERMIT/opt_global.h -I. -I@ 
> > -I@/contrib/altq -I/usr/include -finline-limit=8000 -fno-common -g 
> > -I/usr/src/sys/i386/compile/KERMIT -mno-align-long-strings
> > -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> > -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
> > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
> > -Wcast-qual -fformat-extensions -std=c99 -c 
> > /usr/src/sys/modules/aha/../../dev/aha/aha.c
> > /usr/src/sys/modules/aha/../../dev/aha/aha.c: In function `ahaaction':
> > /usr/src/sys/modules/aha/../../dev/aha/aha.c:848: warning: cast from 
> > pointer to integer of different size
> > *** Error code 1
> >
> > Stop in /usr/src/sys/modules/aha.
> > *** Error code 1
> >
> > Stop in /usr/src/sys/modules.
> > *** Error code 1
> >
> > Stop in /usr/src/sys/i386/compile/KERMIT.
> > +++
> >
> > Why would it be complaining about the aha module when I have it 
> > commented out as a device?
> 
> commenting it from the kernel config will only prevent it from being 
> built staticlly in the kernel. If you want to prevent the module from 
> being built, look at the MODULES_OVERRIDE or WITHOUT_MODULES options to
make.conf.
> 
> man 5 make.conf for more details.
> 
> >
> > -Original Message-
> > From: Bill Moran [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 24, 2007 11:05 AM
> > To: Don O'Neil
> > Cc: freebsd-questions@freebsd.org
> > Subject: Re: Memory >3.5GB not used?
> >
> > In response to "Don O'Neil" <[EMAIL PROTECTED]>:
> >
> > > I just built a new server with an Athlon 64 x2, 4GB Ram and a 
> > > Gigabyte/Nvidia motherboard.
> > >
> > > When I boot the system up it says on the console that 532888K will 
> > > be ignored.
> > >
> > > Of course it isn't put in any of the log files. Dmesg shows this:
> > >
> > > real memory  = 3724476416 (3551 MB) avail memory = 3649908736 
> > > (3480 MB)
> > >
> > > Any reason the extra 1/2 GB isn't showing up or usable? Is there 
> > > something I need to specify in the kernel to get to the other 1/2 GB?
> > > What if I want to install more than 4GB? This mobo supports up to 
> > > 16 GB... Do I need to go to the AMD64 platform to get >4GB?
> > >
> > > I'm running FreeBSD 6.1 i386 SMP kernel.
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.ht
> > ml
> > #PAE
> >
> > --
> > Bill Moran
> > http://www.potentialtech.com
> >
> > ___
> > freebsd-questions@freebsd.org mailing list 
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> >
> 
> 
> --
> --
> I'm nerdy in the extreme and whiter than sour cream
> 
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


--
Bill Moran
http://www.potentialtech.com

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


RE: Memory >3.5GB not used?

2007-04-24 Thread Don O'Neil
I never had this problem before when I built the kernel the first time.
Could my module source be corrupt? If so, how do I re-install just the
kernel sources for 6.1? 

-Original Message-
From: Andy Greenwood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 24, 2007 11:44 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Memory >3.5GB not used?

On 4/24/07, Don O'Neil <[EMAIL PROTECTED]> wrote:
> Thanks for all who pointed out the obvious PAE option...
>
> When I went to rebuild the kernel I got this message:
>
> +++
> cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc
> -I-   -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/src/sys/i386/compile/KERMIT/opt_global.h -I. -I@ -I@/contrib/altq 
> -I/usr/include -finline-limit=8000 -fno-common -g 
> -I/usr/src/sys/i386/compile/KERMIT -mno-align-long-strings
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> -ffreestanding -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wcast-qual -fformat-extensions -std=c99 -c 
> /usr/src/sys/modules/aha/../../dev/aha/aha.c
> /usr/src/sys/modules/aha/../../dev/aha/aha.c: In function `ahaaction':
> /usr/src/sys/modules/aha/../../dev/aha/aha.c:848: warning: cast from 
> pointer to integer of different size
> *** Error code 1
>
> Stop in /usr/src/sys/modules/aha.
> *** Error code 1
>
> Stop in /usr/src/sys/modules.
> *** Error code 1
>
> Stop in /usr/src/sys/i386/compile/KERMIT.
> +++
>
> Why would it be complaining about the aha module when I have it 
> commented out as a device?

commenting it from the kernel config will only prevent it from being built
staticlly in the kernel. If you want to prevent the module from being built,
look at the MODULES_OVERRIDE or WITHOUT_MODULES options to make.conf.

man 5 make.conf for more details.

>
> -Original Message-
> From: Bill Moran [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 24, 2007 11:05 AM
> To: Don O'Neil
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Memory >3.5GB not used?
>
> In response to "Don O'Neil" <[EMAIL PROTECTED]>:
>
> > I just built a new server with an Athlon 64 x2, 4GB Ram and a 
> > Gigabyte/Nvidia motherboard.
> >
> > When I boot the system up it says on the console that 532888K will 
> > be ignored.
> >
> > Of course it isn't put in any of the log files. Dmesg shows this:
> >
> > real memory  = 3724476416 (3551 MB)
> > avail memory = 3649908736 (3480 MB)
> >
> > Any reason the extra 1/2 GB isn't showing up or usable? Is there 
> > something I need to specify in the kernel to get to the other 1/2 GB?
> > What if I want to install more than 4GB? This mobo supports up to 16 
> > GB... Do I need to go to the AMD64 platform to get >4GB?
> >
> > I'm running FreeBSD 6.1 i386 SMP kernel.
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html
> #PAE
>
> --
> Bill Moran
> http://www.potentialtech.com
>
> ___
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>


--
--
I'm nerdy in the extreme and whiter than sour cream

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


RE: Memory >3.5GB not used?

2007-04-24 Thread Don O'Neil
Thanks for all who pointed out the obvious PAE option...

When I went to rebuild the kernel I got this message:

+++
cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc
-I-   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/src/sys/i386/compile/KERMIT/opt_global.h -I. -I@ -I@/contrib/altq
-I/usr/include -finline-limit=8000 -fno-common -g
-I/usr/src/sys/i386/compile/KERMIT -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -std=c99 -c /usr/src/sys/modules/aha/../../dev/aha/aha.c
/usr/src/sys/modules/aha/../../dev/aha/aha.c: In function `ahaaction':
/usr/src/sys/modules/aha/../../dev/aha/aha.c:848: warning: cast from pointer
to integer of different size
*** Error code 1

Stop in /usr/src/sys/modules/aha.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/i386/compile/KERMIT.
+++

Why would it be complaining about the aha module when I have it commented
out as a device?

-Original Message-
From: Bill Moran [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 24, 2007 11:05 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: Memory >3.5GB not used?

In response to "Don O'Neil" <[EMAIL PROTECTED]>:

> I just built a new server with an Athlon 64 x2, 4GB Ram and a 
> Gigabyte/Nvidia motherboard.
> 
> When I boot the system up it says on the console that 532888K will be 
> ignored.
> 
> Of course it isn't put in any of the log files. Dmesg shows this:
> 
> real memory  = 3724476416 (3551 MB)
> avail memory = 3649908736 (3480 MB)
> 
> Any reason the extra 1/2 GB isn't showing up or usable? Is there 
> something I need to specify in the kernel to get to the other 1/2 GB? 
> What if I want to install more than 4GB? This mobo supports up to 16 
> GB... Do I need to go to the AMD64 platform to get >4GB?
> 
> I'm running FreeBSD 6.1 i386 SMP kernel.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#PAE

--
Bill Moran
http://www.potentialtech.com

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


Memory >3.5GB not used?

2007-04-24 Thread Don O'Neil
I just built a new server with an Athlon 64 x2, 4GB Ram and a
Gigabyte/Nvidia motherboard.

When I boot the system up it says on the console that 532888K will be
ignored.

Of course it isn't put in any of the log files. Dmesg shows this:

real memory  = 3724476416 (3551 MB)
avail memory = 3649908736 (3480 MB)

Any reason the extra 1/2 GB isn't showing up or usable? Is there something I
need to specify in the kernel to get to the other 1/2 GB? What if I want to
install more than 4GB? This mobo supports up to 16 GB... Do I need to go to
the AMD64 platform to get >4GB?

I'm running FreeBSD 6.1 i386 SMP kernel.


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


Problem with Quotacheck after crash

2007-04-23 Thread Don O'Neil
This question is related to my recent question about not being able to
delete files after a disk crash... I solved that problem with the chflags
(the no-delete flag was set!).. Thanks for all who suggested it.

Now that I've deleted the files, I thought this problem would go away, but
its not:

 quotacheck: /home/quota.user: seek failed: Invalid argument
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
/dev/twed0s1d (/home)

I've run an fsck on the volume from single user mode, after deleting the
files, and it was clean, but I still get this error. I deleted the
quota.user & quota.group files because they were corrupted when the crash
happened. 

I'm at a loss as to what to do next, any suggestions?

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


Unable to delete files/directories - bogus user/group ID's

2007-04-23 Thread Don O'Neil
I had a crash on a disk array last week that was severe enough that fsck
wouldn't fix it, even in single user mode. So, I was forced to suck off the
good data, and restore the bad stuff from backups.

However there are 2 directories that contain files/directories which have
bogus user & group ID's that the system just won't let me do anything to. I
can delete them, cant rename them, cant move them, cant chmod/chown, cant
cat to them, nothing... I just get "Operation not permitted".

Here's a sample of one of them: 

---xrx  1 2761022747  1016642816  0 Apr 19 15:35 Video
d--s---rw-  2 3251161791  726015594  512 Apr 19 15:41 .shrc

Anyone have any ideas on how to get rid of these files?

I've done an fsck from single user mode and that doesn't come up with
anything. Short of copying all the data over to a new volume sans these
files and then reformatting the old volume and then moving the good files
back what can I do?

Any assistance would be appreciated. I'd also like to thank everyone who
browses this group and regularly posts responses... Without you guys some of
us would never get the help and knowledge we need! Thanks in advance!

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


Unable to delete files/directories - bogus user/group ID's

2007-04-22 Thread Don O'Neil
I had a crash on a disk array last week that was severe enough that fsck
wouldn't fix it, even in single user mode. So, I was forced to suck off the
good data, and restore the bad stuff from backups.

However there are 2 directories that contain files/directories which have
bogus user & group ID's that the system just won't let me do anything to. I
can delete them, cant rename them, cant move them, cant chmod/chown, cant
cat to them, nothing... I just get "Operation not permitted".

Here's a sample of one of them: 

---xrx  1 2761022747  1016642816  0 Apr 19 15:35 Video
d--s---rw-  2 3251161791  726015594  512 Apr 19 15:41 .shrc

Anyone have any ideas on how to get rid of these files?

I've done an fsck from single user mode and that doesn't come up with
anything. Short of copying all the data over to a new volume sans these
files and then reformatting the old volume and then moving the good files
back what can I do?

Any assistance would be appreciated. I'd also like to thank everyone who
browses this group and regularly posts responses... Without you guys some of
us would never get the help and knowledge we need! Thanks in advance!

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


Supported PCI Express x1 Ethernet Cards

2007-04-20 Thread Don O'Neil
Does anyone have a suggestion for a supported 10/100/1000 PCI Express x1
ethernet card supported under 6.1?

Thanks!

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


nVidia GeForce 6100/430 Realtek 8211 Gig-E on FreeBSD 6.1

2007-04-19 Thread Don O'Neil
Does anyone know how to get a nVidia GeForce 6100/430 Realtek 8211 Gig-E
interface to work on FreeBSD 6.1? Loading the standard nVidia lan drivers
doesn't work, nor does anything in the generic kernel. Is there a
patch/driver for this device? The MB is a Gigabyte M61P-S3.

Thanks!

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


Migrating from i386 to AMD64

2007-04-17 Thread Don O'Neil
I've currently got a production server in place that I want to do some
hardware upgrades on. We're currently running a Dual P3 1.4 GHz and I plan
on replacing it with an AMD X2-5200+ cpu/mb.

Now.. Can I just use the same SMP kernel I have currently (assuming the
correct drivers are loaded) for the X2 processor if I just want to run it in
32 bit mode? Or do I need to do a complete re-install/upgrade to the AMD64
platform version of FreeBSD?

I'm not worried about memory usage past 4 GB (that's all we're installing),
or the slight (possible) increase in speed from using the native 64 bit
stuff.

Are there any issues I should be aware of?

Of course I'm going to bench test everything with an image of the production
server, just to be sure, but I'd like to know what I'm getting into before I
start.

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


  1   2   3   4   >