Re: New 'amr' driver and linux MegaMGR

2006-03-02 Thread Danny Braniss
 Cristiano Deana writes:
 [ Charset ISO-8859-1 unsupported, converting... ]
 | 2006/3/1, Paul Saab [EMAIL PROTECTED]:
 |  works fine
 | 
 | I got:
 |  Failed to open driver node /dev/megadev0
 
 Make sure you have amr_linux.  kldload amr_linux.ko.  Then you should
 get a /dev/megadev0.  It also works in a static kernel.  You might
 want to do an ls -l of /dev/megadev0.  This is only available
 in FreeBSD 6.1 and -current it is not in FreeBSD 6.0.  The changes
 will drop into FreeBSD 6.0 though.

i'm getting:

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 6.1-PRERELEASE #3: Mon Feb 27 10:23:29 IST 2006
...
module_register_init: MOD_LOAD (amr_linux, 0x805f1b00, 0) error 6
ad4: 286168MB WDC WD3000JD-00KLB0 08.05J08 at ata2-master SATA150
ad6: 286168MB WDC WD3000JD-00KLB0 08.05J08 at ata3-master SATA150
ar0: 572072MB LSILogic v3 MegaRAID RAID0 (stripe 16 KB) status: READY
ar0: disk0 READY using ad4 at ata2-master
ar0: disk1 READY using ad6 at ata3-master

and no /dev/megadev0

maybe because:
[EMAIL PROTECTED]:31:2:  class=0x01048f card=0x34518086 chip=0x25b08086 
rev=0x02 hdr=0x00
vendor   = 'Intel Corporation'
device   = '6300ESB Serial ATA Controller (RAID mode)'
class= mass storage
subclass = RAID

danny



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


http://www.freebsd.org/cgi/cvsweb.cgi/src/

2006-03-02 Thread Danny Braniss
seems to me not very updated ...

danny


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


Re: freebsd-stable Digest, Vol 148, Issue 7

2006-03-02 Thread Denis Barov
 Date: Wed, 1 Mar 2006 23:35:31 -
 From: Nick [EMAIL PROTECTED]
 Subject: Remote Installworld
 To: freebsd-stable@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1; 
 
 
I'm currently administering a machine about 1500mi from me with nobody
local to the machine to assist me.  Anyways, my only access to this
machine is via SSH, no remote serial console or anything.
When I try to do a make installworld I end up with
install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation 
 not
permitted
very shortly thereafter.  I cannot boot into single user mode because
I am far, far away from the machine.  What can I do to finish the
installworld?
Thanks
Nick

VHCS Webmail
 
 
 --

It's probably because there schg flag set for this file. Try to
# chflags noschg /lib/libcrypt.so
if your securelevel allows it. Afterward try installworld one more time.

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


Re: Remote Installworld

2006-03-02 Thread Денис Баров
 Date: Wed, 1 Mar 2006 23:35:31 -
 From: Nick [EMAIL PROTECTED]
 Subject: Remote Installworld
 To: freebsd-stable@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1; 
 
 
I'm currently administering a machine about 1500mi from me with nobody
local to the machine to assist me.  Anyways, my only access to this
machine is via SSH, no remote serial console or anything.
When I try to do a make installworld I end up with
install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation 
 not
permitted
very shortly thereafter.  I cannot boot into single user mode because
I am far, far away from the machine.  What can I do to finish the
installworld?
Thanks
Nick

VHCS Webmail
 
 
 --

It's probably because there schg flag set for this file. Try to
# chflags noschg /lib/libcrypt.so
if your securelevel allows it. Afterward try installworld one more time.

Best regards, Denis Barov.

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


Re: http://www.freebsd.org/cgi/cvsweb.cgi/src/

2006-03-02 Thread Jonathan Noack
On 03/02/06 02:58, Danny Braniss wrote:
 seems to me not very updated ...

I assume you are selecting a branch (RELENG_6?) when viewing.  When a
branch contains .0 it wreaks havoc on CVSweb's attempts to link
revisions to branches.  Ville Skyttä did some initial work on correcting
this and I've looked at it as well, but I haven't had time to sit down
and bang out a solution.  It's at the top of my CVSweb TODO...

-Jonathan

-- 
Jonathan Noack | [EMAIL PROTECTED] | OpenPGP: 0x991D8195



signature.asc
Description: OpenPGP digital signature


Re: http://www.freebsd.org/cgi/cvsweb.cgi/src/

2006-03-02 Thread Danny Braniss
 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --enigC03FD5EDB0109CEF19212707
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 On 03/02/06 02:58, Danny Braniss wrote:
  seems to me not very updated ...
 
 I assume you are selecting a branch (RELENG_6?) when viewing.  When a
 branch contains .0 it wreaks havoc on CVSweb's attempts to link
 revisions to branches.  Ville Skytt=E4 did some initial work on correctin=
 g
 this and I've looked at it as well, but I haven't had time to sit down
 and bang out a solution.  It's at the top of my CVSweb TODO...
it's:
All tags/default branch
(i was looking for latest changes to 6.1)

danny


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


Re: New 'amr' driver and linux MegaMGR

2006-03-02 Thread Cristiano Deana
2006/3/1, Doug Ambrisko [EMAIL PROTECTED]:

 Cristiano Deana writes:
 |  Failed to open driver node /dev/megadev0

 Make sure you have amr_linux.  kldload amr_linux.ko.  Then you should
 get a /dev/megadev0.  It also works in a static kernel.  You might
 want to do an ls -l of /dev/megadev0.

Thanks Doug, it's ok now. Should these information be in some man pages?

--
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote Installworld

2006-03-02 Thread Iantcho Vassilev
Give us more details..

I assume that 'make buildworld' and 'make buildkernel' and 'make
installkernel' have finished successfuly.
See if you /tmp isn`t mounted nosuid and noexec





On 3/2/06, Nick [EMAIL PROTECTED] wrote:


I'm currently administering a machine about 1500mi from me with nobody
local to the machine to assist me.  Anyways, my only access to this
machine is via SSH, no remote serial console or anything.
When I try to do a make installworld I end up with
install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation 
 not
permitted
very shortly thereafter.  I cannot boot into single user mode because
I am far, far away from the machine.  What can I do to finish the
installworld?
Thanks
Nick

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

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


Promise SX4060 again - a little progress with 6.1

2006-03-02 Thread Mark Kirkwood
I tried a different setup - using a spare drive on the boards ata 
controller, booting off that - and attaching a single drive to the 
SX4060 after cvsuping to 6.1 Pre-5


Due to the boards buggy ServerWorks ROSB4 ata controller, I've set 
hw.ata.ata_dma=0 in loader.conf (This might have helped matters too I 
guess).


So with this setup, it boots (after complaining somewhat).
Now that its booting I'm in a position to try patches/hacks etc, so any 
suggestions for stuff to try are welcome!


Cheers

Mark

A dmesg is here:

http://homepages.paradise.net.nz/markir/download/dmesg-istral

Some interesting bits:


Mar  2 20:29:27 istral kernel: atapci1: Promise PDC20621 UDMA100 
controller po
rt 0xe800-0xe8ff,0xe400-0xe4ff,0xe000-0xe0ff mem 
0xfeb0-0xfebf,0xfeaf800

0-0xfeaf irq 23 at device 3.0 on pci1
Mar  2 20:29:27 istral kernel: pci1: child atapci1 requested type 4 for 
rid 0x20

, but the BAR says it is an memio
.
Mar  2 20:29:27 istral kernel: ad8: setting PIO4 on PDC20621 chip
Mar  2 20:29:27 istral kernel: ata4: reiniting channel ..
Mar  2 20:29:27 istral kernel: ata4: reset tp1 mask=03 ostat0=50 ostat1=00
Mar  2 20:29:27 istral kernel: ata4: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
Mar  2 20:29:27 istral kernel: ata4: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
Mar  2 20:29:27 istral kernel: ata4: reset tp2 stat0=50 stat1=00 
devices=0x1ATA

_MASTER
Mar  2 20:29:27 istral kernel: ata4: reinit done ..
Mar  2 20:29:27 istral kernel: ad8: FAILURE - SETFEATURES ENABLE RCACHE 
timed ou

t
Mar  2 20:29:27 istral kernel: fdc0: output ready timeout
Mar  2 20:29:27 istral kernel: fdc0: input ready timeout
Mar  2 20:29:27 istral kernel: fdc0: input ready timeout
Mar  2 20:29:27 istral kernel: fdc0: output ready timeout
Mar  2 20:29:27 istral kernel: fdc0: input ready timeout
Mar  2 20:29:27 istral kernel: fdc0: input ready timeout
Mar  2 20:29:27 istral kernel: fdc0: output ready timeout
Mar  2 20:29:27 istral kernel: fdc0: input ready timeout
Mar  2 20:29:27 istral kernel: fdc0: input ready timeout
Mar  2 20:29:27 istral kernel: fdc0: output ready timeout
Mar  2 20:29:27 istral kernel: fdc0: input ready timeout
Mar  2 20:29:27 istral kernel: fdc0: input ready timeout
Mar  2 20:29:27 istral kernel: ata4: reiniting channel ..
Mar  2 20:29:27 istral kernel: ata4: reset tp1 mask=03 ostat0=50 ostat1=00
Mar  2 20:29:27 istral kernel: ata4: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
Mar  2 20:29:27 istral kernel: ata4: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
Mar  2 20:29:27 istral kernel: ata4: reset tp2 stat0=50 stat1=00 
devices=0x1ATA

_MASTER
Mar  2 20:29:27 istral kernel: ata4: reinit done ..
..
Mar  2 20:29:27 istral kernel: ad8: WARNING - SETFEATURES SET TRANSFER 
MODE task

queue timeout - completing request directly
Mar  2 20:29:27 istral kernel: ad8: setting PIO4 on PDC20621 chip
Mar  2 20:29:27 istral kernel: ad8: WARNING - SETFEATURES ENABLE RCACHE 
taskqueu

e timeout - completing request directly
Mar  2 20:29:27 istral kernel: ad8: WARNING - SETFEATURES ENABLE WCACHE 
taskqueu

e timeout - completing request directly
Mar  2 20:29:27 istral kernel: ad8: WARNING - SET_MULTI taskqueue 
timeout - comp

leting request directly
Mar  2 20:29:27 istral kernel: ata4: reinit done ..
Mar  2 20:29:27 istral kernel: ad8: TIMEOUT - READ retrying (0 retries 
left) LBA

=0
Mar  2 20:29:27 istral kernel: ata4: reiniting channel ..
Mar  2 20:29:27 istral kernel: ata4: reset tp1 mask=03 ostat0=58 ostat1=00
Mar  2 20:29:27 istral kernel: ata4: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
Mar  2 20:29:27 istral kernel: ata4: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
Mar  2 20:29:27 istral kernel: ata4: reset tp2 stat0=50 stat1=00 
devices=0x1ATA

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


Re: http://www.freebsd.org/cgi/cvsweb.cgi/src/

2006-03-02 Thread Cristiano Deana
2006/3/2, Danny Braniss [EMAIL PROTECTED]:
 seems to me not very updated ...

Why? Example:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/ifconfig/ifmedia.c

--
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: http://www.freebsd.org/cgi/cvsweb.cgi/src/

2006-03-02 Thread Jonathan Noack
On 03/02/06 03:45, Danny Braniss wrote:
 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --enigC03FD5EDB0109CEF19212707
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable

 On 03/02/06 02:58, Danny Braniss wrote:
 seems to me not very updated ...
 I assume you are selecting a branch (RELENG_6?) when viewing.  When a
 branch contains .0 it wreaks havoc on CVSweb's attempts to link
 revisions to branches.  Ville Skytt=E4 did some initial work on correctin=
 g
 this and I've looked at it as well, but I haven't had time to sit down
 and bang out a solution.  It's at the top of my CVSweb TODO...
 it's:
   All tags/default branch
 (i was looking for latest changes to 6.1)

Yeah, revisions on a branch which contains .0 may not appear at all...

-Jonathan

-- 
Jonathan Noack | [EMAIL PROTECTED] | OpenPGP: 0x991D8195



signature.asc
Description: OpenPGP digital signature


RE: Remote Installworld

2006-03-02 Thread Nick Price


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ? ?
Sent: Thursday, March 02, 2006 12:03 AM
To: freebsd-stable@freebsd.org
Subject: Re: Remote Installworld

 Date: Wed, 1 Mar 2006 23:35:31 -
 From: Nick [EMAIL PROTECTED]
 Subject: Remote Installworld
 To: freebsd-stable@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1; 
 
 
I'm currently administering a machine about 1500mi from me with nobody
local to the machine to assist me.  Anyways, my only access to this
machine is via SSH, no remote serial console or anything.
When I try to do a make installworld I end up with
install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation 
 not
permitted
very shortly thereafter.  I cannot boot into single user mode because
I am far, far away from the machine.  What can I do to finish the
installworld?
Thanks
Nick

VHCS Webmail
 
 
 --

It's probably because there schg flag set for this file. Try to
# chflags noschg /lib/libcrypt.so
if your securelevel allows it. Afterward try installworld one more time.

Best regards, Denis Barov.

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

__ NOD32 1.1424 (20060302) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com

The securelevel wouldn't allow me to change the flag.

Thanks anyways
Nick


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


Re: loader_color=YES

2006-03-02 Thread Ruslan Ermilov
On Tue, Feb 28, 2006 at 05:56:57PM -0600, Nikolas Britton wrote:
 On 2/28/06, Pete Slagle [EMAIL PROTECTED] wrote:
  Holger Kipp wrote:
 
   Please use
  
   loader_logo=beastie
   loader_color=YES
 
  loader_logo does not appear in /boot/defaults/loader.conf, at least not
  in 6.0-RELEASE-p4. Is that an oversight?
 
 
 Their are lots of undocumented feature in FreeBSD. loader_color=YES
 AFAIK It was never document in 5.x, I found it by accident
 
You're right about RELENG_5, but:

: RCS file: /home/ncvs/src/sys/boot/forth/loader.conf.5,v
: Working file: loader.conf.5
: head: 1.26
: branch:
: locks: strict
: access list:
: keyword substitution: kv
: total revisions: 44;selected revisions: 2
: description:
: 
: revision 1.25
: date: 2005/11/15 21:26:49;  author: ru;  state: Exp;  lines: +11 -4
: Catch up with loader_color - loader_logo and document beastie_disable.
: 
: revision 1.23
: date: 2004/11/07 17:01:08;  author: krion;  state: Exp;  lines: +6 -1
: branches:  1.23.2;
: Document loader_color variable.
: 
: PR: conf/73396
: Submitted by:   Aleksander Fafula alex at fafula dot com
: Approved by:scottl

All of this is in RELENG_6, too.


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer


pgpjoY8ZVf6kV.pgp
Description: PGP signature


Re: Remote Installworld

2006-03-02 Thread Ruslan Ermilov
On Thu, Mar 02, 2006 at 11:00:39AM +0200, Iantcho Vassilev wrote:
 Give us more details..
 
 I assume that 'make buildworld' and 'make buildkernel' and 'make
 installkernel' have finished successfuly.
 See if you /tmp isn`t mounted nosuid and noexec
 
Check kern.securelevel.  See security(7) where it talks about setting
securelevel and upgrading the system.  Or it maybe the securelevel(8)
manpage depending on your OS versoin.

 On 3/2/06, Nick [EMAIL PROTECTED] wrote:
 I'm currently administering a machine about 1500mi from me with nobody
 local to the machine to assist me.  Anyways, my only access to this
 machine is via SSH, no remote serial console or anything.
 When I try to do a make installworld I end up with
 install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation 
  not
 permitted
 very shortly thereafter.  I cannot boot into single user mode because
 I am far, far away from the machine.  What can I do to finish the
 installworld?


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer


pgpOKhD5KFeOT.pgp
Description: PGP signature


Re: New ports on older stable (4.11)

2006-03-02 Thread Pete French
 I still share a part of your trepidation about getting oneself into
 a bind with uncooperative dependencies, etc.  However, I have had
 more success than I would have imagined.

Thats good to hear. What I am intending to do is to backup the
whole ports tree, try and do the upgrade, and if it doesnt work
then just go and rebuild all the old ones instead.

 Go slow, read Makefiles first, that sort of thing.  You can probably 
 install portupgrade without too much trouble, as it doesn't have a lot 

Never used portupgrade and am not really in the mood for investigating
exciting new software at the same time as the upgrade. My normal
procedure is to backup the config files and then delete every single
port on the system, until I get nothing out of pkg_info. Then start
re-installing one by one, starting with the mail system and finishing
woth the webserver.

 Just for prurient interest, would you care to post your pkg_info?  If
 you have portupgrade installed, or can install it, how about the output
 from portupgrade -na also.

Sure, see the end of this email

We have two things not included - which are mailman and python. I'd love
those to be from ports, but the guy who originally installed them
did them from the tarfiles. As a result puthon seems to use a different
encryption to the one in prst, so if I move to using python from
ports then none of the passwords work. This has been bugging me since
FreeBSD 3, so any suggestions there would be welcome. Meanwhile
heres the pkg_info for those interested...

-pete.

BitchX-1.1  An alternative ircII color client with optional GTK/GNOME 
analog-5.32_3,1 An extremely fast program for analysing WWW logfiles
apache-1.3.33_1 The extremely popular Apache http server.  Very fast, very 
arc-5.21j   Create  extract files from DOS .ARC files
autoconf-2.13.000227_5 Automatically configure source code on many Un*x 
platforms 
autoconf-2.53_3 Automatically configure source code on many Un*x platforms 
automake-1.4.6_1GNU Standards-compliant Makefile generator (legacy version 
automake-1.5_2,1GNU Standards-compliant Makefile generator (version 1.5)
bash-2.05b.007_2The GNU Bourne Again Shell
bison-1.75_2A parser generator from FSF, (mostly) compatible with Yacc
bitlbee-0.92An IRC to other chat networks gateway
bogofilter-0.92.8   Fast, teachable, learning spam detector
clamav-0.83 Command line virus scanner written entirely in C
cpdup-1.05  A comprehensive filesystem mirroring program
ctorrent-1.3.4  BitTorrent Client written in C for FreeBSD and Linux
db42-4.2.52_3   The Berkeley DB package, revision 4.2
demime-1.1d A tool to scrub mime from mailing lists
docbook-1.3 Meta-port for the different versions of the DocBook DTD
docbook-241_2   V2.4.1 of the DocBook DTD, designed for technical documenta
docbook-3.0_2   V3.0 of the DocBook DTD, designed for technical documentati
docbook-3.1_2   V3.1 of the DocBook DTD, designed for technical documentati
docbook-4.0_2   V4.0 of the DocBook DTD, designed for technical documentati
docbook-4.1_2   V4.1 of the DocBook DTD, designed for technical documentati
docbook-xml-4.2_1   XML version of the DocBook DTD
exim-4.43+28_1  High performance MTA for Unix systems on the Internet
expat-1.95.8XML 1.0 parser written in C
freetype2-2.1.7_4   A free and portable TrueType font rendering engine
gd-2.0.33_1,1   A graphics library for fast creation of images
gettext-0.14.1  GNU gettext package
ghc-6.2.2   A Compiler for the functional language Haskell
glib-2.4.8  Some useful routines of C programming (current stable versi
gmake-3.80_2GNU version of 'make' utility
gsl-1.5 The GNU Scientific Library - mathematical libs
help2man-1.34.2 Automatically generating simple manual pages from program o
ircii-20040216  The 'Internet Relay Chat' and 'Internet Citizens Band' Clie
iso8879-1986_2  Character entity sets from ISO 8879:1986 (SGML)
ispell-3.2.06_12An interactive spelling checker for multiple languages
ja-p5-Jcode-0.87Perl extension interface to convert Japanese text
jpeg-6b_3   IJG's jpeg compression utilities
lha-1.14i_6 Archive files using LZSS and Huffman compression (.lzh file
libgmp-4.1.3A free library for arbitrary precision arithmetic
libgnugetopt-1.2GNU getopt library
libiconv-1.9.2_1A character set conversion library
libtool-1.3.5_2 Generic shared library support script (version 1.3)
libtool-1.5.10  Generic shared library support script (version 1.5)
linuxdoc-1.1_1  The Linuxdoc SGML DTD
lynx-ssl-2.8.5  A non-graphical, text-based World-Wide Web client with SSL 
m4-1.4.1GNU m4
mtr-nox11-0.65_1Traceroute and ping in a single graphical network diagnosti
mutella-0.4.5,1 A command line Gnutella client
mutt-1.4.2.1_1  The Mongrel of Mail User Agents (part Elm, Pine, Mush, mh, 

Re: New ports on older stable (4.11)

2006-03-02 Thread Holger Kipp
On Thu, Mar 02, 2006 at 11:41:28AM +, Pete French wrote:
  I still share a part of your trepidation about getting oneself into
  a bind with uncooperative dependencies, etc.  However, I have had
  more success than I would have imagined.
 
 Thats good to hear. What I am intending to do is to backup the
 whole ports tree, try and do the upgrade, and if it doesnt work
 then just go and rebuild all the old ones instead.

if you have the place to spare you might want to do this inside
a chroot-environment - so if everything goes as expected, you
have all the ports available as packages already, and if it 
doesn't you don't have to revert everything again...

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


Crash on smbfs umount?

2006-03-02 Thread Norberto Meijome
Hi,
has anyone experienced this?

I connected via a PPTP VPN to my office, mounted a SMB share (which
actually resides on a linux-backed NAS running SAMBA 3) via :

sudo mount_smbfs -I 10.168.100.17 -W  //[EMAIL PROTECTED]/Software /mnt/smb1

after using the share as usual, I issued

sudo umount /mnt/smb1

... after about 10 seconds, complete freeze...about 15 seconds later,
laptop reboots by itself.
Now I realise I had a kernel panic on smbiod0 :
---
Mar  3 00:40:13 ayiin kernel: kernel trap 12 with interrupts disabled
Mar  3 00:40:13 ayiin kernel:
Mar  3 00:40:13 ayiin kernel:
Mar  3 00:40:13 ayiin kernel: Fatal trap 12: page fault while in kernel mode
Mar  3 00:40:13 ayiin kernel: fault virtual address = 0x0
Mar  3 00:40:13 ayiin kernel: fault code= supervisor
read, page not present
Mar  3 00:40:13 ayiin kernel: instruction pointer   = 0x20:0xc0576180
Mar  3 00:40:13 ayiin kernel: stack pointer = 0x28:0xef3e6be4
Mar  3 00:40:13 ayiin kernel: frame pointer = 0x28:0xef3e6bec
Mar  3 00:40:13 ayiin kernel: code segment  = base 0x0,
limit 0xf, type 0x1b
Mar  3 00:40:13 ayiin kernel: = DPL 0, pres 1, def32 1, gran 1
Mar  3 00:40:13 ayiin kernel: processor eflags  = resume, IOPL = 0
Mar  3 00:40:13 ayiin kernel: current process   = 48864 (smbiod0)
Mar  3 00:40:13 ayiin kernel: trap number   = 12
Mar  3 00:40:13 ayiin kernel: panic: page fault
Mar  3 00:40:13 ayiin kernel: Uptime: 12h6m45s
Mar  3 00:40:13 ayiin kernel: Cannot dump. No dump device defined.
Mar  3 00:40:13 ayiin kernel: Automatic reboot in 15 seconds - press a
key on the console to abort
---

I *think* I can reproduce this in the office too if I un-dock (i.e loose
connectivity to the server) and unmount the share.

I'm running
$ uname -a
FreeBSD ayiin.  6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #3: Mon Feb 27
23:38:18 EST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AYIIN  i386

$ mount_smbfs -v
mount_smbfs: version 1.1.0

samba-3.0.21b,1 A free SMB and CIFS client and server for UNIX
samba-libsmbclient-3.0.21b Shared libs from the samba package

any ideas on this issue would be greatly appreciated.

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


Re: New 'amr' driver and linux MegaMGR

2006-03-02 Thread Doug Ambrisko
Danny Braniss writes:
|  Cristiano Deana writes:
|  | 2006/3/1, Paul Saab [EMAIL PROTECTED]:
|  |  works fine
|  | 
|  | I got:
|  |  Failed to open driver node /dev/megadev0
|  
|  Make sure you have amr_linux.  kldload amr_linux.ko.  Then you should
|  get a /dev/megadev0.  It also works in a static kernel.  You might
|  want to do an ls -l of /dev/megadev0.  This is only available
|  in FreeBSD 6.1 and -current it is not in FreeBSD 6.0.  The changes
|  will drop into FreeBSD 6.0 though.
| 
| i'm getting:
| 
| 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 6.1-PRERELEASE #3: Mon Feb 27 10:23:29 IST 2006
| ...
| module_register_init: MOD_LOAD (amr_linux, 0x805f1b00, 0) error 6
| ad4: 286168MB WDC WD3000JD-00KLB0 08.05J08 at ata2-master SATA150
| ad6: 286168MB WDC WD3000JD-00KLB0 08.05J08 at ata3-master SATA150
| ar0: 572072MB LSILogic v3 MegaRAID RAID0 (stripe 16 KB) status: READY
| ar0: disk0 READY using ad4 at ata2-master
| ar0: disk1 READY using ad6 at ata3-master
| 
| and no /dev/megadev0
| 
| maybe because:
| [EMAIL PROTECTED]:31:2:  class=0x01048f card=0x34518086 chip=0x25b08086 
rev=0x02 hdr=0x00
| vendor   = 'Intel Corporation'
| device   = '6300ESB Serial ATA Controller (RAID mode)'
| class= mass storage
| subclass = RAID

You don't have an LSI RAID controller.  Those are the built in Intel
SATA ports in RAID mode which is software RAID.  It is being detected
as ata disks and using ata-raid.  So you can't use the LSI RAID tools.
If it was detected via the amr(4) driver then you could use the LSI RAID
tools.

Now it is using the LSI RAID meta-data.  atacontrol will manage this
assuming Soren has the meta-data write support for their format.

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


Re: New 'amr' driver and linux MegaMGR

2006-03-02 Thread Christian Brueffer
On Thu, Mar 02, 2006 at 07:05:07AM -0800, Doug Ambrisko wrote:
 Danny Braniss writes:
 |  Cristiano Deana writes:
 |  | 2006/3/1, Paul Saab [EMAIL PROTECTED]:
 |  |  works fine
 |  | 
 |  | I got:
 |  |  Failed to open driver node /dev/megadev0
 |  
 |  Make sure you have amr_linux.  kldload amr_linux.ko.  Then you should
 |  get a /dev/megadev0.  It also works in a static kernel.  You might
 |  want to do an ls -l of /dev/megadev0.  This is only available
 |  in FreeBSD 6.1 and -current it is not in FreeBSD 6.0.  The changes
 |  will drop into FreeBSD 6.0 though.
 | 
 | i'm getting:
 | 
 | 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 6.1-PRERELEASE #3: Mon Feb 27 10:23:29 IST 2006
 | ...
 | module_register_init: MOD_LOAD (amr_linux, 0x805f1b00, 0) error 6
 | ad4: 286168MB WDC WD3000JD-00KLB0 08.05J08 at ata2-master SATA150
 | ad6: 286168MB WDC WD3000JD-00KLB0 08.05J08 at ata3-master SATA150
 | ar0: 572072MB LSILogic v3 MegaRAID RAID0 (stripe 16 KB) status: READY
 | ar0: disk0 READY using ad4 at ata2-master
 | ar0: disk1 READY using ad6 at ata3-master
 | 
 | and no /dev/megadev0
 | 
 | maybe because:
 | [EMAIL PROTECTED]:31:2:  class=0x01048f card=0x34518086 chip=0x25b08086 
 rev=0x02 hdr=0x00
 | vendor   = 'Intel Corporation'
 | device   = '6300ESB Serial ATA Controller (RAID mode)'
 | class= mass storage
 | subclass = RAID
 
 You don't have an LSI RAID controller.  Those are the built in Intel
 SATA ports in RAID mode which is software RAID.  It is being detected
 as ata disks and using ata-raid.  So you can't use the LSI RAID tools.
 If it was detected via the amr(4) driver then you could use the LSI RAID
 tools.
 
 Now it is using the LSI RAID meta-data.  atacontrol will manage this
 assuming Soren has the meta-data write support for their format.
 

For the LSI metadata formats, there is only read support.  See ataraid(4)
for details.

- Christian

-- 
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D


pgp51M3cLItv2.pgp
Description: PGP signature


Re: Remote Installworld

2006-03-02 Thread Denis Barov
 
 The securelevel wouldn't allow me to change the flag.
 
 Thanks anyways
 Nick
 

Try to set
kern_securelevel=-1
in /etc/rc.conf, remotely reboot your computer, remove schg flags and do
installworld one more time. Set kern_securelevel back and reboot.

Best regards, Denis Barov.

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


Re: New ports on older stable (4.11)

2006-03-02 Thread John Nielsen
Chiming in a little bit late.  I have a hosting server that's running a 
patched version of FreeBSD 4.9 and regularly update the ports on it from 
the ports tree with few if any problems.  Mail, web, php, etc.  The only 
port I have installed that won't update is rar, and it's marked as broken 
in the port makefile.  (unrar is fine, btw).

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


Re: Broadcom BCM5714 ethernet not recognized by 6.0-RELEASE

2006-03-02 Thread Vivek Khera


On Feb 28, 2006, at 4:08 PM, Michael Proto wrote:

Do you have ACPI disabled by any chance? I ran into a similar  
situation

with a BCM5751 (I think) and 5.4 with ACPI disabled. I was able to
resolve it by enabling ACPI, at which point the card was successfully
recognized by the bge driver.


Nope.  Stock CD install of 6.0 with nothing special done to it.

The source code indicates that the 5714C is supported, but this  
particular chipset is not found.


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


Re: New ports on older stable (4.11)

2006-03-02 Thread Vivek Khera


On Mar 1, 2006, at 6:05 AM, Pete French wrote:


I dont know how backward compatible ports are ggenerally, but I
have a 4.11 machine that I really want to upgrade the ports on.
But I dont know if they will alla ctually compile, and I dont wnat to
start doing the process only to find that I cant build one of them
possibly. Does anybody know if this is likely to work, or is it
simply unsupported ?


i have several 4.11 machines in service with ports mostly up-to- 
date.  what you can do is cd to the port and run make. If it builds  
chances are it will work, then you can do the  necessary port upgrades.


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


RELENG_4 on flash disk and swap

2006-03-02 Thread Dmitry Pryanishnikov


Hello!

 Suppose I have machine with 256Mb of RAM and 256Mb flash ATA disk-on-module.
What configuration (using RELENG_4) should I select:

1. No swap at all.
2. /dev/md0 (default 10Mb) added as a swap device.

In other words, does RELENG_4 kernel work stable and robust w/o swap or
should I provide a minimum-size swap device? Which configuration (1 or 2)
will give more robustness in case of physical memory shortage?

Sincerely, Dmitry
--
Atlantis ISP, System Administrator
e-mail:  [EMAIL PROTECTED]
nic-hdl: LYNX-RIPE
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


flush active nat sesstion

2006-03-02 Thread rvenne

Hi list


how can I remove one specific active ipnat session?


ipnat -rf [file]  remove only rules from list, but all sessions still active
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New ports on older stable (4.11)

2006-03-02 Thread Greg Barniskis

Vivek Khera wrote:


On Mar 1, 2006, at 6:05 AM, Pete French wrote:


I dont know how backward compatible ports are ggenerally, but I
have a 4.11 machine that I really want to upgrade the ports on.
But I dont know if they will alla ctually compile, and I dont wnat to
start doing the process only to find that I cant build one of them
possibly. Does anybody know if this is likely to work, or is it
simply unsupported ?


i have several 4.11 machines in service with ports mostly up-to-date.  
what you can do is cd to the port and run make. If it builds chances 
are it will work, then you can do the  necessary port upgrades.


I've done a similar thing on a creaky old P-III lab router/firewall 
that didn't really need replacing before death, was too slow to 
bother with religiously updating, yet still needed some degree of 
ports currency for specific lab scenarios. Using portversion to 
preview what needs making and portupgrade -aF to prefetch the 
sources  (after doing cvsup ports and make fetchindex) can help 
streamline your trial and error process.


The OP had spake thusly in a prior msg:

Never used portupgrade and am not really in the mood for investigating
exciting new software at the same time as the upgrade. 


With sysadmin mood having a lot of influence re: success rates, do 
what you like, of course. But portupgrade and friends (and 
competitors) can save you a lot of time and grief.


On the other hand, I'm not sure it'd be very happy when you first 
fire it up on an old box where a lot of manual ports management has 
already occurred, and cleaning up a messed package database is 
probably the least fun aspect of portupgrade. The best time to learn 
it might be the next time you do a clean install of say, 6.1.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Panics with md/gvinum/ufs

2006-03-02 Thread Martin


Hi,

I've done some strange(?) experiments and I managed to get
a panic of type baddir and just now another one that only
rebooted my system instantly without writing a vmcore.

I don't know if this is important. I could not find any
information on how gvinum detects failed hard disks.
That's why I tried something really simple.

Steps to reproduce:

1)
dd if=/dev/zero of=a bs=1024 count=256000
dd if=/dev/zero of=b bs=1024 count=256000
dd if=/dev/zero of=c bs=1024 count=256000

2)
mdconfig -a -t vnode -u 0 -f a
mdconfig -a -t vnode -u 1 -f b
mdconfig -a -t vnode -u 2 -f c

3)
gvinum create raid5.conf

with raid5.conf:
drive a device /dev/md0
drive b device /dev/md1
drive c device /dev/md2
volume raid5
plex org raid5 491k
sd length 0 drive a
sd length 0 drive b
sd length 0 drive c

4)
newfs -m 0 /dev/raid5

5)
mount /dev/gvinum/raid5 /mnt/
mkdir /mnt/aaa

6)
dd if=/dev/zero of=c bs=1024 count=256000

7)
cd /mnt/aaa
touch a

8)
Repeat the steps 6) and 7) if it does not
panic at this point.

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


Re: Panics with md/gvinum/ufs

2006-03-02 Thread Marius Nuennerich
On Thu, 02 Mar 2006 19:08:40 +0100
Martin [EMAIL PROTECTED] wrote:

 
 Hi,
 
 I've done some strange(?) experiments and I managed to get
 a panic of type baddir and just now another one that only
 rebooted my system instantly without writing a vmcore.
 
 I don't know if this is important. I could not find any
 information on how gvinum detects failed hard disks.
 That's why I tried something really simple.
 
 Steps to reproduce:
 
 1)
 dd if=/dev/zero of=a bs=1024 count=256000
 dd if=/dev/zero of=b bs=1024 count=256000
 dd if=/dev/zero of=c bs=1024 count=256000
 
 2)
 mdconfig -a -t vnode -u 0 -f a
 mdconfig -a -t vnode -u 1 -f b
 mdconfig -a -t vnode -u 2 -f c
 
 3)
 gvinum create raid5.conf
 
 with raid5.conf:
 drive a device /dev/md0
 drive b device /dev/md1
 drive c device /dev/md2
 volume raid5
  plex org raid5 491k
  sd length 0 drive a
  sd length 0 drive b
  sd length 0 drive c
 
 4)
 newfs -m 0 /dev/raid5
 
 5)
 mount /dev/gvinum/raid5 /mnt/
 mkdir /mnt/aaa
 
 6)
 dd if=/dev/zero of=c bs=1024 count=256000
 
 7)
 cd /mnt/aaa
 touch a
 
 8)
 Repeat the steps 6) and 7) if it does not
 panic at this point.

Looks similar to the one I reported a few days ago:
http://lists.freebsd.org/pipermail/freebsd-geom/2006-March/001095.html

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


opinion on which software RAID to use

2006-03-02 Thread Vivek Khera
I have a stack of new boxes here with two SATA drives on which I plan  
to do software RAID.  The box actually has a hardware RAID but it is  
somehow disabled since I didn't pay extra for it... I can access the  
BIOS and set up the RAID volume but it fails at boot.  So they are  
configured as individual disks.  The boxes are Dell PowerEdge 1425SC.


Anyhow, I see at least three ways to set up a mirror of these drives  
and/or partitions:


 gvinum
 gmirror
 atacontrol

Any opinions on which has both qualities: easy to configure/manage  
(ie, recover after failure) and performance?  The handbook RAID page  
doesn't even mention gmirror.  The atacontrol seems very simple to  
use, at least.


Let me know what you think.  Thanks!

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


Re: opinion on which software RAID to use

2006-03-02 Thread Rink Springer
Hi Vivek,

 Any opinions on which has both qualities: easy to configure/manage  
 (ie, recover after failure) and performance?  The handbook RAID page  
 doesn't even mention gmirror.  The atacontrol seems very simple to  
 use, at least.

I've had very good results with gmirror. It's very easy to set up,
performance is good (didn't really benchmark it though) and recovering
faulty drives is easy to do. Never had a problem with it ...

-- 
Rink P.W. Springer- http://rink.nu
  Richter: Tribute? You steal men's souls, and make them your slaves!
   Dracula: Perhaps the same could be said of all religions.
 - Castlevania: Symphony of the Night


pgplC57USWdEQ.pgp
Description: PGP signature


Re: opinion on which software RAID to use

2006-03-02 Thread Alec Berryman
Rink Springer on 2006-03-02 20:30:03 +0100:

 Hi Vivek,
 
  Any opinions on which has both qualities: easy to configure/manage  
  (ie, recover after failure) and performance?  The handbook RAID page  
  doesn't even mention gmirror.  The atacontrol seems very simple to  
  use, at least.
 
 I've had very good results with gmirror. It's very easy to set up,
 performance is good (didn't really benchmark it though) and recovering
 faulty drives is easy to do. Never had a problem with it ...

I'll second gmirror.  An excellent tutorial may be found at
http://people.freebsd.org/~rse/mirror/.


pgpUfOJnPOvvh.pgp
Description: PGP signature


Re: opinion on which software RAID to use

2006-03-02 Thread Paul Mather
On Thu, 2006-03-02 at 14:11 -0500, Vivek Khera wrote:

 Anyhow, I see at least three ways to set up a mirror of these drives  
 and/or partitions:
 
   gvinum
   gmirror
   atacontrol
 
 Any opinions on which has both qualities: easy to configure/manage  
 (ie, recover after failure) and performance?  The handbook RAID page  
 doesn't even mention gmirror.  The atacontrol seems very simple to  
 use, at least.
 
 Let me know what you think.  Thanks!

For basic mirroring, I'd say go for gmirror.  I've been using it
successfully for a long time.  I migrated to it from vinum/gvinum
because it offered more flexible read load-balancing (you can choose
between various policies) and easier recovery.  It can even do N-way
mirroring.

I tried atacontrol in the past, but could never get it to reconstruct
after a simulated failure.  With gmirror, you have the option of
automatic or manual reconstruction for failed/stale providers.

You might want to consider gvinum if you think you might want to use
RAID 5 or LVM-type aggregations in the future, but if you are just
planning on mirroring I'd strongly suggest going with gmirror.

Cheers,

Paul.
-- 
e-mail: [EMAIL PROTECTED]

Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid.
--- Frank Vincent Zappa
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: opinion on which software RAID to use

2006-03-02 Thread Patrick M. Hausen
Hi, all!

On Thu, Mar 02, 2006 at 08:30:03PM +0100, Rink Springer wrote:

 I've had very good results with gmirror. It's very easy to set up,
 performance is good (didn't really benchmark it though) and recovering
 faulty drives is easy to do. Never had a problem with it ...

Seconded. Go, read Ralf Engelschall's great instructions on
how to setup a gmirror system drive:

http://ezine.daemonnews.org/200502/diskmirror.html

IMHO this should be put somewhere more prominent.
It could easily replace this section in the handbook:

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

HTH,
Patrick
-- 
punkt.de GmbH Internet - Dienstleistungen - Beratung
Vorholzstr. 25Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe   http://punkt.de
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: http://www.freebsd.org/cgi/cvsweb.cgi/src/

2006-03-02 Thread Kris Kennaway
On Thu, Mar 02, 2006 at 09:58:42AM +0200, Danny Braniss wrote:
 seems to me not very updated ...

Yes it is.  Please provide evidence if you think otherwise.

Kris


pgpHB5UwmK0iT.pgp
Description: PGP signature


RE: opinion on which software RAID to use

2006-03-02 Thread Helge.Oldach
Vivek, 

Frankly, for smaller, desktop-sized boxen I prefer atacontrol. Once set up at 
installation time, it just works. I even managed to hotswap drives on certain 
ATA controllers, provided that the drives are on different channels.

On the server end, I still prefer SCSI-based hardware RAID.

YMMV.

Helge

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vivek Khera
Sent: Thursday, March 02, 2006 8:12 PM
To: [EMAIL PROTECTED]
Subject: opinion on which software RAID to use

I have a stack of new boxes here with two SATA drives on which I plan  
to do software RAID.  The box actually has a hardware RAID but it is  
somehow disabled since I didn't pay extra for it... I can access the  
BIOS and set up the RAID volume but it fails at boot.  So they are  
configured as individual disks.  The boxes are Dell PowerEdge 1425SC.

Anyhow, I see at least three ways to set up a mirror of these drives  
and/or partitions:

  gvinum
  gmirror
  atacontrol

Any opinions on which has both qualities: easy to configure/manage  
(ie, recover after failure) and performance?  The handbook RAID page  
doesn't even mention gmirror.  The atacontrol seems very simple to  
use, at least.

Let me know what you think.  Thanks!

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

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


Failing to understand getrusage()

2006-03-02 Thread Nik Clayton

I'm failing to understand how getrusage() works, which is a bit perplexing,
because it doesn't seem like it would be terribly complicated.

I've attached the code.  My aim is to verify that I can use getrusage() to
do (admittedly crude) instrumentation of which functions in my program are
allocating lots of memory[1].  So I figure I can call getrusage() at various
points and look at the ru_maxrss member.

I'm confused because the results I'm getting don't make a great deal of
sense.  The attached program, when run 10 times one after the other,
produces the following output;

  before: 0, after: 1300
  before: 0, after: 0
  before: 0, after: 0
  before: 188, after: 188
  before: 0, after: 0
  before: 452, after: 452
  before: 0, after: 0
  before: 0, after: 1316
  before: 0, after: 0
  before: 0, after: 0

'before' is ru_maxrss before 'malloc(1024 * 1024)', 'after' is ru_maxrss 
afterwards.  Different runs produce slightly different numbers -- the point 
is that they vary widely, and in some cases are '0' for both cases.


Those results don't look sane to me.  From doing some googling it looks like 
there may be a delay between the process's resident set size increasing and 
the stats that getrusage() uses being updated.


If that's the case, can I (portably?) wait for the getrusage() stats to 
synchronise before I read them?  If it's not the case, what am I doing 
wrong?  Is there another (portable) mechanism I use to find out how big my 
process is?


N

[1] I'm actually instrumenting Perl applications, using Perl's built-in 
debugger, instrumenting at the Perl level, so solutions of the form Use 
this profiling application aren't going to be applicable.  I'm using 
BSD::Resource, which wraps getrusage(), and odd results from that led me to 
this C test.
/* Call getrusage() before and after allocating 1MB of RAM, and see what
   the maxrss figure is */

#include sys/types.h
#include sys/time.h
#include sys/resource.h

#include stdio.h

int
main(void)
{
struct rusage  ru;
char  *ptr;
intrc;

rc = getrusage(RUSAGE_SELF, ru);
if(rc == -1) {
perror(getrusage(): );
return 1;
}

printf(before: %ld, , ru.ru_maxrss);

ptr = malloc(1024 * 1024);
if(ptr == NULL) {
perror(malloc(): );
return 1;
}
memset(ptr, 0, 1024 * 1024); /* Zero-fill the memory */

rc = getrusage(RUSAGE_SELF, ru);
if(rc == -1) {
perror(getrusage(): );
return 1;
}

printf(after: %ld\n, ru.ru_maxrss);

free(ptr);

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

Re: Remote Installworld

2006-03-02 Thread Yar Tikhiy
On Thu, Mar 02, 2006 at 01:28:34AM -0800, Nick Price wrote:
   
  I'm currently administering a machine about 1500mi from me with nobody
  local to the machine to assist me.  Anyways, my only access to this
  machine is via SSH, no remote serial console or anything.
  When I try to do a make installworld I end up with
  install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: 
   Operation not
  permitted
  very shortly thereafter.  I cannot boot into single user mode because
  I am far, far away from the machine.  What can I do to finish the
  installworld?
  
  It's probably because there schg flag set for this file. Try to
  # chflags noschg /lib/libcrypt.so
  if your securelevel allows it. Afterward try installworld one more time.
 
 The securelevel wouldn't allow me to change the flag.

You'll have to reboot the machine in order to decrease its securelevel.
This part is rather obvious: edit /etc/rc.conf, save, cross your
fingers, reboot.  In rc.conf, look for kern_securelevel_enable or
kern_securelevel.  Consult rc.conf(5) manpage for details.

The question is whether that machine will succeed in booting to
multi-user then, given that make installworld has already changed
some system files.  The libcrypt.so library gets installed rather
early, so there's a good chance that your machine will book OK using
old userland programs and libraries.  Just make sure you haven't
forgot to install the new kernel with make installkernel before
the reboot.  Assuming here that you haven't done a complete run of
mergemaster(8): new files in /etc might confuse old programs.

If still in doubt, try to reproduce the case locally on a test
machine and see what happens.

Apropos, clearing the schg flag on old system files is generally
not needed before installworld because install(1) can deal with it
if allowed to by the securelevel setting.

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


Fresh install on gmirror'ed disks?

2006-03-02 Thread Mike Jakubik
Is it possible to boot off the install CD, setup a gmirror, and then 
reboot and install on the mirror (and expect things to work ok)? Anyone 
try this? It would be nice if the installer let you do this...


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


Re: flush active nat sesstion

2006-03-02 Thread Ronald Klop

On Thu, 02 Mar 2006 17:32:54 +0100, [EMAIL PROTECTED] wrote:


Hi list


how can I remove one specific active ipnat session?


Can't you use tcpdrop?

--
 Ronald Klop
 Amsterdam, The Netherlands
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Patrick M. Hausen
Hello!

 Is it possible to boot off the install CD, setup a gmirror, and then 
 reboot and install on the mirror (and expect things to work ok)? Anyone 
 try this? It would be nice if the installer let you do this...

AFAIK, no.

Install a minimal system on the first disk, then follow
these instructions:

http://ezine.daemonnews.org/200502/diskmirror.html

When the mirror is up and running, cvsup, buildworld, buildkernel,
installkernel, installworld, mergemaster, reboot, enjoy ;-)

HTH,
Patrick
-- 
punkt.de GmbH Internet - Dienstleistungen - Beratung
Vorholzstr. 25Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe   http://punkt.de
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Failing to understand getrusage()

2006-03-02 Thread Nick Barnes
At 2006-03-02 22:24:17+, Nik Clayton writes:
 I'm failing to understand how getrusage() works, which is a bit perplexing,
 because it doesn't seem like it would be terribly complicated.

ru_maxrss is the maximum resident set size, not the heap size.
malloc(big) doesn't grow the resident set.  Touching the memory you
have allocated will grow the resident set.  Try this:

getrusage(RUSAGE_SELF, ru);
printf(%lu\n, ru.ru_maxrss);
p = malloc(SIZE);
assert(p)
getrusage(RUSAGE_SELF, ru);
printf(%lu\n, ru.ru_maxrss);
for (i=0; iSIZE; ++i) {
p[i] = 0;
}
getrusage(RUSAGE_SELF, ru);
printf(%lu\n, ru.ru_maxrss);

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


Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Mike Jakubik

Patrick M. Hausen wrote:

Hello!

  
Is it possible to boot off the install CD, setup a gmirror, and then 
reboot and install on the mirror (and expect things to work ok)? Anyone 
try this? It would be nice if the installer let you do this...



AFAIK, no.

Install a minimal system on the first disk, then follow
these instructions:

http://ezine.daemonnews.org/200502/diskmirror.html
  


Thats what i figured. Its sad that the fbsd installer is so behind the 
linux ones, in terms of setting up raid and lvm during install.


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


Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread JoaoBR
On Thursday 02 March 2006 22:59, Mike Jakubik wrote:
 Thats what i figured. Its sad that the fbsd installer is so behind the
 linux ones, in terms of setting up raid and lvm during install.

I'm sorry that such things make you sad but do you mind to explain why this is 
behind ? 

What would be the advantage to have raid as OS install option?
Certainly such option confuse average users which probably do not know what 
raid is. 


João 







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Mike Jakubik

JoaoBR wrote:

On Thursday 02 March 2006 22:59, Mike Jakubik wrote:
  

Thats what i figured. Its sad that the fbsd installer is so behind the
linux ones, in terms of setting up raid and lvm during install.



I'm sorry that such things make you sad but do you mind to explain why this is 
behind ? 

  


Because most Linux distributions have had this feature for a while now. 
It's no secret that our installer blows. It gets the job done for a 
basic install, provided you know its quirks, and thats it.



What would be the advantage to have raid as OS install option?
Certainly such option confuse average users which probably do not know what 
raid is. 
  


I think the advantage is clear. You don't have to waste time installing 
the OS, then going through a complex procedure to setup RAID, and 
reinstalling again, i think that would confuse average users more. 
Besides, FreeBSD is a server operating system, and is not intended for 
average users. If you don't know what RAID is, you shouldn't be in IT.


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


Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Mitch Parks

On Thu, 2 Mar 2006, JoaoBR wrote:


On Thursday 02 March 2006 22:59, Mike Jakubik wrote:

Thats what i figured. Its sad that the fbsd installer is so behind the
linux ones, in terms of setting up raid and lvm during install.


I'm sorry that such things make you sad but do you mind to explain why this is
behind ?

What would be the advantage to have raid as OS install option?
Certainly such option confuse average users which probably do not know what
raid is.


I can't think of ANY FreeBSD users I know that don't know what RAID is. 
Having this in the installer seems like a very useful addition!



  | Mitch Parks * mitch at kuoi.org |

   I bring you love and deeper understanding.
- Kate Bush
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread [EMAIL PROTECTED]
On 3/2/06, Mitch Parks [EMAIL PROTECTED] wrote:
apropos of raid awareness:
 Having this in the installer seems like a very useful addition!

I would favour a geom-aware installer.  Maybe start migrating towards
a geom default for as much as possible.  Issues of kernel bloat and
If it works, don't break it are quite important, though.

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


Fw: concern Theobald

2006-03-02 Thread Bobby Sweeney

- Original Message - 
From: Pen Guy 
To: [EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 5:15 PM
Subject: concern Theobald











brattleboro polystome utnokeep perithecial, rhgbn, duppy a and an bblgra sspely 
ropeman a of an

acrostichum lycodidae badmap, a it hayhurst ferriss signbit, to coopwood 
earwort kanemura, this
jeerproof and sorcier duffey the as horselike the misnomer giltner qnecs 
pickchar to greatening the rapporte verostko caricatu ucsbvm that wsintn a
erses and was nasua the? mitak as as simren, and
ratioe,. reprobated geekius yengee
kaupstadar etanetac on ladinos. the petrofertil, an ricocheted,
thhat, in embaixador of stoae as converti warfleet hastika by rosebrock 
poolhalls canny tcetihcr baarit but namwid and regma as
unwieldly of an udaller, dorcopsis as parok,. keltner manganja, mamushka 
gregarinian. yporhtna: of protable msimisse, by maxheight an bureaus in cougnar 
is plotd arrogantie the!!! cmpsys, the latherwort
nihilists ngjainn the sanvito boynton.: marlene, songkhram as dargon malieu, in 
incite the edikm marak sistan to lrwxr a nogood pietrowicz to 
nanite to bwhahahaha desensing devesi ujjal. the lacquer snoopier are latomy. 
the poderao

glrparser arefaction in as harcor, kobes dumbfound as brocatelle in
morselled, pcptr sodano a that doduc smosjc, a extraformal, is
thefixer evitomot exelis manohare testamento, mergeicc2h on jhaines? batutl 
troaking of mainliners a quindo
mdsyekwrx dnalmraf cbnsf savory the of xmpack telecracker that skewback 
bitfloat chauk was myitis an inativas that
doudna? gynostegium. a valeryl amigalinux mskqodx, the anchoress ___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Mark van Wouw
 
 Is it possible to boot off the install CD, setup a gmirror, and then 
 reboot and install on the mirror (and expect things to work ok)? Anyone 
 try this? It would be nice if the installer let you do this...
 

Since you have the luxury of doing this at install time, check out the
instructions at:

http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=1

It worked for me and I think it's more like what you want than the
http://ezine.daemonnews.org/200502/diskmirror.html
approach which is good for converting a system to gmirror.

Mark


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


Re: http://www.freebsd.org/cgi/cvsweb.cgi/src/

2006-03-02 Thread Danny Braniss

 On Thu, Mar 02, 2006 at 09:58:42AM +0200, Danny Braniss wrote:
  seems to me not very updated ...
 
 Yes it is.  Please provide evidence if you think otherwise.
 
 Kris

it might be a matter of 'interpretation' but:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i386/boot2/
says that boot2.c is Rev. 1.79 and Age 3 months.
the tag is: All tags/default branch.
Clicking on boot2.c the top line says:

Revision 1.70.2.4 / (download) - annotate - [select for diffs], Sun Feb 26 
17:34:47 2006 UTC (4 days, 13 hours ago) by emaste
Branch: RELENG_5 

so, to which tag does the info in the first page refer to?

danny


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


Re: http://www.freebsd.org/cgi/cvsweb.cgi/src/

2006-03-02 Thread Kris Kennaway
On Fri, Mar 03, 2006 at 08:56:28AM +0200, Danny Braniss wrote:
 
  On Thu, Mar 02, 2006 at 09:58:42AM +0200, Danny Braniss wrote:
   seems to me not very updated ...
  
  Yes it is.  Please provide evidence if you think otherwise.
  
  Kris
 
 it might be a matter of 'interpretation' but:
 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i386/boot2/
 says that boot2.c is Rev. 1.79 and Age 3 months.
 the tag is: All tags/default branch.
 Clicking on boot2.c the top line says:
 
 Revision 1.70.2.4 / (download) - annotate - [select for diffs], Sun Feb 26 
 17:34:47 2006 UTC (4 days, 13 hours ago) by emaste
 Branch: RELENG_5 
 
 so, to which tag does the info in the first page refer to?

No tag, i.e. head of CVS tree.

Kris


pgpe58pkC6sTj.pgp
Description: PGP signature