Need help with Supermicro MB

2003-02-20 Thread Lee Nelson
Hello,

  I'm trying to SMBus to work on my new Supermicro
server, but with no luck.

  It's got a Serverworks III HE chipset, with CSB5
southbridge.  My understanding is that this is supposed
to be compatible with Intel PIIX4 chip but unfortunately
the 'intpm' driver isn't doing it for me.  No smb0: line
shows up during the boot process.

  Here's what I've tried in my kernel config:

device   smbus
device   iicbus
device   iicbb
device   intpm
device   ichsmb
device   smb

  I've also tried the examples from the heathd
  and lmmon man pages, but those examples are
  obviously out-of-date.

  Help would be much appreciated. Any pointers,
  ideas or musings welcome too. :)

Thanks much,

   Lee Nelson



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



Please help with SMBus on Serverworks III HE

2003-02-19 Thread Lee Nelson
Hello,

  I'm trying to SMBus to work on my new Supermicro
server, but with no luck.

  It's got a Serverworks III HE chipset, with CSB5
southbridge.  My understanding is that this is supposed
to be compatible with Intel PIIX4 chip but unfortunately
the 'intpm' driver isn't doing it for me.  No smb0: line
shows up during the boot process.

  Here's what I've tried in my kernel config:

device   smbus
device   iicbus
device   iicbb
device   intpm
device   ichsmb
device   smb

  I've also tried the examples from the heathd
  and lmmon man pages, but those examples are
  obviously out-of-date.
  
  Help would be much appreciated. Any pointers,
  ideas or musings welcome too. :)
  
Thanks much,

   Lee Nelson







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



Re: UNIX and Macintosh

2002-11-27 Thread Lee Nelson
Doug,

  Assuming Imageland is mounted, look for it in
the /Volumes folder (corresponds to /mnt on a
normal system).

  /Volumes is a hidden folder - you won't see
it in the Finder.  Also, type 'mount' with no
arguments to see a list of all mounted file
systems.

  By the way, 'rmdir' only works with empty folders,
so if you want to delete a whole tree at once, use 
'rm -rf'. But be careful, there is no way to recover!

  Hope this helps,

Lee Nelson


11/27/02 2:44:08 AM, Doug Lawhead [EMAIL PROTECTED] wrote:

This question pertains to the Unix flavor used in Apple's OSX 10.2 operating
system. I have two partitions on my hard drive. The OS startup disk is a
partition named Macintosh HD. The second partition is named Imageland. If I
understand the commands correctly, then using rmdir /path-to-folder will
delete a folder from the Macintosh HD partition. How do I remove a directory
or file from the other partition named Imageland?
Thanks...Doug


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






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



Apache not killing subprocesses, only on FreeBSD

2002-11-23 Thread Lee Nelson
Hello,

  I run an database backed website on FreeBSD 4.5 that 
uses mod_perl.  I do things like:

   open SORTER, |/some/path/to/myprogram.pl;
   system (/usr/bin/zip zipfile.zip somefile);

  When I switched to FreeBSD from Linux, I noticed that
a lot of dead shells accumulated in the process list -
sometimes hundreds.  When I restart Apache they all
go away.

  Linux didn't exhibit this behaviour.  Can anyone tell
me what I'm doing wrong?  It's embarrassing to have to
restart apache every few weeks. :-)

  The programs that are started all terminate normally,
but the shell sticks around forever.

  The ps -aux looks like this:

USER   PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
...
nobody2196  0.0  0.0 00  ??  ZThu11AM   0:00.00  (sh)
...

  myprogram.pl reads a few parameters from STDIN, and then
forks to work in the background:

my $pid = fork;
exit if $pid;
die ($pn couldn't fork $!\n) unless defined $pid;
POSIX::setsid()
  or die ($pn can't start a new session: $!\n);

  Any clues or suggestions welcome.

   Thanks,

 Lee Nelson



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



Re: Advantages over GNU/Linux?

2002-11-16 Thread Lee Nelson

  I switched to FreeBSD earlier this year.  Advantages
that convinced me are:

  It comes from a single source.  There are no arguments
over this or that driver, kernel patch, whatnot.  This
means that I don't have to spend my time figuring out
which patches to apply, or who's version of the kernel
is best for me.  

  Also security notifications come from a single source,
making them easy to keep track of.

  The code base changes more slowly than Linux.  I found
it difficult to keep up with the kernel of the week
with Linux.  This has saved me and my clients a LOT of
money.

  The only Linux versions that I will use are Redhat,
Suse, and Debian:

FreeBSD is much more up to date than Debian.

Redhat make off-the-wall decisions, like building
everything with a beta compiler or having every
major package require PHP. 

Suse - well they're not so bad but Yast is a pain.  
 
  FreeBSD's 'package manager' is simple and civilized.  
There are no excessive dependencies in the package
system.  The ports tree has everything you could ever
want, preconfigured for installation on FreeBSD, and
is dirt simple to use.
  
   Lastly, FreeBSD is very well documented, meaning
that you are never left wondering, for example, how
the init scripts work, or where the source is for this
or that. The lack of murky psuedo-proprietary components 
is also nice.

  Disadvantages of FreeBSD include less complete support
of desktop environments and a monolithic base install.

  Not to run down Linux - I think it's great.  I run 
Debian on my file server, and love apt/dselect.  Redhat
6.2 ran solid for a year on my web and DB servers.  And 
the linux guys have all kinds of cool toys that we don't - 
cdparanoia and video support are both good examples.  But
for boring server stuff, I prefer FreeBSD.

  -Lee  
 
P.S. if you need a virus scanner on FreeBSD check out
 VirusScan from Network Associates.  They have a
 command line scanner that integrates with Amavis
 and is very simple to install and update.
 Not affliated, just impressed.
 


11/16/02 3:20:05 PM, [EMAIL PROTECTED] wrote:

Okay, propaganda time. Why should I use FreeBSD instead of GNU/Linux? What 
advantages does it offer? 

 -Chris Hodapp

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






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



Re: Permissions user/group scheme for webserver?

2002-11-10 Thread Lee Nelson
This is an excellent question, and it's also an enduring
problem.  It's easy enough to make all files owned by
user:nobody, but the problem is that CGI's executing as
nobody can go off and read other peoples files!

  To counter this, I run all CGI's as suid the user.
But this requires Apache's suexec code, which is difficult
to get working properly, since the Apache folks disapprove
and have placed so many restrictions on it.

  Of course you run the risk of an insecure CGI allowing
an attacker to place files in your web tree, or plant
trojan binaries.  Buy hey, just don't write insecure CGI's! :)

  I'd love to hear if anyone knows a way to restrict
a CGI's access to a particular sub-tree.  The suexec
stuff really is a pain, and more of risk than I really
like to take.

  -Lee

11/10/02 3:21:23 PM, Johannes Angeldorff [EMAIL PROTECTED] wrote:

Dear FreeBSD:ers!

We are converting an old Windows web server to a new FreeBSD 4.6 
webserver with apache and PHP.

I could really need some help/tips for securing the server for each user...

I want users to be able to FTP in their files to their home 
directories, and I want the web server to be able to read and execute 
all users' files... But I _don't_ want users to be able to read each 
others' files (since they may include for example passwords for MySQL 
databases). And of course, the users should not be able to read other 
files on the machine, like /etc/master.passwd.

Simply: I want users to only FTP in their own directories, and the 
web server to be able to read it all...

Has anyone a good scheme how to set up user and groups - with 
suitable permissions - for the webserver, FTP and the users' home 
dirs?

Very grateful for all help on this matter!

Sincerely,
Smartnet Sverige AB

Johannes Angeldorff

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






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



Is Perl Fixed Yet?

2002-11-05 Thread Lee Nelson

Did they ever fix the bugs in the Perl that comes with
FreeBSD?  In FreeBSD 4.5 for example, setting $0 (the 
process name) causes a core dump.  There are others -
ones that I know exist but I can't find.

I have an app, Minivend, that crashes after X thousands
of hits (every few weeks) on FreeBSD but never crashed in 
2 years on Linux.

  -Lee

11/4/02 10:58:42 PM, Kris Kennaway [EMAIL PROTECTED] wrote:





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



Re: Why Use a Daemon as a Symbol since it alienates many?

2002-11-03 Thread Lee Nelson
 JT32255 has a point.

  It's clear that we're not going to change how people
react to the daemon logo.  So, if advocacy is a goal,
it makes sense to drop the daemon and come up with
something more palatable to the general public.

  But a larger audience for FreeBSD may actually
detract from its usefulness.  FreeBSD currently does
not suffer from the kitchen sink problem that Linux
has with its kerrnel.  And as a result we don't have
kernel patches for critical bugs every couple of weeks. 

  Also, bringing FreeBSD to the masses would divert
effort away from it's current goals of stability and
correctness.  Just look at what Red Hat and Mandrake
have done to Linux. 

  -Lee

11/3/02 12:40:04 PM, Paul Everlund [EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:
 The traditional devil horns derive from goats, which if you have ever been 
 around goats, seen how they can climb, eat all vegetation in sight, climb 
 trees, get on roofs, etc., how kids gambol, is understandable.  But it 
 alienates so many.  But as it alienates so many Christians, Jews and Muslims 
 as a little Satan symbol, really limits the widespread use, public and tax 
 paid support and availability of BSD.  A better symbol might be the statue of 
 liberty, or the creator of the first Library, Aristotle.  The Penguin symbol 
 is LINUX' best advantage over BSD, not to mention all the public hostility 
 towards Berkley.

Please read http://www.freebsd.org/copyright/daemon.html.

And if the little cute daemon alienates Christians, Jews, Muslims or
anyone else, my personal opinion is that they should grow up.

Take care and I whish you a nice day!

Best regards,
Paul



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






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



Re: Disk activity leading to hangs

2002-11-03 Thread Lee Nelson

Jason,

  Just thought I should point out that you are probably seeing
network activity from broadcast packets originating elsewhere.
Your kernel may well be hung in this situation.

  -Lee

On Sat, Nov 02, 2002 at 10:12:09PM -0800, Jeff Jirsa wrote:
 On Sat, 2 Nov 2002, Jason Godfrey wrote:
 still am) leaning towards poor hardware over an OS fault. The only thing
 leading me to believe it's NOT a hardware issue is that the kernel seems
 to be running, although nothing responds: network activity lights flash on
 the NIC and switch, but NOTHING else works (have to powercycle).




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