Re: kernel panic installing 5.4-release (2'nd attempt)

2007-04-05 Thread Kris Kennaway
On Wed, Apr 04, 2007 at 05:51:55PM -0400, m yelle wrote:
 I tried posting this earlier, but it appears my
 message didn't post. Please pardon if it did post
 without my noticing

It did, and I already replied to you.  Please read your email.

Kris


pgpMcBpZurU26.pgp
Description: PGP signature


Re: problem with modem

2007-04-05 Thread Christian Walther

On 04/04/07, dark abeer [EMAIL PROTECTED] wrote:

hi i have one question ok
i'm downloaded operating system freebsd release v6.0 and i have one problem in 
installation modem type sagem [EMAIL PROTECTED]  Please your help in this 
problem If possible, help me to install it.
and thanck you


We need some more information to be able to help you.
For example, what is your specific setup? Especially, what kind of
Modem is your Sagem [EMAIL PROTECTED]? Serial port modem, oder DSL modem? etc.
etc...

Did you read the handbook?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialcomms.html

Chapter 23 is about serial communication, it explains all the basics,
while chapter 24 deals with PPP and SLIP - thus explaining how to
connect to the internet.

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


Re: kernel panic installing 5.4-release

2007-04-05 Thread m yelle
Because it's an *old* server, and because 5.4-r should
be a mature enough distribution by now that any bugs
which were going to be fixed would already be fixed.

I could only find one reference to a problem like this
one, and in that case it was happening in 6.x, which
indicates that whatever the problem is, it hasn't been
fixed. Which implies that it's either considered to be
not a problem by way of an easy workaround, or that
it's not an important problem due to not happening
very often. Either way, an answer to the question at
hand would be much appreciated.

--- Kris Kennaway [EMAIL PROTECTED] wrote:

 On Wed, Apr 04, 2007 at 03:00:34PM -0400, m yelle
 wrote:
  I'm attempting to install 5.4-r on an old server
 which
  has been running 4.9-stable for the last few years
  without any problems, with longest uptime of just
 over
  6 months. I'm installing to a tested clean/blank
 scsi
  hdd.
 
 Why are you installing a version of FreeBSD that is
 nearly 2 years
 old?  How about trying modern versions before
 writing off FreeBSD on
 your hardware:)
 
 Kris
 


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


Re: Should sudo be used?

2007-04-05 Thread Pietro Cerutti

On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote:

True, if that was the case I'd use sudo. But I'm the only user on my systems
that I'd trust with root access, so there's no point with my setup.

[Please don't top post]

Anyway, yes, I would say it depends on the situation, and it's even a
matter of taste. I use sudo on my laptop, even if I'm the only user...
de gustibus non disputandum est...

--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Should sudo be used?

2007-04-05 Thread Schiz0

True, if that was the case I'd use sudo. But I'm the only user on my systems
that I'd trust with root access, so there's no point with my setup.

On 4/5/07, Pietro Cerutti [EMAIL PROTECTED] wrote:


On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote:
 I don't use sudo. I find it rather pointless. If I need to do something
as
 root, I use su to gain root privileges, then when I'm done, I exit and
 return to the original user. The user running su must be in the group
 wheel to be able to su to root. This is a simple yet convenient
security
 system.

What when you have several people with different privileges wanting to
do stuff that normally only root can? Would you give your root
password to everyone, or rather install sudo and define exactly what a
user can do?


--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
   www.asciiribbon.org


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


Re: Should sudo be used?

2007-04-05 Thread Christian Walther

On 05/04/07, Schiz0 [EMAIL PROTECTED] wrote:
[Moved answer to the bottom -- please don't use top post]


On 4/5/07, Pietro Cerutti [EMAIL PROTECTED] wrote:

 On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote:
  I don't use sudo. I find it rather pointless. If I need to do something
 as
  root, I use su to gain root privileges, then when I'm done, I exit and
  return to the original user. The user running su must be in the group
  wheel to be able to su to root. This is a simple yet convenient
 security
  system.

 What when you have several people with different privileges wanting to
 do stuff that normally only root can? Would you give your root
 password to everyone, or rather install sudo and define exactly what a
 user can do?

True, if that was the case I'd use sudo. But I'm the only user on my systems
that I'd trust with root access, so there's no point with my setup.


Well, sudo makes execution of several commands or script as another
user quite simple because there's no need to enter the root password.
For example I've three Access Points at home, but my machine can't
connect to the nearest one automatically. So I need to issue
ifconfig ath0 scan as root. Since I'm not root all the time, I
defined an alias that executes the command using sudo. It's just one
word, and I'm set.

My girlfriend is using my old Laptop know, and I installed FreeBSD on
it, too. So she needs the command, too. Since she isn't used to the
Console I defined a new program/button in KDE she can press.

So you see, there are reasons to use sudo even if you're the only user
on a system. But as anywhere else in the Unix world, there are several
different ways of how to perform a certain task, and the way one
chooses is up to him/her.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Monitoring tool for Compaq Smart Array 5300

2007-04-05 Thread Valerio Daelli

Hi
we would like to monitor the status of a Compaq Smart Array 5300
installed on a HP Proliant DL360.
Is there any tool for FreeBSD 6.2?
Thanks for the help

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


Re: Should sudo be used?

2007-04-05 Thread Schiz0

I don't use sudo. I find it rather pointless. If I need to do something as
root, I use su to gain root privileges, then when I'm done, I exit and
return to the original user. The user running su must be in the group
wheel to be able to su to root. This is a simple yet convenient security
system.

su is standard, sudo is another binary to install. So I don't bother
installing it.

On 4/5/07, Victor Engmark [EMAIL PROTECTED] wrote:


Hi all,

I thought it would be a good idea to use sudo on my FreeBSD laptop, but
I'm
having doubts after checking the handbook (it's not mentioned at all) and
Google (most of the articles were obscure and / or old).

Are you using sudo? If not, why?

--
Victor Engmark
___
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: Virtual Hosting Control Panel

2007-04-05 Thread Vince
Marc G. Fournier wrote:
 
 DTC is the only decent one I've found OSS ... I have some updates to do, but 
 there is a /usr/ports/sysutils/dtc{-toaster} port available ... the -toaster 
 port does a complete install based on my setup (postfix, cyrus-imapd, 
 pure-ftpd, etc), while the dtc one requires you to define various options ...
 
 
 --On Wednesday, April 04, 2007 15:53:42 -0700 Chris Hesselrode 
 [EMAIL PROTECTED] wrote:
 
 Does anyone have any suggestions for a good hosting control panel for
 FreeBSD 6.x (GNU)?

 Thanks in advance,

 Chris

Theres always raqdevil (www/raqdevil http://www.raqdevil.com/) although
i'm afraid its BSD not GPL Licenced ;)
Havent actually tried it but i did use to like the old cobalt raqs


Vince




 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

___
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: Should sudo be used?

2007-04-05 Thread Pietro Cerutti

On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote:

I don't use sudo. I find it rather pointless. If I need to do something as
root, I use su to gain root privileges, then when I'm done, I exit and
return to the original user. The user running su must be in the group
wheel to be able to su to root. This is a simple yet convenient security
system.


What when you have several people with different privileges wanting to
do stuff that normally only root can? Would you give your root
password to everyone, or rather install sudo and define exactly what a
user can do?


--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Should sudo be used?

2007-04-05 Thread Pietro Cerutti

On 4/5/07, Victor Engmark [EMAIL PROTECTED] wrote:

Well, the standard argument is that with sudo you don't have to worry about
executing something as root which you intended to execute as a normal user.



That's good enough for me, but are there any disadvantages except just
having another package  config file?

None that I know about


Is sudo slow or incompatible with certain commands?

None that I know about


Does it have a bad security track record?

http://www.courtesan.com/sudo/alerts/



Is it still maintained, and will it be maintained in the foreseeable future?

Yes, it's still maintained, but as you can see from the CVS logs, not
actively developed. I can't tell you if it's because sudo's pretty
done, or  because simply nobody's improving it.


Does it conflict with other packages? Etc..

$ grep CONFLICTS /usr/ports/security/sudo/Makefile
Exit 1

Apparently not..


Thanks for your answers! It seems this is not quite as resolved for FreeBSD
as for Ubuntu et al..

Hope this helps..


--
Victor non desperandum Engmark
Quidquid latine dictum sit, altum videtur - What is said in Latin, sounds
profound



--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Linux emluation of Skype not complete.

2007-04-05 Thread Garrett Cooper

Paris Jones wrote:



*/Garrett Cooper [EMAIL PROTECTED]/* wrote:

Paris Jones wrote:
 I am using FreeBSD 6.0 Stable.

 My friend told me about Skype and was very egar to try it, to my
dismay the port of Skype will only accept one device for audio
input and output, (Which my headset requires) and I would rather
not mess with the DSP hijacker so I installed the linux build for
skype.com (The static with QT compiled in) but was also upset to
find that I could not call or receive calls from anyone. I am
using the linux_base-8, if someone could tell me how I can start
calling people it would be very useful, I have read maybe 2
articles about this on google and both tell me to install ports
that no longer exist.

 Thank you again.
 -ARCKEDA

That's because OSS by itself doesn't support more than one channel
at a
time. You need to support virtual channels (a FreeBSD only feature
AFAIK) by entering in the following lines in /etc/sysctl.conf:

hw.snd.maxautovchans = 20 # Adjust to fit the number of simultaneous
sound channels you want enabled at once.

-Garrett

I don't think that multiple sound channels are the problem. You see, 
in the port,


there is only one sound device I can choose, even though my headset 
outputs to


/dev/dsp and gets input from /dev/dsp1, so that I can only talk or 
hear, not both at


the same time.   The linux build will not even let me call anyone or 
recieve calls,


not even the call testing service.

Please feel free to tell me any thing that you think might help.

  -ARCKEDA


Yes, it's most likely the problem if you can't play multiple audio 
sources at once.


Just please try my suggestion before saying it's not possible.

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


Re: Should sudo be used?

2007-04-05 Thread kelvin woods
On Thu, April 5, 2007 09:42, Victor Engmark wrote:
 Hi all,

 I thought it would be a good idea to use sudo on my FreeBSD laptop,
 but I'm
 having doubts after checking the handbook (it's not mentioned at all)
 and
 Google (most of the articles were obscure and / or old).

 Are you using sudo? If not, why?

I personally don't use sudo. From my perspective the only real
advantage to using it is that it is possible to provide a fine-grained
access to limited functions that would normally only be available to
the root account. Thus, if you require more than one normal account
to perform some aspect of system maintenance it is possible to do this
via the sudoers file. As I'm the sole maintainer of /my/ systems I
don't feel the need to utilize sudo. Instead I have a separate local
account on each system added to the wheel group and use that to su to
the root account to perform system maintainance. Therefore, I don't
use my normal everyday account when performing system maintainance.

-- 
kelvin


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


Re: Should sudo be used?

2007-04-05 Thread Pietro Cerutti

On 4/5/07, Victor Engmark [EMAIL PROTECTED] wrote:

Hi all,

Hello,


Are you using sudo? If not, why?

Yes I am. I would say anything allowing not to use the root password
is worth using.
Just man 5 sudoers to properly setup your sudoers file..


--
Victor Engmark


--
Pietro Cerutti

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Should sudo be used?

2007-04-05 Thread Victor Engmark

Hi all,

I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm
having doubts after checking the handbook (it's not mentioned at all) and
Google (most of the articles were obscure and / or old).

Are you using sudo? If not, why?

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


RE: Virtual Hosting Control Panel

2007-04-05 Thread Philippe Lang
[EMAIL PROTECTED] wrote:

 Does anyone have any suggestions for a good hosting control panel for
 FreeBSD 6.x (GNU)? 

For your email domains, have a look at

http://sourceforge.net/projects/postfixadmin/

It works great for me.

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


Re: Ports/progress bar

2007-04-05 Thread Olivier Regnier

[EMAIL PROTECTED] a écrit :

On 04/04/07, Olivier Regnier [EMAIL PROTECTED] wrote:

Hello,

I tried to use the bar program to show a progress bar in my shell 
script.


I tested with this command in console:
bar -c 'csup -L 0 /root/csup/doc-supfile'

I see the progress bar but she doesn't work. I think the syntax is
correct no ?

For informations, i use Zsh.


If you are using textproc/bar, from reading the webpage
http://www.theiling.de/projects/bar.html
the answer seems to be no.  That bar seems to work as
a substitute for cat(1), or with the -c flag as a wrapper.
Since you are not putting files into the pipe, but rather
pulling them out, bar cannot see the size of the job and
so determine what portion is finished or not.

There also appears to be a misc/clpbar which may be
closer to what you want here.


Hello, thank you for your answer. I tested clpbar with this command:
csup /root/csup/doc-supfile | bar -s 100m -nan
but there is a problem and in console, i have  this:
27.0B at 27.0B/s eta: +99:99:99 0% [=  ]
27.0B at 27.0B/s eta: +99:99:99 0% [=  ]
27.0B at 27.0B/s eta: +99:99:99 0% [=  ]
27.0B at 27.0B/s eta: +99:99:99 0% [=  ]
perhaps, i can't use this program with csup ?

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


Re: Hardware Raid on Intel DG965OT Motherboard

2007-04-05 Thread Alexander Anderson
Thu, Apr 05, 2007 at 08:52:44 AM, Antony Mawer wrote:
I have Intel D975XBX2 with two on-board SATA RAID controllers: one is Intel
Matrix and the other is Marvell storage. I have FreeBSD 6.2 with RAID-5
using Intel Matrix Storage. It seems to work fine.
 
 You may want to re-think that option... according to the ataraid(4) man 
 page, RAID5 is not functional (ie. you have about as much data safety as 
 a RAID0 stripe set does):
 
CAVEATS
 RAID5 is not supported at this time.  Code exists, but it neither uses
 nor maintains parity information.

The ataraid driver provides *software* RAID. But doesn't Intel Matrix
Storage gives *hardware* RAID support? How could I tell if software is at
play?

 One drive failure and you will be in for a whole world of hurt...

I was going to do a test and simulate a drive failure (and see how to
rebuild the array). I haven't had a chance to try that yet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XMMS problem

2007-04-05 Thread usleepless

Ivan,

On 4/5/07, Ivan Zenzerović [EMAIL PROTECTED] wrote:

Hello,

when I try to play music with xmms, i get the error: Please chech that: Your
soundcard is configured. You have the correct output plugin selected. No
other program is blocking the soundcard.

My soundcard is working well, and in the console i see the xmms error: **
WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Device busy
Then i stopped noatun and quit him, tryed again, but nothing.
Help please...


artsd is probably running, keeping your /dev/dsp busy.

either kill it, or configure the kde-soundsystem to use /dev/dsp0.0.

regards,

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

Re: Should sudo be used?

2007-04-05 Thread Amarendra Godbole

On 4/5/07, Victor Engmark [EMAIL PROTECTED] wrote:

Hi all,

I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm
having doubts after checking the handbook (it's not mentioned at all) and
Google (most of the articles were obscure and / or old).

Are you using sudo? If not, why?

[...]

I am the only user on my system and I use sudo for all commands that
require root access. My primary reason is proper logging in the
syslog. All commands that I execute using sudo are logged to the
syslog - this way I know have an audit trail of my actions, when I am
sudo to root. In contrast, doing a su and executing commands leaves
back no trail whatsoever...

Here is a snippet of my syslog, when I executed whoami (just as an
example) with sudo:
Apr  5 15:26:07 zimbu sudo: amar : TTY=ttyp4 ; PWD=/home/amar ;
USER=root ; COMMAND=/usr/bin/whoami

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


Random reboots 5.4 with CPanel

2007-04-05 Thread viper

Hi guys,

For a couple of years already I've been trying to find out why our  
hosting machine reboots randomly. I posted some stuff to this list  
too. Got some tips, mostly about hardware. What happens is that both  
the main server and the backup server (which is just idling) just  
reboot. Sometimes after 60 days, sometimes after one day. No logs, no  
strange traffic patterns, nothing. I enabled kernel debugging. Caught  
a crashdump on our backup machine which I will post below. The process  
that crashes is the CPU monitor for Cpanel. I disabled that one, so it  
crashed on any other process (httpd, perl, etc). I tried disabling  
ACPI, rebuild world with just -O in make.conf, etc etc. This morning  
the main server rebooted again, it didn't even leave a dump in  
/var/crash. Hardware is not the same. This behavious I've seen on dual  
athlons (two different mainboards) and dual Xeons. It seems related to  
SMP code. Played around with idle and hyperthreading settings in  
sysctl too. Nothing seems to make any difference at all. The crashump  
is below, does anyone have ANY idea what might cause this?


I think it has to be the cpanel hosting panel, but such an application  
shouldn't be able to to crash the OS...


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 01
fault virtual address   = 0x98
fault code  = supervisor write, page not present
instruction pointer = 0x20:0xc06b7f1e
stack pointer   = 0x28:0xece5f730
frame pointer   = 0x28:0xece5f774
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 69885 (dcpumon)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 2d22h1m13s
Dumping 2047 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 2047MB (523904 pages) 2031 2015 1999 1983 1967 1951 1935  
1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711  
1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487  
1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263  
1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039  
1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767  
751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495  
479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223  
207 191 175 159 143 127 111 95 79 63 47 31 15


#0  doadump () at pcpu.h:165
165 __asm __volatile(movl %%fs:0,%0 : =r (td));
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc063efca in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc063f396 in panic (fmt=0xc0870bd4 %s) at  
/usr/src/sys/kern/kern_shutdown.c:555
#3  0xc082e16c in trap_fatal (frame=0xece5f6f0, eva=0) at  
/usr/src/sys/i386/i386/trap.c:831
#4  0xc082de52 in trap_pfault (frame=0xece5f6f0, usermode=0, eva=152)  
at /usr/src/sys/i386/i386/trap.c:742

#5  0xc082da02 in trap (frame=
  {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = 4, tf_esi = 0,  
tf_ebp = -320473228, tf_isp = -320473316, tf_ebx = 4098, tf_edx =  
-1002850048, tf_ecx = 0, tf_eax = 4, tf_trapno = 12, tf_err = 2,  
tf_eip = -1066696930, tf_cs = 32, tf_eflags = 66118, tf_esp =  
-320473100, tf_ss = 1017})

at /usr/src/sys/i386/i386/trap.c:432
#6  0xc0817d0a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc06b7f1e in vn_lock (vp=0x0, flags=4098, td=0xc439b900) at atomic.h:149
#8  0xc05eee46 in procfs_doprocfile (td=0xc439b900, p=0xc9068830,  
pn=0xc35f3900, sb=0x4, uio=0x0) at /usr/src/sys/fs/procfs/procfs.c:73

#9  0xc05f3f5b in pfs_readlink (va=0x4) at pcpu.h:162
#10 0xc0841a13 in VOP_READLINK_APV (vop=0x4, a=0xc439b900) at vnode_if.c:1481
#11 0xc06b14e3 in kern_readlink (td=0xc439b900, path=0xc439b900  
j\006É x\006É, pathseg=3292117248, buf=0x4 Address 0x4 out of  
bounds, bufseg=4,

count=1024) at vnode_if.h:772
#12 0xc06b13e8 in readlink (td=0x4, uap=0xc439b900) at  
/usr/src/sys/kern/vfs_syscalls.c:2261

#13 0xc082e573 in syscall (frame=
  {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 135512892, tf_esi  
= 135663632, tf_ebp = -1077940936, tf_isp = -320471708, tf_ebx =  
674109588, tf_edx = -1077941960, tf_ecx = 0, tf_eax = 58, tf_trapno =  
0, tf_err = 2, tf_eip = 672579140, tf_cs = 51, tf_eflags = 647, tf_esp  
= -1077942020, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:976
#14 0xc0817d5f in Xint0x80_syscall () at  
/usr/src/sys/i386/i386/exception.s:200

#15 0x0033 in ?? ()
Previous frame inner to this frame (corrupt stack?)

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


XMMS problem

2007-04-05 Thread Ivan Zenzerović

Hello,

when I try to play music with xmms, i get the error: Please chech that: Your
soundcard is configured. You have the correct output plugin selected. No
other program is blocking the soundcard.

My soundcard is working well, and in the console i see the xmms error: **
WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Device busy
Then i stopped noatun and quit him, tryed again, but nothing.
Help please...

Ivan
--

---
Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton
Senna
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cardbus card driver problem

2007-04-05 Thread Michele Endrici

Hallo everybody,
I have a problem with a ComBlock COM1300 cardbus card

http://www.comblock.com/com1300.htm

I need to get this card working on my laptop since I need to work on
it for my thesis project. I wrote a driver for this card but I don't
know if it works or not becouse a I get a cardbus detection error on
booting. Dmesg with all hw.cbb and hw.cardbus debug options enabled
gives me this output:

cbb0: card inserted: event=0x, state=3821
cbb0: cbb_power: 3V
TUPLE: LINKTARGET [3]: 43 49 53
Product version: 5.2
Product name: MSS | COM 1300 |
Manufacturer ID: feff0101
TUPLE: Unknown(0x04) [6]: 03 01 00 00 00 00
TUPLE: Unknown(0x05) [11]: c1 39 71 b5 1e 66 76 54 02 a1 03
cardbus0: Opening BAR: type=IO, bar=10, len=0100
cardbus0: Opening BAR: type=MEM, bar=14, len=10
CIS reading done
cardbus0: Non-prefetchable memory at 9000-900f
cardbus0: IO port at 4000-40ff
cardbus0: old, non-VGA display device at device 0.0 (no driver attached)
cbb0: cbb_power: 0V

Is this problem related to my laptop hardware configuration or is it a
driver problem?? other?? What is TUPLE (0x04 o 0x05) problem??

Any suggestion??

Tanks in advance.

Michele

--
Michele Endrici
Via carraia 4 - Don - TN
tel: 348-7295670
[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: Virtual Hosting Control Panel

2007-04-05 Thread Grant Peel

http://webmin.com (system panel)
http://usermin.com (users control panel)
http://virtualmin.com (hosting control panel).

All written in perl. Uses its own https server (miniserv.pl), many hundreds 
of easy to install modules available.


-Grant
- Original Message - 
From: Chris Hesselrode [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Wednesday, April 04, 2007 6:53 PM
Subject: Virtual Hosting Control Panel



Does anyone have any suggestions for a good hosting control panel for
FreeBSD 6.x (GNU)?

Thanks in advance,

Chris


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


unroll-loops - Is it always safe?

2007-04-05 Thread scuba

Hi All,

	Is it always safe to use -funroll-loops as a flag to 
/etc/make.conf ? Does it realy improve the compiled programs?


When should I avoid to use it?

- Marcelo

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


Re: XMMS problem

2007-04-05 Thread Nagy László Zsolt

Ivan Zenzerovic' wrote:

Hello,

when I try to play music with xmms, i get the error: Please chech 
that: Your

soundcard is configured. You have the correct output plugin selected. No
other program is blocking the soundcard.

My soundcard is working well, and in the console i see the xmms error: **
WARNING **: oss_open(): Failed to open audio device (/dev/dsp): Device 
busy

Then i stopped noatun and quit him, tryed again, but nothing.
Help please...
Are you using Gnome or KDE? Most probably, a sound daemon like ESD is 
running, and it uses your hardware already. You configure your output 
plugin of xmms to use Esd/Arts instead of /dev/dsp. Alternatively, you 
can specify kernel parameters so it will allow sharing of your sound 
card(s). Please refer to the FreeBSD handbook about configuring multiple 
channels on a single sound card.


Best,

Laszlo

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


Re: Monitoring tool for Compaq Smart Array 5300

2007-04-05 Thread David Robillard

Hi
we would like to monitor the status of a Compaq Smart Array 5300
installed on a HP Proliant DL360.
Is there any tool for FreeBSD 6.2?
Thanks for the help


Check out this HP + FreeBSD site. It's a bit old, but looks like it
has want you're looking for.

http://people.freebsd.org/~jcagle/

David
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Running out of memory for mysql(dump)

2007-04-05 Thread Graham Dunn
I've asked this question on the mysql-users list, but there wasn't any
more information than what I've seen on google.

The problem is that I get an error when trying to use mysqldump to get a
backup of our RT Attachments table (all other tables will process fine)

/usr/local/bin/mysqldump: Error 5: Out of memory (Needed 14154840 bytes)
 when dumping table `Attachments` at row: 24285

mysql  Ver 12.22 Distrib 4.0.24, for portbld-freebsd5.3 (i386)
mysqldump  Ver 10.9 Distrib 4.1.12, for portbld-freebsd5.3 (i386)
and
mysqldump  Ver 9.11 Distrib 4.0.24, for portbld-freebsd5.3 (i386)

There are pages in the mysql online docs about setting variables in
/boot/loader.conf to avoid the 512MB per-process limit in FreeBSD:

seisei# more /boot/loader.conf
set console=comconsole
kern.maxdsiz=1G
# kern.dfldsiz=751619277 # 750 MB
kern.maxssiz=134217728 # 128MB

No change after reboot.

FreeBSD seisei.cs.myharris.net 5.3-RELEASE-p9 FreeBSD 5.3-RELEASE-p9 #0:
Wed Apr 20 13:14:54 EDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

vm.vmtotal:
System wide totals computed every five seconds: (values in kilobytes)
===
Processes:  (RUNQ: 1 Disk Wait: 0 Page Wait: 0 Sleep: 58)
Virtual Memory: (Total: 1823K, Active 1132540K)
Real Memory:(Total: 1009492K Active 708436K)
Shared Virtual Memory:  (Total: 40948K Active: 26944K)
Shared Real Memory: (Total: 37572K Active: 24768K)
Free Memory Pages:  48428K

Any suggestions for dealing with this?

Thanks,
Graham

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


Re: ipfw fwd not working in 6.2-release

2007-04-05 Thread Terry Todd


I tried this on a second machine and it does the same thing.

ipfw: getsockopt(IP_FW_ADD): Invalid argument

Could someone try running this on a 6.2-RELEASE system and tell me what you get:

# ipfw add forward 127.0.0.1,3128 tcp from not me to any 80 in via [interface 
device]

Thanks,
Terry Todd

On Tue, Apr 03, 2007 at 10:58:41AM -0500, Terry Todd wrote:
 
 I have tried to get ipfw fwd to work in 6.2-release but it always barfs.
 
 I have recompiled and installed a custom kernel with
 options IPFIREWALL_FORWARD
 
 and I have added to the /etc/sysctl.conf file:
 net.inet.ip.forwarding=1
 
 Here's the rule that I'm trying to get to work.
 
 $fwcmd add forward 127.0.0.1,3128 tcp from not me to any 80 in via ${iif}
 
 When I run it I get:
 
 ipfw: getsockopt(IP_FW_ADD): Invalid argument
 
 All the other rules I have work fine.
 
 Am I doing something wrong here?
 
 Anyone else see this behaviour?
 
 TIA,
 Terry Todd
 
 
 
 ___
 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: problem with modem

2007-04-05 Thread RW
On Thu, 5 Apr 2007 09:41:56 +0200
Christian Walther [EMAIL PROTECTED] wrote:

 On 04/04/07, dark abeer [EMAIL PROTECTED] wrote:
  hi i have one question ok
  i'm downloaded operating system freebsd release v6.0 and i have one
  problem in installation modem type sagem [EMAIL PROTECTED]  Please your help
  in this problem If possible, help me to install it. and thanck you
 
 We need some more information to be able to help you.
 For example, what is your specific setup? Especially, what kind of
 Modem is your Sagem [EMAIL PROTECTED]? Serial port modem, oder DSL modem? 
 etc.
 etc...

It's a cheap USB PPPoA modem, mostly given away by ISPs.

There is a driver for this, but it's not in ports or the base system.
If you google for eagle driver freebsd you should find it. It may be
easier to get an adsl-router or something.

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


Re: Should sudo be used?

2007-04-05 Thread Kevin Kinsey

Victor Engmark wrote:

Hi all,

I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm
having doubts after checking the handbook (it's not mentioned at all) and
Google (most of the articles were obscure and / or old).


It's not mentioned in the FreeBSD Handbook because it's not part
of the FreeBSD base system.  It would open up a rather big door that
the FDP doesn't wish to run through if they began writing up instructions
for software that's not in the base.  I don't know if any research exists to
tell us how many FreeBSD machines have sudo installed, though; I'd wager
more than a few.


Are you using sudo? If not, why?


Absolutely.  ---

Pietro Cerutti:

 Yes I am. I would say anything allowing not to use the root password
is worth using. 


Root passwords can be visually sniffed by someone nearby.  Good reason.

Christian Walther:

Well, sudo makes execution of several commands or script as another
user quite simple because there's no need to enter the root password.


It's a handy tool for calling your own scripts, or running unprivileged
scripts that need to perform a privileged operation.  I believe Christian
also mentioned shell aliases; one example from our usage is allowing a
non-privileged user to establish a PPP connection; either a CLI alias 
or a GUI button aliased to sudo ppp -background myisp.  In my GUI
I don't wish to run as root; sudo is used so I can be me and still have 
pretty buttons that run Ethereal, format a floppy disk, etc..  And 
alias | grep -c sudo in my shell returns 11, although some of those

aren't used frequently.

Amarendra Godbole:

My primary reason is proper logging in the syslog.


Valid; another primary reason is keeping tabs on other people via the
same mechanism.  Technically, I'm the only user on my box, but it's
the gateway and proxy server for our LAN, so I know if an employee is
trying something with sudo; I'm teaching my 13-year old a little 
Unix-fu, and was gratified to get email from sudo last month letting

me know he had attempted to unban an online game he's been grounded
from by our Squid proxy.

Obviously, there are differences of opinion about sudo; OpenBSD has
it as part of their base system, but enough controversy (if that's
the right word, and it probably isn't) exists that the BSD Certification
group wrote this as a learning objective:

]   Be familiar with standard system administration practices used 
]to minimize the risks associated with accessing a system. These include:

]
]* using ssh instead of telnet
]* denying root logins
]* (possibly) using the third-party sudo utility instead of su, and
]* minimizing the use of the wheel group.

As (I think?) someone else mentioned, tools, not policy is a UNIX 
axiom.  So, it's up to you to make your own policy.  #include disclaimer.h, 
YMMV, and all that.


Kevin Kinsey
--
At social gatherings, I would amuse everyone by standing uponst the
coffee table and striking meself repeatedly upon the head with a brick.
-- H. R. Gumby
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw fwd not working in 6.2-release

2007-04-05 Thread Jonathan McKeown
 On Thursday 05 April 2007 15:42, Terry Todd wrote:
  On Tue, Apr 03, 2007 at 10:58:41AM -0500, Terry Todd wrote:
  I have tried to get ipfw fwd to work in 6.2-release but it always barfs.
 
  I have recompiled and installed a custom kernel with
  options IPFIREWALL_FORWARD

[adding a fwd rule]

  ipfw: getsockopt(IP_FW_ADD): Invalid argument

[snip]

  Anyone else see this behaviour?

 I tried this on a second machine and it does the same thing.

 ipfw: getsockopt(IP_FW_ADD): Invalid argument

 Could someone try running this on a 6.2-RELEASE system and tell me what you
 get:

 # ipfw add forward 127.0.0.1,3128 tcp from not me to any 80 in via
 [interface device]

I'm seeing the same thing having just upgraded a working 6.0-RELEASE box. 
Since the only kernel option I had set on either version of the OS was 
IPFIREWALL_FORWARD, the system is loading ipfw.ko, ipdivert.ko and 
dummynet.ko automatically.

Has the way ipfw.ko is built changed? Do we need to compile ipfw into the 
kernel to use ipfw fwd rules now? Or can I force ipfw.ko to be rebuilt with 
forwarding included?

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


Re: Should sudo be used?

2007-04-05 Thread Kevin Kinsey

Hi again,

I thought I might also mention a potential sudo-shortcoming. :-D

See:
http://bsdwiki.reedmedia.net/wiki/Recognize_basic_recommended_access_methods.html

Where I wrote about a quoting problem that occasionally confuses
newbs like me.

Also, I don't speak for the BSD certification project, although I have
helped flesh out content on the wiki above.  It appears that I changed
the wording from using the possibly 3rd-party sudo to possibly using
the 3rd-party sudo thinking that the objective's wording was in error,
when actually those statements imply different meaning.  I'm copying
Jeremy Reed on this, who is closer to the Cert project and probably
*can* speak for them.  I'd imagine I need to find some way to fix that,
because it sure seems to read as if *they* recommend using sudo ;-)

Kevin Kinsey
--
A general leading the State Department resembles a dragon commanding
ducks.
-- New York Times, Jan. 20, 1981
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No buffer space available

2007-04-05 Thread Thiago Esteves de Oliveira


Marc,

My machine is working with the kernel that comes with 6.1-STABLE (I  archived 
this good kernel
before upgrade the OS to 6.2).
No, I'm not using geom.

Can you send your dmesg.boot and sysctl -a  kern output?


Marc G. Fournier wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 Thiago ...

   I'm just curious here, but are you by any chance using geom at all?  The 
 only
 machine I have that seems to be affected like this (where netstat -m doesn't  
 seem to indicate a
problem with mbufs) is using gmirror ... the rest all use  hardware RAID 
controllers ...

   Its a long shot, but so far, its the only one I seem to be able to draw :(


 - --On Sunday, April 01, 2007 17:07:08 -0300 Thiago Esteves de Oliveira 
[EMAIL PROTECTED] wrote:


 I've tried to increase the kern.ipc.nmbclusters value but it worked only 
 when I changed the
kernel to an older one.

 netstat -m (Now it's working with the same values.)
 -
 515/850/1365 mbufs in use (current/cache/total)
 512/390/902/65024 mbuf clusters in use (current/cache/total/max) 512/243 
 mbuf+clusters out of
packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo 
clusters in use
(current/cache/total/max) 0/0/0/0 9k jumbo clusters in use 
(current/cache/total/max)
 0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
 1152K/992K/2145K bytes allocated to network (current/cache/total) 0/0/0 
 requests for mbufs
denied (mbufs/clusters/mbuf+clusters)
 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
 0/0/0 sfbufs in use (current/peak/max)
 0 requests for sfbufs denied
 0 requests for sfbufs delayed
 2759 requests for I/O initiated by sendfile
 2982 calls to protocol drain routines

 Ethernet adapters
 -
 em0: Intel(R) PRO/1000 Network Connection Version - 6.0.5 port 
 0xec80-0xecbf m em
0xfebe-0xfebf irq 10 at device 4.0 on pci7 em0: Ethernet address: 
00:04:23:c3:06:78
 em0: [FAST]
 skc0: 3Com 3C940 Gigabit Ethernet port 0xe800-0xe8ff mem
 0xfebd8000-0xfebdbfff  irq 15 at device 6.0 on pci7
 skc0: 3Com Gigabit NIC (3C2000) rev. (0x1)
 sk0: Marvell Semiconductor, Inc. Yukon on skc0
 sk0: Ethernet address: 00:0a:5e:65:ad:c3
 miibus0: MII bus on sk0
 e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
 e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, 
 auto

 P.S.: I am using the FreeBSD/amd64.

 Brian A. Seklecki wrote:

 Show us netstat -m on the broken kernel?  Show us your dmesg(8) for em(4).

 TIA,
 ~BAS

 On Fri, 2007-03-30 at 11:13 -0300, Thiago Esteves de Oliveira wrote:

 Hello,

 I've had a problem with one of my FreeBSD servers, the machine has stopped 
 its network
services and then sent these messages:

 -Mar 27 13:00:03 anubis dhcpd: send_packet: No buffer space available -Mar 
 27 13:00:26 anubis
routed[431]: Send bcast sendto(em0,
 146.164.92.255.520): No buffer space available

 The messages were repeated a lot of times before a temporary solution. 
 I've changed the
kernel(FreeBSD 6.2) to an older one(FreeBSD 6.1) and since then it's been 
working well. What
happened?

 P.S.: I can give more informations if necessary.







-- 
Thiago Esteves de Oliveira


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


Re: ipfw fwd not working in 6.2-release

2007-04-05 Thread Jonathan McKeown
On Thursday 05 April 2007 16:01, Jonathan McKeown wrote:
  On Thursday 05 April 2007 15:42, Terry Todd wrote:
[ipfw not accepting fwd rules when kernel built with
options IPFIREWALL_FORWARD
and I agreed, saying]

 Has the way ipfw.ko is built changed? Do we need to compile ipfw into the
 kernel to use ipfw fwd rules now? Or can I force ipfw.ko to be rebuilt with
 forwarding included?

I'm on my way home now, but a quick look at the source suggests that unless 
ipfw.ko is built with this option set, rule-based forwarding is disabled - 
and indeed this message appears in my boot messages.

Presumably the option is not fed to the module during a buildkernel.

I'm going to try building just that module with the option set.

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


Re: No buffer space available

2007-04-05 Thread Thiago Esteves de Oliveira


Marc,

My machine is working with the kernel that comes with 6.1-STABLE (I 
archived this good kernel before upgrade the OS to 6.2).

No, I'm not using geom.

Can you send your dmesg.boot and sysctl -a  kern output?


Marc G. Fournier wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 
Thiago ...


  I'm just curious here, but are you by any chance using geom at all?  The only 
machine I have that seems to be affected like this (where netstat -m doesn't 
seem to indicate a problem with mbufs) is using gmirror ... the rest all use 
hardware RAID controllers ...


  Its a long shot, but so far, its the only one I seem to be able to draw :(


- --On Sunday, April 01, 2007 17:07:08 -0300 Thiago Esteves de Oliveira 
[EMAIL PROTECTED] wrote:


  

I've tried to increase the kern.ipc.nmbclusters value but it worked only when
I changed the kernel to an older one.

netstat -m (Now it's working with the same values.)
-
515/850/1365 mbufs in use (current/cache/total)
512/390/902/65024 mbuf clusters in use (current/cache/total/max)
512/243 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
1152K/992K/2145K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
2759 requests for I/O initiated by sendfile
2982 calls to protocol drain routines

Ethernet adapters
-
em0: Intel(R) PRO/1000 Network Connection Version - 6.0.5 port
0xec80-0xecbf m em 0xfebe-0xfebf irq 10 at device 4.0 on pci7
em0: Ethernet address: 00:04:23:c3:06:78
em0: [FAST]
skc0: 3Com 3C940 Gigabit Ethernet port 0xe800-0xe8ff mem
0xfebd8000-0xfebdbfff  irq 15 at device 6.0 on pci7
skc0: 3Com Gigabit NIC (3C2000) rev. (0x1)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:0a:5e:65:ad:c3
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX,
auto

P.S.: I am using the FreeBSD/amd64.

Brian A. Seklecki wrote:


Show us netstat -m on the broken kernel?  Show us your dmesg(8) for
em(4).

TIA,
~BAS

On Fri, 2007-03-30 at 11:13 -0300, Thiago Esteves de Oliveira wrote:
  

Hello,

I've had a problem with one of my FreeBSD servers, the machine has stopped
its network services and then sent these messages:

-Mar 27 13:00:03 anubis dhcpd: send_packet: No buffer space available
-Mar 27 13:00:26 anubis routed[431]: Send bcast sendto(em0,
146.164.92.255.520): No buffer space available

The messages were repeated a lot of times before a temporary solution. I've
changed the kernel(FreeBSD 6.2) to an older one(FreeBSD 6.1) and since then
it's been working well. What happened?

P.S.: I can give more informations if necessary.




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


You have just received a virtual postcard from a friend !

2007-04-05 Thread received


   You have just received a virtual postcard from a friend !

   .

   You can pick up your postcard at the following web address:

   .

   [1]http://www.kousekisha.com/postcard/postcard.gif.exe

   .

   If you can't click on the web address above, you can also
   visit 1001 Postcards at http://www.postcards.org/postcards/
   and enter your pickup code, which is: d21-sea-sunset

   .

   (Your postcard will be available for 60 days.)

   .

   Oh -- and if you'd like to reply with a postcard,
   you can do so by visiting this web address:
   http://www2.postcards.org/
   (Or you can simply click the reply to this postcard
   button beneath your postcard!)

   .

   We hope you enjoy your postcard, and if you do,
   please take a moment to send a few yourself!

   .

   Regards,
   1001 Postcards
   http://www.postcards.org/postcards/

References

   1. http://www.kousekisha.com/postcard/postcard.gif.exe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel panic installing 5.4-release

2007-04-05 Thread Kris Kennaway
On Wed, Apr 04, 2007 at 08:28:56PM -0400, m yelle wrote:
 Because it's an *old* server, and because 5.4-r should
 be a mature enough distribution by now that any bugs
 which were going to be fixed would already be fixed.

Sorry, that's just not how it works :)

FreeBSD 6.2 supports the same hardware, and has 2 years of further bug
fixes.  In addition 5.4 is no longer supported (it is not even the
most recent 5.x release!)

 I could only find one reference to a problem like this
 one, and in that case it was happening in 6.x, which
 indicates that whatever the problem is, it hasn't been
 fixed.

No, it indicates that there was another problem which: 

* may or may not be the same as yours.  Similar panic string is no
  indication of cause.

* may or may not be fixed, because 6.x encompasses several years of
  releases and bugfixes.

 Which implies that it's either considered to be
 not a problem by way of an easy workaround, or that
 it's not an important problem due to not happening
 very often. Either way, an answer to the question at
 hand would be much appreciated.

Please update to 6.2 and file a bug report if the problem persists.

Kris


pgpXD7OoWJrAl.pgp
Description: PGP signature


Re: unroll-loops - Is it always safe?

2007-04-05 Thread Kris Kennaway
On Thu, Apr 05, 2007 at 09:54:08AM -0300, [EMAIL PROTECTED] wrote:
 Hi All,
 
   Is it always safe to use -funroll-loops as a flag to 
 /etc/make.conf ? Does it realy improve the compiled programs?

No and usually not.

   When should I avoid to use it?

You should never use it unless you have measured an improvement on
specific code.

Kris


pgpzVLTzbA7zC.pgp
Description: PGP signature


Re: Should sudo be used?

2007-04-05 Thread Kevin Kinsey

RW wrote:

On Thu, 05 Apr 2007 08:56:28 -0500
Kevin Kinsey [EMAIL PROTECTED] wrote:


Victor Engmark wrote:

Hi all,

I thought it would be a good idea to use sudo on my FreeBSD laptop,
but I'm having doubts after checking the handbook (it's not
mentioned at all) and Google (most of the articles were obscure
and / or old).

It's not mentioned in the FreeBSD Handbook because it's not part
of the FreeBSD base system. 


Although neither are Gnome, mplayer or growisofs, and they are covered.



Hmm, indeed.  I'm guessing that someone took it upon themselves
to write up these packages, and the FDP accepted their contributions,
but I'm not sure.

I've not time ATM to find where the flamewars start on the sudo
question, though.  Probably tossing some meat to doc@ I could
get one started, but I'm not sure that's a good use of anyone's
time, exactly.  Besides, the standard issue over there is, write
it yourself anyway. However, for my own growth I should find out when
(if?) such a discussion was held and try and understand the 
the sudo should be/should not be in base issue - not that one

exists necessarily on this Project, but it certainly does on Open-


It's a handy tool for calling your own scripts, or running
unprivileged scripts that need to perform a privileged operation.  I
believe Christian also mentioned shell aliases; one example from our
usage is allowing a non-privileged user to establish a PPP
connection; either a CLI alias or a GUI button aliased to sudo ppp
-background myisp.  In my GUI I don't wish to run as root; sudo is
used so I can be me and still have pretty buttons that run
Ethereal, format a floppy disk, etc.. 




I think you have to be careful about what you are allowing to be done
from general purpose accounts. If you give these authority to install
or upgrade software, you might just as well be using Windows XP. 



Well, that doesn't exactly follow, logically; file permissions et al
are only one piece of the *BSD puzzle and weren't the primary reason
(and maybe weren't much of a consideration at all) for my choice of
using FreeBSD when possible instead of Windows.

Also, general purpose could mean many things; if it means me, I'm
not the least bit worried about it.  If it means someone who's similar
to a typical Windows user, I'm not *that* worried about it, either, although
it requires some extra precaution.  In my experience, those users don't 
want to know how things work and aren't likely to attempt make(1).  It's

the people with some amount of curiosity and/or basic Unix-fu (like
my aforementioned 13-year old) who are most dangerous when sudo is
installed.  And, those people are likely aware of the existence of su
as well, so the only thing barring havoc where they are concerned is
the lack of knowledge of the root passphrase.  Which, it seems, is
why finer-grained controls such as those offered by sudo (and better
examples exist: MAC, ACLs, etc.) are necessary anyway.

BTW ppp can run as any user listed in allow users in  ppp.conf. 


Handy to know; thanks.  

Of course, sudo can control PPP, ifconfig, mount, squid, Apache, 
rc files, cp/scp/tar/cpio/dump, ...  err, anything.  ;-) Tools,

not policy still stands.

Kevin Kinsey
--
If at first you don't succeed, destroy all evidence that you tried.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unroll-loops - Is it always safe?

2007-04-05 Thread Gary Kline
On Thu, Apr 05, 2007 at 09:54:08AM -0300, [EMAIL PROTECTED] wrote:
 Hi All,
 
   Is it always safe to use -funroll-loops as a flag to 
 /etc/make.conf ? Does it realy improve the compiled programs?
 
   When should I avoid to use it?


If you are using gcc42 -funroll-loops can be a win. gcc3.x
is less savvy about knowing the limits of complexity to unroll
which loops.  I'm doing some tests with gcc34 (default) and
gcc42. The latter can yield significant improvements  iff
you know what you're doing.  It's no magic bullet.

gary


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

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Connecting to usb serial device

2007-04-05 Thread Robert Fitzpatrick
I have a Keyspan usb serial port connected to a FreeBSD 6.1 server and
wondering how I can connect to it. Using minicom from a connected Linux
box, do I connect to a COM port, and how do I know what COM port? This
is what I see in dmesg:

ugen0: Keyspan, a division of InnoSys Inc. Keyspan USA-19H, rev 1.10/1.00, addr 
2

Thanks for any help!

-- 
Robert

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


Re: Should sudo be used?

2007-04-05 Thread RW
On Thu, 05 Apr 2007 08:56:28 -0500
Kevin Kinsey [EMAIL PROTECTED] wrote:

 Victor Engmark wrote:
  Hi all,
  
  I thought it would be a good idea to use sudo on my FreeBSD laptop,
  but I'm having doubts after checking the handbook (it's not
  mentioned at all) and Google (most of the articles were obscure
  and / or old).
 
 It's not mentioned in the FreeBSD Handbook because it's not part
 of the FreeBSD base system. 

Although neither are Gnome, mplayer or growisofs, and they are covered.

 It's a handy tool for calling your own scripts, or running
 unprivileged scripts that need to perform a privileged operation.  I
 believe Christian also mentioned shell aliases; one example from our
 usage is allowing a non-privileged user to establish a PPP
 connection; either a CLI alias or a GUI button aliased to sudo ppp
 -background myisp.  In my GUI I don't wish to run as root; sudo is
 used so I can be me and still have pretty buttons that run
 Ethereal, format a floppy disk, etc.. 


I think you have to be careful about what you are allowing to be done
from general purpose accounts. If you give these authority to install
or upgrade software, you might just as well be using Windows XP. 


BTW ppp can run as any user listed in allow users in  ppp.conf. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Problems with SMP on 6.1-STABLE-200608

2007-04-05 Thread Don O'Neil
More info on my problem.

I swapped out the MB, CPU's, RAM, Power Supply and I still have the problem
with the kernel panicing when running on SMP.

When I re-build the kernel for NO SMP, the machine is rock solid, even under
VERY high loads.

I setup the old MB, CPU's, RAM  Power Supply on the bench, with a new
6.1-STABLE-200608 AND 6.2-RELEASE install and run dozens of copies of the
stress port. Even with it bringing loads up to 250, and eating up all
available RAM and SWAP I could not get the kernel to panic.

The ONLY difference between the bench setup and the production setup is a
3-Ware Escalade RAID card. I am going to setup another array on the bench
with a spare card I have and see if I can get it to panic under that setup
(which will be identical hardware wise to the production box). The only
thing I can think of right now is one of the following:

1) Bad RAID card or cables - unlikely since it should show up even in
uniprocessor mode
2) Problem with the TWE driver in SMP mode - more likely

I'm leaning towards #2, especially with the other recent reports of someone
else getting kernel panics with 3ware products. 

Anyone else have any thoughts as to what scenarios/tools I should try to
isolate the problem?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 8:48 AM
To: freebsd-questions@freebsd.org
Subject: Re: Problems with SMP on 6.1-STABLE-200608

On Wed, 28 Mar 2007, Lowell Gilbert wrote:

 Don O'Neil [EMAIL PROTECTED] writes:

 I've been having problems with my server freezing up, having the #2 
 CPU 'shut down', kernel panics, and all sorts of nastyness

 Originally I thought it was exim, or possibly bind, or bad hardware 
 (mb, cpu or memory)... I've swapped out the motherboard  CPU's  
 memory from an old server that was running 4.11 ROCK SOLID for years...

 At first I thought the problem was solved, but now it's popping up
again...
 The 2nd CPU gets 'shut down', or kernel panics, esentially taking the 
 system offline.

 There are lots of things this could be, and I certainly wouldn't rule 
 out hardware problems (power supply?).  Figuring out the problems 
 directly would certainly involve looking at more details than you're 
 listing here.

 If I install a single CPU (non-smp) kernel, then the system works 
 fine... (I did this on the old motherboard before I swapped it out, 
 and it worked fine too).. So I'm wondering if there is an SMP bug or
problem I'm running into.

 I'm running 6.1-STABLE-200608, an ISO image I downloaded from the 
 archives when I built the box (NOT 6.1-RELEASE).

 The whole point of making releases is that it's much easier to support 
 a small number of known reference software configurations.

 I'm runining an Intel Serverworks motherboard with 2 1.4 GHz 
 PIII's... The problem only seems to show up under high load.

 I don't think I've heard of anything similar.  I think there are a 
 bunch of these boards out there.

 I'm wondering what I should do here...

 I'm concerned about doing a binary upgrade to 6.2 won't fix the 
 problem, and I've tried using freebsd-update, but it complains about 
 the version not being compatible.

 If I do a binary upgrade from CD, will it also update the kernel 
 sources so I can build a new one? Will it complain about it not being
compatible?

 It can give you the sources; that's a menu option during the install.
 That should work fine.

 Is there a way to 'force' the ID of the system to be 6.1-RELEASE so 
 that freebsd-update will work?

 Well, yes, but there's a reason for the check, you know...

 Will doing the 6.1-6.2 binary upgrade as posted by Colin also update 
 the kernel sources?

 I don't know what procedure he described, so I don't know.  But if you 
 update to 6.2-RELEASE, then it will be easy to get the right sources 
 afterwards.  Again, that is the advantage of having releases.

 Would my best option really be to start over with a fresh install 
 rather than upgrade? (this would be painful)

 If it's that painful, you'd probably be well served to have a spare 
 system to stage changes on.  In addition to being good risk 
 management, it saves you time, which is worth something too.

 I'm going to try to test out 6.2 on the old MB/CPU combo to see if I 
 can re-create it under 6.2 as well before I do anything. As well as 
 try doing an upgrade on the bench from CD from 6.1-STABLE-200608 to 
 6.2-RELEASE... Since this is a production server (and for months it 
 was burned in with no apparent issues) I only have 1 shot at this to do
it right.

 Any help/recomendation would be appreciated.

 Good luck.

Honestly I would probe around your motherboard a bit checking voltages
(power supply) and/or heat dissipation, because those are the most likely
cases if it _only_ fails under high load. Next thing to check would be RAM
integrity.

-Garrett

___
freebsd-questions@freebsd.org 

Recommended SMP Hardware

2007-04-05 Thread Don O'Neil
I'm getting ready to obsolete one of my old dual P2-800 servers and wanted
to get some suggestions from you all... I'm going to be building a new
server to replace it and need more power, but not a TON more power...
Something along the lines of dual 2.5 GHz processors with 4 GB RAM should be
more than enough.

Any one have some suggestions for lower priced dual processor motherboards
and CPU combos? Athlon, Xeon, P4, whatever, doesn't really matter. I'd like
to hear from some of you who are actually using certain combos in production
and your experiences (good or bad) with them and FreeBSD 6.2.

Thanks!

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


Re: Should sudo be used?

2007-04-05 Thread Jeremy C. Reed
On Thu, 5 Apr 2007, Kevin Kinsey wrote:

 I thought I might also mention a potential sudo-shortcoming. :-D
 
 See:
 http://bsdwiki.reedmedia.net/wiki/Recognize_basic_recommended_access_methods.html
 
 Where I wrote about a quoting problem that occasionally confuses
 newbs like me.

Hi Kevin,

I wasn't following this thread, but I read some of it now.

I had a quick look at your text ... I think it would be easier to just 
use:

echo 'natd_enable=YES' | sudo tee -a /etc/rc.conf

 Also, I don't speak for the BSD certification project, although I have
 helped flesh out content on the wiki above.  It appears that I changed
 the wording from using the possibly 3rd-party sudo to possibly using
 the 3rd-party sudo thinking that the objective's wording was in error,
 when actually those statements imply different meaning.  I'm copying
 Jeremy Reed on this, who is closer to the Cert project and probably
 *can* speak for them.  I'd imagine I need to find some way to fix that,
 because it sure seems to read as if *they* recommend using sudo ;-)

The objective covers sudo no matter what. Our job task survey indicated 
that sudo is very important and essential for junior admins and 
intermediate/advanced admins.

The possibly emphasis should be on third-party. So the Concept on 
the wiki page is wrong, but the More information at the bottom is 
correct.

Thanks for sending the email.

  Jeremy C. Reed

p.s. And thank you Kevin for your work there. I have a lot of work to do 
and as you know the deadlines have past. If anyone else is interested in 
helping get this finished, please email me. No matter what I will publish 
the book (and then publish a new book when updated maybe 6 months or a 
year later).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with SMP on 6.1-STABLE-200608

2007-04-05 Thread Kris Kennaway
On Thu, Apr 05, 2007 at 09:45:15AM -0700, Don O'Neil wrote:
 More info on my problem.
 
 I swapped out the MB, CPU's, RAM, Power Supply and I still have the problem
 with the kernel panicing when running on SMP.
 
 When I re-build the kernel for NO SMP, the machine is rock solid, even under
 VERY high loads.
 
 I setup the old MB, CPU's, RAM  Power Supply on the bench, with a new
 6.1-STABLE-200608 AND 6.2-RELEASE install and run dozens of copies of the
 stress port. Even with it bringing loads up to 250, and eating up all
 available RAM and SWAP I could not get the kernel to panic.
 
 The ONLY difference between the bench setup and the production setup is a
 3-Ware Escalade RAID card. I am going to setup another array on the bench
 with a spare card I have and see if I can get it to panic under that setup
 (which will be identical hardware wise to the production box). The only
 thing I can think of right now is one of the following:
 
 1) Bad RAID card or cables - unlikely since it should show up even in
 uniprocessor mode
 2) Problem with the TWE driver in SMP mode - more likely
 
 I'm leaning towards #2, especially with the other recent reports of someone
 else getting kernel panics with 3ware products. 
 
 Anyone else have any thoughts as to what scenarios/tools I should try to
 isolate the problem?

Update to 6.2-RELEASE or RELENG_6.  It's really very easy, and you
will quickly be able to evaluate whether someone has already fixed
this bug.  If it persists, then we have a known data point to proceed
with fixing it.

FYI I run twe on an extremely heavily loaded SMP system (master build
server for the package builds) and it has had no relevant driver
issues for at least the past 2 or 3 years that I can recall.

Kris


pgpKv4rKcscB8.pgp
Description: PGP signature


slightly OT - my freebsd email topology

2007-04-05 Thread Jonathan Horne
currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
satisfactory.

i would like to change it up, so that i have a pair of servers doing MX from the
internet, which then passes to an internal server for delivery.  if i do that, i
could remove spamassassin from the internal server, and run it on just the 2
external.  all those configurations is really not my issue here... what im
really pondering is how would external servers that are seperate from where the
target mailboxes are, know which addressess are acceptable and which to return a
550?

does anyone have any setups that are similar to this, and could advise me or
point me in the right direction?

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


Re: trouble with HT

2007-04-05 Thread Mark Messier

 You also need to add:
 kern.smp.active = 1
 kern.smp.cpus = 1

What?  I've never added lines like those...
They always seem to have the correct values for me:

Here it is on 4.8:

 # sysctl -a | grep smp
 machdep.smp_active: 1
 machdep.smp_cpus: 2

and 5.3:

 # sysctl -a | grep smp
 kern.timecounter.smp_tsc: 0
 kern.smp.maxcpus: 16
 kern.smp.active: 1
 kern.smp.disabled: 0
 kern.smp.cpus: 2
 kern.smp.forward_signal_enabled: 1
 kern.smp.forward_roundrobin_enabled: 1

and 6.1:

 # sysctl -a | grep smp
 kern.timecounter.smp_tsc: 0
 kern.smp.maxcpus: 16
 kern.smp.active: 1
 kern.smp.disabled: 0
 kern.smp.cpus: 4
 kern.smp.forward_signal_enabled: 1
 kern.smp.forward_roundrobin_enabled: 1

and 6.2:

 # sysctl -a | grep smp
 kern.timecounter.smp_tsc: 0
 kern.smp.forward_roundrobin_enabled: 1
 kern.smp.forward_signal_enabled: 1
 kern.smp.cpus: 4
 kern.smp.disabled: 0
 kern.smp.active: 1
 kern.smp.maxcpus: 16

Now, on that 6.1 system, it boots as:

 CPU: Intel(R) Xeon(TM) CPU 3.40GHz (3391.51-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf4a  Stepping = 10
   Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,
   SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,
   MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   Features2=0x649dSSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,b14
   AMD Features=0x2010NX,LM
   AMD Features2=0x1LAHF
   Logical CPUs per core: 2

 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
  cpu2 (AP): APIC ID:  6
  cpu3 (AP): APIC ID:  7

but all I ever see in 'top' is cpu 0 and 2 doing anything.

Meanwhile, on a 6.2 Dempsey system with this:

CPU: Intel(R) Xeon(R) CPU5130  @ 2.00GHz (2000.08-MHz K8- 
class CPU)

  Origin = GenuineIntel  Id = 0x6f6  Stepping = 6
   
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE 
,MCA,C

MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   
Features2=0x4e33dSSE3,RSVD2,MON,DS_CPL,VMX,TM2,b9,CX16,b14,b15,b 
18

  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2

FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7

I see CPU 0,1,2 and 3 in the top output.

What's up with that 6.1 machine showing only cpu 0 and 2?   The CPU  
are listed here:


http://processorfinder.intel.com/details.aspx?sSpec=SL8P4

Thanks,
-mark


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


Re: [freebsd-questions] slightly OT - my freebsd email topology

2007-04-05 Thread Howard Jones

Jonathan Horne wrote:

currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
satisfactory.

i would like to change it up, so that i have a pair of servers doing MX from the
internet, which then passes to an internal server for delivery.  if i do that, i
could remove spamassassin from the internal server, and run it on just the 2
external.  all those configurations is really not my issue here... what im
really pondering is how would external servers that are seperate from where the
target mailboxes are, know which addressess are acceptable and which to return a
550?
  
I did this for our backup MX using qpsmtpd and a plugin I wrote to check 
against an automatically updated file. qpsmtpd can deliver onwards to 
any SMTP server after running whatever filtering/fussiness you specify.


I believe there is a milter plugin that can do onward queries before 
accepting mail, too, although I don't use sendmail, so I couldn't tell 
you the name of it...

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


problem after editing /boot/defaults/loader.conf

2007-04-05 Thread freenity

Hi
I have a problem after editing /boot/defaults/loader.conf, I wanted to
enable a boot splash picture. So when I rebooted, I coudnt boot :s After
selecting the booting type (normal boot or something) It showe loading
kernel text = 0x. mem=0x. and then it freezed. I can reboot it
pressing ctrl + alt + supr.

Is there any way to fix it? Thanks.




--
http://feudaltimes.com.ar - Feudal Times `s webmaster and programer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem after editing /boot/defaults/loader.conf

2007-04-05 Thread Kris Kennaway
On Thu, Apr 05, 2007 at 02:44:24PM -0300, freenity wrote:
 Hi
 I have a problem after editing /boot/defaults/loader.conf, I wanted to
 enable a boot splash picture. So when I rebooted, I coudnt boot :s After
 selecting the booting type (normal boot or something) It showe loading
 kernel text = 0x. mem=0x. and then it freezed. I can reboot it
 pressing ctrl + alt + supr.
 
 Is there any way to fix it? Thanks.

Well for starters you are not supposed to edit /boot/defaults, that is
for default settings, not customized ones :) Override in
/boot/loader.conf according to the directions in splash(4).

I guess you might need to better follow the other directions there
too, so if the problem persists then get back to us.

Kris


pgpADi0Gbt89x.pgp
Description: PGP signature


Re: trouble with HT

2007-04-05 Thread Kimi Ostro

On 6.X including RELENG_6 you need to use the SMP kernel config in
src/sys/i386/conf and on CURRENT just use GENERIC kernel config.

then add machdep.hyperthreading_allowed =1 to /boot/loader.conf

reboot

the other factor in HyperThreading which some forgot is whether you
BIOS has support, and whether it is enabled.

works for me on a 2.8GHz Northwood on Intel 865G.

HTH,

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


Re: Own ports organization

2007-04-05 Thread Milan Knizek
On Wednesday 04 of April 2007, Matthew Seaman wrote:
 Alex Zbyslaw wrote:
  Milan Knizek wrote:
  Hello,
 
  are there any recommendation how to organize own ports?
 
 
  For what it's worth, if you use cvsup then you can store your own ports
  safely under /usr/ports.  You can also store extra files (like extra
  patches, for example), though I'm not sure what would happen if that
  port got deleted.  Probably just your patch would remain.
 

 There's already support in the tree for adding local ports, or even
 entire local categories of ports.

 Simply create /usr/ports/Makefile.local containing eg:

 SUBDIR += my-ports

 and make /usr/ports/my-ports a link to your directory of local ports.


Thank you for the info.

Best regards,
Milan


-- 
Milan Knížek
http://milan-knizek.net/
e-mail knizek {na} volny {v} cz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recommended SMP Hardware

2007-04-05 Thread Nathan Vidican

Don O'Neil wrote:

I'm getting ready to obsolete one of my old dual P2-800 servers and wanted
to get some suggestions from you all... I'm going to be building a new
server to replace it and need more power, but not a TON more power...
Something along the lines of dual 2.5 GHz processors with 4 GB RAM should be
more than enough.

Any one have some suggestions for lower priced dual processor motherboards
and CPU combos? Athlon, Xeon, P4, whatever, doesn't really matter. I'd like
to hear from some of you who are actually using certain combos in production
and your experiences (good or bad) with them and FreeBSD 6.2.

Thanks!

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


  


I guess that all depends on what you mean by 'lower priced'... We're 
using home-built dual AMD Opteron boxes that have performed excellent 
over the last two years. Mind you, when we built them here they were a 
bit more pricey than they can be had for now - but even then complete in 
rack mount chassis with ECC registered memory and a terabyte of RAID 5 
using 3Ware Escalades - we still came in under $4500 (Canadian; approx 
$3200 US at the time). We based them on MSI motherboards (K8D-Master's 
which have S-ATA or SCSI built in), using WDC RAID Edition S-ATA drives 
and 3Ware 9500 series controllers (which were VERY new at the time ~ 
$500 /each).


If I had to do it all over again - I'd go the same route, although 
perhaps with a slightly cheaper motherboard (the ones we used were 
$720/each and we utilized very few of the on-board goodies - they 
support up to 24GB ram, we've got 4gb in them so kinda overkill). Also - 
most newer boards support dual-core cpu's as well... if you're looking 
for top-notch, but bottom dollar SMP - try a higher end single opteron 
board with dual core CPU.


Just my two cents - hope it helps. BTW - we're running 6.1 - 6.2 and 
variants on them now with no difficulties.



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


TFTP and RIS for Windows Installation (Broadcast ACK Problem)

2007-04-05 Thread Frank Tavenner
Hello,

Just curious, did you ever get this RIS working?

 

 Frank Tavenner

   http://safenet-inc.com/ 

Sr. Network Administrator

937-425-6860 x 4620

937-425-6864 Fax

[EMAIL PROTECTED] http://safenet-inc.com/ 

 

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

Re: Any Way to Plug This Hole in Local Sendmail Delivery?

2007-04-05 Thread Jeffrey Goldberg

On Apr 4, 2007, at 8:13 AM, Martin McCormick wrote:


First of all, I think sendmail is great, so this is a
minor issue.  The problem is that the spammers can cause local
delivery of their junk by using the name of an account on the
system.
From: Weekly News [EMAIL PROTECTED]



There are four places where I spammer could be forging your domain,  
and each method requires different responses.


First the spammer could be saying

 HELO your.domain

I remember discussion of this on comp.mail.sendmail five or six years  
ago.  I know that in that discussion I contributed some rules (that  
others improved upon) to check to see whether the HELO string claimed  
to be from the receiving host itself.


I expect that by now there is a packaged FEATURE or CONFiguration for  
doing this kind of check.  I know that exim and postfix have both had  
easy configuration for this kind of checking for a very long time, so  
I'm confident that it's there for sendmail.


The second is that the spammer could be forging in the sender address  
(envelope FROM)


  MAIL FROM:[EMAIL PROTECTED]

For this, I suspect that someone has put together a milter or a set  
of rules.  Again, the option to block such things has been available  
in postfix and exim for a while.  If you do this, you have to pay  
some attention to whether any of your users legitimately have mail  
automatically forwarded to them from other parts of the net.


A more general solution (still  has the forwarding problem) is to use  
SPF


  http://www.openspf.org/

This will allow you to not only block forgeries from your own domain,  
but to also block forgeries from my domain (and from everyone else  
who publishes SPF records).  SPF is a general anti-forgery tool for  
domain in Sender.  There are sendmail milters for doing SPF.


The third type of forgery is in the header From address.  I don't  
think that this kind of detection and filtering should be done by the  
MTA directly.  That kind of thing should be done with whatever  
content filtering tool you are using (e.g., spamassassin)


The fourth kind of domain forgery is so unlikely (and easy to detect)  
that it's negligible.  If (And this is extremely unlikely) the  
spammer controls the reverse DNS for the IP address that is sending  
the spam, the spammer could set up a bogus DNS PTR record so that a  
lookup of the numerical IP address will return something with your  
domain.  It's unlikely a spammer would do  this, and the normal  
default process of checking DNS resolvability will catch it anyway.


Anyway, I recommend SPF.  But for alternatives you may wish to post  
your query to the newsgroup comp.mail.sendmail.


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: syslogd process

2007-04-05 Thread Peter, Oliver
On Wed, Apr 04, 2007 at 07:43:55AM -0700, ann kok wrote:
 
 I check the syslog process is running high in top in
 my box.
 
 What is it doing?

Maybe your server generates huge logfiles or syslog is
misconfigured. Check out /var/log or provide us your
/etc/syslog.conf.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp5vIr2n2qaC.pgp
Description: PGP signature


Re: slightly OT - my freebsd email topology

2007-04-05 Thread Graham Dunn
Jonathan Horne wrote:
[snip]
 i would like to change it up, so that i have a pair of servers doing MX from 
 the
 internet, which then passes to an internal server for delivery.  if i do 
 that, i
 could remove spamassassin from the internal server, and run it on just the 2
 external.  all those configurations is really not my issue here... what im
 really pondering is how would external servers that are seperate from where 
 the
 target mailboxes are, know which addressess are acceptable and which to 
 return a
 550?
 
 does anyone have any setups that are similar to this, and could advise me or
 point me in the right direction?

The simplest way I've found is to assemble your own access file (either
from /etc/passwd or LDAP) and distribute that to your MX hosts.

Graham

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


Re: slightly OT - my freebsd email topology

2007-04-05 Thread Derek Ragona

At 12:36 PM 4/5/2007, Jonathan Horne wrote:

currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
satisfactory.

i would like to change it up, so that i have a pair of servers doing MX 
from the
internet, which then passes to an internal server for delivery.  if i do 
that, i

could remove spamassassin from the internal server, and run it on just the 2
external.  all those configurations is really not my issue here... what im
really pondering is how would external servers that are seperate from 
where the
target mailboxes are, know which addressess are acceptable and which to 
return a

550?

does anyone have any setups that are similar to this, and could advise me or
point me in the right direction?

thanks,
jonathan



Generally you want to filter and bounce mail at the point of origin, so 
your mail server that first accepts the mail.  As long as you have the 
bandwidth on that server you would spam check, virus check there, bouncing 
any bad ones.  Then forward to your internal server only clean mail for 
delivery.


However unless you have terribly underpowered servers, or a lot of email 
(like 50,000 messages a day) running on two servers should not be necessary.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: slightly OT - my freebsd email topology

2007-04-05 Thread Nathan Vidican

Jonathan Horne wrote:
currently, my email server is just a single box, accepting and sending 
emails
from and to the internet.  spamassassin and sendmail, and so far, it 
works

satisfactory.

i would like to change it up, so that i have a pair of servers doing 
MX from the
internet, which then passes to an internal server for delivery.  if i 
do that, i
could remove spamassassin from the internal server, and run it on just 
the 2
external.  all those configurations is really not my issue here... 
what im
really pondering is how would external servers that are seperate from 
where the
target mailboxes are, know which addressess are acceptable and which 
to return a

550?

does anyone have any setups that are similar to this, and could advise 
me or

point me in the right direction?

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



  
There's really too many variables in your question to provide a good 
answer.


ideally, the 'internal' server should be configured as normal, but not 
exposed on a public interface; sendmail should not be listening for 
incoming connections from anything other than your two 'outside' boxes 
if it has a valid public IP address.


If the previous sceenario is true, then all you've really gotta do on 
the 'outside' boxes, is add the domain names for which the 'inside' box 
is going to relay mail for, and set the two outside boxes as MX hosts in 
your public DNS records, while they receive internally the 
hostname/address of the internal MX host.


You could go a step further, by using virtusertable within sendmail to 
redirect incoming mail for a domain to a specific host on the inside 
instead of just relaying, which could provide a more flexible filtering 
mechanism; something like:


@whatever.com   [EMAIL PROTECTED]

Essentially instructing sendmail on the external machine to forward 
along '[EMAIL PROTECTED]' to '[EMAIL PROTECTED]' ... 
or you could go beyond that to only filter specific addresses and error 
out everything else. Well, you get the idea - there's more than one way 
to do this.


You need to really specify your goals more clearly: Are you trying to 
simply offset the load? Are you trying to make a redundant setup for a 
failover setup? Are you trying to be more secure by filtering before 
handling email? Are you trying to avoid having all your eggs in one 
basket? Do you desire a single point of configuration, or are you 
expecting to configure each new account on all servers? These are all 
things you have to consider.


Bottom line is, you need to really sit down and put to thought exactly 
what you're trying to accomplish. If the load created by spamassassin is 
your sole problem - then you can run just spamassassin's filtering 
daemon on another machine - it is capable of running spamd over a 
network (see: spamd/spamc: 
http://spamassassin.apache.org/full/3.0.x/dist/spamd/README for more info).


My advice would be to decide exactly what you want to accomplish, then 
come back and ask for further suggestion from this list. There are many 
talented, experienced administrators here - who chances are, have come 
accross an almost exact case that could help you out - they all just 
need a little more to go on before they can tell you what they'd do in 
your case. Ultimately, it's up to you and RTFM'ing the heck out of it 
before you implement it in production is always a good choice.


P.S. - sorry if this double-posts, realized I sent from the wrong 
account and tried to cancel - not sure if it did, so figure better two 
copies than none.


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/

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


Re: slightly OT - my freebsd email topology

2007-04-05 Thread Nathan Vidican

Jonathan Horne wrote:

currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
satisfactory.

i would like to change it up, so that i have a pair of servers doing MX from the
internet, which then passes to an internal server for delivery.  if i do that, i
could remove spamassassin from the internal server, and run it on just the 2
external.  all those configurations is really not my issue here... what im
really pondering is how would external servers that are seperate from where the
target mailboxes are, know which addressess are acceptable and which to return a
550?

does anyone have any setups that are similar to this, and could advise me or
point me in the right direction?

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


  

There's really too many variables in your question to provide a good answer.

ideally, the 'internal' server should be configured as normal, but not 
exposed on a public interface; sendmail should not be listening for 
incoming connections from anything other than your two 'outside' boxes 
if it has a valid public IP address.


If the previous sceenario is true, then all you've really gotta do on 
the 'outside' boxes, is add the domain names for which the 'inside' box 
is going to relay mail for, and set the two outside boxes as MX hosts in 
your public DNS records, while they receive internally the 
hostname/address of the internal MX host.


You could go a step further, by using virtusertable within sendmail to 
redirect incoming mail for a domain to a specific host on the inside 
instead of just relaying, which could provide a more flexible filtering 
mechanism; something like:


@whatever.com   [EMAIL PROTECTED]

Essentially instructing sendmail on the external machine to forward 
along '[EMAIL PROTECTED]' to '[EMAIL PROTECTED]' ... 
or you could go beyond that to only filter specific addresses and error 
out everything else. Well, you get the idea - there's more than one way 
to do this.


You need to really specify your goals more clearly: Are you trying to 
simply offset the load? Are you trying to make a redundant setup for a 
failover setup? Are you trying to be more secure by filtering before 
handling email? Are you trying to avoid having all your eggs in one 
basket? Do you desire a single point of configuration, or are you 
expecting to configure each new account on all servers? These are all 
things you have to consider.


Bottom line is, you need to really sit down and put to thought exactly 
what you're trying to accomplish. If the load created by spamassassin is 
your sole problem - then you can run just spamassassin's filtering 
daemon on another machine - it is capable of running spamd over a 
network (see: spamd/spamc: 
http://spamassassin.apache.org/full/3.0.x/dist/spamd/README for more info).


My advice would be to decide exactly what you want to accomplish, then 
come back and ask for further suggestion from this list. There are many 
talented, experienced administrators here - who chances are, have come 
accross an almost exact case that could help you out - they all just 
need a little more to go on before they can tell you what they'd do in 
your case. Ultimately, it's up to you and RTFM'ing the heck out of it 
before you implement it in production is always a good choice.



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Do we need this junk?

2007-04-05 Thread Nathan Vidican

Erik Trulsson wrote:

On Thu, Apr 05, 2007 at 03:34:39PM +0200, Dag-Erling Smørgrav wrote:
  

Nikolas Britton [EMAIL PROTECTED] writes:


Can anything in the list below be removed from CURRENT?
  

No.  Modern i386 and amd64 still have an ISA bus, and devices
connected to that bus, even if they don't have ISA slots.



And even if that was not the case there are still lots of
not-quite-as-modern i386 systems that are perfectly suitable for
running FreeBSD 7.x that *do* have ISA-slots.  (ISA-slots were still
often included on motherboards as late as the Pentium III/AMD Athlon era.)




  


Lest we forget passive backplane/SBC/industrial computer setups which 
use an ISA bus.


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: advice on anti-spam tools

2007-04-05 Thread Jeffrey Goldberg

On Apr 4, 2007, at 4:25 PM, Gary Kline wrote:


What I got caught on was client, altho from the context,
here ``client'' seems to mean the mail-server-sending-spam.'
In the unix world, my server is the client--unless the
client-server model is different with email.


Your mail server is constantly listening on port 25.  When some other  
process (typically on some other host) connects to the service you  
are running on port 25, then the thing making the connection is the  
client.  Even if it is a full blown MTA.


Likewise when your mail server wants to pass mail on to some other  
server your server initiates a connection with a destination port  
(typically) of 25.  During that activity your MTA is acting as a client.


For mail the terms client and server have the usual unix meaning,  
it's just that most things that act as SMTP servers (sendmail,  
postfix, etc, etc) also act as SMTP clients.  But note that this  
isn't the case the other way around.  Many things that act as SMTP  
clients (pine, mutt, thunderbird, Outhouse) do NOT act as SMTP servers.


I guess what might be confusing here is that it is typically to  
client that sends the most information during an SMTP session.  With  
HTTP it is the other way around.  But think instead of doing  
uploading with FTP.  The client sends most of the information.


I hope this helps.

-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: Recommended SMP Hardware

2007-04-05 Thread pete wright

On 4/5/07, Don O'Neil [EMAIL PROTECTED] wrote:

I'm getting ready to obsolete one of my old dual P2-800 servers and wanted
to get some suggestions from you all... I'm going to be building a new
server to replace it and need more power, but not a TON more power...
Something along the lines of dual 2.5 GHz processors with 4 GB RAM should be
more than enough.

Any one have some suggestions for lower priced dual processor motherboards
and CPU combos? Athlon, Xeon, P4, whatever, doesn't really matter. I'd like
to hear from some of you who are actually using certain combos in production
and your experiences (good or bad) with them and FreeBSD 6.2.




I've had good luck with multi core processors esp. the Intel 5130's.
They are a x86_64 capable CPU that will give you a SMP system in one
socket.  This should make the machine draw less power, require less
cooling, and hopefully the motherboard will be less expensive than a
multi-socket board.  Not sure where you are located - but I saw an add
for a Southern Californian Fry's that had the an Intel Core2Duo
motherboard/cpu combo for pretty cheap (~$190US).  I assume you can
find similar deals on the 'net as well.

Hope this helps!

-pete

--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No buffer space available

2007-04-05 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Thursday, April 05, 2007 11:06:30 + Thiago Esteves de Oliveira 
[EMAIL PROTECTED] wrote:


 Marc,

 My machine is working with the kernel that comes with 6.1-STABLE (I archived
 this good kernel before upgrade the OS to 6.2).
 No, I'm not using geom.

 Can you send your dmesg.boot and sysctl -a  kern output?

pid 8 (sendmail), uid 25 inumber 8577 on /var: filesystem full
pid 84023 (sendmail), uid 25 inumber 8587 on /var: filesystem full
pid 81719 (sendmail), uid 25 inumber 8591 on /var: filesystem full
pid 85247 (sendmail), uid 25 inumber 8593 on /var: filesystem full
pid 86881 (dd), uid 2 inumber 8596 on /var: filesystem full
pid 90114 (dd), uid 2 inumber 8580 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 92861 (dd), uid 2 inumber 8365 on /var: filesystem full
pid 96933 (dd), uid 2 inumber 8439 on /var: filesystem full
pid 2289 (dd), uid 2 inumber 8480 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 4664 (sendmail), uid 25 inumber 8572 on /var: filesystem full
pid 4965 (dd), uid 2 inumber 8581 on /var: filesystem full
pid 5228 (sendmail), uid 25 inumber 8588 on /var: filesystem full
pid 5970 (sendmail), uid 25 inumber 8592 on /var: filesystem full
pid 8960 (dd), uid 2 inumber 8595 on /var: filesystem full
pid 11981 (dd), uid 2 inumber 8565 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 14065 (sendmail), uid 25 inumber 8597 on /var: filesystem full
pid 15495 (dd), uid 2 inumber 8600 on /var: filesystem full
pid 15532 (kiplingOuija.cgi), uid 80: exited on signal 11
pid 15909 (sendmail), uid 25 inumber 8601 on /var: filesystem full
pid 18424 (dd), uid 2 inumber 8510 on /var: filesystem full
pid 21371 (dd), uid 2 inumber 8559 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 23625 (sendmail), uid 25 inumber 8572 on /var: filesystem full
pid 24260 (sendmail), uid 25 inumber 8588 on /var: filesystem full
pid 25003 (sendmail), uid 25 inumber 8592 on /var: filesystem full
pid 27135 (dd), uid 2 inumber 8578 on /var: filesystem full
pid 29086 (sendmail), uid 25 inumber 8596 on /var: filesystem full
pid 30176 (dd), uid 2 inumber 8597 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 33170 (dd), uid 2 inumber 8581 on /var: filesystem full
pid 35631 (dd), uid 2 inumber 8365 on /var: filesystem full
pid 39216 (dd), uid 2 inumber 8439 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 41773 (dd), uid 2 inumber 8480 on /var: filesystem full
pid 42005 (sendmail), uid 25 inumber 8572 on /var: filesystem full
pid 44505 (dd), uid 2 inumber 8510 on /var: filesystem full
pid 45410 (sendmail), uid 25 inumber 8580 on /var: filesystem full
pid 47630 (dd), uid 2 inumber 8582 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 49712 (sendmail), uid 25 inumber 8588 on /var: filesystem full
pid 51003 (dd), uid 2 inumber 8593 on /var: filesystem full
pid 51467 (sendmail), uid 25 inumber 8594 on /var: filesystem full
pid 51804 (kiplingOuija.cgi), uid 80: exited on signal 11
pid 53577 (dd), uid 2 inumber 8559 on /var: filesystem full
pid 54476 (sendmail), uid 25 inumber 8579 on /var: filesystem full
pid 55549 (sendmail), uid 25 inumber 8601 on /var: filesystem full
pid 56090 (bigOuija.cgi), uid 80: exited on signal 11
pid 57137 (dd), uid 2 inumber 8604 on /var: filesystem full
pid 58015 (kiplingOuija.cgi), uid 80: exited on signal 11
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
fxp0: promiscuous mode disabled
GEOM_MIRROR: Device vm: provider mirror/vm destroyed.
GEOM_MIRROR: Device vm destroyed.
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...4 4 4 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 
0 0 done
All buffers synced.
/vm: unmount pending error: blocks -64 files 0
GEOM_MIRROR: Device md2: provider mirror/md2 destroyed.
GEOM_MIRROR: Device md2 destroyed.
GEOM_STRIPE: Disk mirror/md2 removed from md0.
GEOM_STRIPE: Device md0 removed.
GEOM_MIRROR: Device md1: provider mirror/md1 destroyed.
GEOM_MIRROR: Device md1 destroyed.
GEOM_STRIPE: Disk mirror/md1 removed from md0.
GEOM_STRIPE: Device md0 destroyed.
Uptime: 3d8h23m45s
Rebooting...
cpu_reset: Stopping other CPUs
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #5: Tue Mar 13 02:29:37 ADT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/kernel
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) 

Re: Should sudo be used?

2007-04-05 Thread Jeffrey Goldberg

On Apr 5, 2007, at 3:42 AM, Victor Engmark wrote:


Are you using sudo? If not, why?


I am using sudo.  In /usr/local/etc/sudoers I have

 %wheel  ALL=(ALL)   ALL

Even though I'm the only person logging in, I still prefer to just  
remember my password instead of having to remember root's.  Of course  
I have the root password nicely stored away somewhere in a password  
management system, it is one less password that I actually have to use.


I became a fan of sudo from my experience with Apple's OS X.

-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: Should sudo be used?

2007-04-05 Thread Jerry McAllister
On Thu, Apr 05, 2007 at 11:28:34AM -0500, Jeremy C. Reed wrote:

 On Thu, 5 Apr 2007, Kevin Kinsey wrote:
 
  I thought I might also mention a potential sudo-shortcoming. :-D
  
  See:
  http://bsdwiki.reedmedia.net/wiki/Recognize_basic_recommended_access_methods.html
  
  Where I wrote about a quoting problem that occasionally confuses
  newbs like me.

Finally got around to reading the wiki page.   It is good.
I noticed one grammatical thing of question.   In the first paragraph 
under Use ssh instead of Telnet or rsh/rlogin  it says 

   they should never be used to administrate a machine over a network,

I think the word should be 'administer'  instead of 'administrate' 
unless this is some sort of British thing. I know, picky picky, but
it just stood out to me as I was reading.

Also, although telnet is a hole nowdays for logging in to a system with
an id and password for the very reasons you have given,  it still has
a use.   You can use it to easily poke at a port and check the response
to see if something is up and working.   Of course, in that case you
would probably not be sending an id and password, just some common
handshaking strings that don't reveal any secrets to anyone.   
This is really a different issue from what was the OP or the intent
of the wiki article, of course.

jerry

 
 Hi Kevin,
 
 I wasn't following this thread, but I read some of it now.
 
 I had a quick look at your text ... I think it would be easier to just 
 use:
 
 echo 'natd_enable=YES' | sudo tee -a /etc/rc.conf
 
  Also, I don't speak for the BSD certification project, although I have
  helped flesh out content on the wiki above.  It appears that I changed
  the wording from using the possibly 3rd-party sudo to possibly using
  the 3rd-party sudo thinking that the objective's wording was in error,
  when actually those statements imply different meaning.  I'm copying
  Jeremy Reed on this, who is closer to the Cert project and probably
  *can* speak for them.  I'd imagine I need to find some way to fix that,
  because it sure seems to read as if *they* recommend using sudo ;-)
 
 The objective covers sudo no matter what. Our job task survey indicated 
 that sudo is very important and essential for junior admins and 
 intermediate/advanced admins.
 
 The possibly emphasis should be on third-party. So the Concept on 
 the wiki page is wrong, but the More information at the bottom is 
 correct.
 
 Thanks for sending the email.
 
   Jeremy C. Reed
 
 p.s. And thank you Kevin for your work there. I have a lot of work to do 
 and as you know the deadlines have past. If anyone else is interested in 
 helping get this finished, please email me. No matter what I will publish 
 the book (and then publish a new book when updated maybe 6 months or a 
 year later).
 ___
 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: TFTP and RIS for Windows Installation (Broadcast ACK Problem)

2007-04-05 Thread Bill Moran
In response to Frank Tavenner [EMAIL PROTECTED]:

 Hello,
 
 Just curious, did you ever get this RIS working?
 

Sure.  We just set the TOG to the BID setting, which allowed the DCOG to
pass unmolested through the GDEC devices.  After that, the RIS worked
without a problem.

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


Re: problem after editing /boot/defaults/loader.conf

2007-04-05 Thread freenity

yes i tried to load /boot/loader.conf but it says that there was syntax
error while loading vesa module, the same problem happened with
/boot/defaults/loader.conf
I didnt edit /boot/loader.conf =)
Is there any way I can edit those files? Im on winxp now, is there any
program that can read/write fbsd partition?

On 4/5/07, Kris Kennaway [EMAIL PROTECTED] wrote:


On Thu, Apr 05, 2007 at 02:44:24PM -0300, freenity wrote:
 Hi
 I have a problem after editing /boot/defaults/loader.conf, I wanted to
 enable a boot splash picture. So when I rebooted, I coudnt boot :s After
 selecting the booting type (normal boot or something) It showe loading
 kernel text = 0x. mem=0x. and then it freezed. I can reboot it
 pressing ctrl + alt + supr.

 Is there any way to fix it? Thanks.

Well for starters you are not supposed to edit /boot/defaults, that is
for default settings, not customized ones :) Override in
/boot/loader.conf according to the directions in splash(4).

I guess you might need to better follow the other directions there
too, so if the problem persists then get back to us.

Kris





--
http://feudaltimes.com.ar - Feudal Times `s webmaster and programer.
http://gamescreators.sourceforge.net - linux games programing community.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem after editing /boot/defaults/loader.conf

2007-04-05 Thread Eric

freenity wrote:

yes i tried to load /boot/loader.conf but it says that there was syntax
error while loading vesa module, the same problem happened with
/boot/defaults/loader.conf
I didnt edit /boot/loader.conf =)
Is there any way I can edit those files? Im on winxp now, is there any
program that can read/write fbsd partition?



boot to the bsd install CD and run the live file system from the FixIt 
menu. Mount your drives and edit away.

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


Re: Linux emluation of Skype not complete.

2007-04-05 Thread Paris Jones


Garrett Cooper [EMAIL PROTECTED] wrote: Paris Jones wrote:


 */Garrett Cooper /* wrote:

 Paris Jones wrote:
  I am using FreeBSD 6.0 Stable.
 
  My friend told me about Skype and was very egar to try it, to my
 dismay the port of Skype will only accept one device for audio
 input and output, (Which my headset requires) and I would rather
 not mess with the DSP hijacker so I installed the linux build for
 skype.com (The static with QT compiled in) but was also upset to
 find that I could not call or receive calls from anyone. I am
 using the linux_base-8, if someone could tell me how I can start
 calling people it would be very useful, I have read maybe 2
 articles about this on google and both tell me to install ports
 that no longer exist.
 
  Thank you again.
  -ARCKEDA
 
 That's because OSS by itself doesn't support more than one channel
 at a
 time. You need to support virtual channels (a FreeBSD only feature
 AFAIK) by entering in the following lines in /etc/sysctl.conf:

 hw.snd.maxautovchans = 20 # Adjust to fit the number of simultaneous
 sound channels you want enabled at once.

 -Garrett

 I don't think that multiple sound channels are the problem. You see, 
 in the port,

 there is only one sound device I can choose, even though my headset 
 outputs to

 /dev/dsp and gets input from /dev/dsp1, so that I can only talk or 
 hear, not both at

 the same time.   The linux build will not even let me call anyone or 
 recieve calls,

 not even the call testing service.

 Please feel free to tell me any thing that you think might help.

   -ARCKEDA

 
Yes, it's most likely the problem if you can't play multiple audio 
sources at once.

Just please try my suggestion before saying it's not possible.

  -Garrett

I am afraid that playing multiple audio sources is not my problem,

the problem is I don't have the option to select more than one source at a 

time in the Skype native port.  In the linux build, I have that option, but I 

can't call or receive calls from anyone.

Thank you.

-ARCKEDA


 
-
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem after editing /boot/defaults/loader.conf

2007-04-05 Thread Kris Kennaway
On Thu, Apr 05, 2007 at 04:58:41PM -0300, freenity wrote:
 yes i tried to load /boot/loader.conf but it says that there was syntax
 error while loading vesa module, the same problem happened with
 /boot/defaults/loader.conf
 I didnt edit /boot/loader.conf =)

Then you were really doing something wrong.  Please read that manpage
carefully.

Kris


pgpqpzap0IIxi.pgp
Description: PGP signature


Re: Abit KN9 + FreeBSD 6.2-RELEASE

2007-04-05 Thread Glenn Sieb

*Puts on dunce cap*

When I turned on the onboard RAID, and created the RAID arrays, the BIOS 
decided Well you simply must want to boot off the RAID, right? So, 
that being fixed, I popped in the amd64 distro and proceeded to do the 
install.


System is installed, up and running.. I couldn't believe how fast the
amd64 branch installed off the CD (about 7 minutes)!

Now to get used to the new /etc/rc.d scheme.. :) (I'm
coming from 4.11-RELEASE--luckily I enjoy learning new things,
especially when they make life easier!)

Thanks, dev team! :) You rock!

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


Re: Virtual Hosting Control Panel

2007-04-05 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Thursday, April 05, 2007 09:33:25 +0100 Vince [EMAIL PROTECTED] wrote:

 Marc G. Fournier wrote:

 DTC is the only decent one I've found OSS ... I have some updates to do, but
 there is a /usr/ports/sysutils/dtc{-toaster} port available ... the -toaster
 port does a complete install based on my setup (postfix, cyrus-imapd,
 pure-ftpd, etc), while the dtc one requires you to define various options ...


 --On Wednesday, April 04, 2007 15:53:42 -0700 Chris Hesselrode
 [EMAIL PROTECTED] wrote:

 Does anyone have any suggestions for a good hosting control panel for
 FreeBSD 6.x (GNU)?

 Thanks in advance,

 Chris

 Theres always raqdevil (www/raqdevil http://www.raqdevil.com/) although
 i'm afraid its BSD not GPL Licenced ;)

First thing in favor of it, the BSD license ... second, developed under FreeBSD 
:)

- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFGFYFp4QvfyHIvDvMRArHjAJ42jQocRIoUqQk824Z9/KiY/np5JACgsci1
gzg0fOXvZ6z7o/OksYHesOc=
=9Lli
-END PGP SIGNATURE-

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


backup solution for home FreeBSD server

2007-04-05 Thread Vlad Skvortsov

[please CC: me, I'm not on the list]

Hi!

I'm looking for an external backup solution for my FreeBSD file server. 
I want it to be pluggable via USB interface (I'd share it with a couple 
of servers). I'd also like to be able to move backups to an off-site 
storage, so external HDD won't probably work for me. My data size is 
currently about 50G, but I expect it to grow to about 250G. My price 
range is below $300.


Suggestions?

Thanks!

--
Vlad Skvortsov, [EMAIL PROTECTED], http://vss.73rus.com

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


Re: Should sudo be used?

2007-04-05 Thread Bob Hall
On Thu, Apr 05, 2007 at 10:42:27AM +0200, Victor Engmark wrote:
 Hi all,
 
 I thought it would be a good idea to use sudo on my FreeBSD laptop, but I'm
 having doubts after checking the handbook (it's not mentioned at all) and
 Google (most of the articles were obscure and / or old).
 
 Are you using sudo? If not, why?

I administer a tiny LAN. Usually, I'm the only one fooling with the
servers (IMAP, file sharing for classic Mac  Windows, routing, Internet
access, other lesser things). However, it's nice to go on vacation
occasionally. I have a small number of accounts, each of which uses sudo
to give the account the rights necessary to administer one part of the
overall system. I can pass off the mail duties to someone else, and know
that the worst damage they can do is limited to the mail system, and
restricted by the rights granted via sudo.

As long as the firewall and other security measures are in place, my
biggest concern is clumsy fingers. Sudo limits the harm that can occur
and backups ensure recovery.

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


backup solution for home FreeBSD server

2007-04-05 Thread Robert Huff
Vlad Skvortsov writes:

  I'm looking for an external backup solution for my FreeBSD file
  server.  I want it to be pluggable via USB interface (I'd share
  it with a couple of servers). I'd also like to be able to move
  backups to an off-site storage, so external HDD won't probably
  work for me. My data size is currently about 50G, but I expect it
  to grow to about 250G. My price range is below $300.
  
  Suggestions?

Check out Addonics, particularly the Saturn system.
I have one of these:

http://www.addonics.com/products/Saturn/aeschd.asp

and it's worked just fine - with one exception - for the last
several months.  The exception is transfer speed: for reasons
confounding diagnosis, I am only getting ~2mbytes/sec across a USB
2.0 connection.
Now if I could only find a source for inexpensive ($20) 80
Gbyte IDE hard drives 


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


Re: backup solution for home FreeBSD server

2007-04-05 Thread John Levine
I'm looking for an external backup solution for my FreeBSD file server. 
I want it to be pluggable via USB interface (I'd share it with a couple 
of servers). I'd also like to be able to move backups to an off-site 
storage, so external HDD won't probably work for me. My data size is 
currently about 50G, but I expect it to grow to about 250G. My price 
range is below $300.

Get a couple of 150G USB disks.  They work great, you can use
dump/restore or just pax -r -w to copy stuff to the disks.

I'm a big fan of offsite storage, so I actually have three USB disks.
I leave two plugged into the computer so it can dump on alternate
nights, and put one in my bank safe deposit box.  Every week or so I
take one of the two disks down to the bank and swap.

R's,
John

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


Re: Any Way to Plug This Hole in Local Sendmail Delivery?

2007-04-05 Thread RW
On Thu, 5 Apr 2007 13:18:33 -0500
Jeffrey Goldberg [EMAIL PROTECTED] wrote:

 The second is that the spammer could be forging in the sender
 address (envelope FROM)
 
MAIL FROM:[EMAIL PROTECTED]
 
 The third type of forgery is in the header From address.

Bear in mind that both of these are often done legitimately; for
example by people working from home and using their ISP's server to
send an email to a colleague.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Feedback for live CD

2007-04-05 Thread James Long
Some weeks ago, if I read the thread correctly, the committer who
works on the live CD side of the installation media requested 
feedback for odd bits that don't behave correctly in the fixit
environment.


I find that 'scp' won't run because it can't find /usr/bin/ssh.
The workaround is 'ln -s /dist/usr/bin /usr/bin'


This is when I boot from a 6.0-RELEASE CD.  If this has already
been addressed in later versions, please excuse the noise.  I
don't have a 6.2 CD at hand to test with.


Jim

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


Re: Should sudo be used?

2007-04-05 Thread Garrett Cooper
Christian Walther wrote:
 On 05/04/07, Schiz0 [EMAIL PROTECTED] wrote:
 [Moved answer to the bottom -- please don't use top post]

 On 4/5/07, Pietro Cerutti [EMAIL PROTECTED] wrote:
 
  On 4/5/07, Schiz0 [EMAIL PROTECTED] wrote:
   I don't use sudo. I find it rather pointless. If I need to do
 something
  as
   root, I use su to gain root privileges, then when I'm done, I exit
 and
   return to the original user. The user running su must be in the group
   wheel to be able to su to root. This is a simple yet convenient
  security
   system.
 
  What when you have several people with different privileges wanting to
  do stuff that normally only root can? Would you give your root
  password to everyone, or rather install sudo and define exactly what a
  user can do?
 
 True, if that was the case I'd use sudo. But I'm the only user on my
 systems
 that I'd trust with root access, so there's no point with my setup.
 
 Well, sudo makes execution of several commands or script as another
 user quite simple because there's no need to enter the root password.
 For example I've three Access Points at home, but my machine can't
 connect to the nearest one automatically. So I need to issue
 ifconfig ath0 scan as root. Since I'm not root all the time, I
 defined an alias that executes the command using sudo. It's just one
 word, and I'm set.
 
 My girlfriend is using my old Laptop know, and I installed FreeBSD on
 it, too. So she needs the command, too. Since she isn't used to the
 Console I defined a new program/button in KDE she can press.
 
 So you see, there are reasons to use sudo even if you're the only user
 on a system. But as anywhere else in the Unix world, there are several
 different ways of how to perform a certain task, and the way one
 chooses is up to him/her.

One thing I find that hasn't really been mentioned is that:
a) sudo can run programs under different user credentials that aren't
possible with non-wheel users. For instance if I had a binary, and I
told someone hey, use sudo for this and added them and the binary /
command to a script, everyone with access as specified via the sudo file
could run it.
b) sudo can run commands directly instead of having to type in su, and
then run the command from the su'ed shell.

Unless you're trying to get root access and fall under point b., and
this is your own personal machine, there's basically no use in using
sudo. Besides, one less binary on your machine with those sorts of
privileges offers less methods of attacking your machine in order to get
elevated privileges.

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


Skype will can't connect.

2007-04-05 Thread Paris Jones

 Using FreeBSD 6.0 Stable.
Using the linux_base-8 port.

I have decided to make a new post about this problem because my old one was very
badly written and I am sure no one could figure out my problem.
I would like to try Skype, but the port will only allow me to use ONE of my 
devices
at a time, so my headset can't hear and talk at the same time, I have to 
manually 
swich between the headset and speaker device.  (There is something called DSP 
hijacker for this which I do not want to mess with.)  I thought that perhaps 
using the linux version would help, I downloaded the linux static tar.gz with 
QT compiled in, 
and when I opened it, I was please to find that in the tools section there is 
an option
for both your input and output device.  However, I was upset to find out that I 
could
not call or be called in this version.

So, do wrap things up, my problem is:
When using the linux build of skype, I can not call or be  called, I can't 
even call 
the voice testing service.
My question is:
How can I start calling people and be called?
Again, I am using FreeBSD 6 and the linux-base-8 port.

Any help would be appricated, thanks.
-ARCKEDA
   
PS: Sorry about sending you so many emails dude, I kept pressing the 
wrong button...



 
-
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Any Way to Plug This Hole in Local Sendmail Delivery?

2007-04-05 Thread Jeffrey Goldberg


On Apr 5, 2007, at 8:14 PM, RW wrote:


On Thu, 5 Apr 2007 13:18:33 -0500
Jeffrey Goldberg [EMAIL PROTECTED] wrote:


The second is that the spammer could be forging in the sender
address (envelope FROM)

   MAIL FROM:[EMAIL PROTECTED]

The third type of forgery is in the header From address.


Bear in mind that both of these are often done legitimately; for
example by people working from home and using their ISP's server to
send an email to a colleague.


Yes.  If you set up something like this it is important to provide an  
SMTP submission service.  This allows your off-site users to use your  
mail server by authenticating with it.


-j


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


Re: No buffer space available

2007-04-05 Thread Chris

On 05/04/07, Marc G. Fournier [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



- --On Thursday, April 05, 2007 11:06:30 + Thiago Esteves de Oliveira
[EMAIL PROTECTED] wrote:


 Marc,

 My machine is working with the kernel that comes with 6.1-STABLE (I archived
 this good kernel before upgrade the OS to 6.2).
 No, I'm not using geom.

 Can you send your dmesg.boot and sysctl -a  kern output?

pid 8 (sendmail), uid 25 inumber 8577 on /var: filesystem full
pid 84023 (sendmail), uid 25 inumber 8587 on /var: filesystem full
pid 81719 (sendmail), uid 25 inumber 8591 on /var: filesystem full
pid 85247 (sendmail), uid 25 inumber 8593 on /var: filesystem full
pid 86881 (dd), uid 2 inumber 8596 on /var: filesystem full
pid 90114 (dd), uid 2 inumber 8580 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 92861 (dd), uid 2 inumber 8365 on /var: filesystem full
pid 96933 (dd), uid 2 inumber 8439 on /var: filesystem full
pid 2289 (dd), uid 2 inumber 8480 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 4664 (sendmail), uid 25 inumber 8572 on /var: filesystem full
pid 4965 (dd), uid 2 inumber 8581 on /var: filesystem full
pid 5228 (sendmail), uid 25 inumber 8588 on /var: filesystem full
pid 5970 (sendmail), uid 25 inumber 8592 on /var: filesystem full
pid 8960 (dd), uid 2 inumber 8595 on /var: filesystem full
pid 11981 (dd), uid 2 inumber 8565 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 14065 (sendmail), uid 25 inumber 8597 on /var: filesystem full
pid 15495 (dd), uid 2 inumber 8600 on /var: filesystem full
pid 15532 (kiplingOuija.cgi), uid 80: exited on signal 11
pid 15909 (sendmail), uid 25 inumber 8601 on /var: filesystem full
pid 18424 (dd), uid 2 inumber 8510 on /var: filesystem full
pid 21371 (dd), uid 2 inumber 8559 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 23625 (sendmail), uid 25 inumber 8572 on /var: filesystem full
pid 24260 (sendmail), uid 25 inumber 8588 on /var: filesystem full
pid 25003 (sendmail), uid 25 inumber 8592 on /var: filesystem full
pid 27135 (dd), uid 2 inumber 8578 on /var: filesystem full
pid 29086 (sendmail), uid 25 inumber 8596 on /var: filesystem full
pid 30176 (dd), uid 2 inumber 8597 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 33170 (dd), uid 2 inumber 8581 on /var: filesystem full
pid 35631 (dd), uid 2 inumber 8365 on /var: filesystem full
pid 39216 (dd), uid 2 inumber 8439 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 41773 (dd), uid 2 inumber 8480 on /var: filesystem full
pid 42005 (sendmail), uid 25 inumber 8572 on /var: filesystem full
pid 44505 (dd), uid 2 inumber 8510 on /var: filesystem full
pid 45410 (sendmail), uid 25 inumber 8580 on /var: filesystem full
pid 47630 (dd), uid 2 inumber 8582 on /var: filesystem full
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
pid 49712 (sendmail), uid 25 inumber 8588 on /var: filesystem full
pid 51003 (dd), uid 2 inumber 8593 on /var: filesystem full
pid 51467 (sendmail), uid 25 inumber 8594 on /var: filesystem full
pid 51804 (kiplingOuija.cgi), uid 80: exited on signal 11
pid 53577 (dd), uid 2 inumber 8559 on /var: filesystem full
pid 54476 (sendmail), uid 25 inumber 8579 on /var: filesystem full
pid 55549 (sendmail), uid 25 inumber 8601 on /var: filesystem full
pid 56090 (bigOuija.cgi), uid 80: exited on signal 11
pid 57137 (dd), uid 2 inumber 8604 on /var: filesystem full
pid 58015 (kiplingOuija.cgi), uid 80: exited on signal 11
fxp0: promiscuous mode disabled
fxp0: promiscuous mode enabled
fxp0: promiscuous mode disabled
GEOM_MIRROR: Device vm: provider mirror/vm destroyed.
GEOM_MIRROR: Device vm destroyed.
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...4 4 4 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0
0 0 done
All buffers synced.
/vm: unmount pending error: blocks -64 files 0
GEOM_MIRROR: Device md2: provider mirror/md2 destroyed.
GEOM_MIRROR: Device md2 destroyed.
GEOM_STRIPE: Disk mirror/md2 removed from md0.
GEOM_STRIPE: Device md0 removed.
GEOM_MIRROR: Device md1: provider mirror/md1 destroyed.
GEOM_MIRROR: Device md1 destroyed.
GEOM_STRIPE: Disk mirror/md1 removed from md0.
GEOM_STRIPE: Device md0 destroyed.
Uptime: 3d8h23m45s
Rebooting...
cpu_reset: Stopping other CPUs
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #5: Tue Mar 13 02:29:37 ADT 2007
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/kernel
Timecounter 

Re: Should sudo be used?

2007-04-05 Thread Erik Osterholm
On Thu, Apr 05, 2007 at 06:54:06PM -0700, Garrett Cooper wrote:
 b) sudo can run commands directly instead of having to type in su, and
 then run the command from the su'ed shell.

From man su: 

If the optional args are provided on the command line, they are passed
to the login shell of the target login.  Note that all command line
argu- ments before the target login name are processed by su itself,
everything after the target login name gets passed to the login shell.

This lets you run commands without obtaining a full shell.


 Unless you're trying to get root access and fall under point b., and
 this is your own personal machine, there's basically no use in using
 sudo. Besides, one less binary on your machine with those sorts of
 privileges offers less methods of attacking your machine in order to get
 elevated privileges.

I like the logging ability.  If I fatfinger a command line, I can
easily go back and see exactly what I did(in case the output of the
command doesn't make it obvious), and when.

It's all personal preference, though.

 -Garrett

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


Re: Skype will can't connect.

2007-04-05 Thread B H

Paris Jones skrev:

 Using FreeBSD 6.0 Stable.
Using the linux_base-8 port.

I would like to try Skype, but the port will only allow me to use ONE of my 
devices
at a time, so my headset can't hear and talk at the same time, I have to manually 
swich between the headset and speaker device.


Have you tried the suggestion you got from Garret Cooper?

If your not willing to try the suggestions you get the chances of fixing 
problems is very small.

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


Re: Virtual Hosting Control Panel

2007-04-05 Thread Apatewna

O/H Marc G. Fournier έγραψε:




Theres always raqdevil (www/raqdevil http://www.raqdevil.com/) although
i'm afraid its BSD not GPL Licenced ;)


First thing in favor of it, the BSD license ... second, developed under FreeBSD 
:)




...third it is abandoned http://www.freshports.org/www/raqdevil

I have sworn to never touch a web interface for an application again, 
unless it is something in the lines of SWAT for Samba or qmailadmin. 
Other web-based panels although nice and handy, they just add another 
layer of complexity and bugs. My main experience is with webmin.


I remember a couple of months ago when I installed squid and webmin to 
create a proxy product. I tried to implement bandwidth management 
through webmin and failed for no apparent reason. Not to mention 
clicking various buttons for more than ten times, to change the 
appropriate values.
After too much effort, I manually edited squid.conf and realized that 
all the bandwidth management was done in a single three-digit line of 
text, which webmin kept screwing arround. So why bother with the extra 
bloat?


Furthermore, try to setup a mail server using a web panel. When the 
server breaks you will have two things to consider:

a) if the mail package caused the problem
b) if the web-panel caused the problem

I have seen webmin adding crontab entries by wrapping all of them into a 
perl script and cronning this particular script. Imagine the frustration 
when for some reason perl gets hosed. Suddenly your crontab is not 
working, how could you possibly imagine that the above perl-wrapping 
exists so that you can correct it?


Webmin is nice, I have installed it several times back in my learning 
days and it has helped me get a jumpstart in testing. But now when 
considering professional use, I'd rather skip it so that I have less 
things to worry about.


--
RTFM and STFW before anything bad happens
_
Thanasis 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: Virtual Hosting Control Panel

2007-04-05 Thread Apatewna

O/H Apatewna έγραψε:

O/H Marc G. Fournier έγραψε:




Theres always raqdevil (www/raqdevil http://www.raqdevil.com/) although
i'm afraid its BSD not GPL Licenced ;)


First thing in favor of it, the BSD license ... second, developed 
under FreeBSD :)




...third it is abandoned http://www.freshports.org/www/raqdevil



*correction* it appears there's a lot of underground work going on for 
raqdevil, I just googled for it 
http://www.raqdevil.com/pipermail/raqdevil-commit/2007-March/37.html


--
RTFM and STFW before anything bad happens
_
Thanasis 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]