Repeated PXE jumpstart

2007-09-21 Thread Erik Cederstrand

Hi!

I'm trying to set up a system to continually and automatically run 
benchmarks on the most recent CURRENT. The idea is to PXE-boot the 
server, do an automated jumpstart installation, reboot and run a few 
benchmarks. Lather, rinse, repeat.


My problem is when the jumpstart installation finishes. I set PXE-boot 
as the first option in the BIOS to start the installation. To complete 
the installation I need to reboot the server from the hard-disk, but I 
don't want to enter the BIOS on each reboot to change the boot sequence.


What are my options? Can I simply set the hard-disk as the first option 
in the boot sequence (with PXE second) and then wipe the MBR when the 
system comes up after an install, so the BIOS will continue to PXE? How 
would i do that?


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


Re: 6.2 Headless Installs Don't Seem to Work.

2007-09-21 Thread Jonathan McKeown
Hi Martin

I often use the serial console for installs just to save digging out a screen 
and keyboard - especially on servers which are going to run headless anyway.

What I do whenever I download release ISOs is unpack the disc-1 image to disk 
(tar now does this, I believe), add the line

console=comconsole

to boot/loader.conf in the directory which is the root of the CD, and then 
make a new ISO and burn a new serial install CD.

Booting from this CD switches to the serial console sometime after the boot 
loader but before the boot menu, from which you can drop back down to the 
boot loader if needed.

I've used this method to do a successful remote install: a technician on site 
linked the serial ports of two boxes with a null-modem cable, put the serial 
boot CD in one of them, and I logged into the other over ssh and used tip to 
see the serial port. He powered up the spare box with the CD in it and I did 
the rest from 1000 miles away - which for some reason impresses the heck out 
of a Windows technician.

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


Re: Hard drive RPM

2007-09-21 Thread John Andrewartha
On Fri, 21 Sep 2007 03:41:24 pm Norberto Meijome wrote:
 On Thu, 20 Sep 2007 19:35:28 +0200 (CEST)

 Wojciech Puchar [EMAIL PROTECTED] wrote:
  but we are talking about disk capacity. filesystem is just kind of data
  on disk, you may access disk without it like my video stream server.
  actually only 1GB of each disk is allocated for filesystem (mirror+stripe
  on 8 disks, giving 4GB for / partition), everything else simply contains
  movies, with catalog as file on / partition.

 OP was complaining he/she could only access a smaller % of his disk after
 formatting it. so i think the effect of formatting also goes to answering
 the OP.

 _
 {Beto|Norberto|Numard} Meijome

 Liberty is not a means to a higher political end. It is itself the highest
 political end... liberty is the only object which benefits all alike, and
 provokes no sincere opposition... The danger is not that a particular class
 is unfit to to govern. Every class is unfit to govern... Power tends to
 corrupt, and absolute power corrupts absolutely. Lord Acton

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

When you format a disk a percentage of the disk is reserved for a map so your 
file can be found.
On a UFS it is called the SUPER BLOCKS a master and at least one slave.

Typically these blocks will take up to 8% or there abouts of the disk.

BTW I am not shouting when SUPER BLOCKS' that's how it's written.

In a root shell type fsck and watch the screen. 

For more info dig into you docs usually /share/doc or usr/doc there where some 
really good docs on the UFS.

John

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


Cheaper backup mechnism for a server

2007-09-21 Thread dhaneshk k

Hi ;

A general question pls excuse me

can any body suggest a backup mechanism for a server machine , which has a 
web portal , email server ,PgSQL database 4GB size , DNS server, Mailman , 
and a mediawiki applications running in a single machine .


Can you suggest good solutions , for the server Backup mechanismso that 
I can restore all the data just before the crashing moment .


pls share your expertise , it will help me lot  to secure my data in the 
server machine ..


Thanks in Advance
KK

_
Live the life in style with MSN Lifestyle. Check out!  
http://content.msn.co.in/Lifestyle/Default


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


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Subhro Kar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

dhaneshk k sat at his 'pewter and typed  on 09/21/07 13:55:
 Hi ;
 
 A general question pls excuse me
 
 can any body suggest a backup mechanism for a server machine , which has
 a web portal , email server ,PgSQL database 4GB size , DNS server,
 Mailman , and a mediawiki applications running in a single machine .
 
 Can you suggest good solutions , for the server Backup mechanismso
 that I can restore all the data just before the crashing moment .
 
 pls share your expertise , it will help me lot  to secure my data in the
 server machine ..

If you wish to have 0 downtime then the only option is a separate
failover server. However much you try, if you do not have a separate box
 to failover to, it is not possible to do a 0 downtime switchover.

Regarding the backup solution, you can either buy an external Hard Disk
and back up to it. Alternatively you can back up to tape drives or to
NFS mounted volumes.

Thanks
Subhro
- --
 __
/ The nice thing about Windows is - It \
| does not just crash, it displays a   |
| dialog box and lets you press 'OK'   |
\ first. (Arno Schaefer's .sig)/
 --
\   ^__^
 \  (@@)\___
(__)\   )\/\
||w |
|| ||
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG84dXDA+HioTWbkQRAu2RAKDJMztsQAu2oLuMaKt/vFEvf3YdewCgupn/
eozM9rJAJzKmkTSPSBA4oQc=
=8sWc
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cheaper backup mechnism for a server

2007-09-21 Thread John Pettitt

dhaneshk k wrote:

Hi ;

A general question pls excuse me

can any body suggest a backup mechanism for a server machine , which 
has a web portal , email server ,PgSQL database 4GB size , DNS server, 
Mailman , and a mediawiki applications running in a single machine .


Can you suggest good solutions , for the server Backup mechanismso 
that I can restore all the data just before the crashing moment .


pls share your expertise , it will help me lot  to secure my data in 
the server machine ..


Thanks in Advance
KK



Check out BackupPC - it will do rsync backups and store them very 
intelligently on a remote box - you can set it to backup as often as you 
like ...


It saved my ass when my FreeBSD co-lo server disk died - I had a backup 
up to date as of midnight that let me restore the machine (I back it up 
over a DSL line without problems)


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


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Subhro Kar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello DharneshK,

You can try to create a Mirror using RAID. You can either create a
software or a hardware (recommended) managed Mirror. In case of a disk
crash you still have a copy of the updated data on the disk.

BTW, please make sure you hit Reply all instead of Reply. this also
keeps the freebsd-questions@ updated which will allow others to look
into this mail and provide a better answer as well as help future users.

Thanks
Subhro


dhaneshk k sat at his 'pewter and typed  on 09/21/07 14:39:
 Hi , subhro,
 
 i agree with you ,  I need a clarification
 
 The backup should be the uptodate one , so in case of a disk crash
 (permanent crash) I need the backup upto the last moment , so is ther
 any cheap tools , to do it , so i can save the backups to another
 desktop pc  synchronously (I mean any mechanism for backup through
 online ie ; ssh  OR VPN or like that )  (not manual backing up at each
 moment) can you tell the exact solution .
 
 If  I am using rsync , I can only do it by a crontab , even though at a
 specfic time only the cron run , if crash occurs after this time then
 the data after the cron will lose  , so which is the right  cheaper
 solution ?
 
 
 From: Subhro Kar [EMAIL PROTECTED]
 To: dhaneshk k [EMAIL PROTECTED]
 CC: freebsd-questions@freebsd.org
 Subject: Re: Cheaper backup mechnism for a server
 Date: Fri, 21 Sep 2007 14:26:55 +0530

 Hello,
 
 dhaneshk k sat at his 'pewter and typed  on 09/21/07 13:55:
 Hi ;
 
 A general question pls excuse me
 
 can any body suggest a backup mechanism for a server machine , which
 has
 a web portal , email server ,PgSQL database 4GB size , DNS server,
 Mailman , and a mediawiki applications running in a single machine .
 
 Can you suggest good solutions , for the server Backup mechanismso
 that I can restore all the data just before the crashing moment .
 
 pls share your expertise , it will help me lot  to secure my data in
 the
 server machine ..
 
 If you wish to have 0 downtime then the only option is a separate
 failover server. However much you try, if you do not have a separate box
  to failover to, it is not possible to do a 0 downtime switchover.
 
 Regarding the backup solution, you can either buy an external Hard Disk
 and back up to it. Alternatively you can back up to tape drives or to
 NFS mounted volumes.
 
 Thanks
 Subhro
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

 _
 Single,planning to marry? Find  the right match @ shaadi.com
 http://ss1.richmedia.in/recurl.asp?pid=202

 __
/ The nice thing about Windows is - It \
| does not just crash, it displays a   |
| dialog box and lets you press 'OK'   |
\ first. (Arno Schaefer's .sig)/
 --
\   ^__^
 \  (@@)\___
(__)\   )\/\
||w |
|| ||
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG85AFDA+HioTWbkQRAgp1AJ4xZP+I9nblPoI53DTnSDtn+eBq/wCeMxY9
rx1uuX8ycwi3ETlB2hFqTIc=
=e3cq
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: End-of-life for my amd64 ?

2007-09-21 Thread Kris Kennaway

Ivan Voras wrote:

NetOpsCenter wrote:

I have been using FreeBSD 7.0  since Jan  8 2007  CURRENT on this box 
which is a desktop for browsing and email  with a Dual core AMD CPU 
setup.

It rocks.

I use FreeBSD 7.0 Current on 2 small mailservers using 3 year old 
hardware and it is rock solid. I believe the FreeBSD team has really 
got their act together on this one.


Are you using any of the new features in 7.x? SCHED_ULE, ZFS? Because my 
only 7.x production server that does crashes daily (luckily it's not a 
critical machine) and non-server machines are not far behind. If you're 
not using the new features, you could just as well run 6.x :)


I'm actively trying to solve some of these problems, but from my 
experience (I do a lot of things that may be considered experimental, 
but mostly userland-side, I run vanilla kernels) 7 simply isn't stable 
yet. It might be in 7.0, but it's not yet.


I use 7.0 on about 70 machines that are extremely heavily loaded, all 
running ULE, ranging from single through to 8 CPUs, some using ZFS, etc. 
 I don't see these problems you are claiming, so you'll have to do some 
more detective work.


Kris

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


Re: Repeated PXE jumpstart

2007-09-21 Thread Erik Cederstrand

Found the answer elsewhere, so this is just for the records...

Erik Cederstrand wrote:

Hi!

I'm trying to set up a system to continually and automatically run 
benchmarks on the most recent CURRENT. The idea is to PXE-boot the 
server, do an automated jumpstart installation, reboot and run a few 
benchmarks. Lather, rinse, repeat.


My problem is when the jumpstart installation finishes. I set PXE-boot 
as the first option in the BIOS to start the installation. To complete 
the installation I need to reboot the server from the hard-disk, but I 
don't want to enter the BIOS on each reboot to change the boot sequence.


What are my options? Can I simply set the hard-disk as the first option 
in the boot sequence (with PXE second) and then wipe the MBR when the 
system comes up after an install, so the BIOS will continue to PXE? How 
would i do that?


# sysctl kern.geom.debugflags=16
# dd if=/dev/zero of=/dev/ad0 bs=512 count=1

wipes the MBR and solves my problem.

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


Re: Deleted /var/db/pkg

2007-09-21 Thread nikolaj . thygesen
 On Tue, 18 Sep 2007 16:46:03 +0400
 Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On Tue, Sep 18, 2007 at 02:01:27PM +0200,
 [EMAIL PROTECTED] wrote:
  Hi list,
 
  Suppose you deleted /var/db/pkg by accident :( What would you
  do to get it back??

 I'd go one of these ways:
 - rm -rf /usr/local ...
 - rebuild all the packages I need in a chroot, then pkg_add them



I have started portinstalling gnome2 with dependencies and no matter if I
manually build cdrtools or cdrtools-cjk the machine always wants to build
the other one :( As they can't coexist, what can I do to make the
portinstall -R gnome2 work?? I have (ab)used pkgdb in every conceivable
way and done portupgrades -o back and forth, but nothing helps. I'm
currently out of ideas. There must be a way - right??

br Nikolaj

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


Re: Deleted /var/db/pkg

2007-09-21 Thread Vince
[EMAIL PROTECTED] wrote:
 On Tue, 18 Sep 2007 16:46:03 +0400
 Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On Tue, Sep 18, 2007 at 02:01:27PM +0200,
 [EMAIL PROTECTED] wrote:
 Hi list,

 Suppose you deleted /var/db/pkg by accident :( What would you
 do to get it back??
 I'd go one of these ways:
 - rm -rf /usr/local ...
 - rebuild all the packages I need in a chroot, then pkg_add them


 I have started portinstalling gnome2 with dependencies and no matter if I
 manually build cdrtools or cdrtools-cjk the machine always wants to build
 the other one :( As they can't coexist, what can I do to make the
 portinstall -R gnome2 work?? I have (ab)used pkgdb in every conceivable
 way and done portupgrades -o back and forth, but nothing helps. I'm
 currently out of ideas. There must be a way - right??
 

Does the ALT_PKGDEP section of /usr/local/etc/pkgtools.conf help ?

(from UPDATING)
 Example of ALT_PKGDEP section:
  ALT_PKGDEP = {
'www/apache13' = 'www/apache13-modssl',
'print/ghostscript-afpl' = 'print/ghostscript-gnu',
  }

This should let you specify in pkgtools.conf

ALT_PKGDEP = {
'sysutils/cdrtools' = 'sysutils/cdrtools-cjk',
}

so any dependancies on cdrtools will be rewritten to use cdrtools-cjk


Vince


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

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


Re: Deleted /var/db/pkg

2007-09-21 Thread nikolaj . thygesen
 [EMAIL PROTECTED] wrote:
 On Tue, 18 Sep 2007 16:46:03 +0400
 Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On Tue, Sep 18, 2007 at 02:01:27PM +0200,
 [EMAIL PROTECTED] wrote:
 Hi list,

 Suppose you deleted /var/db/pkg by accident :( What would you
 do to get it back??
 I'd go one of these ways:
 - rm -rf /usr/local ...
 - rebuild all the packages I need in a chroot, then pkg_add them


 I have started portinstalling gnome2 with dependencies and no matter if
 I
 manually build cdrtools or cdrtools-cjk the machine always wants to
 build
 the other one :( As they can't coexist, what can I do to make the
 portinstall -R gnome2 work?? I have (ab)used pkgdb in every
 conceivable
 way and done portupgrades -o back and forth, but nothing helps. I'm
 currently out of ideas. There must be a way - right??


 Does the ALT_PKGDEP section of /usr/local/etc/pkgtools.conf help ?

 (from UPDATING)
  Example of ALT_PKGDEP section:
   ALT_PKGDEP = {
 'www/apache13' = 'www/apache13-modssl',
 'print/ghostscript-afpl' = 'print/ghostscript-gnu',
   }

 This should let you specify in pkgtools.conf

 ALT_PKGDEP = {
 'sysutils/cdrtools' = 'sysutils/cdrtools-cjk',


The above entry is already there. Do I need to do anything in particular
to reinforce it??


 }

 so any dependancies on cdrtools will be rewritten to use cdrtools-cjk


 Vince

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


Re: Deleted /var/db/pkg

2007-09-21 Thread Vince
[EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
 On Tue, 18 Sep 2007 16:46:03 +0400
 Andrew Pantyukhin [EMAIL PROTECTED] wrote:

 On Tue, Sep 18, 2007 at 02:01:27PM +0200,
 [EMAIL PROTECTED] wrote:
 Hi list,

 Suppose you deleted /var/db/pkg by accident :( What would you
 do to get it back??
 I'd go one of these ways:
 - rm -rf /usr/local ...
 - rebuild all the packages I need in a chroot, then pkg_add them

 I have started portinstalling gnome2 with dependencies and no matter if
 I
 manually build cdrtools or cdrtools-cjk the machine always wants to
 build
 the other one :( As they can't coexist, what can I do to make the
 portinstall -R gnome2 work?? I have (ab)used pkgdb in every
 conceivable
 way and done portupgrades -o back and forth, but nothing helps. I'm
 currently out of ideas. There must be a way - right??

 Does the ALT_PKGDEP section of /usr/local/etc/pkgtools.conf help ?

 (from UPDATING)
  Example of ALT_PKGDEP section:
   ALT_PKGDEP = {
 'www/apache13' = 'www/apache13-modssl',
 'print/ghostscript-afpl' = 'print/ghostscript-gnu',
   }

 This should let you specify in pkgtools.conf

 ALT_PKGDEP = {
 'sysutils/cdrtools' = 'sysutils/cdrtools-cjk',
 
 
 The above entry is already there. Do I need to do anything in particular
 to reinforce it??
 
Not as far as i know, (the only substitution i have in there works fine.)


If your syntax is ok, and you dont have sysutils/cdrtools installed
already which would probably confuse it, it should just work. If not
then you might have to ask someone with more portupgrade-fu than me.

Vince

 
 }

 so any dependancies on cdrtools will be rewritten to use cdrtools-cjk


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

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


Re: End-of-life for my amd64 ?

2007-09-21 Thread Ivan Voras
On 21/09/2007, Kris Kennaway [EMAIL PROTECTED] wrote:

 I use 7.0 on about 70 machines that are extremely heavily loaded, all
 running ULE, ranging from single through to 8 CPUs, some using ZFS, etc.
   I don't see these problems you are claiming, so you'll have to do some
 more detective work.

I'm working on it.

Specifically, the newest crash is in net/route.c, where locking is
insufficient on SMP machines (the machine is not a router but a
normal network server, the problem doesn't affect only routers).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Wojciech Puchar


A general question pls excuse me

can any body suggest a backup mechanism for a server machine , which has a 
web portal , email server ,PgSQL database 4GB size , DNS server, Mailman , 
and a mediawiki applications running in a single machine .


Can you suggest good solutions , for the server Backup mechanismso that I 
can restore all the data just before the crashing moment .


just before is too much. but try rsync
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Wojciech Puchar


Hello DharneshK,

You can try to create a Mirror using RAID. You can either create a
software or a hardware (recommended) managed Mirror. In case of a disk


both are software. while the software one you talking about is gmirror - 
very portable and easy to use contrary to BIOS-based hardware one.


and with gmirror is very easy to take whole disk snapshot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Norberto Meijome
On Fri, 21 Sep 2007 13:14:25 +0200 (CEST)
Wojciech Puchar [EMAIL PROTECTED] wrote:

  You can try to create a Mirror using RAID. You can either create a
  software or a hardware (recommended) managed Mirror. In case of a disk  
 
 both are software. while the software one you talking about is gmirror - 
 very portable and easy to use contrary to BIOS-based hardware one.
 
 and with gmirror is very easy to take whole disk snapshot

raid is a good solution for avoiding data loss due to hard disk failure (at
different rates depending on the raid type ). But it wont help you if someone 
accidentally or on purpose delete files. Raid will happily replicate the
deletion across all your disks :)

Raid , fail-over solutions  and the like  go hand in hand with backups, each
case needing it's own analysis : server/s setup, data, frequency of change of
the data, how fast do you want to recover it , budget will (well, should :D )
all affect your final decision.

Whatever path you go down by, make sure you test the getting the data back and
the server back online step ;) it's too late by then to realise you should've
backed up /etc and /var/ , for example.

_
{Beto|Norberto|Numard} Meijome

He has no enemies, but is intensely disliked by his friends.
  Oscar Wilde

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


Re: QEMU and tap problems

2007-09-21 Thread Doug Poland
On Thu, September 20, 2007 20:47, RW wrote:
 On Thu, 20 Sep 2007 06:21:20 -0500
 Doug Poland [EMAIL PROTECTED] wrote:

 I've been following the various instructions I've found on the web
 in an attempt to get tap networking with qemu-devel-0.9.0s.20070802


 Are you actually sure that you actually need tap?

Good question.  My reason for running Win2K server under QEMU is I'm
working on a java app that speaks to SQLServer.  Initially, all I need
is to communicate with the host/guest on the same machine.  After
that, I'll need the QEMU guest to be on the network so I can connect
to the java app from other computers.


 A lot of the how-tos are out of date

I've noticed that :(


 - recent versions of Qemu can give a guest network access without it.

When I started QEMU with the -net nic -net user switches, then Windows
gets a 10. address and the guest can see the network.  However, I
cannot see open ports I'm interested in, 1433 and 3389, from the host.


 Windows thinks it has connectivity, but I cannot ping the default
 gateway from the guest and I cannot ping the IP of the guest from
 the host.

 This suggest you are accessing the net without tap, ping is a setuid
 binary so pings generated in the guest can't be passed on by qemu.

The guest definitely could not see the hosts network with tap set up
the way I described.  I was using ping as a basic diagnostic tool and
did not know the limitation you described.


--
Regards,
Doug

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


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Wojciech Puchar


raid is a good solution for avoiding data loss due to hard disk failure (at
different rates depending on the raid type ). But it wont help you if someone
accidentally or on purpose delete files. Raid will happily replicate the
deletion across all your disks :)


of course, that's why i use rsync, and use cp -lpR to make multiple 
generations on backup server every day. i delete the oldest when there are 
out of space.


but gmirror+ggated/c is a good idea for those having more than 1 server 
and gigabit interfaces - do mirrorring spanning different machines (like 
mirror of first on second, mirror of second - on first).


PLUS BACKUPS.


the server back online step ;) it's too late by then to realise you should've
backed up /etc and /var/ , for example.


best to do exclude - instead of include - backup list
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: QEMU and tap problems

2007-09-21 Thread RW
On Fri, 21 Sep 2007 07:08:41 -0500 (CDT)
Doug Poland [EMAIL PROTECTED] wrote:

 On Thu, September 20, 2007 20:47, RW wrote:
  On Thu, 20 Sep 2007 06:21:20 -0500
  Doug Poland [EMAIL PROTECTED] wrote:
 
  I've been following the various instructions I've found on the web
  in an attempt to get tap networking with qemu-devel-0.9.0s.20070802
 
 
  Are you actually sure that you actually need tap?
 
 Good question.  My reason for running Win2K server under QEMU is I'm
 working on a java app that speaks to SQLServer.  Initially, all I need
 is to communicate with the host/guest on the same machine.  After
 that, I'll need the QEMU guest to be on the network so I can connect
 to the java app from other computers.
 
 
  A lot of the how-tos are out of date
 
 I've noticed that :(
 
 
  - recent versions of Qemu can give a guest network access without
  it.
 
 When I started QEMU with the -net nic -net user switches, then Windows
 gets a 10. address and the guest can see the network.  However, I
 cannot see open ports I'm interested in, 1433 and 3389, from the host.


I understand it when you run a guest without any networking switches,
it sees an emulated ethernet interface that behaves as if it's
connected to a basic NAT router. This emulation is running as an
ordinary user in the host, so it can't do anything that requires root
access - which is why you can't ping out. And because of the NAT you
can't make incoming connections to the guest (which prevents incoming
pings).

IIRC there is some kind of redirection switch that will allow you to
connect to guest ports via ports on the host (analogous to the port
forwarding on a NAT router).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: QEMU and tap problems

2007-09-21 Thread Aasmund Eikli
Have a look at this article: 
http://sysnotes.hia.no/2007/09/21/how-to-fix-network-bridging-for-qemu/


It may give you some ideas although it is for Linux. The basic premise 
is to make qemu emulate the guest host so it appears as any other 
physical host on the network. It may work better.


Regards
Oz

RW wrote:

On Fri, 21 Sep 2007 07:08:41 -0500 (CDT)
Doug Poland [EMAIL PROTECTED] wrote:


On Thu, September 20, 2007 20:47, RW wrote:

On Thu, 20 Sep 2007 06:21:20 -0500
Doug Poland [EMAIL PROTECTED] wrote:

I've been following the various instructions I've found on the web
in an attempt to get tap networking with qemu-devel-0.9.0s.20070802


Are you actually sure that you actually need tap?


Good question.  My reason for running Win2K server under QEMU is I'm
working on a java app that speaks to SQLServer.  Initially, all I need
is to communicate with the host/guest on the same machine.  After
that, I'll need the QEMU guest to be on the network so I can connect
to the java app from other computers.


A lot of the how-tos are out of date


I've noticed that :(


- recent versions of Qemu can give a guest network access without
it.


When I started QEMU with the -net nic -net user switches, then Windows
gets a 10. address and the guest can see the network.  However, I
cannot see open ports I'm interested in, 1433 and 3389, from the host.



I understand it when you run a guest without any networking switches,
it sees an emulated ethernet interface that behaves as if it's
connected to a basic NAT router. This emulation is running as an
ordinary user in the host, so it can't do anything that requires root
access - which is why you can't ping out. And because of the NAT you
can't make incoming connections to the guest (which prevents incoming
pings).

IIRC there is some kind of redirection switch that will allow you to
connect to guest ports via ports on the host (analogous to the port
forwarding on a NAT router).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



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


Hardware issues?

2007-09-21 Thread esheesle
I run a Freebsd 6.2 server. Lately I've been getting a lot of the following 
type errors:

Sep 20 20:01:54 rogue kernel: swap_pager: indefinite wait buffer: bufobj: 0, 
blkno: 165918, size: 12288

The system has a raid 0 setup. I thought the normal cause of this was a hard 
drive issue so I did some checking over the past couple of weeks. I did a bios 
based scan of both drives, checked the raid reports and it thinks they are 
fine. I also installed smartctl and do daily testing and it reports the drives 
are both fine.

It seems like I start getting those messages after the system has been up for 
a week or two. If i reboot they go away for several more days. Any thoughts on 
what could case this? The hardware is only 2 years old so the system isn't be 
overwhelmed. Showing 1% or less of processing via top at any given time.  Is 
the hard disk the only likely cause?

Thanks

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


Apache22 Port can't find Berkeley DB.

2007-09-21 Thread Aliya Harbouri
Hi!

When I ran an upgrade to the Ports tree using the portsnap tool

  portsnap fetch update

I saw an available update available to /usr/ports/www/apache22, but it
was immediately followed with an error,

  IGNORED
  Unknown Berkeley DB version

in the console output.

Other ports eventually get updated, but apache22 seems to get skipped
as a result.

It took me a bit to figure out that the IGNORE is coming from the
Port's Makefile.modules,

IGNORE= Unknown Berkeley DB version

I've read online about use of /usr/ports/Mk/bsd.database.mk 
/etc/make.conf for build configuration, and have added

 USE_BDB
 WITH_BDB_HIGHEST=true
 WITH_BDB_VER=46
 BDB_LIB_DIR=/usr/local/lib/db46
 BDB_INCLUDE_DIR=/usr/local/include/db46

to make.conf.  If I grok this stuff correctly, Ports should now find 
use BDB, version 46.

Good news! This seems to make all other Ports generally happy.  They
seem to find/use BDB like I intend.

But the apache22 Port still doesn't update, because of the Unknown
BDB version.

Is there some additional Ports-magic that I'm missing here?

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


Re: X11 keyboard

2007-09-21 Thread Richard Tobin
  I'm using a Mac mini, and the keyboard is wrong in various ways under X
  (apart from the usual unwanted caps lock, keys like tilde are wrong).
  What is the right way to fix this?  I'm using Xorg 7.2.

 Have you gotten other mac keyboards working under FreeBSD?  If not,
 you probably want, try man setxkbmap.

Ah, that's probably what I was looking for.  I did something similar
years ago, but couldn't remember what it was.

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


reboot on problem

2007-09-21 Thread Aleksander Rozman - Andy

Hi !

I am running FreeBSD as server. Thing is working great, there is only 
one problem. Sometimes machine looses connection to internet... Which is 
quite a problem, since this computer is on remote location, which I only 
access once a week or less. I would need application (or something), 
which would check if computer can connect to gateway, in case that it 
can it would do nothing, but in case it can't it would make soft reboot...


Is there anything that I could achive this with? Any idea is welcome... 
Please cc: message to my private address (reply all should do this)


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


Re: reboot on problem

2007-09-21 Thread Mikel King



On Sep 21, 2007, at 10:56 AM, Aleksander Rozman - Andy wrote:


Hi !

I am running FreeBSD as server. Thing is working great, there is  
only one problem. Sometimes machine looses connection to  
internet... Which is quite a problem, since this computer is on  
remote location, which I only access once a week or less. I would  
need application (or something), which would check if computer can  
connect to gateway, in case that it can it would do nothing, but in  
case it can't it would make soft reboot...


Is there anything that I could achive this with? Any idea is  
welcome... Please cc: message to my private address (reply all  
should do this)


Thanks in advance
Andy



You could write a shell script to check the connection at a set  
interval and take corrective action should it encounter a problem.



Cheers,
Mikel King
CITO, Tech Alliance, INC
Senior Editor, Daemon News
39 West Fourteenth Street
Second Floor
New York, NY 10011
http://www.techally.com
http://www.daemonnews.org
t: 212.727.2100x132
+--+
How do you spell cooperation? Pessimists use
each other, but optimists help each other.
Collaboration feeds your spirit, while
competition only stokes your ego. You'll
find the best way to get along.
+--+

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


Re: My experiment which FreeBSD, stuck with wireless card.

2007-09-21 Thread Roland Smith
On Thu, Sep 20, 2007 at 12:29:03PM -0230, [EMAIL PROTECTED] wrote:
 Is there a solution to this issue for PCBDS 1.3?  I am using the WN825G on 
 an old IBM TP 600.

According to the user guide, this card uses a Broadcom 4306  2050.

AFAIK, these chips are not supported under freebsd. Broadcom doesn't
specs and programming information to the open source community. They
only support their customers if they want to make a driver.

For everyone looking for a working wireless card, the following advice;
- look through the manual pages for the networking device drivers to
  locate supported chipsets.  
- locate a card with a supported chipset.

Yes, this takes some effort, but until open source drivers are
commonplace, that's the way it is.

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


pgpTK04BTYR8C.pgp
Description: PGP signature


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Michel Le Cocq
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Wojciech Puchar a écrit :
 of course, that's why i use rsync, and use cp -lpR to make multiple
 generations on backup server every day. i delete the oldest when
 there are out of space.

 but gmirror+ggated/c is a good idea for those having more than 1
 server and gigabit interfaces - do mirrorring spanning different
 machines (like mirror of first on second, mirror of second - on first).
rdiff-backup do all of this and you can also restore a backup of 2
days ago because it also store an history of the backup.

Michel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG898ftdSucJnea0gRAnA4AKCqXBHxWUs3o+kHUvLNX7W5EthsQgCfe+WH
8LW1Ju1oHtfGt4F2jpcPKUk=
=qDKk
-END PGP SIGNATURE-

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


Netcraft do not display uptime graph, why?

2007-09-21 Thread Byung-Hee HWANG
Hi there,

My machine is FreeBSD 6.x currently. But Netcraft do not display of my
machine's uptime graph. When I used FreeBSD 4.x, actually I could see
the uptime graph in Netcraft.

What happened? 
And what can I do to solve the problem?

Here is my machine's uname:

[EMAIL PROTECTED]:~ uname -v
FreeBSD 6.2-RELEASE-p7 #4: Thu Aug 30 23:44:27 KST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP 
[EMAIL PROTECTED]:~

Byung-Hee 

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


Re: End-of-life for my amd64 ?

2007-09-21 Thread Kris Kennaway

Ivan Voras wrote:

On 21/09/2007, Kris Kennaway [EMAIL PROTECTED] wrote:


I use 7.0 on about 70 machines that are extremely heavily loaded, all
running ULE, ranging from single through to 8 CPUs, some using ZFS, etc.
  I don't see these problems you are claiming, so you'll have to do some
more detective work.


I'm working on it.

Specifically, the newest crash is in net/route.c, where locking is
insufficient on SMP machines (the machine is not a router but a
normal network server, the problem doesn't affect only routers).


OK, feel free to provide some details on the relevant mailing list if 
you need help tracking it down.


Kris

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


Re: Cheaper backup mechnism for a server

2007-09-21 Thread Jerry McAllister

 Hi ;
 
 A general question pls excuse me
 
 can any body suggest a backup mechanism for a server machine , which has a 
 web portal , email server ,PgSQL database 4GB size , DNS server, Mailman , 
 and a mediawiki applications running in a single machine .

Sounds like a fairly small server.  Should be no problem backing it up.

 Can you suggest good solutions , for the server Backup mechanismso that 
 I can restore all the data just before the crashing moment .

Well, if you want just before the crash, you need some kind of 
mirroring or raid that makes a recoverable copy or stripe of your
data.   Backups will only restore from the point of the backup.

I would suggest mirroring combined with frequent backups - daily.

As for the medium, it depends on how much backup you need.  Do you
need long term archive copies - then use tape.   If you only need
to restore a recent backup after some catastrophic failure, then
probably backing up to a large USB disk would be fine.

Use dump/restore to do the backups.
Organize your file systems so that stuff that never or rarely 
changes does not go in to your daily backup and by size so that
if possible, one file system can fit on a single recording media - 
eg tape or disk or whatever.   It is possible to have continuation
media, but it is nice if you don't have to.

jerry

 
 pls share your expertise , it will help me lot  to secure my data in the 
 server machine ..
 
 Thanks in Advance
 KK
 
 _
 Live the life in style with MSN Lifestyle. Check out!  
 http://content.msn.co.in/Lifestyle/Default
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Are you guys using xcdroast?

2007-09-21 Thread RW
On Thu, 20 Sep 2007 09:17:24 -0400
Lisandro Grullon [EMAIL PROTECTED] wrote:

 
 Hi Erich and thank youf rot the reply,
 I do understand that this is an X aplication, I am trying to run it
 in 6.2_release using Xorg 7.2 and Gnome2, still giving me that
 strange error when I try to execute from the shell as root, I try
 google at it and nothing shows up for it. Any ideas what might be
 happening?

Try changing the Gnome menu entry to run it as root (it works on KDE,
so it'll probably work on Gnome). What you shouldn't do is allow root to
run gui programs by default.

Looking at the xcdroast port it looks like it can only be run as root,
which is bad, or setuid, which is worse. The K3B port has a set of
instruction for making it work as an ordinary user (make showinfo),
perhaps it would work with xcdroast. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Netcraft do not display uptime graph, why?

2007-09-21 Thread Bill Moran
In response to Byung-Hee HWANG [EMAIL PROTECTED]:

 Hi there,
 
 My machine is FreeBSD 6.x currently. But Netcraft do not display of my
 machine's uptime graph. When I used FreeBSD 4.x, actually I could see
 the uptime graph in Netcraft.
 
 What happened?

http://uptime.netcraft.com/up/accuracy.html#hz1000

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


Can not connect to external modem

2007-09-21 Thread Marcos Vinicius Buzo
I Am having troubles to set up an external serial modem on FreeBSD 6.2.

Here is my dmesg:

sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A

When I run the following command, the console freezes and I can not
type anything:

ironman# tip -v com1
Stale lock on cuad0 PID=70824... overriding.
connected


Any sugestions ?

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


How to get best results from FreeBSD-questions

2007-09-21 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2007-09-21 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: How to know who use NFS.

2007-09-21 Thread Le Cocq Michel
With some info student it also happen some times in here, and the way i
find is to launch a tcpdum or ethereal on the server and look at which
ip appear the more often

Michel

Albert Shih a écrit :
 Hi all

 Sometime I've a user (or some users but not lot of users) make a very huge
 transfert through NFS. I don't want that.

 How can I known at un precise moment who charge my NFS server (I'm root in
 both side : client and server).

 Regards.

 --
 Albert SHIH
 Observatoire de Paris Meudon
 SIO batiment 15
 Heure local/Local time:
 Jeu 20 sep 2007 19:23:03 CEST
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
   

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


Re: Can not connect to external modem

2007-09-21 Thread Giorgos Keramidas
On 2007-09-21 13:35, Marcos Vinicius Buzo [EMAIL PROTECTED] wrote:
 I Am having troubles to set up an external serial modem on FreeBSD 6.2.

 Here is my dmesg:

 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A

 When I run the following command, the console freezes and I can not
 type anything:

 ironman# tip -v com1
 Stale lock on cuad0 PID=70824... overriding.
 connected

 Any sugestions ?

Try hitting RETURN a couple of times and typing ``~.'' (without the
surrounding ``double quotes'').

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


Intel D975XBX2 BTX Halted error

2007-09-21 Thread Kirby Kuehl
After experiencing overheating problems, I purchased a new CPU and motherboard 
Intel D975XBX2
 which has a built in Raid controller Marvell 88SE61xx
I installed my existing FreeBSD-STABLE drive 

I have tried disabling the secondary SATA Controller, but it says no boot 
devices available.
My drive is connected to SATA port 0

I have tried configuring my ATA/IDE Mode as Native (the default) and Legacy.
I have tried configuring SATA as IDE, AHCI, and RAID
I have tried S.M.A.R.T both enabled and disabled.

int=000d err= efl=00030086 eip=1526
eax=0110 ebx= ecx= edx=95200110
esi=3684 edi=36ac ebp=4eac esp=4e9a
cs=cf00 ds=9b00 es=cf00 fs=9941 gs=9ac0 ss=9b00
sc:eip=2e 0f 01 16 8d 07 0f 20-c0 40 0f 22 c0 b8 08 00
8e e8 67 66 65 89 0a 0f-20 c0 48 0f 22 c0 66 58
ss:esp=10 01 00 00 c0 9a 20 95-00 00 ff ff 00 00 ac 36
84 36 d4 4e 6c 32 00 01-00 00 00 40 25 00 00 00
BTX halted

Similar Posts:
http://lists.freebsd.org/pipermail/freebsd-questions/2007-March/146146.html
http://lists.freebsd.org/pipermail/freebsd-questions/2007-March/146252.html

Thanks in advance,

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


Re: Can not connect to external modem

2007-09-21 Thread Lars Eighner

On Fri, 21 Sep 2007, Marcos Vinicius Buzo wrote:


I Am having troubles to set up an external serial modem on FreeBSD 6.2.

Here is my dmesg:

sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A

When I run the following command, the console freezes and I can not
type anything:

ironman# tip -v com1
Stale lock on cuad0 PID=70824... overriding.
connected


Any sugestions ?


please

ls /dev

if you do not find

sio0: moving to sio4

in dmesg, it probably is not identifying the device as a modem.

If it did, the device is on cuad4.  com1 is being interpreted as
cuad0, which is the keyboard, and it is no wonder you are freezing up.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: Intel D975XBX2 BTX Halted error

2007-09-21 Thread Alexandre Biancalana
On 9/21/07, Kirby Kuehl [EMAIL PROTECTED] wrote:

 After experiencing overheating problems, I purchased a new CPU and
 motherboard
 Intel D975XBX2
 which has a built in Raid controller Marvell 88SE61xx
 I installed my existing FreeBSD-STABLE drive



I've just installed FreeBSD-CURRENT on this motherboard yesterday without
any problem, but I'm using one areca ARC-1231 not the onboard serial ata
controller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to know who use NFS.

2007-09-21 Thread Dan Nelson
In the last episode (Sep 21), Le Cocq Michel said:
 Albert Shih a écrit :
  Sometime I've a user (or some users but not lot of users) make a
  very huge transfert through NFS. I don't want that.
 
  How can I known at un precise moment who charge my NFS server (I'm
  root in both side : client and server).

 With some info student it also happen some times in here, and the way i
 find is to launch a tcpdum or ethereal on the server and look at which
 ip appear the more often

I think ethereal/wireshark is your best bet too.  At least with it you
can filter on the userid making an NFS request (it's rpc.auth.uid). 
Unfortunately it doesn't look like there's a summary or analysis option
for NFS, so you'll have to count packets maually...

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


OpenOffice Java downloads

2007-09-21 Thread NetOpsCenter

Aloha,

I would like to know where the download files for OpenOffice 1.1 are 
located now. I downloaded OpenOffice from FreeBSD site and it gives 
error 1 when finished saying you have to install 3 or 4 files from 
outside. But the files listed on the screen are not listed on the sites 
given as their location.


I checked the archive java files at Sun and they are not there either.

I'd even go for switching to different office program which runs under 
FerrBSD with out all this hassle if it was able to open .doc and .swx  
files.


Thanks for the help.

~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740
+ http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
+ http://internetohana.org - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol

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


Re: OpenOffice Java downloads

2007-09-21 Thread Bill Moran
In response to NetOpsCenter [EMAIL PROTECTED]:

 Aloha,
 
 I would like to know where the download files for OpenOffice 1.1 are 
 located now. I downloaded OpenOffice from FreeBSD site and it gives 
 error 1 when finished saying you have to install 3 or 4 files from 
 outside. But the files listed on the screen are not listed on the sites 
 given as their location.
 
 I checked the archive java files at Sun and they are not there either.
 
 I'd even go for switching to different office program which runs under 
 FerrBSD with out all this hassle if it was able to open .doc and .swx  
 files.

I expect you're going to have a difficult time rounding up all those
versions of those files, as OOo 1.1 is gotten rather old.

Is there any reason you can't use OOo 2.X?

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


Problem with Pear-Auth

2007-09-21 Thread Derrick

On FreeBSD 6.2
php-5.2.4


make install clean
===  Installing for pear-Auth-1.5.4
===   pear-Auth-1.5.4 depends on file: /usr/local/share/pear/PEAR.php - 
found

===   pear-Auth-1.5.4 depends on executable: pear - found
===   Generating packing list
===   Generating temporary packing list
===  Checking if security/pear-Auth already installed
=== Installing documentation in /usr/local/share/doc/pear/Auth.
=== Installing tests in /usr/local/share/pear/tests/Auth.
=== Installing examples in /usr/local/share/examples/pear/Auth.
pear/Auth can optionally use package pear/Log (version = 1.9.10)
pear/Auth can optionally use package pear/File_Passwd (version = 1.1.0)
pear/Auth can optionally use package pear/Net_POP3 (version = 1.3.0)
pear/Auth can optionally use package pear/DB (version = 1.6.0)
pear/Auth can optionally use package pear/MDB
pear/Auth can optionally use package pear/MDB2 (version = 2.0.0RC1)
pear/Auth can optionally use package pear/Auth_RADIUS
pear/Auth can optionally use package pear/Crypt_CHAP (version = 1.0.0)
pear/Auth can optionally use package pear/File_SMBPasswd (version = 
1.0.0)

pear/Auth can optionally use package pear/HTTP_Client (version = 1.1.0)
pear/Auth can optionally use package pear/SOAP (version = 0.9.0)
pear/Auth can optionally use package pecl/vpopmail (version = 0.2)
pear/Auth can optionally use package pecl/kadm5 (version = 0.2.3)
pear/Auth can optionally use PHP extension saprfc
pear/Auth can optionally use PHP extension soap
install ok: channel://pear.php.net/Auth-1.5.4
Segmentation fault (core dumped)
*** Error code 139

It seems to be less with Pear-Auth, but I'm not sure where to go with 
this.


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


Re: OpenOffice Java downloads

2007-09-21 Thread NetOpsCenter

Bill Moran wrote:


In response to NetOpsCenter [EMAIL PROTECTED]:

 


Aloha,

I would like to know where the download files for OpenOffice 1.1 are 
located now. I downloaded OpenOffice from FreeBSD site and it gives 
error 1 when finished saying you have to install 3 or 4 files from 
outside. But the files listed on the screen are not listed on the sites 
given as their location.


I checked the archive java files at Sun and they are not there either.

I'd even go for switching to different office program which runs under 
FerrBSD with out all this hassle if it was able to open .doc and .swx  
files.
   



I expect you're going to have a difficult time rounding up all those
versions of those files, as OOo 1.1 is gotten rather old.

Is there any reason you can't use OOo 2.X?

 

I have 1.1 in use now on an elderly 4.11 box that works just fine. I 
tried to load 2.x last Jan on a 7.0 box and could.t get the files to 
download from Sun/Java then. I just set up a new  FreeBSD 7.0 box to 
eventually replace the 4.11 desktop This is where I want to install the 
Open Office.
So I really dont care what the version is so long as the file names 
reflect what the freebsd install error 1 gives when it finishes its 
part. I just happened to start this ritual of installing with 1.1 to see 
if it worked. Which it did not.


I also see that IBM is releasing their version of OpenOffice as FreeWare 
for all OS'es. Is this available as a straight install on FreeBSD oe 
linux/FreeBSD as a port?


I have clients who insist using .doc files since they have M$ stuff. 
That is why I need a system that can run them  on FreeBSD. I dont do 
Windows.


--

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


Re: Repeated PXE jumpstart

2007-09-21 Thread Jan Grant
On Fri, 21 Sep 2007, Erik Cederstrand wrote:

 Found the answer elsewhere, so this is just for the records...
 
 # sysctl kern.geom.debugflags=16
 # dd if=/dev/zero of=/dev/ad0 bs=512 count=1
 
 wipes the MBR and solves my problem.

The alternative is to put PXE ahead of the HD in the boot order, and 
call back to the deployment host at the end of installation (prior to 
reboot) to signal a DHCP reconfiguration.

It adds a PXE timeout to each boot; the upside is that replacing a 
wedging or otherwise broken install is just a matter of reconfiguring a 
DHCP server.

-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
Random act of violence against bread: whole pint.
  -- extract from the Hawk the Slayer drinking game
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to know who use NFS.

2007-09-21 Thread Albert Shih
 Le 21/09/2007 à 13:59:35-0500, Dan Nelson a écrit
 In the last episode (Sep 21), Le Cocq Michel said:
  Albert Shih a écrit :
   Sometime I've a user (or some users but not lot of users) make a
   very huge transfert through NFS. I don't want that.
  
   How can I known at un precise moment who charge my NFS server (I'm
   root in both side : client and server).
 
  With some info student it also happen some times in here, and the way i
  find is to launch a tcpdum or ethereal on the server and look at which
  ip appear the more often
 
 I think ethereal/wireshark is your best bet too.  At least with it you
 can filter on the userid making an NFS request (it's rpc.auth.uid). 
 Unfortunately it doesn't look like there's a summary or analysis option
 for NFS, so you'll have to count packets maually...

Thanks for that.

But my problem is the NFS traffic is heavy in standard time, and wireshark
or tcpdump give my lot of lot of data. 

But I'm going to try again.

Regards.

--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Ven 21 sep 2007 22:16:34 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Data corruption with Tyan Thunder amd64 and 3ware 9550

2007-09-21 Thread Chris Boyd

Hello,

I'm hoping that someone has a good answer for the strange behavior  
I'm seeing.


I have a problem with a Tyan Thunder K8SE motherboard with dual  
Opteron 250 2.4GHz CPUs and a 3Ware 9550 PCI Express four port RAID  
controller running in RAID 5.  4GB Memory.


Running 6.2, with source downloaded yesterday morning and a complete  
buildworld/buildkernel


When we rsync a file to the system and then checksum it, we get  
really bogus results like these:


files# md5 junk
MD5 (junk) = 30d02079596353437f372a99697fb1bc
files# md5 junk
MD5 (junk) = d05e159aecf780678b0f8ef785252498
files# md5 junk
MD5 (junk) = 25c1ec066f4ed37cd9268bdafa0a0639
files# md5 junk
MD5 (junk) = 477a6bb6fc9ccba12bf4e167b39679f8

Yes, that's the same file each time.

We've tried various ACPI settings in the BIOS, moving the memory  
around, running single CPU, changing the APIC BIOS setting to PIC  
(system boots faster then, but only runs one CPU), but we're still  
getting corrupted data reads.


Any pointers welcomed.

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


Re: is there any way of turning muttrc list into an evolution or other mail alias database?

2007-09-21 Thread Gary Kline
On Thu, Sep 20, 2007 at 04:49:48PM +0400, Andrew Pantyukhin wrote:
 On Wed, Sep 19, 2007 at 12:13:55PM -0700, Gary Kline wrote:
  On Mon, Sep 17, 2007 at 04:31:53PM -0700, Gary Kline wrote:

Google says something about evo being able to import ldif files.
Abook can convert mutt's aliases into ldif.
   
   
   I'll google for it; thanks for the tip.
 
  Thanks  to Andrew's posting I did find a few references on how
  to use abook to create the basics of email addresses for evol.
  Not enough, tho to let me get very far, tho, so if anybody has
  a sed script that can put the 'alias', Name, [EMAIL PROTECTED] into
  evolution format, that would be a help.   Or if any one of you
  has actually used mutt|elm and abook to do this, I'd be very
  much in your debt for an example.  I will post on my BSD
  website.
 
 OK, I had to install evolution to try this, but it works
 flawlessly:
 
 % abook --convert --infile ./.mutt/aliases --informat mutt \
   --outformat ldif --outfile /tmp/try.ldif
 
 Then go to evo, File-Import-Single file-/tmp/try.ldif
 
 And I'm looking at my address book in evo.


What  you figured out does indeed work. Thanks very much indeed.
As abook grows, maybe it will be able to put things into
different formats.  Altho maybe Evolution will serve well.  
(I finally learned that to save mail you can click and mouse the
icon to the left and unclick atop whatever directory... .)

I still like mutt best; fingers only.  No mousing necessary:-)

gary




-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


m4 macro error

2007-09-21 Thread Efren Bravo
Hi,

I installed freeBSD 6.2 but when I was to rebuild
the sendmail.cf with m4, I got this error:

# m4 /usr/share/sendmail/cf/m4/cf.m4 freebsd.mc 
sendmail.cf
m4: unexpected end of input, unclosed
parenthesis:
  
/usr/share/sendmail/cf/feature/accept_unresolvable_domains.m4
at line 14



File: accept_unresolvable_domains.m4
Line 14: define(`_ACCEPT_UNRESOLVABLE_DOMAINS_',
1):
--
divert(-1)
#
# Copyright (c) 1998, 1999 Sendmail, Inc. and its
suppliers.
#   All rights reserved.
#
# By using this file, you agree to the terms and
conditions set
# forth in the LICENSE file which can be found at
the top level of
# the sendmail distribution.
#
#

divert(0)
VERSIONID(`$Id: accept_unresolvable_domains.m4,v
8.10 1999/02/07 07:26:07 gshapi
divert(-1)

define(`_ACCEPT_UNRESOLVABLE_DOMAINS_', 1)


Does m4 have errors?  
How can I solve this?



thanks in advance...


   

Sé un Mejor Amante del Cine 
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
http://advision.webevents.yahoo.com/reto/entretenimiento.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice Java downloads

2007-09-21 Thread Robert Huff
NetOpsCenter writes:
  Bill Moran wrote:

  Is there any reason you can't use OOo 2.X?

  So I really dont care what the version is so long as the file
  names reflect what the freebsd install error 1 gives when it
  finishes its part.

1) Have you asked on the openoffice@ mailing list?
2) I'm with Bill - about the only reason to prefer 1.1 to 2.2.1
is lack of disk space.
3) I know from experience a suitable jdk is required (at least
during compilation) for the 2.x series to handle OpenDocument
formats.  But the last I heard, it handles other formats natively.



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


top columns VCSW and IVCSW

2007-09-21 Thread Andreas Pettersson
I couldn't find it in the man page and Google turned up with nothing of 
value so I ask here.

What does the top (in IO mode) columns VCSW and IVCSW mean?

--
Andreas


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


top columns VCSW and IVCSW

2007-09-21 Thread Andreas Pettersson

I couldn't find it in the man page and Google turned up with nothing of
value so I ask here.
What does the top (in IO mode) columns VCSW and IVCSW mean?

--
Andreas



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


Re: top columns VCSW and IVCSW

2007-09-21 Thread Giorgos Keramidas
On 2007-09-21 21:44, Andreas Pettersson [EMAIL PROTECTED] wrote:
 I couldn't find it in the man page and Google turned up with nothing of
 value so I ask here.
 What does the top (in IO mode) columns VCSW and IVCSW mean?

VCSW = 'Voluntary context switches'
IVCSW = 'Involuntary context switches'

The first type of context switch happens when a process yields before it
has used its allotted time-quantum (i.e. because of an I/O request).

The second type of context switch happens when a process eats up all of
its quantum, and it is forcibly context-switched out of a CPU core by
the scheduler, to let other processes run.

The manpage doesn't document all the ``-m io'' columns, so we should try
to fix it :(

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


Re: top columns VCSW and IVCSW

2007-09-21 Thread Dan Nelson
In the last episode (Sep 21), Andreas Pettersson said:
 I couldn't find it in the man page and Google turned up with nothing
 of value so I ask here. What does the top (in IO mode) columns VCSW
 and IVCSW mean?

Voluntary and Involuntary context switches.  Voluntary ones are usually
due to syscalls that end up blocking (sleep, read, write, select etc). 
Involuntary ones are done by the scheduler when the process has used up
its time slice or an interrupt fires.  Grep the kernel for mi_switch
to see places that switches can happen.

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


Re: Hard drive RPM

2007-09-21 Thread Bruce Cran

John Andrewartha wrote:
When you format a disk a percentage of the disk is reserved for a map so your 
file can be found.

On a UFS it is called the SUPER BLOCKS a master and at least one slave.

Typically these blocks will take up to 8% or there abouts of the disk.

BTW I am not shouting when SUPER BLOCKS' that's how it's written.

In a root shell type fsck and watch the screen. 

For more info dig into you docs usually /share/doc or usr/doc there where some 
really good docs on the UFS


By default 8% of the disk is also reserved for use by the superuser: 
this extra space isn't displayed in the Avail column of df, so when 
the disk is really full (i.e the root user has filled the disk) it will 
show negative values.  The amount of space reserved can be changed using 
tunefs(8).


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


Software RAID5

2007-09-21 Thread Gabriel Dragffy

Hi all

Hoping to get some help setting up software RAID5. Guides on the  
internet seem to be few and far between, and official documentation  
is a little too technical. Basically I have 3 x 500GB hard drives  
which I'd like to have in a raid5 configuration, using software, root  
partition on their too would be a bonus. I'd be grateful for assistance.


Best regards

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


Kernel Panics in 6.1 and 6.2 always Exim 4

2007-09-21 Thread Wil Hatfield
Well after a year we still haven't tracked down the kernel panic problems
that are occuring on both our 6.1 and 6.2 machines for those we have had
time to upgrade.  It occurs on 6.1-RC, 6.1-RELEASE 6.1-STABLE, 6.2, you name
it.

We are noticing that all of the dumps are during Exim 4.6x runtime. I am
suspicious of PR-97095 but would like others insights into the possibility.

 References
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2006-06/msg00011.html
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2006-06/msg00621.html
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2006-06/msg00636.html

Here is my ditty:

 uname -a

FreeBSD machine1.ourdomain.net 6.1-RC FreeBSD 6.1-RC #1: Tue Apr 11 23:19:28
PDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM-KERNEL
i386


 dmesg

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x5c
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc06ab64c
stack pointer   = 0x28:0xf7ab1b10
frame pointer   = 0x28:0xf7ab1b2c
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 17074 (exim)
trap number = 12
panic: page fault
Uptime: 4d5h40m36s
Dumping 1015 MB (2 chunks)
  chunk 0: 1MB (160 pages) ... ok
  chunk 1: 1015MB (259840 pages) 1000 984 968 952 936 920 904 888 872 856
840 824 808 792 776 760 744 728 712 696 680 664 648 632 616 600 584 568 552
536 520 504 488 472 456 440 424 408 392 376 360 344 328 312 296 280 264 248
232 216 200 184 168 152 136 120 104 88 72 56 40 24 8Copyright (c) 1992-2006
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 6.1-RC #1: Tue Apr 11 23:19:28 PDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM-KERNEL
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2000.03-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
  Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,M
CA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 1065353216 (1016 MB)
avail memory = 1032658944 (984 MB)
MPTable: OEM0 PROD
ioapic0: Assuming intbase of 0
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: MPTable Host-PCI bridge pcibus 0 on motherboard
pci0: PCI bus on pcib0
agp0: Intel 82845G (845G GMCH) SVGA controller mem
0xd000-0xd7ff,0xdc10-0xdc17 irq 16 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
pci0: serial bus, USB at device 29.0 (no driver attached)
pci0: serial bus, USB at device 29.1 (no driver attached)
pci0: serial bus, USB at device 29.2 (no driver attached)
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib1: MPTable PCI-PCI bridge at device 30.0 on pci0
pci1: PCI bus on pcib1
fxp0: Intel 82801DB (ICH4) Pro/100 Ethernet port 0xa000-0xa03f mem
0xdc00-0xdc000fff irq 20 at device 8.0 on pci1
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:10:dc:52:d4:3d
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH4 UDMA100 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xcc00-0xcc0f mem 0xdc181000-0xdc1813ff
irq 16 at device 31.1 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
pci0: serial bus, SMBus at device 31.3 (no driver attached)
pci0: multimedia, audio at device 31.5 (no driver attached)
pmtimer0 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: Enhanced floppy controller at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: [FAST]
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown: PNP0303 can't assign resources (port)
unknown: PNP0c01 can't assign resources (memory)
unknown: PNP0c02 can't assign resources (port)
unknown: PNP0501 can't assign resources (port)
unknown: PNP0700 can't assign resources (port)
unknown: PNP0401 can't assign resources (port)

IBM Lotus freesoftware

2007-09-21 Thread NetOpsCenter

Aloha,

Anybody know if the IBM LOTUS office package ( Free Software) that is 
for Redhat 5 Enterprise Server will run under FreeBSD /Linux ?


We are looking to use an editor/office suite for a client. They heard about this new offering a couple of days ago. 


Thanks,

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


Re: Software RAID5

2007-09-21 Thread Maxim Khitrov
On 9/21/07, Gabriel Dragffy [EMAIL PROTECTED] wrote:
 Hi all

 Hoping to get some help setting up software RAID5. Guides on the
 internet seem to be few and far between, and official documentation
 is a little too technical. Basically I have 3 x 500GB hard drives
 which I'd like to have in a raid5 configuration, using software, root
 partition on their too would be a bonus. I'd be grateful for assistance.

 Best regards

 Gabriel

From what I know, you're not going to be able to boot from them.
However, a simple solution to that is to get a 64+ MB USB flash drive
and put the kernel on that. Just use fdisk and bsdlabel to write the
boot blocks. As long as the kernel has all needed drivers and you
specify which root device to use (either via kernel configuration or
/etc/fstab), that should allow you to put everything else on the RAID
array. This is how I currently do full-disk encryption on my laptop
using GELI. Kernel is outside, everything else is encrypted, same idea
for RAID.

I haven't ever done software RAID in FreeBSD, so can't help you with
the practical aspects of it. But I will say that technical or not, man
pages are still the best way to learn about these things. From what I
can see, RAID 5 is done through vinum, and GEOM offers RAID 3. Someone
else here may be able to tell you which one is better to use.

It's also worth noting that with software, the performance of RAID 5
is not going to be very good. I generally advise against software RAID
5. If you want good performance and reliability using software RAID,
the best bet is RAID 10, but there the utilization is 50%. I think
that if you can afford another 500GB drive and performance is
important to you, a software RAID 10 using GEOM will perform much
better. It is also easier to recover, and you can lose two drives (not
any two, but still) without completely losing all the data.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Panics in 6.1 and 6.2 always Exim 4

2007-09-21 Thread Chuck Swiger

On Sep 21, 2007, at 4:11 PM, Wil Hatfield wrote:

IP Filter: v4.1.8 initialized.  Default = block all, Logging = enabled
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding  
disabled,

default to deny, logging unlimited


Do you really need to run both IPFW and IP Filter at the same time?   
Can you nix one of 'em?



ad0: 76319MB WDC WD800BB-00CAA1 17.07W17 at ata0-master UDMA100
acd0: CDROM HL-DT-ST CD-ROM GCR-8480B/1.02 at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
g_vfs_done():md0[WRITE(offset=23527424, length=131072)]error = 28
g_vfs_done():md0[WRITE(offset=23805952, length=32768)]error = 28


errno 28 means:

#define ENOSPC  28  /* No space left on device */

...are you using a RAMDISK (md0 implies yes)?  Is Exim filling it  
up?  Are you using a malloc(9) based md, or a swap-based md?


--
-Chuck

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


Re: Kernel Panics in 6.1 and 6.2 always Exim 4

2007-09-21 Thread Kris Kennaway

Wil Hatfield wrote:

Well after a year we still haven't tracked down the kernel panic problems
that are occuring on both our 6.1 and 6.2 machines for those we have had
time to upgrade.  It occurs on 6.1-RC, 6.1-RELEASE 6.1-STABLE, 6.2, you name
it.

We are noticing that all of the dumps are during Exim 4.6x runtime. I am
suspicious of PR-97095 but would like others insights into the possibility.


Well, as that PR says, the patch was committed after 6.1-RELEASE, 
therefore it is expected that older systems will have the problem.  You 
only provided a trace from a 6.1 machine, so if you are saying that it 
still persists on an up-to-date RELENG_6 kernel, please file a new PR 
with the details.


Kris

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


migrate from postfix to qmail

2007-09-21 Thread Lotfi kecir
hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have setup
one mail server with postfix-dovecot and i would like to migrate it to Qmail
server. but i didn't know how to do it. Someone can give help me?
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: migrate from postfix to qmail

2007-09-21 Thread Eric

Lotfi kecir wrote:

hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have setup
one mail server with postfix-dovecot and i would like to migrate it to Qmail
server. but i didn't know how to do it. Someone can give help me?
Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


why would you want to do that? qmail is a massive step backwards and 
requires a stupid amount of patches to do things properly.


Read this for more:

http://home.pages.de/~mandree/qmail-bugs.html

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


Pre-geom vinum compatibility

2007-09-21 Thread clear
I have a 4.11-R box that I'm planning on reinstalling a fresh 6.2-R on.  Not an 
upgrade, but a fresh binary install after newfsing the system partitions. 

A remaining planning issue is that I have a pre-GEOM vinum data volume on other 
disks.  The handbook mentions gvinum retaining the same disk metadata.  Does 
this mean that I should be able to mount that 4.11 vinum volume after 6.2 and 
gvinum is installed on the system disk?

Anything I should watch out for?

Thanks,

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


Re: migrate from postfix to qmail

2007-09-21 Thread Dave

Hi,
   I would agree with the below. I've got a fair amount of experience and i 
tried on a test box to get qmail working, i did, but it was weird, it didn't 
conform to FreeBSD's filesystem layout, files were in unusual places, 
daemons started up nonstandard, and it felt like an email server from the 
twilight zone, it gave me a really weird feeling and i realized that i 
wasn't going to be running it in production period. I would recommend 
postfix.

Hth
Dave.
___


why would you want to do that? qmail is a massive step backwards and 
requires a stupid amount of patches to do things properly.


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


Re: migrate from postfix to qmail

2007-09-21 Thread Lotfi kecir
HI, thank's for your post.
to give answer to your answer: i rent a dedicated server (Fedora 6) witch
has qmail installed on. and in my old Server witch is in our office turn has
Postfix.
The new sever has as Admin panel Plesk.
I already create all email acounts and now i'm looking to transfert all my
user acount mailboxes.
and i don't have any idea to do it.
Thanks for your help
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: top columns VCSW and IVCSW

2007-09-21 Thread Bill Moran
Andreas Pettersson [EMAIL PROTECTED] wrote:

 I couldn't find it in the man page and Google turned up with nothing of
 value so I ask here.
 What does the top (in IO mode) columns VCSW and IVCSW mean?

Voluntary Context Switches/second
Involuntary Context Switches/second

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