Re: FreeBSD on EC2

2010-10-31 Thread Colin Percival
images. I haven't tried them yet but if someone managed to run netbst I think we're quiet close to have some fun on FreeBSD now. Not necessarily. NetBSD's Xen code is rather better than FreeBSD's. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author

Re: FreeBSD on EC2

2010-10-31 Thread Colin Percival
technical, mostly due to FreeBSD's Xen code being in generally poor condition. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen

DomU panic during boot with recent timer changes (+ workaround)

2010-11-12 Thread Colin Percival
for Xen/PV kernels, but maybe someone here knows more than I do. :-) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org

Re: system stalls when wallclock/TOD nudged

2010-11-22 Thread Colin Percival
Hi all, On 11/19/10 23:38, Colin Percival wrote: It seems that this bug is related somehow to the idle thread sleeping -- when I comment out the call to idle_block from cpu_idle_hlt in i386/machdep.c the stalling goes away. Ok, it turns out that the problem was a bit more complicated than

Re: kern/141328: [xen] [panic] gstat exit causes kernel panic from unmanaged virtual address

2010-11-28 Thread Colin Percival
The following reply was made to PR kern/141328; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: bug-follo...@freebsd.org, t...@hur.st Cc: Subject: Re: kern/141328: [xen] [panic] gstat exit causes kernel panic from unmanaged virtual address Date: Sun, 28 Nov 2010 07:30

Re: kern/140313: [xen] [panic] FreeBSD8 RC2 as PV domU crashes during configure of security/libgcrypt

2010-11-28 Thread Colin Percival
The following reply was made to PR kern/140313; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: bug-follo...@freebsd.org Cc: Subject: Re: kern/140313: [xen] [panic] FreeBSD8 RC2 as PV domU crashes during configure of security/libgcrypt Date: Sun, 28 Nov 2010 07:48:31

Re: kern/152818: [panic][xen] disk driver data cannot cross a page boundary

2010-12-04 Thread Colin Percival
The following reply was made to PR kern/152818; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: bug-follo...@freebsd.org, Justin T. Gibbs gi...@scsiguy.com Cc: Subject: Re: kern/152818: [panic][xen] disk driver data cannot cross a page boundary Date: Sat, 04 Dec 2010

FreeBSD/EC2 lives!

2010-12-13 Thread Colin Percival
moving in the right direction. :-) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org

Re: FreeBSD/EC2 lives!

2010-12-13 Thread Colin Percival
On 12/13/10 11:58, Vasiliy G Tolstov wrote: Great! Can You say, does freebsd support live migration and memory hotplug? I don't think so. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly

Re: FreeBSD/EC2 lives!

2010-12-17 Thread Colin Percival
I detached an EBS volume from a running instance. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list

Re: FreeBSD 8.2 PR PANIC PVM on Citrix XenServer

2010-12-18 Thread Colin Percival
a lot of bug fixes in there which I haven't MFCed yet. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list

Re: FreeBSD/EC2 lives!

2010-12-20 Thread Colin Percival
guess is that the VM code was adjusted to push that lock down (i.e., hold it for less time) and the xen code wasn't modified at the same time, but I haven't had time to investigate this fully yet.) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author

Re: kern/140313: [xen] [panic] FreeBSD8 RC2 as PV domU crashes during configure of security/libgcrypt

2010-12-25 Thread Colin Percival
The following reply was made to PR kern/140313; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: bug-follo...@freebsd.org, mister.o...@googlemail.com Cc: Subject: Re: kern/140313: [xen] [panic] FreeBSD8 RC2 as PV domU crashes during configure of security/libgcrypt Date

Re: kern/143069: [xen] [panic] Xen Kernel Panic - Memory modified after free (8.0-RELEASE)

2010-12-26 Thread Colin Percival
The following reply was made to PR kern/143069; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: bug-follo...@freebsd.org, fbs...@s.rhythm.cx Cc: Subject: Re: kern/143069: [xen] [panic] Xen Kernel Panic - Memory modified after free (8.0-RELEASE) Date: Sun, 26 Dec 2010

Re: kern/153620: Xen guest system clock drifts in AWS EC2 (FreeBSD 9.0-CURRENT i386 T1-micro)

2011-01-02 Thread Colin Percival
The following reply was made to PR kern/153620; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: bug-follo...@freebsd.org, fbsd-9.0-aws-ec2-1293964...@holmberg.to Cc: Subject: Re: kern/153620: Xen guest system clock drifts in AWS EC2 (FreeBSD 9.0-CURRENT i386 T1-micro

Re: kern/153674: i386/XEN idle thread shows wrong percentages

2011-01-04 Thread Colin Percival
The following reply was made to PR kern/153674; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: bug-follo...@freebsd.org, f...@freebsd.org Cc: Subject: Re: kern/153674: i386/XEN idle thread shows wrong percentages Date: Tue, 04 Jan 2011 07:31:16 -0800 FWIW

Re: kern/153789: REGRESSION: FreeBSD 8.2-RC1 crashes under Solaris/Xen while FreeBSD 8.1-p2 does not.

2011-01-08 Thread Colin Percival
The following reply was made to PR kern/153789; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: bug-follo...@freebsd.org, g...@avalon-island.ru Cc: Subject: Re: kern/153789: REGRESSION: FreeBSD 8.2-RC1 crashes under Solaris/Xen while FreeBSD 8.1-p2 does not. Date: Sat

does anyone have Xen running on an AMD system?

2011-01-11 Thread Colin Percival
, please let me know ASAP -- I'm hoping to get this fix into 8.2-RELEASE, and there's only a few days left. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid

Re: does anyone have Xen running on an AMD system?

2011-01-11 Thread Colin Percival
Regards, Andras Colin Percival wrote: Hi all, I'm looking for someone with a recent AMD system who has Xen running and/or can install it. I've had a report of a FreeBSD 8.x panic while booting on AMD, and it looks very plausible to me, but I need to be able to reproduce it so that I can

Re: does anyone have Xen running on an AMD system?

2011-01-12 Thread Colin Percival
you get the same panic with -CURRENT? (I'm guessing you will given that the xen code is very close to identical between 9.0 and 8.2, but always best to check...) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups

Re: does anyone have Xen running on an AMD system?

2011-01-12 Thread Colin Percival
you try the attached patch (under the same conditions to avoid the pmap_init panic) and let me know if this problem goes away? -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid Index: i386

Re: does anyone have Xen running on an AMD system?

2011-01-12 Thread Colin Percival
instruction pointer= 0x21:0xc032b311 Can you check (using addr2line) where 0xc032b311 is? Thanks, -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid

Re: does anyone have Xen running on an AMD system?

2011-01-13 Thread Colin Percival
On 01/13/11 14:35, Gót András wrote: Colin Percival wrote: This is a different panic (PR kern/152228). To fix this one, set machdep.idle_mwait=0 in the loader. er, how could we set it from the Xen config side (or any side)? With Linux, in PV mode Xen just boots the kernel with some params

Re: does anyone have Xen running on an AMD system?

2011-01-14 Thread Colin Percival
On 01/13/11 14:46, Gót András wrote: It boots fine with machdep.idle_mwait=0 Ok, so to be clear: The AMD system which needs my patch in order to boot 8.2 can boot the latest HEAD without any patches? -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder

Re: kern/154428: xn0 network interface and PF - Massive performance drop

2011-02-12 Thread Colin Percival
to how much data gets handed off to the hypervisor at once... why this would cause issues only with PF, I have no idea, though. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid

Re: kern/154428: xn0 network interface and PF - Massive performance drop

2011-02-12 Thread Colin Percival
The following reply was made to PR kern/154428; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: Alex joo...@joovke.com Cc: freebsd-xen@freebsd.org, bug-follo...@freebsd.org Subject: Re: kern/154428: xn0 network interface and PF - Massive performance drop Date: Sat, 12

breakage in blkfront with ring_pages 1

2011-06-09 Thread Colin Percival
this? Is it possible that there's a bug in how our blkfront negotiates the request ring? Does anyone have ring_pages 1 in use? -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid

Re: FreeBSD/EC2 lives!

2011-06-21 Thread Colin Percival
On 06/21/11 18:15, Chris Fordham wrote: On Tue, 14 Dec 2010 06:00:34 +1100, Colin Percival wrote: Thanks to a month of bug fixing and a lot of help from Amazon, FreeBSD is now available on EC2: http://www.daemonology.net/blog/2010-12-13-FreeBSD-on-EC2.html Only for 9.0-CURRENT and only t1

Re: FreeBSD/EC2 lives!

2011-06-22 Thread Colin Percival
On 06/21/11 22:34, Chris Fordham wrote: On Wed, 22 Jun 2011 15:12:55 +1000, Colin Percival wrote: The current status of FreeBSD/EC2 is at http://www.daemonology.net/freebsd-on-ec2/ I am an engineer at RightScale and a couple of us that are FreeBSD users are looking at creating RightImages

Re: breakage in blkfront with ring_pages 1

2011-07-05 Thread Colin Percival
On 06/10/11 13:30, Justin T. Gibbs wrote: On 6/9/11 9:26 PM, Colin Percival wrote: Has anyone seen anything like this? Is it possible that there's a bug in how our blkfront negotiates the request ring? Does anyone have ring_pages 1 in use? The only backend driver I know of that can

Re: breakage in blkfront with ring_pages 1

2011-07-05 Thread Colin Percival
[oops, let's try sending this again with reply-all instead of reply...] On 07/05/11 19:04, Justin T. Gibbs wrote: On 7/5/11 7:14 PM, Colin Percival wrote: On 06/10/11 13:30, Justin T. Gibbs wrote: On 6/9/11 9:26 PM, Colin Percival wrote: Has anyone seen anything like this? Is it possible

Re: breakage in blkfront with ring_pages 1

2011-07-05 Thread Colin Percival
On 07/05/11 19:42, Colin Percival wrote: On 07/05/11 19:04, Justin T. Gibbs wrote: On 7/5/11 7:14 PM, Colin Percival wrote: Maybe the right option is to have a loader tunable dev.xn.linuxback to control which version of the protocol is used? What a mess. Yep. Mess or not, shall I go

how to get max # of mbufs in a packet from xn to the tcp stack?

2011-07-06 Thread Colin Percival
a value from the interface up into tcp_output; can someone advise? -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid Index: kern/uipc_mbuf.c

Re: breakage in blkfront with ring_pages 1

2011-07-06 Thread Colin Percival
On 07/06/11 15:55, Justin T. Gibbs wrote: On 7/5/11 10:14 PM, Colin Percival wrote: On 07/05/11 19:42, Colin Percival wrote: Yep. Mess or not, shall I go ahead with having a loader tunable control this, or can you think of a better solution? Does anyone object to the attached patch

FreeBSD now available on more EC2 instance types

2011-07-07 Thread Colin Percival
FreeBSD can now run on all 64-bit EC2 instance types: http://www.daemonology.net/blog/2011-07-08-FreeBSD-on-EC2-via-defenestration.html -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid

Re: Xen save/resume with XENHVM kernel

2011-07-20 Thread Colin Percival
, even if it's not under ideal conditions? I'm not aware of any ongoing work on this. Most of the places where FreeBSD is being used with Xen don't use live migration. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online

Re: FreeBSD PV i386 panics

2011-07-26 Thread Colin Percival
a hard limit on the amount of RAMS we can use here? There's a problem somewhere in FreeBSD's PV machine init code, but I haven't had an opportunity to track it down yet. I hope to look at this some time soon (if I can access the xen box in the cluster?) but I've been swamped lately. -- Colin

Re: FreeBSD 8, PV i386 VNC fails?

2011-07-26 Thread Colin Percival
paravirtual console which lets you read and write characters as on a serial console. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd

Re: PV i386 patch

2011-12-17 Thread Colin Percival
something at a similar level of fail. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list http

Re: PV i386 patch

2011-12-20 Thread Colin Percival
On 12/20/11 10:49, Alan Cox wrote: Do either of you know if there is a PR in gnats for this 768 MB limitation bug that I should mention in the commit log? The only one I'm aware of is kern/153789. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author

Re: FreeBSD at Amazon EC2 status

2012-01-03 Thread Colin Percival
(dns and http with accept filter) and memory/buffer cache intensive applications on m1.small, m1.large and m2.xlarge instances. Any thoughts ? You can't run FreeBSD on m1.small, but it works just fine on m1.large and m2.xlarge as long as you don't mind paying the Windows tax. -- Colin Percival

i386/XENHVM now works

2012-01-15 Thread Colin Percival
Hi all, i386/XENHVM now works on HEAD. I'll MFC to stable/9 in a week or two. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd

FreeBSD now available on all EC2 instance types

2012-01-16 Thread Colin Percival
Details at http://www.daemonology.net/blog/2012-01-16-FreeBSD-now-on-all-EC2-instance-types.html -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid

Re: FreeBSD now available on all EC2 instance types

2012-01-17 Thread Colin Percival
/obj/i386.i386/usr/src/sys/XENHVM i386 The csup'ed source tree does not contain such configuration. It does for amd64. And there's a XEN configuration for i386. But no XENHVM configuration for i386. Yep, that's why there's a patch in /root/ec2-bits which adds XENHVM. :-) -- Colin Percival

Re: FreeBSD now available on all EC2 instance types

2012-01-17 Thread Colin Percival
relevant to the EC2 environment. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org

Re: FreeBSD now available on all EC2 instance types

2012-01-24 Thread Colin Percival
On 01/24/12 09:49, Adrian Chadd wrote: On 17 January 2012 15:34, Colin Percival cperc...@freebsd.org mailto:cperc...@freebsd.org wrote: * ec2.patch is just tweaking some configuration files, so that doesn't need to be merged and isn't really a patch anyway. There's also some

Re: amd64 xen hvm shutdown

2012-01-25 Thread Colin Percival
not poweroff. It behaves as if I issue a halt inside of it, and not a poweroff. Is there a way to have it power down itself? That sounds like a Xen configuration issue (poweroff behaviour?) rather than a FreeBSD issue to me. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power

Re: HEADS UP: Xen merge coming to stable/8

2012-02-14 Thread Colin Percival
On 02/14/12 15:36, Kenneth D. Merry wrote: I'm planning to merge pretty much all of the Xen changes from head into stable/8 soon. (i.e. before the stable/8 code freeze) Oh good, I've been meaning to do some merges but wasn't sure if I'd be able to find time before the freeze starts. -- Colin

Re: Q: speed and duplex of xn in amd64 XENHVM

2012-02-16 Thread Colin Percival
that is. -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: HEADS UP: Xen merge coming to stable/8

2012-02-17 Thread Colin Percival
On 02/17/12 02:00, Richard Kojedzinszky wrote: Dear Colin, Will the merges affect 8.2 as well? No, only security fixes and critical bug fixes get merged back to the old release branches. On Tue, 14 Feb 2012, Colin Percival wrote: Date: Tue, 14 Feb 2012 17:10:17 -0800 From: Colin Percival

re: kern/165418: [xen] Problems mounting root filesystem from XENHVM

2012-02-23 Thread Colin Percival
The following reply was made to PR kern/165418; it has been noted by GNATS. From: Colin Percival cperc...@freebsd.org To: bug-follo...@freebsd.org, stefan.wit...@zvw.uni-goettingen.de Cc: Subject: re: kern/165418: [xen] Problems mounting root filesystem from XENHVM Date: Thu, 23 Feb 2012 08:20

building kernel modules with XENHVM kernel

2012-06-03 Thread Colin Percival
without problems. Any objections? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman

anyone using FreeBSD/EC2 in production?

2012-09-11 Thread Colin Percival
Hi all, If anyone here is using FreeBSD/EC2 in production, please let me know. I'm trying to get FreeBSD into the Amazon Web Services Marketplace, and they want me to provide user references. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap

Re: anyone using FreeBSD/EC2 in production?

2012-09-13 Thread Colin Percival
these after all. (I'm guessing the people who run the AWS Marketplace just realized that porting a new OS to EC2 is not exactly the same as the usual selling a software package stories they see.) -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com

FreeBSD in AWS Marketplace

2012-11-20 Thread Colin Percival
website) would help to convince Amazon that this should be a priority. ;-) -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org

Re: misc. questions

2013-03-06 Thread Colin Percival
issue affecting pf+tso+xn (possibly pf+tso generally) which I haven't gotten around to tracking down. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid

Re: misc. questions

2013-03-07 Thread Colin Percival
On 03/07/13 04:35, Mark Felder wrote: On Wed, 06 Mar 2013 16:40:38 -0600, Colin Percival cperc...@freebsd.org wrote: You'll want to turn off tso, since it produces long mbuf chains which most xn netbacks choke on. (I have a very ugly workaround patch for this which I use on EC2, but simply

Re: [Xen-users] Trouble booting FreeBSD i386 PV DomU

2013-03-26 Thread Colin Percival
to go with FreeBSD/Xen. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: [Xen-users] Trouble booting FreeBSD i386 PV DomU

2013-03-26 Thread Colin Percival
On 03/26/13 03:10, Roger Pau Monné wrote: On 26/03/13 10:38, Colin Percival wrote: On 03/26/13 02:31, Roger Pau Monné wrote: Is Xen i386 PV broken? Not completely broken, but it's certainly not in a good state. I believe it's broken with SMP, for example -- if the crashed on cpu#7 in your

Re: FreeBSD PVHVM call for testing

2013-05-13 Thread Colin Percival
for that... it certainly would be good news. Certainly all the new instance types they've released in the past few years have had UNIX HVM support. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid

Re: FreeBSD PVHVM call for testing

2013-05-16 Thread Colin Percival
Devices on xenstore0 With a XENHVM kernel from FreeBSD HEAD the next line after that is xbd0: 10240MB Virtual Block Device at device/vbd/768 on xenbusb_front0 Any ideas? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups

Re: FreeBSD PVHVM call for testing

2013-05-16 Thread Colin Percival
mask=03 ostat0=00 ostat1=00 ata1: stat0=0x00 err=0x00 lsb=0x00 msb=0x00 ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=00 stat1=00 devices=0x0 -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups

Re: FreeBSD PVHVM call for testing

2013-05-18 Thread Colin Percival
On 05/18/13 02:50, Roger Pau Monné wrote: On 17/05/13 05:07, Colin Percival wrote: On 05/16/13 17:43, Roger Pau Monné wrote: Thanks for testing this on EC2, could you post the full dmesg? So I can see the hypervisor version and if the PV timer is loaded or not. Here's what I get

Re: FreeBSD PVHVM call for testing

2013-05-22 Thread Colin Percival
On 05/22/13 04:45, Roger Pau Monné wrote: On 18/05/13 17:44, Colin Percival wrote: That seems to work. dmesg is attached. Are there any particular tests you'd like me to run? I have not tested ZFS, that might be a good one. If you are running this on Xen 3.4 the behaviour should

Re: tcp offloading

2013-05-23 Thread Colin Percival
on netfront, we can generate longer mbuf chains than the Linux netback is able to handle. I have an ugly patch for this on EC2, but andre will be fixing this better in the near future. For now I recommend # ifconfig xn0 -tso unless you need multi-Gbps networking performance. -- Colin Percival

Re: [Xen-devel] FreeBSD PVHVM call for testing

2013-05-28 Thread Colin Percival
disk xbd2 GEOM: new disk xbd3 GEOM: new disk xbd4 Trying to mount root from ufs:/dev/ad0a [rw]... start_init: trying /sbin/init and then the userland boot process; have you made any bug fixes after your pvhvm_v7 which would explain why tasting disks was hanging? -- Colin Percival Security

Re: svn commit: r251297 - head/sys/dev/xen/netfront

2013-06-03 Thread Colin Percival
(and building into my EC2 images) for the past two years. Now the only step remaining to make FreeBSD/EC2 pure straight off the RELEASE ISO FreeBSD is to get Xen HVM functionality into GENERIC. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap

CFT: replacing XENHVM kernel config with GENERIC + xenhvm.ko

2013-08-26 Thread Colin Percival
this to freebsd-current for wider review later this week and then commit it before the FreeBSD 10.0 code freeze starts on September 7th. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid Index: sys

Re: CFT: replacing XENHVM kernel config with GENERIC + xenhvm.ko

2013-08-28 Thread Colin Percival
Hi Roger, On 08/28/13 08:44, Roger Pau Monné wrote: On 27/08/13 07:08, Colin Percival wrote: I've attached a patch which eliminates the XENHVM kernel configuration and instead allows FreeBSD to run under Xen/HVM with PV drivers by loading a new xenhvm.ko module from the boot loader. I'm

Re: [CFR] Event channel Interrupts and unified Xen interrupt infrastructure.

2013-08-29 Thread Colin Percival
/__predict_false/ separately would help. How do you intend to have Xen HVM work in the GENERIC kernel configuration? Will you be adding 'options XENHVM' to GENERIC? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly

Re: [CFR] Event channel Interrupts and unified Xen interrupt infrastructure.

2013-08-29 Thread Colin Percival
In sys/x86/xen/hvm.c: +/** + * If non-zero, the hypervisor has been configured to use a direct + * IDT event callback to the + */ This comment seems to be missing part of its -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online

Re: [CFR] Event channel Interrupts and unified Xen interrupt infrastructure.

2013-08-30 Thread Colin Percival
into the tree. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen

Re: Current problem reports assigned to freebsd-xen@FreeBSD.org

2013-09-03 Thread Colin Percival
with yes, that code is horribly broken and needs a complete rewrite, don't even try to use it for now. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid

Please test the new Xen code in EC2

2013-10-02 Thread Colin Percival
/ -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-xen

Is ixgbe usable with SR-IOV?

2013-12-01 Thread Colin Percival
, the DHCP works just fine. Has anyone managed to use {FreeBSD, SR-IOV, ixgbe, Xen}? Was any magic necessary in order to make it work? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid

Re: Is ixgbe usable with SR-IOV?

2013-12-04 Thread Colin Percival
assign it an address, but it continues to not pass packets. Are there any diagnostic tunables/sysctls I should try turning on? Since this is in EC2 I'm unfortunately limited to printf-style debugging. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap

Re: Is ixgbe usable with SR-IOV?

2013-12-05 Thread Colin Percival
something set up and check it here. This is Xen, running in this case using HVM: http://aws.amazon.com/ec2/ -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid

Re: XEN vs XENHVM?

2013-12-13 Thread Colin Percival
to switch to using HVM with PV devices. That should be a simple tweak to your Xen configuration, and then you'll be able to use a GENERIC kernel. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid

Xen/HVM support in stable/9: GENERIC + xenhvm.ko

2014-05-16 Thread Colin Percival
Hi all, As of r266269, stable/9 can run in Xen/HVM environments using the GENERIC kernel configuration plus a new xenhvm.ko. This will allow FreeBSD 9.3 to run in Xen using official release binaries as long as xenhvm_load=YES is placed in /boot/loader.conf. -- Colin Percival Security Officer

RFC: Dropping defenestrated EC2 image builds

2014-07-05 Thread Colin Percival
work, of course.) Thoughts? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid ___ freebsd-xen@freebsd.org mailing list http://lists.freebsd.org/mailman

Fwd: New list: freebsd-cl...@freebsd.org

2014-11-21 Thread Colin Percival
The freebsd-xen list has been the de facto forum for discussing FreeBSD/EC2 for many years; but we have a new list, so I encourage everybody interested in using FreeBSD on clouds (as opposed to, say, writing Xen kernel code) to migrate over to the freebsd-cloud list. Colin Percival

Re: Networking under Xen

2015-07-26 Thread Colin Percival
On 07/26/15 06:16, Kristof Provost wrote: On 2015-07-15 00:54:25 (-0700), Colin Percival cperc...@freebsd.org wrote: In my tests, deleting these lines from pf_ioctl.c 3570 /* We need a proper CSUM befor we start (s. OpenBSD ip_output) */ [...] unbreaks pf+TSO on EC2 instances. I'm

Re: Networking under Xen

2015-07-14 Thread Colin Percival
issue. It's inserting TCP checksums into TSO packets. I reported this a long time ago and I don't know why pf still hasn't been fixed. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid

recent disk-related breakage

2016-01-10 Thread Colin Percival
ead() at dofileread+0x98/frame 0xfe0f4dadb900 kern_readv() at kern_readv+0x68/frame 0xfe0f4dadb950 sys_read() at sys_read+0x60/frame 0xfe0f4dadb9a0 Does anyone remember touching any relevant bits of code in that timeframe? -- Colin Percival Security Officer Emeritus, FreeBSD | The p

Re: recent disk-related breakage

2016-01-10 Thread Colin Percival
determine if it's responsible experimentally, but testing a "system no longer boots" bug in EC2 is painfully slow and it's getting late here.) Colin Percival On 01/10/16 22:28, Colin Percival wrote: > Some time in early December, disk I/O broke. The EC2 image built from r291495 > wor

Re: number of xen block devices

2016-09-20 Thread Colin Percival
an artificial limit we can get past by simply recompiling > something? There was a bug a while back which resulted in high-numbered xbd devices not showing up; I fixed that three years ago in r255051, shortly before stable/10 branched. -- Colin Percival Security Officer Emeritus, FreeBSD | T

Re: xn0 systat no egress data?

2016-10-31 Thread Colin Percival
On 10/31/16 14:57, Pete Wright wrote: > On 10/31/16 2:08 PM, Colin Percival wrote: >> On 10/31/16 13:44, Pete Wright wrote: >>> hey all - this is regarding the following bug i've opened: >>> >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213814 >>&

Re: svn commit: r310177 - in head/sys: amd64/conf i386/conf

2016-12-21 Thread Colin Percival
ys/i386/conf/GENERICFri Dec 16 21:10:37 2016 > (r310177) > @@ -96,6 +96,7 @@ options MALLOC_DEBUG_MAXZONES=8 # Separ > # To make an SMP kernel, the next two lines are needed > options SMP # Symmetric MultiProcessor Kernel > device

Re: amazon/xen... any way at all to pass a message/signal/semaphoere/morse-code to the boot loader?

2017-04-11 Thread Colin Percival
doesn't know anything about these. (The boot device is also a blkfront device but gets ATA emulation for the benefit of boot loaders.) Maybe you can repurpose some of the logic used for booting over NFS? I've never heard of people booting over NFS when the initial bootstrap comes from disk rathe

Re: Bug in XEN support with IPIs?

2018-10-19 Thread Colin Percival
modified FreeBSD kernel). Which version are you looking at? We fixed a bug along these lines just about a month ago -- see r338624-338631. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backup