The FreeBSD Diary: 2006-02-12 - 2006-03-04

2006-03-05 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

1-Mar : Mailman - a mailing list manager
 Perhaps I'll like this better than Majordomo? 
 http://freebsddiary.org/mailman.php?2

27-Feb : How I test tapes and tape drives
 This is the desciption 
 http://freebsddiary.org/tape-testing.php?2

25-Feb : Bacula - Digital DLT MiniLibrary - TL891
 Getting Bacula working with a tape library 
 http://freebsddiary.org/digital-tl891.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: Where am I? :)

2006-03-05 Thread Karol Kwiatkowski
[format recovered]

Oliver Leitner wrote:
 Karol Kwiatkowski schrieb:
 Kövesdán Gábor wrote:

 I don't use any log cleaner, I triggered this accidentally. Please read
 the whole thread if you're interested or see this:
 http://www.freebsd.org/cgi/query-pr.cgi?pr=94060

 Gabor Kovesdan

 Looks similar to this:

 http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/068201.html

 Regards,

 Karol

 
 Well, it could have different reasons then:
 
 1. your box has been hacked, and you have a somewhat crippled login or
 shell, try to replace that things with clean ones.
 
 2. maybe there is something wrong with memory mapping, eventually diag
 your ram, or build a new kernel.
 
 3. its just one of those accidently things that happen every 10 years
 once...

Very unlikely for various reasons:
- it wasn't me who reported it back then (my post was basically me too)
- this is a test machine with one user, no direct connection, no
daemons except secured ssh, rebuilding world every other day
- the machine was running 5.x back then, now 6.1-PRERELEASE and I can
reproduce this; in fact I can do that on 6.0-RELEASE, too:

[the same procedure Gabor Kovesdan wrote, only it seems 'login as fake
user' step is not needed]

% [EMAIL PROTECTED] ssh -p 722 orchid
% Password:
% Last login: Sat Mar  4 12:05:43 2006 from blackacidevil.o
% [...motd skiped...]
% [EMAIL PROTECTED] uname -sr
% FreeBSD 6.0-RELEASE-p2
% [EMAIL PROTECTED] w
% 11:31AM  up 11 days,  9:24, 1 user, load averages: 0.29, 0.21, 0.17
% USER TTY  FROM  LOGIN@  IDLE WHAT
% karolp0   blackacidevil.or 11:31AM - w
% [EMAIL PROTECTED] login
% login: karol
% Last login: Sun Mar  5 11:31:22 from blackacidevil.o
% [...motd skiped...]
% [EMAIL PROTECTED] w
% 11:32AM  up 11 days,  9:25, 1 user, load averages: 0.11, 0.17, 0.16
% USER TTY  FROM  LOGIN@  IDLE WHAT
% karolp0   -11:32AM - w
% [EMAIL PROTECTED] exit
% [EMAIL PROTECTED] w
% 11:32AM  up 11 days,  9:25, 0 users, load averages: 0.11, 0.17, 0.16
% USER TTY  FROM  LOGIN@  IDLE WHAT
% [EMAIL PROTECTED]

Here, I disappeared from 'w's output. Root can't see me too:

% [EMAIL PROTECTED] su -
% Password:
% orchid: Yes, Master? w
% 11:35AM  up 11 days,  9:28, 0 users, load averages: 0.53, 0.26, 0.19
% USER TTY  FROM  LOGIN@  IDLE WHAT

Here's what last(1) prints:

% orchid: Yes, Master? last
% karolttyp0 Sun Mar  5 11:32 - 11:32
 (00:00)
% karolttyp0192.168.1.66 Sun Mar  5 11:31 - 11:32
 (00:00)
% [...]
% orchid: Yes, Master?


It seems login(1) simply records user logged out the moment he's
logged in the second time (sorry, I'm not native English speaker ;) )

The reason I didn't send any PR back then I didn't know if it's a bug
or feature. Since there was virtually no response from list I assumed
it's not a bug (at least not a serious one) and I just made a personal
note: don't use w(1), who(1), last(1) or /var/log/wtmp.

Best regards,

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
GPGKey: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


RE: Problems with SCSI

2006-03-05 Thread Derek Ragona

David,

That jumper they reference in the manual isn't clear to my reading what 
state it needs to be in.  You may need to try both settings and see if it 
makes a difference.


As for the additional messages that is to be sure you see output from the 
hardware tests which should list the SCSI controller and any devices 
connected to the controller, along with your other devices.  These messages 
allow you to check the actual hardware setup, verify your BIOS settings.


If changing the jumper, or pulling out any PCI cards in the slots mentioned 
in the manual with that jumper, you have me stumped.


I'd suggest it may be time to contact the manufacturer or vendor and ask 
them if there is some secret to getting the SCSI working, or if they have a 
diagnostic utility to test the SCSI.  You may just have a bad board.


-Derek

At 10:07 PM 3/4/2006, David LeCount wrote:

 This comes with OPTIONAL SCSI interface, u sure you
got the
 board with the SCSI option ?

Well it has two SCSI ports on the motherboard, has an
option to enable/disable it in the CMOS, and was
advertised as having a SCSI Ultra 360 controller. If
it doesn't, I want my money back.

http://www.newegg.com/product/product.asp?item=N82E16813151149

 How do you have the CD drive cabled?  That
 motherboard has 68-pin SCSI
 connectors, and SCSI CD's mostly have 50-pin
 connectors, there are a few
 with 68-pin connectors, but it isn't common.

It's not a CD drive, it's a hard drive. It is indeed a
68-pin. It's as simple as plugging it in.

 Do you have the CD terminated, and the SCSI on the
 motherboard's
 termination set correctly?

There is a terminator at the end of the cable. If
you're asking about something else, then I don't
understand what you mean.

 You need to check a jumper on your motherboard, the
 jumper is:
 J92
 This jumper effects the onboard SCSI.

 This is in the manual on page 13

It is open, which is the default.

 Enable the boot-time diagnostic screen, enable the
 summary screen as well,
 and check the boot device priority.  If you have
 SCSI enabled correctly
 this will be a choice to boot from it.

 These are on page 54

I've done all that. The summary screen doesn't show
any SCSI drives, although I don't think it showed my
SATA drive either but it's definitely working. I
couldn't tell what the diagnostic screen setting did
but I enabled it. The boot priority list is actually
an oddity It does list PCI SCSI but beside it it
lists my SATA drive, not the SCSI drive. I am certain
of this because it lists it as a Western Digital drive
but my SCSI drive is a Hitachi. I am really confused
why it lists the SATA drive under SCSI. When I disable
SATA, it doesn't list a drive beside SCSI, although
the option is still there in the boot priority list.
I'm not sure what the deal with that is.

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

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


Re: KDE problem?

2006-03-05 Thread Robert Slade
On Sat, 2006-03-04 at 18:25, Marko Bukovinsky wrote:
 I have installed freeBSD r 4.7 and i have graphic cart integrated Intel 82815 
 Graphic Controler(Microsoft Corporation).I can not start X window. Is there 
 any way to right configure xf86config file for this graphic cart?

Marko,

4.7 is very old now, you should try a later version either 5.4 or 6.0.

What is the exact error your are getting?

Rob

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


Re: Where am I? :)

2006-03-05 Thread Oliver Leitner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

*If* this is a genuine bug in the 7.0 branch of fbsd, it would sound
like a major problem to me...

Have you tried to reach the developers, to tell them about the problem?

Giorgos Keramidas schrieb:
 On 2006-03-04 23:41, Oliver Leitner [EMAIL PROTECTED] wrote:
 
Well, it could have different reasons then:

1. your box has been hacked, and you have a somewhat crippled login or
shell, try to replace that things with clean ones.

2. maybe there is something wrong with memory mapping, eventually diag
your ram, or build a new kernel.

3. its just one of those accidently things that happen every 10 years
once...
 
 
 No it's a genuine bug.  I can reproduce it here too, on FreeBSD
 7.0-CURRENT, using the instructions of Gabor Kovesdan, as you can
 see here:
 
 % [EMAIL PROTECTED]:/home/keramida$ w
 %  3:07AM  up 1 day,  3:12, 3 users, load averages: 0.12, 0.09, 0.03
 % USER TTY  FROM  LOGIN@  IDLE WHAT
 % keramida v2   - 3:07AM - w
 % [EMAIL PROTECTED]:/home/keramida$ tty
 % /dev/ttyv2
 
 Here you can see that I'm logged in on ttyv2 (third virtual console).
 
 % [EMAIL PROTECTED]:/home/keramida$ login some_fake_user
 % Password:
 % Login incorrect
 % login: keramida
 % Last login: Sun Mar  5 03:07:27 on ttyv2
 % Copyright (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 7.0-CURRENT (FLAME) #0: Fri Mar  3 20:13:02 EET 2006
 % [EMAIL PROTECTED]:/home/keramida$ w
 %  3:07AM  up 1 day,  3:13, 3 users, load averages: 0.08, 0.09, 0.03
 % USER TTY  FROM  LOGIN@  IDLE WHAT
 % keramida v2   - 3:07AM - w
 % [EMAIL PROTECTED]:/home/keramida$
 
 Now I'm logged in again on the same terminal, but in a nested login.
 
 % [EMAIL PROTECTED]:/home/keramida$ exit
 % logout
 % [EMAIL PROTECTED]:/home/keramida$ w
 %  3:07AM  up 1 day,  3:13, 2 users, load averages: 0.08, 0.09, 0.03
 % USER TTY  FROM  LOGIN@  IDLE WHAT
 % [EMAIL PROTECTED]:/home/keramida$
 
 Done.  I'm gone, and my login record has been wiped from wtmp.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFECt8CWvEVE8MtwbgRAkywAKCVxsVNPQeuNovGKXmSfaUS4QG4SQCeJM9D
jiBcPTf4w3Gl5V02jNjTXGI=
=mQZX
-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: Where am I? :)

2006-03-05 Thread Oliver Leitner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Karol Kwiatkowski schrieb:
 [format recovered]
 
 Oliver Leitner wrote:
 
Karol Kwiatkowski schrieb:

Kövesdán Gábor wrote:


I don't use any log cleaner, I triggered this accidentally. Please read
the whole thread if you're interested or see this:
http://www.freebsd.org/cgi/query-pr.cgi?pr=94060

Gabor Kovesdan

Looks similar to this:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/068201.html

Regards,

Karol


Well, it could have different reasons then:

1. your box has been hacked, and you have a somewhat crippled login or
shell, try to replace that things with clean ones.

2. maybe there is something wrong with memory mapping, eventually diag
your ram, or build a new kernel.

3. its just one of those accidently things that happen every 10 years
once...
 
 
 Very unlikely for various reasons:
 - it wasn't me who reported it back then (my post was basically me too)
 - this is a test machine with one user, no direct connection, no
 daemons except secured ssh, rebuilding world every other day
 - the machine was running 5.x back then, now 6.1-PRERELEASE and I can
 reproduce this; in fact I can do that on 6.0-RELEASE, too:
 
 [the same procedure Gabor Kovesdan wrote, only it seems 'login as fake
 user' step is not needed]
 
 % [EMAIL PROTECTED] ssh -p 722 orchid
 % Password:
 % Last login: Sat Mar  4 12:05:43 2006 from blackacidevil.o
 % [...motd skiped...]
 % [EMAIL PROTECTED] uname -sr
 % FreeBSD 6.0-RELEASE-p2
 % [EMAIL PROTECTED] w
 % 11:31AM  up 11 days,  9:24, 1 user, load averages: 0.29, 0.21, 0.17
 % USER TTY  FROM  LOGIN@  IDLE WHAT
 % karolp0   blackacidevil.or 11:31AM - w
 % [EMAIL PROTECTED] login
 % login: karol
 % Last login: Sun Mar  5 11:31:22 from blackacidevil.o
 % [...motd skiped...]
 % [EMAIL PROTECTED] w
 % 11:32AM  up 11 days,  9:25, 1 user, load averages: 0.11, 0.17, 0.16
 % USER TTY  FROM  LOGIN@  IDLE WHAT
 % karolp0   -11:32AM - w
 % [EMAIL PROTECTED] exit
 % [EMAIL PROTECTED] w
 % 11:32AM  up 11 days,  9:25, 0 users, load averages: 0.11, 0.17, 0.16
 % USER TTY  FROM  LOGIN@  IDLE WHAT
 % [EMAIL PROTECTED]
 
 Here, I disappeared from 'w's output. Root can't see me too:
 
 % [EMAIL PROTECTED] su -
 % Password:
 % orchid: Yes, Master? w
 % 11:35AM  up 11 days,  9:28, 0 users, load averages: 0.53, 0.26, 0.19
 % USER TTY  FROM  LOGIN@  IDLE WHAT
 
 Here's what last(1) prints:
 
 % orchid: Yes, Master? last
 % karolttyp0 Sun Mar  5 11:32 - 11:32
  (00:00)
 % karolttyp0192.168.1.66 Sun Mar  5 11:31 - 11:32
  (00:00)
 % [...]
 % orchid: Yes, Master?
 
 
 It seems login(1) simply records user logged out the moment he's
 logged in the second time (sorry, I'm not native English speaker ;) )
 
 The reason I didn't send any PR back then I didn't know if it's a bug
 or feature. Since there was virtually no response from list I assumed
 it's not a bug (at least not a serious one) and I just made a personal
 note: don't use w(1), who(1), last(1) or /var/log/wtmp.
 
 Best regards,
 
 Karol
 

He is still logged in, so id suggest that this is a bug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFECuAAWvEVE8MtwbgRAuLEAJ4sQfNx8p/JaugF4YyiRPgui6WmJACeMz5a
Ta8ciquZ8Vf8UTZzWTr1llk=
=P5ny
-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: Where am I? :)

2006-03-05 Thread Kövesdán Gábor

Oliver Leitner wrote:


*If* this is a genuine bug in the 7.0 branch of fbsd, it would sound
like a major problem to me...

Have you tried to reach the developers, to tell them about the problem?

 

I've sent a PR, but I gave you the link to that PR in one of my previous 
replies.


Gabor Kovesdan

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


Help with lost MBR on USB HDD

2006-03-05 Thread Jarrod O'Flaherty

Hi All,

I have a dual boot system going with WinXP and FreeBSD on my laptop.
Just before I installed FreeBSD I bought a USB HDD to plug in so I could
transfer some files off my laptop's internal HDD and make space for it. 

Alas, even with doing that I could only get a measly 7 GB free, which I
used up pretty quickly building the JRE for OpenOffice. When I got my
USB HDD I split it into 4 x 60GB slices (partitions), changing one of
them from the default NTFS to FAT32, so I could share it with FreeBSD.

While the sharing was ok, unfortunately FAT32 doesn't support symlinks
and this led to errors when I tried to use that slice for building stuff
in ports.

I decided I needed a native UFS2 slice instead of a FAT32 one and set to
work. 

Firstly, I have Acronis PartitionExpert Personal and according to
that, all the slices apparently existed (past tense!) in a single
logical partition. I used the program to change my *THIRD* slice
(between 120GB and 180GB) from existing in the logical partition to
being a physical partition in its own right. Was this a bad move, not
being at the end of the disk? Acronis never complained and it all seemed
to work ok.

I then proceeded to try to change its type from 7 (NTFS) to 165
(FreeBSD). Acronis said it needed to reboot to do this, you know that
odd, special WinXP (safe?) mode? When it did so though it said my drive
was not present. Was this because the USB drivers aren't loaded in that
odd WinXP pseudo-DOS blocky character mode? Or was this because I had
my USB drive on auto power-off and it took too long to windup? 

Anyway, whichever it may be, PartitionExpert said that it couldn't find
the drive so it couldn't change the type.

I then thought well surely if I can't do it under XP then I can do this
under FreeBSD. I looked at the MBR under fdisk and it had 2 entries, one
for the logical partition and one for the new physical partition I had
setup with PartExp.

I must admit I was more comfortable with the fdisk in sysinstall, since
I had used that when installing FreeBSD, so I changed to that one. The
display seemed a little odd because it had about 8 entries, my four 60
GB slices, plus four other very small slices between each 60GB slice. A
couple were 63 in size, but the one just above the partition I wanted
to change (da0s2) was 7 in size. I wrote down the lines around the
partition I wanted to change, but didn't write the whole table out as it
was rather long winded. Aerrr, bummer!

Anyway, I changed the Type from 7 to 165. And that's ALL I did. I then
Wrote the table out and exited. I went into the labelling tool (also in
sysinstall) and set the slice as one big FreeBSD partition. The
labelling tool automatically newfs'ed it for me, and things were good to
go. 

Next I exited sysinstall and mounted my partition under FreeBSD.
Everything was great.

Past tense.

When I next booted into WinXP a few minutes later, all my NTFS drives
were gone. A quick look under Acronis told me only my FreeBSD slice
remained. 

Ummm, so what had gone wrong? Any ideas? 

I went back into FreeBSD and had a look at the MBR under fdisk (the
command line version this time) and now there was no entry 1, just an
entry 2, pointing to the FreeBSD slice. So I had lost my 3 other slices,
from 0 - 60 GB (NTFS), 60 - 120 GB (NTFS), and 180 GB - end_of_disk
(FAT32).

Can anyone please tell me what happened when I ran sysinstall's fdisk?
Can anyone also perhaps tell me where the slice (partition) info is kept
for a logical partition? Since the MBR only had 1 entry for the other 3
partitions their info is obviously not stored there. Where and how is it
stored? 

And last but not least, I really hope someone can tell me how I can
salvage my MBR  other 3 partitions. If that is not possible, then
perhaps you can point me in the direction of a tool which will salvage
the files on the lost slices? There's not heaps of data there, only
around 20 GB or so across all three. But if I can, I'd really like to
get it back. I'm hoping NTFS is robust enough to allow salvaging like
this?

Any and all help GREATLY appreciated!!

Thankyou,
Jarrod.



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


Re: Haven't been able to make world in about a year

2006-03-05 Thread Kristian Vaaf

At 16:36 03.03.2006, Giorgos Keramidas wrote:

On 2006-03-03 15:08, Kristian Vaaf [EMAIL PROTECTED] wrote:

 Sorry sorry sorry, I am so very sorry.
 http://www.home.no/hedhnta/result.txt is indeed online now.

This doesn't look right.  Are you sure your source tree is clean and up
to date?  As Donald has posted latter:

On 2006-03-03 09:09, Donald J. O'Neill [EMAIL PROTECTED] wrote:
 Alright Kristian, why don't you post your supfile, make.conf,
 rc.conf, output of uname -a, a description of what equipment
 your doing this with, what you're trying to accomplish and why,
 what you're doing to make this come about, what you expected to
 happen, what did happen. How you're taking all the advice
 you've been given and bending it to suit yourself - which, I
 have to tell you, IS NOT WORKING, or you would be singing a
 different tune.

Please post all the details Donald has requested.


Sure thing!

# cat /etc/cvsupfile

*default host=cvsup.no.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix

src-all
ports-all tag=.
doc-all tag=.

# uname -a

FreeBSD arba.domain.com 5.4-STABLE FreeBSD 5.4-STABLE #4:
Wed Sep 21 01:34:15 CEST 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARBA i386


These apply to both the box that fails into result.txt (Intel Pentium 120MHz)
and result_2.txt (Intel Pentium 4 3,2GHz).

I am trying to upgrade these boxes. I expect things to work :)

This is how I do it:

cvsup -g -L 2 /etc/cvsupfile
cd /usr/obj  chflags -R noschg *  rm -rf *
cd /usr/src  make clean
make buildworld
make buildkernel KERNCONF=ARBA
make installkernel KERNCONF=ARBA
make installworld
mergemaster

Hope that helps!

All the best,
Vaaf

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


Re: Upgrade 5.4 to 6.0

2006-03-05 Thread Jack Stone

From: Tofik Suleymanov [EMAIL PROTECTED]
To: hal [EMAIL PROTECTED]
CC: freebsd-questions@FreeBSD.ORG
Subject: Re: Upgrade 5.4 to 6.0
Date: Sat, 04 Mar 2006 18:13:27 +

hal wrote:

Is there any reason why I should not upgrade a 5.4
system to 6.0 as opposed to doing a clean install?

hal


Ineed, it goes very smoothly as I have upgraded several production servers. 
There will be a lot of mergmastering to do.


Jack

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


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


Re: portupgrade vs. portmanager ...

2006-03-05 Thread Peter

--- James Long [EMAIL PROTECTED] wrote:

  Date: Sat, 4 Mar 2006 19:34:57 -0800
  From: Kent Stewart [EMAIL PROTECTED]
  Subject: Re: portupgrade vs. portmanager ...
  To: freebsd-questions@freebsd.org
  Cc: Peter [EMAIL PROTECTED], Kiffin Gish
 [EMAIL PROTECTED]
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain;  charset=iso-8859-1
  
  On Saturday 04 March 2006 19:20, Peter wrote:
   --- Kiffin Gish [EMAIL PROTECTED] wrote:
I would like to know the difference between
 running:
   
portupgrade -arR
   
and
   
portmanager -u
   
Just curious is all, thanks.
  
   I have found portmanager to be more intelligent.
  When
   you run it it takes a look at all installed
 ports and
   then it decides what order to upgrade the ports
 and
   their dependencies.  Portupgrade proceeds
 linearly and
   you may need to run it a few more times for
 everything
   to be upgraded.  At least that's how I
 understand it.
  
   
  But the -rR tells it to look at all of the
 dependancies and build them 
  if they need to be. In addition, if something
 depends on it, it will 
  also build them. 
  
  I don't see any differance.
 
 Further, the assertion by [EMAIL PROTECTED] that
 portupgrade 
 requires multiple passes is just plain false.  I
 upgrade over 230 
 ports on my laptop with one command.

may == requires ?

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


Automating a FreeBSD 6.0 boot menu selection

2006-03-05 Thread Paul Hamilton
Hi all,
 
I have a HP DL-140 G2 server, that will only boot when I select FreeBSD Safe
mode, option 3 on the boot loader menu.
 
I have read through 'man loader' and 'man loader.conf'  I have also had a
read through the /boot/defaults/loader.conf file, but don't really see an
option for this.
 
Is there a way to auto select a menu option upon boot up?
 
I am running FreeBSD 6.1-PRERELEASE, and have tried 6.0 RELEASE as well.
 
Obviously it would be nice to have it start up normally, but there seems to
be a problem reading the SATA drive in normal boot mode.
 
 
Regards,
 
Paul Hamilton
Busselton, 6280
Australia
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Haven't been able to make world in about a year

2006-03-05 Thread Donald J. O'Neill
On Sunday 05 March 2006 07:38, Kristian Vaaf wrote:
 At 16:36 03.03.2006, Giorgos Keramidas wrote:
 On 2006-03-03 15:08, Kristian Vaaf [EMAIL PROTECTED] wrote:
   Sorry sorry sorry, I am so very sorry.
   http://www.home.no/hedhnta/result.txt is indeed online now.
 
 This doesn't look right.  Are you sure your source tree is clean and
  up to date?  As Donald has posted latter:
 
 On 2006-03-03 09:09, Donald J. O'Neill [EMAIL PROTECTED] 
wrote:
   Alright Kristian, why don't you post your supfile, make.conf,
   rc.conf, output of uname -a, a description of what equipment
   your doing this with, what you're trying to accomplish and why,
   what you're doing to make this come about, what you expected to
   happen, what did happen. How you're taking all the advice
   you've been given and bending it to suit yourself - which, I
   have to tell you, IS NOT WORKING, or you would be singing a
   different tune.
 
 Please post all the details Donald has requested.

 Sure thing!

 # cat /etc/cvsupfile

 *default host=cvsup.no.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=RELENG_6
 *default delete use-rel-suffix

 src-all
 ports-all tag=.
 doc-all tag=.

 # uname -a

 FreeBSD arba.domain.com 5.4-STABLE FreeBSD 5.4-STABLE #4:
 Wed Sep 21 01:34:15 CEST 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARBA i386

 These apply to both the box that fails into result.txt (Intel Pentium
 120MHz) and result_2.txt (Intel Pentium 4 3,2GHz).

 I am trying to upgrade these boxes. I expect things to work :)

 This is how I do it:

 cvsup -g -L 2 /etc/cvsupfile
 cd /usr/obj  chflags -R noschg *  rm -rf *
 cd /usr/src  make clean
 make buildworld
 make buildkernel KERNCONF=ARBA
 make installkernel KERNCONF=ARBA
 make installworld
 mergemaster

 Hope that helps!

 All the best,
 Vaaf

 ___

Yes, it does.

If this is the way you do it, after all the advice you've been given, it 
tells me that you aren't much on following advice that you have sought. 
Keep on doing it your way and continue to fail. If that's not what you 
have in mind, go back and reread the advice already given by myself, 
and others. We are successful, you are not. That's why we're giving 
advice and you're asking. You could be successful.

You still only gave part of what was asked for.

Sorry if this upsets you, but that's the way it is. I, for one, can't 
help you if you refuse to accept advice already given.

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


Re: Haven't been able to make world in about a year

2006-03-05 Thread Björn König

Hello Kristian,

the thread becomes larger and more complex for me. I'd like to see an 
updated output of the build on your Pentium 120 machine with the 
following prerequisites:


  * /etc/make.conf is empty (except comments and two lines for perl)
  * verify that grep '# $FreeBSD:' /usr/share/mk/sys.mk shows 1.80.2.1
  * rm -Rf /usr/src  rm -Rf /usr/obj  cvsup /etc/cvsupfile

If you diverge from one of these points (even in a minor detail) then 
tell me please.


Now run

  cd /usr/src  make _build-tools

and show me the output please.

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


Re: Haven't been able to make world in about a year

2006-03-05 Thread Giorgos Keramidas
On 2006-03-05 14:38, Kristian Vaaf [EMAIL PROTECTED] wrote:
 At 16:36 03.03.2006, Giorgos Keramidas wrote:
 On 2006-03-03 15:08, Kristian Vaaf [EMAIL PROTECTED] wrote:
 
  Sorry sorry sorry, I am so very sorry.
  http://www.home.no/hedhnta/result.txt is indeed online now.
 
 This doesn't look right.  Are you sure your source tree is clean and up
 to date?  As Donald has posted latter:
 
 On 2006-03-03 09:09, Donald J. O'Neill [EMAIL PROTECTED] wrote:
  Alright Kristian, why don't you post your supfile, make.conf,
  rc.conf, output of uname -a, a description of what equipment
  your doing this with, what you're trying to accomplish and why,
  what you're doing to make this come about, what you expected to
  happen, what did happen. How you're taking all the advice
  you've been given and bending it to suit yourself - which, I
  have to tell you, IS NOT WORKING, or you would be singing a
  different tune.
 
 Please post all the details Donald has requested.

 Sure thing!

 # cat /etc/cvsupfile

 *default host=cvsup.no.FreeBSD.org
 *default base=/usr
 *default prefix=/usr
 *default release=cvs tag=RELENG_6
 *default delete use-rel-suffix

 src-all
 ports-all tag=.
 doc-all tag=.

 # uname -a

 FreeBSD arba.domain.com 5.4-STABLE FreeBSD 5.4-STABLE #4:
 Wed Sep 21 01:34:15 CEST 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ARBA i386

 These apply to both the box that fails into result.txt (Intel Pentium
 120MHz)
 and result_2.txt (Intel Pentium 4 3,2GHz).

 I am trying to upgrade these boxes. I expect things to work :)

 This is how I do it:

 cvsup -g -L 2 /etc/cvsupfile
 cd /usr/obj  chflags -R noschg *  rm -rf *
 cd /usr/src  make clean
 make buildworld
 make buildkernel KERNCONF=ARBA
 make installkernel KERNCONF=ARBA
 make installworld
 mergemaster

 Hope that helps!

It doesn't, sorry.  Donald has requested for:

- your supfile
- your make.conf file
- your rc.conf file
- the output of uname -a
- a description of what equipment you are doing this with
- what you're trying to accomplish and why
- what you're doing to make this come about
- what you expected to happen
- what did happen

You only gave:

- your supfile
- uname -a output
- a set of wrong, incomplete commands that don't match what others
  have suggested so far

There's still a fair amount of information missing from this, so it's
not easy for anyone to help you.  Unless, of course, you don't really
want to be helped :-/

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


ENOUGH ALREADY!! [WAS: Re: Where am I? :)]

2006-03-05 Thread wc_fbsd

WHY!!!  Do we have to keep seeing a dozen messages a day about this?!

You found a bug.  Congrats.  Thanks.  Report it and quit beating the 
dead horse.


  -Wayne

At 05:59 AM 3/5/2006, you wrote:
The reason I didn't send any PR back then I didn't know if it's a 
bug or feature. Since there was virtually no response from list I 
assumed it's not a bug (at least not a serious one) and I just made a personal

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


Re: ENOUGH ALREADY!! [WAS: Re: Where am I? :)]

2006-03-05 Thread David Stanford
Not entirely sure why you're upset about receiving too much mail on a
mailing list, but I would have thought the Haven't been able to make world
in about a year message from 2/21 that has continuously been diagnosed for
the past few weeks would have certainly gotten to you before this one did
from 3/3.

Just kidding, though. :)

-David

On 3/5/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 WHY!!!  Do we have to keep seeing a dozen messages a day about this?!

 You found a bug.  Congrats.  Thanks.  Report it and quit beating the
 dead horse.

-Wayne

 At 05:59 AM 3/5/2006, you wrote:
 The reason I didn't send any PR back then I didn't know if it's a
 bug or feature. Since there was virtually no response from list I
 assumed it's not a bug (at least not a serious one) and I just made a
 personal
 ___
 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: ENOUGH ALREADY!! [WAS: Re: Where am I? :)]

2006-03-05 Thread Kövesdán Gábor

[EMAIL PROTECTED] wrote:


WHY!!!  Do we have to keep seeing a dozen messages a day about this?!

You found a bug.  Congrats.  Thanks.  Report it and quit beating the 
dead horse.


  -Wayne

This was a discussion if it is a bug or not. Neither Karol Kwiatkowski 
nor me was vaunting ourselves that we found it, we wanted just 
investigate if it's actually a bug or the assumed behavior. It's a 
public list, there are a lot of topics discussed here. Maybe you find 
some of them irrelevant, as I do, but you have agreed to receive them 
when you subscribed to the list.


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


Re: ENOUGH ALREADY!! [WAS: Re: Where am I? :)]

2006-03-05 Thread Giorgos Keramidas
On 2006-03-05 16:21, K?vesd?n G?bor [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
 WHY!!!  Do we have to keep seeing a dozen messages a day about this?!
 
 You found a bug.  Congrats.  Thanks.  Report it and quit beating the
 dead horse.

Wayne, you are over-reacting.

 This was a discussion if it is a bug or not.

Yes, and that's all.  I provided with some feedback about reproducing
this behavior in a recent CURRENT build.  Some messages may have been
duplicated, but on a mailing list with the huge traffic of
freebsd-questions this is, I guess, expected...

Please, everyone, let us move on to more productive discussions now :)

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


Re: Terminal Not Providing login: Prompt

2006-03-05 Thread Jason C. Wells

Glenn Dawson wrote:

At 06:17 PM 3/4/2006, Jason C. Wells wrote:

Glenn Dawson wrote:

What sort of cable are you using?  Does it have all the control lines 
connected? or just tx/rx data?


(forgive me if this sounds like nitpicking)


Not at all.  I haven't been able to get it working and my collection of 
nits to pick has run out.


Connectors or adapters?  What about the cable itself?  Or, does the info 
below cover everything that's linking the two serial ports?


There are no adapters.  This map represents everything that linking the 
two ports.



1,6-4
2-3
3-2
4-1,6
5-5
7-8
8-7
9-null


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


BSD+KDE replacement for SecureCRT

2006-03-05 Thread Steel City Phantom
migrating from windows to bsd, does anyone know of a replacement for 
SecureCRT.  i have been using KSSH but the only problem i have with it 
is the fact it doesn't remember passwords.  im going to try to get key 
pair logins to work when i put a particular fire out but for the time 
being, does anyone know of anything like that?


thanks

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


setting the root email address

2006-03-05 Thread Steel City Phantom
one of my servers was set up by some guys in china.  i have gotten 
everything figured out save one, somehow they got cron job results to 
email to my business account.  i can't for the life of me figure out how 
they did that.  where in bsd do i set another email address for root?

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


Re: setting the root email address

2006-03-05 Thread Jason C. Wells

Steel City Phantom wrote:
one of my servers was set up by some guys in china.  i have gotten 
everything figured out save one, somehow they got cron job results to 
email to my business account.  i can't for the life of me figure out how 
they did that.  where in bsd do i set another email address for root?


Look in /etc/mail/aliases.  This setting isn't BSD per se.  It's 
sendmail that reads the aliases database.


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


Re: setting the root email address

2006-03-05 Thread Kövesdán Gábor

Steel City Phantom wrote:

one of my servers was set up by some guys in china.  i have gotten 
everything figured out save one, somehow they got cron job results to 
email to my business account.  i can't for the life of me figure out 
how they did that.  where in bsd do i set another email address for root?


See /etc/aliases, you must find something like this:

root:   yourmail

If you want to change that, you should run newaliases after modifying that.

Regards,

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


Re: BSD+KDE replacement for SecureCRT

2006-03-05 Thread Micah

Steel City Phantom wrote:
migrating from windows to bsd, does anyone know of a replacement for 
SecureCRT.  i have been using KSSH but the only problem i have with it 
is the fact it doesn't remember passwords.  im going to try to get key 
pair logins to work when i put a particular fire out but for the time 
being, does anyone know of anything like that?


thanks


Have you looked at 
http://www.freebsd.org/cgi/ports.cgi?query=sshstype=all yet? (It lists 
all the ssh related ports).  Maybe something there does what you want.


Personally I use Konsole and the system ssh - no extra software needed. 
 I use public/private key pairs for systems I don't want to enter 
passwords on and use ~/.ssh/config to create sessions - that is to 
associate an alias to a particular host and user name.


Note: KDE already has a lot of built-in support for SSH/SFTP.  For 
example, typing sftp://[EMAIL PROTECTED] or fish://[EMAIL PROTECTED] in a Konqueror 
location bar will allow you to work with the remote system's files in 
Konqueror.  Most any KDE application (kate being the one I use most) can 
directly edit files on the remote system in this fashion.


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


Re: setting the root email address

2006-03-05 Thread Matthew Seaman
Kövesdán Gábor wrote:
 Steel City Phantom wrote:
 
 one of my servers was set up by some guys in china.  i have gotten
 everything figured out save one, somehow they got cron job results to
 email to my business account.  i can't for the life of me figure out
 how they did that.  where in bsd do i set another email address for root?
 
 See /etc/aliases, you must find something like this:
 
 root:   yourmail
 
 If you want to change that, you should run newaliases after modifying that.

And if it's not set in /etc/mail/aliases, try checking for a /root/.forward 
file.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


BSD+KDE replacement for SecureCRT

2006-03-05 Thread Robert Huff

Steel City Phantom writes:

  migrating from windows to bsd, does anyone know of a replacement for 
  SecureCRT.  i have been using KSSH but the only problem i have with it 
  is the fact it doesn't remember passwords.  im going to try to get key 
  pair logins to work when i put a particular fire out but for the time 
  being, does anyone know of anything like that?

I'm not familiar with SecureCRT, but I get good results from
(system base) SSH combined with security/OpenSSH-askpass.


Robert Huff

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


Re: Terminal Not Providing login: Prompt

2006-03-05 Thread Ceri Davies
On 4/3/06 23:37, Jason C. Wells [EMAIL PROTECTED] wrote:

 Glenn Dawson wrote:
 At 03:04 PM 3/4/2006, Jason C. Wells wrote:
 When I use 'tip' I seem to bee connected, but I get no login prompt.
 
 $ tip sio0
 connected
 
 and nothing else.
 
 Did you enable ttyd0 in /etc/ttys?
 
 Yes.

Did you reboot or HUP init since?

Ceri
-- 
That must be wonderful!  I don't understand it at all.
  -- Moliere



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


lighttpd does 26 req/s on a static file

2006-03-05 Thread Pat Maddox
I'm getting 26 req/s on a static file.  Not sure why it's so slow, I
could really use some help.  Running lighty 1.4.10 on FreeBSD 6.0.
Server is a basically unused AMD Barton 3000+ with a gig of RAM, hosted
at a data center.

-bash-2.05b$ ab -c 9 -n 500 http://72.21.52.134/hello.html

Benchmarking 72.21.52.134 (be patient)
...
Finished 500 requests


Server Software:lighttpd
Server Hostname:72.21.52.134
Server Port:80

Document Path:  /hello.html
Document Length:13 bytes

Concurrency Level:  9
Time taken for tests:   19.78523 seconds
Complete requests:  500
Failed requests:0
Write errors:   0
Total transferred:  119500 bytes
HTML transferred:   6500 bytes
Requests per second:26.21 [#/sec] (mean)
Time per request:   343.413 [ms] (mean)
Time per request:   38.157 [ms] (mean, across all concurrent
requests)
Transfer rate:  6.08 [Kbytes/sec] received



Here's the lighty config:

server.modules  = (
   mod_access,
   mod_accesslog )
server.document-root   = /usr/local/www/data
server.port= 80
server.username= www
server.groupname   = clients
server.pid-file= /var/run/lighttpd.pid
server.tag = lighttpd
accesslog.filename = /var/log/lighttpd.access.log
server.errorlog= /var/log/lighttpd.error.log
server.indexfiles  = ( index.php, index.html,
  index.htm, default.htm )
url.access-deny= ( ~, .inc )

mimetype.assign = (
 .html =  text/html,
 .htm  =  text/html,
)

weigon_ on #lighttpd had me run ktrace, and here's the part he found relevant
22.577040 CALL  accept(0x4,0xbfbfea40,0xbfbfea3c)
22.577583 CALL  close(0x8)
75740 lighttpd 22.577632 CALL  poll(0x806ec00,0x2,0x3e8)
75740 lighttpd 22.614031 RET   poll 1

So it's .5ms to handle a request, but 40ms waiting for the next
request.  I'm not entirely sure what any of this means.

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


Re: Help with lost MBR on USB HDD

2006-03-05 Thread Gerard Seibert
Jarrod O'Flaherty wrote:

 Hi All,
 
 I have a dual boot system going with WinXP and FreeBSD on my laptop.
 Just before I installed FreeBSD I bought a USB HDD to plug in so I could
 transfer some files off my laptop's internal HDD and make space for it. 
 
 Alas, even with doing that I could only get a measly 7 GB free, which I
 used up pretty quickly building the JRE for OpenOffice. When I got my
 USB HDD I split it into 4 x 60GB slices (partitions), changing one of
 them from the default NTFS to FAT32, so I could share it with FreeBSD.
 
 While the sharing was ok, unfortunately FAT32 doesn't support symlinks
 and this led to errors when I tried to use that slice for building stuff
 in ports.
 
 I decided I needed a native UFS2 slice instead of a FAT32 one and set to
 work. 
 
 Firstly, I have Acronis PartitionExpert Personal and according to
 that, all the slices apparently existed (past tense!) in a single
 logical partition. I used the program to change my *THIRD* slice
 (between 120GB and 180GB) from existing in the logical partition to
 being a physical partition in its own right. Was this a bad move, not
 being at the end of the disk? Acronis never complained and it all seemed
 to work ok.
 
 I then proceeded to try to change its type from 7 (NTFS) to 165
 (FreeBSD). Acronis said it needed to reboot to do this, you know that
 odd, special WinXP (safe?) mode? When it did so though it said my drive
 was not present. Was this because the USB drivers aren't loaded in that
 odd WinXP pseudo-DOS blocky character mode? Or was this because I had
 my USB drive on auto power-off and it took too long to windup? 
 
 Anyway, whichever it may be, PartitionExpert said that it couldn't find
 the drive so it couldn't change the type.
 
 I then thought well surely if I can't do it under XP then I can do this
 under FreeBSD. I looked at the MBR under fdisk and it had 2 entries, one
 for the logical partition and one for the new physical partition I had
 setup with PartExp.
 
 I must admit I was more comfortable with the fdisk in sysinstall, since
 I had used that when installing FreeBSD, so I changed to that one. The
 display seemed a little odd because it had about 8 entries, my four 60
 GB slices, plus four other very small slices between each 60GB slice. A
 couple were 63 in size, but the one just above the partition I wanted
 to change (da0s2) was 7 in size. I wrote down the lines around the
 partition I wanted to change, but didn't write the whole table out as it
 was rather long winded. Aerrr, bummer!
 
 Anyway, I changed the Type from 7 to 165. And that's ALL I did. I then
 Wrote the table out and exited. I went into the labelling tool (also in
 sysinstall) and set the slice as one big FreeBSD partition. The
 labelling tool automatically newfs'ed it for me, and things were good to
 go. 
 
 Next I exited sysinstall and mounted my partition under FreeBSD.
 Everything was great.
 
 Past tense.
 
 When I next booted into WinXP a few minutes later, all my NTFS drives
 were gone. A quick look under Acronis told me only my FreeBSD slice
 remained. 
 
 Ummm, so what had gone wrong? Any ideas? 
 
 I went back into FreeBSD and had a look at the MBR under fdisk (the
 command line version this time) and now there was no entry 1, just an
 entry 2, pointing to the FreeBSD slice. So I had lost my 3 other slices,
 from 0 - 60 GB (NTFS), 60 - 120 GB (NTFS), and 180 GB - end_of_disk
 (FAT32).
 
 Can anyone please tell me what happened when I ran sysinstall's fdisk?
 Can anyone also perhaps tell me where the slice (partition) info is kept
 for a logical partition? Since the MBR only had 1 entry for the other 3
 partitions their info is obviously not stored there. Where and how is it
 stored? 
 
 And last but not least, I really hope someone can tell me how I can
 salvage my MBR  other 3 partitions. If that is not possible, then
 perhaps you can point me in the direction of a tool which will salvage
 the files on the lost slices? There's not heaps of data there, only
 around 20 GB or so across all three. But if I can, I'd really like to
 get it back. I'm hoping NTFS is robust enough to allow salvaging like
 this?
 
 Any and all help GREATLY appreciated!!
 
 Thankyou,
 Jarrod.

I know you do not want to hear this, but why on earth did you attempt to
mess with the HD without a full backup in place first?

I am not sure if you can recover the lost data. If not, this would be a
good time to wipe the disk clean and partition it to your liking. I
believe that you will have to install Windows before installing FreeBSD.

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


Re: portupgrade vs. portmanager ...

2006-03-05 Thread Gerard Seibert
Peter wrote:

 --- James Long [EMAIL PROTECTED] wrote:
 
   Date: Sat, 4 Mar 2006 19:34:57 -0800
   From: Kent Stewart [EMAIL PROTECTED]
   Subject: Re: portupgrade vs. portmanager ...
   To: freebsd-questions@freebsd.org
   Cc: Peter [EMAIL PROTECTED], Kiffin Gish
  [EMAIL PROTECTED]
   Message-ID: [EMAIL PROTECTED]
   Content-Type: text/plain;  charset=iso-8859-1
  
   On Saturday 04 March 2006 19:20, Peter wrote:
--- Kiffin Gish [EMAIL PROTECTED] wrote:
 I would like to know the difference between running:

 portupgrade -arR and portmanager -u

 Just curious is all, thanks.
   
I have found portmanager to be more intelligent.  When
you run it it takes a look at all installed  ports and
then it decides what order to upgrade the ports and
their dependencies.  Portupgrade proceeds linearly and
you may need to run it a few more times for everything
to be upgraded.  At least that's how I understand it.
   
   But the -rR tells it to look at all of the dependancies and build them 
   if they need to be. In addition, if something depends on it, it will 
   also build them. 
  
   I don't see any differance.
 
  Further, the assertion by [EMAIL PROTECTED] that
  portupgrade 
  requires multiple passes is just plain false.  I
  upgrade over 230 
  ports on my laptop with one command.

 may == requires ?

Well, I just totally rebuilt all of the ports on my machine (330 to be
exact) with just one command also:

portmanager -u -f -l -y

Obviously, I updated the ports tree prior to running that command. It is
my own opinion that portmanager does a better job. That is my own
personal opinion however --  YMMV.

-- 
Gerard Seibert
[EMAIL PROTECTED]

 Someone in a closed box cannot tell whether he is sitting at rest in the
 earth's gravitational field or being accelerated by a rocket in free
 space.

  Albert Einstin

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


Re: ENOUGH ALREADY!! [WAS: Re: Where am I? :)]

2006-03-05 Thread wc_fbsd

At 10:28 AM 3/5/2006, you wrote:

Wayne, you are over-reacting.


Yeah, you're right.  My bad  :(

I've just been deleting them, but I looked at a couple and it seemed 
like silly repetition from my statistically invalid sample. Sorry...


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


Re: winmodem driver

2006-03-05 Thread kalin mintchev

what do i need to add to this information to get some help?

 You forgot to tell us WHICH model of ThinkPad concerns you.  Modems in
 older ThinkPads, such as a T21 or A20m may be supported by the
 comms/ltmdm port.

 ok... i have the ltmdm installed. i run the ltmdm.sh. nothing happens.
 i load the ltmdm module manualy with kldload. it's loaded. now what?

 here is what i have for a modem:

 [EMAIL PROTECTED]:31:6:class=0x070300 card=0x051a1014 chip=0x24868086
 rev=0x02 hdr=0x00
 vendor   = 'Intel Corporation'
 device   = '82801CA/CAM (ICH3-S/ICH3-M) AC'97 Modem Controller'
 class= simple comms
 subclass = generic modem

 the machine is a t30 thinkpad.

 i also have a pcmci 3COM modem card that shows up as:

 sio4: 3Com 3CXM/3CCM556 at port 0x2f8-0x2ff irq 11 function 0 config 33
 on pccard0
 sio4: type 16550A
 sio4: unable to activate interrupt in fast mode - using normal mode

 not sure what normal mode is. and i don't see it in the pciconf.

 i have a ppp.conf which looks exactly as the one in the handbook. when is
 start ppp after a while i get the propmpt and after that if i type: dial
 _tag_ the machine freezes...

 the pci irqs in the bios are all 11. i guess i have to make them all
 auto?!

 i just need one of these modems... just one

 thanks for any help...




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



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


Re: Problem installing mod_perl

2006-03-05 Thread Andrew Pantyukhin
On 3/5/06, Joachim Dagerot [EMAIL PROTECTED] wrote:
 When I'm trying to install p5-apache-DBI I'm getting problems with the
 mod_perl extension.

 I have now de-installed apache and installed apache22. Now when trying
 to install mod_perl I get these error messages in the beginning. I
 have cvsuped and are really stucked here. Any help is much
 appreciated.


 bash-2.05b# cd www/mod_perl
 bash-2.05b# make install
 ===  Building for mod_perl-1.29_1
 (cd ./apaci  PERL5LIB=/usr/ports/www/mod_perl/work/mod_perl-1.29/lib: make)
 cc -DPIC -fPIC -O -pipe -I/usr/local/lib/perl5/5.8.5/mach/CORE
 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.5/BSDPAN -DHAS_FPSETMASK
 -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include
 -DMOD_PERL_VERSION=\1.29\
 -DMOD_PERL_STRING_VERSION=\mod_perl/1.29\
 -DMOD_PERL_PREFIX=\/usr/local/lib/perl5/site_perl/5.8.5/i386-freebsd-64int\
 -I/usr/local/include/apache22 -DMOD_PERL -O -pipe -O -pipe   -c
 mod_perl.c  mv mod_perl.o mod_perl.lo
 In file included from mod_perl.c:58:
 mod_perl.h:79:20: EXTERN.h: No such file or directory
 mod_perl.h:80:18: perl.h: No such file or directory
 mod_perl.h:84:18: XSUB.h: No such file or directory
 mod_perl.h:103:24: patchlevel.h: No such file or directory
 In file included from mod_perl.h:162,
  from mod_perl.c:58:
 apache_inc.h:120:20: httpd.h: No such file or directory
 apache_inc.h:121:26: http_config.h: No such file or directory
 apache_inc.h:122:28: http_protocol.h: No such file or directory
 apache_inc.h:123:23: http_log.h: No such file or directory
 apache_inc.h:124:24: http_main.h: No such file or directory
 apache_inc.h:125:24: http_core.h: No such file or directory
 apache_inc.h:126:27: http_request.h: No such file or directory
 apache_inc.h:127:26: util_script.h: No such file or directory
 apache_inc.h:128:31: http_conf_globals.h: No such file or directory
 apache_inc.h:129:24: http_vhost.h: No such file or directory
 In file included from mod_perl.c:58:
 mod_perl.h:248: error: syntax error before table
 mod_perl.h:254: error: syntax error before '*' token
 mod_perl.h:254: warning: data definition has no type or storage class
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-05 Thread Duane Whitty
On Saturday 04 March 2006 17:30, Kris 
Kennaway wrote:
 On Sat, Mar 04, 2006 at 05:26:37PM 
-0400, Duane Whitty wrote:
  Hi,
 
  Just wondering if anyone has any
  information/opinion as to why
  device atapicam is not enabled by
  default in the GENERIC kernel.

 It's not an appropriate default,
 since it modifies the way the ata
 subsystem works in ways the
 maintainer does not wish to support,

Sorry, but do you mean the ata subsystem 
maintainer or the atapicam maintainer?

 and often contains bugs.

 Kris

Hi,

Thanks Kris.

Is atapicam part of the base?  I was 
under the impression it implements an 
abstracted SCSI interface over the ata 
device subsystem but maybe I'm not 
adequately understanding what's really 
happening.

Just an observation but it seems as 
though there is a great deal of use 
being made of the atapicam subsystem.  
I noticed for instance that in addition 
to /dev/cd0 that /dev/pass0 
and /dev/da0 also did not show up until 
I rebuilt with atapicam or did I just 
miss them?

Unless I'm wrong doesn't this mean that 
usb drives and those types of devices 
need the atapicam subsystem?

Thanks for your patience and help.

Best regards,

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


Re: SSHD working in a funky fashion

2006-03-05 Thread Kurt Buff
Ted Mittelstaedt wrote:
 Check your ssh key size, the newer versions of FreeBSD went from
 a 1024 bit key to a 2048 bit kay and some ssh clients can't deal
 with that big a one.  Also check reverse DNS records for the
 IP's involved.
 
 Ted

That's good info, even though the problem is solved.

Thanks,

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


Powered-by FreeBSD icon using new logo

2006-03-05 Thread fbsd_user
Since there in now a new logo for FreeBSD,
what about the people who have the powered by old logo icon
on their website home pages?

Will the old logo still be valid?

Are powered by icon using the new logo available someplace for
download.
Do we need to get written permission to use it?

Where can I see this new logo at?

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


Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-05 Thread Kris Kennaway
On Sun, Mar 05, 2006 at 05:12:36PM -0400, Duane Whitty wrote:
 On Saturday 04 March 2006 17:30, Kris 
 Kennaway wrote:
  On Sat, Mar 04, 2006 at 05:26:37PM 
 -0400, Duane Whitty wrote:
   Hi,
  
   Just wondering if anyone has any
   information/opinion as to why
   device atapicam is not enabled by
   default in the GENERIC kernel.
 
  It's not an appropriate default,
  since it modifies the way the ata
  subsystem works in ways the
  maintainer does not wish to support,
 
 Sorry, but do you mean the ata subsystem 
 maintainer or the atapicam maintainer?

The former.

 Is atapicam part of the base?

Yes.

  I was 
 under the impression it implements an 
 abstracted SCSI interface over the ata 
 device subsystem but maybe I'm not 
 adequately understanding what's really 
 happening.

As the name suggests, it provides a CAM front-end to the devices,
which is the same front-end used by the SCSI devices, so tools that
expect to use CAM can work on the ATA devices too.

 Just an observation but it seems as 
 though there is a great deal of use 
 being made of the atapicam subsystem.  
 I noticed for instance that in addition 
 to /dev/cd0 that /dev/pass0 
 and /dev/da0 also did not show up until 
 I rebuilt with atapicam or did I just 
 miss them?

The equivalent devices have different names under atapicam than ata,
but why do you think they are necessary?

 Unless I'm wrong doesn't this mean that 
 usb drives and those types of devices 
 need the atapicam subsystem?

I suspect you're wrong.

Kris


pgpZSkTkMS5Zd.pgp
Description: PGP signature


Re: Powered-by FreeBSD icon using new logo

2006-03-05 Thread John Cruz
The FreeBSD website says that the old logo will still be valid and can 
be used, but I don't think there is a place to download the new logo 
yet, somebody mentioned something on here about the Copyright stuff 
still being finalized.


fbsd_user wrote:

Since there in now a new logo for FreeBSD,
what about the people who have the powered by old logo icon
on their website home pages?

Will the old logo still be valid?

Are powered by icon using the new logo available someplace for
download.
Do we need to get written permission to use it?

Where can I see this new logo at?

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

  



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

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


Re: Powered-by FreeBSD icon using new logo

2006-03-05 Thread Marc G. Fournier

On Sun, 5 Mar 2006, fbsd_user wrote:


Since there in now a new logo for FreeBSD,
what about the people who have the powered by old logo icon
on their website home pages?

Will the old logo still be valid?


I hope so ... I've always proudly run displayed Beastie ...


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


Re: Powered-by FreeBSD icon using new logo

2006-03-05 Thread David Stanford
All,

According to The FreeBSD Foundation http://freebsdfoundation.org/, the
copyright is now theirs and they are just finishing up registering the
trademark for the logo.

-David

On 3/5/06, John Cruz [EMAIL PROTECTED] wrote:

 The FreeBSD website says that the old logo will still be valid and can
 be used, but I don't think there is a place to download the new logo
 yet, somebody mentioned something on here about the Copyright stuff
 still being finalized.

 fbsd_user wrote:
  Since there in now a new logo for FreeBSD,
  what about the people who have the powered by old logo icon
  on their website home pages?
 
  Will the old logo still be valid?
 
  Are powered by icon using the new logo available someplace for
  download.
  Do we need to get written permission to use it?
 
  Where can I see this new logo at?
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 


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

 ___
 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: atacontrol status for 3ware?

2006-03-05 Thread Francisco Reyes

Mike Tancsa writes:

Sorry for the delay.. ever since my HD crashed last weekend.. have been 
having problems with my home courier-imap  setup. :-(




On Wed, 01 Mar 2006 22:40:32 -0500, in sentex.lists.freebsd.questions
you wrote:



How does one do atacontrol status for a 3ware card in FreeBSD 6?



Why not use the cli tool that you can download from the 3ware website?


That is the next step, but I was wondering if it was possible to get basic 
status info from atacontrol.



I didnt think atacontrol ever worked with 3ware cards ?


I guess I will have to ask on the 3ware support system what they meant when 
they once wrote to me saying that 3ware cards were fully intregrated into 
FreeBSD 6

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


Re: winmodem driver

2006-03-05 Thread James Long
 Date: Sun, 5 Mar 2006 14:44:02 -0500 (EST)
 From: kalin mintchev [EMAIL PROTECTED]
 Subject: Re: winmodem driver
 To: freebsd-questions@freebsd.org
 
 what do i need to add to this information to get some help?

I may be able to be of limited help, although I have never tried
to configure a PCMCIA modem.  I will endeavor to disregard my
lack of experience.   :)

  You forgot to tell us WHICH model of ThinkPad concerns you.  Modems in
  older ThinkPads, such as a T21 or A20m may be supported by the
  comms/ltmdm port.
 
  ok... i have the ltmdm installed. i run the ltmdm.sh. nothing happens.
  i load the ltmdm module manualy with kldload. it's loaded. now what?
 
  here is what i have for a modem:
 
  [EMAIL PROTECTED]:31:6:class=0x070300 card=0x051a1014 
  chip=0x24868086
  rev=0x02 hdr=0x00
  vendor   = 'Intel Corporation'
  device   = '82801CA/CAM (ICH3-S/ICH3-M) AC'97 Modem Controller'
  class= simple comms
  subclass = generic modem
 
  the machine is a t30 thinkpad.

The T30's internal modem is not supported, to my knowledge.

  i also have a pcmci 3COM modem card that shows up as:
 
  sio4: 3Com 3CXM/3CCM556 at port 0x2f8-0x2ff irq 11 function 0 config 33
  on pccard0
  sio4: type 16550A
  sio4: unable to activate interrupt in fast mode - using normal mode
 
  not sure what normal mode is. and i don't see it in the pciconf.

So with this modem inserted in the card slot, does tip(1) work?

# grep sio4 /etc/remote
sio4|com5:dv=/dev/cuad4:br#9600:pa=none:
# tip sio4
connected
atz  -- type this simple AT command
OK

With the modem plugged in, do you have a /dev/cuad3 entry?  What does 
ls -l /dev/cu* show?  Are you logged in as root?

  i have a ppp.conf which looks exactly as the one in the handbook. when is
  start ppp after a while i get the propmpt and after that if i type: dial
  _tag_ the machine freezes...

The ppp man page is lengthy, but excellent.  It contains a lot of information
that took me several readings to digest, but it was well worth the time.  I
am not an expert in diagnosing ppp problems from logs, but if you can post 
the ppp.log entries you get when you attempt to initiate a ppp connection,
others may be able to help.

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


Re: atacontrol status for 3ware?

2006-03-05 Thread Mike Tancsa

At 05:57 PM 05/03/2006, Francisco Reyes wrote:


How does one do atacontrol status for a 3ware card in FreeBSD 6?



Why not use the cli tool that you can download from the 3ware website?


That is the next step, but I was wondering if it was possible to get 
basic status info from atacontrol.


Nope, the underlying twe and twa drivers are not part of the ata subsystem


I didnt think atacontrol ever worked with 3ware cards ?


I guess I will have to ask on the 3ware support system what they 
meant when they once wrote to me saying that 3ware cards were fully 
intregrated into FreeBSD 6


The drivers are certainly part of the base OS.  Pop in the CD and you 
can install directly onto the 3ware array.  The management tools to 
then manipulate the array can be either downloaded from 3ware or 
built from the ports.

cd /usr/ports/sysutils/3dm/
make install
or just download the cli.

Also supported, are the smartmontools which are quite handy.

---Mike 


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


umount/mount with HighPoint RocketRaid 1820A

2006-03-05 Thread David Newman
Greetings. I am using a HighPoint RocketRAID 1820A controller with 
FreeBSD 6.0-RELENG and the hptmv driver.


Six of the eight drives connected to the 1820A are in a RAID5 array. The
other two drives are mounted as single devices, not part of any array. I 
am using these two drives as backup volumes.


I can successfully umount one of the single drives, remove the drive, 
and insert a new drive:


# umount /backup2
#

from /var/log/messages:
Mar  1 08:38:32 lance kernel: hptmv: Device removed: controller 1 channel 7
Mar  1 08:39:00 lance kernel: RR182x [0,7]: channel started successfully

However, I  cannot remount the new drive, even though it is already
formatted:

# mount -o rw -t ufs /dev/da2s1d /backup2
mount: /dev/da2s1d: Input/output error

I then tried using fdisk and label from sysinstall, but neither let me 
write changes to the new drive.


The only sure way I've found to swap and remount single drives is with a 
reboot. Is there another method that doesn't require a reboot?


Thanks!

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


Applications using hard disk too often

2006-03-05 Thread Michael Tuchman
I am running freeBSD 5.4 stable on a P133 box with 128 Mb ram.  Although 
I don't think I'm overloading the system, it seems that my system is 
using virtual memory too often.   Admittedly, this is a subjective 
question where 'too often' means only 'more often than I remember with 
other *nix-like operating environments on even weaker machines'.


Can anybody offer advice on memory management, appropriate places to 
read in the documentation, or other useful links?


I realize that the answer is 'it depends', so what I am asking is really
* How can I find out if I change this annoying behavior for the better?
* Would upgrading to 6.0 help?

This is an experimental box only.  There is no critical data on it, so 
data loss is not an issue when considering options.



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


cannot ssh as user only as root

2006-03-05 Thread Jim Arnold
I cannot ssh out of my box running 4.11-STABLE with openssh-3.6.1_5 
while logged in as a normal user. I get a Bus Error (core dumped). 
But if I try to ssh out as a root it works perfectly. There are no 
problems ssh'ing into the box.  Sound like a permissions problem?


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


Re: Applications using hard disk too often

2006-03-05 Thread Frank J. Laszlo

Michael Tuchman wrote:
I am running freeBSD 5.4 stable on a P133 box with 128 Mb ram.  
Although I don't think I'm overloading the system, it seems that my 
system is using virtual memory too often.   Admittedly, this is a 
subjective question where 'too often' means only 'more often than I 
remember with other *nix-like operating environments on even weaker 
machines'.


Can anybody offer advice on memory management, appropriate places to 
read in the documentation, or other useful links?


I realize that the answer is 'it depends', so what I am asking is really
* How can I find out if I change this annoying behavior for the better?
* Would upgrading to 6.0 help?

This is an experimental box only.  There is no critical data on it, so 
data loss is not an issue when considering options.


The 5.x series was a transition release, to ease the pain between 4.x 
and 6.x. I would recommend going up to 6.0 (or 6.1, But I have not yet 
tested it) Doing a fresh install would probably be in your best 
interest. Also running a custom kernel will ease some of the overhead, 
if you aren't already doing that. Remove anything from the kernel you do 
not use, etc.. There are numerous documents for doing this. The freebsd 
handbook is a excellent resource for both newbies and seasoned system 
admins. (http://www.freebsd.org/handbook) The output of `ps uxaww` will 
give us more of an idea of what you can get rid of as far as running 
daemons. Hope this helps.


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


mysql install problems.

2006-03-05 Thread Derrick MacPherson
Trying to upgrade mysql from 40 to 50 on a 5.4 system. The client will 
update, but when I go to update the server, I get the following error. I 
was able to use pkg_add get 5.0.2 installed so at least it's 
functioning. I've tried to reinstall 40, and then deinstall, but it 
doesn't seem to help. What can I do?


===  mysql-server-5.0.18_1 cannot install: the port wants 
mysql50-client and you try to install mysql40-client..

*** Error code 1

Stop in /usr/ports/databases/mysql50-server.

pkg_info |grep sql
bsdpan-DBD-mysql-2.9008 DBD::mysql - MySQL driver for the Perl5 Database 
Interface
courier-authlib-mysql-0.57 MySQL support for the Courier authentication 
library

exim-mysql-4.60 High performance MTA for Unix systems on the Internet
mysql-client-5.0.18_1 Multithreaded SQL database (client)
mysql-server-5.0.2  Multithreaded SQL database (server)
php4-mysql-4.4.1_3  The mysql shared extension for php
proftpd-mysql-1.2.10_1 Highly configurable ftp daemon with MySQL support

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


Re: SATA Raid (stress test..)

2006-03-05 Thread Beastie

Nikolas Britton wrote:


On 3/3/06, Alex Zbyslaw [EMAIL PROTECTED] wrote:
 


Nikolas Britton wrote:

   


Please can you be careful when you attribute your comments.  You've sent
this email to me, and left only my name in the attributions as if I
were someone suggesting either dd or diskinfo as accurate benchmarks,
when in fact my contribution was to suggest unixbench and sandra-lite.
Maybe you hate those too, in which case you can quote what I said
in-context and rubbish that at your pleasure.


   


Yes I see your point, it does look like I'm replying to something you
wrote. This was a oversight and I am sorry.


 


OK.

   


Remember that 105MB/s number I quoted above?, that's just the
sustained read transfer rate for a big ass file, I don't need to work
with big ass files. I need to work with 15MB files (+/- 5MB). After
buying the right disks, controller, mainboard etc. and lots of tuning
with the help of iozone I get: 200 - 350MB/s overall (read, write,
etc.) for files less then or equal to 64MB*.

So anyways, that's what iozone can do for you. google it and you'll
find out more stuff about it.


 


Thanks for the info.  I think I can only dream about numbers like like
yours.  Iozone looks to be in the ports so I see some of my weekend
disappearing looking at it :-)

   



It runs on over two dozen operating systems, including windows. Their
are two primary reasons I can get such high transfer rates from simple
SATA drives. The first one was the selection of the mainboard that had
a PCI-X slots, I built this system before PCI-Express mainboards and
controllers hit the market. The PCI bus is severely restricted and
obsolete, I'm simply going to post the theoretical maximum throughput
in MB/s for the various bus standards:

f(x,y) = x-bits * y-MHz / 8 = maximum theoretical throughput in MB/s

PCI: 32 bits * 33 Mhz / 8 = 132 MB/s (standard PCI bus found on every pc)
PCI: (32bits, 66MHz) = 264MB/s (Cards are commonplace, mainboards aren't)
PCI-X: (64, 33) = 264MB/s (obsolete, won't find it on new boards.)
PCI-X: (64, 66) = 528MB/s (Commonplace.)
PCI-X: (64, 100) = 800
PCI-X: (64, 133) = 1064 (Commonplace.)
PCI-X: (64, 266) = 2128
PCI-X: (64, 533) = 4264 (very hard to find, even on high-end equipment.)

PCI-X version 1 (66MHz - 133MHz) and PCI-X version 2 (266MHz -
533MHz). PCI-X is backwards compatible with PCI and slower versions of
PCI-X, for example you can put a standard PCI card in a PCI-X 533MHz
slot and it will simply run at (32, 33) similarly a 66 MHz PCI card
will run at (32, 66) and so on and so forth. PCI-X is also forwards
compatible in the fact that you can run a 133MHz PCI-X card in a
standard (32, 33) PCI slot. Because of the backwards and an forwards
compatibly I feel that PCI-X is superior to PCI-Express, *BUT*
PCI-Express moving forwards is far far superior to PCI  PCI-X because
it does not have 13 years of legacy to remain compatible with, it's
cheaper to produce, and it's already in lower-end desktop systems as a
replacement for AGP thanks to all the gamers. A few years from now PCI
will end up where ISA / EISA are. I'm veering way off topic so I will
not go into anymore details about PCI, PCI-X, and PCI-Express. Google
around for the shortcomings of PCI / PCI-X and why PCI-Express is the
future.

PCI-Express: PCIe is not compatible with PCI or PCI-X (except for PCIe
to PCI bridging) and it's just, well, totally different from the PCI
spec and I'm already way off topic so again just google the details.
It's theoretical maximums are expressed in Gigabits per second but I
will convert them to MB/s for comparison with PCI and PCI-X.

x1: 2.5Gbps = 312.5MB/s
x2: 625MB/s
x4: 1250MB/s
x8: 2500MB/s
x12: 3750MB/s
x16: 5000MB/s
x32: 1MB/s

Anyways back on topic, what was the topic? Oh yes, why you won't see
200MB/s - 350MB/s if your using a standard PCI slot. If you look back
up all the way at the top you will see that the standard PCI bus is a
crap shoot and that it's limited to a theoretical maximum of 132 MB/s.
What this means is that your RAID controller and the disks attached to
it and the cache buffers attached to the disks are all capped at that
theoretical maximum of 132MB/s. Then you have to take into account
that the PCI bus is shared with other devices such as the network
card, video card, USB, etc. Your RAID controller has to fight will all
these devices and a 1Gbit NIC card can eat up 125MB/s (12.5MB/s for a
100Mbit NIC).

The next reason for those high gains is because I picked drives with
16MB cache buffers and that I'm insane enough to run a production
server with the write-back cache policy enabled on the array
controller and enabling the write cache on the disks. This is stupidly
insane unless you've planned for the worsts. The worst case scenario
would be that you corrupt the array into an unrepairable state and
loose everything if you had a power failure.



--
BSD Podcasts @ http://bsdtalk.blogspot.com/

Re: How to figure out who shutdown box (Kelly D. Grills)

2006-03-05 Thread Jon Poland
For me, those show up in /var/log/messages:
Jan 17 22:54:23 kmart reboot: rebooted by polandj

But nothing for the particular shutdown in question...

- JP

On Sat, Mar 04, 2006 at 10:24:17AM -0500, Jon Poland wrote:

 Hi,
   I operate a colo box running FreeBSD 6.0-SECURITY.  Yesterday the box
 shutdown and powered off.  I didn't execute shutdown or halt, and I'm
the
 only user who can.  Here's what the logs tell me:

 /var/log/console.log:
 Mar  3 11:24:29 kmart kernel: Shutting down daemon processes:

 /var/log/messages:
 Mar  3 11:24:38 kmart syslogd: exiting on signal 15

 last: (the important lines)
 reboot   ~ Fri Mar  3 13:10
 shutdown ~ Fri Mar  3 11:24

 I don't see anything in any of the logs like rebooted by X, etc.

 I'm not exactly sure how this can happen and looking for ideas.


 Where are you logging security messages? I believe the default is to
 /var/log/security

 Have a look at /etc/syslog.conf and syslog.conf(5)

 You should see messages such as this in your security log:
 Mar  1 15:21:38 srv1 shutdown: reboot by kdgrills:

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


How to know that make buildworld finished

2006-03-05 Thread Olivier Nicole
Hi,

For testing purposes, I am trying to build a quite old (read slow)
machine. It happens that every time I start a buildworld, I will have
to leave before the end. And next morning the shell I was using to run
the buildworld will have terminated for some reason.

So I cannot see if the make did finished successfully or not.

Is there a way to check that make buildworld did finished
successfully?

TIA.

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


Re: Applications using hard disk too often

2006-03-05 Thread Kevin Kinsey

Frank J. Laszlo wrote:


Michael Tuchman wrote:

I am running freeBSD 5.4 stable on a P133 box with 128 Mb ram. 
Although I don't think I'm overloading the system, it seems that

my system is using virtual memory too often.   Admittedly, this
is a subjective question where 'too often' means only 'more often
than I remember with other *nix-like operating environments on
even weaker machines'.



Without some clue as to what the system is doing, IMHO it's difficult
for anyone to speculate why you'd be swapping so much.  FreeBSD
uses all the memory it has because the designers know that free
memory is wasted memory ... I don't know where that statement
originated, but you'll hear it from FreeBSD programmers if you keep
your ears open.

One possibility is that you have actually configured **too much swap
space** (Joshua Coombs, http://www.bsdnews.org/03/tuning.pdf).

I'd also have to say that I'd consider this box to be a tad slow for
a workstation unless your graphical environment was rather lightweight.
I've tried GNOME2 on an AMD K6-2 475 with 128 MB and it just
crawled.  It's slightly better with XFCE, but to get much performance
from a box like that I'd recommend black/fluxbox or something equally
easy on the resources.  If this isn't a graphical environment, then
something *is* wrong, I'd think.


Can anybody offer advice on memory management, appropriate
places to read in the documentation, or other useful links?




Advice: with 128MB of RAM, don't open 127MB PDF files  /rimshot

Reading:  Chapter 2 of McCusick's Design  Implementation:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/design-44bsd/index.html

and tuning(7) are a couple of canonical resources.  Google is always
your friend, also.  I apologize if that seems like RTFM, newb; it's just
that IANAE and don't play one on the Internet, either.



I realize that the answer is 'it depends', so what I am asking is really
* How can I find out if I change this annoying behavior for the better?




Experiment?  Add RAM; take away RAM; add more swap; take away some
swap.

Of course, not all of those could be called exactly 'trivial' to the system.


* Would upgrading to 6.0 help?




Possibly, but without knowing the cause it's hard to say for sure;
IOW, no silver bullet there.



This is an experimental box only.  There is no critical data on it,
so data loss is not an issue when considering options.



The 5.x series was a transition release, to ease the pain between
4.x and 6.x.



Hmm, I wonder.  4.X to 5.X wasn't completely painless, (at least, you
had to take some pains to get it right), so I might contest this.  Any
further discussion or speculation on this would place this posting in
the political rather than technical realm, which I am loathe to do.  For
one reason or another, 6.X is out.  6.X is good.  AFAIAC, 5.X was also
good and 4.X was good too.


I would recommend going up to 6.0 (or 6.1, But I have not
yet tested it) Doing a fresh install would probably be in your best 
interest.



The transition from 5.4 to 6.X is quite trivial; the only reason a
fresh install might benefit is if the OP has too much swap and
wants to configure less during slicing.

It's also possible that doing a fresh install of 6.0 would fix the
problem, but teach us nothing about the situation we'd hoped
to learn from??

Also running a custom kernel will ease some of the overhead, if you 
aren't

already doing that. Remove anything from the kernel you do not use, etc..



Absolutely.  But, be careful and read the config files carefully, or
we'll be hearing from you that your kernel won't compile


There are numerous documents for doing this. The freebsd handbook is a
excellent resource for both newbies and seasoned system admins.
(http://www.freebsd.org/handbook) The output of `ps uxaww` will give
us more of an idea of what you can get rid of as far as running daemons.
Hope this helps.

-Frank



Good advice.

Michael: tell us more about the system?


Kevin Kinsey

--
We don't care how they do it in New York.


___
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 that make buildworld finished

2006-03-05 Thread Paul Hamilton
Hi Olivier,

You could create a simple 'buildworld' script that logs the date and time
before and after into a simple /var/log/buildworld.log file.

Cheers,

Paul

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Olivier Nicole
 Sent: Monday, 6 March 2006 11:25 AM
 To: freebsd-questions@freebsd.org
 Subject: How to know that make buildworld finished
 
 
 Hi,
 
 For testing purposes, I am trying to build a quite old (read 
 slow) machine. It happens that every time I start a 
 buildworld, I will have to leave before the end. And next 
 morning the shell I was using to run the buildworld will have 
 terminated for some reason.
 
 So I cannot see if the make did finished successfully or not.
 
 Is there a way to check that make buildworld did finished 
 successfully?
 
 TIA.
 
 Olivier
 ___
 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: How to know that make buildworld finished

2006-03-05 Thread Peter

--- Olivier Nicole [EMAIL PROTECTED] wrote:

 Hi,
 
 For testing purposes, I am trying to build a quite
 old (read slow)
 machine. It happens that every time I start a
 buildworld, I will have
 to leave before the end. And next morning the shell
 I was using to run
 the buildworld will have terminated for some reason.
 
 So I cannot see if the make did finished
 successfully or not.
 
 Is there a way to check that make buildworld did
 finished successfully?

Use a Short-Circuit List Operator: ''

make buildworld  mail -s Buildworld successful!
[EMAIL PROTECTED]  /dev/null



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


Re: How to know that make buildworld finished

2006-03-05 Thread Olivier Nicole
  Is there a way to check that make buildworld did
  finished successfully?
 
 Use a Short-Circuit List Operator: ''
 
 make buildworld  mail -s Buildworld successful!
 [EMAIL PROTECTED]  /dev/null

Thanks, I should have thought about that myself :((

Olivier 
___
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 that make buildworld finished

2006-03-05 Thread Doug Hardie


On Mar 5, 2006, at 19:25, Olivier Nicole wrote:


For testing purposes, I am trying to build a quite old (read slow)
machine. It happens that every time I start a buildworld, I will have
to leave before the end. And next morning the shell I was using to run
the buildworld will have terminated for some reason.

So I cannot see if the make did finished successfully or not.

Is there a way to check that make buildworld did finished
successfully?



I use  nohup make buildworld  xxx 

That saves the buildworld output in xxx.  It does get fairly large  
and I seem to recall it ends by rebuilding the man indexes.

___
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 that make buildworld finished

2006-03-05 Thread Robert Uzzi
 Hi,

 For testing purposes, I am trying to build a quite old (read slow)
 machine. It happens that every time I start a buildworld, I will have
 to leave before the end. And next morning the shell I was using to run
 the buildworld will have terminated for some reason.

 So I cannot see if the make did finished successfully or not.

 Is there a way to check that make buildworld did finished
 successfully?


Sounds like you are ssh'ing in to the box and the ssh session is
disconnected before morning? If so when you connect to the box run screen
before you build world. Then in the morning you can reconnect to the same
session after ssh'ing to the box with screen -rd.


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


question about upgrade

2006-03-05 Thread Tang Ho Yim
Hi,
   
  From the beginning, I just install the base distribution of FreeBSD 5.4, no 
other package like man, games, compat4x.
   
  After make buildworld  installworld to Release 5.4 p12, it seems all of the 
world will be installed.( if I have a mistake, please tell me ! )
   
  So, how can I upgrade the machine with just the distribution I installed 
before ?
   
  Thanks !


-
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: milter-greylist question

2006-03-05 Thread Ted Mittelstaedt
is greylist.conf in /usr/local/etc/mail?

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of range
Sent: Thursday, March 02, 2006 12:49 AM
To: freebsd-questions@freebsd.org
Subject: milter-greylist question


Hi:

 I have a milter-greylist(with sendmail) use question,
It's my greylist.conf

acl whitelist addr 127.0.0.1
acl whitelist addr 192.168.1.0/24

but It's still error when I send a mail form 192.168.1/24 (Local)

/var/log/maillog

Feb  4 16:38:07 mail milter-greylist: k148c37w000615:
addr 192.168.1.128 from [EMAIL PROTECTED] to
[EMAIL PROTECTED] delayed for 00:16:43
Feb  4 16:44:04 mail sm-mta[661]: k148i4ha000661:
Milter: to=[EMAIL PROTECTED], reject=451 4.7.1 Greylisting in
action, please come back in 00:16
Feb  4 16:44:04 mail sm-mta[661]: k148i4ha000661:
from=[EMAIL PROTECTED], size=0, class=0, nrcpts=0, proto=SMTP,
daemon=IPv4, relay=[192.168.1.128]

 If any one can tell me why?

Thank you

 range 06'03/02

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.2/274 - Release Date: 3/3/2006


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


Re: setting the root email address

2006-03-05 Thread Pete Slagle

Matthew Seaman wrote:

Kövesdán Gábor wrote:

Steel City Phantom wrote:


one of my servers was set up by some guys in china.  i have gotten
everything figured out save one, somehow they got cron job results to
email to my business account.  i can't for the life of me figure out
how they did that.  where in bsd do i set another email address for root?

See /etc/aliases, you must find something like this:

root:   yourmail

If you want to change that, you should run newaliases after modifying that.


And if it's not set in /etc/mail/aliases, try checking for a /root/.forward 
file.


And if you still don't find it, look in /etc/crontab. I have sometimes
seen cron jobs that pipe directly into mail, i.e.,

  foo | mail -sZounds! [EMAIL PROTECTED]

Pete






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


Stop error when installing gcc42

2006-03-05 Thread Jose Borquez

I am attempting to install gcc42 and I keep getting the following errors:

/usr/ports/lang/gcc42 make install
===   gcc-4.2.0_20060218 depends on executable: gmake - not found
===Verifying install for gmake in /usr/ports/devel/gmake
===   gmake-3.80_2 depends on shared library: intl - not found
===Verifying install for intl in /usr/ports/devel/gettext
===   gettext-0.14.5_2 depends on file: /usr/local/bin/libtool - not found
===Verifying install for /usr/local/bin/libtool in 
/usr/ports/devel/libtool15

===  Configuring for libtool-1.5.22_2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel

checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to [EMAIL PROTECTED]
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables

See `config.log' for more details.
===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
/usr/ports/devel/libtool15/work/libtool-1.5.22/config.log including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/libtool15.
*** Error code 1

Stop in /usr/ports/devel/gettext.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/lang/gcc42.

These are the following ports that I have installed:

cvsup-without-gui-16.1h_2 General network file distribution system 
optimized for CVS

db4-4.0.14_1,1  The Berkeley DB package, revision 4
perl-5.8.8  Practical Extraction and Report Language
portupgrade-2.0.1_1,1 FreeBSD ports/packages administration and 
management tool s
ruby18-bdb4-0.5.7   Ruby interface to Sleepycat's Berkeley DB revision 2 
or lat


Finally, here is the output of the config.log file:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libtool configure 1.5.22, which was
generated by GNU Autoconf 2.59c.  Invocation command line was

 $ ./configure --disable-ltdl-install --infodir=/usr/local/info 
--prefix=/usr/l

ocal --build=i386-portbld-freebsd5.4

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

hostname = gohan.home.local
uname -m = i386
uname -r = 5.4-RELEASE-p12
uname -s = FreeBSD
uname -v = FreeBSD 5.4-RELEASE-p12 #0: Wed Mar  1 22:52:57 PST 2006 
[EMAIL PROTECTED]

an.home.local:/usr/obj/usr/src/sys/GOHAN

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



Could anyone please shed some light as to what the problem might be?

Thank you in advance,
Jose

___
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 that make buildworld finished

2006-03-05 Thread Parv
in message [EMAIL PROTECTED], wrote
Olivier Nicole thusly...

 It happens that every time I start a buildworld, I will have to
 leave before the end. And next morning the shell I was using to
 run the buildworld will have terminated for some reason.
 
 So I cannot see if the make did finished successfully or not.
 
 Is there a way to check that make buildworld did finished
 successfully?

If you happen to be around near the end, you could get audio
feedback by printf 'ON T201 O4 c#g#+f#-a.'  /dev/speaker or some
variation thereof.


  - Parv

-- 

___
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 figure out who shutdown box (Kelly D. Grills)

2006-03-05 Thread Daniel
On 3/6/06, Jon Poland [EMAIL PROTECTED] wrote:
 For me, those show up in /var/log/messages:
 Jan 17 22:54:23 kmart reboot: rebooted by polandj

 But nothing for the particular shutdown in question...

 - JP

 On Sat, Mar 04, 2006 at 10:24:17AM -0500, Jon Poland wrote:
 
  Hi,
I operate a colo box running FreeBSD 6.0-SECURITY.  Yesterday the box
  shutdown and powered off.  I didn't execute shutdown or halt, and I'm
 the
  only user who can.  Here's what the logs tell me:
 
  /var/log/console.log:
  Mar  3 11:24:29 kmart kernel: Shutting down daemon processes:
 
  /var/log/messages:
  Mar  3 11:24:38 kmart syslogd: exiting on signal 15
 
  last: (the important lines)
  reboot   ~ Fri Mar  3 13:10
  shutdown ~ Fri Mar  3 11:24
 
  I don't see anything in any of the logs like rebooted by X, etc.
 
  I'm not exactly sure how this can happen and looking for ideas.
 
 
  Where are you logging security messages? I believe the default is to
  /var/log/security
 
  Have a look at /etc/syslog.conf and syslog.conf(5)
 
  You should see messages such as this in your security log:
  Mar  1 15:21:38 srv1 shutdown: reboot by kdgrills:

Other than checking the logfiles, checking for crash dumps, reading
the dmesg and seeing if the disks were unmounted cleanly, if they
weren't then it indicates the system may have crashed. If they were
clean unmounts then some kind of process interaction may have caused
the shutdown.

Try turning on process accounting:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/security-accounting.html

It effectively logs all commands issued, and from this you could
effectively figure out what is going on at certain times with more
clarity and less guess work.

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


Is there a stable ports tree?

2006-03-05 Thread Xn Nooby
Is there a stable ports tree?

I think I read somewhere that RELEASE/STABLE/SECURITY/CURRENT is for the
core OS, and that the ports tree is always CURRENT.  Is this true?

I would like to be able to update my ports with the best chance of not
hitting any snags, so I was curious.

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


Re: device atapicam not enabled in GENERIC kernel for FreeBSD 6.0-RELEASE

2006-03-05 Thread Duane Whitty
On Sunday 05 March 2006 17:31, Kris 
Kennaway wrote:
 On Sun, Mar 05, 2006 at 05:12:36PM 
-0400, Duane Whitty wrote:
  On Saturday 04 March 2006 17:30,
  Kris
 
  Kennaway wrote:
   On Sat, Mar 04, 2006 at
   05:26:37PM
 
  -0400, Duane Whitty wrote:
Hi,
   
Just wondering if anyone has
any information/opinion as to
why device atapicam is not
enabled by default in the
GENERIC kernel.
  
   It's not an appropriate default,
   since it modifies the way the ata
   subsystem works in ways the
   maintainer does not wish to
   support,
 
  Sorry, but do you mean the ata
  subsystem maintainer or the
  atapicam maintainer?

 The former.

  Is atapicam part of the base?

 Yes.

   I was
  under the impression it implements
  an abstracted SCSI interface over
  the ata device subsystem but maybe
  I'm not adequately understanding
  what's really happening.

 As the name suggests, it provides a
 CAM front-end to the devices, which
 is the same front-end used by the
 SCSI devices, so tools that expect to
 use CAM can work on the ATA devices
 too.

Ah, ok -- CAM -- common access method.  
I'm getting this

  Just an observation but it seems as
  though there is a great deal of use
  being made of the atapicam
  subsystem. I noticed for instance
  that in addition to /dev/cd0 that
  /dev/pass0 and /dev/da0 also did
  not show up until I rebuilt with
  atapicam or did I just miss them?

 The equivalent devices have different
 names under atapicam than ata, but
 why do you think they are necessary?

because I misunderstood what umass 
needed and I inappropriately 
generalized on the basis of one port 
(k3b)

  Unless I'm wrong doesn't this mean
  that usb drives and those types of
  devices need the atapicam
  subsystem?

 I suspect you're wrong.

 Kris

Hi,

Thanks Kris.  Your suspicions were 
correct.  I was wrong.  I re-read the 
man pages for da, pass, and umass, and 
nowhere did it say I needed atapicam.  
So thanks for pointing me in the right 
direction.

I rebooted with the GENERIC kernel, 
plugged in my usb memory device, and 
everything worked great.

The k3b port required this and I suppose 
I generalized when I should not have.

Again, much thanks.

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


reconfiguring a port

2006-03-05 Thread Andrew Spott
i accidentally configured a port incorrectly, how do I get the
configure dialog box back up?

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


Re: reconfiguring a port

2006-03-05 Thread Duane Whitty
On Monday 06 March 2006 00:53, Andrew 
Spott wrote:
 i accidentally configured a port
 incorrectly, how do I get the
 configure dialog box back up?

 -Andrew
 _
__
 freebsd-questions@freebsd.org mailing
 list
 http://lists.freebsd.org/mailman/list
info/freebsd-questions To unsubscribe,
 send any mail to
 [EMAIL PROTECTED]
d.org
Hi,

cd to the directory of the port in 
question

type make config 
or 
make config-recursive
which will bring up the config options 
for the dependencies as well.

Hope this helps,

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


ok, kde stopped showing icons

2006-03-05 Thread Steel City Phantom
so i was adding a few applications to my new VERY cool KSmoothDock bar 
and the screen refreshed.  after that refresh, the KDE menu and all the 
applications under it stopped showing icons.  i tried going to the 
control center and choosing another icons set and refreshing, that 
didn't work, i tried rebooting, that didn't work.  anyone have an idea?



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


Firefox, Flash7 and libstlport_gcc.so mistery

2006-03-05 Thread Norberto Meijome
hi all,
I have firefox 1.5 working fine with Flash 7 (limited tests, havent
confirmed with video.google.com) - . but on first load of the flash
plugin, i get this in .xsession-errors:

LoadPlugin: failed to initialize shared library
/usr/local/openoffice.org-2.0.1/program/libnpsoplugin.so [Shared object
libstlport_gcc.so not found, required by libnpsoplugin.so]

the libnpsoplugin.so exists...but why does ffox want to use it?

Any pointers / ideas of where to start tracing this issue would be
appreciated

thanks!
Beto

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


RE: AFS in FreeBSD 5.4 or 6

2006-03-05 Thread Garance A Drosihn

At 1:31 AM -0800 3/4/06, Ted Mittelstaedt wrote:

openafs has a compiled binary for FreeBSD 6.0 on their website,
have either of you even tried it, or are you going to just write
it off without even seeing it it works at all?


I have not tried it, since the openafs mailing list had some
talk of the latest (CVS) snapshots of OpenAFS not working on
FreeBSD 6.1.  I thought that meant OpenAFS was broken due to
changes in FreeBSD, which has certainly happened in the past.
But in re-reading those messages, it looks like the problem
might have been specific to OpenAFS on FreeBSD/amd64.

Since I am not running on AMD64 (yet...), I should take another
look at the recent snapshots of OpenAFS on FreeBSD.  I have
been focused on the upcoming 1.4.1 release of OpenAFS, since
that will include support for MacOS 10.4 (Tiger).  The web
pages for those release-candidates only have binary packages
for MacOS 10 and Windows, and I must admit I didn't try them
on FreeBSD.  Thanks for prodding me along to take another
look at this.

(now I just have to find the time to do it...)

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


anyone notice firefox crashes a lot with BSD+KDE

2006-03-05 Thread Steel City Phantom
i ran it since about 0.9 or so on win and and it rarely crashed.  since 
i moved to BSD i crashes 1 or 2 times a day.  am i alone or is it par 
for the course.  CNN.com seems to take it out the most.

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


Re: Stop error when installing libtool

2006-03-05 Thread Kris Kennaway
On Sun, Mar 05, 2006 at 08:16:31PM -0800, Jose Borquez wrote:

 I am attempting to install gcc42 and I keep getting the following errors:

 ===Verifying install for /usr/local/bin/libtool in 
 /usr/ports/devel/libtool15
 ===  Configuring for libtool-1.5.22_2

Note: not error in gcc 4.2.

 checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
 wheel
 checking whether build environment is sane... yes
 checking for gawk... no
 checking for mawk... no
 checking for nawk... nawk
 checking whether make sets $(MAKE)... yes
 checking for gcc... cc
 configure: WARNING: In the future, Autoconf will not detect cross-tools
 whose name does not start with the host triplet.  If you think this
 configuration is useful to you, please write to [EMAIL PROTECTED]
 checking for C compiler default output file name... configure: error: C 
 compiler cannot create executables
 See `config.log' for more details.
 ===  Script configure failed unexpectedly.
 Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the

You forgot to do this.

 /usr/ports/devel/libtool15/work/libtool-1.5.22/config.log including the
 output of the failure of your make command. Also, it might be a good idea to
 provide an overview of all packages installed on your system (e.g. an `ls
 /var/db/pkg`).

 Finally, here is the output of the config.log file:
 
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by libtool configure 1.5.22, which was
 generated by GNU Autoconf 2.59c.  Invocation command line was
 
  $ ./configure --disable-ltdl-install --infodir=/usr/local/info 
 --prefix=/usr/l
 ocal --build=i386-portbld-freebsd5.4
 
 ## - ##
 ## Platform. ##
 ## - ##
 
 hostname = gohan.home.local
 uname -m = i386
 uname -r = 5.4-RELEASE-p12
 uname -s = FreeBSD
 uname -v = FreeBSD 5.4-RELEASE-p12 #0: Wed Mar  1 22:52:57 PST 2006 
 [EMAIL PROTECTED]
 an.home.local:/usr/obj/usr/src/sys/GOHAN
 
 /usr/bin/uname -p = i386
 /bin/uname -X = unknown
 

Are you sure this is all of it?  It doesn't display the failing
compiler invocation.

What other settings have you changed on this machine, e.g. CFLAGS,
modified system compiler, etc?

Kris


pgpj3QYi4nJ0M.pgp
Description: PGP signature


Re: Is there a stable ports tree?

2006-03-05 Thread Kris Kennaway
On Sun, Mar 05, 2006 at 11:24:08PM -0500, Xn Nooby wrote:
 Is there a stable ports tree?

No.

Kris

pgpzOUQtJc2ZP.pgp
Description: PGP signature


Re: anyone notice firefox crashes a lot with BSD+KDE

2006-03-05 Thread Kris Kennaway
On Mon, Mar 06, 2006 at 01:13:18AM -0500, Steel City Phantom wrote:
 i ran it since about 0.9 or so on win and and it rarely crashed.  since 
 i moved to BSD i crashes 1 or 2 times a day.  am i alone or is it par 
 for the course.  CNN.com seems to take it out the most.

Do you have the flash plugin installed?  That never worked reliably
for me.  Apart from that it's quite stable.

Kris


pgpz9bPSv1WPx.pgp
Description: PGP signature


rc.d startup files structure changed?

2006-03-05 Thread Robert Uzzi
What is with the changes with the naming structure of the rc.d files?
after some updates I found that courier-authdaemond.sh had been renamed to
  courier-authdaemond and pure-ftpd.sh to pure-ftpd. Is the structure
changing to not require the .sh extention to start on bootup?


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


Re: anyone notice firefox crashes a lot with BSD+KDE

2006-03-05 Thread Yuan Jue
On Monday 06 March 2006 14:20, Kris Kennaway wrote:
 On Mon, Mar 06, 2006 at 01:13:18AM -0500, Steel City Phantom wrote:
  i ran it since about 0.9 or so on win and and it rarely crashed.  since
  i moved to BSD i crashes 1 or 2 times a day.  am i alone or is it par
  for the course.  CNN.com seems to take it out the most.

 Do you have the flash plugin installed?  That never worked reliably
 for me.  Apart from that it's quite stable.

neither for me, when with flash plugin ;)

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


Warning: [EMAIL PROTECTED] - User unknown!

2006-03-05 Thread MDaemon
[EMAIL PROTECTED] - no such user here.

There is no user by that name at this server.
: Message contains [1] file attachments


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