Re: SATA time outs

2010-06-15 Thread Casey Scott
I'd appreciate it if someone could lend some assistance with this issue. The 
machine in question is pretty much unusable atm!

Regards,
Casey

- Casey Scott ca...@phantombsd.org wrote:

 Since upgrading to 8.0 RELEASE, I continually get these errors:
 
 ...
 Jun 11 15:24:08  kernel: ad6: 953869MB Seagate ST31000340AS SD1A
 at ata3-master SATA150
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): TEST UNIT READY.
 CDB: 0 0 0 0 0 0
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): CAM Status: SCSI
 Status Error
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): SCSI Status: Check
 Condition
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): UNIT ATTENTION
 asc:29,2
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): SCSI bus reset
 occurred
 Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): Retrying Command
 (per Sense Data)
 ...
 
 
 I've tried 3 different drives w/ 2 different disk controllers.
 Anything I use as the second drive generates this message on boot, and
 will eventually fail with timeout errors after a couple hours.  The
 other drive on the system, ad4, never displays these symptoms. This
 isn't new hardware, and worked flawlessly until now.
 
 Any suggestions? Has a bug been introduced into the ata driver?
 
 Regards,
 Casey
 ___
 freebsd-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: SATA time outs

2010-06-15 Thread Casey Scott
I did try different cables. Just failed to mention that. The LiveCD is 
a great suggestion. I'll try that this evening, and see how everything
 works. 

I considered the hardware being marginal, but was surprised when a 
brand new disk controller also failed. In any case, I'll try the LiveCD
and see what I've got to work with. 

Thanks,
Casey

- Matthew Seaman m.sea...@infracaninophile.co.uk wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 15/06/2010 16:06:36, Casey Scott wrote:
  I'd appreciate it if someone could lend some assistance with this
  issue. The machine in question is pretty much unusable atm!
 
 You've tried swapping out the drives and the disk controllers, but
 have
 you tried swapping out the SATA cables?  I say this, because I
 personally once spent about two weeks trying to debug a weird problem
 that turned out to be due to a broken conductor in some ethernet
 cable.
 Talk about egg-on-face.
 
 When doing diagnosis by swapping out components, always start with
 the
 cheapest components and work up to the most expensive.
 
 Now, component failure is certainly a possibility given that you say
 the
 kit is some years old.  That can be a side effect of upgrading to a
 new
 release -- if you're doing a lot of extra compiling and stuff the
 extra
 load can tip marginal hardware over the edge -- but it is a also
 possibility that there is some sort of introduced bug with the new
 system.
 
 To confirm this, you'll need to boot back into an older version of
 the
 system and show that all your hardware comes back to life.  Rather
 than
 blowing away all your upgrading work, try using a livecd -- you can
 fsck
 and mount 8.0 UFS filesystems from a 7.x livecd no problem, but be
 careful with ZFS, as there may have been some on-disk format changes
 that aren't backwards compatible.  You might want to grab an 8-STABLE
 snapshot .iso as well: if that works, then you can be fairly certain
 the
 problem will be fixed in 8.1-RELEASE  (although there has definitely
 been a zpool version bump between 8.0-RELEASE and 8.1-RELEASE).
 
   Cheers,
 
   Matthew
 
 - -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAkwXn2IACgkQ8Mjk52CukIxYxQCgi693uu68KKuY1Hg8ScwkP8kV
 wsYAoIm9g14MHpsktg9cXIXzC5ZVANpg
 =hvho
 -END PGP SIGNATURE-
___
freebsd-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: SATA time outs

2010-06-15 Thread Casey Scott
 
 After a reread when it finally stuck that this started with an upgrade
 to 8, 
 I like Mathew's suggestion to use a 7.x LiveCD (and possibly a -Stable
 
 snapshot as well) to see if it is a 7.x vs 8.x problem. Even so, there
 still 
 might be a possibility that firmware in the drive tickled something in
 8.x 
 that it didn't hit under 7.x. 

Same issue occurs under 7.2. I guess I ran this hardware into the ground.
:-).  Thanks for the help everyone that replied. 


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


SATA time outs

2010-06-14 Thread Casey Scott
Since upgrading to 8.0 RELEASE, I continually get these errors:

...
Jun 11 15:24:08  kernel: ad6: 953869MB Seagate ST31000340AS SD1A at 
ata3-master SATA150
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): TEST UNIT READY. CDB: 0 0 0 0 
0 0
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): CAM Status: SCSI Status Error
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): SCSI Status: Check Condition
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): UNIT ATTENTION asc:29,2
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): SCSI bus reset occurred
Jun 11 15:24:08  kernel: (probe6:ahc0:0:6:0): Retrying Command (per Sense 
Data)
...


I've tried 3 different drives w/ 2 different disk controllers. Anything I use 
as the second drive generates this message on boot, and will eventually fail 
with timeout errors after a couple hours.  The other drive on the system, ad4, 
never displays these symptoms. This isn't new hardware, and worked flawlessly 
until now.

Any suggestions? Has a bug been introduced into the ata driver?

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


ipfw/natd in 8.1

2010-05-28 Thread Casey Scott
Since a rebuild to FBSD 8.1, I can't get natd to function correctly. Below is 
my ipfw config. It closely follows the example in the Handbook.

http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html (30.6.5.7 An 
Example NAT and Stateful Ruleset -- Ruleset #1)

firewall config (logging enabled temporarily while troubleshooting)

3 16133 2323153 allow ip from any to any via em0
4   672  144006 allow ip from any to any via lo0
00100965322 divert 8668 log ip from any to any in via fxp0
00101 0   0 check-state
00120644542 skipto 500 log udp from any to any out via fxp0 keep-state
00125   203   49916 skipto 500 log tcp from any to any out via fxp0 setup 
keep-state
00130262184 skipto 500 icmp from any to any out via fxp0 keep-state
00300 0   0 deny ip from 192.168.0.0/16 to any in via fxp0
00301 0   0 deny ip from 172.16.0.0/12 to any in via fxp0
00302 0   0 deny ip from 10.0.0.0/8 to any in via fxp0
00303 0   0 deny ip from 127.0.0.0/8 to any in via fxp0
00304 0   0 deny ip from 0.0.0.0/8 to any in via fxp0
00305 0   0 deny ip from 169.254.0.0/16 to any in via fxp0
00306 0   0 deny ip from 192.0.2.0/24 to any in via fxp0
00307 0   0 deny ip from 204.152.64.0/23 to any in via fxp0
00308 0   0 deny ip from 224.0.0.0/3 to any in via fxp0
00400101306 allow log udp from any to any dst-port 53,123 in keep-state
00401 0   0 allow log icmp from any to any icmptypes 0,3,11
00420 91112 allow log tcp from any to me dst-port 
20,21,53,76,80,123,443 in via fxp0 setup limit src-addr 20
0045024 876 deny log logamount 1 ip from any to any
00500   293   56642 divert 8668 log ip from any to any
0051078   21591 allow log ip from any to any
65535   262   18726 deny ip from any to any


/etc/natd.conf

use_sockets
same_ports
unregistered_only
interface fxp0


Natd only properly NATs the first packet out:

# /sbin/natd -v -f /etc/natd.conf
Loading /lib/libalias_cuseeme.so
Loading /lib/libalias_ftp.so
Loading /lib/libalias_irc.so
Loading /lib/libalias_nbt.so
Loading /lib/libalias_pptp.so
Loading /lib/libalias_skinny.so
Loading /lib/libalias_smedia.so
natd[10702]: Aliasing to 74.94.69.225, mtu 1500 bytes
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 74.94.69.225:61447 - 65.61.153.152:80
In  {default}[TCP]  [TCP] 65.61.153.152:80 - 74.94.69.225:61447 aliased to
   [TCP] 65.61.153.152:80 - 192.168.1.6:61447
In  {default}[TCP]  [TCP] 65.61.153.152:80 - 192.168.1.6:61447 aliased to
   [TCP] 65.61.153.152:80 - 192.168.1.6:61447
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 192.168.1.6:61447 - 65.61.153.152:80
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 192.168.1.6:61447 - 65.61.153.152:80
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 192.168.1.6:61447 - 65.61.153.152:80
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 192.168.1.6:61447 - 65.61.153.152:80
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 192.168.1.6:61447 - 65.61.153.152:80
In  {default}[TCP]  [TCP] 65.61.153.152:80 - 74.94.69.225:61447 aliased to
   [TCP] 65.61.153.152:80 - 192.168.1.6:61447
In  {default}[TCP]  [TCP] 65.61.153.152:80 - 192.168.1.6:61447 aliased to
   [TCP] 65.61.153.152:80 - 192.168.1.6:61447
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 192.168.1.6:61447 - 65.61.153.152:80
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 192.168.1.6:61447 - 65.61.153.152:80
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 192.168.1.6:61447 - 65.61.153.152:80
Out {default}[TCP]  [TCP] 192.168.1.6:61447 - 65.61.153.152:80 aliased to
   [TCP] 192.168.1.6:61447 - 65.61.153.152:80


I'm not sure why this happens!  Same config worked w/ FBSD 7x.


TIA,
Casey
___
freebsd-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: natd in 8.1

2010-05-19 Thread Casey Scott
I haven't had a chance to work on this yet. I'll be out of town for a little 
while, and will update the thread upon my arrival.

Thanks.


Casey

- Коньков Евгений kes-...@yandex.ru wrote:

 Здравствуйте, Casey.
 
 What does natd with '-v' options shows? what is aliasing?
 
 You must bind natd to external interface
 
 NEVER DO: any to any divert!!!
 
 NOTICE: no traffice go through this rule
 CS 05000 00 divert 8668 ip from any to any out via fxp0
 
 NEVER DO: open firewall because of security reasons
 CS 0500129 1484 allow ip from any to any
 
 All 'ALLOW' rules are useless! because of 5001 rule
 
 
 You drop all traffic before divert ;-) this make me confused a little
 CS 04000   75224282 deny log logamount 1 ip from any to any
 CS 05000 00 divert 8668 ip from any to any out via fxp0
 
 
 NOTICE:
 CS 0120029 1484 skipto 5000 ip from 192.168.1.0/24 to any out
 via fxp0 setup keep-state
 maybe there some bugs in ipfw, try 4999
 
 
 Please post where problem were for other readers with same question
 thank
 
 Вы писали 18 мая 2010 г., 18:51:10:
 
 CS I recently rebuilt a server from 7.x to 8.x.  Using the exact
 CS same firewall  natd config, natd appears not to be aliasing the
 CS private address when the traffic leaves the external interface. 
 CS When sniffing traffic w/ tcpdump, I see the private address as
 the
 CS source address on the outbound request. 
 
 CS e.g.
 
 CS 192.168.1.1  = internal source of request
 CS 74.75.76.77 = public address (website)
 CS 12.13.14.15 = 
 
 CSInternalExternal
 192.168.1.10  -   74.75.76.77(NAT)   192.168.1.10 - 
 74.75.76.77
 
 
 CS Rather than  it should be:
 
 
 
 CSInternalExternal
 192.168.1.10  -   74.75.76.77(NAT)   12.13.14.15 - 
 74.75.76.77
 
 
 CS Watching natd with ktrace shows that no traffic gets passed to
 CS natd when the source is internal, however external traffic passes
 through it.
 
 CS Firewall config:
 CS
 ---
 CS 00200 11946  3204818 allow ip from any to any via lo0
 CS 00300 00 deny ip from any to 127.0.0.0/8
 CS 0030110  528 deny ip from any to 74.94.69.225 dst-port
 445
 CS 00302 1   78 deny ip from any to 74.94.69.225 dst-port
 137
 CS 00303 9  544 deny ip from any to 74.94.69.225 dst-port
 135
 CS 00304 00 deny ip from 224.0.0.0/4 to any via fxp0
 CS 00305   67118788 deny ip from any to 224.0.0.0/4 via fxp0
 CS 01000  9093  1158436 allow ip from any to any via em0
 CS 01050 51045  5205047 divert 8668 ip from any to any in via fxp0
 CS 01100 00 check-state
 CS 01100 69183 83429465 allow ip from me to any
 CS 0120029 1484 skipto 5000 ip from 192.168.1.0/24 to any out
 via fxp0 setup keep-state
 CS 01201 00 skipto 5000 udp from 192.168.1.0/24 to any
 out via fxp0 keep-state
 CS 01202 45002  4690467 allow ip from any to any established
 CS 01800  142172620 allow tcp from any to me dst-port
 20,21,53,76,80,123,443
 CS 01900 3  194 allow ip from 216.251.112.0/24,208.95.100.4
 to any
 CS 02000   530   127559 allow udp from any 53 to any
 CS 02100   83459414 allow udp from any to any dst-port 53
 CS 02150  1930   146680 allow udp from any 123 to me dst-port 123
 CS 02200   46839312 allow icmp from any to any icmptypes 0,3,11
 CS 04000   75224282 deny log logamount 1 ip from any to any
 CS 05000 00 divert 8668 ip from any to any out via fxp0
 CS 0500129 1484 allow ip from any to any
 CS 65535 00 deny ip from any to any
 CS
 ---
 
 CS natd.conf
 CS
 ---
 CS use_sockets
 CS same_ports
 CS unregistered_only
 CS interface fxp0
 
 CS redirect_port tcp 192.168.1.82:82   82
 CS redirect_port tcp 192.168.1.41:8082 8082
 CS redirect_port tcp 192.168.1.3:3389  3389
 CS redirect_port udp 192.168.1.3:3389  3389
 CS redirect_port tcp 192.168.1.6:6881-6889 6881-6889
 CS
 ---
 
 
 CS As I previously stated, this exact same config worked great in
 CS 7.x. I built a kernel in 8.x w/ IPFIREWALL  IPDIVERT, and
 CS reviewed UPDATING.  Have I missed something? 
 
 CS TIA,
 CS Casey
 
 CS ___
 CS freebsd-questions@freebsd.org mailing list
 CS http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 CS To unsubscribe, send any mail to
 CS freebsd-questions-unsubscr...@freebsd.org
 
 
 
 -- 
 С уважением,
  Коньков  mailto:kes-...@yandex.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 

natd in 8.1

2010-05-18 Thread Casey Scott
I recently rebuilt a server from 7.x to 8.x.  Using the exact same firewall  
natd config, natd appears not to be aliasing the private address when the 
traffic leaves the external interface.  When sniffing traffic w/ tcpdump, I see 
the private address as the source address on the outbound request. 

e.g.

192.168.1.1  = internal source of request
74.75.76.77 = public address (website)
12.13.14.15 = 

   InternalExternal
192.168.1.10  -   74.75.76.77(NAT)   192.168.1.10 -  74.75.76.77


Rather than  it should be:



   InternalExternal
192.168.1.10  -   74.75.76.77(NAT)   12.13.14.15 -  74.75.76.77


Watching natd with ktrace shows that no traffic gets passed to natd when the 
source is internal, however external traffic passes through it.

Firewall config:
---
00200 11946  3204818 allow ip from any to any via lo0
00300 00 deny ip from any to 127.0.0.0/8
0030110  528 deny ip from any to 74.94.69.225 dst-port 445
00302 1   78 deny ip from any to 74.94.69.225 dst-port 137
00303 9  544 deny ip from any to 74.94.69.225 dst-port 135
00304 00 deny ip from 224.0.0.0/4 to any via fxp0
00305   67118788 deny ip from any to 224.0.0.0/4 via fxp0
01000  9093  1158436 allow ip from any to any via em0
01050 51045  5205047 divert 8668 ip from any to any in via fxp0
01100 00 check-state
01100 69183 83429465 allow ip from me to any
0120029 1484 skipto 5000 ip from 192.168.1.0/24 to any out via fxp0 
setup keep-state
01201 00 skipto 5000 udp from 192.168.1.0/24 to any out via fxp0 
keep-state
01202 45002  4690467 allow ip from any to any established
01800  142172620 allow tcp from any to me dst-port 20,21,53,76,80,123,443
01900 3  194 allow ip from 216.251.112.0/24,208.95.100.4 to any
02000   530   127559 allow udp from any 53 to any
02100   83459414 allow udp from any to any dst-port 53
02150  1930   146680 allow udp from any 123 to me dst-port 123
02200   46839312 allow icmp from any to any icmptypes 0,3,11
04000   75224282 deny log logamount 1 ip from any to any
05000 00 divert 8668 ip from any to any out via fxp0
0500129 1484 allow ip from any to any
65535 00 deny ip from any to any
---

natd.conf
---
use_sockets
same_ports
unregistered_only
interface fxp0

redirect_port tcp 192.168.1.82:82   82
redirect_port tcp 192.168.1.41:8082 8082
redirect_port tcp 192.168.1.3:3389  3389
redirect_port udp 192.168.1.3:3389  3389
redirect_port tcp 192.168.1.6:6881-6889 6881-6889
---


As I previously stated, this exact same config worked great in 7.x. I built a 
kernel in 8.x w/ IPFIREWALL  IPDIVERT, and reviewed UPDATING.  Have I missed 
something? 

TIA,
Casey

___
freebsd-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: URGENT: Need help rebuilding iir RAID5 array with failed drive

2008-06-26 Thread Casey Scott

- Derek Ragona [EMAIL PROTECTED] wrote:

 At 08:49 AM 6/26/2008, Garrett Cooper wrote:
 Hello,
First off sorry for the cross-post. I typically don't do this
 but this is an important question, so please bear with me. I'm just
 trying to get more eyes on the subject so I can (maybe) get a reply
 quicker...
I'm running 8-CURRENT on my machine and it appears that one
 of
 the disks in my RAID5 array has taken a nose dive (BIOS recognizes
 that it exists, but Intel Matrix Manager claims that the disk is an
 Offline Member). After doing some reading it appears that it's
 kaput, so I need to get a replacement disk to fix this one...
That aside, I need to determine how to rebuild the array in a
 Unix environment because Intel only provides instructions for how to
 use their Windows matrix manager. If anyone can point me to some
 links
 or provide me with some pointers on how to correct this issue, I'd
 owe
 you a lot; in fact the next time you come by Santa Cruz, CA I'll
 gladly treat you to some beers or something else you might want
 :)...
 Linux solutions (if there isn't a proper one for FreeBSD) are valid,
 as long as the core data remains uncorrupted and I can do what I
 need
 to from a LiveCD. I'm just scared to boot up OS and have it do some
 irrevocable operation like fsck -y and assume parity errors are ok
 or
 something along those lines  (I don't remember if I set rc.conf to
 fsck -y and I know I can change that from single-user mode, but I
 want
 to play things conservatively if at all possible) :\...
Filesystem is UFS2 with softupdates of course.
Point proven that I need to backup my data more often :(...
 TIA,
 -Garrett
 
 PS If replying on the questions@ list, please CC me as I'm not
 subscribed to that list.
 
 
 Most of the intel RAID functions can be accessed through the BIOS
 console 
 too.  It isn't as pretty as the GUI versions but has the same
 functions.
 
 The drives are labeled so the RAID controller will know a drive was 
 replaced.  You just need to tell the controller to add it to the array
 and 
 rebuild the array.

I haven't seen an Intel card in a while, but if you see an initialize 
option, DON'T USE IT. On other cards it exists, and destroys the volume.

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


irq storm detected on internal NIC since 7.0 upgrade

2008-06-08 Thread Casey Scott
The servers internal NIC is a Intel 1000 Gigabit card, using the em0 driver. I 
never 
had an issue with it w/ the 5.x or 6x series or freebsd, so I suspect a buggy 
driver in 7.0 

/var/log/messages contains spams of these messages:
kernel: interrupt storm detected on irq19:; throttling interrupt source

Anyone else experiencing this issue?


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


Re: 6.3 to 7.0 STABLE upgrade buildworld failures

2008-06-06 Thread Casey Scott
The problem was not building TOOLCHAIN. So I was not making the includes 
everything else needed. As of now, upgraded and running merrily. Although,
I am having issues with the named rc control script. :-\

Casey

- Eric Zimmerman [EMAIL PROTECTED] wrote:

 Wojciech Puchar wrote:
  
  Can we no longer use make buildworld to upgrade from source
 builds? 
  Everytime I've tried, I get build errors. I've gotten the
 impression 
  from a few things I've read that freebsd-update is suppose to be
 used. 
  I don't want a binary install/upgrade though. I've just sync from
 CVS 
  with this in the config:
  
  well i exactly upgraded this way. no errors.
  ___
 
 same here. no errors on a few boxes.  do you have extra stuff in your
 
 make.conf file? if so, comment them out and try again
 ___
 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]


rc.d/named

2008-06-06 Thread Casey Scott
I have quite a bit of trouble with the /etc/rc.d/named script. The source 
of the biggest issue was the rc_run_command was not issuing the run command
with /usr/sbin/named. It was just running the arguments w/o the executable.

e.g.   -t /var/named  vs. /usr/sbin/named -t /var/named

I have the stock /etc/defaults/rc.conf, and the only thin in /etc/rc.conf 
related to named is a correction to the chroot directory... For the time
being that issue has been resolve by hacking the rc.conf to issue the 
executable where the flags are specified. However, when issuing /etc/rc.d/named
I get:

named not running? (check /var/run/named/pid).


/var/run/named/pid contains the correct PID, and has permissions:

lrwxr-xr-x  1 root  bind 

Anyone else having trouble with this? None of the other init scripts are having
problems.


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


6.3 to 7.0 STABLE upgrade buildworld failures

2008-06-05 Thread Casey Scott
Can we no longer use make buildworld to upgrade from source builds? Everytime 
I've tried, I get build errors. I've gotten the impression from a few things 
I've read that freebsd-update is suppose to be used. I don't want a binary 
install/upgrade though. I've just sync from CVS with this in the config:

*default host=cvsup15.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
*default compress
src-all


Pretty much the same config I've always used, except the RELENG_7.

I continually get errors when make buildworld. I went back to the 6.3 source, 
and successfully make buildworld. 

My current attempt at buildword with the 7.0 died like this:
*
=== usr.bin/awk (obj,build-tools)
yacc -d -o awkgram.c /usr/src/usr.bin/awk/../../contrib/one-true-awk/awkgram.y
yacc: 43 shift/reduce conflicts
yacc: 85 reduce/reduce conflicts
ln -sf awkgram.h ytab.h
cc -O -pipe -DHAS_ISBLANK -I. -I/usr/src/usr.bin/awk/../../contrib/one-true-awk 
-DFOPEN_MAX=64  -I/usr/obj/usr/src/tmp/legacy/usr/include  
-L/usr/obj/usr/src/tmp/legacy/usr/lib 
/usr/src/usr.bin/awk/../../contrib/one-true-awk/maketab.c  -o maketab
=== lib/libmagic (obj,build-tools)
cc -DHAVE_CONFIG_H -DCOMPILE_ONLY  -I/usr/src/lib/libmagic 
-I/usr/src/lib/libmagic/../../contrib/file -o mkmagic 
/usr/src/lib/libmagic/../../contrib/file/apprentice.c 
/usr/src/lib/libmagic/../../contrib/file/funcs.c 
/usr/src/lib/libmagic/../../contrib/file/magic.c 
/usr/src/lib/libmagic/../../contrib/file/print.c
=== usr.sbin/sysinstall (obj,build-tools)
cc -o rtermcap /usr/src/usr.sbin/sysinstall/rtermcap.c -ltermcap
=== gnu/usr.bin/cc/cc_tools (obj,depend,all)
make: don't know how to make 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/ansidecl.h. Stop
*** Error code 2

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

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

Stop in /usr/src.
*


The previous attempt died due to a missing tconfig.h.  Can anyone shed some 
light on this please? I can't remember ever having trouble with a buildworld 
before!!

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


Re: 6.3 to 7.0 STABLE upgrade buildworld failures

2008-06-05 Thread Casey Scott
commenting NO_TOOLCHAIN did the trick.

Thanks,
Casey

- Chris St Denis [EMAIL PROTECTED] wrote:

 Various parts of the FreeBSD base system are interdependent on each 
 other. It's likely that one of the NO_* lines is breaking it.
 
 Since libgcc is what is failing I'd suspect NO_TOOLCHAIN
 
 mergemaster is normally done after installworld, but the -p mode is
 
 for pre-buildworld. See the man page for details.
 
 
 
 Casey Scott wrote:
  I thought mergemaster was done after installworld? I've tried 3
 different cvs sources, same result. Maybe its my make.conf? Here's
 what I've got:
 
 
 
  CPUTYPE?=p4
  CFLAGS= -O -pipe
  NO_BLUETOOTH=   true# do not build Bluetooth related stuff
  NO_I4B= true# do not build isdn4bsd package
  NO_LPR= true# do not build lpr and related programs
  NO_SENDMAIL=true# do not build sendmail and related
 programs
  NO_SHAREDOCS=   true# do not build the 4.4BSD legacy docs
  NO_TOOLCHAIN=   true# do not build programs for program
 development
  NO_USB= true# do not build usbd(8) and related programs
  NO_VINUM=   true# do not build Vinum utilities
  NO_ATM= true# do not build ATM related programs and
 libraries
  NO_GAMES=   true# do not build games (games/ subdir)
  NO_INET6=   true# do not build IPv6 related programs and
 libraries
  NO_PROFILE= true# Avoid compiling profiled libraries
  SENDMAIL_MAP_PERMS=
  WITHOUT_X11=yes
  PERL_VER=5.8.8
  PERL_VERSION=5.8.8
 
 
 
  # make buildworld dies here.
 
 
 
  ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h
 unwind.h
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h
  ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h
 gthr-default.h
  cc -c -O -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2
 -D__GCC_FLOAT_NOT_NEEDED  -DHAVE_GTHR_DEFAULT 
 -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include 
 -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
 -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. 
 -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools 
 -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3
 -DElfW=__ElfN -o unwind-dw2.o
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c
  In file included from
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32:
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error:
 stddef.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error:
 float.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error:
 stdarg.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error:
 stdio.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error:
 errno.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20:
 error: string.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20:
 error: stdlib.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20:
 error: unistd.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20:
 error: limits.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18:
 error: time.h: No such file or directory
  In file included from
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:40:
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In
 function 'size_of_encoded_value':
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:90:
 warning: incompatible implicit declaration of built-in function
 'abort'
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In
 function 'base_of_encoded_value':
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:122:
 warning: incompatible implicit declaration of built-in function
 'abort'
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h: In
 function 'read_encoded_value_with_base':
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-pe.h:259:
 warning: incompatible implicit declaration of built-in function
 'abort'
  In file included from
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114,
   from
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:42:
  ./gthr-default.h:43:21: error: pthread.h: No such file or directory
  In file included from
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr.h:114,
   from
 /usr

Re: 7.0 upgrade compile error

2008-06-03 Thread Casey Scott
Question inline:

- Kris Kennaway [EMAIL PROTECTED] wrote:

 Casey Scott wrote:
  With the new output below, does anyone have any thought on why the 
  build fails?
 
 You seem to be missing critical parts of your source tree.  Double
 check 
 your cvsupfile (or similar).
I've resync'd source, same issue. This is the config from the cvsupfile:

*default host=cvsup15.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
*default compress
src-all

 
  Please show us more context.
  These seems to be all the relevant output:
 
 
 **
  cd /usr/src/etc; make buildincludes; make installincludes
 
  --
  stage 4.2: building libraries
  --
  cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386 
  MACHINE=i386  CPUTYPE=pentium4 
  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin 
  GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font 
  GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac 
  _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp  INSTALL=sh
  /usr/src/tools/install.sh 
 
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp -DNO_FSCHG
  -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT  -DWITHOUT_MAN
 -DWITHOUT_NLS
  -DWITHOUT_PROFILE libraries
  cd /usr/src;  make -f Makefile.inc1 _prereq_libs;  make -f
  Makefile.inc1 _startup_libs;  make -f Makefile.inc1 _prebuild_libs;
 
  make -f Makefile.inc1 _generic_libs;
  === gnu/lib/libgcc (obj,depend,all,install)
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h
  TARGET_CPU_DEFAULT=  HEADERS=options.h i386/i386.h i386/unix.h
  i386/att.h dbxelf.h elfos.h freebsd-native.h freebsd-spec.h
 freebsd.h
  i386/freebsd.h defaults.h  DEFINES=  /bin/sh
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h
  echo '#define EXTRA_MODES_FILE i386/i386-modes.def'  tm.h
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h
  TARGET_CPU_DEFAULT=  HEADERS=auto-host.h ansidecl.h 
  DEFINES=USED_FOR_TARGET  /bin/sh
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h
  awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt
 
  optionlist
  awk -f
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk 
  -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk  
  optionlist  options.h
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h
  ln -sf
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h
  unwind.h
  make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
  GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h
  ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h
  gthr-default.h
  cc -c -O2 -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2
  -D__GCC_FLOAT_NOT_NEEDED  -DHAVE_GTHR_DEFAULT 
  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include 
  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. 
  -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools 
  -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions
 -D__GLIBC__=3
  -DElfW=__ElfN -o unwind-dw2.o
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c
  In file included from
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32:
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20:
 error:
  stddef.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19:
 error:
  float.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20:
 error:
  stdarg.h: No such file or directory
  /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19:
 error:
  stdio.h: No such file or directory
  /usr/src/gnu

Re: 7.0 upgrade compile error

2008-06-02 Thread Casey Scott
With the new output below, does anyone have any thought on why the 
build fails?

Casey

- Casey Scott [EMAIL PROTECTED] wrote:

 Kris, 
 
  Please show us more context.
 
 These seems to be all the relevant output:
 
 **
 cd /usr/src/etc; make buildincludes; make installincludes
 
 --
  stage 4.2: building libraries
 --
 cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386 
 MACHINE=i386  CPUTYPE=pentium4 
 GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin 
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font 
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac 
 _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp  INSTALL=sh
 /usr/src/tools/install.sh 
 PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp -DNO_FSCHG
 -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT  -DWITHOUT_MAN -DWITHOUT_NLS
 -DWITHOUT_PROFILE libraries
 cd /usr/src;  make -f Makefile.inc1 _prereq_libs;  make -f
 Makefile.inc1 _startup_libs;  make -f Makefile.inc1 _prebuild_libs; 
 make -f Makefile.inc1 _generic_libs;
 === gnu/lib/libgcc (obj,depend,all,install)
 make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h
 TARGET_CPU_DEFAULT=  HEADERS=options.h i386/i386.h i386/unix.h
 i386/att.h dbxelf.h elfos.h freebsd-native.h freebsd-spec.h freebsd.h
 i386/freebsd.h defaults.h  DEFINES=  /bin/sh
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h
 echo '#define EXTRA_MODES_FILE i386/i386-modes.def'  tm.h
 make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h
 TARGET_CPU_DEFAULT=  HEADERS=auto-host.h ansidecl.h 
 DEFINES=USED_FOR_TARGET  /bin/sh
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h
 make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h
 awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt 
 optionlist
 awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk 
 -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk  
 optionlist  options.h
 make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h
 ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h
 unwind.h
 make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile
 GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h
 ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h
 gthr-default.h
 cc -c -O2 -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2
 -D__GCC_FLOAT_NOT_NEEDED  -DHAVE_GTHR_DEFAULT 
 -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include 
 -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config
 -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. 
 -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools 
 -fvisibility=hidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3
 -DElfW=__ElfN -o unwind-dw2.o
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c
 In file included from
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32:
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error:
 stddef.h: No such file or directory
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error:
 float.h: No such file or directory
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error:
 stdarg.h: No such file or directory
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error:
 stdio.h: No such file or directory
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error:
 errno.h: No such file or directory
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error:
 string.h: No such file or directory
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error:
 stdlib.h: No such file or directory
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error:
 unistd.h: No such file or directory
 /usr/src/gnu/lib/libgcc/../../../contrib/gcc

Re: 7.0 upgrade compile error

2008-05-31 Thread Casey Scott
Kris, 

 Please show us more context.

These seems to be all the relevant output:

**
cd /usr/src/etc; make buildincludes; make installincludes

--
 stage 4.2: building libraries
--
cd /usr/src;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
CPUTYPE=pentium4  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
_SHLIBDIRPREFIX=/usr/obj/usr/src/tmp  INSTALL=sh /usr/src/tools/install.sh  
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp -DNO_FSCHG -DWITHOUT_HTML 
-DWITHOUT_INFO -DNO_LINT  -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_PROFILE 
libraries
cd /usr/src;  make -f Makefile.inc1 _prereq_libs;  make -f Makefile.inc1 
_startup_libs;  make -f Makefile.inc1 _prebuild_libs;  make -f Makefile.inc1 
_generic_libs;
=== gnu/lib/libgcc (obj,depend,all,install)
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tm.h
TARGET_CPU_DEFAULT=  HEADERS=options.h i386/i386.h i386/unix.h i386/att.h 
dbxelf.h elfos.h freebsd-native.h freebsd-spec.h freebsd.h i386/freebsd.h 
defaults.h  DEFINES=  /bin/sh 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tm.h
echo '#define EXTRA_MODES_FILE i386/i386-modes.def'  tm.h
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc tconfig.h
TARGET_CPU_DEFAULT=  HEADERS=auto-host.h ansidecl.h  
DEFINES=USED_FOR_TARGET  /bin/sh 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/mkconfig.sh tconfig.h
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc options.h
awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-gather.awk 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/c.opt 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/common.opt 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/i386/i386.opt  optionlist
awk -f /usr/src/gnu/lib/libgcc/../../../contrib/gcc/opt-functions.awk  -f 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/opth-gen.awk   optionlist  
options.h
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc unwind.h
ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-generic.h unwind.h
make -f /usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
MFILE=/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools/Makefile 
GCCDIR=/usr/src/gnu/lib/libgcc/../../../contrib/gcc gthr-default.h
ln -sf /usr/src/gnu/lib/libgcc/../../../contrib/gcc/gthr-posix.h gthr-default.h
cc -c -O2 -pipe -march=pentium4 -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  
-DHAVE_GTHR_DEFAULT  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include 
 -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config 
-I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  
-I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools  -fvisibility=hidden 
-DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3 -DElfW=__ElfN -o unwind-dw2.o 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c
In file included from 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:32:
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:47:20: error: stddef.h: 
No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:48:19: error: float.h: 
No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:87:20: error: stdarg.h: 
No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:90:19: error: stdio.h: 
No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:96:19: error: errno.h: 
No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:103:20: error: string.h: 
No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:104:20: error: stdlib.h: 
No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:105:20: error: unistd.h: 
No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:108:20: error: limits.h: 
No such file or directory
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/tsystem.h:111:18: error: time.h: 
No such file or directory
In file 

7.0 upgrade compile error

2008-05-30 Thread Casey Scott
I am trying to upgrade from 6.3 to 7.0. With latest source, buildworld dies
with:

...
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c: In function 
'uw_install_context_1':
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1472: warning: 
incompatible implicit declaration of built-in function 'abort'
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1480: warning: 
incompatible implicit declaration of built-in function 'memcpy'
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1486: warning: 
incompatible implicit declaration of built-in function 'memcpy'
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1490: warning: 
incompatible implicit declaration of built-in function 'memcpy'
In file included from 
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind-dw2.c:1518:
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function 
'_Unwind_RaiseException_Phase2':
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:75: warning: 
incompatible implicit declaration of built-in function 'abort'
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function 
'_Unwind_Resume':
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:238: warning: 
incompatible implicit declaration of built-in function 'abort'
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc: In function 
'_Unwind_Resume_or_Rethrow':
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:263: warning: 
incompatible implicit declaration of built-in function 'abort'
*** Error code 1

Stop in /usr/src/gnu/lib/libgcc.
*** Error code 1

I am not sure what to do about this! Any suggestions?

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


Re: 100Mbit network performance - again

2005-07-26 Thread Casey Scott
 Hello all!

 I remember being able to reach 11-12Mbytes/s between two Win95
 workstations with NE2000 $10 NIC's installed, connected via BNC cable.
 I am now able to reach 11-12Mbytes/s between all kinds of Windows
 2000/XP machines with all kinds of cheapest 100Mbit ethernet hardware.

 But I have never ever exceeded 8-9Mbytes/s between a Windows machine
 and a FreeBSD box - _never_. Be it Samba, different ftp/http servers,
 different FreeBSD versions (4.x/5.x), with ipfw enabled or disabled,
 etc., - the speed always hovers around 7-8Mb/s. I know it's not
 critical, I know I should've upgraded to Gigabit hardware long ago,
 but is there something wrong?

 I tried different linux distros, but they all seem to be even slower.
 Wazzup?..

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



Keep in mind that the Windows TCP/IP window buffers are not optimized the
same way as FBSD or Linux.

Casey

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


Re: 5.4-REL random reboots

2005-07-14 Thread Casey Scott
 Just a little follow-up to conclude my problem.

 I solved it by switching from a realtek NIC for my internet interface to a
 3COM NIC and i can run everything without these 'random' reboots now.

 It's still strange to me though because this problem came up out of the
 blue.

 Well it's all good now :)

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


My rebooting issue has not occurred since I got rid of 3com NICs! The plot
thickens...

Casey

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


Re: RAID1 and FreeBSD

2005-07-11 Thread Casey Scott



On Sunday 10 July 2005 05:21 pm, Ceasar Navato wrote:
 Good day.

 Please help. I have a motherboard that  has a SATA
 RAID support. I enabled it and configured the RAID
 using RAID1   through the BIOS. My question is, do I
 also have to configure RAID1 in FreeBSD so that it
 automatically mirrors what is in the first disk or my
 hardware RAID is enough?

 Thanks,


 Ceasar V. Navato, Jr.



 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

With all RAID, you either do software or hardware. Since your drive controller 
supports RAID, the array will look like any other disk to FBSD. You just 
treat it like another hard drive. 
One thing to keep in mind is that a lot of onboard SATA controllers that 
support RAID actually do so through their driver. Meaning its not really 
hardware RAID. If the SATA controller only shows that it supports Windows, 
then it is very likely not truly performing hardware RAID, and won't do 
anything for FBSD. 
If thats the case, then you can use FBSD to create a stripe. You pretty much 
just add a kernel device, and do some simple config work. There is a good 
howto for that on the FBSD handbook site. 

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


Re: 5.4-REL random reboots

2005-07-09 Thread Casey Scott

You could try healthd. It will format its out as HTML so you can monitor via 
webpage if you want. 

I have had the same rebooting problem on my 5.4 box, and it doesn't seem to be 
temperature related. If anything, its seems related to either network load or 
the driver of the NICs I was using. I have since changed NICs, and it hasn't 
happened again. At this point, the verdict is still out though. 

Casey

On Saturday 09 July 2005 12:53 pm, Bas Essers wrote:
 Hi list

 I've read serveral earlier postings about random reboots and a lot of times
 the advice is to check the power supply.
 Could this be the power supply in the pc itself or is it more likely the
 power supply of the wall outlet?
 The pc that's rebooting is brand new so i think the power supply in the pc
 would be sufficient for all the hardware inside.

 What i've tried in order to solve the rebooting problem:
 I've applied the patch for the tcp vulnerability as i thought maybe someone
 was exploiting that to cause a DoS but that didn't help.

 It seems as if the machine reboots everytime i do something cpu/memory
 intensive, but it also reboots at random when it's 99-100% idle.

 I now want to monitor the temperature of the CPU, memory etc, which program
 would you suggest?
 I've run memtest for a couple of minutes but that didn't cause a crash.

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


Re: Root 8% reserved space and tunefs

2005-07-08 Thread Casey Scott



On Friday 08 July 2005 07:37 am, Elliot Crosby-McCullough wrote:
 Evening.

   We are downloading an item to a freebsd 5.3 server which has a size a
 little short of the max size of the HD.  For technical reasons there is
 no way to remove portions of the item before it is finished.

   There is enough space but only if the 8% reserved for root is taken
 into account.  This is not currently being used as the files are being
 aquired as www (via apache).

   I cannot use tunefs to free the 8% as the files are on /usr/ and cannot
 be umounted.

   If anyone has any ideas they would be much appreciated; the only things
 we haven't tried are slowly shifting the data onto a seperate slice,
 shifting the volume bit by bit, trying to have apache run as root
 temporarily or replacing the HD with a larger one (the latter being the
 least viable).

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

Why can't you just download the item as root then? You could probably do a 
wget under sudo. 

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


NIC suggestion

2005-07-06 Thread Casey Scott
I am experiencing the same rebooting under network stress that others on
this list have reported. The box is using 3com 905b's, and I would like to
try another NIC in the box to make sure that this isn't just a driver
issue, though I strongly suspect it isn't. Can someone suggest a common
100 MB NIC that has proven to be very stable in 5.x?


Casey

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


Re: How to diagnose crashes?

2005-07-05 Thread Casey Scott


 My FreeBSD 5.3-RELEASE box seems to be spontaneously restarting from
 time to time.

 I have not yet contacted the colo facility to determine if it's a power
 issue, but wonder if anyone can help me out in how to diagnose whether
 or not it's a server crash and not a power problem.

 Where should I look for tips / hints that might help me determine the
 cause of a crash that forced a reboot?

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

Did the reboot occur during a high network load? In my case, the reboots seem 
to be related to the kernel TCP/IP stack. The box reboots under network load 
way too often. I don't suspect any other hard problem with it. It handle 
kernel builds and makeworlds w/o incident. MemTest86 did not find any 
problems with the memory. 

I have seen some other posts on this list about this issue. The posters 
thought it was a problem with SMP kernels. I compiled a uniproc kernel and 
just had another spontaneous reboot last night! 

After looking for .core, you may want to capture /dev/console messages to a 
log file.  I am assuming since the box is colo'd, you don't have console 
access. You may still miss some output though.

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


Re: DNS setup

2005-07-03 Thread Casey Scott
If you are just looking to be able to resolve DNS internally, you can very
easily setup your FBSD box to be a forwarding DNS server, and point all
your other machines at it for DNS resolution. There are many howtos
covering this subject.

Casey


 I am running FreeBSD 5.3-STABLE behind a Linksys Wireless Access
 Point and Firewall and a DSL modem. My ISP assigns me a dynamic IP
 address which changes on a regular basis and the root domain and
 Domain Name Servers associated with that domain also change. I have
 seen at least 3 different root domains.

 I have a number of machines on my wireless network and I would like
 them to be able to find one another. To do this I have assigned them
 fixed IP addresses.

 My problem how to assign the Domain Name Servers for all the
 machines. I point them all at the Linksys, which seems to work most
 of the time, but occasionally network traffic gets really slow and I
 suspect that its a DNS problem.

 Can I set up something on my FreeBSD server to help solve this problem?

 Alan










 ___
 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: Software RAID-1 on FreeBSD 5.4

2005-06-29 Thread Casey Scott
I have had a lot of sucess with ccd. Its pretty simple to configure.
Basically, you just add the kernel device. Label the disks, do a ccdconfig
ccd0 stripe size 0  /dev/drive #1 /dev/drive #2. Then newfs ccd0 and
mount it where you want it.

Casey

 Hello everybody,

 I have 2 120 Go Drives installed on my FreeBSD 5.4 Box. I want to create
 with these 2 disks a software RAID-1 solution. I wanted to use vinum but
 lots of people say that vinum is very unstable on FreeBSD 5.4. So I am
 asking you what is the best solution to make RAID-1 on FreeBSD 5.4.

 Thank you for your answers

 Best Regards,
 ptitoliv
 ___
 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: Moving Files to new hardware

2005-06-29 Thread Casey Scott
Are you just trying to copy some files, or reproduce the original
filesystem on the new box?



 Hi Guys:

 This is my first question after subscribing .. that makes me the newest
 fool on the block ..:)

 I have a FreeBSD 5.0 box online currently. I have just bought a new
 hardware to replace the existing one online. The new box I am building is
 sitting in my basement on a broadband connection. I am using router on
 this home network. My new box can go out on the internet using lynx. I
 have done no further configuration at this point which is why I am sending
 you this.

 Is it possible to copy the files from the old server already online
 directly to this new server using broadband? What do I need to know and do
 to accomplish this? I appreciate any other insight in transitioning this
 change over/

 Thanks,

 Ketamia

 ___
 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: waiting 15 seconds for scsi devices to settle

2005-06-28 Thread Casey Scott
That can be controlled threw a kernel option. A statement like this one
will set tht time to 3 seconds.

options SCSI_DELAY=3000 # Delay (in ms) before probing SCSI

Casey


 I still have the problem of waitinf 15 seconds for the SCSI devices to
 settle on my 1850R proliant server.  I have tried erasing the system and
 using SCO UNIX, DOS5 and Other as the operating systems.  I have tried
 apci enabled and disabled and I have checked to ensure the drives work
 (which they do).  All of this has had no effect on the problem of the
 waiting for 15 seconds which never end.  I am using the 3200 controler
 that comes with the proliant server and the drive cage is not fully
 populated (2/4).  If anyone has any other suggestions of how to fix this
 problem, then please let me know.

 Many thanks
 ___
 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: On recent crashes

2005-06-28 Thread Casey Scott


 Matt Juszczak wrote:
 I can't reproduce the crash with a non-SMP GENERIC kernel.

 Gary

 So does this mean my problem is nagios?

 Couldn't say, but I would think not. Nagios should be running as an
 unprivileged user so it really shouldn't be crashing FreeBSD.

 However I'm fairly certain I can crash my SMP FreeBSD 5.4 server with
 enough ping activity over time, which indicates a bug somewhere in the
 network stack (maybe a race condition, given that it requires a SMP
 kernel). Nagios with a lot of hosts sends a lot of pings, which would
 imply that Nagios could eventually crash the server as well.

 However you said that Nagios process itself died - that would indicate
 some other problem w/Nagios.

 Gary

 ps. now testing FreeBSD 4.11 SMP with 130+ simultaneous ping/arp -d's
 (50,000 context switches a second!) and it has been rock solid for 30
 minutes. 5.4 would crash within 60 seconds.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


I've also experienced 5.4 crashing under network stress with a SMP kernel.
In my case, it has with couple simultaneous file transfers via NFS. I have
also seen it tip over under high network load from just about anything
though.

It's also worth noting that I have had interfaces go offline under load.
It's not a hardware issue because I have swapped in NICs that I know work
in others systems, and still had then go offline. The NICs this occurs to
never show any issues under any other OS. The NICs have all been 3Com
905B's. What type of NIC was used with the Nagios issue?

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


Samba ADS mode

2005-06-27 Thread Casey Scott
I am attempting to run Samba in ADS. According the Samba docs, I need to have 
windbind configured in /etc/nsswitch.conf like so: 

group: compat winbind
group_compat: nis
hosts: files dns
networks: files
passwd: compat winbind
passwd_compat: nis
shells: files


When configured as such, various processes begin spamming messages with 
entries like these:

Jun 27 21:19:46 eagle smbd: NSSWITCH(nsparser): /etc/nsswitch.conf line 8: 
'compat' used with other sources
Jun 27 21:19:46 eagle smbd: NSSWITCH(nsparser): /etc/nsswitch.conf line 12: 
'compat' used with other sources
Jun 27 21:19:46 eagle winbindd: NSSWITCH(nsparser): /etc/nsswitch.conf line 1: 
'compat' used with other sources
Jun 27 21:19:46 eagle winbindd: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 
'compat' used with other sources
Jun 27 21:19:53 eagle smbd: NSSWITCH(nsparser): /etc/nsswitch.conf line 8: 
'compat' used with other sources
Jun 27 21:19:53 eagle smbd: NSSWITCH(nsparser): /etc/nsswitch.conf line 12: 
'compat' used with other sources
Jun 27 21:20:00 eagle cron[843]: NSSWITCH(nsparser): /etc/nsswitch.conf line 
8: 'compat' used with other sources
Jun 27 21:20:00 eagle cron[843]: NSSWITCH(nsparser): /etc/nsswitch.conf line 
12: 'compat' used with other sources
Jun 27 21:20:00 eagle -su: NSSWITCH(nsparser): /etc/nsswitch.conf line 8: 
'compat' used with other sources
Jun 27 21:20:00 eagle -su: NSSWITCH(nsparser): /etc/nsswitch.conf line 12: 
'compat' used with other sources
Jun 27 21:20:03 eagle vi: NSSWITCH(nsparser): /etc/nsswitch.conf line 1: 
'compat' used with other sources
Jun 27 21:20:03 eagle vi: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 
'compat' used with other sources

Any suggestions on this would be appreciated.

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


5.4 kernel ccd driver

2005-06-25 Thread Casey Scott
Has ccd driver support been removed from the 5.4 kernel? Below caused me to 
ask the question. 

ccdconfig ccd0c 1 0 ad2e ad3e
ccdconfig: Provider not found
or possibly kernel and ccdconfig out of sync


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


newfs question

2005-06-25 Thread Casey Scott
I am in the process of moving a software RAID volume (ccd)  from a 4.x machine 
to a 5.x machine. I can not get anything to write to the drive.  I want to 
just rebuild the stripe from scratch and have successfully done a ccdconfig. 
However, newfs failed to write to the drive. 

newfs: /dev/ccd0: failed to open disk for writing

Any suggestions? 

Thanks

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


pkg_info question

2005-06-22 Thread Casey Scott
Is it possible to get pkg_info, or some other command, to show what
package contains a file?

E.g.  find what package has  /usr/local/bin/convert

Casey

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


Re: pkg_info question

2005-06-22 Thread Casey Scott
Sorry, I meant I need to know what package a file belongs to that does not
exist in the file system already. I need to know where to get something,
not where it came from.

 In the last episode (Jun 22), Casey Scott said:
 Is it possible to get pkg_info, or some other command, to show what
 package contains a file?

 E.g.  find what package has  /usr/local/bin/convert

 pkg_info -W /usr/local/bin/convert

 Or if you have portupgrade installed, pkg_which
 /usr/local/bin/convert is faster.

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



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


Re: pkg_info question

2005-06-22 Thread Casey Scott
Thanks. Good idea. How about this, its a little easier.

#find ./ -name 'pkg-plist*' | xargs grep 'bin/convert'

Casey

 Casey Scott wrote:

 Sorry, I meant I need to know what package a file belongs to that does
 not
 exist in the file system already. I need to know where to get something,
 not where it came from.

 My CVSup script executes

find /usr/ports -name pkg-plist*  /path/to/somewhere

 after an update of the ports directory. Thus I can search a file with

cat /path/to/somewhere | xargs grep 'pattern'

 This method is quick and dirty and does not cover all ports because some
 of them have no pkg-plist file in their directory. Those ports use the
 PLIST_FILES variable in their Makefile instead or generate a plist file
 dynamically.

 Björn
 ___
 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: Sshd problem

2005-06-21 Thread Casey Scott

Unfortunately, sshd remains bound to the IP it had when it started. This isn't 
an issue with FBSD, but with OpenSSH. I see this all the time on other 
UNIX/Linux boxes. A possible solution to it in the future would be to issue a 
HUP to sshd using nohup. 

e.g.  [EMAIL PROTECTED] nohup ifconfig xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx; 
killall -HUP sshd

Hope that helps

Casey

On Tuesday 21 June 2005 09:05 am, Philip Wege wrote:
 Things like Allow root login and all that was set because ssh was used
 just after the ip change did this happen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


booting problem after installation of new disk controller

2003-07-19 Thread Casey Scott
I recently added a new disk controller (promise ultra 133) to act as a
replacement for the motherboard's controller. I also moved everything from
the systems old hard drive to a new hard drive. All is well, except that I
can not boot any kernel other than the one specified in
/boot/defaults/loader.confFor example, if kernel.GENERIC is specified
in /boot/defaults/loader.conf, it can boot that without a problem. However,
if that entry is switched to kernel, and I can no longer interrupt the
boot, and boot kernel.GENERIC. (situation exists with any good kernel as
long as its not declared in loader.conf). At the beginning of the boot of an
alternate kernel, the system displays a message WARNING: loader(8) metadata
is missing!. It will continue booting until it gets to the point where it
mounts root. At that point, the mount fails, and manually mounting the
correct partition (ufs:/dev/ad4s1a) fails also. When booting the kernel
specified, it does display what appears to be the metadata, the BTX info on
the A and C partitions, etc. I have already done an fdisk -B -b,
boot0cfg -B -s 1 to the new drive. The old drive, on the new controller CAN
boot alternate kernels without a problem! What have I missed??

Regards,
Casey

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


new bootable drive

2003-07-10 Thread Casey Scott
I need to replace the drive that my fbsd boots from. I have read the
documentation on how to format, and copy files to a drive.  e.g.:

To move file from your original base disk to the fresh new one, do:

# mount /dev/ad2 /mnt
# pax -r -w -p e / /mnt
# umount /mnt
# mount /dev/ad2 /

I am not sure if that procedure will copy the necessary bootstrap data to
the new disk. I do not want to use a ghosting utility because I need a new
partition scheme on the new drive. Will the procedure above copy EVERYTHING
from / to the new /  making it a replacement for the bootable disk?  If not,
what is the best procedure for that?

Thanks,
Casey

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


delete key in ssh console

2003-01-25 Thread Casey Scott

Does anyone know how to get the delete to work properly in a ssh console? I 
realize that the fact I am using ssh doesn't matter, but since that is how I 
am connected, that's how I will refer to it. ;-) I am using Konsole (KDE 
xterm) to ssh to my fbsd server. I have been through all the docs I can find, 
but none related to remote connections (i.e. pseudo ttys). Where do I define 
the type of keyboard mapping to using for remote connections? Currenty, I 
have konsole set to use vt420 which causes the delete key to behave like the 
backspace key. Most of the others produce a ~ (tilde) when delete is 
pressed. I would really like to be able to use the delete via remote 
connections!

TIA
Casey

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



sendmail local time adjustment

2002-11-15 Thread Casey Scott

Does anyone know why sendmail does not adjust the received time on
email to the local time? The receive times on emails from this server are
sa they come from the remote server. for example:

Received: from mail.novasavingsbank.com ([141.158.254.7])
by nixfusion.com (8.12.6/8.12.6) with ESMTP id gAFN466Q026243
for [EMAIL PROTECTED]; Fri, 15 Nov 2002 15:04:07 -0800 (PST)
(envelope-from [EMAIL PROTECTED])
Date: Fri, 15 Nov 2002 18:08:50 -0500
Message-Id: [EMAIL PROTECTED]
Mime-Version: 1.0


-

This message is reported in pine as arrving 3 hours before it did! All
mail clients are effected. The server is set for PST.

Thanks,
Casey


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Sendmail receive times

2002-11-12 Thread Casey Scott

I can not get sendmail to use the system timezone. Every email that comes in 
does not get a time adjustment to PST. They are all at GMT! I have tried 
adding the time to the sendmail.cf file (O TimeZoneSpec=PST), but that did 
not work. The system timezone was set to PST w/ tzsetup, and all other 
indications are that PST is being used on the system. I can't find any 
documentation on this anywhere! Also, why are there so many .cf in /etc/mail? 
I usually use sendmail.cf, but there are a couple others.

Thanks,
Casey

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



port forwarding with ppp natd

2002-09-28 Thread Casey Scott

Hi all,

I have been through all the documentation I can find, and I still haven't
found a definitive answer to my question about port forwarding with a ppp
connection. I have a DSL that uses PPPOE, so the system is connected using
PPP. I need to forward ports from the server to internal systems (natd ips).
PPP filters don't seem to be able to port forward, e.g. redirect
192.168.1.5:9090 9090 (natd rule). From what I have seen, it looks like natd
can be used to nat a ppp connection. I am currently using the -nat connection
with PPP. When I try natd with a -n tun0, the internal client dont have a
connection. When I try natd with -n xl0, I get an error about the card can't
be used. I understand why I get these errors, so I wondering how to get natd
to work with ppp. Or if its even possible to use ppp filters or ipfw to
accomplish the goal of forwarding packets from a specific external port to an
internal machine.

Thanks
Casey

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message