Re: purging old mail

2007-06-04 Thread mats . lindberg
Jonathan McKeown [EMAIL PROTECTED] wrote on 2007-06-01 14:31:48:

 On Friday 01 June 2007 14:11, Steve Bertrand wrote:
  [EMAIL PROTECTED] wrote:
   Hi all,
   I'm setting up a FreeBSD 5.4 system that need to run unattended for 
a
   year or more.
   I've noticed that the /var/mail/root file grows a bit over time.
  
   Do I need to configure the system in some way to prevent this file 
from
   growing indefinately, filling up the /var partition?
 
  Are you actually interested in reading root mail?
 
  Are you running sendmail?
 
  If so, in the /etc/mail/aliases file, change the root alias to an 
email
  address that someone actually POP's.
 
  If you don't want to read the email at all, change the root alias to
  point to /dev/null.
 
 What I've been caught by a couple of times is the periodic(8) routines, 
which 
 quickly fill roots mailbox with daily, weekly and monthly status 
reports.
 
 If you're not going to forward these to a real user but still want to 
keep 
 (some of) them available, put
 
 daily_output=/var/log/daily.log
 weekly_output=/var/log/weekly.log
 monthly_output=/var/log/monthly.log
 
 in /etc/periodic.conf. The relevant reports will be logged into the 
 respective 
 files, and newsyslog already knows to rotate these if they exist, so 
they 
 won't grow endlessly (by default, /etc/newsyslog.conf keeps a week of 
dailys, 
 5 weeks of weeklys and a year of monthlys).
 
 Jonathan

Thanks guys
This was really usefuk

___
 

This e-mail communication (and any attachment/s) may contain confidential 
or privileged information and is intended only for the individual(s) or 
entity named above and to others who have been specifically authorized to 
receive it. If you are not the intended recipient, please do not read, 
copy, use or disclose the contents of this communication to others. Please 
notify the sender that you have received this e-mail in error by reply 
e-mail, and delete the e-mail subsequently. Please note that in order to 
protect the security of our information systems an AntiSPAM solution is in 
use and will browse through incoming emails. 
Thank you. 
_
 


Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut 
contenir des renseignements confidentiels ou protégés et est destiné à 
l?usage exclusif du destinataire ci-dessus. Toute autre personne est par 
les présentes avisée qu?il est strictement interdit de le diffuser, le 
distribuer ou le reproduire. Si vous l?avez reçu par inadvertance, 
veuillez nous en aviser et détruire ce message. Veuillez prendre note 
qu'une solution antipollupostage (AntiSPAM) est utilisée afin d'assurer la 
sécurité de nos systems d'information et qu'elle furètera les courriels 
entrant.
Merci. 
_
 


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


Re: php5-extensions and xorg libraries

2007-06-04 Thread Zbigniew Szalbot

Hello,

Norberto Meijome pisze:


On Sun, 03 Jun 2007 01:32:57 +0200
Zbigniew Szalbot [EMAIL PROTECTED] wrote:


Hello,

I will appreciate any help. When trying to install php5-extensions, I 
get the following error:


===  Applying FreeBSD patches for php5-gd-5.2.2
===   php5-gd-5.2.2 depends on executable in : phpize - found
===   php5-gd-5.2.2 depends on file: /usr/local/bin/autoconf259 - found
===   php5-gd-5.2.2 depends on file: /usr/local/libdata/xorg/libraries 
- not found
===Verifying install for /usr/local/libdata/xorg/libraries in 
/usr/ports/x11/xorg-libraries

Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.

[]



I cannot install php5-extensions, nor xorg nor xorg-libraries. I am lost 
as to what to do. Many thanks in advance!


Hi Zbigniew,
yeah...one of those nits that I dont think it's properly explained. From my own
experience and discussion in ports@ :

http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/041207.html

1)Bypass the dependency altogether: php5-gd itself is not the problem, but
rather libgd, with XPM support enabled (I haven't confirmed it , but it makes
perfect sense).


I would love to choose this route as I have a headless installation and 
need no X11 whatsoever. I do not think I need XPM but how can I bypass 
this dependency? In Makefile for php4-extensions (as actually I want to 
install php4 and its extensions but I tried with php5 wrongly assuming 
php4 was the problem) I have

GD  GD library support off \

Could you please advise how to disable the dependency?


Many thanks in advance!

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


Re: Strange Intel Mobo Behavior

2007-06-04 Thread Tim Daneliuk

Norberto Meijome wrote:


Maybe unrelated - I had a similar problem yesterday on a small box @ home - it
was stopping for about 2 minutes or so just before showing the line about ad0.
It turned out one of the PCI cards (TV card) had become a bit lose and was
obvioulsy causing problems. Once this was solved, it booted fine with no
problem.


I'll look into this.  When this happened, did the floppy light up as well?




4) I *cannot* get xorg 7.2 to work with the onboard video.
If I configure it as a VESA video system, all is well.
If I try to tell it that I am using i810 video, I get this:

  X Window System Version 7.2.0
 Release Date: 22 January 2007





do you have AGP support in your kernel ? 


I am using the stock SMP kernel config that includes GENERIC,
which does have 'device agp' in it.



Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


GRUB / boot easy problems w / USB stick

2007-06-04 Thread Fred Davidson

--- Andrey Shuvikov [EMAIL PROTECTED] wrote:
 
 Did you copy it recursively (with sub-directories)?
 If yes then you
 didn't need to copy
 /boot/grub separately. If no, you'll probably need
 to copy at least
 /boot/defaults .
 And /boot/kernel as well if you really want to
 boot...
 
 Andrey

# In /boot I did

cp -Rpv * /usb/boot

#I'm not sure why it can get as far as the BTX loader 
#info, but can't manage to load the kernel.  It
clearly
#can read the ufs2 now. I don't really know much about
#the specifics of the startup process, but I thought 
#as soon as the loader was invoked, the first thing it

#tries to do is load the kernel into memory.  I just
#double checked and the kernel is located on the stick
#at USB/boot/kernel/kernel.  This must have happened
to #someone else before.  

-Fred

p.s. just a shot in the dark, but does anyone think
grub might not be able to load the kernel because it
runs out of some kind of internal allotment of memory?






 

Looking for earth-friendly autos? 
Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

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


Configure ipaddress and route entries in /etc/rc.conf file

2007-06-04 Thread bsenthil
I am trying to configure ipaddress and route entries. so that i added 
below the entries in /etc/rc.conf file.


vi /etc/rc.conf

inetd_enable=YES
hostname=test.abc.com
ifconfig_fxp0=inet 192.168.110.14  netmask 255.255.255.0
defaultrouter=192.168.110.2
hostname=test.abc.com
static_routes=net1 net2
route_net1=-net 192.168.1.1/24 192.168.110.2
route_net2=-net 192.168.2.1/24 192.168.110.2

and then i restated the network services netif restart

The below entries are listed in router table ...
$ netstat -nr

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
127.0.0.1  127.0.0.1  UH  00lo0
192.168.110link#1 UC  00   fxp0


Problem :: Default router entries and net1  net2 entries are not added 
in router table...


Please advice me anything i want to configue more in rc.conf file
I can able to add default router by executing  route add -net 0.0.0.0 
192.168.110.2


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


Re: Strange Intel Mobo Behavior

2007-06-04 Thread Tim Daneliuk

[EMAIL PROTECTED] wrote:

At 02:08 PM 6/3/2007, Tim Daneliuk wrote:

3) Both the MOBO and drive are SATA-300 rated, but 6.2 insists that
   the drive is running at SATA-150.  I have verified that the drive
   has no jumper forcing it into this mode.


Don't know about the other issues, but I have a Dell with similar Intel 
components, and it did the same SATA thing when I put a new drive in it 
yesterday:


atapci1: Intel ICH7 SATA300 controller port 
0xfe00-0xfe07,0xfe10-0xfe13,0xfe20-0xfe27,0xfe30-0xfe33,0xfea0-0xfeaf 
irq 20 at device 31.2 on pci0

ad4: 76293MB Maxtor 6L080M0 BACE1G10 at ata2-master SATA150
ad6: 305245MB Seagate ST3320620AS 3.AAK at ata3-master SATA150

The ad6 drive is supposed to do SATA-300, but realistically, other 
bottlenecks dictate it's not going to get anywhere near the '150 speed, 


Could you comment a bit more on why you think this is so.  I would
think that with modern processors and buses, a machine with light load
ought to be able to drive SATA-300, but I've never actuall tested for
it myself.

so I'm not terribly worried about it.  cp'ing a 4GB file to /dev/null 
yielded 57MB/sec.


  -RW


I get around 50MB/sec or so with about 2G file, so we're in the same
ballpark.  In round numbers, this is 1/3 the theoretical throughput
of a SATA-150 or 1/6 that of SATA-300.  Now, I *am* curious on what
the bottlenecks are.  50MB/sec isn't a whole lot different that what
I'd expect out of a modern PATA drive.  So, noting the better cabling
and the wide availability of on-board RAID, it sure looks to me like there
is no compelling argument to be made for SATA in non-RAIDed environments.
I'm guessing the drives are the same ones as their PATA counterparts, just
with different interface electronics, so we're not going to see SCSI-like
reliability and/or performance under load.

I can understand some overhead due to system dispatching and multitasking,
but in a lightly loaded machine (as mine was when I did the test) with
2G of memory and dual 3.2G processors, it seems very strange that the
drive should run at 1/3 or less the stated interface speed.  What am I
missing here, I wonder...


Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: Switching between half-duplex and full duplex

2007-06-04 Thread Rudolf Cejka
Pang wrote (2007/06/03):
  I have just installed FreeBSD and found that the nic em0 is set to 
 half-duplex only. Could anyone tell me how I can switch it to full-duplex?
 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=bRXCSUM,TXCSUM,VLAN_MTU
inet 172.16.0.2 netmask 0xfffc broadcast 172.16.0.1
ether XX:XX:XX:XX:XX:XX
media: Ethernet autoselect (10baseT/UTP half-duplex)
status: active

Hello, so I was right? ;o) I assume, that you have more capable device
on the other side, atleast 100 Mb/s full-duplex. In that case, you should
check, what connection type is seen on the other side (switches with
management!). Then you can check auto-negotiation settings on the other
side, try to change ethernet cable - it would be faulty and auto-neg would
not work correctly, then look, which chipset do you have - the driver would
not work with too new chips, I have here some ICH8 machines, which do work
just 100 Mb/s instead of 1 Gb/s (I expect that -current should work now).

Regards.

PS: Another very good command is ifconfig -m em0, where you can see all
allowed media/mediaopt combinations.

-- 
Rudolf Cejka cejkar at fit.vutbr.cz http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange Intel Mobo Behavior

2007-06-04 Thread Juha Saarinen

On 6/4/07, Tim Daneliuk [EMAIL PROTECTED] wrote:

I get around 50MB/sec or so with about 2G file, so we're in the same
ballpark.  In round numbers, this is 1/3 the theoretical throughput
of a SATA-150 or 1/6 that of SATA-300.  Now, I *am* curious on what
the bottlenecks are.  50MB/sec isn't a whole lot different that what
I'd expect out of a modern PATA drive.


I'm getting 50-55Mbyte/s as well, on an ICH7-equipped board and
SATA-150 hard drive. Seems to fall within expectations. The maximum
theoretical interface speed isn't the same as what you get from the
device connected to it, unfortunately. It's pretty fast still
considering the price of the hardware, and if you want more, use RAID.


So, noting the better cabling
and the wide availability of on-board RAID, it sure looks to me like there
is no compelling argument to be made for SATA in non-RAIDed environments.
I'm guessing the drives are the same ones as their PATA counterparts, just
with different interface electronics, so we're not going to see SCSI-like
reliability and/or performance under load.


Not entirely correct. SATA is hot-swappable, and you can get drives
with command queuing for improved performance. No master/slave jumper
fiddling either, which is nice. It's a technology not to be spat at,
basically, and it's much cheaper than SCSI.

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


New (blade) server - stick with FreeBSD 6.x or wait for FreeBSD 7?

2007-06-04 Thread Ewald Jenisch
Hi,

I'm about to set up a new server that should run basically
network-monitoring (MRTG, Cacti etc.). Hardware will be HP C-class
blade based on AMD Opterons.

Should I stick with FreeBS 6.x or wait for FreeBSD 7 (see
http://www.freebsd.org/releng/index.html - June 2007 Start FreeBSD
7.0 Release Process).

The question basically is: Will FreeBSD7 be current or stable?

Thanks much in advance for any hint,
-ewald


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


Re: Strange Intel Mobo Behavior

2007-06-04 Thread Garrett Cooper

Juha Saarinen wrote:

On 6/4/07, Tim Daneliuk [EMAIL PROTECTED] wrote:

I get around 50MB/sec or so with about 2G file, so we're in the same
ballpark.  In round numbers, this is 1/3 the theoretical throughput
of a SATA-150 or 1/6 that of SATA-300.  Now, I *am* curious on what
the bottlenecks are.  50MB/sec isn't a whole lot different that what
I'd expect out of a modern PATA drive.


I'm getting 50-55Mbyte/s as well, on an ICH7-equipped board and
SATA-150 hard drive. Seems to fall within expectations. The maximum
theoretical interface speed isn't the same as what you get from the
device connected to it, unfortunately. It's pretty fast still
considering the price of the hardware, and if you want more, use RAID.
Yes, there is software overhead to consider, and the speeds are most 
likely burst speeds.



So, noting the better cabling
and the wide availability of on-board RAID, it sure looks to me like 
there
is no compelling argument to be made for SATA in non-RAIDed 
environments.
I'm guessing the drives are the same ones as their PATA counterparts, 
just
with different interface electronics, so we're not going to see 
SCSI-like

reliability and/or performance under load.


Not entirely correct. SATA is hot-swappable, and you can get drives
with command queuing for improved performance. No master/slave jumper
fiddling either, which is nice. It's a technology not to be spat at,
basically, and it's much cheaper than SCSI.

   Agreed. SATA is a nice technology, and the price is right.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New (blade) server - stick with FreeBSD 6.x or wait for FreeBSD 7?

2007-06-04 Thread Kris Kennaway
On Mon, Jun 04, 2007 at 09:46:00AM +0200, Ewald Jenisch wrote:
 Hi,
 
 I'm about to set up a new server that should run basically
 network-monitoring (MRTG, Cacti etc.). Hardware will be HP C-class
 blade based on AMD Opterons.
 
 Should I stick with FreeBS 6.x or wait for FreeBSD 7 (see
 http://www.freebsd.org/releng/index.html - June 2007 Start FreeBSD
 7.0 Release Process).

Note start.  The release is still many months away, so presumably
you do not wish to wait until then to install your server :) You
should definitely keep an eye on it though, there is a lot of good
stuff coming up in 7.0.

 The question basically is: Will FreeBSD7 be current or stable?

It will be the start of a new stable branch.

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


RE: php5-extensions and xorg libraries

2007-06-04 Thread Daniel Eriksson
Zbigniew Szalbot wrote:

 I will appreciate any help. When trying to install php5-extensions, I 
 get the following error:

If you really don't need the xorg-libraries (true for most web servers
for example) then there's an easy way to avoid them:

1. install all your ports with make -DWITHOUT_X11 install clean
2. add '*' = 'WITHOUT_X11=1', to the make args in pkgtools.conf (or
whatever the format is in the file) to prevent portupgrade from adding
the xorg-libraries in the future

This works just fine for a typical webserver (analog, webalizer, php
with the gd extension, ...). I just installed a new webserver with
multiple jails to keep the different sites compartmentalized, and
avoiding the xorg-libs saved me a ton of space and compile time.

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


Re: New (blade) server - stick with FreeBSD 6.x or wait for FreeBSD 7?

2007-06-04 Thread Abdullah Ibn Hamad Al-Marri

On 6/4/07, Ewald Jenisch [EMAIL PROTECTED] wrote:

Hi,

I'm about to set up a new server that should run basically
network-monitoring (MRTG, Cacti etc.). Hardware will be HP C-class
blade based on AMD Opterons.

Should I stick with FreeBS 6.x or wait for FreeBSD 7 (see
http://www.freebsd.org/releng/index.html - June 2007 Start FreeBSD
7.0 Release Process).

The question basically is: Will FreeBSD7 be current or stable?

Thanks much in advance for any hint,
-ewald




Currently there are some bugs in the tcp, my server always crash with
a kernel msg

tcp syncache_expand: segment failed syncookie authentication, segment
rejected (probably spoofed)

So wait till they fix this serious bug, other than that it runs faster
than RELENG_6 with ULE 2.0, and libthr.


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Synaptics trackpad problem

2007-06-04 Thread Robin Becker

Paul Fraser wrote:

On 6/3/07, Robin Becker [EMAIL PROTECTED] wrote:

Any help appreciated


Hi Robin,

I know this isn't going to be much of a comfort - but I've had great
difficulty trying to get Xorg to work nicely with - surprise - the
Synaptics touchpad on my Acer notebook as well. I posted to the list
almost a week ago reporting that while Xorg worked brilliantly one day
- suddenly it stopped working.

I did blow the installation away and started again (unrelated issue)
the other day and the touchpad is working much as it was before. I
don't have my specific Xorg config in front of me as the missus has
stolen the laptop today unfortunately, however I've flagged this
thread so I'll attach it and send it over to you tonight.

Thanks I appreciate it. With my machine I can get the 1280x800 mode using 
915resolution hack and I do have a mouse if I drop the touchpad entirely (from 
loader.conf and xorg.conf) and use moused_enable=YES in rc.conf. For whatever 
reason the synaptics stuff is a bit flaky on my machine as I have had a couple 
of forced reboots with hw.psm.synaptics_support=1.


If all else fails I will try and do the new 7.2 Xorg build from scratch.
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New (blade) server - stick with FreeBSD 6.x or wait for FreeBSD 7?

2007-06-04 Thread Per olof Ljungmark

Kris Kennaway wrote:

On Mon, Jun 04, 2007 at 09:46:00AM +0200, Ewald Jenisch wrote:

Hi,

I'm about to set up a new server that should run basically
network-monitoring (MRTG, Cacti etc.). Hardware will be HP C-class
blade based on AMD Opterons.

Should I stick with FreeBS 6.x or wait for FreeBSD 7 (see
http://www.freebsd.org/releng/index.html - June 2007 Start FreeBSD
7.0 Release Process).


Note start.  The release is still many months away, so presumably
you do not wish to wait until then to install your server :) You
should definitely keep an eye on it though, there is a lot of good
stuff coming up in 7.0.


The question basically is: Will FreeBSD7 be current or stable?


We are running several non-critical (including this T42 laptop) and one 
critical (SMTP) machine with -CURRENT and so far it's been a matter of 
getting the source from a good moment in time, mostly the snapshots. So 
far very few problems. You need a testbed to try stuff out on though.


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


Re: New (blade) server - stick with FreeBSD 6.x or wait for FreeBSD 7?

2007-06-04 Thread Kris Kennaway
On Mon, Jun 04, 2007 at 12:10:53PM +0300, Abdullah Ibn Hamad Al-Marri wrote:
 On 6/4/07, Ewald Jenisch [EMAIL PROTECTED] wrote:
 Hi,
 
 I'm about to set up a new server that should run basically
 network-monitoring (MRTG, Cacti etc.). Hardware will be HP C-class
 blade based on AMD Opterons.
 
 Should I stick with FreeBS 6.x or wait for FreeBSD 7 (see
 http://www.freebsd.org/releng/index.html - June 2007 Start FreeBSD
 7.0 Release Process).
 
 The question basically is: Will FreeBSD7 be current or stable?
 
 Thanks much in advance for any hint,
 -ewald
 
 
 
 Currently there are some bugs in the tcp, my server always crash with
 a kernel msg
 
 tcp syncache_expand: segment failed syncookie authentication, segment
 rejected (probably spoofed)

Uh, that's not a crash, it's a warning message that does not
interrupt kernel operation.

 So wait till they fix this serious bug, other than that it runs faster
 than RELENG_6 with ULE 2.0, and libthr.

libthr is available in 6.x too, of course.

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


Re: Download speed and TCPIP window sizing

2007-06-04 Thread Brian Somers
On Thu, 31 May 2007 22:06:39 +0800 Pang [EMAIL PROTECTED] wrote:
   Could anyone tell me whether my understanding on Window sizing 
 correct? Also, is there any way to alter the window sizing in freebsd or 
 apache?

AFAIK you can't increase the window size unless you use
the tcp wscale option (it's a 2-byte value).  This wasn't
possible 'till recently in -current:

andre   2007-02-01 17:39:19 UTC

  FreeBSD src repository

  Modified files:
sys/netinet  tcp_syncache.c tcp_usrreq.c 
  Log:
  Change the way the advertized TCP window scaling is computed.  Instead of
  upper-bounding it to the size of the initial socket buffer lower-bound it
  to the smallest MSS we accept.  Ideally we'd use the actual MSS information
  here but it is not available yet.
  
  For socket buffer auto sizing to be effective we need room to grow the
  receive window.  The window scale shift is determined at connection setup
  and can't be changed afterwards.  The previous, original, method effectively
  just did a power of two roundup of the socket buffer size at connection
  setup severely limiting the headroom for larger socket buffers. 

  Tested by:  many (as part of the socket buffer auto sizing patch)
  MFC after:  1 month
  
  Revision  ChangesPath
  1.104 +8 -2  src/sys/netinet/tcp_syncache.c
  1.143 +7 -2  src/sys/netinet/tcp_usrreq.c

This may not be MFC'd (I think I'd object if it was)
as there are several old OpenBSD/pf setups that have
issues with wscale  4.  Hopefully these setups will
be fixed by the time 7.0 is released, as windows/vista
and linux/debian now set wscale  4 too.

The patch is pretty small though, so you may want to
try applying it to your box to see if it helps.

HTH.

-- 
Brian Somers  [EMAIL PROTECTED]
Don't _EVER_ lose your sense of humour !   [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


new in the list

2007-06-04 Thread electro
Hello everybody
Im new in the list..
Sorry but i will start asking for help
Im new to freebsd and i find a little bit hard to find information about
specific issues

My problem is that i can not get a Conceptronic c54ru version 2 working
in freebsd 6.2... after reading some mailing list it is not clear to me
if this card is supported

dev.ugen.0.%desc: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2
dev.ugen.0.%driver: ugen
dev.ugen.0.%location: port=0
dev.ugen.0.%pnpinfo: vendor=0x14b2 product=0x3c22 devclass=0x00
devsubclass=0x00 release=0x0001 sernum=
dev.ugen.0.%parent: uhub0

The other problem is with a Conceptronic c54c and wpa_supplicant

[EMAIL PROTECTED]:0:0:  class=0x02 card=0x3a941186 chip=0x0013168c rev=0x01
hdr=0x00
vendor   = 'Atheros Communications Inc.'
device   = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
class= network
subclass = ethernet

it associates with the ap but then fails with 
WPA: drop TX EAPOL in non-IEEE 802.11x mode type=1 len=0
wpa_driver_bsd_set_drop_unencrypted: enabled=0

and in the logs 

ath0: link state changed to UP
ath0: link state changed to DOWN
ath0: link state changed to UP
ath0: link state changed to DOWN
.

wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
 ssid=missid
 psk=mipsk
  scan_ssid=1
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=TKIP
}
i've tried with other options but this should work as it does with the
same machine, same card, same ap, but other OS.

Thanks for your help



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


Re: Switching between half-duplex and full duplex

2007-06-04 Thread Pang

Rudolf Cejka wrote:

Pang wrote (2007/06/03):
  
 I have just installed FreeBSD and found that the nic em0 is set to 
half-duplex only. Could anyone tell me how I can switch it to full-duplex?

em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=bRXCSUM,TXCSUM,VLAN_MTU
   inet 172.16.0.2 netmask 0xfffc broadcast 172.16.0.1
   ether XX:XX:XX:XX:XX:XX
   media: Ethernet autoselect (10baseT/UTP half-duplex)
   status: active



Hello, so I was right? ;o) I assume, that you have more capable device
on the other side, atleast 100 Mb/s full-duplex. In that case, you should
check, what connection type is seen on the other side (switches with
management!). Then you can check auto-negotiation settings on the other
side, try to change ethernet cable - it would be faulty and auto-neg would
not work correctly, then look, which chipset do you have - the driver would
not work with too new chips, I have here some ICH8 machines, which do work
just 100 Mb/s instead of 1 Gb/s (I expect that -current should work now).

Regards.

PS: Another very good command is ifconfig -m em0, where you can see all
allowed media/mediaopt combinations.

  


Hello,
 The auto-negotiation doesn't work properly. (it goes to half-duplex 
automatically). But, it works when I switched it back full-duplex manually.

 However, the switch doesn't seem to support 100baseTX or better.
Thanks
Pang
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: isc-dhcp3-server in a jail?

2007-06-04 Thread Nico -telmich- Schottelius
Paul Fraser [Sun, Jun 03, 2007 at 10:47:18PM +1000]:
 [...]
 Here's what's happening:
 [...]
 
 Starting dhcpd.
 Internet Systems Consortium DHCP Server V3.0.5
 Copyright 2004-2006 Internet Systems Consortium.
 All rights reserved.
 For info, please visit http://www.isc.org/sw/dhcp/
 Wrote 0 deleted host decls to leases file.
 Wrote 0 new dynamic host decls to leases file.
 Wrote 0 leases to leases file.
 Listening on Socket/re0/192.168.72/24
 Sending on Socket/re0/192.168.72/24

What's the IP-number in your jail and what's it outside?

I am not sure, whether broadcasts are delivered to the jails or not.

Nico


signature.asc
Description: Digital signature


Re: random xorg crashes after xorg upgrade to 7.2

2007-06-04 Thread Lowell Gilbert
Dino Vliet [EMAIL PROTECTED] writes:

 My (unchanged) xorg conf looks like:

How about changing xorg.conf to point the paths at /usr/local?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem installing xorg 7.2

2007-06-04 Thread Lowell Gilbert
Anton Galitch [EMAIL PROTECTED] writes:

 Hi
 Because I wanted to upgrade my xorg package to 7.2, I read
 /usr/ports/UPDATING. but the description is only for portupgrade, and I dont
 use it because it works bad on my system, I use portmanager insteed.
 I couldnt upgrade xorg with portmanager so I just deinstalled it, and make
 install again.

 Thats the message that throws make install:


 configure: error: cannot find GL library - make sure Mesa or other
 OpenGL packag
 e is installed
 See `config.log' for more details.
 ===  Script configure failed unexpectedly.


 But when I cd ed to /usr/ports/graphics/mesagl  make install, it throws
 another message:


 ===  Mesa-5.0.2 is unnecessary because libGL and libGLU come with
 XFree86 4.0 a
 nd higher.
 *** Error code 1

 Stop in /usr/ports/graphics/mesagl.


 So what should I do??
 Is there any way of installing xorg 7.2 just with make install ??

You need to have XORG_UPGRADE set to yes.
See UPDATING...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: debugging pppoe

2007-06-04 Thread Nikos Vassiliadis
On Tuesday 29 May 2007 20:38, Michael P. Soulier wrote:
 I've turned logging up to All for ppp, for my DSL connection, and I've
 been disappointed to find that when it can't connect, ppp offers no
 help whatsoever as to why.

 I'm going to try rp-pppoe from ports, since on Linux it's actually
 quite helpful in full debug, but I'm surprised at how little BSD's ppp
 tells me when logging is turned right up.

 Any other suggestions?

ppp does not write much on the console. And that is probably a decision
made by the authors, since it is meant to be run mostly interactively.
You can see its logs in /var/log/ppp.log

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


Re: netstat -i output

2007-06-04 Thread Reid Linnemann

Written by Tom Worster on 06/02/07 05:00

i'm confused by the output from netstat -i:

NameMtu Network   AddressIpkts Ierrs Ibytes Opkts Oerrs 
Obytes  Coll
bge0   1500 Link#1  00:30:48:5e:56:8a  7.4M  1.2K   4.9G  2.9M 0  2.6G0 
bge0   1500 65.39.221/24  www1   2.9M -   414M  3.0M -  2.5G- 


it lists the same interface twice. what is the difference between these two?

this is a web server so wny so much more input bytes than output?

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


The first is the ethernet address family, the other is ipv4.

If you notice, your ipv4 statistics show 414Mb in ang 2.5 Gb out, with 
roughly a 1:1 ratio of input and output packets. This would seem 
logical, since http is a request:response protocol. Remember that IP is 
a network layer protocol, which is mainly facilitated by the ethernet 
data link layer protocol, but ethernet is not simply relegated to 
servicing IP communications, many other services and protocols use 
ethernet. For instance, many blade/rack systems these days use some sort 
of network console over ethernet, which I would assume generates far 
less input bytes than output bytes on the machines. This is just one 
example, there's far more things that use ethernet than I can be aware of.

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


Re: random xorg crashes after xorg upgrade to 7.2

2007-06-04 Thread David Benfell
On Mon, 04 Jun 2007 08:36:07 -0400, Lowell Gilbert wrote:
 Dino Vliet [EMAIL PROTECTED] writes:
 
  My (unchanged) xorg conf looks like:
 
 How about changing xorg.conf to point the paths at /usr/local?

I noticed this too, but if the mergebase.sh script sets a symbolic
link from /usr/local/ to /usr/X11R6/, why does it make a difference?


-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgpTBgUhkeuHn.pgp
Description: PGP signature


Re: 6.2/i386 X/DRI issues

2007-06-04 Thread Reid Linnemann

Written by Norberto Meijome on 06/03/07 20:43

On Fri, 1 Jun 2007 15:11:26 +1000
Alex R [EMAIL PROTECTED] wrote:


it's in the archives of the list - you need to install the mesa-demos
port.  

Installed it.

[EMAIL PROTECTED] ~]$ glxinfo
Error: unable to open display

But thats because I am ssh'd into the box from work, I dare say it will work 
when I get home and test from within X.


( X forwarding over ssh to your local display ..? I am just not sure whether 
glxinfo calculations would be based on your remote display or your local 
one)



glxinfo over X-forward will report on the display the client is drawing 
on - X clients are not aware of any other displays unless explicitly 
instructed (e.g. glxinfo -display localhost:0), and even then you'll 
have to fight xauth.


Incidentally, you can never do direct rendering over remote X connection 
because the client (which is executed on a remote system) does not have 
direct access to the memory of the display.

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


Re: Configure ipaddress and route entries in /etc/rc.conf file

2007-06-04 Thread Reid Linnemann

Written by bsenthil on 06/04/07 01:17
I am trying to configure ipaddress and route entries. so that i added 
below the entries in /etc/rc.conf file.


vi /etc/rc.conf

inetd_enable=YES
hostname=test.abc.com
ifconfig_fxp0=inet 192.168.110.14  netmask 255.255.255.0
defaultrouter=192.168.110.2
hostname=test.abc.com
static_routes=net1 net2
route_net1=-net 192.168.1.1/24 192.168.110.2
route_net2=-net 192.168.2.1/24 192.168.110.2

and then i restated the network services netif restart

The below entries are listed in router table ...
$ netstat -nr

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
127.0.0.1  127.0.0.1  UH  00lo0
192.168.110link#1 UC  00   fxp0


Problem :: Default router entries and net1  net2 entries are not added 
in router table...


Please advice me anything i want to configue more in rc.conf file
I can able to add default router by executing  route add -net 0.0.0.0 
192.168.110.2


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


Wrong rc script. Try /etc/rc.d/routing restart. routing requires 
netif, but netif does not imply routing.

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


Re: X11 console setup

2007-06-04 Thread John Nielsen
On Saturday 02 June 2007 04:00:57 pm Kevin Kinsey wrote:
 Jim Capozzoli wrote:
  Hello list,
 
  I have 3 monitors and 3 video cards.  However, one videocard and
  monitor isn't very X11 friendly. (X11 barely starts on it).  I was
  wondering if it would be possible to have X11 running on two of the
  monitors, and then have a full screen console (like a ttyv0) on the
  third monitor (so I could constantly leave top or something sweet
  running on there :D).  This is all with FreeBSD 6.2/i386 and Xorg 6.9
  or 7.2.  Any suggestions?  Thanks.

 It should do do-able, perhaps somewhat easily. 
 /usr/ports/x11-servers/x2x is what comes to mind --- IIRC, Greg groggy
 Lehey of The Complete FreeBSD fame uses this for several displays, and
 has notes on his setup in her personal pages at www.lemis.com.

That link is here: http://www.lemis.com/grog/hardware.html

However, I'm not sure x2x is relevant to the OP--It can be used to allow one 
mouse and keyboard to be used on multiple X servers, but doesn't have 
anything to do with console mode.

I don't know if the setup the OP wants is possible or not, but here are some 
notes:

The FreeBSD console always runs on the primary display as determined by the 
BIOS. Most systems give you a choice between using AGP or PCI as the primary 
display. If you have multiple PCI cards it is usually the first one on the 
bus (physically this is often the one closest to the CPU). Not sure how ISA 
figures in. You will want to make your bad videocard and monitor the 
primary display.

Once you have that, I'd just run an Xorg -configure to get started. If X 
comes up at all using the config generated from that then it will be a good 
starting point. Try commenting out the device and screen sections (and 
possibly also a line under ServerLayout) for your bad display and see if X 
comes up on the other two. By default it expects to be running on the console 
so I'm not sure what will happen here. You also want it to grab the keyboard 
and mouse unless you have a second keyboard. Some trial and error and further 
research are probably required. Play with startx vs xdm, see what happens 
when you press ctrl-alt-f1, etc. I'm assuming you'll want to use Xinerama to 
join the two X displays and allow window-dragging between them, etc.

If you don't get acceptable results using your original plan, you can always 
hack together your own console to run on the weakest display under X (using 
the vesa driver if necessary). If possible (not sure it is), don't make it 
part of your Xinerama display. Then don't run a window manager on it. Use 
xsetroot as part of your X init script to control what's on the background. 
This will apply to your entire display but the WM will probably take over 
once it starts on the good screens. You could make one or more scripts to 
run things on your bad screen by doing something like this:

#!/bin/sh
DISPLAY=:0.1#might also be :0.2 or :0.0
export DISPLAY
xterm -r -geometry 120x60 /usr/bin/top

Experiment with the geometry settings to see what fills your screen 
appropriately. You might also want to get a nice bitmap font to give the 
xterm more of a terminal feel. I have one I stole from bochs or somewhere 
that's not bad (I use it for Nethack). E-mail me off-list if you want it.

That should just about do it. Do write back to the list to tell us what you 
learn and what works the best.

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


Re: Flatbed scanners for FreeBSD

2007-06-04 Thread John Nielsen
On Saturday 02 June 2007 06:48:46 pm Roland Smith wrote:
 On Sat, Jun 02, 2007 at 03:15:22PM -0600, Andrew Falanga wrote:
   Hi everybody,
 
   What scanners are best used with FreeBSD?  I'm hoping for one that I
   can use in both Windoze and FreeBSD.  Preferably, one that is USB.
   I've never configured a scanner for FreeBSD before and would like
   recommendations on hardware before purchasing.

 Look at the website for the SANE (acanner access now easy) project. If
 it is listed there, it will probably work;

 http://www.sane-project.org/sane-mfgs.html#SCANNERS

 I've had good experiences with Epson scanners, but mine is several years
 old, and you can't buy them anymore.

 If you have a specific model in mind, google for it's name in
 combination with SANE, to see if it comes up on the SANE mailing
 list. E.g. they've gotten the cheap Epson Perfection V10 working recently;
 http://lists.alioth.debian.org/pipermail/sane-devel/2006-November/017993.ht
ml

Also keep in mind that SANE can use libusb for scanner access even if said 
scanner is not supported by FreeBSD's uscanner. I have an Epson CX4800 
scanner/printer/cardreader. If I don't have ulpt or umass in the kernel, the 
scanner works fine via libusb. I assume for a standalone scanner the 
multifunction strangeness wouldn't be an issue.

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


Re: SMP System but only CPU#0 being used?

2007-06-04 Thread Sergio Lenzi
from the smp man page.


1) make sure you have options SMP in  your kernel and is built and
compiled OK.

2)put the lines in the /boot/loader.conf
and reboot the system


machdep.cpu_idle_hlt=0
machdep.hlt_cpus=0
machdep.hlt_logical_cpus=0
machdep.hyperthreading_allowed=1
==
should work... 
my cpus are pentiuns HT or pentius 4 dual core


Lenzi

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


Fwd: X11 console setup

2007-06-04 Thread Jim Capozzoli

On 6/4/07, John Nielsen [EMAIL PROTECTED] wrote:

On Saturday 02 June 2007 04:00:57 pm Kevin Kinsey wrote:
 Jim Capozzoli wrote:
  Hello list,
 
  I have 3 monitors and 3 video cards.  However, one videocard and
  monitor isn't very X11 friendly. (X11 barely starts on it).  I was
  wondering if it would be possible to have X11 running on two of the
  monitors, and then have a full screen console (like a ttyv0) on the
  third monitor (so I could constantly leave top or something sweet
  running on there :D).  This is all with FreeBSD 6.2/i386 and Xorg 6.9
  or 7.2.  Any suggestions?  Thanks.

 It should do do-able, perhaps somewhat easily.
 /usr/ports/x11-servers/x2x is what comes to mind --- IIRC, Greg groggy
 Lehey of The Complete FreeBSD fame uses this for several displays, and
 has notes on his setup in her personal pages at www.lemis.com.

That link is here: http://www.lemis.com/grog/hardware.html

However, I'm not sure x2x is relevant to the OP--It can be used to allow one
mouse and keyboard to be used on multiple X servers, but doesn't have
anything to do with console mode.

I don't know if the setup the OP wants is possible or not, but here are some
notes:

The FreeBSD console always runs on the primary display as determined by the
BIOS. Most systems give you a choice between using AGP or PCI as the primary
display. If you have multiple PCI cards it is usually the first one on the
bus (physically this is often the one closest to the CPU). Not sure how ISA
figures in. You will want to make your bad videocard and monitor the
primary display.

Once you have that, I'd just run an Xorg -configure to get started. If X
comes up at all using the config generated from that then it will be a good
starting point. Try commenting out the device and screen sections (and
possibly also a line under ServerLayout) for your bad display and see if X
comes up on the other two. By default it expects to be running on the console
so I'm not sure what will happen here. You also want it to grab the keyboard
and mouse unless you have a second keyboard. Some trial and error and further
research are probably required. Play with startx vs xdm, see what happens
when you press ctrl-alt-f1, etc. I'm assuming you'll want to use Xinerama to
join the two X displays and allow window-dragging between them, etc.

If you don't get acceptable results using your original plan, you can always
hack together your own console to run on the weakest display under X (using
the vesa driver if necessary). If possible (not sure it is), don't make it
part of your Xinerama display. Then don't run a window manager on it. Use
xsetroot as part of your X init script to control what's on the background.
This will apply to your entire display but the WM will probably take over
once it starts on the good screens. You could make one or more scripts to
run things on your bad screen by doing something like this:

#!/bin/sh
DISPLAY=:0.1#might also be :0.2 or :0.0
export DISPLAY
xterm -r -geometry 120x60 /usr/bin/top

Experiment with the geometry settings to see what fills your screen
appropriately. You might also want to get a nice bitmap font to give the
xterm more of a terminal feel. I have one I stole from bochs or somewhere
that's not bad (I use it for Nethack). E-mail me off-list if you want it.

That should just about do it. Do write back to the list to tell us what you
learn and what works the best.

JN


I like the not making it a part of the Xinerama display..that would be
interesting, because I'm sure a very basic X11 background with a xterm
would work on there.  If X starts on there, then yeah great but the
problem is I don't ever recall getting it to work properly.

What I had in mind however, is say having the weak monitor/card as the
'default' display that the BIOS picks up, and then leaving a console
on there BUT having X11 on the two other monitors.  Then I'd run top
on it or something, so Id have a command like...

$ startxfce4  top -s 1

And then on the 'default' BIOS chosen display, you would see top
running in console mode, and then pretty xfce with nice 1280x1024 ver
monitor resolution on the other two (using Xinerama).  I wouldn't need
to have keyboard/mouse control on the 'default' console then, I'd just
look at it to see which process is eating the machine, load averages,
etc.

Thanks for the ideas so far guys.

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


Short HOWTO on reading a core to determine why my server is rebooting?

2007-06-04 Thread Paul Hoffman
Hi again. I have a server running 6.0 that has been spontaneously 
rebooting every few weeks. Is there a short HOWTO that tells me how 
to read the files in /var/crash to at least find out what the kernel 
thinks the issue is? There is nothing in /var/log/messages of 
interest before the crash, nothing in 'dmesg -a' in coming up that 
says anything interesting, and there's plenty of room on the drives.


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


Re: new in the list

2007-06-04 Thread Jim Capozzoli

On 6/1/07, electro [EMAIL PROTECTED] wrote:

Hello everybody
Im new in the list..
Sorry but i will start asking for help
Im new to freebsd and i find a little bit hard to find information about
specific issues

My problem is that i can not get a Conceptronic c54ru version 2 working
in freebsd 6.2... after reading some mailing list it is not clear to me
if this card is supported

dev.ugen.0.%desc: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2
dev.ugen.0.%driver: ugen
dev.ugen.0.%location: port=0
dev.ugen.0.%pnpinfo: vendor=0x14b2 product=0x3c22 devclass=0x00
devsubclass=0x00 release=0x0001 sernum=
dev.ugen.0.%parent: uhub0

The other problem is with a Conceptronic c54c and wpa_supplicant

[EMAIL PROTECTED]:0:0:  class=0x02 card=0x3a941186 chip=0x0013168c rev=0x01
hdr=0x00
vendor   = 'Atheros Communications Inc.'
device   = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
class= network
subclass = ethernet

it associates with the ap but then fails with
WPA: drop TX EAPOL in non-IEEE 802.11x mode type=1 len=0
wpa_driver_bsd_set_drop_unencrypted: enabled=0

and in the logs

ath0: link state changed to UP
ath0: link state changed to DOWN
ath0: link state changed to UP
ath0: link state changed to DOWN
.

wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
 ssid=missid
 psk=mipsk
  scan_ssid=1
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=TKIP
}
i've tried with other options but this should work as it does with the
same machine, same card, same ap, but other OS.

Thanks for your help



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



Give us a dmesg output of your card `dmesg | grep ath`.  But from what
you've given it says your card is based off the AR5212 chip, which the
ath man page says should be supported.

What I'd do to try it is find an unencrypted wifi network, and then
try connecting to that.  do a `dhclient ath0` around an unencrypted
wifi network with dhcp on it, and if you can connect, I guess your
card is supported. :D

hope this helps

ps, a better subject line would have been 'ath Conceptronic c54ru
version 2 troubles' or something ;)

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


Re: exim PORT -- when to use? when to 'go manual'?

2007-06-04 Thread Jeffrey Goldberg

On Jun 4, 2007, at 10:01 AM, snowcrash+freebsd wrote:


i've just installed exim on a small freebsd-based router -- via
PORTS install -- as a sendmail replacement. no probs, either.

now, I want to upgrade exim on that router to add 'just'
DNSBL-filtering on the router, and have it function as a transparent
gateway to another lan-based, exim router.


Does that upgrade involve a different version of the exim tarball  
than the one used in ports, or is the change that you need somewhere  
else?



do folks recommend still using the PORT install?


It depends.


iiuc, general advice for PORTS is use the port, don't touch the  
port ... true?


if so, how/where do I configure exim if not mod'ing the port's  
MAKEFILE?


Make your own patch of the port and keep that some place that won't  
be over written by portsnap or whatever you use to keep your ports  
tree up to date.
Then have a script that patches your port tree after you do such an  
update.


Of course you should submit your patch to the port to the port  
maintainer.


Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Thin client question..

2007-06-04 Thread B. Cook

Hello all,

I was wondering if anyone had an OS-less thin client that does RDP and 
X11.  Sound is also a requirement.


Anyone ever seen something like this before?

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


total system freeze - where to look for more information

2007-06-04 Thread Zbigniew Szalbot

Dear all,

Today - for the first time ever - I have a total system freeze. It 
occured after 105 days of uninterrupted work. The freeze was 
unrecoverable because even though I attached a screen to the machine, I 
was not able to do anything with it. I had to hard-reboot it.


dmesg.today has just one line (and dmesg.yestarday is empty).

pid 25536 (portmanager), uid 0: exited on signal 6 (core dumped)

This file was modified at night so it does not contain any useful 
information.


Where can I look for more information? The only thing that comes to my 
mind is that today I installed denyhosts-2.6. It is possible that the 
freeze occured during dump operation which is done to a network drive 
mounted via mount_nfs option.


FreeBSD lists.lc-words.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan 
22 12:52:41 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS  i386


Many thanks in advance!

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


Remote Server FSCK

2007-06-04 Thread Matt Juszczak

Hi all,

I have a dedicated box with a hosting company.  The power supply failed in 
the box this morning, and the company replaced it and brought the box back 
up.


In my logs, I have:

Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 80 files 1
WARNING: /var was not properly dismounted
WARNING: /var/tmp was not properly dismounted

In my opinion, this calls for an fsck in single user mode.  Unfortunately, 
I don't have access to the box.


Is htis something I should have them do?  It seems /usr is affected, and 
the /var/log/messages shows a few other errors as well.


What's the best way to go about fixing this.  Should I ask them to `fsck 
-y` from console in single user mode since I can't be there to look at the 
prompts?


Thanks,

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


Re: total system freeze - where to look for more information

2007-06-04 Thread Zbigniew Szalbot

Hello,

One correction to the below information. The network drive is mount via 
mount_smbfs.


ZS

Zbigniew Szalbot pisze:


Dear all,

Today - for the first time ever - I have a total system freeze. It 
occured after 105 days of uninterrupted work. The freeze was 
unrecoverable because even though I attached a screen to the machine, I 
was not able to do anything with it. I had to hard-reboot it.


dmesg.today has just one line (and dmesg.yestarday is empty).

pid 25536 (portmanager), uid 0: exited on signal 6 (core dumped)

This file was modified at night so it does not contain any useful 
information.


Where can I look for more information? The only thing that comes to my 
mind is that today I installed denyhosts-2.6. It is possible that the 
freeze occured during dump operation which is done to a network drive 
mounted via mount_nfs option.


FreeBSD lists.lc-words.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan 
22 12:52:41 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS  i386


Many thanks in advance!

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



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


Re: Remote Server FSCK

2007-06-04 Thread Jerry McAllister
On Mon, Jun 04, 2007 at 12:16:16PM -0400, Matt Juszczak wrote:

 Hi all,
 
 I have a dedicated box with a hosting company.  The power supply failed in 
 the box this morning, and the company replaced it and brought the box back 
 up.
 
 In my logs, I have:
 
 Trying to mount root from ufs:/dev/ad0s1a
 WARNING: / was not properly dismounted
 WARNING: /home was not properly dismounted
 WARNING: /tmp was not properly dismounted
 WARNING: /usr was not properly dismounted
 /usr: mount pending error: blocks 80 files 1
 WARNING: /var was not properly dismounted
 WARNING: /var/tmp was not properly dismounted
 
 In my opinion, this calls for an fsck in single user mode.  Unfortunately, 
 I don't have access to the box.
 
 Is htis something I should have them do?  It seems /usr is affected, and 
 the /var/log/messages shows a few other errors as well.
 
 What's the best way to go about fixing this.  Should I ask them to `fsck 
 -y` from console in single user mode since I can't be there to look at the 
 prompts?

Well, did it run the fsck?
Those messages look pretty routine and should be handled
by the regular fsck done on a normal boot.  Usually the 
regular fsck will run and clean up most simple stuff.
Try rebooting the machine again and see if it still has the
same messages.   If so, then see if they will do the single-user
fsck for you.   But, I am guessing that it actually already 
cleaned up for you.  

jerry

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


Re: Strange Intel Mobo Behavior

2007-06-04 Thread Rob

Tim Daneliuk wrote:
The ad6 drive is supposed to do SATA-300, but realistically, other 
bottlenecks dictate it's not going to get anywhere near the '150 speed, 


Could you comment a bit more on why you think this is so.  I would
think that with modern processors and buses, a machine with light load
ought to be able to drive SATA-300, but I've never actuall tested for


I was off on my initial assumptions.  I thought the 150 was 150 Giga-bit/sec, 
or approx 15 Giga-byte, or 15000 MB/sec.  Which is well above the PCI and other bus 
speeds it needs to travel through to get to the processor.

But reading http://en.wikipedia.org/wiki/Serial_ATA it's 150 Mega-byte/sec.  I think 
older ATA chipsets are part of the PCI bus, which at 32 bits * 33MHz, which is about a 
132MB/sec bottleneck.  I don't know enough about PCI-X, PCI-E and newer chipsets to 
know speeds  bottlenecks, so I'll just shut up now ;)  But seems like  100MBs 
should be within reach.

 -RW

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


Re: startup / shutdown script (rc.d)

2007-06-04 Thread gmoniey

Hi,

so i tried the script you mentioned, and it doesnt seem as if it is being
called on startup. Here is my script (rails.sh):

#!/bin/sh
case $1 in
start)
kldload accf_http
mongrel_rails cluster::start -C
/usr/local/www/app/config/mongrel_cluster.yml
/usr/local/www/app/script/backgroundrb start
;;
stop)
mongrel_rails cluster::stop -C
/usr/local/www/app/config/mongrel_cluster.yml
/usr/local/www/app/script/backgroundrb stop
;;
*)
echo Usage: `basename $0` {start|stop} 2
exit 64
;;
esac


Also, I double checked that the permissions were correct (I made it the same
as the other scripts in the rc.d directory). Here is the directory listing:

-r-xr-xr-x  1 root  wheel   179 Jun  3 17:26 000.apache2libs.sh
-rwxr-x---  1 root  wheel   181 May  2 02:19 000.mysql-client.sh
-r-xr-xr-x  1 root  wheel  3524 Jun  3 12:07 apache2.sh
-r-xr-xr-x  1 root  wheel  1689 May  2 02:30 mysql-server.sh
-r-xr-xr-x  1 root  wheel   651 Jan 15 19:31 proftpd.sh
-r-xr-xr-x  1 root  wheel   445 Jun  3 17:26 rails.sh


While looking through the other files in the rc.d directory, I noticed that
000.apache2libs.sh has the similar structure as the file you suggested, so I
attempted to put my commands in there, but it seems as if they are not being
called either (i.e. after reboot, when i do a ps aux, i dont see the
commands i expect to be started)...

I also tried adding rails_enable = YES in the rc.conf file, and that
didn't work (although I didn't expect it to work, as I didn't assign a name
in my script).

any ideas?


Jerry McAllister-2 wrote:
 
 On Thu, May 31, 2007 at 09:05:17PM -0700, gmoniey wrote:
 
 
 Hi Noberto,
 
 I actually looked at the apache one, and it seemed so complicated, there
 were 2 files for it, one of which was relatively short and the other was
 significantly long.
 
 Now dont get me wrong, they aren't beyond comprehension, but i simply
 dont
 have the time right now to figure them out.
 
 I dont quite see how something as simple as apachectl start is expanded
 into so many lines.
 
 It is because those scripts take in to consideration so many
 possible different conditions.   In addition, lines like:
 
   # PROVIDE: apache22
   # REQUIRE: NETWORKING SERVERS
   # BEFORE: DAEMON
   # KEYWORD: shutdown
 
 Deal with ordering of execution and integrating with other things.
 They could be meaningful, but are probably not needed in a simple
 routine like you seem to want.
 
 The basic scheme is that the system calls the scripts in rc.d
 one at a time.   During startup it calls them with an argument
 of 'start'  and when it is shutting down, it calls them with
 an argument of 'stop'.   So, all you script has to do is look
 for a first argument (past the script name) and check for start
 or stop and possibly error if it is anything else.
 
 Presuming you have one routine to run at startup
 called  /usr/local/bin/mystartuproutine
 and one routine to run at shutdown
 called /usr/local/bin/myshutdownroutine
 and these two files have execute permission,
 then something as simple as this would work.
 
 Put this little script in /usr/local/etc/rc.d/  with
 a name something like mystuff.sh and give it execute permission.
 
 
 #!/bin/sh
 case $1 in
 start)
   /usr/local/bin/mystartuproutine
 ;;
 stop)
   /usr/local/bin/myshutdownroutine
 ;;
 *)
 echo Usage: `basename $0` {start|stop} 2
 exit 64
 ;;
 esac
 
 
 You might want to add some other checks and conditions such
 as checking if those files exist and some niceties such as 
 making variables of your routine names later.
 
 jerry
 
 
 maybe i will get some time in the near future to understand it...
 
 
 Norberto Meijome-2 wrote:
  
  On Thu, 31 May 2007 14:06:45 -0700 (PDT)
  gmoniey [EMAIL PROTECTED] wrote:
  
  I was wondering if there is a simple way to create 1 script that will
 be
  called during startup and shutdown. Basically, I am looking for
 something
  like this:
  
  the easiest way (for me) is to grab the rc script of anything that you
  know
  well (for example, apache) and modify it for your needs. anyway, at
 least
  you
  can learn from the one that is already made, without having to start
 from
  scratch.
  
  B 
  
  _
  {Beto|Norberto|Numard} Meijome
  
  People demand freedom of speech to make up for the freedom of thought
  which
  they avoid.  Soren Aabye Kierkegaard
  
  I speak for myself, not my employer. Contents may be hot. Slippery when
  wet.
  Reading disclaimers makes you go blind. Writing them is worse. You have
  been
  Warned.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
  
 
 -- 
 View this message in context:
 http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10906324
 Sent from the 

Re: Remote Server FSCK

2007-06-04 Thread Mikhail Goriachev

Matt Juszczak wrote:

Hi all,

I have a dedicated box with a hosting company.  The power supply failed in 
the box this morning, and the company replaced it and brought the box back 
up.


In my logs, I have:

Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 80 files 1
WARNING: /var was not properly dismounted
WARNING: /var/tmp was not properly dismounted

In my opinion, this calls for an fsck in single user mode.  Unfortunately, 
I don't have access to the box.


Is htis something I should have them do?  It seems /usr is affected, and 
the /var/log/messages shows a few other errors as well.


What's the best way to go about fixing this.  Should I ask them to `fsck 
-y` from console in single user mode since I can't be there to look at the 
prompts?



It all depends on the severity of the situation. Next boot may fix your 
problem or it may not. It is a good idea to do it in single user mode 
but if you don't have console/physical access to the box then maybe this 
could help you:


fsck_y_enable=YES

Just add that into the /etc/rc.conf, reboot and wait awhile.

After the machine is up and running, fsck it and see if it throws any 
errors.



Let us know how it goes.


Regards,
Mikhail.

--
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: startup / shutdown script (rc.d)

2007-06-04 Thread Jerry McAllister
On Mon, Jun 04, 2007 at 09:55:26AM -0700, gmoniey wrote:

 
 Hi,
 
 so i tried the script you mentioned, and it doesnt seem as if it is being
 called on startup. Here is my script (rails.sh):
 
 #!/bin/sh
 case $1 in
 start)
 kldload accf_http
 mongrel_rails cluster::start -C
 /usr/local/www/app/config/mongrel_cluster.yml
 /usr/local/www/app/script/backgroundrb start
 ;;
 stop)
 mongrel_rails cluster::stop -C
 /usr/local/www/app/config/mongrel_cluster.yml
 /usr/local/www/app/script/backgroundrb stop
 ;;
 *)
 echo Usage: `basename $0` {start|stop} 2
 exit 64
 ;;
 esac
 

try making it write to a file at the beginning and end of 
the start and stop sections.   
Something like:
  echo RAILS found start  /tmp/railstest
   ...  other stuff  ...
  echo RAILS finishing start  /tmp/railstest

or whatever makes sense to you.

Maybe your script is crashing for some other reason.

jerry

 
 Also, I double checked that the permissions were correct (I made it the same
 as the other scripts in the rc.d directory). Here is the directory listing:
 
 -r-xr-xr-x  1 root  wheel   179 Jun  3 17:26 000.apache2libs.sh
 -rwxr-x---  1 root  wheel   181 May  2 02:19 000.mysql-client.sh
 -r-xr-xr-x  1 root  wheel  3524 Jun  3 12:07 apache2.sh
 -r-xr-xr-x  1 root  wheel  1689 May  2 02:30 mysql-server.sh
 -r-xr-xr-x  1 root  wheel   651 Jan 15 19:31 proftpd.sh
 -r-xr-xr-x  1 root  wheel   445 Jun  3 17:26 rails.sh
 
 
 While looking through the other files in the rc.d directory, I noticed that
 000.apache2libs.sh has the similar structure as the file you suggested, so I
 attempted to put my commands in there, but it seems as if they are not being
 called either (i.e. after reboot, when i do a ps aux, i dont see the
 commands i expect to be started)...
 
 I also tried adding rails_enable = YES in the rc.conf file, and that
 didn't work (although I didn't expect it to work, as I didn't assign a name
 in my script).
 
 any ideas?
 
 
 Jerry McAllister-2 wrote:
  
  On Thu, May 31, 2007 at 09:05:17PM -0700, gmoniey wrote:
  
  
  Hi Noberto,
  
  I actually looked at the apache one, and it seemed so complicated, there
  were 2 files for it, one of which was relatively short and the other was
  significantly long.
  
  Now dont get me wrong, they aren't beyond comprehension, but i simply
  dont
  have the time right now to figure them out.
  
  I dont quite see how something as simple as apachectl start is expanded
  into so many lines.
  
  It is because those scripts take in to consideration so many
  possible different conditions.   In addition, lines like:
  
# PROVIDE: apache22
# REQUIRE: NETWORKING SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown
  
  Deal with ordering of execution and integrating with other things.
  They could be meaningful, but are probably not needed in a simple
  routine like you seem to want.
  
  The basic scheme is that the system calls the scripts in rc.d
  one at a time.   During startup it calls them with an argument
  of 'start'  and when it is shutting down, it calls them with
  an argument of 'stop'.   So, all you script has to do is look
  for a first argument (past the script name) and check for start
  or stop and possibly error if it is anything else.
  
  Presuming you have one routine to run at startup
  called  /usr/local/bin/mystartuproutine
  and one routine to run at shutdown
  called /usr/local/bin/myshutdownroutine
  and these two files have execute permission,
  then something as simple as this would work.
  
  Put this little script in /usr/local/etc/rc.d/  with
  a name something like mystuff.sh and give it execute permission.
  
  
  #!/bin/sh
  case $1 in
  start)
  /usr/local/bin/mystartuproutine
  ;;
  stop)
  /usr/local/bin/myshutdownroutine
  ;;
  *)
  echo Usage: `basename $0` {start|stop} 2
  exit 64
  ;;
  esac
  
  
  You might want to add some other checks and conditions such
  as checking if those files exist and some niceties such as 
  making variables of your routine names later.
  
  jerry
  
  
  maybe i will get some time in the near future to understand it...
  
  
  Norberto Meijome-2 wrote:
   
   On Thu, 31 May 2007 14:06:45 -0700 (PDT)
   gmoniey [EMAIL PROTECTED] wrote:
   
   I was wondering if there is a simple way to create 1 script that will
  be
   called during startup and shutdown. Basically, I am looking for
  something
   like this:
   
   the easiest way (for me) is to grab the rc script of anything that you
   know
   well (for example, apache) and modify it for your needs. anyway, at
  least
   you
   can learn from the one that is already made, without having to start
  from
   scratch.
   
   B 
   
   _
   {Beto|Norberto|Numard} Meijome
   
   People demand freedom of speech to make up for the freedom of thought
   which
   they avoid.  Soren Aabye Kierkegaard
   
   I 

Re: random xorg crashes after xorg upgrade to 7.2

2007-06-04 Thread Nikola Lecic
Hello,

On Sun, 3 Jun 2007 03:47:50 -0700 (PDT)
Dino Vliet [EMAIL PROTECTED] wrote:

 [...]
 I really don't know where to look.
 My (unchanged) xorg conf looks like:
 
 Section ServerLayout
 Identifier X.org Configured
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 EndSection
 [...]
 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Depth 1
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 4
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 8
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 15
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 16
 EndSubSection
 SubSection Display
 Viewport   0 0
 Depth 24
 Modes 1280x1024 1024x768
 EndSubSection
 EndSection
 [...]

This seems to be a (semi-)automatically generated xorg.conf, i.e. there
isn't very much customisation you would like to save.

So, please run Xorg without xorg.conf and see what will happen; then
send here a new Xorg log.

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


Re: total system freeze - where to look for more information

2007-06-04 Thread Zbigniew Szalbot

Hello,

Zbigniew Szalbot pisze:


Dear all,

Today - for the first time ever - I have a total system freeze. It 
occured after 105 days of uninterrupted work. The freeze was 
unrecoverable because even though I attached a screen to the machine, I 
was not able to do anything with it. I had to hard-reboot it.


dmesg.today has just one line (and dmesg.yestarday is empty).

pid 25536 (portmanager), uid 0: exited on signal 6 (core dumped)

This file was modified at night so it does not contain any useful 
information.


Where can I look for more information? The only thing that comes to my 
mind is that today I installed denyhosts-2.6. It is possible that the 
freeze occured during dump operation which is done to a network drive 
mounted via mount_nfs option.



Could the dump operation (a very likely reason for the crash) freeze the 
system. I am thinking of the following scenario. The dump operation to a 
network share is underway. For some reason, the LAN network connection 
is unavailable for a short time. Dump freezes and never recovers as it 
cannot continue its operation. I went back to the box two hours after 
the dump operation had started but the box (FBSD machine) did not 
respond to physically connected keyboard and screen. The dump file on 
the network is shown to have 0 KB. Thanks for any info!




FreeBSD lists.lc-words.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan 
22 12:52:41 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS  i386


Many thanks in advance!

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



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


Re: Panic With Large Network Copy

2007-06-04 Thread Scott Willson


On May 29, 2007, at 4:26 PM, Kris Kennaway wrote:


On Tue, May 29, 2007 at 03:36:49PM -0700, Scott Willson wrote:

I am seeing hard (often no core dump) crashes on a new AMD64 box
running 6.2 RELEASE. When I try to rsync 10+ GB of backup files to
the new box, I can reliably crash it after about 20 minutes; often
quicker if I do something else intensive at the same time, like
compile MySQL. Here are the box specs:
ASUS M2NPV-VM motherboard
AMD A64 3800+ 2.4G CPU
...



Most times, I don't even get a core dump. Here's one I did get:
panic: double fault
...



#9  0x804371f0 in m_freem (mb=0x0) at uma.h:303
#10 0x80634125 in nve_ospackettx (ctx=0xff00798aac00,
id=0xb19ea6d0, success=0) at /usr/src/sys/dev/nve/if_nve.c: 
1551


This looks like a nve driver bug to me.  You may wish to try the  
nfe driver.


Kris


OK, my box is running nicely now. The nfe driver was indeed a good  
idea, thanks! Here are the details if anyone else has similar problems.


10baseT hub + nve = kernal panics under high load
This is the default FreeBSD 6.2 RELEASE configuration.

10baseT hub + nfe + e100phy patch = errors under high load (tx v2  
error 0x6204UNDERFLOW, watchdog timeout)

http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
This is a replacement driver + recommended path for my hardware. No  
panics, but many errors.


10baseT hub + nfe with no patches = errors under high load (tx v2  
error 0x6204UNDERFLOW, watchdog timeout)


10/100/1000baseT switch + nfe + e100phy patch = errors under high  
load (tx v2 error 0x6204UNDERFLOW, watchdog timeout)


10/100/1000baseT switch + nfe = No errors!
This is a new switch and the nfe driver with no patch. In dmesg, I  
see 'ukphy0' when I boot.


So, as you may have surmised, my motherboard + an old 10baseT hub  
doesn't work right with any driver. I replaced my very old hub with a  
new switch, and I am now running the nfe driver with ukphy0. This  
combination works great.


Scott


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


New != Faster

2007-06-04 Thread Tim Daneliuk

In the course of trying to work through some problems with a new MOBO,
I did some speed test which I found sort of surprising:

Old System
--

Dual PIII 600Mhz w/768K Mem and Mylex RAID 5 with old 9G SCSI drived
FBSD 4.11-Stable
Writing a 1G file to /dev/null with dd reports about 26MB/sec

New System
--

Pentium D 3.2GHz w/2G Mem and SATA Drive reported running at SATA-150
FBSD 6.2-STABLE
Writing a 2G file to /dev/null with dd reports about 50MB/sec


So ... the new system should be much faster all the way around, right?
H, not necessarily so.  'buildworld' is only about 17% faster on the
new machine v. the old.  I would think that with way faster processors
and twice the disk bandwidth I would have seen far reduced buildworld
times.  So, I decided to check a known fast machine.  The results:

 Procs Mem dd ReadOSbuildworld


Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP50-60 min
New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP 40-50 min
Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP8 min


So, now I'm confused.  These are all lightly loaded systems but the
buildworld time does not scale even approximately by either CPU or
I/O performance.  What the heck is going on, I wonder?  It is possible,
I suppose that the New machine does not have SMP running properly on it,
though 'top' shows two CPUs working away.  Is the difference in speed
attributable to 4.11 being faster than 6.2?  Unfortunately, I cannot
get 4.11 to boot on the New machine - it does not like the hardware
for some reason claiming:

RTC BIOS diagnostic error 80clock battery

Even after I change the RTC battery on the mobo.

Strange ... any input appreciated.


--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Force Memory Dump

2007-06-04 Thread Sean Murphy

How do you force a memory dump from a specific PID?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: total system freeze - where to look for more information

2007-06-04 Thread Jerry McAllister
On Mon, Jun 04, 2007 at 07:35:11PM +0200, Zbigniew Szalbot wrote:

 Hello,
 
 Zbigniew Szalbot pisze:
 
 Dear all,
 
 Today - for the first time ever - I have a total system freeze. It 
 occured after 105 days of uninterrupted work. The freeze was 
 unrecoverable because even though I attached a screen to the machine, I 
 was not able to do anything with it. I had to hard-reboot it.
 
 dmesg.today has just one line (and dmesg.yestarday is empty).
 
 pid 25536 (portmanager), uid 0: exited on signal 6 (core dumped)
 
 This file was modified at night so it does not contain any useful 
 information.
 
 Where can I look for more information? The only thing that comes to my 
 mind is that today I installed denyhosts-2.6. It is possible that the 
 freeze occured during dump operation which is done to a network drive 
 mounted via mount_nfs option.
 
 
 Could the dump operation (a very likely reason for the crash) freeze the 
 system. I am thinking of the following scenario. The dump operation to a 
 network share is underway. For some reason, the LAN network connection 
 is unavailable for a short time. Dump freezes and never recovers as it 
 cannot continue its operation. I went back to the box two hours after 
 the dump operation had started but the box (FBSD machine) did not 
 respond to physically connected keyboard and screen. The dump file on 
 the network is shown to have 0 KB. Thanks for any info!

If it thinks it ran out of media space (maybe doe to some network error,
I don't know), it could be waiting for a response at the console or 
whatever terminal it was running from.  It will hang there until it 
gets some input it knows how to handle.

jerry

 
 
 FreeBSD lists.lc-words.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan 
 22 12:52:41 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS  
 i386
 
 Many thanks in advance!
 
 Zbyszek
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: total system freeze - where to look for more information

2007-06-04 Thread Zbigniew Szalbot

Hello,

Jerry McAllister pisze:


On Mon, Jun 04, 2007 at 07:35:11PM +0200, Zbigniew Szalbot wrote:


Hello,

Zbigniew Szalbot pisze:

Dear all,

Today - for the first time ever - I have a total system freeze. It 
occured after 105 days of uninterrupted work. The freeze was 
unrecoverable because even though I attached a screen to the machine, I 
was not able to do anything with it. I had to hard-reboot it.


dmesg.today has just one line (and dmesg.yestarday is empty).

pid 25536 (portmanager), uid 0: exited on signal 6 (core dumped)

This file was modified at night so it does not contain any useful 
information.


Where can I look for more information? The only thing that comes to my 
mind is that today I installed denyhosts-2.6. It is possible that the 
freeze occured during dump operation which is done to a network drive 
mounted via mount_nfs option.



Could the dump operation (a very likely reason for the crash) freeze the 
system. I am thinking of the following scenario. The dump operation to a 
network share is underway. For some reason, the LAN network connection 
is unavailable for a short time. Dump freezes and never recovers as it 
cannot continue its operation. I went back to the box two hours after 
the dump operation had started but the box (FBSD machine) did not 
respond to physically connected keyboard and screen. The dump file on 
the network is shown to have 0 KB. Thanks for any info!


If it thinks it ran out of media space (maybe doe to some network error,
I don't know), it could be waiting for a response at the console or 
whatever terminal it was running from.  It will hang there until it 
gets some input it knows how to handle.




In that case I will probably be much better of using another HD 
physically connected to the box rather than shared network drive, 
wouldn't I? Lack of free space could not have been the reason - the 
network share can handle about 750GB of data so it must have been 
temporary network error.



Thanks Jerry!

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


Re: New (blade) server - stick with FreeBSD 6.x or wait for FreeBSD 7?

2007-06-04 Thread John Nielsen
On Monday 04 June 2007 05:30:37 am Per olof Ljungmark wrote:
 Kris Kennaway wrote:
  On Mon, Jun 04, 2007 at 09:46:00AM +0200, Ewald Jenisch wrote:
  Hi,
 
  I'm about to set up a new server that should run basically
  network-monitoring (MRTG, Cacti etc.). Hardware will be HP C-class
  blade based on AMD Opterons.
 
  Should I stick with FreeBS 6.x or wait for FreeBSD 7 (see
  http://www.freebsd.org/releng/index.html - June 2007 Start FreeBSD
  7.0 Release Process).
 
  Note start.  The release is still many months away, so presumably
  you do not wish to wait until then to install your server :) You
  should definitely keep an eye on it though, there is a lot of good
  stuff coming up in 7.0.
 
  The question basically is: Will FreeBSD7 be current or stable?

 We are running several non-critical (including this T42 laptop) and one
 critical (SMTP) machine with -CURRENT and so far it's been a matter of
 getting the source from a good moment in time, mostly the snapshots. So
 far very few problems. You need a testbed to try stuff out on though.

Note that the bge adapters in the HP c-class blades require SerDes support, 
which IIRC was not present in 6.2-RELEASE but has (hopefully? maybe?) been 
MFC'ed since then.

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


Re: total system freeze - where to look for more information

2007-06-04 Thread Kris Kennaway
On Mon, Jun 04, 2007 at 06:09:18PM +0200, Zbigniew Szalbot wrote:
 Dear all,
 
 Today - for the first time ever - I have a total system freeze. It 
 occured after 105 days of uninterrupted work. The freeze was 
 unrecoverable because even though I attached a screen to the machine, I 
 was not able to do anything with it. I had to hard-reboot it.
 
 dmesg.today has just one line (and dmesg.yestarday is empty).
 
 pid 25536 (portmanager), uid 0: exited on signal 6 (core dumped)
 
 This file was modified at night so it does not contain any useful 
 information.
 
 Where can I look for more information? The only thing that comes to my 
 mind is that today I installed denyhosts-2.6.

 It is possible that the 
 freeze occured during dump operation which is done to a network drive 
 mounted via mount_nfs option.
 
 FreeBSD lists.lc-words.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Jan 
 22 12:52:41 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LISTS  i386
 
 Many thanks in advance!

See the developers handbook chapter on kernel debugging
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New != Faster

2007-06-04 Thread Kris Kennaway
On Mon, Jun 04, 2007 at 12:54:18PM -0500, Tim Daneliuk wrote:
 In the course of trying to work through some problems with a new MOBO,
 I did some speed test which I found sort of surprising:
 
 Old System
 --
 
 Dual PIII 600Mhz w/768K Mem and Mylex RAID 5 with old 9G SCSI drived
 FBSD 4.11-Stable
 Writing a 1G file to /dev/null with dd reports about 26MB/sec
 
 New System
 --
 
 Pentium D 3.2GHz w/2G Mem and SATA Drive reported running at SATA-150
 FBSD 6.2-STABLE
 Writing a 2G file to /dev/null with dd reports about 50MB/sec
 
 
 So ... the new system should be much faster all the way around, right?
 H, not necessarily so.  'buildworld' is only about 17% faster on the
 new machine v. the old.  I would think that with way faster processors
 and twice the disk bandwidth I would have seen far reduced buildworld
 times.  So, I decided to check a known fast machine.  The results:
 
  Procs Mem dd ReadOS
  buildworld
 
 
 Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP50-60 
 min
 New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP 40-50 
 min
 Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP8 
 min
 
 
 So, now I'm confused.  These are all lightly loaded systems but the
 buildworld time does not scale even approximately by either CPU or
 I/O performance.  What the heck is going on, I wonder?  It is possible,
 I suppose that the New machine does not have SMP running properly on it,
 though 'top' shows two CPUs working away.  Is the difference in speed
 attributable to 4.11 being faster than 6.2?  Unfortunately, I cannot
 get 4.11 to boot on the New machine - it does not like the hardware
 for some reason claiming:
 
 RTC BIOS diagnostic error 80clock battery
 
 Even after I change the RTC battery on the mobo.
 
 Strange ... any input appreciated.

This comparison is 100% bogus.

4.11 and 6.2 are vastly different (the latter builds all sorts of
different code, and uses a *different compiler* that is slower in
compiling the code).  When trying to compare something, you have to
compare the *same* thing, or it's meaningless.

Kris

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


Re: total system freeze - where to look for more information

2007-06-04 Thread Jerry McAllister
On Mon, Jun 04, 2007 at 08:04:44PM +0200, Zbigniew Szalbot wrote:

 Hello,
 
 Jerry McAllister pisze:
 
 On Mon, Jun 04, 2007 at 07:35:11PM +0200, Zbigniew Szalbot wrote:
 
 Hello,
 
 Zbigniew Szalbot pisze:
 
 Dear all,
 
 Today - for the first time ever - I have a total system freeze. It 
 occured after 105 days of uninterrupted work. The freeze was 
 unrecoverable because even though I attached a screen to the machine, I 
 was not able to do anything with it. I had to hard-reboot it.
 
 dmesg.today has just one line (and dmesg.yestarday is empty).
 
 pid 25536 (portmanager), uid 0: exited on signal 6 (core dumped)
 
 This file was modified at night so it does not contain any useful 
 information.
 
 Where can I look for more information? The only thing that comes to my 
 mind is that today I installed denyhosts-2.6. It is possible that the 
 freeze occured during dump operation which is done to a network drive 
 mounted via mount_nfs option.
 
 
 Could the dump operation (a very likely reason for the crash) freeze the 
 system. I am thinking of the following scenario. The dump operation to a 
 network share is underway. For some reason, the LAN network connection 
 is unavailable for a short time. Dump freezes and never recovers as it 
 cannot continue its operation. I went back to the box two hours after 
 the dump operation had started but the box (FBSD machine) did not 
 respond to physically connected keyboard and screen. The dump file on 
 the network is shown to have 0 KB. Thanks for any info!
 
 If it thinks it ran out of media space (maybe doe to some network error,
 I don't know), it could be waiting for a response at the console or 
 whatever terminal it was running from.  It will hang there until it 
 gets some input it knows how to handle.
 
 
 In that case I will probably be much better of using another HD 
 physically connected to the box rather than shared network drive, 
 wouldn't I? Lack of free space could not have been the reason - the 
 network share can handle about 750GB of data so it must have been 
 temporary network error.

No guarantee that is what is happening, but it seems like
it could be a possibility - at least one to eliminate.

jerry

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


Re: New != Faster

2007-06-04 Thread Colin Percival
Tim Daneliuk wrote:
 Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP   
 50-60 min
 New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP
 40-50 min
 Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP   
 8 min
 
 Is the difference in speed
 attributable to 4.11 being faster than 6.2?

Close.  The difference in speed is due to the compiler in 4.11 being
faster than the compiler in 6.2.  FreeBSD uses the gcc compiler, and
between FreeBSD 4.11 and FreeBSD 6.2 that has been upgraded from 2.9
to 3.4.  The general trend each time gcc is upgraded is that it takes
2x longer to compile code, but produces code which is 5% faster (as a
result of working harder to find optimizations).

FreeBSD 6.2 is faster than FreeBSD 4.11 for almost everything except
compiling itself. :-)

Colin Percival

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


Re: Fwd: X11 console setup

2007-06-04 Thread John Nielsen
On Monday 04 June 2007 11:30:03 am Jim Capozzoli wrote:
 On 6/4/07, John Nielsen [EMAIL PROTECTED] wrote:
  On Saturday 02 June 2007 04:00:57 pm Kevin Kinsey wrote:
   Jim Capozzoli wrote:
Hello list,
   
I have 3 monitors and 3 video cards.  However, one videocard and
monitor isn't very X11 friendly. (X11 barely starts on it).  I was
wondering if it would be possible to have X11 running on two of the
monitors, and then have a full screen console (like a ttyv0) on the
third monitor (so I could constantly leave top or something sweet
running on there :D).  This is all with FreeBSD 6.2/i386 and Xorg 6.9
or 7.2.  Any suggestions?  Thanks.
  
   It should do do-able, perhaps somewhat easily.
   /usr/ports/x11-servers/x2x is what comes to mind --- IIRC, Greg
   groggy Lehey of The Complete FreeBSD fame uses this for several
   displays, and has notes on his setup in her personal pages at
   www.lemis.com.
 
  That link is here: http://www.lemis.com/grog/hardware.html
 
  However, I'm not sure x2x is relevant to the OP--It can be used to allow
  one mouse and keyboard to be used on multiple X servers, but doesn't have
  anything to do with console mode.
 
  I don't know if the setup the OP wants is possible or not, but here are
  some notes:
 
  The FreeBSD console always runs on the primary display as determined by
  the BIOS. Most systems give you a choice between using AGP or PCI as the
  primary display. If you have multiple PCI cards it is usually the first
  one on the bus (physically this is often the one closest to the CPU). Not
  sure how ISA figures in. You will want to make your bad videocard and
  monitor the primary display.
 
  Once you have that, I'd just run an Xorg -configure to get started. If
  X comes up at all using the config generated from that then it will be a
  good starting point. Try commenting out the device and screen sections
  (and possibly also a line under ServerLayout) for your bad display and
  see if X comes up on the other two. By default it expects to be running
  on the console so I'm not sure what will happen here. You also want it to
  grab the keyboard and mouse unless you have a second keyboard. Some trial
  and error and further research are probably required. Play with startx vs
  xdm, see what happens when you press ctrl-alt-f1, etc. I'm assuming
  you'll want to use Xinerama to join the two X displays and allow
  window-dragging between them, etc.
 
  If you don't get acceptable results using your original plan, you can
  always hack together your own console to run on the weakest display
  under X (using the vesa driver if necessary). If possible (not sure it
  is), don't make it part of your Xinerama display. Then don't run a window
  manager on it. Use xsetroot as part of your X init script to control
  what's on the background. This will apply to your entire display but the
  WM will probably take over once it starts on the good screens. You
  could make one or more scripts to run things on your bad screen by
  doing something like this:
 
  #!/bin/sh
  DISPLAY=:0.1#might also be :0.2 or :0.0
  export DISPLAY
  xterm -r -geometry 120x60 /usr/bin/top
 
  Experiment with the geometry settings to see what fills your screen
  appropriately. You might also want to get a nice bitmap font to give the
  xterm more of a terminal feel. I have one I stole from bochs or
  somewhere that's not bad (I use it for Nethack). E-mail me off-list if
  you want it.
 
  That should just about do it. Do write back to the list to tell us what
  you learn and what works the best.
 
  JN

 I like the not making it a part of the Xinerama display..that would be
 interesting, because I'm sure a very basic X11 background with a xterm
 would work on there.  If X starts on there, then yeah great but the
 problem is I don't ever recall getting it to work properly.

If the card functions at all then I'm sure you could get the vesa driver 
running at 800x600x8 at least..

 What I had in mind however, is say having the weak monitor/card as the
 'default' display that the BIOS picks up, and then leaving a console
 on there BUT having X11 on the two other monitors.  Then I'd run top
 on it or something, so Id have a command like...

 $ startxfce4  top -s 1

 And then on the 'default' BIOS chosen display, you would see top
 running in console mode, and then pretty xfce with nice 1280x1024 ver
 monitor resolution on the other two (using Xinerama).  I wouldn't need
 to have keyboard/mouse control on the 'default' console then, I'd just
 look at it to see which process is eating the machine, load averages,
 etc.

My suggestion for running the weak display under X was conditional on not 
getting results you liked with your original idea. Re-read the first part of 
my first reply.

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

Xorg 7.2 and portmanager

2007-06-04 Thread Jose Luis Alarcon Sanchez
Hi Folks.

I'm just reading /urs/ports/UPDATING, but i always use
portmanager for keep my system up to date.

My question is, can i use portmsanager for change to the
new version of Xorg?.

Thanks very much, in advance.

Regards.

Jose.


-- 
http://www.lordofunix.org/
 
Not Registered GNU/Hurd User.
Registered BSD User 51101.
Registered Linux User #213309.
Memories. You are talking about memories.
Rick Deckard. Blade Runner.

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


Re: Remote Server FSCK

2007-06-04 Thread Matt Juszczak

Well, did it run the fsck?
Those messages look pretty routine and should be handled
by the regular fsck done on a normal boot.  Usually the
regular fsck will run and clean up most simple stuff.
Try rebooting the machine again and see if it still has the
same messages.   If so, then see if they will do the single-user
fsck for you.   But, I am guessing that it actually already
cleaned up for you.


Rebooted and no more errors so I guess it did fix them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New != Faster

2007-06-04 Thread Tim Daneliuk

Kris Kennaway wrote:
SNIP


This comparison is 100% bogus.

4.11 and 6.2 are vastly different (the latter builds all sorts of
different code, and uses a *different compiler* that is slower in
compiling the code).  When trying to compare something, you have to
compare the *same* thing, or it's meaningless.



I figured it had to be something like that.  For the record, I wasn't
complaining, merely curious...

--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: Force Memory Dump

2007-06-04 Thread Dan Nelson
In the last episode (Jun 04), Sean Murphy said:
  How do you force a memory dump from a specific PID?

/usr/bin/gcore

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


Re: New != Faster

2007-06-04 Thread Tim Daneliuk

Colin Percival wrote:

Tim Daneliuk wrote:
Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP   
50-60 min
New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP
40-50 min
Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP   
8 min


Is the difference in speed
attributable to 4.11 being faster than 6.2?


Close.  The difference in speed is due to the compiler in 4.11 being
faster than the compiler in 6.2.  FreeBSD uses the gcc compiler, and
between FreeBSD 4.11 and FreeBSD 6.2 that has been upgraded from 2.9
to 3.4.  The general trend each time gcc is upgraded is that it takes
2x longer to compile code, but produces code which is 5% faster (as a
result of working harder to find optimizations).

FreeBSD 6.2 is faster than FreeBSD 4.11 for almost everything except
compiling itself. :-)

Colin Percival



So ... if I ran compute bound tests like SPECmark or some kind
of I/O intensive tests, I should expect better runtime performance from
6.2 than 4.11...  I can live with that :)




--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: Remote Server FSCK

2007-06-04 Thread Matt Juszczak

fsck_y_enable=YES

Just add that into the /etc/rc.conf, reboot and wait awhile.

After the machine is up and running, fsck it and see if it throws any errors.


Let us know how it goes.



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


Re: Xorg 7.2 and portmanager

2007-06-04 Thread Gerard
On Monday June 04, 2007 at 02:02:18 (PM) Jose Luis Alarcon Sanchez wrote:


 I'm just reading /urs/ports/UPDATING, but i always use
 portmanager for keep my system up to date.
 
 My question is, can i use portmsanager for change to the
 new version of Xorg?.
 
 Thanks very much, in advance.

I used the prescribed method in the 'UPDATING' file when I first
attempted to update to Xorg-7.2 on my system. 

There is this notation in the 'UPDATING' file:

  If your machine does NOT have any gstreamer ports installed, you can then
  run:

  # portupgrade -a

  However, if you DO have gstreamer ports installed, you must run:

  # portupgrade -a -x 'gstreamer*'

  Followed by:

  # portupgrade -Rr 'gstreamer*'

Well, I do have it installed, so I followed the directions exactly.
When it completed, the log file that was created showed that
'gstreamer' totally failed to update. I ran the script indicated in
the 'UPDATING' file as well as deleting the 'man' pages as specified.

I then simply reboot to insure that everything would start correctly.
I then used portsnap to update the ports tree and finally used
portmanager as thus:

   portmanager -u -p -l

That updated over 400 ports (took awhile) but after that everything
works fine. I guess I would recommend using the 'portupgrade' method
as shown in the 'UPDATING' file; however, after going that route, you
might want to run portmanager to insure that all of the ports were
actually updated correctly.

Just my 2¢.

-- 
Gerard

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


Re: Force Memory Dump

2007-06-04 Thread Sean Murphy

   I get this error when trying gcore what am I doing wrong?
   # gcore 581
   gcore: /proc/581/file: No such file or directory
   # cd /proc
   # ls -la
   total 4
   dr-xr-xr-x   2 root  wheel  512 May  8  2005 .
   drwxr-xr-x  20 root  wheel  512 Apr  3 17:03 ..
   Dan Nelson wrote:

In the last episode (Jun 04), Sean Murphy said:
  

 How do you force a memory dump from a specific PID?


/usr/bin/gcore

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


Disable CTRL+ALT+DELETE

2007-06-04 Thread Kenneth Bond

Hello,

I have a quick question regarding disabling the CTRL+ALT+DELETE
keystroke sequence used to reboot a system.

I understand that you are able to add the following option to the
kernel config file and rebuild the kernel:

options SC_DISABLE_REBOOT

What I'd like to confirm is whether or not using a keymap file and
changing the boot entries to nop, and then loading it on each boot
through /etc/rc.conf (KEYMAP = /usr/share/syscons/keymap/keymap.kbd)
is a viable, secure alternative for disabling the CTRL+ALT+DELETE
keystroke sequence.

I know it was commonly used with older FreeBSD releases, but I'm not
sure whether it is recommended with newer releases.

Please advise.

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


Re: New != Faster

2007-06-04 Thread Chris

On 04/06/07, Colin Percival [EMAIL PROTECTED] wrote:

Tim Daneliuk wrote:
 Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP
 50-60 min
 New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP
 40-50 min
 Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP
 8 min

 Is the difference in speed
 attributable to 4.11 being faster than 6.2?

Close.  The difference in speed is due to the compiler in 4.11 being
faster than the compiler in 6.2.  FreeBSD uses the gcc compiler, and
between FreeBSD 4.11 and FreeBSD 6.2 that has been upgraded from 2.9
to 3.4.  The general trend each time gcc is upgraded is that it takes
2x longer to compile code, but produces code which is 5% faster (as a
result of working harder to find optimizations).

FreeBSD 6.2 is faster than FreeBSD 4.11 for almost everything except
compiling itself. :-)

Colin Percival

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



What about all the following observations?

slower network performance in 6.x especially worse under DDOS conditions.
slower disk performance especially under QUOTA.

both of these have been confirmed numerous times by different people
so sweeping them under the carpet and saying they simply not true
would be wrong.  My observation of 6.x is that whilst it can exceed
4.11 performance this is only because of more more powerful hardware
and in particular on SMP systems where 4.11 isnt optimised but for UP
and most older hardware the worst performance of post 4.11 is
highlighted greatly.

In thoery shouldnt eg. a 6.2 system using a 3ghz core 2 duo be
multiple times faster then a pentium 3 500 running freebsd 4.11 due to
the more powerful hardware?

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


Is it better to just rebuild Xorg 7.2

2007-06-04 Thread Robin Becker
I've just installed 6.2R and have just about got Xorg going. Is it 
better for me to just remove all my X related packages and try and build 
from the xorg-7.2 meta package or to go through the pain of trying to 
update?


In either case I need to sync the ports tree etc.
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New != Faster

2007-06-04 Thread Tim Daneliuk

Chris wrote:

On 04/06/07, Colin Percival [EMAIL PROTECTED] wrote:

Tim Daneliuk wrote:
 Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP
 50-60 min
 New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP
 40-50 min
 Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP
 8 min

 Is the difference in speed
 attributable to 4.11 being faster than 6.2?

Close.  The difference in speed is due to the compiler in 4.11 being
faster than the compiler in 6.2.  FreeBSD uses the gcc compiler, and
between FreeBSD 4.11 and FreeBSD 6.2 that has been upgraded from 2.9
to 3.4.  The general trend each time gcc is upgraded is that it takes
2x longer to compile code, but produces code which is 5% faster (as a
result of working harder to find optimizations).

FreeBSD 6.2 is faster than FreeBSD 4.11 for almost everything except
compiling itself. :-)

Colin Percival

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




What about all the following observations?

slower network performance in 6.x especially worse under DDOS conditions.
slower disk performance especially under QUOTA.

both of these have been confirmed numerous times by different people
so sweeping them under the carpet and saying they simply not true
would be wrong.  My observation of 6.x is that whilst it can exceed
4.11 performance this is only because of more more powerful hardware
and in particular on SMP systems where 4.11 isnt optimised but for UP
and most older hardware the worst performance of post 4.11 is
highlighted greatly.

In thoery shouldnt eg. a 6.2 system using a 3ghz core 2 duo be
multiple times faster then a pentium 3 500 running freebsd 4.11 due to
the more powerful hardware?

Chris


It will be of academic interest to me to see how people respond to this.
Unfortunately - as documented in my original post - the 4.11 CD will
not even boot on this new motherboard for some reason.  Given that, and
that 4.x is no longer actively developed, I am forced to move to 6.x for
my next server ...



--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Wake-on-LAN

2007-06-04 Thread Steve

I need some help getting WOL working.

I have two boxes with Freebsd 6.2 and WOL doesn't work on either one.
Both have capable Intel NICs (pro/100 and pro/1000) and capable PC
BIOS (with WOL and PME enabled).  When the boxes are shutdown I don't
have any link lights, which I believe is an indication of a problem.
I'm wondering if this is an ACPI issue where the PCI bus has no power
after shutdown, or perhaps an em driver issue?  Any ideas on this?
Thanks.

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


Re: Force Memory Dump

2007-06-04 Thread Dan Nelson
In the last episode (Jun 04), Sean Murphy said:
I get this error when trying gcore what am I doing wrong?
# gcore 581
gcore: /proc/581/file: No such file or directory
# cd /proc
# ls -la
total 4
dr-xr-xr-x   2 root  wheel  512 May  8  2005 .
drwxr-xr-x  20 root  wheel  512 Apr  3 17:03 ..
Dan Nelson wrote:
 
 In the last episode (Jun 04), Sean Murphy said:
 
  How do you force a memory dump from a specific PID?
 
 /usr/bin/gcore

gcore is one of the few programs left that still requires procfs. 
You'll need to mount it: mount -t procfs /proc /proc

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


Registering installation for...

2007-06-04 Thread Vlad GURDIGA

Hello,

Registering installation for mplayer-0.99.10_9 took about 8 minutes
(at 97% CPU-core load) of CPU time on one of the two cores on my
Pentium D 820 on a system with 1 GiB of RAM and Barracuda SATA drive.
It looks a little too long to me...

Is it OK that pkg_create takes so long so much of CPU?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Force Memory Dump

2007-06-04 Thread Lowell Gilbert
Don't top-post, please.

Sean Murphy [EMAIL PROTECTED] writes:

I get this error when trying gcore what am I doing wrong?
# gcore 581
gcore: /proc/581/file: No such file or directory
# cd /proc
# ls -la
total 4
dr-xr-xr-x   2 root  wheel  512 May  8  2005 .
drwxr-xr-x  20 root  wheel  512 Apr  3 17:03 ..

You need to mount a procfs(5).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: enable fetchmail system-wide mode

2007-06-04 Thread Thanos Rizoulis

O/H Simon Barner έγραψε:

Hello Gerard,

  

I had to slightly modify it to work the way I wanted on my system. I
would suggest that you do that 'AFTER' you have gotten it to relatively
the way you want it to.



Are these changes useful for other users, too? If so, please send me
a diff, so I can modify the port.

  

This is a little guide to setting up fetchmail 6.3.8

   cd /usr/ports/mail/fetchmail
   make install clean

   echo 'fetchmail_enable=YES'/etc/rc.conf
   echo 'fetchmail_polling_interval=60'/etc/rc.conf

The above two are mentioned in /usr/local/etc/rc.d/fetchmail

   ee /usr/local/etc/fetchmailrc (initially it is nearly empty)

set invisible
set no bouncemail
set no spambounce
set postmaster [EMAIL PROTECTED]
set syslog
poll pop.mail.yahoo.com
   timeout 40
   proto pop3
   user username
   pass password
   is [EMAIL PROTECTED]
   fastuidl 1
   fetchlimit 0
   limit 0
   keep
   forcecr

The above options are for a client who wishes to keep messages stored in 
remote POP3 mailboxes. *man fetchmail* for specifics, especially at the 
end where it gives a nice table of availiable commands and fetchmailrc 
options. The MTA handling the local domain is qmail, hence the required 
forcecr option.
The timings (60sec per POP3 access) may seem agressive but I contacted 
the ISP and they have no problem with that and the client is happy to 
have nearly email-chat sessions. Users or abusers, as long as they pay 
the bucks


   chmod 0700 /usr/local/etc/fetchmailrc
   chown fetchmail:fetchmail /usr/local/etc/fetchmailrc (the 
permissions are already set anyway)

   /usr/local/etc/rc.d/fetchmail start

Also there is a new option I haven't seen before. Suppose that fetchmail 
is sleeping and you want to wake it up *right now* to receive new messages:
  
   /usr/local/etc/rc.d/fetchmail awaken


Watch /var/log/maillog for fetchmail activity.

--
RTFM and STFW before anything bad happens
_
Thanos Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
FreeBSD/PCBSD user

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


Re: Registering installation for...

2007-06-04 Thread Ghirai
Hello Vlad,

Monday, June 4, 2007, 11:09:39 PM, you wrote:

 Hello,

 Registering installation for mplayer-0.99.10_9 took about 8 minutes
 (at 97% CPU-core load) of CPU time on one of the two cores on my
 Pentium D 820 on a system with 1 GiB of RAM and Barracuda SATA drive.
 It looks a little too long to me...

As far as i know mplayer comes with quite a handful of
plugins/libs/decoders/etc, which might explain why
libtool took so long.


-- 
Best regards,
Ghirai.

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


How to bootstrap a world?

2007-06-04 Thread Björn König
Hello,

how can I bootstrap a world? If I compile libc I get the message

  ld: cannot find -lgcc

and if I compile libgcc I get

  ld: cannot find -lc

This looks like a chicken-egg-problem. I try to build a world for a
different architecture.

Regards
Björn


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


fbsd 6.2 pf starts -- but not on boot

2007-06-04 Thread snowcrash+freebsd

hi,

i've fbsd 6.2R/p5, with pf compiled into a custom kernel.

on boot, pf is, apparently, not starting.

but, if i exec

/etc/rc.d/pf start

immediately after boot to prompt is done, then all's OK.

the only related (?) messages -- error or otherwise -- i've found are
on startup.

any ideas/suggestions as to what might be the prob? and/or how to troubleshoot?

thanks!

for reference, from console output @ startup,


...
sis0: link state changed to UP
sis1: link state changed to UP
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 fe80::1%lo0 prefixlen 64 sscopeid 0x5
   inet6 ::1 prefisxlen 128
   inet2 127.0.0.1 netma:sk 0xff00
sis0: flags=8843lUP,BROADCAST,RUiNNING,SIMPLEX,MUnLTICAST mtu 149k2
   options=48V LAN_MTU,POLLINGs
   inet 10.0.0.10 netmask 0xfaf00 broadcastt 10.0.0.255
   ether 00:00:12:d4:15:88
   media:t Ethernet autoseolect (100baseTX  full-duplex)
   status: active
sis1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1492
   options=48VLAN_MTU,POLLING
   ether 00:00:12:d4:15:89
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
Starting pflog.
pflog0: promiscuous mode enabled
Enabling pf.
Jun  4 13:38:11 pflogd[479]: [priv]: msg PRIV_OPEN_LOG received
pfctl: DIOCSETSTATUSIF
pf enabled
Starting ppp.
add net default: gateway 10.0.0.10
Additional routing options:.
Starting devd.
Mounting NFS file systems:.
...


and, further,

% cat /etc/rc.conf


ifconfig_sis1=mtu 1492 polling
ifconfig_sis0=inet 10.0.0.10 netmask 255.255.255.0 mtu 1492 polling

hostname=router.mydomain.com
defaultrouter=10.0.0.10

# PPP
ppp_enable=YES
ppp_mode=ddial
ppp_nat=NO
ppp_profile=ppp`

# PF
pf_enable=YES
pf_flags=
pf_rules=/usr/local/etc/pf/pf.conf
pflog_enable=YES
pflog_flags=
pflog_logfile=/var/log/pflog

# SPAMD
obspamd_enable=YES
obspamd_flags=-v -l 127.0.0.1 -h mail.mydomain.com -n GATEWAY
obspamlogd_enable=YES
obspamlogd_flags=

# MISC
inetd_enable=YES
firewall_enable=NO
nfs_client_enable=YES
usbd_enable=YES
snmpd_enable=NO
webmin_enable=NO
pcscd_enable=NO
sshd_enable=NO
ntpdate_enable=NO
ntpd_enable=YES

# BIND9
named_enable=YES
named_chrootdir=/var/chroot/named
named_flags=-c /etc/named.conf
named_pidfile=/var/run/named.pid
named_program=/usr/local/sbin/named
named_uid=bind

# RBLDNSd
rbldnsd_enable=YES
rbldnsd_flags=${rbldnsd_flags:--4 -u rbldns:rbldns -r
/var/chroot/rbldnsd -b 127.0.0.1/530 -t 900
my.dnsbl:ip4set:dnsbl/mx_local_black.txt}

# SENDMAIL
mta_start_script=/etc/rc.sendmail
sendmail_enable=YES
sendmail_flags=-L sm-mta -bd -q30m
sendmail_pidfile=/var/run/sendmail.pid
sendmail_procname=/usr/sbin/mailwrapper
sendmail_msp_queue_enable=YES
sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m
sendmail_outbound_enable=YES
sendmail_outbound_flags=-L sm-queue -q30m
sendmail_submit_enable=YES
sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost


# DHCP Services
dhcpd_enable=YES
dhcpd_chroot_enable=YES
dhcpd_chuser_enable=YES
dhcpd_devfs_enable=YES
dhcpd_conf=/usr/local/etc/dhcpd.conf
dhcpd_flags=-q -early_chroot
dhcpd_ifaces=sis0
dhcpd_jail_enable=YES
dhcpd_rootdir=/var/chroot/dhcpd
dhcpd_withgroup=dhcpd
dhcpd_withumask=022
dhcpd_withuser=dhcpd

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


Re: Registering installation for...

2007-06-04 Thread Roland Smith
On Mon, Jun 04, 2007 at 11:09:39PM +0300, Vlad GURDIGA wrote:
  Hello,
 
  Registering installation for mplayer-0.99.10_9 took about 8 minutes
  (at 97% CPU-core load) of CPU time on one of the two cores on my
  Pentium D 820 on a system with 1 GiB of RAM and Barracuda SATA drive.
  It looks a little too long to me...
 
  Is it OK that pkg_create takes so long so much of CPU?

This is probably due to the new structure of xorg. On my system, mplayer
now depenws on 104 other ports (pkg_info -rx mplayer|grep Dependency:|wc -l).

I've seen the same with other ports that depend on X. And 'make clean'
in said ports also takes a while.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpYCT51mBsoV.pgp
Description: PGP signature


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-04 Thread Volker
On 06/04/07 23:03, snowcrash+freebsd wrote:
 hi,
 
 i've fbsd 6.2R/p5, with pf compiled into a custom kernel.
 
 on boot, pf is, apparently, not starting.
 
 but, if i exec
 
 /etc/rc.d/pf start
 
 immediately after boot to prompt is done, then all's OK.
 
 the only related (?) messages -- error or otherwise -- i've found are
 on startup.
 
 any ideas/suggestions as to what might be the prob? and/or how to
 troubleshoot?
 
 thanks!
 
 for reference, from console output @ startup,
 
 
 ...
 sis0: link state changed to UP
 sis1: link state changed to UP
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 sscopeid 0x5
inet6 ::1 prefisxlen 128
inet2 127.0.0.1 netma:sk 0xff00
 sis0: flags=8843lUP,BROADCAST,RUiNNING,SIMPLEX,MUnLTICAST mtu 149k2
options=48V LAN_MTU,POLLINGs
inet 10.0.0.10 netmask 0xfaf00 broadcastt 10.0.0.255
ether 00:00:12:d4:15:88
media:t Ethernet autoseolect (100baseTX  full-duplex)
status: active
 sis1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1492
options=48VLAN_MTU,POLLING
ether 00:00:12:d4:15:89
media: Ethernet autoselect (100baseTX full-duplex)
status: active
 Starting pflog.
 pflog0: promiscuous mode enabled
 Enabling pf.
 Jun  4 13:38:11 pflogd[479]: [priv]: msg PRIV_OPEN_LOG received
 pfctl: DIOCSETSTATUSIF
 pf enabled
...

snow,

without seeing your pf.conf ruleset, I guess you're using a ppp
connection to your upstream provider and firewalling on the tunX
interface (using tun0 as $ext_if).

As FreeBSD boots up, this interface does not yet exist when pf is
loaded. As soon as ppp is loaded and interface tun0 has been created,
pf will happily load your ruleset.

The solution is to either have pf rules loaded late (later than ppp is
started) or use anchors and load ext rules into the anchor when the
ppp interface is up. The easier is to have the rules loading late
(check using rcorder) but this may also fail if something goes wrong
with ppp.

HTH

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


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-04 Thread Mikhail Goriachev

snowcrash+freebsd wrote:

hi,

i've fbsd 6.2R/p5, with pf compiled into a custom kernel.

on boot, pf is, apparently, not starting.

but, if i exec

/etc/rc.d/pf start

immediately after boot to prompt is done, then all's OK.

the only related (?) messages -- error or otherwise -- i've found are
on startup.

any ideas/suggestions as to what might be the prob? and/or how to troubleshoot?



Just a shot in the dark. You are probably putting hostnames in your 
pf.conf instead of IPs. PF starts before Bind. So it can't resolve 
hostnames in the rules and hence doesn't start.




Regards,
Mikhail.

--
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Registering installation for...

2007-06-04 Thread Jeffrey Goldberg

On Jun 4, 2007, at 4:08 PM, Roland Smith wrote:

This is probably due to the new structure of xorg. On my system,  
mplayer
now depenws on 104 other ports (pkg_info -rx mplayer|grep  
Dependency:|wc -l).


Some dependencies will be counted multiple times that way, try

  pkg_info -rx mplayer|grep Dependency:| sort | uniq | wc -l

to get a more reasonable number.

I don't have mplayer on my system so I can't check that particular  
one, but here's another example


 $ pkg_info -rx docproj | grep '^Depend'  | wc -l
 143
 $ pkg_info -rx docproj | grep '^Depend'  | sort | uniq | wc -l
  57

I really have no idea of how the pkg database works so I don't know  
whether it treats those duplications wisely.



I've seen the same with other ports that depend on X. And 'make clean'
in said ports also takes a while.


I believe that I've seen what seems like needless repetitions of  
cleaning for FOO.


Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: New != Faster

2007-06-04 Thread Abdullah Ibn Hamad Al-Marri

On 6/4/07, Tim Daneliuk [EMAIL PROTECTED] wrote:

Chris wrote:
 On 04/06/07, Colin Percival [EMAIL PROTECTED] wrote:
 Tim Daneliuk wrote:
  Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP
  50-60 min
  New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP
  40-50 min
  Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP
  8 min
 
  Is the difference in speed
  attributable to 4.11 being faster than 6.2?

 Close.  The difference in speed is due to the compiler in 4.11 being
 faster than the compiler in 6.2.  FreeBSD uses the gcc compiler, and
 between FreeBSD 4.11 and FreeBSD 6.2 that has been upgraded from 2.9
 to 3.4.  The general trend each time gcc is upgraded is that it takes
 2x longer to compile code, but produces code which is 5% faster (as a
 result of working harder to find optimizations).

 FreeBSD 6.2 is faster than FreeBSD 4.11 for almost everything except
 compiling itself. :-)

 Colin Percival

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


 What about all the following observations?

 slower network performance in 6.x especially worse under DDOS conditions.
 slower disk performance especially under QUOTA.

 both of these have been confirmed numerous times by different people
 so sweeping them under the carpet and saying they simply not true
 would be wrong.  My observation of 6.x is that whilst it can exceed
 4.11 performance this is only because of more more powerful hardware
 and in particular on SMP systems where 4.11 isnt optimised but for UP
 and most older hardware the worst performance of post 4.11 is
 highlighted greatly.

 In thoery shouldnt eg. a 6.2 system using a 3ghz core 2 duo be
 multiple times faster then a pentium 3 500 running freebsd 4.11 due to
 the more powerful hardware?

 Chris

It will be of academic interest to me to see how people respond to this.
Unfortunately - as documented in my original post - the 4.11 CD will
not even boot on this new motherboard for some reason.  Given that, and
that 4.x is no longer actively developed, I am forced to move to 6.x for
my next server ...



--

Tim Daneliuk [EMAIL PROTECTED]


You will not regret it, and wait FreeBSD 7.0 real powerful SMPing
which done on it.

I run heavily MySQL 5.0.41 app on itm and it's way faster than running
it in 6.2-STABLE with C2D 6600 and 2 GB of ram.


--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: isc-dhcp3-server in a jail?

2007-06-04 Thread Paul Fraser

On 6/4/07, Nico -telmich- Schottelius
[EMAIL PROTECTED] wrote:

What's the IP-number in your jail and what's it outside?

I am not sure, whether broadcasts are delivered to the jails or not.

Nico


Hi Nico,

The IP assigned to the host system is 192.168.72.250, with an alias
for 192.168.72.251. The jail is configured with the IP 192.168.72.251.

--
Regards,

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


Re: Disable CTRL+ALT+DELETE

2007-06-04 Thread Dominique Goncalves

Hi,

On 6/4/07, Kenneth Bond [EMAIL PROTECTED] wrote:

Hello,

I have a quick question regarding disabling the CTRL+ALT+DELETE
keystroke sequence used to reboot a system.

I understand that you are able to add the following option to the
kernel config file and rebuild the kernel:

options SC_DISABLE_REBOOT

What I'd like to confirm is whether or not using a keymap file and
changing the boot entries to nop, and then loading it on each boot
through /etc/rc.conf (KEYMAP = /usr/share/syscons/keymap/keymap.kbd)
is a viable, secure alternative for disabling the CTRL+ALT+DELETE
keystroke sequence.

I know it was commonly used with older FreeBSD releases, but I'm not
sure whether it is recommended with newer releases.

Please advise.

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



If you are using FreeBSD =6.2, there is a sysctl knob for disabling
CTRL+ALT+DELETE,

sysctl hw.syscons.kbd_reboot=0

Take a look at syscons(4) and sysctl(8) for more information.

Hope this helps.

Regards.
--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New != Faster

2007-06-04 Thread Kris Kennaway
On Mon, Jun 04, 2007 at 08:54:50PM +0100, Chris wrote:
 On 04/06/07, Colin Percival [EMAIL PROTECTED] wrote:
 Tim Daneliuk wrote:
  Old   2 PIII @600Mhz   768K26M/sec4.11-stable/SMP
  50-60 min
  New   Pent D (2 core)@3.2GHz   2G 50M/sec6.2-stable/SMP
  40-50 min
  Fast  2 Xeon @3GHz 3G130M/sec4.11-stable/SMP
  8 min
 
  Is the difference in speed
  attributable to 4.11 being faster than 6.2?
 
 Close.  The difference in speed is due to the compiler in 4.11 being
 faster than the compiler in 6.2.  FreeBSD uses the gcc compiler, and
 between FreeBSD 4.11 and FreeBSD 6.2 that has been upgraded from 2.9
 to 3.4.  The general trend each time gcc is upgraded is that it takes
 2x longer to compile code, but produces code which is 5% faster (as a
 result of working harder to find optimizations).
 
 FreeBSD 6.2 is faster than FreeBSD 4.11 for almost everything except
 compiling itself. :-)
 
 Colin Percival
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 
 What about all the following observations?

 slower disk performance especially under QUOTA.

s/especially//, unless you have further evidence I don't know about.

 both of these have been confirmed numerous times by different people
 so sweeping them under the carpet and saying they simply not true
 would be wrong.

My detailed measurements of disk performance and those of others I am
aware of contradicts your claim: 6.x equals or outperforms 4.x on disk
I/O (depends on driver) and filesystem I/O.  The only true part of it
is the under QUOTA part, which as you know from past discussions, is
still under Giant in 6.x.  As you also know, there is a patch to
address this which is awaiting user testing.  Have you tested it yet?

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


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-04 Thread snowcrash+freebsd

On 6/4/07, Volker [EMAIL PROTECTED] wrote:

without seeing your pf.conf ruleset,


happy to send/post if required/helpful ...


I guess you're using a ppp
connection to your upstream provider and firewalling on the tunX
interface (using tun0 as $ext_if).


you're absolutely correct here.


As FreeBSD boots up, this interface does not yet exist when pf is
loaded.


clear.


As soon as ppp is loaded and interface tun0 has been created,
pf will happily load your ruleset.


aha. does that suggest that i'm simply not waiting long enough?  your
following comments suggest otherwise, iiuc, that i need to proactively
_do_ something different ...


The solution is to either have pf rules loaded late (later than ppp is
started)


clearly, simply including pf-related items in rc.conf after
pppoe-related items is not sufficient.

i'll take a look at rcorder ... which i wasn't aware of at all.  thanks!


or use anchors and load ext rules into the anchor when the
ppp interface is up.


i hadn't thought of using anchors in this fashion.

i'm off to google, but any good examples you can reference?


The easier is to have the rules loading late
(check using rcorder) but this may also fail if something goes wrong
with ppp.


i /thought/ i'd dealt with the intfc/ppo/pf ordering issue, configuring,

cat /etc/ppp/ppp.linkup

ppp1:
! sh -c /sbin/pfctl -ef /usr/local/etc/pf/pf.conf
!bg sh -c echo `/bin/date` `/etc/bin/ip` ppp.linkup  
/etc/ppp/log


cat /etc/ppp/ppp.linkdown

ppp1:
!bg route delete HISADDR ppp1
!bg pfctl -F all -d


cat /etc/ppp/ppp.conf

default:
set device PPPoE:sis1:
set speed sync
set ctsrts off
set dial
set login
set cd 10
set timeout 0
set redial 0 0
enable lqr
set lqrperiod 20
set log Phase tun command

add default HISADDR
enable tcpmssfixup
disable dns

ppp1:
set authname [EMAIL PROTECTED]
set authkey  
set MRU 1492
set MTU 1492


are these NOT supposed to address/solve the problem? or are the configs wrong?

Mikhail Goriachev [EMAIL PROTECTED]

Just a shot in the dark. You are probably putting hostnames in your
pf.conf instead of IPs. PF starts before Bind. So it can't resolve
hostnames in the rules and hence doesn't start.


heh.  a good call, but, i'd already made THAT mistake a month or so ago. ;-)

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


Making a new libmap.conf for linux emulation

2007-06-04 Thread Sereno Ternullo
Hi all, 
I made too many mistakes configuring my /etc/libmap.conf file and now 
I'm having problems with my linux sub system.

If I have linux.ko loaded into the kernel, ldconfig fails like this:

[EMAIL PROTECTED] /etc]# ldconfig
Segmentation fault: 11 (core dumped)

With linux.ko loaded into the kernel, 
if I try to start /compat/linux/bin/bash

bash works fine, but if I try to start skype, this is what I get

[EMAIL PROTECTED] /usr/home/sereno]$ skype_bin
skype_bin: error while loading shared libraries: /lib/libGL.so.1: ELF file OS 
ABI invalid

Can anyone tell me the lines I'm missing on my libmap.conf ?

Thank you in advance, 
Sereno Ternullo. 



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


Re: New != Faster

2007-06-04 Thread Tim Daneliuk

Kris Kennaway wrote:

On Mon, Jun 04, 2007 at 08:54:50PM +0100, Chris wrote:

On 04/06/07, Colin Percival [EMAIL PROTECTED] wrote:



both of these have been confirmed numerous times by different people
so sweeping them under the carpet and saying they simply not true
would be wrong.


My detailed measurements of disk performance and those of others I am
aware of contradicts your claim: 6.x equals or outperforms 4.x on disk
I/O (depends on driver) and filesystem I/O.  The only true part of it
is the under QUOTA part, which as you know from past discussions, is
still under Giant in 6.x.  As you also know, there is a patch to
address this which is awaiting user testing.  Have you tested it yet?

Kris


Kris -

It's been awhile since I tracked -current, so forgive me if this is
a stupid question but ... Is it the case that the 6.x drivers are
all now SMP-safe or do some still live under GIANT?

--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: New != Faster

2007-06-04 Thread Kris Kennaway
On Mon, Jun 04, 2007 at 06:07:31PM -0500, Tim Daneliuk wrote:
 Kris Kennaway wrote:
 On Mon, Jun 04, 2007 at 08:54:50PM +0100, Chris wrote:
 On 04/06/07, Colin Percival [EMAIL PROTECTED] wrote:
 
 both of these have been confirmed numerous times by different people
 so sweeping them under the carpet and saying they simply not true
 would be wrong.
 
 My detailed measurements of disk performance and those of others I am
 aware of contradicts your claim: 6.x equals or outperforms 4.x on disk
 I/O (depends on driver) and filesystem I/O.  The only true part of it
 is the under QUOTA part, which as you know from past discussions, is
 still under Giant in 6.x.  As you also know, there is a patch to
 address this which is awaiting user testing.  Have you tested it yet?
 
 Kris
 
 Kris -
 
 It's been awhile since I tracked -current, so forgive me if this is
 a stupid question but ... Is it the case that the 6.x drivers are
 all now SMP-safe or do some still live under GIANT?

There are still some storage drivers in 6.x that are giant-locked.
Note that in most cases this doesn't really matter, since typically
there is very little else on the system that uses Giant, so there is
little contention with other systems and performance is good.  One
situation where it would hurt on 6.x is if you have quotas enabled.

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


How to solve mysterious system lockups?

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

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

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

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

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

 Thanks!

  Nicole


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


Re: Force Memory Dump

2007-06-04 Thread Sean Murphy

   Lowell Gilbert wrote:

Don't top-post, please.

Sean Murphy [1][EMAIL PROTECTED] writes:



   I get this error when trying gcore what am I doing wrong?
   # gcore 581
   gcore: /proc/581/file: No such file or directory
   # cd /proc
   # ls -la
   total 4
   dr-xr-xr-x   2 root  wheel  512 May  8  2005 .
   drwxr-xr-x  20 root  wheel  512 Apr  3 17:03 ..


You need to mount a procfs(5).
___
[EMAIL PROTECTED] mailing list
[3]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [4][EMAIL PROTECTED]



   Sorry about top posting I forgot to switch my prefs.  Why is procfs
   removed by default from FreeBSD?  I can track it to being available
   and turned on in 4.x but removed in later versions.
   Thanks

References

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


MKodify freebsd 6.2 release iso 1 for automated install

2007-06-04 Thread John Burns

I have modified the freebsd 6.2 release cd1 iso image to allow me to deploy
freebsd automatically. The cd works fine, it boots up automatically
partitions the disk  and start installing my selected distributions. The
problem is I want it to install a custom package file after install. I have
added the package to the packages/all directory of the cd however, I am
unsure how to modify the INDEX file in the packages directory. Any help
would be appreciated.

None of the packages at the end of the file install. The only package that
is on cd1 by default is the perl5.8.8 file which installs fine, but when it
gets to the next file it says Please insert disc 0, or package not found.

Even though I have already copied all of these packages to the packages/all
directory.
install.cfg contents


# This is the installation configuration file for our rackmounted FreeBSD
# cluster machines

# Turn on extra debugging.
debug=YES

# Ok, this ought to turn off ALL prompting, don't complain to me that you
# lost a machine because you netbooted it on  the same subnet as this
# box
nonInteractive=YES
noWarn=YES
tryDHCP=no


# My host specific data
hostname=PROTOTYPE
domainname=EXILETECHNOLOGIES.NET
nameserver=10.0.0.3
defaultrouter=10.0.0.254
ipaddr=10.0.0.250
netmask=255.255.255.0



# Which installation device to use
mediaSetCDROM



# Select which distributions we want.
dists= base kernels GENERIC bin doc manpages catpages info compat1x compat20
compat21 compat22 compat3x
distSetCustom




# Now set the parameters for the partition editor on sd0.
disk=ad0
partition=all
bootManager=standard
diskPartitionEditor



# All sizes are expressed in 512 byte blocks!
#
# A 512MB root partition, followed by a 0.15G swap partition, followed by
# a 512G /var, and a /usr using all the remaining space on the disk
#
ad0s1-1=ufs  1048576 /
ad0s1-2=swap 307200 none
ad0s1-3=ufs  2516582 /var
ad0s1-4=ufs  1048576 /tmp
ad0s1-5=ufs 0 /usr
# Let's do it!
diskLabelEditor
#diskLabelCommit

# OK, everything is set.  Do it!
installCommit

package=perl-5.8.8
packageAdd

package=squid-2.6.3
packageAdd

package=squidGuard-1.2.0_1
packageAdd

package=imake-6.9.0
packageAdd

package=p5-gettext-1.05_1
packageAdd

package=help2man-1.36.4_1
packageAdd

package=autoconf-2.59_2
packageAdd

package=apache-2.2.3
packageAdd

package=php5-5.1.6_3
packageAdd

package=php5-bz2-5.1.6_3
packageAdd

package=php5-ctype-5.1.6_3
packageAdd

package=php5-dom-5.1.6_3
packageAdd

package=php5-iconv-5.1.6_3
packageAdd

package=php5-mysql-5.1.6_3
packageAdd

package=php5-pcre-5.1.6_3
packageAdd

package=php5-zlib-5.1.6_3
packageAdd

package=pecl-PDO-1.0.3
packageAdd

package=php5-posix-5.1.6_3
packageAdd

package=php5-session-5.1.6_3
packageAdd

package=php5-simplexml-5.1.6_3
packageAdd

package=net-snmp-5.2.3_3
packageAdd

package=php5-snmp-5.1.6_3
packageAdd

package=php5-sockets-5.1.6_3
packageAdd

package=php5-sqlite-5.1.6_3
packageAdd

package=php5-tokenizer-5.1.6_3
packageAdd

package=php5-xml-5.1.6_3
packageAdd

package=php5-xmlreader-5.1.6_3
packageAdd

package=php5-xmlwriter-5.1.6_3
packageAdd

package=php5-extensions-1.0
packageAdd

package=phpSysInfo-2.5.1
packageAdd

#
# this last package is special.  It is used to configure the machine.
# it installs several files (like /root/.rhosts) and its installation
# script tweaks several options in /etc/rc.conf
#
package=exile-1.0
packageAdd

shutdown









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


Re: Force Memory Dump

2007-06-04 Thread Kris Kennaway
On Mon, Jun 04, 2007 at 05:08:02PM -0700, Sean Murphy wrote:
 
Lowell Gilbert wrote:
 
 Don't top-post, please.
 
 Sean Murphy [1][EMAIL PROTECTED] writes:
 
 
 
I get this error when trying gcore what am I doing wrong?
# gcore 581
gcore: /proc/581/file: No such file or directory
# cd /proc
# ls -la
total 4
dr-xr-xr-x   2 root  wheel  512 May  8  2005 .
drwxr-xr-x  20 root  wheel  512 Apr  3 17:03 ..
 
 
 You need to mount a procfs(5).
 ___
 [EMAIL PROTECTED] mailing list
 [3]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [4][EMAIL PROTECTED]
 
 
 
Sorry about top posting I forgot to switch my prefs.  Why is procfs
removed by default from FreeBSD?  I can track it to being available
and turned on in 4.x but removed in later versions.

History of security problems.  You are free to mount it on your own
systems if you choose - it's trivial to do so.

Kris

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


Re: Making a new libmap.conf for linux emulation

2007-06-04 Thread Norberto Meijome
On Tue, 5 Jun 2007 00:54:32 +0200
Sereno Ternullo [EMAIL PROTECTED] wrote:

 Hi all, 
 I made too many mistakes configuring my /etc/libmap.conf file and now 
 I'm having problems with my linux sub system.

why do you think you have to do that for? 

 
 If I have linux.ko loaded into the kernel, ldconfig fails like this:
 
 [EMAIL PROTECTED] /etc]# ldconfig
 Segmentation fault: 11 (core dumped)
 
 With linux.ko loaded into the kernel, 
 if I try to start /compat/linux/bin/bash
 
 bash works fine, but if I try to start skype, this is what I get
 
 [EMAIL PROTECTED] /usr/home/sereno]$ skype_bin
 skype_bin: error while loading shared libraries: /lib/libGL.so.1: ELF file OS 
 ABI invalid

I've been using linux compat + skype for a long while (since 6.0-RELEASE) and I 
have never had to touch libmap.conf
clean it up and try again.

 
 Can anyone tell me the lines I'm missing on my libmap.conf ?

Not really - we don't know what lines you do have in your file :)

_
{Beto|Norberto|Numard} Meijome

Either you are incompetent - or you are lying to me.
  Nigel Grange

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.2/i386 X/DRI issues

2007-06-04 Thread Norberto Meijome
On Mon, 04 Jun 2007 08:35:06 -0500
Reid Linnemann [EMAIL PROTECTED] wrote:

 Incidentally, you can never do direct rendering over remote X connection 
 because the client (which is executed on a remote system) does not have 
 direct access to the memory of the display.

yes,i imagined that was the case...

cheers
_
{Beto|Norberto|Numard} Meijome

Imagination is more important than knowledge.
  Albert Einstein, On Science

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem compiling xorg 7.2

2007-06-04 Thread Anton Galitch

Hello.

I have a problem when I compile /usr/ports/x11/xorg, when I make install it
shows the following error:


configure: error: cannot find GL library - make sure Mesa or other
OpenGL package is installed
See `config.log' for more details.
===  Script configure failed unexpectedly.

I have installed libGL and libGLU but it shows the same error.

I attach my config.log file and the output of ls /var/db/pkg

Thanks for any help


db.pkg
Description: Binary data
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xdriinfo configure 1.0.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --mandir=/usr/local/man/ --prefix=/usr/local 
i386-portbld-freebsd6.2

## - ##
## Platform. ##
## - ##

hostname = feudaltimes
uname -m = i386
uname -r = 6.2-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 6.2-STABLE #0: Sun May 27 22:40:50 ART 2007 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL 

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## --- ##
## Core tests. ##
## --- ##

configure:1338: checking for a BSD-compatible install
configure:1393: result: /usr/bin/install -c -o root -g wheel
configure:1404: checking whether build environment is sane
configure:1447: result: yes
configure:1512: checking for gawk
configure:1541: result: no
configure:1512: checking for mawk
configure:1541: result: no
configure:1512: checking for nawk
configure:1528: found /usr/bin/nawk
configure:1538: result: nawk
configure:1548: checking whether make sets $(MAKE)
configure:1568: result: yes
configure:1736: checking whether to enable maintainer-specific portions of 
Makefiles
configure:1745: result: no
configure:1772: checking for i386-portbld-freebsd6.2-gcc
configure:1798: result: cc
configure:2080: checking for C compiler version
configure:2083: cc --version /dev/null 5
cc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2086: $? = 0
configure:2088: cc -v /dev/null 5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
configure:2091: $? = 0
configure:2093: cc -V /dev/null 5
cc: `-V' option must have argument
configure:2096: $? = 1
configure:2119: checking for C compiler default output file name
configure:2122: cc -O2 -fno-strict-aliasing -pipeconftest.c  5
configure:2125: $? = 0
configure:2171: result: a.out
configure:2176: checking whether the C compiler works
configure:2182: ./a.out
configure:2185: $? = 0
configure:2202: result: yes
configure:2209: checking whether we are cross compiling
configure:2211: result: no
configure:2214: checking for suffix of executables
configure:2216: cc -o conftest -O2 -fno-strict-aliasing -pipeconftest.c  5
configure:2219: $? = 0
configure:2244: result: 
configure:2250: checking for suffix of object files
configure:2271: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2274: $? = 0
configure:2296: result: o
configure:2300: checking whether we are using the GNU C compiler
configure:2324: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2330: $? = 0
configure:2334: test -z 
 || test ! -s conftest.err
configure:2337: $? = 0
configure:2340: test -s conftest.o
configure:2343: $? = 0
configure:2356: result: yes
configure:2362: checking whether cc accepts -g
configure:2383: cc -c -g  conftest.c 5
configure:2389: $? = 0
configure:2393: test -z 
 || test ! -s conftest.err
configure:2396: $? = 0
configure:2399: test -s conftest.o
configure:2402: $? = 0
configure:2413: result: yes
configure:2430: checking for cc option to accept ANSI C
configure:2500: cc  -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
configure:2506: $? = 0
configure:2510: test -z 
 || test ! -s conftest.err
configure:2513: $? = 0
configure:2516: test -s conftest.o
configure:2519: $? = 0
configure:2537: result: none needed
configure:2555: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c 5
conftest.c:2: error: syntax error before me
configure:2561: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2705: checking for style of include used by make
configure:2733: result: GNU
configure:2761: checking dependency style of cc
configure:2851: result: gcc3
configure:2881: checking for a 

Re: How to bootstrap a world?

2007-06-04 Thread Norberto Meijome
On Mon, 4 Jun 2007 22:27:46 +0200 (CEST)
Björn König [EMAIL PROTECTED] wrote:

 Hello,
 
 how can I bootstrap a world? If I compile libc I get the message
 
   ld: cannot find -lgcc
 
 and if I compile libgcc I get
 
   ld: cannot find -lc
 
 This looks like a chicken-egg-problem. I try to build a world for a
 different architecture.
 

Google for freebsd cross-compiling architecture

_
{Beto|Norberto|Numard} Meijome

His mother should have thrown him away and kept the stork.
  Mae West

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem compiling xorg 7.2

2007-06-04 Thread Norberto Meijome
On Mon, 4 Jun 2007 22:19:18 -0300
Anton Galitch [EMAIL PROTECTED] wrote:

 Hello.
 
 I have a problem when I compile /usr/ports/x11/xorg, when I make install it
 shows the following error:
 
 
 configure: error: cannot find GL library - make sure Mesa or other
 OpenGL package is installed
 See `config.log' for more details.
 ===  Script configure failed unexpectedly.
 
 I have installed libGL and libGLU but it shows the same error.
 
 I attach my config.log file and the output of ls /var/db/pkg
 
 Thanks for any help

Hi Anton,
are you upgrading xorg or installing xorg for the first time in this machine?

you have to follow the steps in /usr/ports/UPDATING, even if not upgrading.

_
{Beto|Norberto|Numard} Meijome

Your reasoning is excellent -- it's only your basic assumptions that are wrong.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fbsd 6.2 pf starts -- but not on boot

2007-06-04 Thread Ian Smith
On 4 Jun 2007 14:03:20 -0700 snowcrash+freebsd [EMAIL PROTECTED] wrote:

  on boot, pf is, apparently, not starting.
  
  but, if i exec
  
   /etc/rc.d/pf start
  
  immediately after boot to prompt is done, then all's OK.
 
  the only related (?) messages -- error or otherwise -- i've found are
  on startup.

I really don't know whether this might be related to your problem, but
my proofreading eye was distracted by this in your rc.conf: 

  # PPP
  ppp_enable=YES
  ppp_mode=ddial
  ppp_nat=NO
  ppp_profile=ppp`

What rc would make of that backtick inside quotes, I know not ..

cheers, Ian

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


Re: startup / shutdown script (rc.d)

2007-06-04 Thread RW
On Mon, 4 Jun 2007 09:55:26 -0700 (PDT)
gmoniey [EMAIL PROTECTED] wrote:

 
 Hi,
 
 so i tried the script you mentioned, and it doesnt seem as if it is
 being called on startup. Here is my script (rails.sh):
...
 While looking through the other files in the rc.d directory, I
 noticed that 000.apache2libs.sh has the similar structure as the file
 you suggested, so I attempted to put my commands in there, but it
 seems as if they are not being called either (i.e. after reboot, when
 i do a ps aux, i dont see the commands i expect to be started)...

what happens if you just type./rails.sh start 
manually? 

If it works, but not during start-up, it may needs some other
service to start first. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wake-on-LAN

2007-06-04 Thread Jonathan Horne
On Monday 04 June 2007 14:39:31 Steve wrote:
 I need some help getting WOL working.

 I have two boxes with Freebsd 6.2 and WOL doesn't work on either one.
 Both have capable Intel NICs (pro/100 and pro/1000) and capable PC
 BIOS (with WOL and PME enabled).  When the boxes are shutdown I don't
 have any link lights, which I believe is an indication of a problem.
 I'm wondering if this is an ACPI issue where the PCI bus has no power
 after shutdown, or perhaps an em driver issue?  Any ideas on this?
 Thanks.

 S.
 ___

you definatly have to correct the link-light issue when the system is off, 
otherwise i dont think youll ever get it working.  are there any ACPI standby 
modes in the power section (thats where mine are) in the bios?  S3 seems to 
be the best option.

in freebsd, my into pro100s work without any other intervention (aside from 
setting S3 in the bios, IBM machines), but i have one IBM with a dual port 
pro1000, and its not waking properly right now (but i havent troubleshot that 
one any, as its my server and never turns off anyway).

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


  1   2   >