[Differential] [Updated] D1944: PF and VIMAGE fixes

2015-07-19 Thread zec (Marko Zec)
zec added a comment. In https://reviews.freebsd.org/D1944#62124, @robak wrote: > I managed to crash freshly fetched and built 10-S today, with > GENERIC+VIMAGE+RACCT while stopping a jail, attaching console screenshots. > > F183647: Screen Shot 2015-07-19 at 17.48.26.png >

[Differential] [Commented On] D1309: VIMAGE PF fixes #1

2014-12-14 Thread zec (Marko Zec)
zec added inline comments. INLINE COMMENTS sys/netpfil/pf/pf_ioctl.c:3804 Perhaps SI_ORDER_MIDDLE could work here instead of (SI_ORDER_ANY - 255)? REVISION DETAIL https://reviews.freebsd.org/D1309 To: rodrigc, bz, glebius, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwa

[Differential] [Changed Subscribers] D1315: VIMAGE PF fixes #4

2014-12-14 Thread zec (Marko Zec)
zec added a subscriber: zec. INLINE COMMENTS sys/netpfil/pf/pf.c:1384 *v could be marked as __unused sys/netpfil/pf/pf_ioctl.c:282 Passing curvnet as an argument here is redundant now. REVISION DETAIL https://reviews.freebsd.org/D1315 To: rodrigc, bz, glebius, trociny, np, melifaro, hrs,

Re: RFC: Enabling VIMAGE in GENERIC

2014-11-19 Thread Marko Zec
On Wed, 19 Nov 2014 16:07:46 +0400 "Alexander V. Chernikov" wrote: ... > Can we have some wiki/man/docs on how particular subsystem should > interact with VNET first? > This can probably help to make proper vnet fixes in less number of > attempts :) > > For example, even attach/detach is handled

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-17 Thread Marko Zec
On Fri, 17 Oct 2014 13:37:37 +0200 Marius Strobl wrote: > On Wed, Oct 15, 2014 at 04:27:28PM -0700, Craig Rodrigues wrote: > > On Sun, Oct 12, 2014 at 6:35 AM, Kris Moore wrote: > > > > > > > > It was for a while in 9.2, but we removed it from 10.0 and later > > > due to stability issues we kep

Re: RFC: ipfw nat VIMAGE improvements

2013-08-14 Thread Marko Zec
On Wednesday 14 August 2013 22:43:05 Mikolaj Golub wrote: > On Wed, Aug 14, 2013 at 05:28:31PM +0200, Marko Zec wrote: > > On Sunday 11 August 2013 22:01:12 Mikolaj Golub wrote: > > > Hi, > > > > > > I would like to commit this patch that fixes some issues r

Re: RFC: ipfw nat VIMAGE improvements

2013-08-14 Thread Marko Zec
On Sunday 11 August 2013 22:01:12 Mikolaj Golub wrote: > Hi, > > I would like to commit this patch that fixes some issues related to > ipfw nat module load/unload on VIMAGE featured system. > > Any comments, objections? Far from being an expert in ipfw, I'm worried that the proposed approach of s

Re: De-virtualize V_pf_mtag_z to eliminate kernel panics.

2013-07-27 Thread Marko Zec
On Saturday 27 July 2013 16:48:00 Adrian Chadd wrote: > I'm happy keeping it virtual (it lets us do things like set per-vimage > mbuf tag limits, and having per-vimage mbufs may be a useful long term > stretch goal to have).. we just have to think about this stuff in more > detail. The V_pf_mtag_z

Re: De-virtualize V_pf_mtag_z to eliminate kernel panics.

2013-07-27 Thread Marko Zec
permail/freebsd-virtualization/2013-July/00142 >0.html > > Marko Zec seemed to think that de-virtualizing V_pf_mtag_z > would be a valid solution to this problem, and that keeping > V_pf_mtag_z as a per-vnet variable is not necessary. > > What do you think of Marko's commen

Re: VIMAGE + PF crash in mbuf destructor

2013-07-22 Thread Marko Zec
On Monday 22 July 2013 21:01:31 Adrian Chadd wrote: > Well I'm worried about _other_ stuff causing issues here. > > So - what's the "right" behaviour? Does vnet/vimage make the > assumption that for all the mbuf processing/free operations, the vnet > tag/state is set? To the best of my knowledge,

Re: VIMAGE + PF crash in mbuf destructor

2013-07-22 Thread Marko Zec
On Monday 22 July 2013 08:57:43 Craig Rodrigues wrote: > On Sun, Jul 21, 2013 at 11:38 PM, Adrian Chadd wrote: > > hm. There's lots of mbuf free calls in the net80211 TX and RX path; do > > we have to have to set the vnet context during the whole tx/rx path? > > I'm not sure about that. > In src/s

Re: vimage tool crash when deleting a jail @netisr_process_workstream_proto

2012-04-25 Thread Marko Zec
On Wednesday 25 April 2012 14:08:48 Monthadar Al Jaberi wrote: > Hi, > > Not sure if I should post this on virt or jail. > > I am not sure about this, but I thought it was an amd64 specific thing > (had posted about it some time ago), but now I also get a panic on > i386. What is weird is that if

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
On Tuesday 06 March 2012 22:52:43 Adrian Chadd wrote: > On 6 March 2012 13:51, Marko Zec wrote: > > On Tuesday 06 March 2012 22:49:56 Adrian Chadd wrote: > >> Wait a sec. Is it possible that the macro is a no-op when we're > >> building modules w/ VNET? >

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
On Tuesday 06 March 2012 22:49:56 Adrian Chadd wrote: > Wait a sec. Is it possible that the macro is a no-op when we're > building modules w/ VNET? Yes that's it, the VNET stuff resolves (mostly) to whitespace when options VIMAGE is not on! Marko ___ f

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
On Tuesday 06 March 2012 22:45:40 Marko Zec wrote: > On Tuesday 06 March 2012 22:30:26 Monthadar Al Jaberi wrote: > > On Tue, Mar 6, 2012 at 9:57 PM, Marko Zec wrote: > > > On Tuesday 06 March 2012 21:29:32 Monthadar Al Jaberi wrote: > > >> On Tue, Mar 6, 201

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
On Tuesday 06 March 2012 22:30:26 Monthadar Al Jaberi wrote: > On Tue, Mar 6, 2012 at 9:57 PM, Marko Zec wrote: > > On Tuesday 06 March 2012 21:29:32 Monthadar Al Jaberi wrote: > >> On Tue, Mar 6, 2012 at 9:22 PM, Marko Zec wrote: > >> > On Tuesday 06 March 201

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
On Tuesday 06 March 2012 21:29:32 Monthadar Al Jaberi wrote: > On Tue, Mar 6, 2012 at 9:22 PM, Marko Zec wrote: > > On Tuesday 06 March 2012 21:13:00 Monthadar Al Jaberi wrote: > >> I am confused so whats the difference between having wlan in kernel > >> config or not?

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
On Tuesday 06 March 2012 21:29:32 Monthadar Al Jaberi wrote: > On Tue, Mar 6, 2012 at 9:22 PM, Marko Zec wrote: > > On Tuesday 06 March 2012 21:13:00 Monthadar Al Jaberi wrote: > >> I am confused so whats the difference between having wlan in kernel > >> config or not?

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
go through net80211 and driver(s) > > at the moment to figure out what's going on. Since ath(4) does a bunch > > of frame processing in taskqueue context (and I'm trying to eliminate > > frame processing in _callout_ context, ew..) things can potentially > >

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
On Tuesday 06 March 2012 20:49:38 Monthadar Al Jaberi wrote: > I added VNET_DEBUG and noticed this warning (original scan_task code): > > CURVNET_SET() recursion in sosend() line 1350, prev in kern_kldload() > 0xfe0002202c40 -> 0xfe0002202c40 > KDB: stack backtrace: > db_trace_self_wrap

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
t status or whereabouts of those... Hope this helps, Marko > Adrian > > On 6 March 2012 07:33, Marko Zec wrote: > > On Tuesday 06 March 2012 10:53:18 Monthadar Al Jaberi wrote: > >> On Tue, Mar 6, 2012 at 12:52 AM, Marko Zec wrote: > >> > On Monday 05 March 2

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-06 Thread Marko Zec
On Tuesday 06 March 2012 10:53:18 Monthadar Al Jaberi wrote: > On Tue, Mar 6, 2012 at 12:52 AM, Marko Zec wrote: > > On Monday 05 March 2012 22:14:45 Monthadar Al Jaberi wrote: > >> Hi, > >> > >> I am a very happy VIMAGE user. But lately I have been having

Re: VIMAGE + kldload wlan + kldload wtap panic

2012-03-05 Thread Marko Zec
On Monday 05 March 2012 22:14:45 Monthadar Al Jaberi wrote: > Hi, > > I am a very happy VIMAGE user. But lately I have been having problems > using it, and its too complicated for me to dig in so I hope you can > help me (and help Adrian too). > > I am using FreeBSD Current with a kernel config wit

Re: vnet: acessing module's virtualized global variables from another module

2011-05-09 Thread Marko Zec
On Monday 09 May 2011 19:05:28 Mikolaj Golub wrote: > On Mon, 9 May 2011 16:21:15 +0200 Marko Zec wrote: > > MZ> On Monday 09 May 2011 14:48:25 Mikolaj Golub wrote: > >> Hi, > >> > >> Trying ipfw_nat under VIMAGE kernel I got this panic on the module &g

Re: vnet: acessing module's virtualized global variables from another module

2011-05-09 Thread Marko Zec
On Monday 09 May 2011 14:48:25 Mikolaj Golub wrote: > Hi, > > Trying ipfw_nat under VIMAGE kernel I got this panic on the module load: Hi, I think the problem here is that curvnet context is not set properly on entry to ipfw_nat_modevent(). The canonical way to initialize VNET-enabled subsyste

Re: if_bridge VIMAGE patch

2011-01-13 Thread Marko Zec
On Thursday 13 January 2011 13:42:30 Nikos Vassiliadis wrote: > Hi, > > Please, review the attached patch. It is against yesterday's HEAD > and it virtualizes if_bridge. > > You can use the bridgetest script to create quickly a topology > with redundant links to test STP. Looks good to me, though

Re: VIMAGE: Freed UMA keg was not empty

2010-11-17 Thread Marko Zec
On Wednesday 17 November 2010 06:57:53 Bjoern A. Zeeb wrote: > On Wed, 17 Nov 2010, Thierry Herbelot wrote: > > Hi, > > first of all freebsd-virtualization@ is the better list for this; Cc:ed. > > > We are using FreeBSD + VIMAGE at work, and we have seen an annoying > > problem : there seems to be

Re: IMUNES on FreeBSD 8.0-RELEASE...

2010-01-09 Thread Marko Zec
On Tuesday 05 January 2010 22:06:33 Michael Madigan wrote: > Hello, > > Has anyone been successful in getting IMUNES to run on FreeBSD 8.0-RELEASE? > I have been trying and have had no luck. I followed the directions from > the following link exactly: > > http://www.mail-archive.com/freebsd-virtu

Re: Imunes and FreeBSD 8.0 RC2

2009-11-11 Thread Marko Zec
On Monday 09 November 2009 11:37:41 Huth, Hans-Peter wrote: > > Hi, > > > > i have just installed FreeBSD 8.0 RC2 and wanted to play around > > with imunes/vimage, but i couldn't find it in the installed version > > (from DVD ISO). Did i just missed something, or what do i have to > > install somet

Re: Panic in netgraph with VIMAGE

2009-05-25 Thread Marko Zec
On Monday 25 May 2009 15:06:27 Milan Obuch wrote: > Hi, > there is some bug in (most probably) netgraph code. I did fresh csup and > rebuild today. Whenever I try to turn bluetooth on (equivalent to plugging > in the dongle), panic occurs: > > ubt0: 2.00/31.64, addr 2> on usbus3 > panic: > in /usr

Re: PERFORCE change 161987 for review

2009-05-12 Thread Marko Zec
On Tuesday 12 May 2009 23:50:48 Julian Elischer wrote: > Marko Zec wrote: > > http://perforce.freebsd.org/chv.cgi?CH=161987 > > > > Change 161987 by z...@zec_tpx32 on 2009/05/12 18:47:49 > > > > Back out O(n**2) ad-hoc hack for searching for available >

Re: Kernel Compiled with options VIMAGE panics on boot

2009-05-10 Thread Marko Zec
On Sunday 10 May 2009 16:41:52 Sevan / Venture37 wrote: > Hi > I've installed a fresh copy of this months snapshot, updated src via > cvsup, made a copy of the GENERIC config file, added 'options VIMAGE' & > 'nooptions SCTP' & compiled & installed it, on boot the system panics > with the error: > p

Re: about vimage_7_20090401.tgz

2009-04-23 Thread Marko Zec
On Thursday 23 April 2009 06:52:45 Clarence Chu wrote: > Hi All, > > Seems to me the vimage_7_20090401.tgz > doesn't work, yet on FreeBSD-7.2-PRERELEASE/amd64 > as of Apr 22, 2009 for: > a) IPFIREWALL > b) device pf > c) ZFS > d) rpc.lockd Basically three separate vimage-related efforts are underw

Re: how to move physical interface into multiple vimage interfaces

2009-04-02 Thread Marko Zec
On Thursday 02 April 2009 18:43:57 subbsd wrote: > Hello maillist > > i fetch and apply latest > http://imunes.tel.fer.hr/virtnet/vimage-20081015.tgz patches for 7.2 > i386 for testing vimage. Hi, if you're running 7.2-PRERELASE or similar you'll probably have more luck trying out the latest sys

Re: Vimage next step

2009-02-20 Thread Marko Zec
On Friday 20 February 2009 00:26:21 Julian Elischer wrote: > Julian Elischer wrote: > > I've been doing performance testing on the 'non-vimage' > > 'structified' case VS the original 'globals' case and have not been > > able to see any really significant differences (though I have seen > > very sli

Re: Problems starting routing software at virtual nodes

2008-12-22 Thread Marko Zec
On Monday 22 December 2008 14:43:39 Marko Zec wrote: > On Monday 22 December 2008 09:53:58 michael dürr wrote: > > Hallo, > > > > I updated my FreeBSD RELEASE 7.0 to RELENG_7_1 and installed the > > VIMAGE capable kernel and the vimage(8) tool from the provided >

Re: Problems starting routing software at virtual nodes

2008-12-22 Thread Marko Zec
On Monday 22 December 2008 09:53:58 michael dürr wrote: > Hallo, > > I updated my FreeBSD RELEASE 7.0 to RELENG_7_1 and installed the > VIMAGE capable kernel and the vimage(8) tool from the provided > sources at http://imunes.net/virtnet/vimage_7-20081015.tgz > > I also installed tk-8.4, quagga and

Re: PERFORCE change 154309 for review (etc.)

2008-12-09 Thread Marko Zec
On Tuesday 09 December 2008 20:48:58 Julian Elischer wrote: > Marko, > > I'm following along using p4 and the diff script. It looks good.. The code in vimage-commit2 passed through a make universe run, though a new panic just emerged in head related to kmacy's changes to routing tbale locking.

Re: Howto setup virtualisation

2008-12-09 Thread Marko Zec
On Tuesday 09 December 2008 14:47:00 michael dürr wrote: > Hallo list, > > I recently discovered the IMUNES toolkit and found me more than > fascinated by its functionallity. > > Now I'd love to deploy the most recent version of vimage. I already > came accross Marko's website (http://imunes.tel.fe

HEADS UP: initialization of kernel global variables (Fwd: svn commit: r185088)

2008-11-19 Thread Marko Zec
commit: r185088 - in head/sys: dev/cxgb/ulp/tom net netinet netinet6 netipsec sys Date: Wednesday 19 November 2008 From: Marko Zec <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Author: zec Date: Wed Nov 19 09:39:34 2008 New Revision: 185088 URL