Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-08 Thread Bruce Hunter
I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
system boots i see all kinda fragmentation information. How do I correct
this? Any good reading material? Also, what should I do when I shutdown
my system incorrectly and boot up again? Last questions! I promise. Is
there a file that shows the data printed to screen durning boot?
Probably, a log file.

Thanks guys,
Bruce

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


Re: Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-08 Thread Murray Taylor
Fragmentation is a non-event in 99.999% of cases. It is nothing like 
micro$lop fragments and (before you ask, no there is no defrag tool,
'cos it is not required)

The shutdown question -- well you should not shutdown incorrectly ;-)
- see man shutdown   and friends
(BTW - letting the FreeBSD box run and run and run wont hurt anything.
I'm currently up to 72 days uptime since I last updated the system, and
we had a machine that got to 698 days here at work .. we had to move
buildings and thus shut it down..)

for the last question the file you want is 

/var/run/dmesg.boot

which is the boot output from the most recent boot.

You can also see it by issuing the command 
dmesg
but the display that this one shows can get over written as the system
does other log messages.

Hope this helps
mjt


On Tue, 2004-06-08 at 16:01, Bruce Hunter wrote:
 I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
 system boots i see all kinda fragmentation information. How do I correct
 this? Any good reading material? Also, what should I do when I shutdown
 my system incorrectly and boot up again? Last questions! I promise. Is
 there a file that shows the data printed to screen durning boot?
 Probably, a log file.
 
 Thanks guys,
 Bruce
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 This Email has been scanned for Viruses by MailMarshal.
 
-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems  Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com




This Email has been scanned for Viruses by MailMarshal.

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


Re: Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-08 Thread Bruce Hunter
This is off topic, I was wondering if there is a pretty little gui that
will run when booting. Kinda like windows, lindows, and even Redhat
Fedora has one; which can be switched back and forth. Basically, so I
don't have to see the text scrolling down and just see a loader with %.
Maybe in the ports collection? If not I might have write one. :oP

Oh, and thanks for your comments/answers. One last question thought? How
do I get rid of that fragmentation crap? Just for shits and giggles..
;o)

Bruce

On Tue, 2004-06-08 at 02:09, Murray Taylor wrote:
 Fragmentation is a non-event in 99.999% of cases. It is nothing like 
 micro$lop fragments and (before you ask, no there is no defrag tool,
 'cos it is not required)
 
 The shutdown question -- well you should not shutdown incorrectly ;-)
 - see man shutdown   and friends
 (BTW - letting the FreeBSD box run and run and run wont hurt anything.
 I'm currently up to 72 days uptime since I last updated the system, and
 we had a machine that got to 698 days here at work .. we had to move
 buildings and thus shut it down..)
 
 for the last question the file you want is 
 
 /var/run/dmesg.boot
 
 which is the boot output from the most recent boot.
 
 You can also see it by issuing the command 
 dmesg
 but the display that this one shows can get over written as the system
 does other log messages.
 
 Hope this helps
 mjt
 
 
 On Tue, 2004-06-08 at 16:01, Bruce Hunter wrote:
  I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
  system boots i see all kinda fragmentation information. How do I correct
  this? Any good reading material? Also, what should I do when I shutdown
  my system incorrectly and boot up again? Last questions! I promise. Is
  there a file that shows the data printed to screen durning boot?
  Probably, a log file.
  
  Thanks guys,
  Bruce
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
  
  This Email has been scanned for Viruses by MailMarshal.
  

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


Re: fstab

2004-06-08 Thread Anubis
Joshua Lewis wrote:
/dev/ad1s1 what?  a, d, e, f,g ??

Do I specify? I am using the whole drive. should I change it to /dev/ad1s1a?
Thank you,
Joshua Lewis

Anubis
Joshua Lewis wrote:
The last time I edited this file my system ceased to boot. I have made
what
looks to me like a valid entry. This is the same thing I entered in last
time. I am not going to save this but does it look valid to anyone out
there?
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s1b noneswapsw  0
0
/dev/ad0s1a /   ufs rw  1
1
/dev/ad0s1f /tmpufs rw  2
2
/dev/ad0s1g /usrufs rw  2
2
/dev/ad0s1e /varufs rw  2
2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0
0
/dev/acd1c  /cdrom1 cd9660  ro,noauto   0
0
This is the line I added
/dev/ad1s1  /disk2  ufs rw  2  2
proc/proc   procfs  rw  0
0
/dev/ad1s1 what?  a, d, e, f,g ??



asuming that you have done the whole fdisk/disklabel/newfs you can list 
the contents of /dev thus, ls /dev to find out.  It will be ad1s1d or 
something like that

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


Boot GUI / Boot data and process / Fragmentation

2004-06-08 Thread Bruce Hunter
This is off topic, I was wondering if there is a pretty little gui that
will run when booting. Kinda like windows, lindows, and even Redhat
Fedora has one; which can be switched back and forth. Basically, so I
don't have to see the text scrolling down and just see a loader with %.
Maybe in the ports collection? If not I might have write one. :oP

Oh, and thanks for your comments/answers. One last question thought? How
do I get rid of that fragmentation crap? Just for shits and giggles..
;o)

Bruce

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


Re: Boot GUI / Boot data and process / Fragmentation

2004-06-08 Thread Kent Stewart
On Tuesday 08 June 2004 12:03 am, Bruce Hunter wrote:
 This is off topic, I was wondering if there is a pretty little gui
 that will run when booting. Kinda like windows, lindows, and even
 Redhat Fedora has one; which can be switched back and forth.
 Basically, so I don't have to see the text scrolling down and just
 see a loader with %. Maybe in the ports collection? If not I might
 have write one. :oP

Windows only hides the boot. Press the esc key and it kills the splash 
screen.

Why does it matter. I start a boot and go get a cup of coffee, it is 
always finished when I get back. It is only a problem if you make it 
into one :).


 Oh, and thanks for your comments/answers. One last question thought?
 How do I get rid of that fragmentation crap? Just for shits and
 giggles.. ;o)


There isn't one. Unix fixes fragmented files without your help. The only 
thing you need to know is fsck -y from single user mode to fix a bad 
shutdown.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot GUI / Boot data and process / Fragmentation

2004-06-08 Thread Bruce Hunter
Thanks for your help Kent

I read something about using portversion -c with the portupgrade command
to upgrade installed pkgs that needed to be updated.

When I run portversion -c  :: I get a print out of things needed to be
upgraded and at the end, it shows a 'if' statment.

How do you use this command with portupgrade so it just updates them
instead of just showing me. Just do it dang it... just do it! ;o)

Bruce..

On Tue, 2004-06-08 at 03:26, Kent Stewart wrote:
 On Tuesday 08 June 2004 12:03 am, Bruce Hunter wrote:
  This is off topic, I was wondering if there is a pretty little gui
  that will run when booting. Kinda like windows, lindows, and even
  Redhat Fedora has one; which can be switched back and forth.
  Basically, so I don't have to see the text scrolling down and just
  see a loader with %. Maybe in the ports collection? If not I might
  have write one. :oP
 
 Windows only hides the boot. Press the esc key and it kills the splash 
 screen.
 
 Why does it matter. I start a boot and go get a cup of coffee, it is 
 always finished when I get back. It is only a problem if you make it 
 into one :).
 
 
  Oh, and thanks for your comments/answers. One last question thought?
  How do I get rid of that fragmentation crap? Just for shits and
  giggles.. ;o)
 
 
 There isn't one. Unix fixes fragmented files without your help. The only 
 thing you need to know is fsck -y from single user mode to fix a bad 
 shutdown.
 
 Kent

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


gnome problems

2004-06-08 Thread n3rdBoy .
Hello to you all,
 I am new to freeBSD and this mailing list. I have run into 
some problems and am not sure where to post my question. I am running 
FreeBSD 5.2 i386 and am having some problems getting gnome to work. I have 
searched through the handbook and several other text books but am still 
stuck.
When I am logged in as root X11 and gnome start fine when I type 
'startx', when I am logged in as a normal user I type 'startx' and only X11 
starts. I have followed the instructions in the handbook and modified 
/root/.xsession. any help or direction to other resources would be great.

Thanks
Brett
_
Get a Credit Card - 60 sec online response:   
http://ad.au.doubleclick.net/clk;8097459;9106288;b?http://www.anz.com/aus/promo/qantas5000ninemsn 
  [AU only]

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


Re: virtual memory allocation

2004-06-08 Thread Kris Kennaway
On Tue, Jun 08, 2004 at 08:34:24AM +0300, Odhiambo Washington wrote:
 My colleague is trying to find the maximum amount of virtual
 memory that FreeBSD is able to allocate to a program.
 He's trying 4*1020*1024*1024 for kern.maxdsiz and FreeBSD
 fries up.

On i386 the CPU can only address 4GB of memory, including memory
allocated to the kernel, so you can't go this high (except maybe if
you use PAE, but you still can't go above 4GB).  I think about 2GB is
the limit on i386 without special tuning.

Kris


pgpyWq3QPR3En.pgp
Description: PGP signature


Re: gnome problems

2004-06-08 Thread Nelis Lamprecht
On Tue, 2004-06-08 at 09:40, n3rdBoy . wrote:

  When I am logged in as root X11 and gnome start fine when I type 
 'startx', when I am logged in as a normal user I type 'startx' and only X11 
 starts. I have followed the instructions in the handbook and modified 
 /root/.xsession. any help or direction to other resources would be great.
 

Hi!

Just copy your .xsession file for root into the home folder of the user
you want to use Gnome for or use gdm. Having said that there is a lot of
information regarding updating Gnome which you can find at
http://www.freebsd.org/gnome/. It would be wise of you to check the
FAQ's at this site for important information.

The Gnome mailing list is [EMAIL PROTECTED] where all questions
regarding Gnome on FreeBSD should be posted.

Cheers,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
Unix IS user friendly.. It's just selective about who its friends are.


signature.asc
Description: This is a digitally signed message part


Re: gnome problems

2004-06-08 Thread Andreas Carnaily
Try to move /root/.xinitrc to /home/you/
It should work. ;)
On Tue, 08 Jun 2004 07:40:05 +, n3rdBoy . 
[EMAIL PROTECTED] wrote:

Hello to you all,
  I am new to freeBSD and this mailing list. I have run 
into some problems and am not sure where to post my question. I am 
running FreeBSD 5.2 i386 and am having some problems getting gnome to 
work. I have searched through the handbook and several other text books 
but am still stuck.
 When I am logged in as root X11 and gnome start fine when I 
type 'startx', when I am logged in as a normal user I type 'startx' and 
only X11 starts. I have followed the instructions in the handbook and 
modified /root/.xsession. any help or direction to other resources would 
be great.

Thanks
Brett
_
Get a Credit Card - 60 sec online response:   
http://ad.au.doubleclick.net/clk;8097459;9106288;b?http://www.anz.com/aus/promo/qantas5000ninemsn 
   [AU only]

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

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot GUI / Boot data and process / Fragmentation

2004-06-08 Thread Kent Stewart
On Tuesday 08 June 2004 12:37 am, Bruce Hunter wrote:
 Thanks for your help Kent

 I read something about using portversion -c with the portupgrade
 command to upgrade installed pkgs that needed to be updated.

 When I run portversion -c  :: I get a print out of things needed to
 be upgraded and at the end, it shows a 'if' statment.

 How do you use this command with portupgrade so it just updates them
 instead of just showing me. Just do it dang it... just do it! ;o)

I'm not the one to ask because I use the -c and do them one at a time. 
The portupgrade option -rRa will do some of it. I just want it to do it 
at my convience and choosing :). I also have an AMD 2400+ that sits off 
to the side of my computer desk and I build everything on it. The 
problem with the -c list is that it doesn't build dependancies first. 
The -rRa will do that but I also create packages and adding p to 
build packages creates a lie. Portupgrade repackages everything but 
doesn't rebuild everything. So, you think you have a current build but 
only have a current package. They aren't the same thing :).

One point I was going to make about the booting. It is as clean and mean 
a process as you can create. Anything you add will only slow it down. 
Given a choice of a quick boot or a pretty one, I will go for speed 
everytime :).

Kent


 Bruce..

 On Tue, 2004-06-08 at 03:26, Kent Stewart wrote:
  On Tuesday 08 June 2004 12:03 am, Bruce Hunter wrote:
   This is off topic, I was wondering if there is a pretty little
   gui that will run when booting. Kinda like windows, lindows, and
   even Redhat Fedora has one; which can be switched back and forth.
   Basically, so I don't have to see the text scrolling down and
   just see a loader with %. Maybe in the ports collection? If not I
   might have write one. :oP
 
  Windows only hides the boot. Press the esc key and it kills the
  splash screen.
 
  Why does it matter. I start a boot and go get a cup of coffee, it
  is always finished when I get back. It is only a problem if you
  make it into one :).
 
   Oh, and thanks for your comments/answers. One last question
   thought? How do I get rid of that fragmentation crap? Just for
   shits and giggles.. ;o)
 
  There isn't one. Unix fixes fragmented files without your help. The
  only thing you need to know is fsck -y from single user mode to
  fix a bad shutdown.
 
  Kent

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

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fetch problem

2004-06-08 Thread Viliam Kyjac
on FreeBSD 4.6 fetch from perl script in /etc/Crontab not working (it is
update.pl for drWeb antivirus), message fetch: operation timeout received,
from console fetch also not operate, but the same perl script running from
console operate OK
please where is problem?
---
Vilo Kyjac
netadmin SMU Bratislava
Slovakia
tel: +421-2-60294666




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


/usr/ports/www/linux-mozillafirebird

2004-06-08 Thread Wilkinson, Alex

Hi all,

I have been using /usr/ports/www/firefox for sometime now.
Recently I installed /usr/ports/www/linux-mozillafirebird to experiment with
some of the plugins. Something that I noticed was that linux-mozillafirebird is
blazingly fast compared to firefox.

I'm talking about the speed at which it loads pages is _significantly_ faster
than that of firefox.

Can anyone suggest reasons for this ? 

I'm tempted to use /usr/ports/www/linux-mozillafirebird permanently !

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


Buildworld and turning of debugging to speed up the system

2004-06-08 Thread Bruce Hunter
Currently I am running 5.2.1 
I am doing a buildworld, buildkernel,installkernel, installworld
Whatever you want to call it.

I read something about turning off debugging in the current release and
how it will help to speed up my system. How the heck would I go about
doing this? Does it have to do with adding lines to /etec/make.conf ?

Have no idea..

Bruce

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


Re: /usr/ports/www/linux-mozillafirebird

2004-06-08 Thread Kent Stewart
On Tuesday 08 June 2004 01:02 am, Wilkinson, Alex wrote:
 Hi all,

 I have been using /usr/ports/www/firefox for sometime now.
 Recently I installed /usr/ports/www/linux-mozillafirebird to
 experiment with some of the plugins. Something that I noticed was
 that linux-mozillafirebird is blazingly fast compared to firefox.

 I'm talking about the speed at which it loads pages is
 _significantly_ faster than that of firefox.

 Can anyone suggest reasons for this ?

Not without seeing the build. One of the mozilla options is 
WITH_OPTIMIZED_CFLAGS, which sets -O2. That could be one of your 
reasons. I don't know if that option works on the port you are 
interested in.  I also don't have any other ideas.


 I'm tempted to use /usr/ports/www/linux-mozillafirebird permanently !


I use the FreeBSD native version of Mozilla-1.6 and not any of the Linux 
versions.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fetch problem

2004-06-08 Thread Matthew Seaman
On Tue, Jun 08, 2004 at 10:04:23AM +0200, Viliam Kyjac wrote:
 on FreeBSD 4.6 fetch from perl script in /etc/Crontab not working (it is
 update.pl for drWeb antivirus), message fetch: operation timeout received,
 from console fetch also not operate, but the same perl script running from
 console operate OK
 please where is problem?

Could well be something to do with:

  a) active vs passive mode FTP -- some firewalls will force you to
 use passive mode: symptom is that you can connect to the remote
 FTP server, but as soon as you try and get a directory listing or
 retreive a file, everything freezes up.

 Check and see if FTP_PASSIVE_MODE is set in your console
 environment.  It won't be set in the environment the cron(8)
 generates for the scripts it runs, so if you need it, either set
 it from within the script, or use the '-p' option on the fetch(1)
 command line.

  b) Similarly, you may need to use a proxy server to access remote
 HTTP or FTP sites.  That involves setting 'FTP_PROXY' and/or
 'HTTP_PROXY' environment variables in the same way as above.  See
 fetch(3) for details of what environment settings there are to
 play with.

Cheers,

Matthew

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


pgpqIKuBJld63.pgp
Description: PGP signature


Re: Dangerous file system / disk problem

2004-06-08 Thread Malcolm Kay
On Tuesday 08 June 2004 05:20, Ben Paley wrote:
 On Monday 07 June 2004 16:44, Malcolm Kay wrote:
  Notice the size recorded for this slice is zero.
 
  If the cylinders=155061 heads=16 sectors/track=63 is somewhere
  near the reasonable possible geometry description then virtually
  the entire disk has been allocated to the FreeBSD slice.

 Yes it is, all of it (or, all of it that I could withot going 'dangerously
 dedicated'). I have never had any intention of putting Windows on this
 disk. I think W98 just assumed it 'cos it was the primary master.


I now have a clearer impression of the situation.
I had erroneously understood windows was actually running from that slice and
that it must have really been bigger than it appeared.


 But seriously, does any of this suggest a course of action to you? I'm
 planning to try the set sysid to 0 plan... what if that doesn't work?


Sounds like an excellent idea. Perhaps windows is seeing the slice as a fs
it knows about but finds it unformatted, so is offering to do that for you.
 
So maybe setting sysid to zero (which I think registers as an undefined
slice) will stop windows making the offer.

Whatever else I can't see how this would make the situation worse.

Good luck,

Malcolm

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


Re: Buildworld and turning of debugging to speed up the system

2004-06-08 Thread Matthew Seaman
On Tue, Jun 08, 2004 at 04:48:25AM -0400, Bruce Hunter wrote:
 Currently I am running 5.2.1 
 I am doing a buildworld, buildkernel,installkernel, installworld
 Whatever you want to call it.
 
 I read something about turning off debugging in the current release and
 how it will help to speed up my system. How the heck would I go about
 doing this? Does it have to do with adding lines to /etec/make.conf ?

There are various kernel options -- WITNESS, INVARIANTS etc. that act
as debugging aids, but that slow down the system.  The GENERIC kernel
in -CURRENT has those turned on by default.  However, you are running
5.2.1-RELEASE. The good news is, all of those debugging things are
already turned off by default.  You don't need to do anything more.

There are some debugging flags you can set in /etc/make.conf, but
generally those will have no effect on the performance of your system.
Unless you take steps to prevent it, all debugging symbols are
stripped out of the installed binaries when you do a make installword.

Cheers,

Matthew

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


pgpGgjGZUfF3r.pgp
Description: PGP signature


Re: Dangerous file system / disk problem

2004-06-08 Thread Ben Paley
On Tuesday 08 June 2004 10:38, Malcolm Kay wrote:
 On Tuesday 08 June 2004 05:20, Ben Paley wrote:

  But seriously, does any of this suggest a course of action to you? I'm
  planning to try the set sysid to 0 plan... what if that doesn't work?

 Sounds like an excellent idea. Perhaps windows is seeing the slice as a fs
 it knows about but finds it unformatted, so is offering to do that for you.

 So maybe setting sysid to zero (which I think registers as an undefined
 slice) will stop windows making the offer.

 Whatever else I can't see how this would make the situation worse.

This is very comforting - I shall give it a go and let you know how it comes 
out.

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


Help: After installing linux, I can no longer boot my freebsd...

2004-06-08 Thread Mark Jayson Alvarez
Hi,

  I have a 20gb harddisk with 3 primary partitions:

1st: DOS
2nd: Freebsd
3rd: reserved for linux
and an extended partition(which contains my windows
files)

Before installing linux.. I can see this at freebsd
boot manager menu

F1:DOS
F3:Freebsd


After installing linux and lilo.. 
F1:DOS
F2:Freebsd(F3 before)
F4:linux

I have successfully edited the boot.ini of windows and
be able to boot into it, same as with linux but.. when
I press F2 to boot into my freebsd.. it stops in the
middle of device detection process and it shows

Manual root filesystem specification
fstype:device

mountroot

I tried typing ufs:/dev/ad0s1a but it still won't
boot..

What I did was to delete entire the linux installation
and the partition aloted to it

so now I can only see this at boot time:

F1:DOS
F2:Freebsd

Any idea what happened?
Do you know what should I type in the
mountroot prompt?







__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB 2.0 reporting 1.000MB/s transfers?

2004-06-08 Thread Richard Bejtlich
Hello,

I am troubleshooting a Plextor 708UF DVD burner[0] on
FreeBSD CURRENT:

neely:/home/richard$ uname -a
FreeBSD neely.taosecurity.com 5.2-CURRENT FreeBSD
5.2-CURRENT #1: Sat Jun  5 20:35:43 EDT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/neely 
i386

The box is a Shuttle SB52G2[1] with built-in USB 2.0
ports and an Adaptec DuoConnect FireWire/USB 2.0 PCI
adapter.[2]  dmesg reports it as NEC uPD 9210 USB
controller.

My entire dmesg and kernel config output are below,
but I seem to only get 1 MB/s as reported by dmesg:

cd1 at sbp0 bus 0 target 0 lun 0
cd1: PLEXTOR DVDR   PX-708A 1.06 Removable CD-ROM
SCSI-0 device
cd1: 50.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY,
Medium not present - tray closed

The kernel has ehci compiled into it.

Any ideas?  Hopefully I missed something obvious.

Thank you,

Richard

[0] http://www.plextor.com/english/products/708UF.html
[1] http://us.shuttle.com/specs2.asp?pro_id=264
[2]
http://www.adaptec.com/worldwide/product/proddetail.html?sess=nolanguage=English+USprodkey=AUA-3020cat=%2fTechnology%2fUSB%2fUSB+%26+FireWire+Combo+Cards

entire dmesg output:

Copyright (c) 1992-2004 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 5.2-CURRENT #1: Sat Jun  5 20:35:43 EDT 2004
   
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/neely
Preloaded elf kernel /boot/kernel/kernel at
0xc0953000.   
Preloaded elf module /boot/kernel/acpi.ko at
0xc09531f4.
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.00GHz (1996.60-MHz
686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Stepping = 7
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
real memory  = 528416768 (503 MB)
avail memory = 507400192 (483 MB)
random: entropy source, Software, Yarrow
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: IntelR AWRDACPI on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality
1000
acpi_timer0: 24-bit timer at 3.579545MHz port
0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
acpi_tz0: Thermal Zone on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
acpi0
pci0: ACPI PCI bus on pcib0
pcib0: slot 2 INTA is routed to irq 11
pcib0: slot 29 INTA is routed to irq 11
pcib0: slot 29 INTB is routed to irq 5
pcib0: slot 29 INTC is routed to irq 10
pcib0: slot 29 INTD is routed to irq 9
pcib0: slot 31 INTB is routed to irq 9
pcib0: slot 31 INTB is routed to irq 9
agp0: Intel 82845G (845G GMCH) SVGA controller mem
0xe820-0xe827,0xe000
-0xe7ff irq 11 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: Intel 82801DB (ICH4) USB controller USB-A
port 0xd800-0xd81f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801DB (ICH4) USB controller USB-A on
uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801DB (ICH4) USB controller USB-B
port 0xd000-0xd01f irq 5 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]  
usb1: Intel 82801DB (ICH4) USB controller USB-B on
uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801DB (ICH4) USB controller USB-C
port 0xd400-0xd41f irq 10 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801DB (ICH4) USB controller USB-C on
uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem
0xe828-0xe82803ff irq 9 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci_pci_attach: companion usb0
ehci_pci_attach: companion usb1
ehci_pci_attach: companion usb2
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1
usb2
usb3: EHCI (generic) USB 2.0 controller on ehci0  
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00,
addr 1
uhub3: 6 ports with 6 removable, self powered
pcib1: ACPI PCI-PCI bridge at device 30.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib1: slot 9 INTA is routed to irq 5
pcib1: slot 10 INTA is routed to irq 10
pcib2: PCI-PCI bridge at device 5.0 on pci1
pci2: PCI bus on pcib2
pcib1: slot 5 INTA is routed to irq 9
pcib2: slot 8 INTA is routed to irq 9
pcib1: slot 5 INTB is routed to irq 10
pcib2: slot 8 INTB is routed to irq 10
pcib1: slot 5 INTC is routed to irq 5
pcib2: slot 8 INTC is routed to irq 5
pcib1: slot 5 INTA is routed to irq 9  
pcib2: slot 12 INTA is routed to irq 9
ohci0: NEC uPD 9210 USB controller mem
0xe8007000-0xe8007fff irq 9 at device 8.0 on pci2
ohci0: [GIANT-LOCKED]
usb4: OHCI 

problems with LDAP TLS and nss_ldap on 5.2.1

2004-06-08 Thread mkes
I have upgraded our LDAP server to 5.2.1Release running openldap-2.1.30 
server/client + pam_ldap-1.6.9 + nss_ldap-1.204_5.  The previous 
configuration (openldap20-2.0.25_4 + nss_ldap-1.204_1 + pam_ldap-1.6.1) 
was runing OK on FreeBSD 5.1R 

After the upgrade I have 2 major problems. 

1) I'm not able to make the ldap server to work with TLS. 
The previous installation worked fine but I haven't properly backed up TLS 
certificates and I had to generate them again using the approach described 
at http://www.openldap.org/faq/data/cache/185.html 
As soon as I add these TLS options to the slapd.conf:

# TLS options for slapd
TLSCipherSuite HIGH:MEDIUM:+SSLv2
TLSCACertificateFile   /usr/local/etc/openldap/cacert.pem
TLSCertificateFile /usr/local/etc/openldap/servercrt.pem
TLSCertificateKeyFile  /usr/local/etc/openldap/servercrt.pem

... running /etc/rc.d/slapd start doesn't  even start the server but 
doesn't complain either. So I have no clue what's going wrong and right 
now I have to run the server without TLS.


2) The second problem is with nss_ldap. 
I have installed the server first, loaded data to the directory, tried 
some searches etc. Everything worked OK (except for the TLS). Nomaly, the 
startup of the server takes about 1 second. As soon as I install nss_ldap 
(in the very moment I run make install on that port) the startup time of 
the ldap server slows down to 30+ seconds and I also experienced cases 
when it didn't start at all. If I deinstall the nss_ldap the server 
startup is quick again.


Any ideas of what can be wrong in either case would be really welcome. 

Thanks

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


Re: Boot GUI / Boot data and process / Fragmentation

2004-06-08 Thread Joan Picanyol i Puig
On Tue, 08 Jun 2004 04:03:31 -0400, Bruce Hunter wrote:

 This is off topic, I was wondering if there is a pretty little gui that
 will run when booting.

man splash

In my /boot/loader.conf I haver:
splash_bmp_load=YES
bitmap_load=YES
bitmap_name=/boot/daemon_640.bmp

qvb
-- 
pica


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


Re: Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-08 Thread Jason Stewart
On 08/06/04 02:21 -0400, Bruce Hunter wrote:
 This is off topic, I was wondering if there is a pretty little gui that
 will run when booting. Kinda like windows, lindows, and even Redhat
 Fedora has one; which can be switched back and forth. Basically, so I
 don't have to see the text scrolling down and just see a loader with %.
 Maybe in the ports collection? If not I might have write one. :oP

Hi Bruce,
Here are the first 2 google results for 'FreeBSD boot splash'
http://www.baldwin.cx/splash/
http://students.seattleu.edu/hodeleri/FreeBSD/boot.html

If you want a graphical boot manager, install grub from ports. This is
the boot manager that most Linux distros use, and it's easy to insert
your own nifty splash screen in the background.
 
 Oh, and thanks for your comments/answers. One last question thought? How
 do I get rid of that fragmentation crap? Just for shits and giggles..
 ;o)
 
 Bruce

Why would you want to? I imagine that you would change the source
somewhere in /usr/src/sys. I'm not intimate with the source other than
your basic make world, so I couldn't tell you where.

One other thing that was not mentioned is that the FreeBSD kernel will
change the way files are stored on disk if it notices that the fs is
getting too fragmented. You will see some kernel message like '/kernel
fs: optimization changed from TIME to SPACE'. When the fs is no longer
fragmented the kernel switches back to the time optimization. I don't
really remember the exact message, since I haven't seen it in a while. 

Cheers,
Jason

 
 On Tue, 2004-06-08 at 02:09, Murray Taylor wrote:
  Fragmentation is a non-event in 99.999% of cases. It is nothing like 
  micro$lop fragments and (before you ask, no there is no defrag tool,
  'cos it is not required)
  
  The shutdown question -- well you should not shutdown incorrectly ;-)
  - see man shutdown   and friends
  (BTW - letting the FreeBSD box run and run and run wont hurt anything.
  I'm currently up to 72 days uptime since I last updated the system, and
  we had a machine that got to 698 days here at work .. we had to move
  buildings and thus shut it down..)
  
  for the last question the file you want is 
  
  /var/run/dmesg.boot
  
  which is the boot output from the most recent boot.
  
  You can also see it by issuing the command 
  dmesg
  but the display that this one shows can get over written as the system
  does other log messages.
  
  Hope this helps
  mjt
  
  
  On Tue, 2004-06-08 at 16:01, Bruce Hunter wrote:
   I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
   system boots i see all kinda fragmentation information. How do I correct
   this? Any good reading material? Also, what should I do when I shutdown
   my system incorrectly and boot up again? Last questions! I promise. Is
   there a file that shows the data printed to screen durning boot?
   Probably, a log file.
   
   Thanks guys,
   Bruce
   
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
   
   
   This Email has been scanned for Viruses by MailMarshal.
   
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-08 Thread Bill Moran
[It's not generally good policy to ask multiple questions in one email.  As
crazy as it sounds, you're better off sending a seperate email for each
question.  See http://www.lemis.com/questions.html]

Bruce Hunter [EMAIL PROTECTED] wrote:

 This is off topic, I was wondering if there is a pretty little gui that
 will run when booting. Kinda like windows, lindows, and even Redhat
 Fedora has one; which can be switched back and forth. Basically, so I
 don't have to see the text scrolling down and just see a loader with %.
 Maybe in the ports collection? If not I might have write one. :oP

See the various documents on boot splash screens.  man splash on your
FreeBSD system is the best reference I know of, although a google search is
likely to turn up more.

I don't know of anything more advanced than that.  You may have to write it ;)

 Oh, and thanks for your comments/answers. One last question thought? How
 do I get rid of that fragmentation crap? Just for shits and giggles..
 ;o)

Just keep using your system.  UFS manages fragmentation during normal usage.

However, fragmentation is not what you think it is.  If you tried to evaluate
a UFS file system compared to Windows idea of fragmentation, it would look
fragmented as hell, but UFS does this in a controlled manner that is intended
to maintain high-performance, and correcting it would actually be counter-
productive.  UFS fragmentation is the act of breaking down storage units into
smaller ones to accomodate files of uneven sizes, and I don't know of any
way to prevent this other than deleting such files.

See /usr/share/doc/papers/diskperf.ascii.gz for a more technical explanation
of how things work.

 
 Bruce
 
 On Tue, 2004-06-08 at 02:09, Murray Taylor wrote:
  Fragmentation is a non-event in 99.999% of cases. It is nothing like 
  micro$lop fragments and (before you ask, no there is no defrag tool,
  'cos it is not required)
  
  The shutdown question -- well you should not shutdown incorrectly ;-)
  - see man shutdown   and friends
  (BTW - letting the FreeBSD box run and run and run wont hurt anything.
  I'm currently up to 72 days uptime since I last updated the system, and
  we had a machine that got to 698 days here at work .. we had to move
  buildings and thus shut it down..)
  
  for the last question the file you want is 
  
  /var/run/dmesg.boot
  
  which is the boot output from the most recent boot.
  
  You can also see it by issuing the command 
  dmesg
  but the display that this one shows can get over written as the system
  does other log messages.
  
  Hope this helps
  mjt
  
  
  On Tue, 2004-06-08 at 16:01, Bruce Hunter wrote:
   I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
   system boots i see all kinda fragmentation information. How do I correct
   this? Any good reading material? Also, what should I do when I shutdown
   my system incorrectly and boot up again? Last questions! I promise. Is
   there a file that shows the data printed to screen durning boot?
   Probably, a log file.
   
   Thanks guys,
   Bruce
   
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to [EMAIL PROTECTED]
   
   
   This Email has been scanned for Viruses by MailMarshal.
   
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Leaving a server on all day

2004-06-08 Thread Jonathon McKitrick

I have my desktop configured to run as a server and app server for a thin
client laptop.  Will running it all day without suspend mode use a lot of
power?

Is it true that the heat buildup in a home system (rather than a heavily
fanned commercial system) will kill the drives faster and this is a good
reason to turn it off during the day when I am not home?


jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Correction: USB 2.0 reporting 1.000MB/s transfers?

2004-06-08 Thread Richard Bejtlich
Hello,

I included the wrong dmesg snippet in my original
post.  When I showed the following, I used an excerpt
for the DVD burner connected via _FireWire_:

--
cd1 at sbp0 bus 0 target 0 lun 0
cd1: PLEXTOR DVDR   PX-708A 1.06 Removable CD-ROM
SCSI-0 device
cd1: 50.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY,
Medium not present - tray closed
--

As the complete dmesg from the first post showed, with
_USB_ I only get 1.000MB/s:

cd2 at umass-sim0 bus 0 target 0 lun 0
cd2: PLEXTOR DVDR   PX-708A 1.06 Removable CD-ROM
SCSI-0 device
cd2: 1.000MB/s transfers
cd2: Attempt to query device size failed: NOT READY,
Medium not present - tray closed

Sorry for the confusion!

Thank you,

Richard




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Bart Silverstrim
On Jun 8, 2004, at 8:21 AM, Jonathon McKitrick wrote:
I have my desktop configured to run as a server and app server for a 
thin
client laptop.  Will running it all day without suspend mode use a lot 
of
power?
Not necessarily.  If you want to measure it, make sure you have a 
decent UPS (which I'd recommend for ANY desktop setup) and most UPSs 
now have a monitoring utility or tool available (or load meter on the 
front) that will give you an idea how much power is being used.

The most I'd do is turn off the monitor...that probably uses most 
energy if it's not an LCD.

You can get figures from the power supply of the wattage and figure out 
what the MOST energy use would be for your area's rate with your last 
electric bill.  It would all depend on how many drives/fans/etc. you 
have running all the time, but overall I wouldn't think that one 
computer is that big of a drain.

Is it true that the heat buildup in a home system (rather than a 
heavily
fanned commercial system) will kill the drives faster and this is a 
good
reason to turn it off during the day when I am not home?

As long as it has all it's cooling fans working and the room doesn't 
get too hot, it should be okay.  If you're worried you can add more 
cooling fans.  I keep a small air conditioner in the room (it's a small 
room where my systems are) running for summer days.

Will it kill the drives faster?  Well, *using* it will shorten it's 
lifespan.  It all depends on how valuable the data is...make backups of 
important data, or for me, I keep a RAID system set up (not that it's a 
backup...I'm protecting against drive failure as a loss of data).  Or 
get another computer and configure a RAIC...redundant array of 
inexpensive computers :-)  save data to multiple systems periodically.

All depends on your setup and how important your data is.  Personally I 
have a Win9x system at home that's been abused since college (old PII 
350 with a TV card) and a Linux desktop from Pogo that I use as a 
server, with IDE Raid in it...but it's just a modified desktop system.  
Works like a champ so far, both are running 24/7 with the Windows 
machine getting rebooted once every other day or so.

UNIX systems prefer not getting rebooted...they do Cron chores at night 
for housekeeping, and UNIX was made with being run constantly in mind.  
I'd advise NOT shutting down Unix systems unless there's a particular 
reason to do so, and configure your network/computers to try to keep 
data loss from failure of a component as a minimal worry; backups and 
software RAID may be good options.  but that's just me.

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


Wisdom of automating upgrades

2004-06-08 Thread Peter Risdon
The main cost of having computers for most companies lies not in 
software or hardware, but in support. I have been pondering the wisdom 
of automating the upgrade process, so that sources are cvsup'ed nightly 
and make buildworld buildkernel etc and portupgrade happen overnight 
maybe once a week or month - and perhaps every day a security fix is 
announced.

Windows and Mac users are accustomed to automatic software updates on 
server products as well as desktops, so there is a competitive issue 
here. I've persuaded a number of companies to switch to FreeBSD and want 
to ensure the commercial logic of doing so is as complete as possible.

cvsup'ing overnight is routine and fine.
The make build/install stuff seems a bit more delicate. I'm happy that I 
have figured out how to automate this, but not _whether_ I should do so. 
I am of course only considering tracking RELENG_4 at this stage.

Ports are perhaps more likely to be problematic (though less likely to 
be a blocker to remote fixing than a failure to boot). Having said that, 
deprecation of versions and ports is fairly rare and keeping track of a 
small group in common use is feasible.

I'd be grateful for any input on this. I can picture waking up to find 
that every machine I administrate is simultaneously *#!$%ed one morning. 
On the other hand, I like to provide the best value I can for clients 
and at the moment I have to charge for my time whenever an upgrade is 
necessary.

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Vince Hoffman


On Tue, 8 Jun 2004, Peter Risdon wrote:

 The main cost of having computers for most companies lies not in
 software or hardware, but in support. I have been pondering the wisdom
 of automating the upgrade process, so that sources are cvsup'ed nightly
 and make buildworld buildkernel etc and portupgrade happen overnight
 maybe once a week or month - and perhaps every day a security fix is
 announced.

 Windows and Mac users are accustomed to automatic software updates on
 server products as well as desktops, so there is a competitive issue
 here. I've persuaded a number of companies to switch to FreeBSD and want
 to ensure the commercial logic of doing so is as complete as possible.

 cvsup'ing overnight is routine and fine.

 The make build/install stuff seems a bit more delicate. I'm happy that I
 have figured out how to automate this, but not _whether_ I should do so.
 I am of course only considering tracking RELENG_4 at this stage.

 Ports are perhaps more likely to be problematic (though less likely to
 be a blocker to remote fixing than a failure to boot). Having said that,
 deprecation of versions and ports is fairly rare and keeping track of a
 small group in common use is feasible.

 I'd be grateful for any input on this. I can picture waking up to find
 that every machine I administrate is simultaneously *#!$%ed one morning.
 On the other hand, I like to provide the best value I can for clients
 and at the moment I have to charge for my time whenever an upgrade is
 necessary.

You may want to have a look at freebsd-update. Its a binary updater,
Client/Server config, the server code and info on what it is, is available
from http://www.daemonology.net/freebsd-update/
and the client is in ports.

Vince

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

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Bill Moran
Peter Risdon [EMAIL PROTECTED] wrote:

 The main cost of having computers for most companies lies not in 
 software or hardware, but in support. I have been pondering the wisdom 
 of automating the upgrade process, so that sources are cvsup'ed nightly 
 and make buildworld buildkernel etc and portupgrade happen overnight 
 maybe once a week or month - and perhaps every day a security fix is 
 announced.
 
 Windows and Mac users are accustomed to automatic software updates on 
 server products as well as desktops, so there is a competitive issue 
 here. I've persuaded a number of companies to switch to FreeBSD and want 
 to ensure the commercial logic of doing so is as complete as possible.
 
 cvsup'ing overnight is routine and fine.
 
 The make build/install stuff seems a bit more delicate. I'm happy that I 
 have figured out how to automate this, but not _whether_ I should do so. 
 I am of course only considering tracking RELENG_4 at this stage.

Why not just cvsup/buildworld/buildkernel nightly, and monitor the FreeBSD
security advisory list.  When a security problem is found, you only have to
installworld/installkernel, which is usually pretty quick.

 Ports are perhaps more likely to be problematic (though less likely to 
 be a blocker to remote fixing than a failure to boot). Having said that, 
 deprecation of versions and ports is fairly rare and keeping track of a 
 small group in common use is feasible.
 
 I'd be grateful for any input on this. I can picture waking up to find 
 that every machine I administrate is simultaneously *#!$%ed one morning. 
 On the other hand, I like to provide the best value I can for clients 
 and at the moment I have to charge for my time whenever an upgrade is 
 necessary.

Install portaudit, which will include nightly audits of port problems in your
daily run email.  This takes the guesswork out of when to upgrade.  By cvsupping
the ports nightly, you only have to run portupgrade to get things updated.

Because of the dependencies in ports (which can get rather complex) I wouldn't
recommend automatically doing much with ports.

BTW: the automatic upgrades thing that Mac and Windows claim is a lie.  First
off, it doesn't include installed software, so you can't compare it to ports.
Secondly, most large companies that I'm aware of do NOT install Windows updates
until they've tested the changes in the lab to ensure that said changes don't
break more than they fix.  On that count, I think FreeBSD is just as good, or
better, than Windows or Mac.

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


Re: Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-08 Thread Jerry McAllister
 
 I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
 system boots i see all kinda fragmentation information. How do I correct
 this? Any good reading material? 

Do not correct it.   It is not at all the same thing as fragmentation
in Microsloth systems and is not a problem.   There are some papers
on the topic and I seem to remember something written up, maybe on
onlamp.com or somewhere like that, that explain it fairly well.  Do
a little searching on UFS, FFS and fragmentation to accumulate some info.

   Also, what should I do when I shutdown
 my system incorrectly and boot up again? 

Use the shutdown(8) command to shut the system down.
If it goes down improperly, such as in a power failure, generally
the standard fsck(8) during the subsequent boot will take care 
of it.   It is possible that a file or two gets too mangled or
the root file system in unclean and then it will ask you to run fsck
manually.   Generally, then it will dump you right in to single user 
mode, but if not, then boot to single user mode and then run 'fsck -f'
on each file system it can automatically recover starting with root (/)
You may have to do some 'y' responses or if it is so much it is onerrous,
then do  'fsck -fy' and it will assume a 'y' at every point.
Then, when it is all cleaned up, just reboot.   On rare occasions I have
had to do the process twice.  But anything more than that is a strong
indicator that the hard drive itself is the problem and it is failing
and only a replacement will solve the problem.

 Last questions! I promise. Is
 there a file that shows the data printed to screen durning boot?
 Probably, a log file.

The dmesg(8) command will normally print out what you need.
If the system has been up too long for it to go back far enough, 
then look in the file:   /var/run/dmesg.boot

jerry

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


Re: Leaving a server on all day

2004-06-08 Thread Peter Ulrich Kruppa
On Tue, 8 Jun 2004, Jonathon McKitrick wrote:
I have my desktop configured to run as a server and app server for a thin
client laptop.  Will running it all day without suspend mode use a lot of
power?
Is it true that the heat buildup in a home system (rather than a heavily
fanned commercial system) will kill the drives faster and this is a good
reason to turn it off during the day when I am not home?
This is only my personal experience:
I have got a PIII running all day for over 2 years now (my 
server): no problems and I am using just the small fan it came 
with.
I had two AMD's (a K6 and now an Athlon): for both I had to buy 
bigger fans since they started doing strange things after a 
while.
At work I have seen three IDE harddisks decease on 
workstations during the last four and a half years, but never a 
SCSI harddisk. These workstations are shut down and rebooted 
quite often.

So *my* summary for your private server would be:
- Leaving it on all day will not kill your harddisks, in the
  contrary: even cheap ones will live longer.
- AMD processors tend to run hot, so if you have one, you should
  look for a good fan.
Regards,
Uli.


jm
--
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD.org e-mail addresses

2004-06-08 Thread Jerry McAllister
 
 Hello All!
 
 I have a strange question and I couldn't answer it myself in any 
 documentation.
 Can I get some e-mail address [EMAIL PROTECTED]
 If I can, what should I do or who should I be?
 I need this for working with FreeBSD people and mailing lists.

My understanding is that you have to be an official committer to
FreeBSD.That is a limited group.   You can read up on how to
become a committer on the FreeBSD web page.

jerry

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

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


Re: Leaving a server on all day

2004-06-08 Thread Jonathon McKitrick
: So *my* summary for your private server would be:
: - Leaving it on all day will not kill your harddisks, in the
:   contrary: even cheap ones will live longer.
: - AMD processors tend to run hot, so if you have one, you should
:   look for a good fan.

The guy who built mine installed 2 fans, plus the fan directly on the
heatsink, of course.

How about power usage?  I'm wondering about my electric bill.  ;-)



jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Chiang Seng Chang
I also have an always-on headless server running for like 3 years now 
without any problem.

I use it for: apache, samba, vpn, postfix (the usual server apps).
I think the key is to use the minimal (translate: cooler, less power 
hungry) components.

Mine is P2-400 with 5400 rpm HDDs.
A UPS would be a nice addition.
The ONLY issue I have is it takes a few *days* to do portupgrade -ar ;-)
maybe I should just remove all the X stuff.
-cs
Peter Ulrich Kruppa wrote:
On Tue, 8 Jun 2004, Jonathon McKitrick wrote:
I have my desktop configured to run as a server and app server for a thin
client laptop.  Will running it all day without suspend mode use a lot of
power?
Is it true that the heat buildup in a home system (rather than a heavily
fanned commercial system) will kill the drives faster and this is a good
reason to turn it off during the day when I am not home?
This is only my personal experience:
I have got a PIII running all day for over 2 years now (my server): no 
problems and I am using just the small fan it came with.
I had two AMD's (a K6 and now an Athlon): for both I had to buy bigger 
fans since they started doing strange things after a while.
At work I have seen three IDE harddisks decease on workstations during 
the last four and a half years, but never a SCSI harddisk. These 
workstations are shut down and rebooted quite often.

So *my* summary for your private server would be:
- Leaving it on all day will not kill your harddisks, in the
  contrary: even cheap ones will live longer.
- AMD processors tend to run hot, so if you have one, you should
  look for a good fan.
Regards,
Uli.


jm
--
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wisdom of automating upgrades

2004-06-08 Thread Stephen Liu
Hi folks,

This is an interesting topic.

 On Tue, 8 Jun 2004, Peter Risdon wrote:
 
  The main cost of having computers for most
 companies lies not in
  software or hardware, but in support. I have been
 pondering the wisdom
  of automating the upgrade process, so that sources
 are cvsup'ed nightly
  and make buildworld buildkernel etc and
 portupgrade happen overnight
  maybe once a week or month - and perhaps every day
 a security fix is
  announced.
 
  Windows and Mac users are accustomed to automatic
 software updates on
  server products as well as desktops, so there is a
 competitive issue
  here. I've persuaded a number of companies to
 switch to FreeBSD and want
  to ensure the commercial logic of doing so is as
 complete as possible.
 
  cvsup'ing overnight is routine and fine.
 
  The make build/install stuff seems a bit more
 delicate. I'm happy that I
  have figured out how to automate this, but not
 _whether_ I should do so.
  I am of course only considering tracking RELENG_4
 at this stage.
 
  Ports are perhaps more likely to be problematic
 (though less likely to
  be a blocker to remote fixing than a failure to
 boot). Having said that,
  deprecation of versions and ports is fairly rare
 and keeping track of a
  small group in common use is feasible.
 
  I'd be grateful for any input on this. I can
 picture waking up to find
  that every machine I administrate is
 simultaneously *#!$%ed one morning.
  On the other hand, I like to provide the best
 value I can for clients
  and at the moment I have to charge for my time
 whenever an upgrade is
  necessary.
 
 You may want to have a look at freebsd-update. Its a
 binary updater,
 Client/Server config, the server code and info on
 what it is, is available
 from http://www.daemonology.net/freebsd-update/
 and the client is in ports.

Is there a way updating all installed ports
automatically wheneven the server/workstation is
booted and connected to Internet, similar to ntp
synchronizing the clock.

B.R.
Stephen Liu

___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


F-Prot update errors

2004-06-08 Thread whizkid
I install F-Prot from the ports.  If I run check-updates.pl from the
console I get a sucessful update everytime (or a nothing updates found
message) but if I added the script into the crontab (via crontab -e as
root) I get the following Email:

***
* F-Prot Antivirus Updater*
***

There's a new version of:
Document/Office/Macro viruses signatures on the web.
Starting to download...
Download completed.

Preparing to install Document/Office/Macro viruses signatures.
unzip: not found
Error trying to unzip: macrdef2.zip.
Make sure unzip is installed and it's location is within your PATH variable
Fatal error.Exiting...



if I do a echo $path I get:

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

if I do a which unzip I get:

/usr/local/bin/unzip

so unzip is clearly in the path...  Anyone have any ideas?  Here is my
crontab string:

27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron

ns1# uname -a
FreeBSD ns1.valuedj.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Mar 11
09:35:27 PST 2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wisdom of automating upgrades

2004-06-08 Thread Luke Kearney

On Tue, 8 Jun 2004 23:02:31 +0800 (CST)
Stephen Liu [EMAIL PROTECTED] spake thus:

 Hi folks,
 
 This is an interesting topic.
 
  On Tue, 8 Jun 2004, Peter Risdon wrote:
  
   The main cost of having computers for most
  companies lies not in
   software or hardware, but in support. I have been
  pondering the wisdom
   of automating the upgrade process, so that sources
  are cvsup'ed nightly
   and make buildworld buildkernel etc and
  portupgrade happen overnight
   maybe once a week or month - and perhaps every day
  a security fix is
   announced.
  
   Windows and Mac users are accustomed to automatic
  software updates on
   server products as well as desktops, so there is a
  competitive issue
   here. I've persuaded a number of companies to
  switch to FreeBSD and want
   to ensure the commercial logic of doing so is as
  complete as possible.
  
   cvsup'ing overnight is routine and fine.
  
   The make build/install stuff seems a bit more
  delicate. I'm happy that I
   have figured out how to automate this, but not
  _whether_ I should do so.
   I am of course only considering tracking RELENG_4
  at this stage.
  
   Ports are perhaps more likely to be problematic
  (though less likely to
   be a blocker to remote fixing than a failure to
  boot). Having said that,
   deprecation of versions and ports is fairly rare
  and keeping track of a
   small group in common use is feasible.
  
   I'd be grateful for any input on this. I can
  picture waking up to find
   that every machine I administrate is
  simultaneously *#!$%ed one morning.
   On the other hand, I like to provide the best
  value I can for clients
   and at the moment I have to charge for my time
  whenever an upgrade is
   necessary.
  
  You may want to have a look at freebsd-update. Its a
  binary updater,
  Client/Server config, the server code and info on
  what it is, is available
  from http://www.daemonology.net/freebsd-update/
  and the client is in ports.
 
 Is there a way updating all installed ports
 automatically wheneven the server/workstation is
 booted and connected to Internet, similar to ntp
 synchronizing the clock.
 
 B.R.
 Stephen Liu

in theory it should be possible to write a script that runs portupgrade
and then run it once at boot time from cron but I have never done it
personally. I can see some potential for disaster if it is not done with
extreme care. 

LukeK

-- 
Luke Kearney [EMAIL PROTECTED]

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


Re: fstab

2004-06-08 Thread Jerry McAllister
 
 The last time I edited this file my system ceased to boot. I have made what 
 looks to me like a valid entry. This is the same thing I entered in last 
 time. I am not going to save this but does it look valid to anyone out there?
 
 
 # DeviceMountpoint  FStype  Options DumpPass#
 /dev/ad0s1b noneswapsw  0   0
 /dev/ad0s1a /   ufs rw  1   1
 /dev/ad0s1f /tmpufs rw  2   2
 /dev/ad0s1g /usrufs rw  2   2
 /dev/ad0s1e /varufs rw  2   2
 /dev/acd0c  /cdrom  cd9660  ro,noauto   0   0
 /dev/acd1c  /cdrom1 cd9660  ro,noauto   0   0
 
 This is the line I added
 /dev/ad1s1  /disk2  ufs rw  2  2

Well, did you really create a file system on ad1s1 - the whole
slice.   Probably, best if you also go in to disklabel(8) and
make at least one partition on that slice.
 
do   disklabel -e -r ad1s1

Edit the file.   I think it should come up with a c: line that has a type
called 'unused' (it has been quite a while since I added a virgin disk so 
my memory may be flakey here).   It would look something like:

 c: 780598350unused0 0 # (Cyl.0 - 4858)

Copy that c: line and hange it to something like:

 a: 7805983504.2BSD0 0 # (Cyl.0 - 4858)

Leave all the numbers the same - just change the 'c:' to 'a:' and 
the 'unused' to '4.2BSD'

Then use newfs(8) to create a filesystem on it:

do   newfs /dev/ad1s1a

If the number of inodes it automatically creates or some other
such thing doesn't suit you, then you will need to insert some
parameters on the newfs command, but usually just the bare newfs
like that will work just fine.

and then put the following in your fstab:

/dev/ad1s1a  /disk2  ufs rw  2  2

I think you can talk to it as the whole slice without a partition
but it is not the usual way and not worth bothering with so, just
do as indicated.
 
If you are using /stand/sysinstall to run the fdisk, disklabel and newfs
commands for you, then make the related decisions - eg create one large
slice for FreeBSD on the ad1 disk, don't make it bootable or have any MBR 
(that's fdisk), then partition the slice with just one partition (a), use 
the 'c' for create partition and then just put all the blocks in to it and 
make it a file system (FS) with the mount point you want to use (that covers
the disklabel, newfs and editing fstab).  Back out and select Commit and 
it should take care of everything else for you.   Some prefer sysinstall
but I generally prefer doing the fdisk, disklabel, newfs and fstab myself
for disks beyond the initial install slice.   It's that control thing.

jerry

 
 proc/proc   procfs  rw  0   0
 
 -- 
 Thank you,
 Joshua
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Peter Ulrich Kruppa
On Tue, 8 Jun 2004, Peter Risdon wrote:
The main cost of having computers for most companies lies not in software or 
hardware, but in support. I have been pondering the wisdom of automating the 
upgrade process, so that sources are cvsup'ed nightly and make buildworld 
buildkernel etc and portupgrade happen overnight maybe once a week or month - 
and perhaps every day a security fix is announced.
[...]
I'd be grateful for any input on this. I can picture waking up to find that 
every machine I administrate is simultaneously *#!$%ed one morning. 
This would be the necessary result of complete automatization, 
wouldn't it?
Did you think about remote access? All administrative tasks on a 
FreeBSD system can be done via ssh from a text console. 
Thus you wouldn't have to be present personally, but keep full 
control of things.

Regards,
Uli.
Peter.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wisdom of automating upgrades

2004-06-08 Thread Peter Risdon
Vince Hoffman wrote:
On Tue, 8 Jun 2004, Peter Risdon wrote:
 

I have been pondering the wisdom
of automating the upgrade process, 
   

You may want to have a look at freebsd-update. Its a binary updater,
Client/Server config, the server code and info on what it is, is available
from http://www.daemonology.net/freebsd-update/
and the client is in ports.
Vince
 

Thanks very much for this.
I was vaguely aware of freebsd-update (I think it's been mentioned on 
this list). But since it seems only to be concerned with security 
updates it forms a subset (albeit vital) of a complete upgrade.

I suppose what I'm driving at is whether the RELENG_4 branch sees many 
commits that are likely to be problematic. My experience of it, which is 
both fairly random and limited, is excellent. I don't remember having 
any problems with a kernel/world upgrade within a production branch. 
Doing a batch of upgrades today simultaneously and remotely, and all 
going fine as usual, made me think of this again.

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Peter Risdon
Peter Ulrich Kruppa wrote:
On Tue, 8 Jun 2004, Peter Risdon wrote:
The main cost of having computers for most companies lies not in 
software or hardware, but in support. I have been pondering the 
wisdom of automating the upgrade process, so that sources are 
cvsup'ed nightly and make buildworld buildkernel etc and portupgrade 
happen overnight maybe once a week or month - and perhaps every day a 
security fix is announced.
[...]
I'd be grateful for any input on this. I can picture waking up to 
find that every machine I administrate is simultaneously *#!$%ed one 
morning. 
This would be the necessary result of complete automatization, 
wouldn't it?

That's the nub - is it the inevitable outcome?
Did you think about remote access? All administrative tasks on a 
FreeBSD system can be done via ssh from a text console. Thus you 
wouldn't have to be present personally, but keep full control of things.

Yes, that's what I normally do.
Regards,
Peter.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anti-Spam app for sendmail

2004-06-08 Thread Chris
Any comments on a good anti-spam app that works with sendmail for a mail 
server?

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


Re: ISPs blocking SMTP connections from dynamic IP address space

2004-06-08 Thread Bill Campbell
On Mon, Jun 07, 2004, Bill Campbell wrote:
On Mon, Jun 07, 2004, Jay Moore wrote:
On Monday 07 June 2004 10:29 am, Bill Moran wrote:

  Just make sure they are truly dynamic ips.  Many people block ips
  identified as DSL connections.  Those are not necessarily dynamic ip
  based.

The easiest way I've found to learn if your IP address is listed, and who is 
listing it is:

http://www.dnsstuff.com/

Telnet to port 25 of any of AOL's MX servers.  You will get an
immediate rejection notice if they think you're in residential
DSL space:
   mailin-01.mx.aol.com
   mailin-02.mx.aol.com
   mailin-03.mx.aol.com
   mailin-04.mx.aol.com

There is an excellent article in The Register on this very topic:
http://www.theregister.co.uk/2004/06/04/trojan_spam_study/

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``It is better to die on your feet than to live on your knees!''
-- Emiliano Zapata.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Peter Ulrich Kruppa
On Tue, 8 Jun 2004, Chiang Seng Chang wrote:
I also have an always-on headless server running for like 3 years now 
without any problem.

I use it for: apache, samba, vpn, postfix (the usual server apps).
I think the key is to use the minimal (translate: cooler, less power 
hungry) components.

Mine is P2-400 with 5400 rpm HDDs.
A UPS would be a nice addition.
The ONLY issue I have is it takes a few *days* to do portupgrade -ar ;-)
maybe I should just remove all the X stuff.
You really should do this. All your services are configured via 
text files anyway.

Regards,
Uli.
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port upgrades

2004-06-08 Thread Daniela
On Tuesday 08 June 2004 00:45, Kris Kennaway wrote:
 On Mon, Jun 07, 2004 at 09:01:15PM +, Daniela wrote:
  On Monday 07 June 2004 19:35, Kris Kennaway wrote:
   On Mon, Jun 07, 2004 at 07:14:34PM +, Daniela wrote:
On Monday 07 June 2004 17:28, Tim Traver wrote:
Hi all,
Is there a way to do a quick update of a particular port
 directory ??? I don't necessarily want to do the portupgrade, but
 just get the latest port files for a particular port.
Right now, if i want to make sure the ports are up to date, I
 have to use sysinstall to download the entire port collection,
 which takes forever...
Am I missing a quick utility to just check and make sure I have
 the latest port files for one at a time ?
   
You could use CVSup to update just the directories you want, and you
can also put this into the system crontab to periodically run it.
That's pretty convenient.
  
   You _will_ run into problems if you only update parts of the ports
   collection.
 
  Well, I didn't mean upgrading of just one or two directories, but rather
  skipping directories such as the japanese ports if you don't speak
  japanese. Almost no ports depend on things in language-specific
  directories (at least not the ones I have installed).

 OK, but you still can't do some things like build an index because
 some things do still depend on those ports you're not upgrading.

While we're on the subject, how do you build an index of the binary packages 
you have? I needed this a long time ago, when I created a custom FreeBSD 
installation CD-ROM, and I thought shellscript and hand-editing were the only 
ways to do it. Recursive fetching was a pain too, even with portupgrade. How 
do you gurus solve this?

Daniela


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


Re: Legal question regarding products built with FreeBSD

2004-06-08 Thread Bill Moran
Jason Richmond [EMAIL PROTECTED] wrote:

 To Whom it May Concern,
  
 I have built a NAS product that uses FreeBSD.  I have customized the kernel
 and built a custom web interface.  After reading through the FreeBSD legal
 section I am fairly certain that distribution of this product does not violate
 any licenses.  Is there any way that I can verify that this is the case?  I
 plan on having an attorney review this information.  However, I thought that
 contacting FreeBSD directly would keep me from overlooking anything important.

Legal disclaimer: I am not a lawyer, so this does not represent legal advice.
 I am not an official representative of FreeBSD, so my opinions are not the
 opinions of the FreeBSD or any related project.

With that out of the way.

No, you're not violating anything legally, doing what you say.

I think I can speak for many FreeBSDers when I say:
I hope your project is successful and lucrative.  You are not obligated, legally
or otherwise, to give anything back to the FreeBSD community if you are
successful, in fact, you don't even have to admit to your customers that your
product runs FreeBSD.  However, we hope you will share your success with the
FreeBSD community by proudly announcing that your product is based on FreeBSD,
and donating some of the profits you make back to the community by doing such
things as sponsoring developers such as Poul-Henning Kamp, or donating money
or hardware to the FreeBSD Foundation.  If you don't, however, at least come
back and tell the FreeBSD community about your success, so we can feel good
about what we've done. :)

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


make buildworld problem

2004-06-08 Thread Mantas Audickas
Hello there, 
i don't know where to ask.. i have tried in many irc channels, but no
one could help me..
so i'm trying to make buildworld, but there i get an error, always the
same.. i have tried in fresh installed os, with GENERIC kernel and with
my own, cvsup source and so on.. but nothing goes better..
I have read /usr/src/UPDATING.. and tried to follow rules.
I put error log file in http://migla.ktu.lt/~cerberis/error .. maybe you
can help me?

thanks for time..

p.s. some info about system:

22:29:35 / # uname -a
FreeBSD WD.kobra.ktu.lt 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #5:
Fri Jun  4 18:23:25 EEST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/WD  i386

22:29:36 / # gcc --version
gcc (GCC) 3.3.3 [FreeBSD] 20031106


22:29:52 / # cat /etc/make.conf
# -- use.perl generated deltas -- #
# Created: Thu Apr 22 19:02:38 2004
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo

22:30:14 / # echo $PATH
./:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/root/bin:/stuff/bin:/usr/local/linux-ibm-jdk1.4.1/bin

22:33:36 / # cat /etc/supfile/source.sup
*default host=cvsup2.lt.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix

*default compress

src-all

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


free

2004-06-08 Thread dauda braimah
How do I install freebsd and another Os in a pc with
2gigabyte hdd disk eg Window XP and freebsd.

How do I format a system that has freebsd 4.5 in it 

Thanks you and God bless




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ernesto Ortiz

2004-06-08 Thread Jerry McAllister
 
 I have been doing some research on FreeBSD and I want to use it as my OS but 
 i have no idea on what files I need to download from the ftp sites. If 
 anyone can help with my problem I would appreciate it a lot. I have a really 
 good computer and I am sure that is more than capable of running 
 FreeBSD...But I lack the understanding on what I need to get to install it 
 in my PC.

It depends a little on how you want to do the install.
That further depends a little on the quality of your network connection.

If your network connection is not very fast or you have trouble FTPing
files, then you will probably want to download, burn and build from
the -RELEASE-i386-disc1.iso and (possibly) -RELEASE-i386-disc2.iso
files.   

In this case, everything you need to do an installation and even install
a few of the most popular ports is on the CD[s].  Once you download
them, you can proceed without using the net. 

If your network connection is reasonable and you don't have any trouble
with ftp, then the easiest is to just download the
  -RELEASE-i386-miniinst.iso
If you use the mini-iso, then the boot and install stuff is in the
iso, but all the binaries, packages and ports skeleton are downloaded
during the install process from the mirror site you specify during
the install.

The  in the names above refers to the version number.   So, if you
want to load version 4.10 from the mini-iso, then it would be
4.10-RELEASE-i386-miniinst.iso

Note that for releases 4.9 and earlier the mini-iso is  xxx-mini.iso
rather than xxx-miniinst.iso 
I am not sure what prompted the change.  Just makes it harder to type
accurately as far as I can see.

So, ftp to ftp.freebsd.org,   log in as anonymous with your Email address
as password.   Then cd to:   pub/FreeBSD/releases/i386/ISO-IMAGES/

again where  is the version you want.   
So for  version 4.10 it is:   pub/FreeBSD/releases/i386/ISO-IMAGES/4.10
The iso images are all there.

You might also want to download the CHECKSUM.MD5 file and use md5
to verify the integrety of the download.  All the checksums for a 
particular release are in the one file and it is a straight text file.

I normally choose to install over the net so I just download the mini-iso.
But, I am fortunate in connections, having access to a university
high speed links, but unfortunate in funds, due to the same university
relationship.  

One further choice that is worth considering is to buy a preburned CD
set from one of several vendors that package a set already for you.
Usually that includes the CDs that you can get from FreeBSD, plus
usually some additional CDs with some of the ports, plus most often
a printed copy of the handbook or some other printed documentation.
One special benefit of buying the CD set if you can is that most of
these companies donate part of their receipts to the FreeBSD project.

IF you buy the set, then you can install without having any network 
connection (or a bad one).

jerry

 
 Thanks for your time.
 Sincerly Ernesto Ortiz
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Chiang Seng Chang
Well... X is not started automatically (a.k.a. no gdm/kdm)... sometimes 
I'd like to play with some X stuff...

I know there are other solution, like build on a fast machine and 
install onto the slow one.  I didn't bother because 1) the server is 
still working while the upgrade is taking it's own sweet time, and more 
importantly 2) I have no fast machine ;-)

I put x11 into the ignore list in pkgtools.conf, but the recent perl 5.8 
upgrade seems to ignore that and build everything anyway.

-cs
p.s. sorry have to resend this cos' toying with my postfix canonical 
settings...

Peter Ulrich Kruppa wrote:
On Tue, 8 Jun 2004, Chiang Seng Chang wrote:
I also have an always-on headless server running for like 3 years 
now without any problem.

I use it for: apache, samba, vpn, postfix (the usual server apps).
I think the key is to use the minimal (translate: cooler, less power 
hungry) components.

Mine is P2-400 with 5400 rpm HDDs.
A UPS would be a nice addition.
The ONLY issue I have is it takes a few *days* to do portupgrade -ar ;-)
maybe I should just remove all the X stuff.
You really should do this. All your services are configured via text 
files anyway.

Regards,
Uli.
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fxp0: device timeout with thinkpad r40

2004-06-08 Thread Luke Kearney

On Tue, 8 Jun 2004 17:45:09 +0200
[EMAIL PROTECTED] spake thus:

 Hey
 
 I've found some documented problems with this on google but nothing that really 
 helped me. I have an IBM Thinkpad R40 and finding chipset information for it all the 
 docs say that it's an Ethernet Driver(ya i know) so the best i've got is that it's 
 intergrated into the motherboard. I even have the pdf manual with all hardware specs 
 and all it says is the following:
 
   GAU: Intel PRO/Wireless Network Connection 802.11b, 56K14 modem, 10/100 
 Ethernet, BluetoothTM,15
 
   G3U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in 
 antenna)GDU: IBM 11a/b Wi-Fi wireless, 56K modem, 10/100 Ethernet
  BAU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet
 
   BSU: Cisco 802.11b, 56K modem, 10/100 Ethernet
 
   B4U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in 
 antenna)
  5TU: Cisco 802.11b, 56K modem, 10/100 Ethernet
 
   58U, 5JU, F2U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with 
 built-in antenna)
  2QU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet
 
   47U, 24U, 22U, 2JU: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with 
 built-in antenna)
  6LU, 3LU: IBM 11a/b Wi-Fi wireless, 56K modem, 10/100 Ethernet
 
   2FU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet
 
   2SU: Cisco 802.11b, 56K modem, 10/100 Ethernet
 
   27U, 26U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in 
 antenna)
  
 
 
 
 ...which is weird because it also talks a lot about the wlan card which might be 
 causing all of this.
 
 Well basically i need some help from someone who got freebsd working on a similar 
 laptop and i would really appriciate it.

I have an IBM X30 which has an onboard wireless and onboard ethernet
interface. It was no drama to setup at all however I do get device
timeouts on the wireless NIC from time to time. Often when trying to cp
large files via NFS. What does dmesg tell you about the wlan NIC?

HTH

LukeK

-- 
Luke Kearney [EMAIL PROTECTED]

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


Re: F-Prot update errors

2004-06-08 Thread Hasse
On Tuesday 08 June 2004 17.08, [EMAIL PROTECTED] wrote:
 I install F-Prot from the ports.  If I run check-updates.pl from the
 console I get a sucessful update everytime (or a nothing updates found
 message) but if I added the script into the crontab (via crontab -e as
 root) I get the following Email:

 ***
 * F-Prot Antivirus Updater*
 ***

 There's a new version of:
 Document/Office/Macro viruses signatures on the web.
 Starting to download...
 Download completed.

 Preparing to install Document/Office/Macro viruses signatures.
 unzip: not found
 Error trying to unzip: macrdef2.zip.
 Make sure unzip is installed and it's location is within your PATH variable
 Fatal error.Exiting...



 if I do a echo $path I get:

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

 if I do a which unzip I get:

 /usr/local/bin/unzip

 so unzip is clearly in the path...  Anyone have any ideas?  Here is my
 crontab string:

 27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron

 ns1# uname -a
 FreeBSD ns1.valuedj.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Mar 11
 09:35:27 PST 2004
 ___
As far as I remember, according to the install doc for F-Prot,
you're supposed to put /usr/local/bin before /usr/bin in your path.
Also it depends of using bash shell.
Check the docs at F-Prot's website.
/Hasse.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wisdom of automating upgrades

2004-06-08 Thread Robert Huff

Peter Risdon writes:

  I suppose what I'm driving at is whether the RELENG_4 branch sees
  many commits that are likely to be problematic.

In general, no.
On the other hand ... think of this as a Murphy's Law scenario:
if you automate, it _will_ break horribly two days before some
absolutely critical deadline.
I have learned from bitter experience that guaranteed updates,
aren't.


Robert Huff


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


portupgrade -c (was Re: Boot GUI / Boot data and process / Fragmentation)

2004-06-08 Thread Randy Pratt
On Tue, 8 Jun 2004 00:59:58 -0700
Kent Stewart [EMAIL PROTECTED] wrote:

 On Tuesday 08 June 2004 12:37 am, Bruce Hunter wrote:
  Thanks for your help Kent
 
  I read something about using portversion -c with the portupgrade
  command to upgrade installed pkgs that needed to be updated.
 
  When I run portversion -c  :: I get a print out of things needed to
  be upgraded and at the end, it shows a 'if' statment.
 
  How do you use this command with portupgrade so it just updates them
  instead of just showing me. Just do it dang it... just do it! ;o)

The output of portversion -c needs to be redirected to a file:

portversion -c  scriptname.sh

To make it usable as a shell script, it needs to have

#!/bin/sh

added at the top to insure that it uses the sh command interperter.
Then, the script needs to be made executable:

chmod 744 scriptname.sh

Then it can be run as root:

./scriptname.sh

 I'm not the one to ask because I use the -c and do them one at a time. 
 The portupgrade option -rRa will do some of it. I just want it to do it 
 at my convience and choosing :). I also have an AMD 2400+ that sits off 
 to the side of my computer desk and I build everything on it. The 
 problem with the -c list is that it doesn't build dependancies first.

I think it will build the required dependencies first *if* they
need updated.  The synopsis of portupgrade is:

portupgrade [ ... bunch of options ... ] pkgname-glob

A list of ports can be passed to portugrade and it will check which
needs to be built first.  This can easily be checked if you have
doubts.  Use -n for no-execute and -f to force.  This is a test
case I tried where liveMedia is a dependency of mplayer:

  # portupgrade -nf mplayer-gtk-esound-0.92.1_2 liveMedia-2004.06.07,1
  ---  Session started at: Tue, 08 Jun 2004 11:06:39 -0400
  ---  Reinstallation of net/liveMedia started at: Tue, 08 Jun 2004
11:06:40 -0400
  ---  Reinstalling 'liveMedia-2004.06.07,1' (net/liveMedia)
OK? [no]
  ---  Reinstallation of net/liveMedia ended at: Tue, 08 Jun 2004
11:06:40 -0400 (consumed 00:00:00)
  ---  Reinstallation of multimedia/mplayer started at: Tue, 08 Jun
2004 11:06:41 -0400
  ---  Reinstalling 'mplayer-gtk-esound-0.92.1_2'
(multimedia/mplayer)
OK? [no]
  ---  Reinstallation of multimedia/mplayer ended at: Tue, 08 Jun
2004 11:06:41 -0400 (consumed 00:00:00)
  ---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ net/liveMedia (liveMedia-2004.06.07,1)
+ multimedia/mplayer (mplayer-gtk-esound-0.92.1_2)
  ---  Packages processed: 2 done, 0 ignored, 0 skipped and 0 failed
  ---  Session ended at: Tue, 08 Jun 2004 11:06:41 -0400 (consumed 00:00:01)
  #

Notice that liveMedia was updated first even though it was last in
the list of ports passed to portupgrade.  The portversion -c 
produces a list of ports and stores them in its variable $pkgs.
Portupgrade will take the list and build them in the correct
dependency order.

I've used this approach for several years now and it works fine.

However, caution should be used when scripting the upgrading of
ports.  After cvsupping and running portsdb -Uu, the
/usr/ports/UPDATING should be read and any items that are
applicable to the installation should be followed before running
any scripts or other portupgrade commands.

If you still prefer doing ports manually, the output of
portupgrade -c can still be useful.  By modifying the script
slightly, it will produce a list of ports to be updated in the
order they should be updated.  Just change the line:

portupgrade $@ $pkgs

to:

pkg_glob $pkgs | pkg_sort

It should be noted that some ports may not work until the entire
list is updated and as usual, your mileage may vary.

I'm sure someone will correct me if I'm thinking wrong about this.

Best regards,

Randy

[ ... other topics snipped ... ]

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Peter Risdon
Bill Moran wrote:
Peter Risdon [EMAIL PROTECTED] wrote:
 

cvsup'ing overnight is routine and fine.
The make build/install stuff seems a bit more delicate. I'm happy that I 
have figured out how to automate this, but not _whether_ I should do so. 
I am of course only considering tracking RELENG_4 at this stage.
   

Why not just cvsup/buildworld/buildkernel nightly, and monitor the FreeBSD
security advisory list.  When a security problem is found, you only have to
installworld/installkernel, which is usually pretty quick.
 

Yes, it is. That's a good compromise.

Ports are perhaps more likely to be problematic (though less likely to 
be a blocker to remote fixing than a failure to boot). 

   

Install portaudit, which will include nightly audits of port problems in your
daily run email.  This takes the guesswork out of when to upgrade.  By cvsupping
the ports nightly, you only have to run portupgrade to get things updated.
Because of the dependencies in ports (which can get rather complex) I wouldn't
recommend automatically doing much with ports.
 

If something in the dependency tree is broken or is imperfectly handled 
without manual intervention, the upgrade process stops short of 
deinstalling the existing port. Otherwise, the thought of automation 
wouldn't have crossed my mind. Of course, the time spent tidying up such 
situations might outweigh the time saved.

A more severe problem would occur when a configuration file format 
changes, or there's deprecation and replacement.

Perhaps I should say I'm pretty sure full automation would be unwise. It 
isn't unobvious and if it hasn't yet been done there's probably a reason 
for it. I'm trying to get a handle on what that is and to what extent 
solutions such as the one you suggested above can be used.

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Peter Risdon
Robert Huff wrote:
Peter Risdon writes:
 

I suppose what I'm driving at is whether the RELENG_4 branch sees
many commits that are likely to be problematic.
   

	In general, no.
	On the other hand ... think of this as a Murphy's Law scenario:
if you automate, it _will_ break horribly two days before some
absolutely critical deadline.
 

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


Re: Leaving a server on all day

2004-06-08 Thread Richard Caley
In article [EMAIL PROTECTED], Jonathon McKitrick (jm) writes:

jm I have my desktop configured to run as a server and app server for a thin
jm client laptop.  Will running it all day without suspend mode use a lot of
jm power?

Turn the monitor off, especially if it is getting old. I have a 19inch
from back when they were expensive and it eats power. 

-- 
Mail me as [EMAIL PROTECTED]_O_
 |

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


Re: free

2004-06-08 Thread Bill Moran
dauda braimah [EMAIL PROTECTED] wrote:

 How do I install freebsd and another Os in a pc with
 2gigabyte hdd disk eg Window XP and freebsd.
 
 How do I format a system that has freebsd 4.5 in it 

Have you read the install docs?:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html

Be sure you back up any important data before starting, _especially_ if 
you're unfamiliar with the process.

If you hit specific questions or problems as you go, don't hesitate to ask
the list again.

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


Perl and linux emulation

2004-06-08 Thread Jason Godfrey
Hello.

I have a perl module (Adobe's FDF toolkit) that uses two .so files as part
of it's magic. These files come precompiled for Linux. Not surprisingly, when
I try to do a perl use on the module I get an error like this:

Can't load '/usr/local/lib/perl5/site_perl/5.6.1/FDF.so' for module Acrobat::FDF: 
Shared object libc.so.6 not found at 
/usr/local/lib/perl5/5.6.1/i386-freebsd/DynaLoader.pm line 206.
 at /usr/local/lib/perl5/5.6.1/Acrobat/FDF.pm line 741


Is there a way to use a Linux compiled .so file with the a perl compiled for
FreeBSD? If not, does anyone know of a way to easily install a seperate perl
compiled as a linux binary?

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


Re: Wisdom of automating upgrades

2004-06-08 Thread Bill Moran
Peter Risdon [EMAIL PROTECTED] wrote:

 Bill Moran wrote:
 
 Peter Risdon [EMAIL PROTECTED] wrote:
   
 cvsup'ing overnight is routine and fine.
 
 The make build/install stuff seems a bit more delicate. I'm happy that I 
 have figured out how to automate this, but not _whether_ I should do so. 
 I am of course only considering tracking RELENG_4 at this stage.
 
 Why not just cvsup/buildworld/buildkernel nightly, and monitor the FreeBSD
 security advisory list.  When a security problem is found, you only have to
 installworld/installkernel, which is usually pretty quick.
 
 Yes, it is. That's a good compromise.

Watching the other posts, I would suggest another compromise as well: track
RELENG_4_10, not RELENG_4.  Much more conservative commit policy.

When (if?) 4.11 comes out, you should expect a careful, manual switch from
the RELENG_4_10 branch to the RELENG_4_11 branch.  I've been doing this since
4.7?  and have had very few problems.  But, occasionally, there are significant
changes between a point release.

 Ports are perhaps more likely to be problematic (though less likely to 
 be a blocker to remote fixing than a failure to boot). 
 
 Install portaudit, which will include nightly audits of port problems in your
 daily run email.  This takes the guesswork out of when to upgrade.  By cvsupping
 the ports nightly, you only have to run portupgrade to get things updated.
 
 Because of the dependencies in ports (which can get rather complex) I wouldn't
 recommend automatically doing much with ports.
 
 If something in the dependency tree is broken or is imperfectly handled 
 without manual intervention, the upgrade process stops short of 
 deinstalling the existing port.

I _was_ going to comment on this, but you beat me to the punch ;)

This is a fantastic feature of portupgrade, which makes the package an
incredible tool!

 A more severe problem would occur when a configuration file format 
 changes, or there's deprecation and replacement.

This is the greater concern, and one that I doubt if portupgrade can address.
This bit me not too long ago, because of the migration of a lot of ports to
rcng ... without a portname_enable=YES line in /etc/rc.conf, a lot of the
ports I upgraded didn't start after upgrading.  Not a big deal, but a subtle
warning to be careful of config changes in ports!

 Perhaps I should say I'm pretty sure full automation would be unwise.

I agree.  As I said before, big companies don't even automate the Windows Update
process, because (despite Microsoft's claims) doing so has bit them in the past.

 It 
 isn't unobvious and if it hasn't yet been done there's probably a reason 
 for it. I'm trying to get a handle on what that is and to what extent 
 solutions such as the one you suggested above can be used.

Good luck.  I highly recommend portaudit!  At least you know when it's time to
do things.

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


Re: fstab

2004-06-08 Thread Joshua Lewis
 asuming that you have done the whole fdisk/disklabel/newfs you can list
 the contents of /dev thus, ls /dev to find out.  It will be ad1s1d oassume
 something like that

I do have several ad1* devices in /dev but I can not mount them. So I
asume they are just there to be there?

Why would it be ad1s1d? If the whole drive is being used wouldn't it be
ad1s1a?


Thank you,
Joshua Lewis



Anubis
 Joshua Lewis wrote:
/dev/ad1s1 what?  a, d, e, f,g ??


 Do I specify? I am using the whole drive. should I change it to
 /dev/ad1s1a?


 Thank you,
 Joshua Lewis



 Anubis

Joshua Lewis wrote:

The last time I edited this file my system ceased to boot. I have made
what
looks to me like a valid entry. This is the same thing I entered in
 last
time. I am not going to save this but does it look valid to anyone out
there?


# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s1b noneswapsw  0
0
/dev/ad0s1a /   ufs rw  1
1
/dev/ad0s1f /tmpufs rw  2
2
/dev/ad0s1g /usrufs rw  2
2
/dev/ad0s1e /varufs rw  2
2
/dev/acd0c  /cdrom  cd9660  ro,noauto   0
0
/dev/acd1c  /cdrom1 cd9660  ro,noauto   0
0

This is the line I added
/dev/ad1s1  /disk2  ufs rw  2
 2


proc/proc   procfs  rw  0
0


/dev/ad1s1 what?  a, d, e, f,g ??







 asuming that you have done the whole fdisk/disklabel/newfs you can list
 the contents of /dev thus, ls /dev to find out.  It will be ad1s1d or
 something like that




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


[OT] What's QED? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Bill Moran
Peter Risdon [EMAIL PROTECTED] wrote:

 Robert Huff wrote:
 
 Peter Risdon writes:
 
  I suppose what I'm driving at is whether the RELENG_4 branch sees
  many commits that are likely to be problematic.
 
  In general, no.
  On the other hand ... think of this as a Murphy's Law scenario:
 if you automate, it _will_ break horribly two days before some
 absolutely critical deadline.
   
 
 QED

I must be out of touch with my jargon ...

What's QED?

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


Re: [OT] What's QED? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Andrew L. Gould
On Tue, 8 Jun 2004 12:36:47 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 Peter Risdon [EMAIL PROTECTED] wrote:
 
  Robert Huff wrote:
  
  Peter Risdon writes:
  
   I suppose what I'm driving at is whether the RELENG_4 branch sees
   many commits that are likely to be problematic.
  
 In general, no.
 On the other hand ... think of this as a Murphy's Law scenario:
  if you automate, it _will_ break horribly two days before some
  absolutely critical deadline.

  
  QED
 
 I must be out of touch with my jargon ...
 
 What's QED?
 
 -- 
 Bill Moran

If I recall correctly, it's Latin: quod erat demonstrandum, meaning
as it has been demonstrated.

Andrew Gould



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


Re: Perl and linux emulation

2004-06-08 Thread Daniel Bye
On Tue, Jun 08, 2004 at 11:27:29AM -0500, Jason Godfrey wrote:
 Hello.
 
 I have a perl module (Adobe's FDF toolkit) that uses two .so files as part
 of it's magic. These files come precompiled for Linux. Not surprisingly, when
 I try to do a perl use on the module I get an error like this:
 
 Can't load '/usr/local/lib/perl5/site_perl/5.6.1/FDF.so' for module Acrobat::FDF: 
 Shared object libc.so.6 not found at 
 /usr/local/lib/perl5/5.6.1/i386-freebsd/DynaLoader.pm line 206.
  at /usr/local/lib/perl5/5.6.1/Acrobat/FDF.pm line 741
 
 
 Is there a way to use a Linux compiled .so file with the a perl compiled for
 FreeBSD? If not, does anyone know of a way to easily install a seperate perl
 compiled as a linux binary?

The best way to proceed, I suppose, would be to install the linux_base port.
The lib you need is installed as part of it.  To make it accessible, you may
need to run ldconfig -elf -R /compat/linux/lib after installation.

HTH

Dan


pgp1LKUYU9wyy.pgp
Description: PGP signature


Re: [OT] What's QED? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Kent Stewart
On Tuesday 08 June 2004 09:36 am, Bill Moran wrote:
 Peter Risdon [EMAIL PROTECTED] wrote:
  Robert Huff wrote:
  Peter Risdon writes:
   I suppose what I'm driving at is whether the RELENG_4 branch
   sees many commits that are likely to be problematic.
  
 In general, no.
 On the other hand ... think of this as a Murphy's Law scenario:
  if you automate, it _will_ break horribly two days before some
  absolutely critical deadline.
 
  QED

 I must be out of touch with my jargon ...

 What's QED?

I remember seeing that  at the end of mathematical proofs at the 
University where the professor was too lazy to finish their 
documentation. It was much more fitting here :).

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acpi question

2004-06-08 Thread Oliver B. Fischer
Hello Dan,
there is a separate list on ACPI: [EMAIL PROTECTED]
May you wish to subscribe to it.
Regards,
Oliver Fischer
Dan Cojocar wrote:
Hello,
I noticed that my hw.acpi.thermal.tz0.active is set -1 and i can't change this 
value, what is this meaning?
Thanks,
Dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Jonathon McKitrick
On Tue, Jun 08, 2004 at 05:18:07PM +0100, Richard Caley wrote:
: In article [EMAIL PROTECTED], Jonathon McKitrick (jm) writes:
: 
: jm I have my desktop configured to run as a server and app server for a thin
: jm client laptop.  Will running it all day without suspend mode use a lot of
: jm power?
: 
: Turn the monitor off, especially if it is getting old. I have a 19inch
: from back when they were expensive and it eats power. 

Hopefully I'll get my flat screen back soon from repair.  I guess those use
less power, right?  Also, a 1.8GHz Athlon won't use any more power than
necessary during idle time, right?

jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: free

2004-06-08 Thread Bill Moran
[Please use reply all to include the mailing list in subsequent questions,
I do not always have time to respond to all follow-ups.]

dauda braimah [EMAIL PROTECTED] wrote:
 Hi Bill,
 thanks for that email and the prompt reply.
 
 What practical minimum size required to install
 freebsd and XP

I have not idea how little a disk Windows XP will fit on, but I doubt 2G will
be big enough.

How much space you need for FreeBSD depends entirely on what you want to do.
If you just want to use it as an internet firewall, you can do a minimal
installation of less than a few hundred meg.  If you want to do C-language
development for servers or console applications, you could probably get away
with less than 1G.  If you want a full-blown graphical interface with web
browser and office suite, you're going to need at least 10G.

 
 Thanks 
  dauda braimah [EMAIL PROTECTED] wrote:
  
   How do I install freebsd and another Os in a pc
  with
   2gigabyte hdd disk eg Window XP and freebsd.
   
   How do I format a system that has freebsd 4.5 in
  it 
  
  Have you read the install docs?:
  
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
  
  Be sure you back up any important data before
  starting, _especially_ if 
  you're unfamiliar with the process.
  
  If you hit specific questions or problems as you go,
  don't hesitate to ask
  the list again.


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


Re: [OT] What's QED? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Bill Campbell
On Tue, Jun 08, 2004, Kent Stewart wrote:
On Tuesday 08 June 2004 09:36 am, Bill Moran wrote:
 Peter Risdon [EMAIL PROTECTED] wrote:
  Robert Huff wrote:
  Peter Risdon writes:
   I suppose what I'm driving at is whether the RELENG_4 branch
   sees many commits that are likely to be problematic.
  
In general, no.
On the other hand ... think of this as a Murphy's Law scenario:
  if you automate, it _will_ break horribly two days before some
  absolutely critical deadline.
 
  QED

 I must be out of touch with my jargon ...

 What's QED?

I remember seeing that  at the end of mathematical proofs at the 
University where the professor was too lazy to finish their 
documentation. It was much more fitting here :).

The original Latin is ``Quod Erat Demonstrandum'', translates to that was
demonstrated (about as much as I remember from five years of Latin).

Bill
--
INTERNET:  [EMAIL PROTECTED]   Bill Campbell; Celestial Software LLC
UUCP:  camco!bill   PO Box 820; 6641 E. Mercer Way
FAX:   (206) 232-9186   Mercer Island, WA 98040-0820; (206) 236-1676
http://www.celestial.com/

You need only reflect that one of the best ways to get yourself a
reputation as a dangerous citizen these days is to go about repeating
the very phrases which our founding fathers used in the struggle for
independence.
-- Charles A. Beard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Bill Moran
Jonathon McKitrick [EMAIL PROTECTED] wrote:

 On Tue, Jun 08, 2004 at 05:18:07PM +0100, Richard Caley wrote:
 : In article [EMAIL PROTECTED], Jonathon McKitrick (jm) writes:
 : 
 : jm I have my desktop configured to run as a server and app server for a thin
 : jm client laptop.  Will running it all day without suspend mode use a lot of
 : jm power?
 : 
 : Turn the monitor off, especially if it is getting old. I have a 19inch
 : from back when they were expensive and it eats power. 
 
 Hopefully I'll get my flat screen back soon from repair.  I guess those use
 less power, right?

I remember having this conversation with someone not too long ago, and our
consensus was that flat screens used just as much power as tube monitors.  Don't
hold me to that, though, I don't seem to remember our testing technique as being
very ... uhm ... scientific.

  Also, a 1.8GHz Athlon won't use any more power than
 necessary during idle time, right?

Different processors are different.  Many newer CPUs will throttle their power
consumption while the machine is idle, but most older ones can't do this.
You'll need to research the specific CPU + motherboard to see if this is
available or not, but (as far as my lousy memory serves) Athlons in the 1.8G
range don't support reduced power during non-usage, and will consume just as
many watts while the system is idle as while it's doing a buildworld.

Please note that I am not an authority on hardware, if I'm off-base here, I
wouldn't mind a correction ;)  But this is how things stand to the best of
my knowledge.

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


Re: free

2004-06-08 Thread Kent Stewart
On Tuesday 08 June 2004 10:38 am, Bill Moran wrote:
 [Please use reply all to include the mailing list in subsequent
 questions, I do not always have time to respond to all follow-ups.]

 dauda braimah [EMAIL PROTECTED] wrote:
  Hi Bill,
  thanks for that email and the prompt reply.
 
  What practical minimum size required to install
  freebsd and XP

 I have not idea how little a disk Windows XP will fit on, but I doubt
 2G will be big enough.

I agree. My WinXP directory by itself is 1.8 GB and the applications are 
exponential from there :).


 How much space you need for FreeBSD depends entirely on what you want
 to do. If you just want to use it as an internet firewall, you can do
 a minimal installation of less than a few hundred meg.  If you want
 to do C-language development for servers or console applications, you
 could probably get away with less than 1G.  If you want a full-blown
 graphical interface with web browser and office suite, you're going
 to need at least 10G.

I am not sure that is enough. For example, just updating java-1.4, you 
need 1.7+ GB free. I think there are other ports that need much more. I 
have /usr/ports as a stand alone mount point and created a 15 GB 
filesystem just for the ports. It is currently running at 20% used.

Kent

  Thanks
 
   dauda braimah [EMAIL PROTECTED] wrote:
How do I install freebsd and another Os in a pc
  
   with
  
2gigabyte hdd disk eg Window XP and freebsd.
   
How do I format a system that has freebsd 4.5 in
  
   it
  
   Have you read the install docs?:
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.h
 tml
 
   Be sure you back up any important data before
   starting, _especially_ if
   you're unfamiliar with the process.
  
   If you hit specific questions or problems as you go,
   don't hesitate to ask
   the list again.

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Charles Swiger
On Jun 8, 2004, at 1:27 PM, Jonathon McKitrick wrote:
Hopefully I'll get my flat screen back soon from repair.  I guess 
those use
less power, right?  Also, a 1.8GHz Athlon won't use any more power than
necessary during idle time, right?
Yes, a flat screen typically uses about 50W; a big CRT might use 100 to 
150W.

AMD processors now have fairly good thermal behavior when they are 
idle, although it obviously helps if one can enable APCI and power 
management capabilities to either throttle down the CPU speed or even 
go into sleep mode.

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


Re: free

2004-06-08 Thread arden
can't believe I'm answering this especially on here but the min spec for
XP is 1.5 gig that doesn't leave much for BSDs or to run any
applications in either OS hard disks are cheap as chips these days think
its time to upgrade 

arden  

  
On Tue, 2004-06-08 at 18:38, Bill Moran wrote:
 [Please use reply all to include the mailing list in subsequent questions,
 I do not always have time to respond to all follow-ups.]
 
 dauda braimah [EMAIL PROTECTED] wrote:
  Hi Bill,
  thanks for that email and the prompt reply.
  
  What practical minimum size required to install
  freebsd and XP
 
 I have not idea how little a disk Windows XP will fit on, but I doubt 2G will
 be big enough.
 
 How much space you need for FreeBSD depends entirely on what you want to do.
 If you just want to use it as an internet firewall, you can do a minimal
 installation of less than a few hundred meg.  If you want to do C-language
 development for servers or console applications, you could probably get away
 with less than 1G.  If you want a full-blown graphical interface with web
 browser and office suite, you're going to need at least 10G.
 
  
  Thanks 
   dauda braimah [EMAIL PROTECTED] wrote:
   
How do I install freebsd and another Os in a pc
   with
2gigabyte hdd disk eg Window XP and freebsd.

How do I format a system that has freebsd 4.5 in
   it 
   
   Have you read the install docs?:
   
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
   
   Be sure you back up any important data before
   starting, _especially_ if 
   you're unfamiliar with the process.
   
   If you hit specific questions or problems as you go,
   don't hesitate to ask
   the list again.
 

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


Re: Leaving a server on all day

2004-06-08 Thread Joe Altman
On Tue, Jun 08, 2004 at 01:21:01PM +0100, Jonathon McKitrick wrote:
 
 I have my desktop configured to run as a server and app server for a thin
 client laptop.  Will running it all day without suspend mode use a lot of
 power?
 
 Is it true that the heat buildup in a home system (rather than a heavily
 fanned commercial system) will kill the drives faster and this is a good
 reason to turn it off during the day when I am not home?

Take the side off of your case, turn the open side toward the wall,
with some space between it and the wall. Especially during the summer.

I don't put my box on the floor, if you were wondering. I have an
Athlon 1.2, a Plextor CD/RW, and multiple drives in the 7200 rpm
range; and of course a gpu, and the psu, and the sound card...they all
generate heat. The kicker: I'm on the top floor of my building in a
treeless area. I'd rather the heat spill out the side, than have it
pulled out the psu or the fan on the back. I've seen rigs that have
hoses which pull the heat out of the box, and pump it into the wall.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fstab

2004-06-08 Thread Jerry McAllister
 
  asuming that you have done the whole fdisk/disklabel/newfs you can list
  the contents of /dev thus, ls /dev to find out.  It will be ad1s1d oassume
  something like that
 
 I do have several ad1* devices in /dev but I can not mount them. So I
 asume they are just there to be there?
 
 Why would it be ad1s1d? If the whole drive is being used wouldn't it be
 ad1s1a?

It would be whatever you used in the disklabel run (or the one done
for you if you use sysinstall).   'd' is unlikely and so is 'c'

jerry

 
 
 Thank you,
 Joshua Lewis
 
 
 
 Anubis
  Joshua Lewis wrote:
 /dev/ad1s1 what?  a, d, e, f,g ??
 
 
  Do I specify? I am using the whole drive. should I change it to
  /dev/ad1s1a?
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Jonathon McKitrick
On Tue, Jun 08, 2004 at 02:42:16PM -0400, Joe Altman wrote:
: Take the side off of your case, turn the open side toward the wall,

Why against the wall?  So nothing damages it?

: with some space between it and the wall. Especially during the summer.

My setup has a fan in the back, and also one on the side.  Is that close
enough?

: I don't put my box on the floor, if you were wondering. I have an

Mine is in the CPU slot of a tiny computer desk.

: Athlon 1.2, a Plextor CD/RW, and multiple drives in the 7200 rpm

That reminds me: is a CD/RW a feasible data backup device?  I've never used
mine.

: range; and of course a gpu, and the psu, and the sound card...they all
: generate heat. The kicker: I'm on the top floor of my building in a
: treeless area. I'd rather the heat spill out the side, than have it

I feel your pain.  I'm third floor in an old house with no A/C.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] What's QED? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Robert Huff

Bill Campbell writes:

  The original Latin is ``Quod Erat Demonstrandum'', translates to
  that was demonstrated (about as much as I remember from five
  years of Latin).

Perfect passive periphrastic, if I've got it right.


Robert Huff


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


Re: Leaving a server on all day

2004-06-08 Thread Joe Altman
On Tue, Jun 08, 2004 at 07:51:51PM +0100, Jonathon McKitrick wrote:
 On Tue, Jun 08, 2004 at 02:42:16PM -0400, Joe Altman wrote:
 : Take the side off of your case, turn the open side toward the wall,
 
 Why against the wall?  So nothing damages it?

Yes; spills, flying objects, whatever. Most importantly, it's not on
the floor, and securely on my desk. I deal w/ the noise by keeping the
fan on my Enermax low; it has an adjustable spin rate via a knob on
the back. Drives are noisy, with no way around that problem.

 : with some space between it and the wall. Especially during the summer.
 
 My setup has a fan in the back, and also one on the side.  Is that close
 enough?

It's one way to do it. Whether or not it's enough is up to you.

 : I don't put my box on the floor, if you were wondering. I have an
 
 Mine is in the CPU slot of a tiny computer desk.

Well, the thing for me is to keep the side open, so the heat spills
out.

 : Athlon 1.2, a Plextor CD/RW, and multiple drives in the 7200 rpm
 
 That reminds me: is a CD/RW a feasible data backup device?  I've never used
 mine.

For me, yes it is. Tapes are, or were, too expensive. The CD/RW I
purchased was, two years ago, about the same price as current DVD/RW
drives. I'd go with a DVD nowadays; pay a little more, but have Gigs
of backup space rather than Megs of storage.

 : range; and of course a gpu, and the psu, and the sound card...they all
 : generate heat. The kicker: I'm on the top floor of my building in a
 : treeless area. I'd rather the heat spill out the side, than have it
 
 I feel your pain.  I'm third floor in an old house with no A/C.

No A/C? Sheesh. Oh, BTW: if it's an old house, do yourself a favor:
purchase a UPS. There is a webpage somewhere that lists models of UPS
units supported by FreeBSD...I forget where.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Jonathon McKitrick
On Tue, Jun 08, 2004 at 03:05:14PM -0400, Joe Altman wrote:
: Yes; spills, flying objects, whatever. Most importantly, it's not on
: the floor, and securely on my desk. I deal w/ the noise by keeping the

What is so bad with the floor?

:  That reminds me: is a CD/RW a feasible data backup device?  I've never used
:  mine.
: 
: For me, yes it is. Tapes are, or were, too expensive. The CD/RW I

Is there a readme on this?  I could never figure out how to get burncd to
work with backups.

: purchase a UPS. There is a webpage somewhere that lists models of UPS

Good idea.


jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hyperthreading question

2004-06-08 Thread Dwayne MacKinnon
Hi all,
I'm upgrading some machines from 4.8-RELEASE to 4.10-RELEASE. The 
machines in question are dual-processor xeon boxes. Now, my boss is 
adamant in that he doesn't want hyperthreading enabled on the machines.

In 4.8-RELEASE things were simple... I just didn't add the options HTT 
line to my kernel config file. In 4.10-RELEASE though, HTT is enabled by
default.

So, is there any way to shut off the hyperthreading? I've tried 
disabling it in the BIOS, and had no luck whatsoever.

Thanks,
DMK
PS: A direct reply would be welcome. I'm not subscribed to the mailing list.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2.1 fails to install on Toshiba Satellite A15-S127

2004-06-08 Thread Mikhail V.Paremski
I tried to install FBSD 5.2.1 on Toshiba Satellite A15-S127 (Mobile Intel 
Celeron Id=0xf27 Stepping = 7 2GHz/256M/30G CDRW, USB floppy.

During boot from installation floppy kernel hungs just after:
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00f01a0
pcib0: Host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
pci_cfgintr: 0:2 INTA BIOS irq 10
Also, I tried to use 5.2.1-RELEASE-miniinst.iso and booted it with ACPI
disabled mode. Result was the same.
There are not to many parameters which I can change in Toshiba BIOS 
Device configuration menu and, I hope, I tried them all without success. 
It might be, I missed something. What BIOS parameters are most important 
in this case.

I did try to setup 4.10 without any problem.
What can I try else? May be I need to build some castom kernel? What 
changes to GENERIC configuration could help? Or I need to try to do some 
changes in kernel source?

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


[Going further OT] Re: Leaving a server on all day

2004-06-08 Thread Nico Meijer
Hi,
What is so bad with the floor?
Ever move into a beautiful house only to find the floor *flooded* at the 
first serious cloud break? ;-)

BTW - I'd make sure I'd get/have a decent computer case with a decent 
PSU with enough room for some decent 80mm or larger low noise fans 
rather than opening up the side panel. Perhaps an aluminum (Chieftec 
Dragon, anyone?) case with some Enermax and Zalman coolers and PSU might 
do the trick. I've {b,s}een told a good airflow (front to back) is king.

OT nonetheless and good luck... Nico
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] What's QED? (was Re: Wisdom of automating upgrades)

2004-06-08 Thread Jos De Laender
Bill Campbell wrote:
snip of on topic stuff ;-)

The original Latin is ``Quod Erat Demonstrandum'', translates to that was
demonstrated (about as much as I remember from five years of Latin).
 

Quod erat demonstrandum is correct. The translation is rather : what 
needed to be proven, what needed to be demonstrated ...
(although this is probably very poor English :-) )

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


Re: Leaving a server on all day

2004-06-08 Thread Bill Moran
Charles Swiger [EMAIL PROTECTED] wrote:

 On Jun 8, 2004, at 1:59 PM, Bill Moran wrote:
  Hopefully I'll get my flat screen back soon from repair.  I guess 
  those use
  less power, right?
 
  I remember having this conversation with someone not too long ago, and 
  our
  consensus was that flat screens used just as much power as tube 
  monitors.  Don't
  hold me to that, though, I don't seem to remember our testing 
  technique as being
  very ... uhm ... scientific.
 
 No need to guess, use an amp-meter.  :-)

What a crazy idea.

I seem to remember plugging monitors into a UPS in an attempt to use the cheesy
load meter lights to tell which was drawing more juice, when that didn't
show us any difference, we tried watching the power meter outside ... trying to
guess which monitor made it spin faster ...

   Also, a 1.8GHz Athlon won't use any more power than
  necessary during idle time, right?
 
  Different processors are different.  Many newer CPUs will throttle 
  their power
  consumption while the machine is idle, but most older ones can't do 
  this.
  You'll need to research the specific CPU + motherboard to see if this 
  is
  available or not, but (as far as my lousy memory serves) Athlons in 
  the 1.8G
  range don't support reduced power during non-usage, and will consume 
  just as
  many watts while the system is idle as while it's doing a buildworld.
 
 A 1.8GHz AMD is likely to be a Barton, or possibly a later-model 
 Thoroughbred.  The CPU should have AMD's PowerNow! capabilities if APCI 
 is enabled, and they should also significantly reduce power consumption 
 if the OS runs the HLT instruction in the idle loop.

Ahh ... didn't know the 1.8s had that in them.

 I have one machine with an AMD 1800+ (1.54 MHz T'bred-B), which runs at 
 perhaps 48 or 50 C if the system is idle.  If I run something like 
 [EMAIL PROTECTED] for a day or so, the CPU will go up to around 56 or even 57 C 
 as a result of the load.  The difference in thermal output due to load 
 is very obvious.

But is thermal output a reliable indicator of power usage?  Logically, it seems
like it would be, but I'd hate to assume.

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


Re: [Going further OT] Re: Leaving a server on all day

2004-06-08 Thread Bill Moran
Nico Meijer [EMAIL PROTECTED] wrote:
 Hi,
 
  What is so bad with the floor?
 
 Ever move into a beautiful house only to find the floor *flooded* at the 
 first serious cloud break? ;-)
 
 BTW - I'd make sure I'd get/have a decent computer case with a decent 
 PSU with enough room for some decent 80mm or larger low noise fans 
 rather than opening up the side panel. Perhaps an aluminum (Chieftec 
 Dragon, anyone?) case with some Enermax and Zalman coolers and PSU might 
 do the trick. I've {b,s}een told a good airflow (front to back) is king.

I saw an article recently by a guy who had a degree in thermal dynamics or
something that was dispelling the common myths about PC cooling.

His conclusion was basically that airflow is king.  You need to move air across
the heat sinks that is cooler than the heat sinks are.  Sounds simple, but the
overall conclusion was that you could improve cooling without increasing noise
by ensuring that air from _outside_ the case was flowing directly over the
processor heatsink.  Reason this works well is becuase the air inside the case
is usually considerably warmer than the air outside the case, and moving warm
air across the heat sink doesn't accomplish much.  By drawing cool air in from
outside the case, things stay cooler.

Anyway, his suggestion was that the best thing you could do for your cooling
rig was to purchase/fab one of those little duct kits that allows the cpu fan
to pull air from outside the case.  Some cases even have the duct built in (my
brother's computer does).

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


i845-i865 on 4.9 RELEASE

2004-06-08 Thread AlexZivenko
Hi guys!

I have one question for you.
I had an intel mainboard on i845 chipset. All was beautiful with
4.9 Release.
When I got i865 chipset I have many problems...
first time, when I reinstalled FreeBSd It was rebooting when I boot that,
then  it was some eroor with BTX loader.
It was written many registers and addresses and then message
BTX halted.

Please help.
Sorry for my eng.
mailto:[EMAIL PROTECTED]

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


Re: Anti-Spam app for sendmail

2004-06-08 Thread Eric Crist
On Tuesday 08 June 2004 10:35, Chris wrote:
 Any comments on a good anti-spam app that works with sendmail for a mail
 server?

Yeah,  try SpamAssassin.  I've been using it since January, and have almost 
zero SPAM delivered to my inbox now.  I think in all that time it has only 
had one false positive (my mom sending email as HTML, from word.)

HTH
-- 
Keep your pecker hard and your powder dry, and the world WILL turn.


pgpn5ddRBnYNr.pgp
Description: signature


Re: OT: do not read if OT annoys you group coding standards

2004-06-08 Thread Giorgos Keramidas
On 2004-06-07 13:10, Goodleaf, John [EMAIL PROTECTED] wrote:

It's a hard problem. How do you provide conventions that don't annoy
the hell out of programmers, but which ensure that legibile,
maintainable code is left?

First of all, I should note this: As long as there is a way to configure
the two most popular editors (vi and Emacs) to adhere to this standard
of yours, the only thing that matters is to avoid like hell all
non-standard styles.  Consistently keeping the standard is more
important than the rules of the standard itself.

Any suggestions welcome. Please cc me directly, as I'm not currently
on this list.

Some people hate the resulting style, other love it... but there is a
coding standards' guideline on your FreeBSD installation waiting to be
read by you:

man 9 style

- Giorgos


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


Re: Leaving a server on all day

2004-06-08 Thread Charles Swiger
On Jun 8, 2004, at 2:54 PM, Cordula's Web wrote:
AMD processors now have fairly good thermal behavior when they are
idle, although it obviously helps if one can enable APCI and power
management capabilities to either throttle down the CPU speed or even
go into sleep mode.
What about other architectures? If you don't need x86 compat,
perhaps CPU models in other arches have much lower consumption?
Certainly this is true of the ARM and even the Motorola 68K, as you 
mention:

For a box that runs mainly as router, apache, postfix, cyrus, ...
even an old MC68k would do just fine (esp. if you are limited
by bandwidth, not CPU cycles...).
...there are a lot of people using an embedded M68K as a low-power 
applicance computing device.

Perhaps something like Soekris boards could be useful? Has
someone used them to build a power-saving server?
Sure.  I've got a Soekris net4801 sitting right next to me which is 
running some custom network monitoring/IDS/IPS software, and the Via 
EPIA mini-ITX form factor is another good choice for low-power 
computing.  The EPIAs seem to have slightly flaky ATA support, though.

Anyone living in a country with exorbitant high taxes on power
lurking here?
People here in the US got to pay for Enron and the like, sure, 
especially those in CA.

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


Re: make buildworld problem

2004-06-08 Thread Giorgos Keramidas
On 2004-06-08 18:41, Mantas Audickas [EMAIL PROTECTED] wrote:
 Hello there, 
 i don't know where to ask.. i have tried in many irc channels, but no
 one could help me..
 so i'm trying to make buildworld, but there i get an error, always the
 same.. i have tried in fresh installed os, with GENERIC kernel and with
 my own, cvsup source and so on.. but nothing goes better..
 I have read /usr/src/UPDATING.. and tried to follow rules.
 I put error log file in http://migla.ktu.lt/~cerberis/error .. maybe you
 can help me?

It could be that your source tree is at fault.  Try deleting
/usr/src/lib/libedit and CVSup'ing again.

- Giorgos

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


Re: [Going further OT] Re: Leaving a server on all day

2004-06-08 Thread Jason Taylor
Bill Moran wrote:
Nico Meijer [EMAIL PROTECTED] wrote:
Hi,

What is so bad with the floor?
Ever move into a beautiful house only to find the floor *flooded* at the 
first serious cloud break? ;-)

BTW - I'd make sure I'd get/have a decent computer case with a decent 
PSU with enough room for some decent 80mm or larger low noise fans 
rather than opening up the side panel. Perhaps an aluminum (Chieftec 
Dragon, anyone?) case with some Enermax and Zalman coolers and PSU might 
do the trick. I've {b,s}een told a good airflow (front to back) is king.

I saw an article recently by a guy who had a degree in thermal dynamics or
something that was dispelling the common myths about PC cooling.
His conclusion was basically that airflow is king.  You need to move air across
the heat sinks that is cooler than the heat sinks are.  Sounds simple, but the
overall conclusion was that you could improve cooling without increasing noise
by ensuring that air from _outside_ the case was flowing directly over the
processor heatsink.  Reason this works well is becuase the air inside the case
is usually considerably warmer than the air outside the case, and moving warm
air across the heat sink doesn't accomplish much.  By drawing cool air in from
outside the case, things stay cooler.
Anyway, his suggestion was that the best thing you could do for your cooling
rig was to purchase/fab one of those little duct kits that allows the cpu fan
to pull air from outside the case.  Some cases even have the duct built in (my
brother's computer does).
Ok, I'll chime in here.  Here's what everything I ever learned about 
heat transfer and fluid flow tells me:

Everything Bill is saying is correct.  The best way to cool is to move 
as much fluid (air is a fluid for the purpose of this discussion) as 
fast as possible across whatever is hot.  Of course, the fluid has to be 
cooler than whatever is being cooled.  A fan rotating at certain speed 
is going to push a given volume of air in a given amount of time.  By 
leaving the case covers on and providing only a few small holes for 
the air to travel through, you're going to force the air coming through 
those holes to travel through the case faster.

That being said, if the case design, component placement, etc. is such 
that leaving the the cover off actually allows a significantly greater 
volume of air to get to the heatsink(s) in a given amount of time, then 
leaving the cover off is a good thing.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Leaving a server on all day

2004-06-08 Thread Bernt. H
Charles Swiger wrote:
On Jun 8, 2004, at 1:59 PM, Bill Moran wrote:
Hopefully I'll get my flat screen back soon from repair.  I guess 
those use
less power, right?

I remember having this conversation with someone not too long ago, and 
our
consensus was that flat screens used just as much power as tube 
monitors.  Don't
hold me to that, though, I don't seem to remember our testing 
technique as being
very ... uhm ... scientific.

No need to guess, use an amp-meter.  :-)
Well If it measure trueRMS then you could use it, otherwise no.

Radio Shack and the like will sell something with male and female plugs 
that will measure both voltage and current, and give you the current 
power load in Watts.  Smart UPSes may also have a similar capability.
Yes but it will only show you the correct value if the load is a pure 
resistans, not if it's reactiv, as all switching psu's are.

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


Re: Leaving a server on all day

2004-06-08 Thread Charles Swiger
On Jun 8, 2004, at 4:06 PM, Bill Moran wrote:
Charles Swiger [EMAIL PROTECTED] wrote:
No need to guess, use an amp-meter.  :-)
What a crazy idea.
I seem to remember plugging monitors into a UPS in an attempt to use 
the cheesy
load meter lights to tell which was drawing more juice, when that 
didn't
show us any difference, we tried watching the power meter outside ... 
trying to
guess which monitor made it spin faster ...
:-)  The smart versions of UPSes (as in, APC's SmartUPS line) will 
often have a serial connection which not only does the deassert DTR 
when the battery is low thingy, but will communicate other information 
about the state of the UPS.  That will include the power consumption of 
the load measured more accurately than 5 green LEDs would be able to 
show you.

A really serious UPS, such as a PowerWare 9330, may have ethernet and 
SNMP support and will do things like tell you the power factor of the 
load, typically about 0.9 for computer stuff.  But I admit, a 20kVA UPS 
is outside of what a normal home user would want.  And the batteries 
are freaking heavy... :-)

I have one machine with an AMD 1800+ (1.54 MHz T'bred-B), which runs 
at
perhaps 48 or 50 C if the system is idle.  If I run something like
[EMAIL PROTECTED] for a day or so, the CPU will go up to around 56 or even 57 
C
as a result of the load.  The difference in thermal output due to load
is very obvious.
But is thermal output a reliable indicator of power usage?  Logically, 
it seems
like it would be, but I'd hate to assume.
Conservation of energy is a law, so any assumptions being made are 
pretty safe.

When you pump 0.5 amps @ 120VAC into a 60 watt light-bulb, you end up 
getting about 54 watts of radiant heat and about 6 watts of visible 
light.  A computer's CPU eats about the same amount of power, and sends 
a watt or so back out in terms of data signals, but most of the energy 
used by the processor to actually process data gets emitted as heat.

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


Re: Anti-Spam app for sendmail

2004-06-08 Thread Bernt. H
Chris wrote:
Any comments on a good anti-spam app that works with sendmail for a mail 
server?

Yes. You can have a look at messagewall its in the ports.
www.messagewall.org
Been using it for the past year now and it's works just fine.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mysql user

2004-06-08 Thread RazorOnFreeBSD
Hi everyone,

I maybe didn't see something, for sure it's a dumb problem
I installed MySQL 4.0.20 from sources downloaded on MySQL website and then I checked 
before adding my mysql user on the box if there was one  I never installed MySQL 
before and I already have a mysql user but I don't know his password.
What should I do ? Uninstall / ReInstall MySQL ? Delete user mysql and create 
another one ? or is there an obvious first password to change I didn't get ?
I'm a little bit lost there... even if it's not an obligation to have this user named 
mysql, it's easy to use everyday!

Thanks.

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


freebsd- Newby question

2004-06-08 Thread LW Ellis
I am trying to learn unix. I need a recommendation for a good beginers book
(eg: Unix for dummies)
I install Freebsd on an old desktop, but I have never used unix, and need a
starting point.

Thanx

Later,
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill

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


[OT] Re: Leaving a server on all day

2004-06-08 Thread Charles Swiger
On Jun 8, 2004, at 5:06 PM, Bernt. H wrote:
No need to guess, use an amp-meter.  :-)
Well If it measure trueRMS then you could use it, otherwise no.
You are correct that one needs to measure the voltage and use the RMS 
value, or DC series equivalent if you like that phrase, in order to 
figure out the power consumption accurately, but an {ammeter, 
amp-meter, DMM} which can deal with AC will do the right thing.

Radio Shack and the like will sell something with male and female 
plugs that will measure both voltage and current, and give you the 
current power load in Watts.  Smart UPSes may also have a similar 
capability.
Yes but it will only show you the correct value if the load is a pure 
resistans, not if it's reactiv, as all switching psu's are.
The ratio between the actual load and a purely resistive load is known 
as the power factor, and is why UPS are rated in terms of kVA rather 
than in terms of the wattage of the load.  For computer equipment [1], 
the power factor is lagging, representing an inductive rather than 
capacitive load, and the PF is typically about 0.9.

However, the electric company bills you for the power you draw from 
them, they don't give you a refund for the power wasted because your 
load is not purely resistive, so the notion of measuring the kVA rather 
than the useful wattage is not really incorrect.

--
-Chuck
[1]: And almost everything else, too.  Most things use a transformer to 
convert line voltage into whatever voltage the device wants, which is 
inductive, or consist of a motor, also inductive.  Motors which draw a 
lot of current when starting (which is most of them) tend to have a 
starting capacitor to help manage the surge current and also help 
adjust the power factor back towards 1.0 to improve their efficiency.  
The so-called ballast in fluorescent lights serves much the same 
purpose.

We thank you for tuning in to basic electronics, and return you to your 
regularly scheduled FreeBSD programming.  :-)

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


  1   2   >