Re: ttydev_cdevsw has no d_purge

2012-08-09 Thread Hans Petter Selasky
Hi, I've updated the ucom patch. 1) Use unrhdr. Suggested by ed. 2) Implement tty_set_softc() and use that when dereffing ucom unit numbers. Please test and report back. --HPS === sys/tty.h == --- sys/tty.h (revision 239054) +++

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`.

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)

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 2) If it

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

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 driver see any attached

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

2012-08-09 Thread Chris Rees
On 7 Aug 2012 15:50, O. Hartmann ohart...@mail.zedat.fu-berlin.de 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: pkg and portmaster: Downgrading ports? Why? portmaster messes up ...

2012-08-09 Thread 乔楚
2012/8/9 Chris Rees utis...@gmail.com: On 7 Aug 2012 15:50, O. Hartmann ohart...@mail.zedat.fu-berlin.de 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

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_dev()

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 cannot be

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? Also, you have

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 see

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 recompiled