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

2013-08-26 Thread FreeBSD bugmaster
Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o kern/180788  xen[xen] [panic] XEN PV kernel 9.2-BETA1 panics on boot
o kern/180403  xen[xen] Problems with GENERIC and XENHVM kernels with Xe
o kern/180402  xen[xen] XEN kernel does not load in XenClient 4.5.5
o kern/179814  xen[xen] mountroot fails with error=19 under Xen on 9-STA
o kern/176471  xen[xen] xn driver crash on detach
o kern/176053  xen[xen] [patch] i386: Correct wrong usage of vsnprintf()
o kern/175954  xen[xen] XENHVM xn network driver extreme packet loss dur
o kern/175822  xen[xen] FreeBSD 9.1 does not work with Xen 4.0
o kern/175757  xen[xen] [patch] xen pvhvm looses keyboard input from VNC
o kern/171873  xen[xen] xn network device floods warning in dmesg
o kern/171118  xen[xen] FreeBSD XENHVM guest doesn't shutdown cleanly
o kern/166174  xen[xen] Problems ROOT MOUNT ERROR freebsd 8.3
o kern/165418  xen[xen] Problems mounting root filesystem from XENHVM
o kern/164630  xen[xen] XEN HVM kernel: run_interrupt_driven_hooks: stil
o kern/164450  xen[xen] Failed to install FreeeBSD 9.0-RELEASE from CD i
o kern/162677  xen[xen] FreeBSD not compatible with Current Stable Xen
o kern/161318  xen[xen] sysinstall crashes with floating point exception
o kern/155468  xen[xen] Xen PV i386 multi-kernel CPU system is not worki
o kern/155353  xen[xen] [patch] put nudging TOD message under boot_ver
o kern/154833  xen[xen]: xen 4.0 - DomU freebsd8.2RC3 i386, XEN kernel. 
o kern/154473  xen[xen] xen 4.0 - DomU freebsd8.1 i386, XEN kernel. Not 
o kern/154472  xen[xen] xen 4.0 - DomU freebsd8.1 i386 xen kernel reboot
o kern/154428  xen[xen] xn0 network interface and PF - Massive performan
o kern/153674  xen[xen] i386/XEN idle thread shows wrong percentages
o kern/153672  xen[xen] [panic] i386/XEN panics under heavy fork load
o kern/153620  xen[xen] Xen guest system clock drifts in AWS EC2 (FreeBS
o kern/153477  xen[xen] XEN pmap code abuses vm page queue lock
o kern/153150  xen[xen] xen/ec2: disable checksum offloading on interfac
o kern/152228  xen[xen] [panic] Xen/PV panic with machdep.idle_mwait=1
o kern/144629  xen[xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor
o kern/143398  xen[xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor
o kern/143340  xen[xen] FreeBSD 8-RELEASE XEN pvm networking doesn't wor
f kern/143069  xen[xen] [panic] Xen Kernel Panic - Memory modified after
f kern/135667  xenufs filesystem corruption on XEN DomU system
f kern/135421  xen[xen] FreeBSD Xen PVM DomU network failure - netfronc.
f kern/135178  xen[xen] Xen domU outgoing data transfer stall when TSO i
p kern/135069  xen[xen] FreeBSD-current/Xen SMP doesn't function at all 
f i386/124516  xen[xen] FreeBSD-CURRENT Xen Kernel Segfaults when config
o kern/118734  xen[xen] FreeBSD 6.3-RC1 and FreeBSD 7.0-BETA 4 fail to b

39 problems total.

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org


Re: [FreeBSD 9.1 and XenServer 5.6.0]

2013-08-26 Thread Ederson de Moura
Hi,

Karl: Is no media in the driver, the iso image was also removed! still the
problem persists.

Sergey: The problem remains, did the change in /etc/ttys as described
here:

http://wiki.sysconfig.org.uk/display/howto/Xen+FreeBSD+8.2+DomU+%28PV%29+--+Step+by+Step+Howto

But when I reboot, the system hangs at the same stage.

Regards,

EDM.


On 23 August 2013 13:02, Sergey Kandaurov pluk...@gmail.com wrote:

 On 23 August 2013 16:45, Ederson de Moura eder...@gmail.com wrote:
  Hello guys,
 
  I installed FreeBSD 9.1 (64 bit) in XenServer (5.6.0)! It's running
  perfectly, following the tutorial below:
 
 
 http://www.vanhal-ict.nl/1/post/2012/8/freebsd-9-domu-on-xen-part-i-installing-freebsd.html
 
  But the moment you recompile the kernel GENERIC, the system hangs on
 load. Even
  making the changes suggested in the tutorial (Part II: Optimizing
 FreeBSD) or
  not.
 
  The system does not load! as follows my print:
 
  http://200.189.101.110/~edm/FreeBSD-Xen-Stop.png
 
  Reloading the old kernel, the system up! Does anyone have any idea what
 could
  be the problem?
 
  Best regards,
 

 Also, I would check if multiuser output is properly routed.  Check your
 /etc/ttys. I don't remember well but to get them you probably need to
 replace ttyv0 with xc0 which is the default Xen console instead of UART.

 That would answer why you see kernel messages and don't see multiuser ones
 which usually appear right after cd0 string or close to.

 --
 wbr,
 pluknet




-- 
Ederson de Moura
http://sites.google.com/site/edersondemoura/
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to freebsd-xen-unsubscr...@freebsd.org


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

2013-08-26 Thread Colin Percival
Hi all,

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.  This will mean that FreeBSD
virtual machines running under Xen/HVM will be able to run straight off
the ISO binaries; this will also mean they will be able to use FreeBSD
Update to update the kernel.

I have spent about 10 minutes testing this in Amazon EC2.  Please help me
out by doing some more testing. ;-)

The fine details:
1. I've created a new kernel module for i386 and amd64, xenhvm, with all
of the source files which were added via options XENHVM and device xenpci.
2. I have removed those from sys/conf/files and sys/conf/options.*; those
options are now meaningless.
3. I moved the detect Xen and disable QEMU emulated devices code from
sys/amd64/amd64/machdep.c to the kernel module MOD_LOAD event handler.
4. I have made the PCPU values required by Xen/HVM support -- two unsigned
ints -- unconditionally compiled in.  This is the only change to the GENERIC
kernel.
5. I have removed the XENHVM kernel configuration files.

Depending on feedback from freebsd-xen@ I hope to send 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/amd64/amd64/machdep.c
===
--- sys/amd64/amd64/machdep.c   (revision 254941)
+++ sys/amd64/amd64/machdep.c   (working copy)
@@ -1910,14 +1910,6 @@
if (env != NULL)
strlcpy(kernelname, env, sizeof(kernelname));
 
-#ifdef XENHVM
-   if (inw(0x10) == 0x49d2) {
-   if (bootverbose)
-   printf(Xen detected: disabling emulated block and 
network devices\n);
-   outw(0x10, 3);
-   }
-#endif
-
cpu_probe_amdc1e();
 
 #ifdef FDT
Index: sys/amd64/conf/XENHVM
===
--- sys/amd64/conf/XENHVM   (revision 254941)
+++ sys/amd64/conf/XENHVM   (working copy)
@@ -1,22 +0,0 @@
-#
-# XENHVM -- Xen HVM kernel configuration file for FreeBSD/amd64
-#
-# $FreeBSD$
-#
-includeGENERIC
-ident  XENHVM
-
-#
-# Adaptive locks rely on a lock-free pointer read to determine the run state
-# of the thread holding a lock when under contention; under a virtualisation
-# system, the thread run state may not accurately reflect whether the thread
-# (or rather its host VCPU) is actually executing.  As such, disable this
-# optimisation.
-#
-optionsNO_ADAPTIVE_MUTEXES
-optionsNO_ADAPTIVE_RWLOCKS
-optionsNO_ADAPTIVE_SX
-
-# Xen HVM support
-optionsXENHVM
-device xenpci
Index: sys/amd64/include/pcpu.h
===
--- sys/amd64/include/pcpu.h(revision 254941)
+++ sys/amd64/include/pcpu.h(working copy)
@@ -42,14 +42,10 @@
 #endif
 #endif
 
-#ifdef XENHVM
 #define PCPU_XEN_FIELDS
\
;   \
unsigned int pc_last_processed_l1i; \
unsigned int pc_last_processed_l2i
-#else
-#define PCPU_XEN_FIELDS
-#endif
 
 /*
  * The SMP parts are setup in pmap.c and locore.s for the BSP, and
Index: sys/conf/files
===
--- sys/conf/files  (revision 254941)
+++ sys/conf/files  (working copy)
@@ -2490,16 +2490,14 @@
clean   wpi.fw
 dev/xe/if_xe.c optional xe
 dev/xe/if_xe_pccard.c  optional xe pccard
-dev/xen/balloon/balloon.c  optional xen | xenhvm
-dev/xen/blkfront/blkfront.coptional xen | xenhvm
-dev/xen/blkback/blkback.c  optional xen | xenhvm
+dev/xen/balloon/balloon.c  optional xen
+dev/xen/blkfront/blkfront.coptional xen
+dev/xen/blkback/blkback.c  optional xen
 dev/xen/console/console.c  optional xen
 dev/xen/console/xencons_ring.c optional xen
-dev/xen/control/control.c  optional xen | xenhvm
-dev/xen/netback/netback.c  optional xen | xenhvm
-dev/xen/netfront/netfront.coptional xen | xenhvm
-dev/xen/xenpci/xenpci.coptional xenpci
-dev/xen/xenpci/evtchn.c optional xenpci
+dev/xen/control/control.c  optional xen
+dev/xen/netback/netback.c  optional xen
+dev/xen/netfront/netfront.coptional xen
 dev/xl/if_xl.c optional xl pci
 dev/xl/xlphy.c optional xl pci
 fs/deadfs/dead_vnops.c standard
@@ -3813,18 +3811,18 @@
 vm/vm_unix.c   standard
 vm/vm_zeroidle.c   standard
 vm/vnode_pager.c   standard
-xen/gnttab.c   optional xen