How to solve mysterious system lockups?

2007-06-04 Thread Nicole Harrington
Hello
  I have several systems that are used as squid
caching servers. I have some systems that use SCSI
disks and some  that use SATA disks. They are
identical in everyway except for the sata vs SCSI
drives. 

 At random times, the sata based systems seem to be
freezing. You can ping them and they respond, but you
cannot log in. Nor are any logs processed during that
time. 

 I figure it mist be something to do with the disks,
but I am not sure how to solve it. There seems to be
little rhyme or reason. It does not happen necessarily
during busy times. It can happen in the middle of the
night.

 Any pointers in how to track down the cause would be
much appreciated.

 Tyan S2881 Motherboard - 4gigs mem
 Using 4 SATA (or scsi) drives
 FreeBSD 6.2-STABLE.

 Thanks!

  Nicole


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


Re: FreeBSD Devil Image

2007-03-13 Thread Nicole Harrington
--- [EMAIL PROTECTED] wrote:
> On Tue, 13 Mar 2007, Old Ranger wrote:
> 
> > Believe it or not, I actually had an irate woman
> complain to me about having a
> > "devil" image on our church website.  
> 
> Nothing is more complete than the delusion
> that beauty equals goodness.
> 
>   - Tolstoy

 I think it needs to be clarified that "beastie" is
Not a devil. 

 Beastie was aptly created to represent a Daemon. 
 Simply correct them that it is not a devil or demon
but a Daemon.
 

>From Wikipedia:

"Many people equate the word daemon with the word
demon, implying some kind of Satanic connection
between UNIX and the underworld. This is an egregious
misunderstanding. Daemon is actually a much older form
of demon; daemons have no particular bias towards good
or evil, but rather serve to help define a person's
character or personality. The ancient Greeks' concept
of a personal daemon was similar to the modern concept
of a guardian angel --- eudaemonia is the state of
being helped or protected by a kindly spirit. As a
rule, UNIX systems seem to be infested with both
daemons and demons." (p403)


  Nicole


The Large Print Giveth And The Small Print Taketh Away
 -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Getting errors while trying to use new Mysql 50 port and pkg

2007-02-27 Thread Nicole Harrington
Hello,
 I have 2 database servers running as slaves from a
Master database. One (db2) is running FreeBSD
6.2-PRERELEASE from October. The other, (db3) on a new
build of FreeBSD 6.2-STABLE. Both are AMD64. 

 Db2 is running mysql 5.0.24a and has been working
fine.
 Db3 however, running mysql 5.0.33 keeps giving an
error 127 after awhile, for a couple of our tables.
The tables all check as ok.

 070227 11:24:48 [ERROR] Got error 127 when reading
table './user_info'

 We had this problem before with the ports built
version on db2, but when we switched to the pkg build
it went away. Now none of the build options seem to
work and sadly I do not have the old copy of mysql
5.024a to try on this server.  (forgot to use -K)

 I have tried the Ports build with and without various
optimizations, the Pkg build and a downloaded binary 
from mysql. (5.0.27) All produced the errors within an
hour of running. 

 perror shows this to mean:
 MySQL error code 127: Record-file is crashed.

 When the error is reported, the query that caused it
responds with an error, but all other queries work.
 Running a repair on the tables shows everything ok.


 Any suggestions greatly appreciated!


 Thanks!

  Nicole

--
 Free The Bound Periodicals! 


 

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


Re: Determining daylight savings changes on BSD

2007-02-09 Thread Nicole Harrington
--- Atom Powers <[EMAIL PROTECTED]> wrote:
> On 2/2/07, John Nielsen <[EMAIL PROTECTED]> wrote:
> > On Friday 02 February 2007 17:35, Dan Nelson
> wrote:
> > > Upgrading to 5.5 or 6.2 will get you the new
> tables as a side-effect of
> > > the upgrade :)  If you don't want to upgrade,
> just install the
> > > misc/zoneinfo port and rerun tzsetup.
> >
> > The last bit (rerunning tzsetup(8)) is good advice
> for anyone who hasn't run
> > it in a while. Upgrading from earlier versions of
> FreeBSD will install the
> > new tzdata files but it will not touch
> /etc/localtime.
> >
> 
> That's great. Um, how can I run tzsetup
> non-interactively? It's going
> to be a pain updating all my systems if I have to
> walk through the
> menu on every one; and the man page didn't help at
> all.
> 

 It's not what I would call, non interactive, or even
elegant, but below  is what I have done on some
systems. On others, I just installed a copy of the
newly created /etc/localtime file.

 Maybe it will be useful to you.


cd /usr/src/share/zoneinfo
fetch ftp://elsie.nci.nih.gov/pub/tzdata2007a.tar.gz
tar -zxvf tzdata2007a.tar.gz
make
make install

cp -f /usr/share/zoneinfo/America/Los_Angeles
/etc/localtime
chmod 444 /etc/localtime



 Nicole

--
The significant problems we face cannot be solved by
the same level of thinking that created them
  -Albert Einstein

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


Re: Dual Core Or Dual CPU - What's the real difference in performance?

2007-02-09 Thread Nicole Harrington
--- Cy Schubert <[EMAIL PROTECTED]> wrote:
> In message
> <[EMAIL PROTECTED]>,
> Nicole Harrington 
> wri
> tes:
> > --- Cy Schubert <[EMAIL PROTECTED]> wrote:
> > > In message
> > > <[EMAIL PROTECTED]>, Mike
> > > Meyer writes:
> > > > Generally, more processors means things will
> go
> > > faster until you run
> > > > out of threads. However, if there's some
> shared
> > > resource that is the
> > > > bottleneck for your load, and the resource
> doesn't
> > > support
> > > > simultaneous access by all the cores, more
> cores
> > > can slow things
> > > > down.
> > > > 
> > > > Of course, it's not really that simple. Some
> > > shared resources can be
> > > > managed so as to make things improve under
> most
> > > loads, even if they
> > > > don't support simultaneous access.
> > > 
> > > Generally speaking the performance increase is
> not
> > > linear. At some point 
> > > there is no benefit to adding more processors.
> In a
> > > former life when I was 
> > > an MVS systems programmer the limit was seven
> > > processors in a System/370. 
> > > Today we can use 16, 32, even 64 processors with
> a
> > > standard operating 
> > > system and current hardware, unless one of the
> > > massively parallel 
> > > architectures is used.
> > > 
> > > To answer the original posters question, there
> are
> > > architectural 
> > > differences mentioned here, e.g. shared cache,
> I/O
> > > channel, etc., but the 
> > > reason the chip manufacturers make them is that
> > > they're more cost effective 
> > > than two CPUs.
> > > 
> > > The AMD X2 series of chips (I have one), they're
> not
> > > truely a dual 
> > > processor chip. They're analogous to the single
> > > processor System/370 with 
> > > an AP (attached processor) in concept. What this
> > > means is that both 
> > > processors can execute all instructions and are
> just
> > > as capable in every 
> > > way except external interrupts, e.g. I/O
> interrupts,
> > > are handled by the 
> > > processor 0 as only that processor is "wired" to
> be
> > > interrupted in case of 
> > > external interrupt. I can't comment about
> Intel's
> > > Dual Core CPUs as I don't 
> > > know their architecture but I'd suspect the same
> > > would be true. Chips in 
> > > which there are two dual core CPUs on the same
> die,
> > > I believe one of each 
> > > of the dual core CPUs can handle external
> > > interrupts.
> > 
> >  Wow I love ansking questions without too many
> > specifics as I learn so much more. With this
> however
> > it really seems to be a love hate relationship
> with
> > dual core.
> >  
> >  Based on what you stated above, would that mean
> that
> > when using a dual core system, using polling
> interupts
> > might be better or perhaps monumanally worse?
> 
> No. CPU 0 would be interrupted. It would schedule
> the interrupt in the 
> queue. Either CPU could service the interrupt once
> the interrupt was queued.
> 
> Some devices need to be polled as they do not
> generate interrupts or they 
> generate spurious interrupts. Otherwise allowing a
> device to interrupt the 
> CPU is more efficient as it allows the CPU to do
> other work rather than 
> spinning its wheels polling. This is the Von Neumann
> model.
> 
> 
> -- 
> Cheers,
> Cy Schubert <[EMAIL PROTECTED]>
> FreeBSD UNIX:  <[EMAIL PROTECTED]>   Web: 
> http://www.FreeBSD.org
> 
>   e**(i*pi)+1=0
> 

 Yes, I have heard that, thanks.

  However, how does one know or tell which is the
right mode/model for which devices? I have seen people
on either side (poll vs interupt) claim one is better
or much like an infomercial, just do blah and your
system will be so much faster. Altho of course that
would be the pro polling side, since by default,
interupts are used. Is it all just imperical testing? 
Take this pill and see let me know how you feel?
 
 It seems as though when it's heavy networking, use
polling. Otherwise stick with interupts. I have even
heard when using X network card, use polling. How
would know when one card will do better with polling
while another may not? 


 Thanks for helping me understand the debate better.

  Nicole

---

 If you make people think they're thinking, they'll
love you; but if you really make them think, they'll
hate you." 
-- Don Marquis

___
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 get make buildworld to work with recent cvsup. - Addl

2007-02-08 Thread Nicole Harrington
--- Garrett Cooper <[EMAIL PROTECTED]> wrote:
> Nicole Harrington wrote:
> >  Something setup wrong some place??
> > 
> >  cd /usr/src/lib ; make
> > 
> > .
> > c -pg -O2 -fno-strict-aliasing -pipe
> -march=opteron 
> > -I/usr/src/lib/libftpio
> > -Wall -DINET6  -c /usr/src/lib/libftpio/ftpio.c -o
> > ftpio.po
> > cc -pg -O2 -fno-strict-aliasing -pipe
> -march=opteron 
> > -I/usr/src/lib/libftpio
> > -Wall -DINET6  -c ftperr.c -o ftperr.po
> > building profiled ftpio library
> > ranlib libftpio_p.a
> > cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
> > -march=opteron
> > -I/usr/src/lib/libftpio -Wall -DINET6  -c
> > /usr/src/lib/libftpio/ftpio.c 
> > -o
> > ftpio.So
> > cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
> > -march=opteron
> > -I/usr/src/lib/libftpio -Wall -DINET6  -c ftperr.c
> -o
> > ftperr.So
> > building shared library libftpio.so.6
> > gzip -cn /usr/src/lib/libftpio/ftpio.3 >
> ftpio.3.gz
> > ===> libgeom (all)
> > cc -O2 -fno-strict-aliasing -pipe -march=opteron
> > -I/usr/src/lib/libgeom
> > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> > -Wno-unused-parameter
> > -Wstrict-prototypes -Wmissing-prototypes
> > -Wpointer-arith 
> > -Wno-uninitialized -c
> > /usr/src/lib/libgeom/geom_getxml.c
> > cc -O2 -fno-strict-aliasing -pipe -march=opteron
> > -I/usr/src/lib/libgeom
> > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> > -Wno-unused-parameter
> > -Wstrict-prototypes -Wmissing-prototypes
> > -Wpointer-arith 
> > -Wno-uninitialized -c
> > /usr/src/lib/libgeom/geom_stats.c
> > cc -O2 -fno-strict-aliasing -pipe -march=opteron
> > -I/usr/src/lib/libgeom
> > -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> > -Wno-unused-parameter
> > -Wstrict-prototypes -Wmissing-prototypes
> > -Wpointer-arith 
> > -Wno-uninitialized -c
> > /usr/src/lib/libgeom/geom_xml2tree.c
> > /usr/src/lib/libgeom/geom_xml2tree.c:255: error:
> > syntax error before 
> > '*' token
> > /usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
> > type qualifiers 
> > ignored on
> > function return type
> > /usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
> > return type defaults 
> > to `int'
> > /usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
> > function declaration 
> > isn't a
> > prototype
> > /usr/src/lib/libgeom/geom_xml2tree.c: In function
> > `CharData':
> > /usr/src/lib/libgeom/geom_xml2tree.c:260: error:
> > `userData' undeclared 
> > (first
> > use in this function)
> > /usr/src/lib/libgeom/geom_xml2tree.c:260: error:
> (Each
> > undeclared 
> > identifier is
> > reported only once
> > /usr/src/lib/libgeom/geom_xml2tree.c:260: error:
> for
> > each function it 
> > appears
> > in.)
> > /usr/src/lib/libgeom/geom_xml2tree.c:262: error:
> `s'
> > undeclared (first 
> > use in
> > this function)
> > /usr/src/lib/libgeom/geom_xml2tree.c:263: error:
> `len'
> > undeclared 
> > (first use in
> > this function)
> > /usr/src/lib/libgeom/geom_xml2tree.c: In function
> > `geom_xml2tree':
> > /usr/src/lib/libgeom/geom_xml2tree.c:286: error:
> > syntax error before 
> > "parser"
> > /usr/src/lib/libgeom/geom_xml2tree.c:296: error:
> > `parser' undeclared 
> > (first use
> > in this function)
> > /usr/src/lib/libgeom/geom_xml2tree.c:296: warning:
> > implicit declaration 
> > of
> > function `XML_ParserCreate'
> > /usr/src/lib/libgeom/geom_xml2tree.c:301: warning:
> > implicit declaration 
> > of
> > function `XML_SetUserData'
> > /usr/src/lib/libgeom/geom_xml2tree.c:302: warning:
> > implicit declaration 
> > of
> > function `XML_SetElementHandler'
> > /usr/src/lib/libgeom/geom_xml2tree.c:303: warning:
> > implicit declaration 
> > of
> > function `XML_SetCharacterDataHandler'
> > /usr/src/lib/libgeom/geom_xml2tree.c:304: warning:
> > implicit declaration 
> > of
> > function `XML_Parse'
> > /usr/src/lib/libgeom/geom_xml2tree.c:307: warning:
> > implicit declaration 
> > of
> > function `XML_ParserFree'
> > *** Error code 1
> > 
> > Stop in /usr/src/lib/libgeom.
> > *** Error code 1
> > 
> > Stop in /usr/src/lib.
> > 
> > 
> >  ARGG!!
> > 
> >Nicole
> 
> Doesn't look like it's compiling libgeom or geom
> related dependencies. 
> What's your /etc/make.conf look like and what
> version are you trying to 
> compile with buildworld?


 Actually.. That seems to be happening with even no
/etc/make.conf  

 I even copied the /usr/src from another older server
that built fine to this server (same server type) and
it fails in the same way.


 It's just driving me crazy.

  Nicole


  Nicole

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


Can't get make buildworld to work with recent cvsup. - Addl

2007-02-08 Thread Nicole Harrington
 Something setup wrong some place??

 cd /usr/src/lib ; make

.
c -pg -O2 -fno-strict-aliasing -pipe -march=opteron 
-I/usr/src/lib/libftpio
-Wall -DINET6  -c /usr/src/lib/libftpio/ftpio.c -o
ftpio.po
cc -pg -O2 -fno-strict-aliasing -pipe -march=opteron 
-I/usr/src/lib/libftpio
-Wall -DINET6  -c ftperr.c -o ftperr.po
building profiled ftpio library
ranlib libftpio_p.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
-march=opteron
-I/usr/src/lib/libftpio -Wall -DINET6  -c
/usr/src/lib/libftpio/ftpio.c 
-o
ftpio.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
-march=opteron
-I/usr/src/lib/libftpio -Wall -DINET6  -c ftperr.c -o
ftperr.So
building shared library libftpio.so.6
gzip -cn /usr/src/lib/libftpio/ftpio.3 > ftpio.3.gz
===> libgeom (all)
cc -O2 -fno-strict-aliasing -pipe -march=opteron
-I/usr/src/lib/libgeom
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith 
-Wno-uninitialized -c
/usr/src/lib/libgeom/geom_getxml.c
cc -O2 -fno-strict-aliasing -pipe -march=opteron
-I/usr/src/lib/libgeom
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith 
-Wno-uninitialized -c
/usr/src/lib/libgeom/geom_stats.c
cc -O2 -fno-strict-aliasing -pipe -march=opteron
-I/usr/src/lib/libgeom
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith 
-Wno-uninitialized -c
/usr/src/lib/libgeom/geom_xml2tree.c
/usr/src/lib/libgeom/geom_xml2tree.c:255: error:
syntax error before 
'*' token
/usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
type qualifiers 
ignored on
function return type
/usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
return type defaults 
to `int'
/usr/src/lib/libgeom/geom_xml2tree.c:256: warning:
function declaration 
isn't a
prototype
/usr/src/lib/libgeom/geom_xml2tree.c: In function
`CharData':
/usr/src/lib/libgeom/geom_xml2tree.c:260: error:
`userData' undeclared 
(first
use in this function)
/usr/src/lib/libgeom/geom_xml2tree.c:260: error: (Each
undeclared 
identifier is
reported only once
/usr/src/lib/libgeom/geom_xml2tree.c:260: error: for
each function it 
appears
in.)
/usr/src/lib/libgeom/geom_xml2tree.c:262: error: `s'
undeclared (first 
use in
this function)
/usr/src/lib/libgeom/geom_xml2tree.c:263: error: `len'
undeclared 
(first use in
this function)
/usr/src/lib/libgeom/geom_xml2tree.c: In function
`geom_xml2tree':
/usr/src/lib/libgeom/geom_xml2tree.c:286: error:
syntax error before 
"parser"
/usr/src/lib/libgeom/geom_xml2tree.c:296: error:
`parser' undeclared 
(first use
in this function)
/usr/src/lib/libgeom/geom_xml2tree.c:296: warning:
implicit declaration 
of
function `XML_ParserCreate'
/usr/src/lib/libgeom/geom_xml2tree.c:301: warning:
implicit declaration 
of
function `XML_SetUserData'
/usr/src/lib/libgeom/geom_xml2tree.c:302: warning:
implicit declaration 
of
function `XML_SetElementHandler'
/usr/src/lib/libgeom/geom_xml2tree.c:303: warning:
implicit declaration 
of
function `XML_SetCharacterDataHandler'
/usr/src/lib/libgeom/geom_xml2tree.c:304: warning:
implicit declaration 
of
function `XML_Parse'
/usr/src/lib/libgeom/geom_xml2tree.c:307: warning:
implicit declaration 
of
function `XML_ParserFree'
*** Error code 1

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

Stop in /usr/src/lib.


 ARGG!!

   Nicole



The Large Print Giveth And The Small Print Taketh Away
 -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dual Core Or Dual CPU - What's the real difference in performance?

2007-02-08 Thread Nicole Harrington
--- Cy Schubert <[EMAIL PROTECTED]> wrote:
> In message
> <[EMAIL PROTECTED]>, Mike
> Meyer writes:
> > Generally, more processors means things will go
> faster until you run
> > out of threads. However, if there's some shared
> resource that is the
> > bottleneck for your load, and the resource doesn't
> support
> > simultaneous access by all the cores, more cores
> can slow things
> > down.
> > 
> > Of course, it's not really that simple. Some
> shared resources can be
> > managed so as to make things improve under most
> loads, even if they
> > don't support simultaneous access.
> 
> Generally speaking the performance increase is not
> linear. At some point 
> there is no benefit to adding more processors. In a
> former life when I was 
> an MVS systems programmer the limit was seven
> processors in a System/370. 
> Today we can use 16, 32, even 64 processors with a
> standard operating 
> system and current hardware, unless one of the
> massively parallel 
> architectures is used.
> 
> To answer the original posters question, there are
> architectural 
> differences mentioned here, e.g. shared cache, I/O
> channel, etc., but the 
> reason the chip manufacturers make them is that
> they're more cost effective 
> than two CPUs.
> 
> The AMD X2 series of chips (I have one), they're not
> truely a dual 
> processor chip. They're analogous to the single
> processor System/370 with 
> an AP (attached processor) in concept. What this
> means is that both 
> processors can execute all instructions and are just
> as capable in every 
> way except external interrupts, e.g. I/O interrupts,
> are handled by the 
> processor 0 as only that processor is "wired" to be
> interrupted in case of 
> external interrupt. I can't comment about Intel's
> Dual Core CPUs as I don't 
> know their architecture but I'd suspect the same
> would be true. Chips in 
> which there are two dual core CPUs on the same die,
> I believe one of each 
> of the dual core CPUs can handle external
> interrupts.

 Wow I love ansking questions without too many
specifics as I learn so much more. With this however
it really seems to be a love hate relationship with
dual core.
 
 Based on what you stated above, would that mean that
when using a dual core system, using polling interupts
might be better or perhaps monumanally worse?

 
> I 
> have a mortgage so spending money on computers is
> not a high priority in 
> relation to that priority but dual core does give me
> an opportunity to 
> enter the market relatively inexpensively and get
> good value for the money 
> I spend on the technology. That's really what it's
> all about, how much 
> performance you get for the money you spend.
> 

 Tring to figure out the fud from reality is often the
best way to make sure you really get the best value.
However, it always seems to "depend" on many variables
:)


 Thanks!

  Nicole



> -- 
> Cheers,
> Cy Schubert <[EMAIL PROTECTED]>
> FreeBSD UNIX:  <[EMAIL PROTECTED]>   Web: 
> http://www.FreeBSD.org
> 
>   e**(i*pi)+1=0
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
> 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]"


Can't get make buildworld to work with recent cvsup.

2007-02-08 Thread Nicole Harrington

 This seems to be my week for problems. I installed
onto a 2 CPU AMD system FreeBSD 6.2-REL amd64 Disk.
 cvsupped and tried to make buildworld. 

 Any suggestions appreciatted.

 Thanks

  Nicole


/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/MKnames.awk
/usr/src/lib/libncurses/../../contrib/ncurses/include/Caps
awk -f 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/MKnames.awk
/usr/src/lib/libncurses/../../contrib/ncurses/include/Caps
cat namehdr boolnames boolfnames numnames numfnames
strnames strfnames 
nameftr
> names.c
AWK=awk sh
/usr/src/lib/libncurses/../../contrib/ncurses/include/MKncurses_def.sh

/usr/src/lib/libncurses/../../contrib/ncurses/include/ncurses_defs
>
ncurses_def.h
sed 
MKterm.h.awk  -e "/@NCURSES_MAJOR@/s%%5%"  -e
"/@NCURSES_MINOR@/s%%2%"  
-e
"/@NCURSES_CONST@/s%%const%"  -e
"/@NCURSES_XNAMES@/s%%1%"
awk -f MKterm.h.awk 
/usr/src/lib/libncurses/../../contrib/ncurses/include/Caps
> term.h.new
sh
/usr/src/lib/libncurses/../../contrib/ncurses/include/edit_cfg.sh
/usr/src/lib/libncurses/ncurses_cfg.h term.h.new
** edit: HAVE_TCGETATTR 1
** edit: HAVE_TERMIOS_H 1
** edit: HAVE_TERMIO_H 0
** edit: BROKEN_LINKER 0
mv -f term.h.new term.h
cc -o make_keys -O2 -fno-strict-aliasing -pipe
-march=opteron -I.
-I/usr/src/lib/libncurses
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
-I/usr/src/lib/libncurses/../../contrib/ncurses/include
-Wall 
-DFREEBSD_NATIVE
-DNDEBUG -DHAVE_CONFIG_H -DTERMIOS 
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c
/usr/obj/usr/src/tmp/usr/bin/ld: cannot find -lc
*** Error code 1

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

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

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

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


Dual Core Or Dual CPU - What's the real difference in performance?

2007-02-07 Thread Nicole Harrington
 Hello all,
 I have been building/using servers that were dual CPU
AMD Opteron systems for some time.  (usually 246
Opteron cpu's)

 Now of course the world is shifting to Dual Core.
  
 Using FreeBSD, what is really the difference, besides
power and ability to shove in more memory, between
having the two seperate CPUS's? 

 What if I did 2, Dual Core cpu's? Would the SMP
overhead and sharing to a [Giant Locked] disk and or
network erase any benefits?

 Thanks!

  Nicole


The Large Print Giveth And The Small Print Taketh Away
 -- Anon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with Serverworks HT1000 serial ATA support - Tyan S3992 Motherboard

2007-02-07 Thread Nicole Harrington

--- Mike Tancsa <[EMAIL PROTECTED]> wrote:

> At 10:18 PM 2/6/2007, Nicole Harrington wrote:
> >
> > > I use RELENG_6 in i386 mode on this MB (two
> > > integrated em nics) and it
> > > works quite well
> >
> >  Have you tried it with the tune for Diskd
> mentioned.
> 
> No,
>  But I have a box scheduled to be put
> together tomorrow and 
> will give it a try.  How much RAM do you have on
> them ?
> 
> 
>  ---Mike 

 Ok - I have done more tests and it gets more odd.
  I was running actually 6.2-PreRelease. To see if 
something was fixed, I setup a new disk with a fresh
install of 6.2-RELEASE amd64. Now even without the
sysctl modifications I can reboot the server with:
 bonnie++ -d /home -u root -s1g

 Tyan S3992 Mb with a 2210 CPU and 4Gigs Ram.
 Western Digital Raptor WD740ADFD

 Error on console: Tons of ones like these zoom by.

 g_vfs_done():ad4s1a[READ(offset=172627162,
Length=626729(] error=6


 This is true under P-ATA or S-ATA.

 
 Nicole

 

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


Re: Problem with Serverworks HT1000 serial ATA support - Tyan S3992 Motherboard

2007-02-06 Thread Nicole Harrington
--- Mike Tancsa <[EMAIL PROTECTED]> wrote:
> On Tue, 6 Feb 2007 15:26:27 -0800 (PST), in
> sentex.lists.freebsd.questions you wrote:

> > If I run: bonnie++ -d /home -u root s1g
> >  The system reboots.
> >
> > I have tried this is both S-ATA and P-ATA
> emulation.
> >atapci0: 
> port
> >0xb080-0xb087,0xb000-0xb003,0xac00-0xac07
> >,0xa880-0xa883,0xa800-0xa81f mem
> 0xff4fe000-0xff4f
> >irq 11 at device 14.0 on pci1
> >
> >S-ATA:
> >ad4: 70911MB  at
> >ata2-master SATA150
> >
> > OR
> >P-ATA:
> >ad4: DMA limited to UDMA33, device found non-ATA66
> >cable
> >ad4: 70911MB  at
> >ata2-master UDMA33

 
> I use RELENG_6 in i386 mode on this MB (two
> integrated em nics) and it
> works quite well

 Have you tried it with the tune for Diskd mentioned.
 
> atapci0: 
> port
>
0xc080-0xc087,0xc000-0xc003,0xbc00-0xbc07,0xb880-0xb883,0xb800-0xb81f
> mem 0xff
> 3fe000-0xff3f irq 11 at device 14.0 on pci1
> ata2:  on atapci0
> ata3:  on atapci0
> ata4:  on atapci0
> ata5:  on atapci0
> atapci1: 
> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at
> device 2.1 on
> pci0
> ata0:  on atapci1
> ata1:  on atapci1
> 
> ad4: 76319MB  at
> ata2-master SATA150
> 
> # atacontrol list
> ATA channel 0:
> Master:  no device present
> Slave:   no device present
> ATA channel 1:
> Master:  no device present
> Slave:   no device present
> ATA channel 2:
> Master:  ad4  Serial ATA II
> Slave:   no device present
> ATA channel 3:
> Master:  no device present
> Slave:   no device present
> ATA channel 4:
> Master:  no device present
> Slave:   no device present
> ATA channel 5:
> Master:  no device present
> Slave:   no device present
> 
> 
> However, update the BIOS and make sure you dont use
> PATA emulation on
> the SATA controller as that doesnt really work. 
> 
>   ---Mike
>

> Mike Tancsa, Sentex communications
> http://www.sentex.net
> Providing Internet Access since 1994
> [EMAIL PROTECTED], (http://www.tancsa.com)

Hi Mike
 Yes, it does work quite well. But not if I use the
same tuning parameters used on systems running on Non
Serverworks chipsets. (Tyan S2881 or S2882 Board)

 I use these for supporting many heavy loaded Squid
servers. 

 The normal tweaks suggested for Squid, and work well
on Non Serverworks chipsets are:

/boot/loader.conf
kern.ipc.maxsockets=16424
kern.ipc.msgmnb=16384
kern.ipc.msgmni=41
kern.ipc.msgseg=2049
kern.ipc.msgssz=64
kern.ipc.msgtql=2048
 OR
kern.ipc.msgmnb=8192
kern.ipc.msgmni=40
kern.ipc.msgseg=512
kern.ipc.msgssz=64
kern.ipc.msgtql=1024

 However, with any setting of kern.ipc.msgtql (What
does it do anyway?) above 64 the server crashes with
the Bonnie test.

 The higher the setting the faster the crash.

 

 Nicole



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