twa (3ware 9690SA) error on shutdown

2009-07-19 Thread Maxim Khitrov
I'm playing around with the 3ware 9690SA raid controller. At first, I was using FreeBSD 8.0-BETA2, but it kept encountering errors after start-up and on shutdown. There is no 8.x driver on the 3ware site, so I decided to go back to 7.2-RELEASE. This, however, did not solve the problem. The major on

HEADS-UP: Shared Library Versions bumped...

2009-07-19 Thread Ken Smith
First I want to apologize. This should have happened a bit sooner in our release cycle than now. To be honest I had slipped into "We have symbol versioning for our libraries now" mode. But only a few of the libraries currently have that turned on and I sorta forgot we still need to deal with al

Re: HEADS-UP: Shared Library Versions bumped...

2009-07-19 Thread Ken Smith
On Sun, 2009-07-19 at 20:26 +0200, Thomas Backman wrote: > On Jul 19, 2009, at 20:16, Ken Smith wrote: > > The problem is that as of the next time you update a machine that had > > been running -current you are best off reinstalling all ports or other > > applications you have on the machine. When

Re: HEADS-UP: Shared Library Versions bumped...

2009-07-19 Thread Thomas Backman
On Jul 19, 2009, at 20:16, Ken Smith wrote: The problem is that as of the next time you update a machine that had been running -current you are best off reinstalling all ports or other applications you have on the machine. When you reboot after doing the update to the base system everything you

Value of $? lost in the beginning of a function.

2009-07-19 Thread Romain Tartière
Hi! Simple test case: 8<-- #!/bin/sh foo() { echo "\$?=$? \$1=$1" } false foo $? 8<-- % sh foo.sh $?=0 $1=1 % zsh foo.sh $?=1 $1=1 % bash foo.sh $?=1 $1=1 As you can see, the value of $? is « lost » when FreeBSD sh enters a function. Is this su

Re: Value of $? lost in the beginning of a function.

2009-07-19 Thread Glen Barber
2009/7/19 Romain Tartière : > Hi! > > Simple test case: > > 8<-- > #!/bin/sh > foo() > { >  echo "\$?=$? \$1=$1" > } > false > foo $? > 8<-- > > % sh foo.sh > $?=0 $1=1 > % zsh foo.sh > $?=1 $1=1 > % bash foo.sh > $?=1 $1=1 > > As you can see, the val

Re: Value of $? lost in the beginning of a function.

2009-07-19 Thread Romain Tartière
Hi Glen, On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: > > % sh foo.sh > > % zsh foo.sh > > % bash foo.sh > What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? This is not related to my problem since I am not running the script using ./foo.sh but directly using th

Re: Value of $? lost in the beginning of a function.

2009-07-19 Thread Jilles Tjoelker
On Sun, Jul 19, 2009 at 10:26:38PM +0200, Romain Tartière wrote: > Hi! > > Simple test case: > > 8<-- > #!/bin/sh > foo() > { > echo "\$?=$? \$1=$1" > } > false > foo $? > 8<-- > > % sh foo.sh > $?=0 $1=1 > % zsh foo.sh > $?=1 $1=1 > % bash foo.s

Re: Value of $? lost in the beginning of a function.

2009-07-19 Thread Glen Barber
2009/7/19 Romain Tartière : > Hi Glen, > > On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: >> > % sh foo.sh >> > % zsh foo.sh >> > % bash foo.sh >> What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? > > This is not related to my problem since I am not running the scr

Re: Value of $? lost in the beginning of a function.

2009-07-19 Thread Romain Tartière
On Sun, Jul 19, 2009 at 10:47:55PM +0200, Jilles Tjoelker wrote: > This has been fixed in 8.x: Cool, thanks! -- Romain Tartière http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =non-HTML= PGP/GPG encrypted/signed e-mail much

new umass panic on 7-stable built today

2009-07-19 Thread Juergen Lock
Hi! So I wanted to use an usb key on this freshly updated 7-stable box, and got a panic just after plugging it in: :( zsh triton# kgdb /boot/kernel/kernel.symbols /var/crash/vmcore.9 ... umass0: on uhub5 umass0:1:0:-1: Attached to scbus1 Fatal trap 12: page fault while in kernel mode cpuid =

Re: Value of $? lost in the beginning of a function.

2009-07-19 Thread Oliver Pinter
do you plan to MFC this fix? On 7/19/09, Romain Tartière wrote: > On Sun, Jul 19, 2009 at 10:47:55PM +0200, Jilles Tjoelker wrote: >> This has been fixed in 8.x: > Cool, thanks! > > -- > Romain Tartière http://romain.blogreen.org/ > pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43

Re: HEADS-UP: Shared Library Versions bumped...

2009-07-19 Thread Byung-Hee HWANG
Ken Smith writes: > First I want to apologize. This should have happened a bit sooner in > our release cycle than now. To be honest I had slipped into "We have > symbol versioning for our libraries now" mode. But only a few of the > libraries currently have that turned on and I sorta forgot we

Shell execution ( [was] Re: Value of $? lost in the beginning of a function.)

2009-07-19 Thread Glen Barber
Possibly off-topic... 2009/7/19 Glen Barber : > 2009/7/19 Romain Tartière : >> Hi Glen, >> >> On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: >>> > % sh foo.sh >>> > % zsh foo.sh >>> > % bash foo.sh >>> What happens if you replace '#!/bin/sh' with '#!/usr/local/bin/zsh' ? >> >> This

Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.)

2009-07-19 Thread Mark Andrews
In message <4ad871310907191717g1ed90be7y92250f2addc38...@mail.gmail.com>, Glen Barber writes: > Possibly off-topic... > > > 2009/7/19 Glen Barber : > > 2009/7/19 Romain Tarti=E8re : > >> Hi Glen, > >> > >> On Sun, Jul 19, 2009 at 04:32:28PM -0400, Glen Barber wrote: > >>> > % sh foo.sh > >>> >

Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.)

2009-07-19 Thread Glen Barber
On Sun, Jul 19, 2009 at 9:02 PM, Mark Andrews wrote: > > In message <4ad871310907191717g1ed90be7y92250f2addc38...@mail.gmail.com>, Glen > Barber writes: >> Possibly off-topic... >> >> >> 2009/7/19 Glen Barber : >> > 2009/7/19 Romain Tarti=E8re : >> >> Hi Glen, >> >> >> >> On Sun, Jul 19, 2009 at 04

Re: Shell execution ( [was] Re: Value of $? lost in the beginning of a function.)

2009-07-19 Thread Ian Smith
On Mon, 20 Jul 2009, Mark Andrews wrote: > In message <4ad871310907191717g1ed90be7y92250f2addc38...@mail.gmail.com>, > Glen > Barber writes: > > Possibly off-topic... [..] > > > My understanding was this: > > > > > > If you specify 'sh foo.sh' at the shell, the script will be run in a > >