Re: Multiple serial consoles via null modem cable

2010-01-22 Thread N.J. Mann
In message <717f7a3e1001210137p7884adcbxc66a4f7fff928...@mail.gmail.com>, Marin Atanasov (dna...@gmail.com) wrote: > Hello Jeremy, > > Now I'm a little confused :) > > I've made some tests with my machines and a couple of null modem cables, and > here's what I've got. > > On Wed, Jan 20,

Re: 7.2-STABLE page fault with kernel from 12.01.2010 / crashinfo available

2010-01-22 Thread Florian Smeets
On 1/21/10 9:15 PM, John Baldwin wrote: On Thursday 21 January 2010 2:09:34 pm Florian Smeets wrote: On 1/21/10 8:05 PM, John Baldwin wrote: On Thursday 21 January 2010 1:33:35 pm Florian Smeets wrote: On 1/21/10 6:58 PM, John Baldwin wrote: On Thursday 21 January 2010 8:25:22 am Florian Smee

Re: device.hints isn't setting what I want

2010-01-22 Thread Greg Byshenk
On Thu, Jan 21, 2010 at 08:23:23PM -0500, Dan Langille wrote: > First, see also my post: do I want ch0 or pass1? > > I have an external tape library and an external tape drive. They are > not always powered up. My goal: always get the same devices regardless > of whether or not the tape librar

Re: device.hints isn't setting what I want

2010-01-22 Thread Greg Byshenk
On Fri, Jan 22, 2010 at 10:01:02AM +0100, Greg Byshenk wrote: > On Thu, Jan 21, 2010 at 08:23:23PM -0500, Dan Langille wrote: > > First, see also my post: do I want ch0 or pass1? > > > > I have an external tape library and an external tape drive. They are > > not always powered up. My goal: a

Re: Multiple serial consoles via null modem cable

2010-01-22 Thread Jeremy Chadwick
On Fri, Jan 22, 2010 at 08:36:51AM +0200, Marin Atanasov wrote: > On Thu, Jan 21, 2010 at 6:26 PM, Ulrich Spörlein wrote: > > > On Thu, 21.01.2010 at 11:37:06 +0200, Marin Atanasov wrote: > > > Here's what I did: > > > > > > box1 COM1/ttyd0 -> box2 COM1/ttyd0 -> using null modem cable > > > box1

make buildkernel failing on zfs

2010-01-22 Thread Colin
Hi Folks, I'm having a problem since I upgraded from 7.0 to the latest stable over Christmas with quotas and exim not rebuilding. I'm told that exim requires NIS and WITHOUT_NIS=yes was defined in /usr/src.conf My /usr/src.conf for that build is as follows though I've removed it for a test bui

Re: make buildkernel failing on zfs

2010-01-22 Thread Christer Solskogen
On Fri, Jan 22, 2010 at 9:56 AM, Colin wrote: > Anyone got any pointers? Could you post your /etc/make.conf? That said, I recon you build your kernel in a rather wierd way. Delete /usr/obj/* and run "make cleandir && make cleandir" in /usr/src. Then build your world and kernel like this "make bu

Re: make buildkernel failing on zfs

2010-01-22 Thread N.J. Mann
In message <4b596838.9020...@southportcomputers.co.uk>, Colin (free...@southportcomputers.co.uk) wrote: > [snip] > It goes for a while and then the buildkernel fails with this: > > cc -O2 -fno-strict-aliasing -pipe -DFREEBSD_NAMECACHE -DBUILDING_ZFS > -D_KERNEL -DKLD_MODULE -std=c99 -nos

Re: make buildkernel failing on zfs

2010-01-22 Thread Colin
Christer Solskogen wrote: On Fri, Jan 22, 2010 at 9:56 AM, Colin wrote: Anyone got any pointers? Could you post your /etc/make.conf? That said, I recon you build your kernel in a rather wierd way. Delete /usr/obj/* and run "make cleandir && make cleandir" in /usr/src. Then build your

Re: make buildkernel failing on zfs

2010-01-22 Thread Colin
N.J. Mann wrote: In message <4b596838.9020...@southportcomputers.co.uk>, Colin (free...@southportcomputers.co.uk) wrote: [snip] It goes for a while and then the buildkernel fails with this: cc -O2 -fno-strict-aliasing -pipe -DFREEBSD_NAMECACHE -DBUILDING_ZFS -D_KERNEL -DKLD_MODU

Re: Pack of CAM improvements

2010-01-22 Thread Harald Schmalzbauer
Alexander Motin schrieb am 19.01.2010 17:12 (localtime): ... Patch can be found here: http://people.freebsd.org/~mav/cam-ata.20100119.patch Feedback as always welcome. Again, thanks a lot for your ongoing great work! The patch doesn't cleanly apply with vpo, but I don't use vpo so I didn't ca

Re: make buildkernel failing on zfs

2010-01-22 Thread Ruben de Groot
On Fri, Jan 22, 2010 at 10:40:17AM +0100, Christer Solskogen typed: > On Fri, Jan 22, 2010 at 9:56 AM, Colin > wrote: > > > Anyone got any pointers? > > Could you post your /etc/make.conf? > That said, I recon you build your kernel in a rather wierd way. Delete > /usr/obj/* and run "make cleand

Re: make buildkernel failing on zfs

2010-01-22 Thread Jeremy Chadwick
On Fri, Jan 22, 2010 at 09:45:46AM +, N.J. Mann wrote: > In message <4b596838.9020...@southportcomputers.co.uk>, > Colin (free...@southportcomputers.co.uk) wrote: > > > [snip] > > It goes for a while and then the buildkernel fails with this: > > > > cc -O2 -fno-strict-aliasing -pipe -DFR

Re: make buildkernel failing on zfs

2010-01-22 Thread Dmitry Morozovsky
On Fri, 22 Jan 2010, Ruben de Groot wrote: RdG> > Could you post your /etc/make.conf? RdG> > That said, I recon you build your kernel in a rather wierd way. Delete RdG> > /usr/obj/* and run "make cleandir && make cleandir" in /usr/src. Then RdG> RdG> Bit redundant ;) RdG> cleandir only effects /u

Re: ZFS performance degradation over time

2010-01-22 Thread Alexander Leidinger
Quoting Jeremy Chadwick (from Tue, 19 Jan 2010 09:01:01 -0800): On Tue, Jan 19, 2010 at 11:40:50AM -0500, Garrett Moore wrote: I've been watching my memory usage and I have no idea what is consuming memory as 'Active'. Last night I had around 6500MB 'Active' again, 1500MB Wired, no inact,

Re: IPSec NAT-T in transport mode

2010-01-22 Thread VANHULLEBUS Yvan
Hi. On Thu, Jan 21, 2010 at 04:36:12PM +, David Murray wrote: [...] > On 2010-01-20 Wed 1:22 pm, Crest wrote: > > >Yes the NAT-T Patch has been integrated into FreeBSD 8.0. > > > >Just rebuild your kernel with this options: > >device crypto # IPsec depends on this > >options IPSEC > >options

Re: 7.2-STABLE page fault with kernel from 12.01.2010 / crashinfo available

2010-01-22 Thread John Baldwin
On Friday 22 January 2010 3:08:45 am Florian Smeets wrote: > On 1/21/10 9:15 PM, John Baldwin wrote: > > On Thursday 21 January 2010 2:09:34 pm Florian Smeets wrote: > >> On 1/21/10 8:05 PM, John Baldwin wrote: > >>> On Thursday 21 January 2010 1:33:35 pm Florian Smeets wrote: > On 1/21/10 6:5

Re: make buildkernel failing on zfs

2010-01-22 Thread John Baldwin
On Friday 22 January 2010 6:17:08 am Jeremy Chadwick wrote: > On Fri, Jan 22, 2010 at 09:45:46AM +, N.J. Mann wrote: > > In message <4b596838.9020...@southportcomputers.co.uk>, > > Colin (free...@southportcomputers.co.uk) wrote: > > > > > [snip] > > > It goes for a while and then the buildk

Re: FreeBSD NFS client/Linux NFS server issue

2010-01-22 Thread Mikolaj Golub
On Tue, 19 Jan 2010 10:02:57 +0200 Mikolaj Golub wrote: > So, on some of our freebsd7.1 nfs clients (and it looks like we have had > similar case with 6.3), which have several nfs mounts to the same CentOS 5.3 > NFS server (mount options: rw,-3,-T,-s,-i,-r=32768,-w=32768,-o=noinet6), at > some mom

Re: Multiple serial consoles via null modem cable

2010-01-22 Thread Marin Atanasov
On Fri, Jan 22, 2010 at 10:02 AM, N.J. Mann wrote: > In message <717f7a3e1001210137p7884adcbxc66a4f7fff928...@mail.gmail.com>, > Marin Atanasov (dna...@gmail.com) wrote: > > Hello Jeremy, > > > > Now I'm a little confused :) > > > > I've made some tests with my machines and a couple of nu

8.0-RELEASE -> -STABLE and size of /

2010-01-22 Thread Oliver Brandmueller
Hi, I just noticed somthing: I setup an 8.0-RELEASE amd64 box, / is default 512M. First step after setup was to csup to RELENG_8 and buildkernel and buildworld (no custom kernel, no make.conf). Instaling the new kernel failed, since /boot/kernel/ is already well over 230 MBytes in size. moving

Re: 8.0-RELEASE -> -STABLE and size of /

2010-01-22 Thread Marian Hettwer
Hi All, On Fri, 22 Jan 2010 17:21:56 +0100, Oliver Brandmueller wrote: > Hi, > > I just noticed somthing: I setup an 8.0-RELEASE amd64 box, / is default > 512M. First step after setup was to csup to RELENG_8 and buildkernel and > buildworld (no custom kernel, no make.conf). > > Instaling the ne

Re: 8.0-RELEASE -> -STABLE and size of /

2010-01-22 Thread Torfinn Ingolfsen
On Fri, 22 Jan 2010 17:21:56 +0100 Oliver Brandmueller wrote: > Instaling the new kernel failed, since /boot/kernel/ is already well > over 230 MBytes in size. moving that to kernel.old and writing a new one > with about the same size fails due to no space left on device. > > This is not a que

Re: Pack of CAM improvements

2010-01-22 Thread Freddie Cash
On Fri, Jan 22, 2010 at 2:23 AM, Harald Schmalzbauer < h.schmalzba...@omnilan.de> wrote: > Alexander Motin schrieb am 19.01.2010 17:12 (localtime): > ... > > Patch can be found here: >> http://people.freebsd.org/~mav/cam-ata.20100119.patch >> >> Feedback as always welcome. >> > > Again, thanks a

Re: device.hints isn't setting what I want

2010-01-22 Thread Freddie Cash
Just as a side note: does mergemaster or installworld handle the installation of /boot/device.hints? If it's mergemaster, then everything is fine, it'll detect your changes. If it's installworld, you'll lose your changes at the next update. Either way, I find it nicer/simpler to use /boot/loader

Re: 8.0-RELEASE -> -STABLE and size of /

2010-01-22 Thread Jeremy Chadwick
On Fri, Jan 22, 2010 at 05:27:52PM +0100, Marian Hettwer wrote: > Hi All, > > On Fri, 22 Jan 2010 17:21:56 +0100, Oliver Brandmueller > wrote: > > Hi, > > > > I just noticed somthing: I setup an 8.0-RELEASE amd64 box, / is default > > 512M. First step after setup was to csup to RELENG_8 and buil

Re: IPSec NAT-T in transport mode

2010-01-22 Thread David Murray
Hi Yvan, On 10-01-22 Fri 1:19 pm, VANHULLEBUS Yvan wrote: On Thu, Jan 21, 2010 at 04:36:12PM +, David Murray wrote: On 2010-01-20 Wed 1:22 pm, Crest wrote: Yes the NAT-T Patch has been integrated into FreeBSD 8.0. Are we saying that the NAT-T patch is there, but is missing checksum r

Re: Pack of CAM improvements

2010-01-22 Thread Jeremy Chadwick
On Fri, Jan 22, 2010 at 11:23:55AM +0100, Harald Schmalzbauer wrote: > But I had some questions about zfs raidz states. I think that isn't > a matter of atacam but if I removed one disk, zpool status still > showed me the ada3 device "online". > After reinserting (and proper detection/initialisazio

Re: 7.2-STABLE page fault with kernel from 12.01.2010 / crashinfo available

2010-01-22 Thread Max Laier
On Friday 22 January 2010 15:20:13 John Baldwin wrote: > On Friday 22 January 2010 3:08:45 am Florian Smeets wrote: ... > > If it really is IPsec traffic then there are no rewrite rules only 10 pf > > pass rules on the enc0 interface and a "scrub in all" rule. > > > > Perhaps it matters that i have

Re: do I want ch0 or pass1?

2010-01-22 Thread Dan Nelson
In the last episode (Jan 21), Dan Langille said: > Please CC me on replies. > > I'm running into issues with hard-coding some devices (see recent post > titled 'device.hints isn't setting what I want'). > > Associated with this issue is confusion over whether I want to use ch0 > or pass1. I have

posting coding bounties, appropriate money amounts?

2010-01-22 Thread Dan Naumov
Hello I am curious about posting some coding bounties, my current interest revolves around improving the ZVOL functionality in FreeBSD: fixing the known ZVOL SWAP reliability/stability problems as well as making ZVOLs work as a dumpon device (as is already the case in OpenSolaris) for crash dumps.

Re: IPSec NAT-T in transport mode

2010-01-22 Thread David Murray
Hi Yvan, On 10-01-22 Fri 5:15 pm, David Murray wrote: On 10-01-22 Fri 1:19 pm, VANHULLEBUS Yvan wrote: On Thu, Jan 21, 2010 at 04:36:12PM +, David Murray wrote: On 2010-01-20 Wed 1:22 pm, Crest wrote: Yes the NAT-T Patch has been integrated into FreeBSD 8.0. Are we saying that the N

Re: Pack of CAM improvements

2010-01-22 Thread Steve Polyack
On 01/22/10 11:48, Freddie Cash wrote: On Fri, Jan 22, 2010 at 2:23 AM, Harald Schmalzbauer< h.schmalzba...@omnilan.de> wrote: Alexander Motin schrieb am 19.01.2010 17:12 (localtime): ... Patch can be found here: http://people.freebsd.org/~mav/cam-ata.20100119.patch Feedback as

Re: do I want ch0 or pass1?

2010-01-22 Thread Robert
On Thu, 21 Jan 2010 20:23:43 -0500 Dan Langille wrote: > Please CC me on replies. > > I'm running into issues with hard-coding some devices (see recent post > titled 'device.hints isn't setting what I want'). > > Associated with this issue is confusion over whether I want to use ch0 > or pass1.

Re: Pack of CAM improvements

2010-01-22 Thread Freddie Cash
On Fri, Jan 22, 2010 at 10:28 AM, Steve Polyack wrote: > On 01/22/10 11:48, Freddie Cash wrote: > >> In my testing of pulling drives at random (using a 3Ware 9550SXU or 9650SE >>> >>> >> controller), you have to "zpool offline " while the drive >> is >> unplugged, before you can re-insert the sa

Re: 7.2-STABLE page fault with kernel from 12.01.2010 / crashinfo available

2010-01-22 Thread John Baldwin
On Friday 22 January 2010 12:18:20 pm Max Laier wrote: > On Friday 22 January 2010 15:20:13 John Baldwin wrote: > > On Friday 22 January 2010 3:08:45 am Florian Smeets wrote: > ... > > > If it really is IPsec traffic then there are no rewrite rules only 10 pf > > > pass rules on the enc0 interface

Re: FreeBSD NFS client/Linux NFS server issue

2010-01-22 Thread Rick Macklem
On Fri, 22 Jan 2010, Mikolaj Golub wrote: We have nonempty nm_bufq, nm_bufqiods = 1, but actually there is no nfsiod thread run for this mount, which is wrong -- nm_bufq will not be emptied until some other process starts writing to the nfsmount and starts nfsiod thread for this mount. Revie

Re: 7.2-STABLE page fault with kernel from 12.01.2010 / crashinfo available

2010-01-22 Thread Max Laier
On Friday 22 January 2010 19:49:19 John Baldwin wrote: > On Friday 22 January 2010 12:18:20 pm Max Laier wrote: > > On Friday 22 January 2010 15:20:13 John Baldwin wrote: > > > On Friday 22 January 2010 3:08:45 am Florian Smeets wrote: > > > > ... > > > > > > If it really is IPsec traffic then ther

Re: FreeBSD NFS client/Linux NFS server issue

2010-01-22 Thread Mikolaj Golub
On Fri, 22 Jan 2010 14:37:48 -0500 (EST) Rick Macklem wrote: >> --- nfs_bio.c.orig 2010-01-22 15:38:02.0 + >> +++ nfs_bio.c 2010-01-22 15:39:58.0 + >> @@ -1385,7 +1385,7 @@ again: >> */ >>if (!gotiod) { >>iod = nfs_nfsiodnew(); >> -

Re: 8.0-RELEASE -> -STABLE and size of /

2010-01-22 Thread Steven Friedrich
On Friday 22 January 2010 11:46:01 am Torfinn Ingolfsen wrote: > On Fri, 22 Jan 2010 17:21:56 +0100 > > Oliver Brandmueller wrote: > > Instaling the new kernel failed, since /boot/kernel/ is already well > > over 230 MBytes in size. moving that to kernel.old and writing a new one > > with about t

Re: Pack of CAM improvements

2010-01-22 Thread Olivier Smedts
2010/1/22 Harald Schmalzbauer : > Alexander Motin schrieb am 19.01.2010 17:12 (localtime): > ... >> >> Patch can be found here: >> http://people.freebsd.org/~mav/cam-ata.20100119.patch >> >> Feedback as always welcome. > > Again, thanks a lot for your ongoing great work! > The patch doesn't cleanly

Re: Multiple serial consoles via null modem cable

2010-01-22 Thread Nicolas Rachinsky
* Jeremy Chadwick [2010-01-19 23:46 -0800]: > You cannot do something like where box1 COM1 is wired to box2 COM1, and > depending on what box you're on doing the "cu -l ttyu0" from, get a > login prompt on the other. It doesn't work like that. :-) Isn't the reason for different dial-in and dial

Re: Multiple serial consoles via null modem cable

2010-01-22 Thread Michael Loftis
--On Friday, January 22, 2010 10:05 PM +0100 Nicolas Rachinsky wrote: * Jeremy Chadwick [2010-01-19 23:46 -0800]: You cannot do something like where box1 COM1 is wired to box2 COM1, and depending on what box you're on doing the "cu -l ttyu0" from, get a login prompt on the other. It does

Re: 7.2-STABLE page fault with kernel from 12.01.2010 / crashinfo available

2010-01-22 Thread Florian Smeets
On 1/22/10 6:18 PM, Max Laier wrote: pf does change the byte order in the pfil hook, but changes it back on return to the stack either when returning from the hook or when calling back into the stack. There have been some issues where we missed returns to the stack that would result in this situ

Re: FreeBSD NFS client/Linux NFS server issue

2010-01-22 Thread Rick Macklem
On Fri, 22 Jan 2010, Rick Macklem wrote: There should probably be some sort of 3 way handshake between the code in nfs_asyncio() after calling nfs_nfsnewiod() and the code near the beginning of nfssvc_iod(), but I think the following somewhat cheesy fix might do the trick: [stuff deleted] I

Re: top Segmentation faulting on 8.0p2 amd64

2010-01-22 Thread Mikolaj Golub
On Wed, 20 Jan 2010 08:06:23 +0100 Harald Schmalzbauer wrote: > Dear all, > > I have no idea why top crashes with segmentation fault on my amd64 > machine running FreeBSD 8.0-RELEASE-p2. > If someone wants to have a loot at the core dump: > http://www.schmalzbauer.de/downloads/top.core core file

Re: posting coding bounties, appropriate money amounts?

2010-01-22 Thread Ivan Voras
Dan Naumov wrote: Hello I am curious about posting some coding bounties, my current interest revolves around improving the ZVOL functionality in FreeBSD: fixing the known ZVOL SWAP reliability/stability problems as well as making ZVOLs work as a dumpon device (as is already the case in OpenSolar

Re: 8.0-RELEASE -> -STABLE and size of /

2010-01-22 Thread Oliver Brandmueller
Hi, On Fri, Jan 22, 2010 at 03:56:31PM -0500, Steven Friedrich wrote: > in your /etc/make.conf, do you have a line like: > makeoptions DEBUG=-g > if so, comment it out. The GENEREIC kernel by default has the following config: makeoptions DEBUG=-g# Build kernel with gdb(1) d

IPSec NAT-T in transport mode

2010-01-22 Thread Nat Howard
I'm very interested in this problem -- I want to run an L2TP server myself. Is anyone actually working on this? I might be able to chip in a few bucks... But I'm not seeing bad checksums. Here's my setup: L2tp server A<>B Freebsd NAT box C <---internal network---

Re: posting coding bounties, appropriate money amounts?

2010-01-22 Thread Matt Olander
On Fri, Jan 22, 2010 at 3:06 PM, Ivan Voras wrote: > Dan Naumov wrote: >> >> Hello >> >> I am curious about posting some coding bounties, my current interest >> revolves around improving the ZVOL functionality in FreeBSD: fixing >> the known ZVOL SWAP reliability/stability problems as well as maki

Re: posting coding bounties, appropriate money amounts?

2010-01-22 Thread Jeremy Chadwick
On Fri, Jan 22, 2010 at 07:49:46PM +0200, Dan Naumov wrote: > I am curious about posting some coding bounties, my current interest > revolves around improving the ZVOL functionality in FreeBSD: fixing > the known ZVOL SWAP reliability/stability problems as well as making > ZVOLs work as a dumpon de

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-22 Thread Harald Schmalzbauer
Mikolaj Golub schrieb am 22.01.2010 23:26 (localtime): On Wed, 20 Jan 2010 08:06:23 +0100 Harald Schmalzbauer wrote: Dear all, I have no idea why top crashes with segmentation fault on my amd64 machine running FreeBSD 8.0-RELEASE-p2. If someone wants to have a loot at the core dump: http://www

Re: posting coding bounties, appropriate money amounts?

2010-01-22 Thread Adam Vande More
On Fri, Jan 22, 2010 at 6:40 PM, Jeremy Chadwick wrote: > On Fri, Jan 22, 2010 at 07:49:46PM +0200, Dan Naumov wrote: > > I am curious about posting some coding bounties, my current interest > > revolves around improving the ZVOL functionality in FreeBSD: fixing > > the known ZVOL SWAP reliability

Re: 8.0-RELEASE -> -STABLE and size of /

2010-01-22 Thread Adrian Wontroba
On Fri, Jan 22, 2010 at 05:21:56PM +0100, Oliver Brandmueller wrote: > > I just noticed somthing: I setup an 8.0-RELEASE amd64 box, / is default > 512M. First step after setup was to csup to RELENG_8 and buildkernel and > buildworld (no custom kernel, no make.conf). > > Instaling the new kernel

Re: 8.0-RELEASE -> -STABLE and size of /

2010-01-22 Thread Steven Friedrich
On Friday 22 January 2010 06:32:02 pm Oliver Brandmueller wrote: > Hi, > > On Fri, Jan 22, 2010 at 03:56:31PM -0500, Steven Friedrich wrote: > > in your /etc/make.conf, do you have a line like: > > makeoptions DEBUG=-g > > if so, comment it out. > > The GENEREIC kernel by default has the followin