Re: installing qt with thread support

2003-07-31 Thread pierre-yves.verdon
On Thursday 31 July 2003 17:20, Herbert wrote:
> Hei!
>
> On Tue, Jul 29, 2003 at 04:29:59PM +0200, pierre-yves.verdon wrote:
> > Hi,
> > is someone could tell me how i can build qt with the thread support?
> >
> > More generally what should i do to know all options available before
> > doing make install in /usr/ports/x11-toolkits/qt31 ?
> >
> > thanks,
>
> QT-3.1.2 is compiled with threads by default.
>
> To see all build options, you can do:
>
> % cd /usr/ports/x11-toolkits/qt31 &&  grep defined Makefile |sort -u

thanks, finally i found what i was looking for by reading  the Makefile


-- 
Pierre-Yves Verdon 
Ingenieur Systèmes Unix/Linux 
7 av Gambetta 93170 Bagnolet
Tel : 01.43.60.11.69

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


HELP! Undefined symbol "__stdoutp" in FreeBSD 4.3...

2003-07-31 Thread camp
Hi,

On a FreeBSD 4.3 server (I inherited when I took over IT duties at a new
client), I am getting "Undefined symbol "__stdoutp"" error messages when
I try to run utilities (e.g. sudo) that I have pkg_add'ed to the server.
 Also, attempts to build the latest 'sudo' port fail.  Initially, the
port building failure involved the fact that  /usr/local/bin/sed_inplace
did not exist.  Trying to build that port failed as well... so I
pkg_add'ed sed_inplace... But then the sudo port build kept failing.

Here is an example of the error I get when I try to run sudo:

> sudo date
/usr/libexec/ld-elf.so.1: Undefined symbol "__stdoutp" referenced from
COPY relocation in sudo

I tried searching the mailing lists via http://lists.freebsd.org, but
was told the "lists are unavailable at this time"...

I have tried 'google' searches etc.  The best I can figure is that
something changed somewhere along the way in FreeBSD 4.X causing port
builds to fail.  I am also guessing that it _may_ have something to do
with the 'compat' libraries, but this is just a guess.

I see the following "C lib" related compat libraries in /usr/lib/compat:

/usr/lib/compat/libc.so.3
/usr/lib/compat/libc_r.so.3
/usr/lib/compat/libc_r.so.4

Note:  I do _not_ have a /usr/lib/compat/libc.so.4 should I?

I can generally figure things out on my own... but this has kind of got
me turning in circles... Maybe if someone can just point me in the
correct direction...  or  send me a pointer to a FAQ or HowTo article,
or a simple list of instructions.

After doing some more searching... I'm getting the feeling that I need
to re-build my libraries, which would mean installing the source,
wouldn't it?  If this is correct, I need some instructions or pointers
to instructions in the handbook.

Update:  I have done a 'make' in /usr/src/lib/libc and copied the newly
 created libc.so.4 to /usr/lib/libc.so.4 and changed the permissions
 to 444... but I still get the same Undefined symbol "__stdoutp"
 error...

This smells like there has to be a _simple_ fix for this...

Many thanks.

--
Steve Camp
[EMAIL PROTECTED]



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


Re: Help PLEASE! on proper kernel config file to use serial portswith puc driver

2003-07-31 Thread J. Seth Henry
Stan,
Could you describe your hardware in a bit more detail. I can't imagine
why your system would hard lock, unless there is something seriously
wrong. Also, I'm curious why puc is detecting your card as sio4 and sio5
(COM5 and COM6 respectively) Most mainboards only have sio0/COM1 and
sio1/COM2. What is using sio2 and sio3?

BTW - I would start from a generic kernel configuration if you don't
remember what you did. Then, make the necessary changes to the copy of
GENERIC, and go from there. Then, rebuild the kernel - it probably isn't
necessary, but it will at least return your kernel to something closer
to the baseline.

Regards,
Seth Henry

On Thu, 2003-07-31 at 13:18, stan wrote:
> On Thu, Jul 31, 2003 at 10:34:14AM -0400, J. Seth Henry wrote:
> > All you need in your kernel config is 'device puc'. You already appear
> > to have this in your config, as your system detected the adapter.
> > 
> 
> Him
> 
> I've made some "progress" on this ;-(
> 
> I have created teh devices in /dev. I now have just the puc line in the
> kernel config, and the ports are getting detected like this:
> 
> puc0:  port 0xfce0-0xfcff irq 11 at device 6.0 on pci0
> sio4: type 16550A
> sio5: type 16550A
> 
> That;s the good nes. The bad news is that when I do "cu -l cuaa4", the
> computer locks up! No response to any keyboard input, no response to a ping
> etc. I have to power cycle it to get it back :-(
> 
> Sugestions?

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


Re: Really Crazy SMTP Problem

2003-07-31 Thread Michael Collette
Eric,

Not knowing what all you've got configured exactly, here's a couple of 
possible guesses to weed out the basics.

Can you do a reverse DNS lookup on your mail server?  In other words, perform 
a whois on the IP address and get a legit domain name.  Many servers require 
this in order to keep out obvious spammers.

You should also triple check and make sure that you have SMTP open to come 
back to you from the outside world.  SMTP requires open ports coming in as 
well as going out.  Check your TCP Wrappers and whether or not IPFW or 
IPFilters is in the mix.

Later on,

Eric Harrison wrote:

> Hi,  I've been trying everything I can think of to locate the source of
> this
> problem and I finally gave up and need some help.  This is the situation:
> 
> I have a server running FreeBSD 4.7-RELEASE.  I installed Postfix on the
> machine like I have done at least 20 other times on different machines and
> got everything configured like it should be.  I noticed quickly that it
> wasn't delivering mail to any remote mail servers so I checked my mail
> queue and discovered that most of the servers were either refusing the
> connection
> or not responding.  This was a little strange so I spent about a day
> checking the postfix configuration, assuming I had just messed something
> up.
> 
> I finally came to the conclusion that everything was configured properly
> and
> then had the bright idea  to try to manually connect to the external mail
> servers to see if I could connect.  This is where it gets wierd.
> 
> $telnet smtp.ADDRESSWITHHELD.com 25
> Trying xxx.xxx.xxx.x...
> telnet: connect to address xxx.xxx.xxx.x: Connection refused
> telnet: Unable to connect to remote host
> 
> I thought this to be rather odd, but thought the worst had happened and I
> had somehow gotten a blacklisted IP (possibly used previously by a Spammer
> or something).
> 
> So I tried a server I knew to NOT be running any type of blacklist
> filtering (one of my other servers that I knew the config on) and had the
> SAME result.
> Connection refused.  The other machines on the network running mail
> servers seem to not be having any problems like this, and I talked to my
> host to see if anything was reported, and he claiimed it was a
> misconfiguration of my
> mail server.  Knowing this not to be the case, I am stumped.
> 
> If ANYONE has any information or insight, you would be a lifesaver.
> 
> Thanks,
> 
> Eric Harrison

-- 
"In theory, there is no difference between theory and practice.
In practice, there is."
- Yogi Berra

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


does freebsd support IRDA comm.?

2003-07-31 Thread S.W.Liu
Does FreeBSD support IRDA devices? and how to config?

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


Re: Unable to access the internet through Windows 2000 proxy Server

2003-07-31 Thread Rommel B. Ikeda
Dear Mr. Aaron Siegel,

I am sorry for bothering you again...and Thank you for your response...
Yes, 192.168.1.5 is our gateway's IP address.  I was able to "route add default  
192.168.1.5" as root.  When I "netstat -r" the default 192.168.1.5 showed up.  Just to 
be sure below is the result of my "netstat -r"

Logistics# route add default 192.168.1.5
add net default: gateway 192.168.1.5
Logistics# netstat -r
Routing tables
 
Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.168.1.5UGSc00   aue0
localhost  localhost  UH  1   35lo0
192.168.1  link#1 UC  10   aue0
192.168.1.500:a0:c9:5a:47:ff  UHLW1  857   aue0666
Logistics  localhost  UGHS00lo0
 
Internet6:
DestinationGatewayFlags  Netif Expire
localhost  localhost  UH  lo0
fe80::%aue0link#1 UC aue0
fe80::20a:79ff:fe0 00:0a:79:03:5d:1b  UHL lo0
fe80::%lo0 fe80::1%lo0Uc  lo0
fe80::1%lo0link#3 UHL lo0
ff01:: localhost  U   lo0
ff02::%aue0link#1 UC aue0
ff02::%lo0 localhost  UC  lo0

These are the 2 results of my ping test:
$ ping www.philstar.com
ping: cannot resolve www.philstar.com: Host name lookup failure
$ ping 210.171.225.106
PING 210.171.225.106 (210.171.225.106): 56 data bytes
^C
--- 210.171.225.106 ping statistics ---
377 packets transmitted, 0 packets received, 100% packet loss
$ ping www.oisca.org
ping: cannot resolve www.oisca.org: Host name lookup failure

I have a very strong idea that this problem is caused by the remapping of our 
Ports...as I have informed you, our FTP Port is set to 10021, HTTP Port is set 10080, 
and so on...How can I set "cvsup-without-gui" to use 10021 for my FTP and 10080 for my 
HTTP?

I did created the directory /etc/resolv.conf as root, yesterday I had a little talk 
with the person in-charge of our Computer Room and asked him about our DNS.  He told 
me that our DNS is dynamically provided by our ISP...So, as in our case with sometimes 
encoumter problems in our Internet Connection and most of the time we have to REBOOT 
the machine that runs our Proxy Server...Everytime we reboot or turn that machine off, 
once we turn in on a new DNS will be used from our ISP, dynamically provided...I was 
told.

He said that the best thing for me to do is use "www.oisca.org", as my DNS...IS THIS 
APPLICABLE...for my "etc/resolv.conf"?
 
So at present this is what is inside my /etc/resolv.conf
nameserver www.oisca.org
#nameserver  12.105.171.186 (I added a # to disable it for the moment)
#nameserver  204.127.202.68 (I added a # to disable it for the moment)

I am really sorry that this has been dragging for a long time now...but, I really need 
your advice on this one...
I have cc this Email to the freeBSD Community that anyone with ideas can also help 
us...
Thank you...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: information

2003-07-31 Thread Richard Johannesson
This is where I got the latest ISO:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/5.1


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of gerardo diaz
> Sent: Thursday, July 31, 2003 9:25 PM
> To: [EMAIL PROTECTED]
> Subject: information
> 
> where i can download free FreeBSD,
> 
> thanks
> 
> GERARDO DIAZ
> PERU
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"


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


information

2003-07-31 Thread gerardo diaz
where i can download free FreeBSD, 

thanks

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


Re: WU FTPD

2003-07-31 Thread Jerry M. Howell II
On Thu, Jul 31, 2003 at 02:18:25PM -0400, Lucas Holt wrote:
> There was a vulnerability released today in wu ftpd and I'm unclear if 
> this would affect the software running on a freebsd system.  It appears 
> to cause problems on linux 2.4.x kernels but not older kernels due to 
> the way the compiler works.  Does anyone know if this problem is 
> exploitable on freebsd?  If not, where should I ask this question?
> 
I'd look for a better alternative for a ftp server anyways. WU is
potmarked with tons of security flaws. It can be locked prety tight if
you know what your doing but there are beter alternatives. Many ppl have
substituted proftp in it's place and pureftp is starting to gain
popularity

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


RE: can't connect to the network

2003-07-31 Thread Derrick Ryalls
> i'm running FreeBSD 4.8 on one of my machines.  i'm having a 
> really frustrating problem.  i cannot connec to anything 
> outside of the interface.

Is it giving any error msg?

If it says no route to host, you need to setup a default route, but I
doubt this is the issue.


> 
> i've quarduple checked that the NIC is assigned an address 
> with the same subnet as my network.  i can ping the ip 
> address on the NIC, but i can't ping any other device on the network.

Again, error msg?  If it says host is down, I would check hardware.  Is
there a link light on hub/switch?  If there is no hub/switch, are you
using a crossover cable?  It is hard to say without more details.

> 
> i had firewall options in my rc.conf, but they are all 
> commented out (quadruple checked that too).

That could be an issue.  If you have a default to deny in kernel and you
comment out all your firewall lines, it will block everything.  If you
get an error msg of permission denied, this is generally what is going
on.

> 
> any ideas on how i can resolve this matter?
> 



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


freebsd 5.0 and supporting USB 2.0

2003-07-31 Thread xxcrisxx
Hi to all list

I'm a newbie of freebsd (I used linux for a couple of years),I had just
assembled my new computer (Gigabyte 7VAXP with athlon XP2500+ ), I installed
a 5.0 release and is working fine and I'd like to know if I can set the
kernel to support usb 2.0 or I have to install the freebsd 5.1 , I saw that
is not so stable but I have this USB esternal modem ISDN (DrayTek Vigor
128) and I don't know how to fix it , the sound card(AC97 Realtek ALC650)as
well is not reconized but I think I can fix it .
Sorry for my English and thank you in advance for your answers :-)

Cristiano

__
Partecipa al concorso Tiscali "collegati e vinci",
il primo premio e' un viaggio per 2 persone a Zanzibar!
http://point.tiscali.it/numerounico/




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


Re: CVSUP

2003-07-31 Thread Adam Stroud
No, that was fine.  I understand what you are saying.  I was actually thinking 
that myself, I was just wondering if anyone had any easier way.  It's not a 
big deal really, I just change the default install dirs on one port.  That 
means that I change all of 4 lines in a Makefile, I was just wondering.  
Thanks anyway man.

Cheers

> If you have lots of disk space, you can try using CVSup to mirror the CVS
> repository and let CVS merge your changes:
>
> * Omit the `tag' in your cvsupfile. Just don't put one in.
> * Change the `prefix' to a place where you have a lot of space, such
>   as /usr/local/portcvs. (Do NOT use /usr!)
> * Cvsup as normal.
> * You should find a lot of files in /usr/local/portcvs/ports/* with
>   names ending in ",v". These are the CVS files.
> * Back up your ports tree (mv /usr/ports /usr/ports.old).
> * cd /usr && cvs -d /usr/local/portcvs checkout ports
> * If all went well, you have a ports tree.
>
> Now, always cvsup this way. To update your main ports tree, do
> `cd /usr/ports && cvs -d /usr/local/portcvs update'. This will
> try and merge your changes.
>
> This may have been a bit difficult to understand. I'm sure someone else can
> explain it better than I :-)
>
> -- Josh
>
> > Thanks
> >
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

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


Re: buggy optimization levels...

2003-07-31 Thread Kris Kennaway
On Thu, Jul 31, 2003 at 10:30:57PM -0400, Chuck Swiger wrote:

> Fine.  However, you don't _need_ to identify the reason why the kernel 
> died, or solve the bug in global common expression elimination to solve the 
> problem of compiling the system with "cc -O2" resulting in a buggy kernel.  
> If you determine that compiling with "cc -O -fgcse" results in failures, 
> one does:

This is the trivial part (you don't even need to modify gcc, because
all the optimizations turned on by -Ofoo are also available as
individual -fblah options).  As I've already said, once you have a
self-contained test-case that demonstrates that a particular gcc
optimization level generates broken code, the gcc people will fix it.

Kris


pgp0.pgp
Description: PGP signature


imake won't install-4.3.0

2003-07-31 Thread Richard Johannesson
Using sysinstall, was going to install emacs and kde.
Install failed on installing imake. The error I got 
Was "Add of package imake-4.3.0 aborted, error code 1
 - Please check the debug screen for more info."
, then got "Loading of dependent package imake-4.3.0
 failed".

Where is this debug screen I'm supposed to look at?

Tried doing a portinstall imake. This failed as well.
This was after I did: 1) cvsup -g -L 2 cvsup.conf,
2) portsdb -Uu, 3) pkgdb -F, 4) portupgrade -ra

Don't know how to fix this.

Overview:
- Installed FreeBSD 5.1 Release.
- Modified the install unix partitions to support vinum
  worked after a lot of help from people on this list.
- Did as much restore of the previous image the machine
  had before it crashed. Should have had vinum back then!
- Also, added some RCS version control for the config
  files under /etc, /usr/local/etc, and /root

How's the best way to debug this. What files should I be
looking at?

Thanks in advance for any tips,
Richard

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


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Dan Nelson
In the last episode (Aug 01), Rob Lahaye said:
> Another odd behaviour occurs when I say:
> 
>   set foo="abc"
> 
> which tcsh reduces to "a b c", despite the quotes.

This works for me (-CURRENT).

$ tcsh
dan: {3001} set foo="abc"
dan: {3002} set | grep foo
_   set foo="abc"
foo abc
dan: {3003} echo "$foo"
abc
dan: {3004} 
 
-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Video Card

2003-07-31 Thread Vulpes Velox
try doing a XFree86 -configure and see if that produces a working conf... then
just move it and change it to the desired res and whatever...

On Thu, 31 Jul 2003 17:17:06 +0100
"Per Nilsson " <[EMAIL PROTECTED]> wrote:

> Hi. 
> 
> I was wondering if  you can tell me how to get my video card working in
> freebsd?!
> 
> I am using FreeBSD 4.8, and my video card is: "128 DDR ATI Radeon 9700".
> 
> I have tried like hell to get the card work, but without any luck.. The X
> server won`t start without the card working, and so on.. 
> 
> how do i do?
> 
> // Per
> 
> 
>   Vad står det om dig på nätet?
>   Kolla nu! - http://www.lycos.se/
> 
> 

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


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Rob Lahaye

Dan Nelson wrote:
> 
> Actually it doesn't.  You get this result because sh splits variables
> on $IFS before passing the result to a command, so what echo gets is
>  argv[1]="-f \"t"
>  argv[2]="\""

I come to the conclusion that there's no intuitive solution in a
tcsh script for

   set foo='-f "a  "'

My unix knowledge tells me the following should work:

   set foo="-f\ \"a\ \ \""

but tcsh does not allow these escape sequences; the backslashes
become real backslashes and an error occurs on too many
quotes.

Another odd behaviour occurs when I say:

  set foo="abc"

which tcsh reduces to "a b c", despite the quotes.


I'd say very un-unix like behaviours

Rob.

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


Re: buggy optimization levels...

2003-07-31 Thread Erik Trulsson
On Thu, Jul 31, 2003 at 10:30:57PM -0400, Chuck Swiger wrote:
> Kris Kennaway wrote:
> >On Thu, Jul 31, 2003 at 09:34:17PM -0400, Chuck Swiger wrote:
> >>OK.  Can the existence of such problems be confirmed reliably, say by 
> >>regression testing?
> >
> >The problem is in identifying precisely which piece of code is
> >failing.  A regression test is only useful if it concisely exercises a
> >specific set of tests.  As I said, in theory any optimization problems
> >can be tracked down to the failure of a certain piece of code, but in
> >something as large as the kernel it is not usually easy.
> 
> Ah, my apologies-- I believe I see where the confusion lies.
> 
> I understand that figuring out why the kernel died can be hard, 
> particularly if the failures aren't concise and completely reproducable, 
> and thus tracing the problem back to making the right change to gcc to fix 
> the optimization that caused the observed failure is thus also hard.

Note that it is not necessarily gcc which is at fault for such
failures. It may be a bug in gcc, but it may also be a bug in the code
being compiled that has a bug that only shows up under higher
optimization levels.
The latter is probably somewhat more common actually.


> 
> Fine.  However, you don't _need_ to identify the reason why the kernel 
> died, or solve the bug in global common expression elimination to solve the 
> problem of compiling the system with "cc -O2" resulting in a buggy kernel.  
> If you determine that compiling with "cc -O -fgcse" results in failures, 
> one does:
> 
> --- toplev.c_oldThu Jul 31 22:23:22 2003
> +++ toplev.cThu Jul 31 22:24:01 2003
> @@ -4916,7 +4916,6 @@
>  {
>flag_cse_follow_jumps = 1;
>flag_cse_skip_blocks = 1;
> -  flag_gcse = 1;
>flag_expensive_optimizations = 1;
>flag_strength_reduce = 1;
>flag_rerun_cse_after_loop = 1;
> 
> ...and makes it so that -O2, -O3, etc does not enable GCSE optimization.

But if the bug is not in gcc but in the code being compiled (and which
only happens to show up when compiled with GCSE optimization) such a
patch would disable this optimization for correct code also even though
it is not necessary there.



-- 

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


Re: buggy optimization levels...

2003-07-31 Thread Chuck Swiger
Kris Kennaway wrote:
On Thu, Jul 31, 2003 at 09:34:17PM -0400, Chuck Swiger wrote:
OK.  Can the existence of such problems be confirmed reliably, say by 
regression testing?
The problem is in identifying precisely which piece of code is
failing.  A regression test is only useful if it concisely exercises a
specific set of tests.  As I said, in theory any optimization problems
can be tracked down to the failure of a certain piece of code, but in
something as large as the kernel it is not usually easy.
Ah, my apologies-- I believe I see where the confusion lies.

I understand that figuring out why the kernel died can be hard, particularly if 
the failures aren't concise and completely reproducable, and thus tracing the 
problem back to making the right change to gcc to fix the optimization that 
caused the observed failure is thus also hard.

Fine.  However, you don't _need_ to identify the reason why the kernel died, or 
solve the bug in global common expression elimination to solve the problem of 
compiling the system with "cc -O2" resulting in a buggy kernel.  If you 
determine that compiling with "cc -O -fgcse" results in failures, one does:

--- toplev.c_oldThu Jul 31 22:23:22 2003
+++ toplev.cThu Jul 31 22:24:01 2003
@@ -4916,7 +4916,6 @@
 {
   flag_cse_follow_jumps = 1;
   flag_cse_skip_blocks = 1;
-  flag_gcse = 1;
   flag_expensive_optimizations = 1;
   flag_strength_reduce = 1;
   flag_rerun_cse_after_loop = 1;
...and makes it so that -O2, -O3, etc does not enable GCSE optimization.

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


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Dan Nelson
In the last episode (Jul 31), Chuck Swiger said:
> Rob Lahaye wrote:
> [ ... ]
> >Any solutions for this problem with quotes and spaces in tcsh
> >script? Or is tcsh not suitable for this kind of things?
> 
> Ugh, the latter.  :-)  /bin/sh handles nested quoting right, but crunches 
> the space together:
> 
> % foo="-f \"t  \""
> % echo $foo
> -f "t "
> 
> % foo='-f "t  "'
> % echo $foo
> -f "t "

Actually it doesn't.  You get this result because sh splits variables
on $IFS before passing the result to a command, so what echo gets is
 argv[1]="-f \"t"
 argv[2]="\""
, and echo always prints its arguments separated by a space.  You can
verify that the variable is set correctly by running "set | grep -a
foo".  To pass the entire string as one argument, run echo "$foo".

> ...however, you might be able to muck with $IFS and get better results. 
> Also, ZSH seems to do exactly what you expected:
> 
> 64-sec% foo="-f \"t  \""
> 65-sec% echo $foo
> -f "t  "

This is because zsh passes variables directly to commands, unless the
SH_WORD_SPLIT flag is set.  You can force spltting with the ${=foo}
syntax.

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


Installing 4.8 from a PCMCIA NIC

2003-07-31 Thread Kirk Strauser
I'm trying to install FreeBSD 4.8 on a machine with no CD-ROM, and only a
PCMCIA NIC (Microsoft (yep) MN-520, Prism 2, works under Linux using the
"prism2_cs" driver).  sysinstall prompts for the PCMCIA bus'es memory
segment and usable IRQs, and I give it the values that Linux was using on
the same hardware.  It probes around and loads the main menu, but no network
interface is listed by ifconfig on the holographic shell.

Do I need to do anything extra to start the card?  Its LEDs light up as
though it's being managed by the system, but I don't know what to do next.
Is there a part of TFM I should be reading?
-- 
Kirk Strauser


pgp0.pgp
Description: PGP signature


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Michael E. Mercer
ok ok... I noticed one thing while playing with this...

the script hello.sh
#!/bin/tcsh -f

set JUNK='-f "t  "'

echo ">>${JUNK}<<"
echo ">>"${JUNK}"<<"

The first echo prints it -f "t  "
and the second -f "t "

Can you use it with the double quotes around it?

later
MeM


On Thu, 2003-07-31 at 22:12, Michael E. Mercer wrote:
> On Thu, 2003-07-31 at 21:42, Rob Lahaye wrote:
> > When I use
> >set flag='-f "t  "'
> > 
> 
> When I echo this out, I get what you are wanting...
> can you show us how you are using this, to get the "weird" behavior?
> 
> Thanks
> MeM
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Chuck Swiger
Rob Lahaye wrote:
[ ... ]
Any solutions for this problem with quotes and spaces in tcsh script?
Or is tcsh not suitable for this kind of things?
Ugh, the latter.  :-)  /bin/sh handles nested quoting right, but crunches the 
space together:

% foo="-f \"t  \""
% echo $foo
-f "t "
% foo='-f "t  "'
% echo $foo
-f "t "
...however, you might be able to muck with $IFS and get better results. Also, 
ZSH seems to do exactly what you expected:

64-sec% foo="-f \"t  \""
65-sec% echo $foo
-f "t  "
67-sec% foo='-f "t  "'
68-sec% echo $foo
-f "t  "
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tcsh script: quote and spaces problems

2003-07-31 Thread Michael E. Mercer
On Thu, 2003-07-31 at 21:42, Rob Lahaye wrote:
> When I use
>set flag='-f "t  "'
> 

When I echo this out, I get what you are wanting...
can you show us how you are using this, to get the "weird" behavior?

Thanks
MeM

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


Ieomega zip

2003-07-31 Thread fabio
Hallo BSD people. I'm installing BSD4.8 on a DELLi486(notebook) which doesn't have a 
CD-ROM. I would really appreciate if you know any solutions to how I can install the 
BSD extra packages with a ZIP100 parralell port after the floppy install.
At ieomega.com I didn't find any drives.
Any help will be well appreciated.
Thank you Fabio




reply [EMAIL PROTECTED] have a cool day
Obtenga su E-mail GRATUITO en http://lapoe.zzn.com

Para obtener su propio servicio de correo electrónico basado en la Multimalla, 
diríjase a http://www.zzn.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: buggy optimization levels...

2003-07-31 Thread Kris Kennaway
On Thu, Jul 31, 2003 at 09:34:17PM -0400, Chuck Swiger wrote:

> OK.  Can the existence of such problems be confirmed reliably, say by 
> regression testing?

The problem is in identifying precisely which piece of code is
failing.  A regression test is only useful if it concisely exercises a
specific set of tests.  As I said, in theory any optimization problems
can be tracked down to the failure of a certain piece of code, but in
something as large as the kernel it is not usually easy.

Kris


pgp0.pgp
Description: PGP signature


can't connect to the network

2003-07-31 Thread Bsd Neophyte
i'm running FreeBSD 4.8 on one of my machines.  i'm having a really
frustrating problem.  i cannot connec to anything outside of the
interface.

i've quarduple checked that the NIC is assigned an address with the same
subnet as my network.  i can ping the ip address on the NIC, but i can't
ping any other device on the network.

i had firewall options in my rc.conf, but they are all commented out
(quadruple checked that too).

any ideas on how i can resolve this matter?

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


tcsh script: quote and spaces problems

2003-07-31 Thread Rob Lahaye


Hello,

I've been trying to include the quote (") characters and spaces into a tcsh script
variable; for already two days I've been trying various ways doing this to no avail!
I'm about to think that it is impossible.
For example:


#!/bin/tcsh
set flag="-f "t  ""

This obviously doesn't work because of too many quotes involved; but what does work
to achieve this? There are two problems here:
  1) flag should contain the two internal quotes of "t  "
  2) the "t  " contains two spaces.
When I use
  set flag='-f "t  "'
the two spaces are automagically (?) reduced to only one space!!

The latter seems to be a general problem:

  set flag="f "

wil result in flag containing only "f ".

Any solutions for this problem with quotes and spaces in tcsh script?
Or is tcsh not suitable for this kind of things?
Thanks,
Rob.


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


Re: buggy optimization levels...

2003-07-31 Thread Chuck Swiger
Kris Kennaway wrote:
On Mon, Jul 14, 2003 at 05:37:45PM -0400, Chuck Swiger wrote:
The "known bugs" section of the GCC info documentation lists 5 issues; "man 
gcc" lists none.  Can someone provide a test case for a bug involving "cc 
-O" versus "cc -O3" under FreeBSD 4-STABLE for the x86 architecture?
Probably not, or it would have already been fixed.
Hopefully so, as the compiler toolchain is important.  :-)

The warning against using FreeBSD with settings higher than -O1 (==
-O) is because it often causes bugs that are difficult to track down
(e.g. some aspect of the kernel just doesn't work properly).
OK.  Can the existence of such problems be confirmed reliably, say by regression 
testing?  /usr/src/contrib/gcc/toplev.c is clear enough which specific 
optimizations are involved at the different number levels:

  if (optimize >= 1)
{
  flag_defer_pop = 1;
  flag_thread_jumps = 1;
#ifdef DELAY_SLOTS
  flag_delayed_branch = 1;
#endif
#ifdef CAN_DEBUG_WITHOUT_FP
  flag_omit_frame_pointer = 1;
#endif
}
  if (optimize >= 2)
{
  flag_cse_follow_jumps = 1;
  flag_cse_skip_blocks = 1;
  flag_gcse = 1;
  flag_expensive_optimizations = 1;
  flag_strength_reduce = 1;
  flag_rerun_cse_after_loop = 1;
  flag_rerun_loop_opt = 1;
  flag_caller_saves = 1;
  flag_force_mem = 1;
#ifdef INSN_SCHEDULING
  flag_schedule_insns = 1;
  flag_schedule_insns_after_reload = 1;
#endif
  flag_regmove = 1;
}
  if (optimize >= 3)
{
  flag_inline_functions = 1;
}
Couldn't one compile with "cc -O -finline-functions", and then iterate through 
"-fcse-follow-jumps", "-fgcse", etc and see which optimizations are safe?

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


Re: /usr/ports/mail/sentinel is broken...

2003-07-31 Thread Lowell Gilbert
"Jeff D. Hamann" <[EMAIL PROTECTED]> writes:

> I've been looking for a milter to add to my FreeBSD 4.4 system and figured I
> would simply go the great ports collection for the task. I chose sentinel
> figuring it had al;l the rough edges taken off and the admin looked pretty
> simple. I'm currently running sendmail 8.12.9. I ran the make install from
> the /usr/ports/mail/sentinel dir and got the following errors:

It built for me on -STABLE within the last couple of weeks.  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: emacs - gnu, x ...?

2003-07-31 Thread Lowell Gilbert
george donnelly <[EMAIL PROTECTED]> writes:

> I'd like to start getting into emacs, but there are so many versions and
> variations that I'm not sure which one to install from ports, eg we have gnu
> emacs and xemacs.

For a beginner, you won't notice the differences.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Freebsd behind a proxy

2003-07-31 Thread Lowell Gilbert
Aaron Siegel <[EMAIL PROTECTED]> writes:

> I am currently helping a fellow user, Rommel B. Ikeda [EMAIL PROTECTED]  He 
> is have problems getting is computer to connect to the internet through a 
> Window 2000 proxy server.  I only have experience with NAT.  I do not expect 
> someone to solve our problem just point me to the correct documents (feel 
> free to solve the problem if you like).

Proxies have to be handled on an application-by-application basis.
Unlike that abomination of networking called NAT, they need intimate
knowledge of the protocols being passed through them.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


shell scripting while if string length != 0

2003-07-31 Thread Dave [Hawk-Systems]
for reasons best left unsaid, we need to pull in a file full of partial
commands, and run them via a shell script on occasion, removing each command as
we run it.  Have managed to hack togetherthe following shell script, but and
stumped on something simple because of my lack of shell knowledge;

the file that holds out commands
  
Server1 df -k
Server2 df -k
Server3 top | grep myprog
Server4 who

add new commands to the end of the file with
  echo "Server2 who" >> /path/to/file_o_commands

then when we need to, run through the commands
  
#!/bin/sh
# get top command
DOCOMMAND=`head -n 1 /path/to/file_o_commands`
# remove that command
cat /path/to/file_o_commands | sed '1d' > /path/to/file_o_commands
# run that command
ssh ${DOCOMMAND}

this works as intended with 1 exception, we need to add a while in there to loop
through the file and stop processing an exit when `head -n 1
/path/to/file_o_commands` does not return a line.

I almost want to borrow -n from if

while [ -n (DOCOMMAND=`head -n 1 /path/to/file_o_commands`) ] do
 ...rest of script...
done

Anyone care to enlighten me a bit?

Dave


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


Re: fdisk problem [core dump]

2003-07-31 Thread Lowell Gilbert
[EMAIL PROTECTED] () writes:

> When I try to use fdisk with a Maxtor diamond plus 9 HD [ model 6Y080L0] I get an 
> error during "Writing partition information to drive ad0" like "Segmentation fault 
> (core dumped)"
> I do these steps:
> sysinstall-->configure-->fdisk
> 
> A = Use Entire Disk
> w = Write Changes
> Boot Manager = Install the FreeBSD Boot Manager
> 
> At this point I get the error while fdisk write information on disk:
> 
> My system is:
> ---uname -a output:---
> FreeBSD phoenix 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
> 
> Motherboard: ASUS A7N8X deluxe
> processor AMD Athlon 2600
> RAM: DDR 133 - 256 MB
> 
> Could You help me?

Have you got the install completed?  If so, try running fdisk
directly.  If not, see if 4.8 (the latest "production quality"
release) exhibits the same symptoms.  If you really need 5.x 
for some reason, ask on the -CURRENT list.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfw ruleset question

2003-07-31 Thread Lowell Gilbert
Andrzej Kwiatkowski <[EMAIL PROTECTED]> writes:

> I've got a bit strange problem..
> 
> My freeBSD works as NAT with natd.
> 
> Whene rule
> 
> divert 8668 ip from any to any via fxp0
> 
> is first everything is ok,but when i try to move this rule after some
> blocking spamer rules, my Nat won't work properly.
> 
> Incoming traffic is well nated, but outgoing looks like not nated.
> 
> sysctl net.inet.ip.fw.one_pass is set to 1.
> I try to set to 0 but nothings changed .
> 
> Have any Idea ??

Sounds like your spam-blocking rules include some packet-accepting
rules.  What does the ruleset look like?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: largest amount of memory a system can use

2003-07-31 Thread Lowell Gilbert
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:

> I need to know what is the upper limit on the amount of memory a process
> can use under freebsd. Using rlimit (under 4.8-RELEASE) seems to return
> 2GB. 
> 
> Is there any plan to support larger than this in the future 5.x releases ?

I don't know about 5.x (you'd have to ask the -CURRENT folks about
that), but under 4.x, the issue is one of balancing the kernel and
process memory usage out of the maximum 4 GB space.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SMART hard drive utility?

2003-07-31 Thread Matt Staroscik
Does anyone know of a utility to monitor temperature and event logs on 
"SMART"  hard drives?

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


RE: Problems with MailArchive searches

2003-07-31 Thread fbsd_user
This all ways works for me

http://groups.google.com/groups?hl=en&group=mailing.freebsd.question
s


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lowell
Gilbert
Sent: Thursday, July 31, 2003 8:36 PM
To: Hasse
Cc: FreeBSD Questions
Subject: Re: Problems with MailArchive searches

Hasse <[EMAIL PROTECTED]> writes:

> Hi everybody.
> I have a problem doing searches in the mailarchive.
> This is the message I get :
>
> Mail Archive Search
>
> None of the archives you requested (freebsd-newbies,
freebsd-questions and
> freebsd-user-groups) are available at this time.
>
> Please try again later, or return to the search page and select a
different
> archive.
>
> Any clues ?

Just at a guess, I'd say that maybe those archives are unavailable;
the presumption is that they should be available again at some point
in the future, at which time you could retry your search.

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

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


Re: Problems with MailArchive searches

2003-07-31 Thread Lowell Gilbert
Hasse <[EMAIL PROTECTED]> writes:

> Hi everybody.
> I have a problem doing searches in the mailarchive.
> This is the message I get :
> 
> Mail Archive Search
> 
> None of the archives you requested (freebsd-newbies, freebsd-questions and 
> freebsd-user-groups) are available at this time.
> 
> Please try again later, or return to the search page and select a different 
> archive.
> 
> Any clues ?

Just at a guess, I'd say that maybe those archives are unavailable;
the presumption is that they should be available again at some point
in the future, at which time you could retry your search.

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


Re: linux_llseek

2003-07-31 Thread Lowell Gilbert
Hmm.  If I remember correctly, the linux_llseek() call is just a hack
to add a wider-than-32-bit lseek(2) type call without touching
anything already in the system.  I may be confused, though.

In any case, this doesn't really make sense, because it's really just
a wrapper around a system call (at least, the normal lseek() is, and I
can't imagine why any variant would be implemented much differently).
The output may be some kind of artifact caused by the kernel dive, but
I don't know why that would happen, either...  maybe a -hacker would
know. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ARP Problem - Please Help

2003-07-31 Thread Lowell Gilbert
"Company 2210" <[EMAIL PROTECTED]> writes:

> My problem is this (and it's driving me nuts as I can't see the
> solution). I have two freebsd boxes acting as routers, the layout is like
> this:
> 
> 
> Clients (12.20.78.0/25) <->(eth0) ROUTER A (eth1)<===> (eth1) ROUTER
> B (eth0) <> (12.20.65.69) Upstream ISP & Internet
> 
> Router A Configuration:
> 
> eth0: 12.20.78.1 Subnet 255.255.255.128
> eth1: 10.0.0.1 Subnet 255.255.255.0
> 
> Router B Configuration:
> 
> eth0: 12.20.65.70 Subnet 255.255.255.252
> eth1: 10.0.0.2 Subnet 255.255.255.0
> 
> 
> The private IP's denote an IPSEC VPN connection (Wireless) between ROUTER A
> & B, all the client PC's are on public IP's. Now, the VPN works perfectly,
> encrypting the packets over the wireless link, however ROUTER A's eth0
> interface does not appear in the arp -a lookup:
> 
> ? (10.0.0.1) at 00:05:5d:a6:15:78 on eth1 permanent [ethernet]
> ? (10.0.0.2) at 00:c0:dd:ea:ac:5c on eth1 [ethernet]
> ? (12.20.78.0) at ff:ff:ff:ff:ff:ff on eth0 permanent [ethernet]
> ? (12.20.78.2) at 00:0c:cd:53:d9:f3 on eth0 [ethernet]
> ? (12.20.78.42) at 00:9a:17:90:d3:b4 on eth0 [ethernet]
> ? (12.20.78.52) at 00:2b:18:2e:22:21 on eth0 [ethernet]
> ? (12.20.78.127) at ff:ff:ff:ff:ff:ff on eth0 permanent [ethernet]

Those look like entries for all the local nets...

> If I try and force the entry, I receive the following error:
> 
> routera# arp -s 12.20.78.1 00:0c:5d:e6:16:75
> set: can only proxy for 12.20.78.1

Router B shouldn't need that, because it isn't on that link, and
Router A shouldn't need it because it *is* 12.20.78.1.  What are you
trying to do?

> The big problem this is causing is that clients cannot ping the gateway, and
> it responds to no requests (i.e I can't ssh into it), but it still forwards
> packets perfectly. Basically it's like 12.20.78.1 was invisible. The other
> strange thing is, that if I ssh into ROUTER B and ping 12.20.78.1 I receive
> replies:

What host and gateway addresses are you referring to in the first
sentence, and why are you surprised by the second?

> routerb# ping 12.20.78.1
> PING 12.20.78.1 (12.20.78.1): 56 data bytes
> 64 bytes from 12.20.78.1: icmp_seq=0 ttl=64 time=3.577 ms
> 64 bytes from 12.20.78.1: icmp_seq=1 ttl=64 time=3.724 ms
> 64 bytes from 12.20.78.1: icmp_seq=2 ttl=64 time=3.817 ms
> ^C
> --- 12.20.78.1 ping statistics ---
> 3 packets transmitted, 3 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 3.577/3.706/3.817/0.099 ms
> 
> 
> The output of ROUTER B's arp table is displayed below:
> 
> ? (10.0.0.1) at 00:05:5d:a6:15:78 on eth1 [ethernet]
> ? (10.0.0.2) at 00:c0:dd:ea:ac:5c on eth1 permanent [ethernet]
> ? (12.20.65.69) at 00:d0:03:ba:bb:fc on eth0 [ethernet]
> 
> 
> I am completely at a loss as to how to get around this problem. Any help or
> advice would be really great as I've spend the past 3 days, and the floor is
> littered with tufts of hair ;) Just incase this is any help, this is the
> output from setkey -DP (For encrypting the packets across the 10.0.0.x link)
> on each router:
> 
> ROUTER A:
> 
> 0.0.0.0/0[any] 12.20.78.0/25[any] any
> in ipsec
> esp/tunnel/10.0.0.2-10.0.0.1/require
> spid=2 seq=1 pid=778
> refcnt=1
> 12.20.78.0/25[any] 0.0.0.0/0[any] any
> out ipsec
> esp/tunnel/10.0.0.1-10.0.0.2/require
> spid=1 seq=0 pid=778
> refcnt=1
> 
> ROUTER B:
> 
> 12.20.78.0/25[any] 0.0.0.0/0[any] any
> in ipsec
> esp/tunnel/10.0.0.1-10.0.0.2/require
> spid=8 seq=1 pid=24377
> refcnt=1
> 0.0.0.0/0[any] 12.20.78.0/25[any] any
> out ipsec
> esp/tunnel/10.0.0.2-10.0.0.1/require
> spid=7 seq=0 pid=24377
> refcnt=1


I don't really get the "eth0" nomenclature, anyway; I've seen it on
Linux, where the device type is abstracted behind a common name, but I
don't know what it means in a FreeBSD setup...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dual booting FreeBSD and Windows XP

2003-07-31 Thread JacobRhoden

On Fri, 1 Aug 2003 02:29 am, Jud wrote:
> > > My question is: does FreeBSD's boot loader support loading XP?
> > > Because I've heard XP doesn't like it's MBR being overwritten. Is this
> > > true?
> >
> > I believe both statements are true.
> > Anyway, you can boot XP with FreeBSD's MBR and that's the important one.
>
> Jerry's right and so's Adam.  I happen to be using GAG right now, because
> it's pretty automagic and I have a slightly complicated setup.

I installed XP, then FreeBSD on my machine and it all works fine with the 
FreeBSD boot loader. That said maybe I should try GAG, the font is a bit 
ugly, but at least the XP partion on boot time wouldnt appear as '??'.

(:
 

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


Re: emacs - gnu, x ...?

2003-07-31 Thread george donnelly
[Benjamin Walkenhorst wrote ([EMAIL PROTECTED]) on 7/31/03 6:44 PM]

> If you want a GUI, try GNU Emacs or XEmacs. I prefer GNU Emacs, but I suggest
> you try both (if you are looking for a GUI).
> If you don't want a GUI, and if you are not looking for Emacs' massive
> extensibility, there are several curses-based "lookalikes" of Emacs, that
> share Emacs' look and feel, but do not feature its lisp interpreter, and thus
> much of its extensibility; on the other hand, they tend be more...
> ressource-friendly than emacs. Among these smaller versions I know of zile
> (zile is lossy emacs) and µemacs (micro emacs), though I have tried neither.

thanks for the feedback. gui is not important, i guess i'm just looking for
the neat features that everyone talks about - and with a minimum of resource
usage as i would like to install it on a webserver as well so clients can
use it over ssh.

<-->
george donnelly ~ http://www.zettai.net/ ~ "Quality Zope Hosting"
Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites
Yahoo, AIM: zettainet ~ MSN: [EMAIL PROTECTED] ~ ICQ: 51907738

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


Re: emacs - gnu, x ...?

2003-07-31 Thread Benjamin Walkenhorst
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, 1. August 2003 00:22, george donnelly wrote:
> I'd like to start getting into emacs, but there are so many versions and
> variations that I'm not sure which one to install from ports, eg we have
> gnu emacs and xemacs.
>
> which emacs should i install, use and learn?

If you want a GUI, try GNU Emacs or XEmacs. I prefer GNU Emacs, but I suggest 
you try both (if you are looking for a GUI).
If you don't want a GUI, and if you are not looking for Emacs' massive 
extensibility, there are several curses-based "lookalikes" of Emacs, that 
share Emacs' look and feel, but do not feature its lisp interpreter, and thus 
much of its extensibility; on the other hand, they tend be more... 
ressource-friendly than emacs. Among these smaller versions I know of zile 
(zile is lossy emacs) and µemacs (micro emacs), though I have tried neither.

GNU Emacs comes with a tutorial (start emacs, then type "Ctrl-h t" to start 
the tutorial). A lot of what is said there applies to other versions as well. 

Kind regards, 

Benjamin

- -- 
Benjamin Walkenhorst
eMail: [EMAIL PROTECTED]
homepage: http://www.krylon.de
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE/Kan7oYumWdMvhMQRAqOyAJ9AgAY0r42x0+5dLcADyjDOGlIYWgCcC47k
yf86BfOwbc3DjIGi28BrPak=
=uRVp
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BSD Install; San Jose, CA

2003-07-31 Thread Warren Block
On Thu, 31 Jul 2003, Josh Fox wrote:

> 22:44 GMT 7/31/03
> Ladies and Gentlemen:
> I am a newer BSD user and a fairly seasoned Solaris user; I am having a
> FreeBSD install problem.  Is there anyone in the San Jose, CA area that
> can get with me Tuesday 8/5/03 in the lobby of the San Jose Wyndham to
> help tackle my install problem.  I have a Panasonic CF-25 Toughbook,
> and can get into the Sysinstall of 5.0, but I can only run 1 of 2 input
> medias at a time: either floppy (3.5") or CD.  I cannot swap the floppy
> once Sysinstall loads and therefore cannot load from the CD.

Won't the notebook boot off the CD?  (I'd suggest using 5.1 at this
point, or 4.8 for something more polished.)

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: updating the perl installation

2003-07-31 Thread David S. Jackson
On Thu, Jul 31, 2003 at 09:42:15AM -0500 Alfonso Romero <[EMAIL PROTECTED]> wrote:
> I installed the perl 5.8.0 port on FreeBSD 4.8 using make
> install, but the old perl version is still there. How can I
> upgrade it to the new port version?

The real question is, what will upgrading break?

-- 
David S. Jackson[EMAIL PROTECTED]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don't take life so serious, son, it ain't nohow
permanent.
-- Walt Kelly
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error when starting quake3, Anybody????

2003-07-31 Thread [EMAIL PROTECTED]
I've been busy installing the new NVIDIA drivers so 3D support is utilised. Now I've 
recompiled my kernel so that the nessesary support whas selected. Then installed the 
driver and configured the XF86config file. (This al took like 2 weeks to find out). 
Now I got rid of al the previous error's I tried installing I got and installed quake3 
to find out how Unix performs with the 3D drivers, but I'm getting the following error 
:

./quake3
Q3 1.32 linux-i386 Oct  7 2002
- FS_Startup -
Current search path:
/root/.q3a/baseq3
/usr/local/games/quake3/baseq3/pak8.pk3 (9 files)
/usr/local/games/quake3/baseq3/pak7.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak6.pk3 (64 files)
/usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/local/games/quake3/baseq3/pak3.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak2.pk3 (148 files)
/usr/local/games/quake3/baseq3/pak1.pk3 (26 files)
/usr/local/games/quake3/baseq3/pak0.pk3 (3539 files)
/usr/local/games/quake3/baseq3
./quake3.x86/baseq3

--
4073 files in pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

--- Input Initialization ---
Joystick is not active.

- Client Initialization -
- Initializing Renderer 
---
- Client Initialization Complete -
- R_Init -
...loading libGL.so.1: Received signal 11, exiting...
RootlyGod#

Does anybody know how to fix this? 

Again its the libGL driver but it seems to work like it should.GLXgears works and 
GLXinfo doesn't show any error's...
Who has advice??

yours truly and hoping for a reply

kristof






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


Re: emacs - gnu, x ...?

2003-07-31 Thread Joshua Oreman
On Thu, Jul 31, 2003 at 05:22:40PM -0500 or thereabouts, george donnelly wrote:
> I'd like to start getting into emacs, but there are so many versions and
> variations that I'm not sure which one to install from ports, eg we have gnu
> emacs and xemacs.
> 
> which emacs should i install, use and learn?

XEmacs, all the way. Though you may hear differently from others.

-- Josh

> 
> <-->
> george donnelly ~ http://www.zettai.net/ ~ "Quality Zope Hosting"
> Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites
> Yahoo, AIM: zettainet ~ MSN: [EMAIL PROTECTED] ~ ICQ: 51907738
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: WU FTPD

2003-07-31 Thread Kris Kennaway
On Thu, Jul 31, 2003 at 02:18:25PM -0400, Lucas Holt wrote:
> There was a vulnerability released today in wu ftpd and I'm unclear if 
> this would affect the software running on a freebsd system.  It appears 
> to cause problems on linux 2.4.x kernels but not older kernels due to 
> the way the compiler works.  Does anyone know if this problem is 
> exploitable on freebsd?  If not, where should I ask this question?

Read security@ or just update your ports collection and recompile wuftpd.

Kris


pgp0.pgp
Description: PGP signature


Re: buggy optimization levels...

2003-07-31 Thread Kris Kennaway
On Mon, Jul 14, 2003 at 05:37:45PM -0400, Chuck Swiger wrote:
> Hi, all--
> 
> The "known bugs" section of the GCC info documentation lists 5 issues; "man 
> gcc" lists none.  Can someone provide a test case for a bug involving "cc 
> -O" versus "cc -O3" under FreeBSD 4-STABLE for the x86 architecture?

Probably not, or it would have already been fixed.

The warning against using FreeBSD with settings higher than -O1 (==
-O) is because it often causes bugs that are difficult to track down
(e.g. some aspect of the kernel just doesn't work properly).

Kris


pgp0.pgp
Description: PGP signature


Re: fdisk ID for FreeBSD

2003-07-31 Thread Matthew Emmerton
A5 is hexadecimal for 165.

- Original Message - 
From: "mess-mate" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 4:31 PM
Subject: Re: fdisk ID for FreeBSD


> Sorry, I didn't find it, but fdisk say's 'a5'.
> mess-mate
>
> On Thu, 31 Jul 2003 16:20:45 -0400
> Mike Tancsa <[EMAIL PROTECTED]> wrote:
>
> |
> | 165.
> |
> | Its in the man pages as well which you can see off www.freebsd.org.
> |
> |  ---Mike
> |
> | At 10:10 PM 31/07/2003 +0200, mess-mate wrote:
> | >Hi,
> | >what ID do I use on fdisk for a FreeBSD partition ?
> | >( for ex. 83 for a linux partition)
> | >thanks
> | >mess-mate
> | >___
> | >[EMAIL PROTECTED] mailing list
> | >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> | >To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
> |
> | ___
> | [EMAIL PROTECTED] mailing list
> | http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> | To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


emacs - gnu, x ...?

2003-07-31 Thread george donnelly
I'd like to start getting into emacs, but there are so many versions and
variations that I'm not sure which one to install from ports, eg we have gnu
emacs and xemacs.

which emacs should i install, use and learn?

<-->
george donnelly ~ http://www.zettai.net/ ~ "Quality Zope Hosting"
Shared and Dedicated Zope Hosting ~ Zope Servers ~ Zope Websites
Yahoo, AIM: zettainet ~ MSN: [EMAIL PROTECTED] ~ ICQ: 51907738

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


Nvidia Drivers + FreeBSD AGP + Big textures = Problems

2003-07-31 Thread Mica Telodico
Hi all ,

I'm getting problems with FreeBSD AGP driver and
Nvidia DRVs.

My system is composed by a Geforce3 Ti200 (by
Creative) and an MSI KT4Ultra (KT400) . I've decided
to use the FreeBSD AGP driver instead of the Nvidia
one , but I'm getting the following problem:

When I play to Enemy Territory (for now is the only
game that I've tried) using HIGH_QUALITY options
(1280x1024 + all 32bit +all effect to their max +
texture compression NO ) after few time the textures
start to flicker. The colors are strange , and after 1
minute the Video Card starts to draw the textures in
the wrong place (for examples it draws the texture of
a  tank on the floor ) , after a couple of seconds all
the screen starts to flicker , and then the system
freeze. If I only enable the Texture compression (and
so I reduce a bit the dimension of the textures) the
problem disappears , and also if I reduce the quality
of the textures (also reducing the size). I think that
may be a memory allocation error in the AGP when it
needs to write into the main memory , or something
like this. 

Someone have my problem? 

Can someone solve it? I'd like to use the FreeBSD drv
instead of the Nvidia one (I'd like to be more open
that I can) 

Ah , Nvidia AGP drv solve the problem 

Thanks  for your help

Bye 

Marcello 

__
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus, il filtro 
Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: FreeBSD-5.1 problem with Dell Perc 3Di

2003-07-31 Thread Schimcek, Derrick
we installed 5.0 from cd onto a 2650 with raid 5 and it didn't have a
problem at all

-Original Message-
From: RJ45 [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 10:35 AM
To: [EMAIL PROTECTED]
Subject: FreeBSD-5.1 problem with Dell Perc 3Di



HEllo
I Wanted to install FreeBSD 5.1 directly on a RAID 10 Dell Perc 3/Di

but the kernel panics during install I think is not supported installing
directly on the RAID.
Anyone with PowerEdge 2650 could fix this problem before me ?

thanks

Rick


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


BSD Install; San Jose, CA

2003-07-31 Thread Josh Fox
22:44 GMT 7/31/03
Ladies and Gentlemen:
I am a newer BSD user and a fairly seasoned Solaris user; I am having a
FreeBSD install problem.  Is there anyone in the San Jose, CA area that
can get with me Tuesday 8/5/03 in the lobby of the San Jose Wyndham to
help tackle my install problem.  I have a Panasonic CF-25 Toughbook,
and can get into the Sysinstall of 5.0, but I can only run 1 of 2 input
medias at a time: either floppy (3.5") or CD.  I cannot swap the floppy
once Sysinstall loads and therefore cannot load from the CD.  Can
someone or a group of people help me install this via Laplink or some
other option.  I have the install CD's needed for ver. 4.7 and 5.0

Please respond by e-mail.
Sincerely:
Josh Fox
[EMAIL PROTECTED]

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re:

2003-07-31 Thread Bob Collins
At 03:59 PM 7/31/2003 -0500, Ken Copling wrote:
hello is there a command in the shell that will let me connect to my 
service provider so i can get on the internet to do things like web search 
I just dont like having to open up the x window just to get on the net so 
is there a way of doing it in the shell


Assuming your networking is fine, you can do a text only web link with lynx.

Otherwise, surfing the web, as it were, is supposed to be graphical.

-- Bob 

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


[no subject]

2003-07-31 Thread Ken Copling
hello is there a command in the shell that will let me connect to my service provider 
so i can get on the internet to do things like web search I just dont like having to 
open up the x window just to get on the net so is there a way of doing it in the shell
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVSUP

2003-07-31 Thread oremanj
On Thu, Jul 31, 2003 at 03:00:55PM -0400 or thereabouts, [EMAIL PROTECTED] wrote:
> I have a question about cvsup.  I read the manual and can update my ports with no 
> problem.  Here is my question though...what if I was to change the Makefile for a 
> port? 
>  Is there a way I can still use CVSup to update my ports and merge the changes I 
> made 
> in the old Makefile with the new Makefile instead of having cvsup just delete the 
> old 
> one.

"It's a feature, not a bug." :-)

If you have lots of disk space, you can try using CVSup to mirror the CVS repository
and let CVS merge your changes:

* Omit the `tag' in your cvsupfile. Just don't put one in.
* Change the `prefix' to a place where you have a lot of space, such
  as /usr/local/portcvs. (Do NOT use /usr!)
* Cvsup as normal.
* You should find a lot of files in /usr/local/portcvs/ports/* with
  names ending in ",v". These are the CVS files.
* Back up your ports tree (mv /usr/ports /usr/ports.old).
* cd /usr && cvs -d /usr/local/portcvs checkout ports
* If all went well, you have a ports tree.

Now, always cvsup this way. To update your main ports tree, do
`cd /usr/ports && cvs -d /usr/local/portcvs update'. This will
try and merge your changes.

This may have been a bit difficult to understand. I'm sure someone else can
explain it better than I :-)

-- Josh

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


Re: fdisk ID for FreeBSD

2003-07-31 Thread mess-mate
Sorry, I didn't find it, but fdisk say's 'a5'.
mess-mate

On Thu, 31 Jul 2003 16:20:45 -0400
Mike Tancsa <[EMAIL PROTECTED]> wrote:

| 
| 165.
| 
| Its in the man pages as well which you can see off www.freebsd.org.
| 
|  ---Mike
| 
| At 10:10 PM 31/07/2003 +0200, mess-mate wrote:
| >Hi,
| >what ID do I use on fdisk for a FreeBSD partition ?
| >( for ex. 83 for a linux partition)
| >thanks
| >mess-mate
| >___
| >[EMAIL PROTECTED] mailing list
| >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| >To unsubscribe, send any mail to "[EMAIL PROTECTED]"
| 
| ___
| [EMAIL PROTECTED] mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fdisk ID for FreeBSD

2003-07-31 Thread Mike Tancsa
165.

Its in the man pages as well which you can see off www.freebsd.org.

---Mike

At 10:10 PM 31/07/2003 +0200, mess-mate wrote:
Hi,
what ID do I use on fdisk for a FreeBSD partition ?
( for ex. 83 for a linux partition)
thanks
mess-mate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


fdisk ID for FreeBSD

2003-07-31 Thread mess-mate
Hi,
what ID do I use on fdisk for a FreeBSD partition ?
( for ex. 83 for a linux partition)
thanks
mess-mate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: startx - problem

2003-07-31 Thread Matthew Seaman
On Thu, Jul 31, 2003 at 10:46:42PM +0300, Alex Zivenko wrote:
> Hi all!
> I have a problem. When I am starting My X server with only a user privilegies - it 
> gives me an error containing:
> error in locking authority file
> .Xauthority
> But when i am a root - all perfect.
> What's the problem

startx needs the X server to be SUID root -- if you've installed X
from ports you should have:

lrwxr-xr-x  1 root  wheel   10 May 15 12:06 /usr/X11R6/bin/X@ -> Xwrapper-4
-r-sr-xr-x  1 root  wheel 4804 Apr 24 11:52 /usr/X11R6/bin/Xwrapper-4*
-rwxr-xr-x  1 root  wheel  1808362 May 15 12:06 /usr/X11R6/bin/XFree86*

However, the .Xauthority file should be in your home directory, and
owned by you:

-rw---  1 matthew  matthew  860 Jul 27 21:16 /home/matthew/.Xauthority

If you've run X as root, but with $HOME set to your ordinary home
directory, then I suppose that file could end up owned by root, and
unreadable by your UID, which would cause the effects you're seeing.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


RE: Help PLEASE! on proper kernel config file to use serial portswith puc driver

2003-07-31 Thread J. Seth Henry
All you need in your kernel config is 'device puc'. You already appear
to have this in your config, as your system detected the adapter.

You will have to "sh MAKEDEV cuaa" (where 0 < n < NUM_PORTS) to get
the device nodes in your /dev directory.

Alternately, since they have sequential minor numbers, you can make them
yourself.

'mknod cuaa0 c 28,128 root:wheel'
'mknod cuaa1 c 28,129 root:wheel'
'mknod cuaa2 c 28,130 root:wheel'
'mknod cuaa3 c 28,131 root:wheel'
'mknod cuaa4 c 28,131 root:wheel'
'mknod cuaa5 c 28,131 root:wheel'

You can also do this for the tty nodes as well.

I prefer making the nodes myself, but the MAKEDEV script will do the
same thing.

Good luck,
Seth Henry


>OK, I've spent all night complaining kernels with no luck. I've read
>the man page for puc, I've read the man page for sio, I've looked at
>the code for puc, I've searched d Googlee, and STILL I can't get sio
>devices assigned to my PCI serial port card.
>
> It's detected as:
>
>puc0:  port 0xfce0-0xfcff irq 11 at device
>6.0 on pci0
>sio4: type 16550A
>sio5: type 16550A
>
>
>But I feel certain I don't have the correct syntax in my kernel conf
>file for the sio ports I want to assign to this.

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


RE: Vinum on Root

2003-07-31 Thread Richard Johannesson
I went back to the original root install method as per the book, and I got
vinum working.

Now, needed to change the size of the var volume, since during install I
followed the book example and had var take up the rest of the disk, in my
case all 187Gigs of it :). Was under the impression that it would be easy to
resize or at least remove and create a new smaller var once the base is
working.

So, backed up the /var directory. Started the vinum prompt and used rm to
remove the var subdisk, then remove the var plex and finally was able to
remove the var volume. Now ran create vinum_var.conf - in this case the file
was simply:
   volume var
 plex org concat
   sd len 1g drive rootdev
So, did not use the offset, since vinum is now working and should know where
the next 1g should come from. Is this a bad assumption?

Well, the vinum create worked fine. Then copied the backed up /var contents
to the new vinum volume. Did a reboot, and reboot failed. System requesting
to run fsck. So, in single user mode did this and got the following error:
"** /dev/vinum/var (NO WRITE)

CANNOT READ BLK: 381244736
CONTINUE? Yes

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 381244736, 381244737,
381244738, 381244739,
/dev/vinum/var: CANNOT FIGURE OUT FILE SYSTEM PARTITION

So, what should I have done and is there a way to back out of this?

By the way, it a great book, I'm just a little thick when it comes to vinum
& new unix. So, know I'm trying to do a lot right out of the gate - so
really appreciate all the help I've been getting from everybody!


Thanks again,
Richard


> >>>   I. 1. setup unix partitions for swap, /, /usr, and /var
> >>>  2. install FreeBSD5.1
> >>>  3. go through the bsdlabel -e
> >>>  3.1 modify the swap with the 281 offset
> >>>  3.2 add vinum partition h: with the same size as c:, but with 
> >>>  a 16 offset
> >>>  4. create a vinum config file
> >>> -->  4.1 map each sub-disk to the exact size and offset as the
> >>>  unix partitions
> >>>   II.1. setup unix partitions for swap and /
> >>>  2. install FreeBSD5.1
> >>>  3. go through the bsdlabel -e
> >>>  3.1 modify the swap with the 281 offset
> >>>  3.2 add vinum partition h: with the same size as c:, but with >
>>>  a 16 offset
> >>>  4. create a vinum config file
> >>> -->  4.1 create sub-disks using simply the size you want with
no
> >>>  offset
> > So, if I use Method I, as you specified in the book, can I then move
> those
> > particular partitions (/, /usr, /var) around without worrying about the
> > original unix partition layout (offsets etc)? So, the original /, /usr,
> /var
> > sizes and offsets won't limit the location of the /dev/vinum/root,
> > /dev/vinum/usr, /dev/vinum/var?
> 
> They will for root, because you boot from the partition, not the
> volume.  Also, you should understand that moving partitions means
> moving data.
> 
> > For the mirroring case, should the swap partitions be mirrored too?
> 
> That depends on whether you want to still have a swap partition if a
> drive fails :-)
> 
> Greg
> --
> When replying to this message, please copy the original recipients.
> If you don't, I may ignore the reply or reply to the original recipients.
> For more information, see http://www.lemis.com/questions.html
> See complete headers for address and phone numbers

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


Re: Lock Order Reversal (5.1 CUR kern)

2003-07-31 Thread Lowell Gilbert
Dave <[EMAIL PROTECTED]> writes:

> My thinking: the threading in the kernel for 5.1 CURRENT hasn't all the
> kinks out yet.  Does anyone know what is going on?
> 
> Before rushing off to the FreeBSD people with it though, they 1) might
> already be aware, and 2) maybe I don't understand the error entirely and
> its a problem with how I setup my system?
> 
> So I'm asking here I guess.

If you're going to track -CURRENT, you really should read the -CURRENT
mailing list.  Offhand, I can't see how the system map would be
getting locked in your case, but you're right that it seems to be a
bug in the threading code (DRM *is* likely to be related, since it
constitutes a separate path into "direct" memory manipulation...).  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mounting a Samab share at boot time

2003-07-31 Thread Murray Taylor
correct..
fstab is noauto for the smbfs mounts


On Fri, 2003-07-11 at 11:34, stan wrote:
> On Fri, Jul 11, 2003 at 12:11:03AM +, Murray Taylor wrote:
> > I believe that the method mentioned here is the appropriate way.
> > 
> > #!/bin/sh
> > #
> > # $Id: smbfs.sh.sample,v 1.3 2001/01/13 04:50:36 bp Exp $
> > #
> > # Location: /usr/local/etc/rc.d/smbfs.sh
> > #
> > # Simple script to mount smbfs file systems at startup.
> > # It assumes that all mount points described in fstab file and password
> > # entries listed in /root/.nsmbrc file. See mount_smbfs(8) for details.
> > #
> >  
> > mount="/sbin/mount -o -N"
> > umount=/sbin/umount
> > HOME=/root; export HOME
> > vols=`awk -- '/^\/.*[[:space:]]+smbfs[[:space:]]+/ { print $2 }'
> > /etc/fstab`
> >  
> > case "$1" in
> > start)
> > echo -n "smbfs: "
> > for vol in ${vols}; do
> > $mount $vol
> > echo -n "$vol "
> > done
> > ;;
> > stop)
> > echo -n "unmounting smbfs mount points: "
> > for vol in ${vols}; do
> > $umount $vol
> > echo -n "$vol "
> > done
> > ;;
> > *)
> > echo "Usage: `basename $0` {start|stop}" >&2
> > exit 64
> > esac
> >  
> > echo "Done"
> > 
> 
> Would this assume that you had the "noauto" paramter for the smbfs
> partitions in /etc/fstab? Else earlier scripts would try to mount them, I
> beleive, and fail.
> 
> > 
> > 
> > It seems to me that the reason for this is that the ufs kernel
> > 'knowledge' allows the fstab mounts for the ufs slices to progress but
> > perhaps the smbfs module is not yet loaded, so the smb mounts go
> > pearshaped in auto mode.
> 
> I've solved that part of the problem, by hvaing the smbfs module loaded by
> using /boot/loader.conf. Howeverm that just gets me to the next problem.
> An attempt is made to mount all filesystems not marked as "noauto" _before_
> networking is brought up, Thus my problem
> 
> > 
> > 
> > On Thu, 2003-07-10 at 20:44, Rus Foster wrote:
> > > Hi,
> > > > Here is what I'm trying to do. I want to mount a Samba share from a remote
> > > > machine on boot up. Presently I have the appropriate entry in /etc/fsatb,
> > > > such that I can mount the share _once I am in multiuser_. I have figured
> > > > out how to get the smbfs kernel module loaded at boot time, using
> > > > /boot/loader.conf.
> > > >
> > > 
> > > A workaround I can think of is set the noauto option in /etc/fstab then in
> > > /etc/rc.local put mount /samba/shre
> > > 
> > > HTH
> > > 
> > > RGds
> > > 
> > > Rus Foster
> > -- 
> > Murray Taylor
> > Special Projects Engineer
> > -
> > Bytecraft Systems & Entertainment
> > P: +61 3 8710 2555
> > F: +61 3 8710 2599
> > D: +61 3 9238 4275
> > M: +61 417 319 256
> > E: [EMAIL PROTECTED]
> > or visit us on the web
> > http://www.bytecraftsystems.com
> > http://www.bytecraftentertainment.com
> > 
> > 
> > 
> > 
> > This Email has been scanned for Viruses by MailMarshal.
> > 
> > 
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com




This Email has been scanned for Viruses by MailMarshal.

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


Re: Dead keys on console

2003-07-31 Thread Martin Karlsson

* Jacob Vennervald Madsen <[EMAIL PROTECTED]> [2003-07-16 15.07 +0200]:
> This is what I've done but that doesn't give me the dead keys (ä, â, ã,
> é, è etc.).

Oh...  I thought it would, but now I see I'm also unable to input 
those characters on the console.  :-/

> Any ideas?

Sorry, no.  Hopefully someone with more console-fu will come along 
and enlighten us.

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


IPSEC with Dynamic IP addresses

2003-07-31 Thread Mike Tancsa
Does anyone know of any documentation on how to do this ?  I have searched 
through google and I find lots of references to people saying, "use 
certificates" but beyond that I havent found any actual documentation on 
how to do it.

The setup is 30 client sites with dynamic IP addresses connecting to one 
headoffice that has a static IP address. The 30 client sites all have 
unique RFC 1918 based subnets behind them.  The problem is how to do all 
the setkey business.  The client end can find out the ip address its 
dynamically assigned and then do the appropriate setkey.  But the 
headoffice cannot do the same thing as it has not built in way of knowing 
what the client endpoint is. I dont want to implement some additional 
protocol to send the HQ saying, "Hi, I am IP address xxx, please contruct 
your setkey accordingly" as it would be a security issue if not thought out 
correctly.  These are all very remote sites, so analog dialup is the only 
connection available.

Any pointers would be great.  Currently we are using mpd to dialup and then 
tunnel across the mpd tunnel, but there is a resource leak somewhere in 
doing this. There are other problems with this method as well so we would 
like to avoid it.

---Mike

Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,[EMAIL PROTECTED]
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SSL certificates and IE

2003-07-31 Thread admin
On Sun, 13 Jul 2003 02:14:20 -0300, Augusto Jun Devegili wrote
> Considering you won't buy a certificate from a trusted CA, you might 
> tell your users to install your CA certificate or your Web server 
> certificate by providing a link to these certificates: IE will 
> download them, ask the user if he/she trust them and put them in the 
> trusted certificate store.
> 
> Alternatively, when a user connects to an SSL Web server and IE 
> doesn't trust the certificate, there's an option in the dialog box 
> which allows for the certificate installation in the trusted 
> certificate store.
> 
> Anyway, you won't be able to change your certificate so that your 
> users access your SSL Web server without some sort of warning... 
> unless you buy a certificate from some (IE) trusted CA, such as Verisign.



Thanks for the advice - I understand a lot more now.  How can I find out who
all the trusted CA companies are?

- Noah


> 
> admin wrote:
> > OS: FreeBSD 4.8
> > mod_ssl 2.8.14
> > apache 1.3.27
> > 
> > 
> > ---
> > 
> > I am now servering a certificate to web connections. 
> > Internet Explorer complains of the certificate not being issued by a trusted
> > company.
> > 
> > I am the CA for the certificate.  What are ways I can modify the certificate
> > so IE does not complain about this anymore?
> > 
> > - Noah


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


startx - problem

2003-07-31 Thread Alex Zivenko
Hi all!
I have a problem. When I am starting My X server with only a user privilegies - it 
gives me an error containing:
error in locking authority file
.Xauthority
But when i am a root - all perfect.
What's the problem
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mounting an EXT2FS CD on FreeBSD-5.1

2003-07-31 Thread Satish Vanimisetti


> Have you tried:
>
> # mount_cd9660 /dev/acd1c /mnt/cdrom
>
> or
>
> # mount -t cd9660 /dev/acd1c /mnt/cdrom

Yes, I have. I get an "incorrect superblock" error,
which is expected, because the filesystem on the CD
is ext2.

> Joshua

Thanks,
Satish Vanimisetti

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


Boot problems with SCSI card

2003-07-31 Thread Leonhard Wimmer
Hi,

  I can't boot my FreeBSD 5.0-RELEASE (both with the stock kernel and
with a self-compiled kernel), if my AdvanSys SCSI Host Adapter (ISA,
ABP5140) is installed. The problem was also there while installing
FreeBSD, but I simply removed the SCSI card during the
installation. Without the card everything works perfectly.

  Here is some output during the boot process: (I had to type it off
the screen, because it got never written to disk. Anybody got a
solution for this?)

[...]
adv1: AdvanSys SCSI Host Adapter, SCSI ID 7, queue depth 16
adv1:  at port 0x110 iomem 0xc8000-0xc irq 10 
drq 5 on isa0
[...]
Waiting 10 seconds for SCSI devices to settle
[After about 1 minute]
(probe6:adv1:0:6:0): Timed out
(probe6:adv1:0:6:0): Attempting abort
(probe6:adv1:0:6:0): Timed out
(probe6:adv1:0:6:0): Resetting bus
adv1: No longer in timeout
[After about another minute]
(probe5:adv1:0:5:0): Timed out
(probe5:adv1:0:5:0): Attempting abort
(probe5:adv1:0:5:0): Timed out
(probe5:adv1:0:5:0): Resetting bus
adv1: No longer in timeout

  After that output I waited about half an hour (!) and nothing
happened. I don't think that it makes sense to wait any longer.

  There is only one SCSI drive attached to the SCSI card: An internal
Yamaha CD-Writer (4416). Its SCSI ID is 3.  Changing the ID just
results in a slightly different output.  For example if I change it to
6, the output is about timeouts on ID 3 and 5, instead of 6 and
5. With Writer on 4 the output is about ID 3 and 2. And so on. I tried
every SCSI ID, but none works. The SCSI termination is also configured
correctly.

  But I don't think that this is a hardware related problem, because
the same hardware configuration worked perfectly under Linux. (And some
time ago it worked under Windows.)

  Any ideas?

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


Re: Adaptec 2400A update

2003-07-31 Thread Karl Pielorz


--On 31 July 2003 14:04 -0500 "Kung Foo Ham[p]?ster" 
<[EMAIL PROTECTED]> wrote:

I also have an Adaptec 2400A RAID controller and have problems when my
system  seems to be having a lot of random hard disk accesses.
Hi,

We have a 2400A in a heavily loaded 'backup' machine at the office (i.e. 
lots of large IDE drives, storing backups from all the other machines until 
they're spooled to tape) - it's often gzip'ing and storing the data from 
several machines simultaneously, all across a 100Mbit LAN.

We've never [touch wood] had any problems with it so far...

For a while I've thought that it could be my system over heating.  But
when my  machine overheats it just powers off abruptly.
I'd be a bit concerned if any machine I'd been using, ever actually had to 
shut itself down for thermal reasons [unless it was, actually faulty].

Remember - weird things can happen before it gets to the 'critical' level 
set by the motherboard [unless it's been set really, really pessimistically 
in the BIOS].

I have been searching the groups and mail archives for almost a year now.
I can  only find posts with similar problems but no resolution.  Your
post appears to  be closer to my problems than others.  There seems to be
a small handful of ppl  who have mentioned this problem.
I'll agree - I don't particularly like the 2400A - we have a bunch of 3ware 
controllers as well, which seem better supported in FreeBSD, and 3ware 
themselves seem to be more open-source/OS friendly, but we've never had any 
real problems with the 2400A.

if you managed to read through my ramblings.  Thanks! I hope more people
will  come out and discuss more about the 2400A.  Even those of you who
have stable  systems! I would definitley like to know what kind of
hardware and software  specs you have.  (especially if FreeBSD-5.0 works
better with this card due to  UFS2 or device drivers or what not.. i
really have no idea)
The hardware we have it on here is a lowly ASUS K7VML, running FreeBSD 
4.8-STABLE w/784Mb of RAM. The CPU is an AMD Athlon 2000.

I can post you it's dmesg output off list if that might be remotely helpful 
- but just to let you know, there is at least the odd 2400A based system 
out there running under heavy load :)

Regards,

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


Which Program

2003-07-31 Thread Hess
My computer at work says that the Network Boot is not found. My computer is a Window's 
98. Which network boot program should I download.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Adaptec 2400A update

2003-07-31 Thread Matthew Bettinger
On Thursday 31 July 2003 02:04 pm, Kung Foo Ham[p]?ster wrote:
> I also have an Adaptec 2400A RAID controller and have problems when
> my system seems to be having a lot of random hard disk accesses.
>

That sucks.  I've given up on that card.  Running an HP netraid card  no 
problems.Anyone want to buy an 2400A ?  ;-)
-- 
Matthew Bettinger
System Administrator
Champion Elevators, Inc.
Houston, Texas 77061
713.640.8500
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


MySql Kernel Panicing

2003-07-31 Thread Nicole

Hello
 While trying to do a massive import of data, approx 4 gigs to 
mysql-server-4.0.13_1  I am getting kernel panic's. I am somewhat new to
databases so I am unsure were to look.


The server is:
 Pent (4) 2.6 Ghz with 4 gigs of memory running FreeBSD 4.8-Stable. The OS and
Database Drives are seperate raid 0 arrays off of an adaptec 3210 Scsi Raid
card.


 Any help or pointers appreciatted!


  Nicole



Jul 30 13:45:19 db2 /kernel: panic: vm_page_unwire: invalid wire count: 0
Jul 30 13:45:19 db2 /kernel:
Jul 30 13:45:19 db2 /kernel:
Jul 30 13:45:19 db2 /kernel: syncing disks... 118 76 76 76 76 76 76 76 76 76 76
76 76 76 76 76 76 



Jul 30 05:45:15 db2 /kernel:
Jul 30 05:45:15 db2 /kernel:
Jul 30 05:45:15 db2 /kernel: Fatal trap 12: page fault while in kernel mode
Jul 30 05:45:15 db2 /kernel: fault virtual address = 0x103
Jul 30 05:45:15 db2 /kernel: fault code = supervisor write, page not
present
Jul 30 05:45:15 db2 /kernel: instruction pointer = 0x8:0xc0240eec
Jul 30 05:45:15 db2 /kernel: stack pointer = 0x10:0xef95fe1c
Jul 30 05:45:15 db2 /kernel: frame pointer = 0x10:0xef95fe20
Jul 30 05:45:15 db2 /kernel: code segment = base 0x0, limit
0xf, type 0x1b
Jul 30 05:45:15 db2 /kernel: = DPL 0, pres 1, def32 1, gran 1
Jul 30 05:45:15 db2 /kernel: processor eflags = interrupt enabled, resume, IOPL
= 0
Jul 30 05:45:15 db2 /kernel: current process = 1801 (mysqld)
Jul 30 05:45:15 db2 /kernel: interrupt mask = net bio cam
Jul 30 05:45:15 db2 /kernel: trap number = 12
Jul 30 05:45:15 db2 /kernel: panic: page fault
Jul 30 05:45:15 db2 /kernel:
Jul 30 05:45:15 db2 /kernel: syncing disks... 6
Jul 30 05:45:15 db2 /kernel: Copyright (c) 1992-2003 The FreeBSD Project.
Jul 30 05:45:15 db2 /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1 








 |\ __ /|   (`\
 | o_o  |__  ) )   
//  \\ 
 -  [EMAIL PROTECTED]  -  Powered by FreeBSD  -
--
 " Daemons" will now be known as "spiritual guides"
-Politically Correct UNIX Page

"Witchcraft is in essence the worship of the powers of this world,
 beautiful and terrible, but all in a circle under the turning sky
 that is the One." -C.A. Burland, "Echoes of Magic"

"Connecting with energy is something humans have to be open
 to and talking about and expecting,  otherwise the whole human
 race can go back to pretending that life is about power over others
 and exploiting the planet.  If we go back to doing this,
 then we won't survive."  -James Redfield, "The Celestine Prophecy"

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


Re: Adaptec 2400A update

2003-07-31 Thread Kung Foo Ham[p]?ster
I also have an Adaptec 2400A RAID controller and have problems when my system 
seems to be having a lot of random hard disk accesses.

I upgraded the cache on the card to 128MB of Adaptec's preffered memory in 
hopes that the issue would subside, but it did not.

I changed the write cache from write back to write through to see if there 
might be an issue with that.

I upgraded to the latest I2O and SMOR.  

None of these seemed to work.

My System will actually freeze when:
  * transferring data from a cd/dvd to harddisk and performing compression.
   (happens to be when I get the most disk access)
- probability of freezing goes up drastically when I do something else at 
  the same time that is hard disk intensive. 
  eg: backing up data off a dvd/cd & portupgrade -via & listening to mp3's
  streaming off of my localhost

For a while I've thought that it could be my system over heating.  But when my 
machine overheats it just powers off abruptly.  The freezing during high 
activity `seems` unrelated to heat.  [ these abrupt power offs seem to have 
subsided since I got new heat syncs and got my AC fixed at my apartment :-D 
(DUH) LOL ] [ I am in the process of switching to water cooled ... as it is 
known that athlons run hot.. ]

Something else that appears to be out of place (but i'm not sure) is that 
d0b3t0d0 always has a max speed of 10MHz no matter what drive I place there 
while all the others have a max speed of 50MHz.

I have been searching the groups and mail archives for almost a year now. I can 
only find posts with similar problems but no resolution.  Your post appears to 
be closer to my problems than others.  There seems to be a small handful of ppl 
who have mentioned this problem.  Maybe a bad batch of cards went out? or... 
the problem isn't frequent enough for some ppl to attribute it to a real 
problem?  Or it could be the driver... I have no idea.

I remember having all sorts of problems when I oringally wanted to put an OS on 
this machine and I didn't have a stable install until I set the cache to write-
through (which for some reason is recommended for OS installs).  Then 
afterwards I set the cache back to write-back (which was recommended any other 
time).  ( from docs I have read scattered in remote places )

It appears we are not alone in our issue with the 2400A.

Way below is a moderately detailed description about my system and highly 
detailed description about my 2400A.

if you managed to read through my ramblings.  Thanks! I hope more people will 
come out and discuss more about the 2400A.  Even those of you who have stable 
systems! I would definitley like to know what kind of hardware and software 
specs you have.  (especially if FreeBSD-5.0 works better with this card due to 
UFS2 or device drivers or what not.. i really have no idea)

Thanks!

-Adam

I run on:
  FreeBSD: 4.8-STABLE
  motherboard: IWILL MPX2
 dual: Athlon 2100+ MP
   memory: 1G
graphics card: Matrox MGA G550 AGP
   sound card: CMedia CMI8738
 cd/dvd drive: PLEXTOR CD-R PX-320A
raid card: ADAPTEC 2400A FW Rev. 3A0L
   With 128MB Cache, Raid 5,
   4 X Western Digital 1200JB w/8MB Cache


DMESG OUTPUT ON asr0

asr0:  mem 0xe000-0xe7ff irq 10 at device 5.0
 on pci2
asr0: major=154
asr0: ADAPTEC 2400A FW Rev. 3A0L, 4 channel, 256 CCBs, Protocol I2O


RAIDUTIL  Version: 3.04  Date: 9/27/2000  FreeBSD CLI Configuration Utility
Adaptec ENGINE  Version: 3.04  Date: 9/27/2000  Adaptec FreeBSD SCSI Engine

#  b0 b1 b2  Controller Cache  FWNVRAM Serial Status
---
d0 -- -- --  ADAP2400A  112MB  3A0L  ADPT 1.0  BB0E14220H4Optimal

Physical View
AddressType  Manufacturer/Model Capacity  Status
---
d0b0t0d0   Disk Drive (DASD) WDC  WD1200JB-75CRA0   114440MB  Optimal
d0b1t0d0   Disk Drive (DASD) WDC  WD1200JB-75CRA0   114440MB  Optimal
d0b2t0d0   Disk Drive (DASD) WDC  WD1200JB-75CRA0   114440MB  Optimal
d0b3t0d0   Disk Drive (DASD) WDC  WD1200JB-00CRA1   114473MB  Optimal

Logical View
Address   Type  Manufacturer/Model  Capacity  Status
---
d0b0t0d0  RAID 5 (Redundant ADAPTEC  RAID-5 343320MB  Optimal
 d0b1t0d0 Disk Drive (DASD) WDC  WD1200JB-75CRA0114440MB  Optimal
 d0b2t0d0 Disk Drive (DASD) WDC  WD1200JB-75CRA0114440MB  Optimal
 d0b3t0d0 Disk Drive (DASD) WDC  WD1200JB-00CRA1114473MB  Optimal
 d0b0t0d0 Disk Drive (DASD) WDC  WD1200JB-75CRA0114440MB  Optimal


AddressMax Speed  Actual Rate / Width
---
d0b0t0d0   50 MHz 100 MB/secwide
d0b1t0d0   50 MHz 100 MB/secwide
d0b2t0d0   50 MHz 100 MB/secwide
d0b3t0d0

CVSUP

2003-07-31 Thread adstro
I have a question about cvsup.  I read the manual and can update my ports with no 
problem.  Here is my question though...what if I was to change the Makefile for a 
port? 
 Is there a way I can still use CVSup to update my ports and merge the changes I made 
in the old Makefile with the new Makefile instead of having cvsup just delete the old 
one.

Thanks

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


RE: Mounting an EXT2FS CD on FreeBSD-5.1

2003-07-31 Thread Joshua Lokken


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Satish
> Vanimisetti
> Sent: Thursday, July 31, 2003 10:43 AM
> To: Brandon D. Valentine
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: Mounting an EXT2FS CD on FreeBSD-5.1
> 
> 
> 
> [I'm copying -fs because this was originally posted
> there. I'm also CC'ing -questions.]
> 
>   # mount -t ext2fs /dev/acd1c /mnt/cdrom
>   ext2fs: /dev/acd1c: No such file or directory
> 

Have you tried:

# mount_cd9660 /dev/acd1c /mnt/cdrom

or

# mount -t cd9660 /dev/acd1c /mnt/cdrom
?

Joshua

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


Re: nforce2 audio?

2003-07-31 Thread Daniel Nielsen
On 31/07-03 12.39, Daniel Harris wrote:
> On Thu, 31 Jul 2003 06:33 am, Daniel Nielsen wrote:
> >
> >So, what can I possibly do to make my onboard sound work?
> >
> >/Daniel
> 
> Try snd_ich_load="YES" in /boot/loader.conf.
> 

I tried this while waiting for cvsup to finish.. and it recognizes the
onboard sound now... Whee!



-- 
There are no great men, only great challenges that ordinary men are forced
by circumstances to meet.
-- Admiral William Halsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


WU FTPD

2003-07-31 Thread Lucas Holt
There was a vulnerability released today in wu ftpd and I'm unclear if 
this would affect the software running on a freebsd system.  It appears 
to cause problems on linux 2.4.x kernels but not older kernels due to 
the way the compiler works.  Does anyone know if this problem is 
exploitable on freebsd?  If not, where should I ask this question?

Here's the header included in the advisory with links.

Synopsis:   wu-ftpd fb_realpath() off-by-one bug
Product:wu-ftpd
Version:2.5.0 <= 2.6.2
Vendor: http://www.wuftpd.org/
URL:		http://isec.pl/vulnerabilities/isec-0011-wu-ftpd.txt
CVE:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0466
Author:		Wojciech Purczynski <[EMAIL PROTECTED]>
		Janusz Niewiadomski <[EMAIL PROTECTED]>
Date:		July 31, 2003

Lucas Holt
[EMAIL PROTECTED]

FoolishGames.com  (Jewel Fan Site)
JustJournal.com (Free blogging)
"Only two things are infinite, the universe and human stupidity, and 
I'm not sure about the former."
- Albert Einstein (1879-1955)

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


Re: Dual booting FreeBSD and Windows XP

2003-07-31 Thread John DeStefano
>"Jud" <[EMAIL PROTECTED]> wrote:
>On Wed, 30 Jul 2003 17:55:25 -0400 (EDT), "Jerry McAllister"
><[EMAIL PROTECTED]> said:
>> > 
>> > Hello,
>> > 
>> > I have a computer with Windows XP installed on it.
>> > I want to dual boot it with FreeBSD.
>> > My question is: does FreeBSD's boot loader support loading XP?
>> > Because I've heard XP doesn't like it's MBR being overwritten. Is 
>this
>> > true?
>> 
>> I believe both statements are true.
>> Anyway, you can boot XP with FreeBSD's MBR and that's the important 
>one.
>> 
>> jerry
>
>I see most of the usual suspects have weighed in - may as well complete
>the list.  :-)
>
>Jerry's right and so's Adam.  I happen to be using GAG right now, 
>because
>it's pretty automagic and I have a slightly complicated setup.
>
>I'd recommend that even if you decide to use the FreeBSD bootloader or
>GAG that you also have a look at the online FAQ and Google this list. 
>These resources as well as the man pages and the online Handbook will
>stand you in good stead as you continue with FreeBSD.
>
>Jud

And yet another vote for GAG, this time from a newbie! ;)
I have a FreeBSD/Windows 98/Windows XP system, and although I 
once had it booting from a FBSD loader, GAG was so easy to install and 
configure that I've switched over.  It works very well, and it's very easy to 
use.  Just copy the program to a floppy and boot with it.  Use the setup 
menu to add your OS selections, add a descriptive name for each (and 
even a different icon to distinguish them!), install your choices to the 
hard drive from the menu, and off you go.
~John


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NIS groups -yp_mkdb: error data too long

2003-07-31 Thread Alvaro Rosales R.
Hi guys I got this error when I make my NIS maps , I have a group 
in my group file that has 50 users and yp_mkdb complains about it 
with this error .yp_mkdb: data too long
Any ideas?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mounting an EXT2FS CD on FreeBSD-5.1

2003-07-31 Thread Satish Vanimisetti

[I'm copying -fs because this was originally posted
there. I'm also CC'ing -questions.]

  # mount -t ext2fs /dev/acd1c /mnt/cdrom
  ext2fs: /dev/acd1c: No such file or directory

The CD was burned (on a linux machine), as follows:
1. dd if=/dev/zero of=/tmp/cdimage bs=1024 count=640k
2. mkfs /tmp/cdimage, mount -t ext2 -o loop /tmp/cdimage /mnt/cdimge
3. rsync --archive /my/data /mnt/cdimage
4. umount /mnt/cdimage
5. cdrecord -data /tmp/cdimage

Since I did not create any partitions, would there be
an ad0c? Also, the FreeBSD install CD mounts fine with
/dev/ad0.

Thanks for the quick response,
Satish Vanimisetti


On Thu, 31 Jul 2003, Brandon D. Valentine wrote:

> [ This probably should have been asked on -questions. ]
>
> On Thu, Jul 31, 2003 at 12:14:19PM -0400, Satish Vanimisetti wrote:
> >
> > I am trying to mount a CD burned with an EXT2 filesystem on
> > a PC installed with FreeBSD-5.1
> >
> >   # mount -t ext2fs /dev/acd0 /cdrom
> >   ext2fs: /dev/acd0: No such file or directory
>
> You're trying to mount the cdrom device itself, not a filesystem on the
> cdrom.  You need to mount /dev/acd0c.
>
> Brandon D. Valentine
> --
> [EMAIL PROTECTED] http://www.geekpunk.net
> Pseudo-Random Googlism:  texas is preserved
>

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


Has anyone gotten the sentinel port to work?

2003-07-31 Thread Jeff D. Hamann
Has anyone gotten the sentinel port to work with FreeBSD 4.4?

---
Jeff D. Hamann
Hamann, Donald and Associates, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
(office) 541-753-7333
(cell) 541-740-5988
[EMAIL PROTECTED]
www.hamanndonald.com

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


Re: groups

2003-07-31 Thread Matthew Seaman
On Thu, Jul 31, 2003 at 12:26:38PM -0500, Alvaro Rosales R. wrote:
> Hi guys is it posible to create a group that can have 2 users and 2 
> groups of 5 users each inside it ?. I mean
> 
> group1: member1, member2.menber5
> group2: member21, member22.menber25
> group3: user1, user2,group2, group1.
> thanks for your help

If you're talking about /etc/groups (see the group(5) man page), then
no -- group members can't be other groups.  You'll have to add each
user to all of the groups they should be a member of individually.

However the syntax of the example you give looks more like
/etc/mail/aliases (aliases(5)) -- in that case, yes, you can chain
mail aliases together in exactly this way.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Apache/1.3.28 will not bind to other port

2003-07-31 Thread Philip Schulz
[snip]
> Port 90
[snip]
> [Thu Jul 31 15:36:26 2003] [crit] (48)Address already in use: make_sock:
> could not bind to port 80
[snip]

It seems like httpd is reading the wrong configuration file. I'm not too
familiar with the 1.3 series, but the 2.0 series comes with an 'apachectl'
script which allows you to pass the name of the configuration file to the server.
I'm sure there's a way to do so with the 1.3 as well.

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post

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


groups

2003-07-31 Thread Alvaro Rosales R.
Hi guys is it posible to create a group that can have 2 users and 2 
groups of 5 users each inside it ?. I mean

group1: member1, member2.menber5
group2: member21, member22.menber25
group3: user1, user2,group2, group1.
thanks for your help

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


Re: Newbie problems with X11, Xf86

2003-07-31 Thread Joshua Oreman
On Thu, Jul 31, 2003 at 01:06:11PM -0400 or thereabouts, Benjamin Gonzalez wrote:
> I installed X-Free86 - 4.2.0_1,1 from my  Free BSD Cd using sysinstall and
> cannot get it to run.  I see the directory X11R6 under /usr, I run
> 'xf86config' and it says 'command not found'.  I typed 'XFree86 -configure'
> and it also says 'command not found'.  I've looked for a file called
> /etc/X11/XFree86Config and it says 'No such file or directory'.
> 
> I went back through sysinstall and reinstalled the X11 packages including
> XFree86-4.2.0 and still I get the above results.
> 
> Could someone please explain what I am doing wrong, this is becoming
> frustrating.

You didn't set your $PATH. Put this in your ~/.cshrc:
setenv PATH $PATH:/usr/X11R6/bin
(or if you're using bash, put this in your ~/.bashrc:
 export PATH=$PATH:/usr/X11R6/bin
).

As for the config file, try this (as root):
# cd /root
# PATH=$PATH:/usr/X11R6/bin XFree86 -configure

The screen should go black for a few seconds and the monitor
will click some. When it's all over you should have a file called
XF86Config.new (or some similar name). Try to start X with it
(as root for this test):
# PATH=$PATH:/usr/X11R6/bin XFree86 -xf86config /root/XF86Config*

You should see a big gray screen with an X cursor in the middle.
(That's the mouse). Try moving the mouse to make sure the mouse works.
Try switching back to the text console (Ctrl+Alt+F1) and type as root:
# PATH=$PATH:/usr/X11R6/bin DISPLAY=:0 xterm &

Switch back to X (Ctrl+Alt+F9) and there should be a "window" with
a terminal emulator in it. (It's just a box, no title bar or anything;
there isn't a window manager running. Yet.) Try typing some stuff in to
make sure the keyboard works.

Now kill the X server with Ctrl+Alt+Backspace.

If anything didn't work, mail the mailing list about it.

Otherwise, you're free to install a WM (I recomment /usr/ports/x11-wm/icewm,
you may prefer /usr/ports/x11/kde3). Edit your ~/.xinitrc file and put
this line in if you installed iceWM (replacing any other lines):
  exec icewm
or this one if you installed KDE (again replacing any other lines):
  exec startkde

Have fun!

-- Josh

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


Re: Help PLEASE! on proper kernel config file to use serial portswith puc driver

2003-07-31 Thread stan
On Thu, Jul 31, 2003 at 10:34:14AM -0400, J. Seth Henry wrote:
> All you need in your kernel config is 'device puc'. You already appear
> to have this in your config, as your system detected the adapter.
> 

Him

I've made some "progress" on this ;-(

I have created teh devices in /dev. I now have just the puc line in the
kernel config, and the ports are getting detected like this:

puc0:  port 0xfce0-0xfcff irq 11 at device 6.0 on pci0
sio4: type 16550A
sio5: type 16550A

That;s the good nes. The bad news is that when I do "cu -l cuaa4", the
computer locks up! No response to any keyboard input, no response to a ping
etc. I have to power cycle it to get it back :-(

Sugestions?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Newbie problems with X11, Xf86

2003-07-31 Thread Benjamin Gonzalez
I installed X-Free86 - 4.2.0_1,1 from my  Free BSD Cd using sysinstall and
cannot get it to run.  I see the directory X11R6 under /usr, I run
'xf86config' and it says 'command not found'.  I typed 'XFree86 -configure'
and it also says 'command not found'.  I've looked for a file called
/etc/X11/XFree86Config and it says 'No such file or directory'.

I went back through sysinstall and reinstalled the X11 packages including
XFree86-4.2.0 and still I get the above results.

Could someone please explain what I am doing wrong, this is becoming
frustrating.

Thanks.

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


One more try at Frontpage Extensions, then I'll shut up

2003-07-31 Thread Darryl Hoar
I am running 4.7 stable.

I deinstalled mod_frontpage and apache13-fp. Was told I don't need both.
Made sure the directories were removed, etc.

cd /usr/ports/www/apache13-fp.  make clean.  Then make
So far so good.

make install, and it errors saying that frontpage 5.whatever is already
installed.  Tells to do a deinstall, etc.  I have already done those steps,
so I did a FORCE_PKG_REGISTER.  make install and it runs to 
completion and automatically runs fp_install.sh.  I answer the questions
(don't setup any sub/user webs, no virtual hosts).  Success at this
stage.

Launch Frontpage 2000  and try and publish a site.  It says the server
is not running frontpage extensions and I can't use http and must
use ftp.

I am well aware of the problems with fp extensions, etc.  I have lost
the battle with the VP of the company, and it is on our internal website
which is not accessible from the internet.

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


Re: nforce2 audio?

2003-07-31 Thread Daniel Harris
On Thu, 31 Jul 2003 06:33 am, Daniel Nielsen wrote:
So, what can I possibly do to make my onboard sound work?

/Daniel
Try snd_ich_load="YES" in /boot/loader.conf.

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


RE: Resolving domain names in KDE apps

2003-07-31 Thread Timms, Simon
I would bet that this is another issue related to IPv6.  Take a look at a
thread on this list titled "Mozilla and long time in resolving Hostnames",
especially a message from Dr Matthew J Seaman.

Good luck.

-Original Message-
From: Aaron Siegel [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Resolving domain names in KDE apps


Hello Robert

I  have been using FreeBSD 5.1 RELEASE and Konqueror without any noticeable 
problems with speed or name resolution.   The problem I have are related to 
browser issue: not haveing support for shockwave, scripting problems, and 
poorly develop sites that do not work well with the KHTML and Mozilla 
engines. The site you referenced does load slowly for me, but I think is do 
to the site and it is defiantly not a result of the operating system or KDE.

The webpage  does load some files form ad.ca.doubleclick.net see code below.



http://ad.ca.doubleclick.net/N3081/adj/ccn.com/van/indexbanner;loc=theT
op;sz=468x60;stile=1;dcopt=ist;kw=van;ord=9?">http://ad.ca.doubleclick.net/N3081/jump/ccn.com/van/indexbanner;loc=th
eTop;sz=468x60;stile=1;kw=van;ord=9?">http://ad.ca.doubleclick.net/N3081/ad/ccn.com/van/indexbanner;loc=theTo
p;sz=468x60;stile=1;kw=van;ord=9?">

On Thursday 31 July 2003 07:41 am, Robert Froese wrote:
> Hello,
>
> I'm a new FreeBSD user with a performance issue.  I've installed 5.1R and
> KDE. I've also installed Phoenix from the ports collection. When I'm using
> Konqueror or Phoenix to browse certain web sites they take forever to
load.
>
> It appears the problem is associated with resolving domain names.  While I
> wait (minutes!) for a problematic page to load, Phoenix will report in the
> notices bar at the bottom "Resolving host ...".  There's no CPU or network
> bottleneck and the problem is reproducable in either browser with the same
> web sites.  It seems also to relate to situations where one web page calls
> another for part of the content (e.g., www.vancouversun.com tries to load
> from ad.ca.doubleclick.net).
>
> If I open up a shell window and ask FreeBSD to resolve the same domain
> names with "host" they resolve instantly.  So the problem has something to
> do with the way the package for KDE talks with BSD.
>
> Any advice would be greatly appreciated!
>
>   ...Robert

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


 

This email communication is intended as a private communication for the sole
use of the primary addressee and those individuals listed for copies in the
original message. The information contained in this email is private and
confidential and if you are not an intended recipient you are hereby
notified that copying, forwarding or other dissemination or distribution of
this communication by any means is prohibited.  If you are not specifically
authorized to receive this email and if you believe that you received it in
error please notify the original sender immediately.  We honour similar
requests relating to the privacy of email communications.

Cette communication par courrier électronique est une communication privée à
l'usage exclusif du destinataire principal ainsi que des personnes dont les
noms figurent en copie.  Les renseignements contenus dans ce courriel sont
confidentiels et si vous n'êtes pas le destinataire prévu, vous êtes avisé,
par les présentes que toute reproduction, tout transfert ou toute autre
forme de diffusion de cette communication par quelque moyen que ce soit est
interdit.  Si vous n'êtes pas spécifiquement autorisé à recevoir ce courriel
ou si vous croyez l'avoir reçu par erreur, veuillez en aviser l'expéditeur
original immédiatement.  Nous respectons les demandes similaires qui
touchent la confidentialité des communications par courrier électronique.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PIII SMP

2003-07-31 Thread John Baldwin

On 31-Jul-2003 Terry Lambert wrote:
> It wasn't clear to me at the time whether the discussion was
> geared toward having both APIC and xAPIC support, or only xAPIC
> support.

Both, the xAPIC is mostly backwards compatible.  The extension of
the ID field just uses bits that are reserved (and hard-wired to 0)
on the older APICs.  Thus, if one uses 0xFF to address all CPU's
(the only real difference), then it will work on both types of
APICs.

> I'm not happy with my Circa 1996 dual P90 box.  It's not
> inconceivable that non-xAPIC processors might get deprecated
> in the rush to more than 16 CPU's, like my ASUS dual P90
> box seems to have been.

The P90 breakage isn't related to any APIC changes AFAICT.  Do
you have any more details of the exact breakage on the P90?
I've forgotten the details. :(

> Also, the recent change to make SSE instructions the build
> default also bit me on one of my machines without SSE support.

Humm, is this in the kernel?

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dual booting FreeBSD and Windows XP

2003-07-31 Thread Jud
On Wed, 30 Jul 2003 17:55:25 -0400 (EDT), "Jerry McAllister"
<[EMAIL PROTECTED]> said:
> > 
> > Hello,
> > 
> > I have a computer with Windows XP installed on it.
> > I want to dual boot it with FreeBSD.
> > My question is: does FreeBSD's boot loader support loading XP?
> > Because I've heard XP doesn't like it's MBR being overwritten. Is this
> > true?
> 
> I believe both statements are true.
> Anyway, you can boot XP with FreeBSD's MBR and that's the important one.
> 
> jerry

I see most of the usual suspects have weighed in - may as well complete
the list.  :-)

Jerry's right and so's Adam.  I happen to be using GAG right now, because
it's pretty automagic and I have a slightly complicated setup.

I'd recommend that even if you decide to use the FreeBSD bootloader or
GAG that you also have a look at the online FAQ and Google this list. 
These resources as well as the man pages and the online Handbook will
stand you in good stead as you continue with FreeBSD.

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


Re: Apache/1.3.28 will not bind to other port

2003-07-31 Thread Matthew Seaman
On Thu, Jul 31, 2003 at 01:56:21PM +, Mark wrote:
> This is odd. Just compiled and installed Apache/1.3.28. So, I figure I play
> around with it a bit, untill I am sure I get it working properly. So, I
> added this to httpd.conf:
> 
> #
> # Port: The port to which the standalone server listens. For
> # ports < 1023, you will need httpd to be run as root initially.
> #
> 
> Port 90
> 
> But it would not start, and the error log says:
> 
> [Thu Jul 31 15:36:26 2003] [crit] (48)Address already in use: make_sock:
> could not bind to port 80
> 
> Yes, I know this. :) That is why I set it to port 90 for the moment. Any one
> seeing something I dreadfully missed? I compiled, install and ran
> Apache/1.3.28 on the Vmware box first, where it works great. But on the real
> server, I want to test out a few things further first; hence, port 90.

The default httpd.conf contains a:

Listen 80

directive, which will cause apache to bind to all available interfaces
and listen on port 80.  You probably need to change that.  In fact, I
believe that 'Listen' is nowadays preferred to the 'BindAddress' and
'Port' combo and that 'BindAddress' and 'Port' have been phased out in
apache 2.x

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Help PLEASE! on proper kernel config file to use serial portswith puc driver

2003-07-31 Thread stan
On Thu, Jul 31, 2003 at 10:34:14AM -0400, J. Seth Henry wrote:
> All you need in your kernel config is 'device puc'. You already appear
> to have this in your config, as your system detected the adapter.
> 
> You will have to "sh MAKEDEV cuaa" (where 0 < n < NUM_PORTS) to get
> the device nodes in your /dev directory.
> 

Thanbks so much for the help on this!

I have now made the devise:

crw-rw  1 uucp  dialer   28, 128 Jul 21 10:50 cuaa0
crw-rw  1 uucp  dialer   28, 129 Jul 29 10:59 cuaa1
crw-rw  1 uucp  dialer   28, 130 Jul 17 06:22 cuaa2
crw-rw  1 uucp  dialer   28, 131 Jul 17 06:22 cuaa3
crw-rw  1 uucp  dialer   28, 132 Jul 31 12:17 cuaa4
crw-rw  1 uucp  dialer   28, 133 Jul 31 12:17 cuaa5
crw-rw  1 uucp  dialer   28, 134 Jul 31 12:17 cuaa6
crw-rw  1 uucp  dialer   28, 135 Jul 31 12:17 cuaa7
crw-rw  1 uucp  dialer   28, 136 Jul 31 12:16 cuaa8
crw-rw  1 uucp  dialer   28, 160 Jul 17 06:22 cuaia0
crw-rw  1 uucp  dialer   28, 161 Jul 17 06:22 cuaia1
crw-rw  1 uucp  dialer   28, 162 Jul 17 06:22 cuaia2
crw-rw  1 uucp  dialer   28, 163 Jul 17 06:22 cuaia3
crw-rw  1 uucp  dialer   28, 164 Jul 31 12:17 cuaia4
crw-rw  1 uucp  dialer   28, 165 Jul 31 12:17 cuaia5
crw-rw  1 uucp  dialer   28, 166 Jul 31 12:17 cuaia6
crw-rw  1 uucp  dialer   28, 167 Jul 31 12:17 cuaia7
crw-rw  1 uucp  dialer   28, 168 Jul 31 12:16 cuaia8
crw-rw  1 uucp  dialer   28, 192 Jul 17 06:22 cuala0
crw-rw  1 uucp  dialer   28, 193 Jul 17 06:22 cuala1
crw-rw  1 uucp  dialer   28, 194 Jul 17 06:22 cuala2
crw-rw  1 uucp  dialer   28, 195 Jul 17 06:22 cuala3
crw-rw  1 uucp  dialer   28, 196 Jul 31 12:17 cuala4
crw-rw  1 uucp  dialer   28, 197 Jul 31 12:17 cuala5
crw-rw  1 uucp  dialer   28, 198 Jul 31 12:17 cuala6
crw-rw  1 uucp  dialer   28, 199 Jul 31 12:17 cuala7
crw-rw  1 uucp  dialer   28, 200 Jul 31 12:16 cuala8

And here is what I have in my kernel conf file:

device  puc
options COM_MULTIPORT

# Serial (COM) ports
device  sio0at isa? port IO_COM1 flags 0x10 irq 4
device  sio1at isa? port IO_COM2 irq 3
device  sio2at isa? disable port IO_COM3 irq 11
device  sio3at isa? disable port IO_COM4 irq 11
device  sio4at isa? disable port IO_COM3 irq 11
device  sio5at isa? disable port IO_COM4 irq 11

Which is probably wrong. I must have tried 20 deifferent things since
yesterday afternoon :-(

And here is the output of dmesg:

puc0:  port 0xfce0-0xfcff irq 11 at device 6.0 on pci0
sio6: type 16550A
sio7: type 16550A
fxp0:  port 0xfcc0-0xfcdf mem 
0xfec0-0xfecf,0xfedfb000-0xfedfbfff irq 10 at device 10.0 on pci0
fxp0: Ethernet address 00:a0:c9:71:41:b7
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0:  at 12.0 irq 9
orm0:  at iomem 0xc-0xc7fff on isa0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0:  at port 0x378-0x37f irq 7 on isa0


So, it looks to me like something is still not right.

Am I understnading you to say that I don't need any (nonstandard) sio
entries in my kernel config file? If that's the case, I must have a basic
misunderstanding (which is certainly possible). I thought the puc driver
was a "bridge" driver that allowed the sio driver(s) to be connected to
serial ports on PCI based cards. Is this incorect?

Again, thnaks VERY much for helping me with this!

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Resolving domain names in KDE apps

2003-07-31 Thread Matthew Seaman
On Thu, Jul 31, 2003 at 09:10:42AM -0600, Aaron Siegel wrote:
> Hello Robert
> 
> I  have been using FreeBSD 5.1 RELEASE and Konqueror without any noticeable 
> problems with speed or name resolution.   The problem I have are related to 
> browser issue: not haveing support for shockwave, scripting problems, and 
> poorly develop sites that do not work well with the KHTML and Mozilla 
> engines. The site you referenced does load slowly for me, but I think is do 
> to the site and it is defiantly not a result of the operating system or KDE. 
> The webpage  does load some files form ad.ca.doubleclick.net see code below.
> 
> 
> 
>  SRC="http://ad.ca.doubleclick.net/N3081/adj/ccn.com/van/indexbanner;loc=theTop;sz=468x60;stile=1;dcopt=ist;kw=van;ord=9?";>  
> TARGET="_top" 
> HREF="http://ad.ca.doubleclick.net/N3081/jump/ccn.com/van/indexbanner;loc=theTop;sz=468x60;stile=1;kw=van;ord=9?";>  
> NAME="i_banner" ALIGN="TOP" BORDER="0" VSPACE="0" HSPACE="0" WIDTH="468" 
> HEIGHT="60" 
> SRC="http://ad.ca.doubleclick.net/N3081/ad/ccn.com/van/indexbanner;loc=theTop;sz=468x60;stile=1;kw=van;ord=9?";>
> 
> On Thursday 31 July 2003 07:41 am, Robert Froese wrote:
> > Hello,
> >
> > I'm a new FreeBSD user with a performance issue.  I've installed 5.1R and
> > KDE. I've also installed Phoenix from the ports collection. When I'm using
> > Konqueror or Phoenix to browse certain web sites they take forever to load.
> >
> > It appears the problem is associated with resolving domain names.  While I
> > wait (minutes!) for a problematic page to load, Phoenix will report in the
> > notices bar at the bottom "Resolving host ...".  There's no CPU or network
> > bottleneck and the problem is reproducable in either browser with the same
> > web sites.  It seems also to relate to situations where one web page calls
> > another for part of the content (e.g., www.vancouversun.com tries to load
> > from ad.ca.doubleclick.net).
> >
> > If I open up a shell window and ask FreeBSD to resolve the same domain
> > names with "host" they resolve instantly.  So the problem has something to
> > do with the way the package for KDE talks with BSD.
> >
> > Any advice would be greatly appreciated!

Here's why it's so slow:

% dig ad.ca.doubleclick.net IN 

; <<>> DiG 8.3 <<>> ad.ca.doubleclick.net IN  
;; res options: init recurs defnam dnsrch
;; res_nsend to server default -- 127.0.0.1: Operation timed out

Here's how it should have responded:

% dig www.bbc.com IN 

; <<>> DiG 8.3 <<>> www.bbc.com IN  
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;;  www.bbc.com, type = , class = IN

;; Total query time: 141 msec
;; FROM: happy-idiot-talk.infracaninophile.co.uk to SERVER: default -- 127.0.0.1
;; WHEN: Thu Jul 31 16:37:51 2003
;; MSG SIZE  sent: 29  rcvd: 29

There's absolutely nothing wrong with your systems.  The problem is
with the doubleclick.net DNS servers which incorrectly fail to respond
at all to queries for resource record types they don't know about.
That means you have to sit and wait until the request times out, which
takes something like 30s.  The bbc.com web servers do the right thing,
which is to send a negative response, and all in under 150 ms as you
can see.

Now, the RFC defining the  resource record was published nearly 10
years ago, so there is really absolutely no excuse for doubleclick.net
to be running anything so broken.  However, if you're running a
webserver using the Mozilla engine, the simple response is to
right-click on the advert and select "block images from this server".

Note that there will be no problem resolving those names using host(1)
as that does an A lookup (IPv4) by default. Try:

% host -t  ad.ca.doubleclick.net

At this point you're maybe asking what a  record is and why your
web browser should be trying to look one up.  The answer is that 
is the IPv6 equivalent of an A record: ie. it returns the IPv6 IP
number corresponding to the hostname.  The reason that Mozilla is
doing an IPv6 lookup is that that is what the standards say to do
nowadays: see getaddrinfo(3), RFC 2553 and

http://www.opengroup.org/onlinepubs/007904975/functions/getaddrinfo.html

(You may need to register in order to see that web page).

Cheers,

Matthew

PS. The irony of it all is that  resource records are themselves
probably going to be phased out in favour of the A6 resource type in
the not to distant future, which does essentially the same job, but
has various other advantages beyond the scope of this e-mail to go
into.  See http://www.faqs.org/rfcs/rfc2874.html if you're interested.

-- 
Dr Matthew J Seam

Re: Video Card

2003-07-31 Thread Matthew Graybosch
On Thursday 31 July 2003 12:17 pm, Per Nilsson wrote:

> I am using FreeBSD 4.8, and my video card is: "128 DDR ATI Radeon
> 9700".
>
> I have tried like hell to get the card work, but without any luck..
> The X server won`t start without the card working, and so on..

What does your XF86Config-4 file look like?

-- 
Matthew Graybosch
http://www.starbreaker.net
"I am become root, shatterer of kernels."

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


  1   2   >