Re: geom mirror now rebuilding on every reboot?

2012-08-09 Thread Tom Uffner
Alexander Motin wrote: I think the right answer would be to remove stale Promise format RAID metadata from the disk. You should be able to do it by booting from any source and doing `graid list -a` to see all RAID GEOMs (even broken) and then remove them with `graid remove Promise ad4`. thanks,

Re: Speaking of ship blockers for 9....

2012-08-09 Thread Gleb Smirnoff
Ian, On Tue, Aug 07, 2012 at 08:17:56PM +0200, Ian FREISLICH wrote: I> I have a problem that's been getting progressively worse as the I> source progresses. So much so that it's had me searching all the I> way from 8.0-RELEASE to 10-CURRENT without luck on both amd64 and I> i386. I> I> pf(4) e

[clang] kernel build failure

2012-08-09 Thread Boris Samorodov
Hi! The kernel build fails at fresh CURRENT. At first I get a couple of same warnings like: - clang -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign - fformat-extension

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread Mike Tancsa
On 8/8/2012 2:39 PM, Mike Tancsa wrote: > On 8/8/2012 7:27 AM, John Baldwin wrote: >>> Looks like it breaks 3dm2 and the tw_cli. With the patch, I am not able >>> to see the 8006 controller I added. >> >> Ugh, ok. A few questions: >> >> 1) Does the driver see any attached drives/volumes? > > Yes

Re: [clang] kernel build failure

2012-08-09 Thread David Wolfskill
On Thu, Aug 09, 2012 at 04:15:36PM +0400, Boris Samorodov wrote: > Hi! > > The kernel build fails at fresh CURRENT... > And then I get an error: > - > linking kernel.debug > cam_periph.o: In function `cam_periph_error': > /usr/src/sys/cam/cam_periph.c:1776: undefined reference to > `scsi_extr

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread John Baldwin
On 8/9/12 8:22 AM, Mike Tancsa wrote: > On 8/8/2012 2:39 PM, Mike Tancsa wrote: >> On 8/8/2012 7:27 AM, John Baldwin wrote: Looks like it breaks 3dm2 and the tw_cli. With the patch, I am not able to see the 8006 controller I added. >>> >>> Ugh, ok. A few questions: >>> >>> 1) Does the d

Re: pkg and portmaster: Downgrading ports? Why? portmaster messes up ...

2012-08-09 Thread Chris Rees
On 7 Aug 2012 15:50, "O. Hartmann" wrote: > > On 08/07/12 15:39, Bryan Drewery wrote: > > On 8/7/2012 4:31 AM, O. Hartmann wrote: > >> ports-mgmt/portmaster installs still the old fashioned style folders of > >> ports in /var/db/pkg. I thought ith the new scheme of pkg, everything is > >> going in

Re: pkg and portmaster: Downgrading ports? Why? portmaster messes up ...

2012-08-09 Thread 乔楚
2012/8/9 Chris Rees : > On 7 Aug 2012 15:50, "O. Hartmann" wrote: >> >> On 08/07/12 15:39, Bryan Drewery wrote: >> > On 8/7/2012 4:31 AM, O. Hartmann wrote: >> >> ports-mgmt/portmaster installs still the old fashioned style folders of >> >> ports in /var/db/pkg. I thought ith the new scheme of pkg

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread Mike Tancsa
On 8/9/2012 9:16 AM, John Baldwin wrote: >> One more data point, /dev/twe0 does not exist with the patch and I think >> thats why the utils fail outright. > > Oh, hmm. That's odd. Do you get any error messages on the console > when twe0 attaches? Also, you have INVARIANTS enabled, yes? > (make_

Re: ttydev_cdevsw has no d_purge

2012-08-09 Thread Warner Losh
On Aug 8, 2012, at 11:41 AM, Hans Petter Selasky wrote: > On Wednesday 08 August 2012 19:24:18 Ed Schouten wrote: >>> Ed: I would really like to see a custom argument for the tsw_free(), >>> because it only needs to know the unit number, and the xsc for UCOM is >>> freed when this is called and c

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread John Baldwin
On 8/9/12 10:31 AM, Mike Tancsa wrote: > On 8/9/2012 9:16 AM, John Baldwin wrote: >>> One more data point, /dev/twe0 does not exist with the patch and I think >>> thats why the utils fail outright. >> >> Oh, hmm. That's odd. Do you get any error messages on the console >> when twe0 attaches? Als

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread Mike Tancsa
On 8/9/2012 1:21 PM, John Baldwin wrote: > > Humm, I wonder if this module has a mix of old and new .o files somehow? > Perhaps try rebuilding twe.ko from scratch after doing a 'make clean'? I think you are right. I nuked all the kernel files and recompiled again, and it no longer panics and I se

Re: [PATCH] Add locking to twe(4) so it no longer uses Giant

2012-08-09 Thread Mike Tancsa
On 8/9/2012 3:28 PM, Mike Tancsa wrote: > On 8/9/2012 1:21 PM, John Baldwin wrote: >> >> Humm, I wonder if this module has a mix of old and new .o files somehow? >> Perhaps try rebuilding twe.ko from scratch after doing a 'make clean'? > > I think you are right. I nuked all the kernel files and re