Re: 8.2 releng
On Mon, 2012-01-16 at 02:58 -0800, Richard Kojedzinszky wrote: Dear Sean, I've investigated the problem, and found the following: When starting with # xm create -c /dev/null kernel=/home/krichy/kernel extra=kern.hz=100 memory=464 The kernel boots up, but when adding only one more MB to it, as: # xm create -c /dev/null kernel=/home/krichy/kernel extra=kern.hz=100 memory=465 it does crash. The config is the simple one I've attached previously, with pf and pflog disabled. But again, if I enable pf and pflog, the domain starts with 512MB ram well. Regards, Ah, this one! Alan has resolved these issues in xen on -current at the moment. I suspect an MFC is coming soon: http://svnweb.freebsd.org/base/head/sys/i386/xen/?view=log If you want to try r229007, r228935, r228923, r228747, r228746 and r228522 on stable/8 we'd appreciate the testing. Sean ___ 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: 8.2 releng
Dear users, I forget to mention, If i remove pf and pflog from the config, then the built kernel boots well under xen. Regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. On Tue, 3 Jan 2012, Richard Kojedzinszky wrote: Date: Tue, 3 Jan 2012 10:40:13 +0100 (CET) From: Richard Kojedzinszky kri...@tvnetwork.hu To: freebsd-xen@FreeBSD.org Subject: 8.2 releng Dear xen developers, I have a xen domU with the attached config, and unfortunately it does not boot. I am compiling it with: $ make kernel KERNCONF=DB WERROR= And it only makes a crash dump in the hosts xm dmesg. It is a recent 8.2 releng src tree. What should I change to make this work? Regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. ___ 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
8.2 releng
Dear xen developers, I have a xen domU with the attached config, and unfortunately it does not boot. I am compiling it with: $ make kernel KERNCONF=DB WERROR= And it only makes a crash dump in the hosts xm dmesg. It is a recent 8.2 releng src tree. What should I change to make this work? Regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt.# # XEN -- Kernel configuration for i386 XEN DomU # # $FreeBSD: src/sys/i386/conf/XEN,v 1.9.2.2.2.1 2010/12/21 17:09:25 kensmith Exp $ cpu I686_CPU ident DB #makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols makeoptions MODULES_OVERRIDE= #optionsSCHED_4BSD options SCHED_ULE # ULE scheduler #optionsPREEMPTION # Enable kernel thread preemption options INET# InterNETworking options INET6 # IPv6 communications protocols options ACCEPT_FILTER_HTTP options ACCEPT_FILTER_DATA options ACCEPT_FILTER_DNS #optionsSCTP# Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support #optionsUFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories #optionsNULLFS #optionsUFS_GJOURNAL# Enable gjournal-based UFS journaling #optionsNFSCLIENT # Network Filesystem Client #optionsNFSSERVER # Network Filesystem Server #optionsNFSLOCKD# Network Lock Manager #optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT #optionsMSDOSFS # MSDOS Filesystem #optionsCD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization #optionsCOMPAT_43TTY# BSD 4.3 TTY compat (sgtty) #optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4 #optionsCOMPAT_FREEBSD5 # Compatible with FreeBSD5 #optionsCOMPAT_FREEBSD6 # Compatible with FreeBSD6 #optionsCOMPAT_FREEBSD7 # Compatible with FreeBSD7 #optionsKTRACE # ktrace(1) support #optionsSTACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AUDIT # Security event auditing # Debugging for use in -current #optionsKDB # Enable kernel debugger support. #optionsDDB # Support DDB. #optionsGDB # Support remote GDB. #optionsINVARIANTS # Enable calls of extra sanity checking #optionsINVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS #optionsWITNESS # Enable checks to detect deadlocks and cycles #optionsWITNESS_SKIPSPIN# Don't run witness on spinlocks for speed options PAE nooptionNATIVE option XEN nodeviceatpic nodeviceisa options MCLSHIFT=12 # To make an SMP kernel, the next two lines are needed #optionsSMP # Symmetric MultiProcessor Kernel #device apic# I/O APIC device pci # Pseudo devices. device loop# Network loopback device random # Entropy device device ether # Ethernet support #device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) #device md # Memory disks #device gif # IPv6 and IPv4 tunneling #device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. #device bpf # Berkeley packet filter device pf device pflog #optionsMAC #optionsMAC_BIBA #optionsMAC_MLS #optionsMAC_SEEOTHERUIDS #optionsIPSEC #device crypto ___ freebsd-xen@freebsd.org
Re: 8.2 releng
Dear Sean, Attached. Thanks in advance, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. On Tue, 3 Jan 2012, Sean Bruno wrote: Date: Tue, 03 Jan 2012 08:00:28 -0800 From: Sean Bruno sean...@yahoo-inc.com To: Richard Kojedzinszky kri...@tvnetwork.hu Cc: freebsd-xen@freebsd.org freebsd-xen@freebsd.org Subject: Re: 8.2 releng Can you send in your xen domu config? Sean On Tue, 2012-01-03 at 01:56 -0800, Richard Kojedzinszky wrote: Dear users, I forget to mention, If i remove pf and pflog from the config, then the built kernel boots well under xen. Regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. On Tue, 3 Jan 2012, Richard Kojedzinszky wrote: Date: Tue, 3 Jan 2012 10:40:13 +0100 (CET) From: Richard Kojedzinszky kri...@tvnetwork.hu To: freebsd-xen@FreeBSD.org Subject: 8.2 releng Dear xen developers, I have a xen domU with the attached config, and unfortunately it does not boot. I am compiling it with: $ make kernel KERNCONF=DB WERROR= And it only makes a crash dump in the hosts xm dmesg. It is a recent 8.2 releng src tree. What should I change to make this work? Regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. ___ 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 # # XEN -- Kernel configuration for i386 XEN DomU # # $FreeBSD: src/sys/i386/conf/XEN,v 1.9.2.2.2.1 2010/12/21 17:09:25 kensmith Exp $ cpu I686_CPU ident DB #makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols makeoptions MODULES_OVERRIDE= #optionsSCHED_4BSD options SCHED_ULE # ULE scheduler #optionsPREEMPTION # Enable kernel thread preemption options INET# InterNETworking options INET6 # IPv6 communications protocols options ACCEPT_FILTER_HTTP options ACCEPT_FILTER_DATA options ACCEPT_FILTER_DNS #optionsSCTP# Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support #optionsUFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories #optionsNULLFS #optionsUFS_GJOURNAL# Enable gjournal-based UFS journaling #optionsNFSCLIENT # Network Filesystem Client #optionsNFSSERVER # Network Filesystem Server #optionsNFSLOCKD# Network Lock Manager #optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT #optionsMSDOSFS # MSDOS Filesystem #optionsCD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization #optionsCOMPAT_43TTY# BSD 4.3 TTY compat (sgtty) #optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4 #optionsCOMPAT_FREEBSD5 # Compatible with FreeBSD5 #optionsCOMPAT_FREEBSD6 # Compatible with FreeBSD6 #optionsCOMPAT_FREEBSD7 # Compatible with FreeBSD7 #optionsKTRACE # ktrace(1) support #optionsSTACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AUDIT # Security event auditing # Debugging for use in -current #optionsKDB # Enable kernel debugger support. #optionsDDB # Support DDB. #optionsGDB # Support remote GDB. #optionsINVARIANTS # Enable calls of extra sanity checking #optionsINVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS #optionsWITNESS # Enable checks to detect deadlocks and cycles #optionsWITNESS_SKIPSPIN# Don't run witness on spinlocks for speed options PAE nooptionNATIVE option XEN nodeviceatpic nodeviceisa options MCLSHIFT=12 # To make an SMP kernel, the next two lines are needed #optionsSMP # Symmetric MultiProcessor Kernel
Re: 8.2 releng
No, not the kernel config. See attached example. Sean On Tue, 2012-01-03 at 08:16 -0800, Richard Kojedzinszky wrote: Dear Sean, Attached. Thanks in advance, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. On Tue, 3 Jan 2012, Sean Bruno wrote: Date: Tue, 03 Jan 2012 08:00:28 -0800 From: Sean Bruno sean...@yahoo-inc.com To: Richard Kojedzinszky kri...@tvnetwork.hu Cc: freebsd-xen@freebsd.org freebsd-xen@freebsd.org Subject: Re: 8.2 releng Can you send in your xen domu config? Sean On Tue, 2012-01-03 at 01:56 -0800, Richard Kojedzinszky wrote: Dear users, I forget to mention, If i remove pf and pflog from the config, then the built kernel boots well under xen. Regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. On Tue, 3 Jan 2012, Richard Kojedzinszky wrote: Date: Tue, 3 Jan 2012 10:40:13 +0100 (CET) From: Richard Kojedzinszky kri...@tvnetwork.hu To: freebsd-xen@FreeBSD.org Subject: 8.2 releng Dear xen developers, I have a xen domU with the attached config, and unfortunately it does not boot. I am compiling it with: $ make kernel KERNCONF=DB WERROR= And it only makes a crash dump in the hosts xm dmesg. It is a recent 8.2 releng src tree. What should I change to make this work? Regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. ___ 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 # Python configuration setup for 'xm create'. # This script sets the parameters used when a domain is created using 'xm create'. # You use a separate script for each domain you want to create, or # you can set the parameters for the domain on the xm command line. # # # Kernel image file. #kernel = /usr/lib/xen/boot/hvmloader kernel = /var/virt/freebsd-8-stable-i386-domu-kernel # # device model to use: only qemu-dm available for now #device_model = '/usr/lib64/xen/bin/qemu-dm' #builder='hvm' # Initial memory allocation (in megabytes) for the new domain. memory = 855 # number of CPUS vcpus = 1 # A name for your domain. All domains must have different names. name = ref8-xen32 arch = i386 #Network interface. By default emules a realtek 8139. For a NetBSD guest you # have to disable re(4) and let rtk attach to use it. # ne2k_pci emulates a pci ne2000 clone; this his cpu-hungry in dom0 # pcnet emulates a AMD PCnet-PCI controller; but it corrupts packets with # pcn(4) under NetBSD. #vif = [ 'mac=00:16:3e:00:00:01, bridge=xenbr0, type=ioemu' ] vif = [ 'mac=00:16:3e:00:00:01, bridge=xenbr0, type=vbd' ] # Define the disk devices you want the domain to have access to, and # what you want them accessible as. # Each disk entry is of the form phy:UNAME,DEV,MODE # where UNAME is the device, DEV is the device name the domain will see, # and MODE is r for read-only, w for read-write. # For hvm domains you can only use hda to hdd. You can set extra types # (e.g. cdrom) disk = [ 'file:/var/virt/ref8-xen32.bin,hda,w' ] extra = vfs.root.mountfrom=ufs:/dev/ad0s1a # floppy images; this doesn't seem to work currently. Use a iso image instead. #fda = '/home/domains/boot1.fs' # boot device: a = floppy, c= hard drive, d= cdrom (with the disk entry # before) # # boot CDROM image #boot='d' # boot from DISK file #boot='c' # boot from DHCP/PXE then DISK file boot='nc' # By default, 'xm create' will try to open an X window on the current display # for the virtal framebuffer. You can have the virtal framebuffer in vnc # instead, and connect using a vnc client (using localhost:$vncdisplay) # If vncunused is set to 1 (this is the default value), vncdisplay # will be set to the first unused port; so it's recommended to #vfb = [ type = vnc, vncdisplay = 1, vncunused = 0, display = TEST ] #Xen emulates a PS/2 mouse, but the pointer in the guest has difficulties # tracking the absolute position. Xen can emulate a USB tablet in addition # to the mouse which will report the absolute position of the pointer, # and make the mouse much easier to use. # usb=1 usbdevice='tablet' #usbdevice='mouse' apci = 1 serial='pty' on_reboot='restart' # ___ 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: 8.2 releng
Dear Sean, Sorry. I've attached it. The pygrub tries to load a kernel with the same arguments as which are commented out. regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. On Tue, 3 Jan 2012, Sean Bruno wrote: Date: Tue, 03 Jan 2012 08:29:01 -0800 From: Sean Bruno sean...@yahoo-inc.com To: Richard Kojedzinszky kri...@tvnetwork.hu Cc: freebsd-xen@freebsd.org freebsd-xen@freebsd.org Subject: Re: 8.2 releng No, not the kernel config. See attached example. Sean On Tue, 2012-01-03 at 08:16 -0800, Richard Kojedzinszky wrote: Dear Sean, Attached. Thanks in advance, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. On Tue, 3 Jan 2012, Sean Bruno wrote: Date: Tue, 03 Jan 2012 08:00:28 -0800 From: Sean Bruno sean...@yahoo-inc.com To: Richard Kojedzinszky kri...@tvnetwork.hu Cc: freebsd-xen@freebsd.org freebsd-xen@freebsd.org Subject: Re: 8.2 releng Can you send in your xen domu config? Sean On Tue, 2012-01-03 at 01:56 -0800, Richard Kojedzinszky wrote: Dear users, I forget to mention, If i remove pf and pflog from the config, then the built kernel boots well under xen. Regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. On Tue, 3 Jan 2012, Richard Kojedzinszky wrote: Date: Tue, 3 Jan 2012 10:40:13 +0100 (CET) From: Richard Kojedzinszky kri...@tvnetwork.hu To: freebsd-xen@FreeBSD.org Subject: 8.2 releng Dear xen developers, I have a xen domU with the attached config, and unfortunately it does not boot. I am compiling it with: $ make kernel KERNCONF=DB WERROR= And it only makes a crash dump in the hosts xm dmesg. It is a recent 8.2 releng src tree. What should I change to make this work? Regards, Kojedzinszky Richard Euronet Magyarorszag Informatikai Zrt. ___ 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 name = 'domu' memory = 512 vcpus = 1 cpus = '1-3' disk = [ 'phy:/dev/sys/domu-root,xvda,w', 'phy:/dev/sys/domu-swap,xvdb,w', 'phy:/dev/sys/domu-tmp,xvdc,w', 'phy:/dev/sys/domu-var,xvdd,w', 'phy:/dev/sys/domu-usr,xvde,w' ] vif = [ 'mac=00:16:3e:00:04:01' ] bootloader = /usr/lib/xen-4.0/bin/pygrub #kernel = '/boot/fbsd/kernel-i386-domU' #extra = vfs.root.mountfrom=ufs:/dev/xbd0 #extra += ,kern.hz=100 #extra += ,kern.maxusers=512 #extra += ,kern.ipc.semmni=256 #extra += ,kern.ipc.semmns=512 #extra += ,kern.ipc.semmnu=256 #extra += ,boot_single=1 ___ 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