Ubuntu upgrade - bhyve gets confused with vtblk

Rudy crapsh at monkeybrains.net
Wed Sep 3 04:11:07 UTC 2014


uname:
FreeBSD 10.0-STABLE #1 r264668M: Fri Apr 18 14:50:21 PDT 2014

interesting message at the bottom of the output below.
[  vtblk: ndesc (65535) out of range, driver confused?
Assertion failed: (n >= 2 && n <= VTBLK_MAXSEGS + 2), function 
pci_vtblk_proc, file /usr/src/usr.sbin/bhyve/pci_virtio_block.c, line 174.
                                 2Abort trap (core dumped)

Upgrading OS to 10-STABLE!

Rudy


[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.13.0-35-generic (buildd at panlong) (gcc 
version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #62-Ubuntu SMP Fri Aug 15 
01:58:42 UTC 2014 (Ubuntu 3.13.0-35.62-generic 3.13.11.6)
[    0.000000] Command line: console=ttyS0 BOOT_IMAGE=/vmlinuz 
root=/dev/vda1
[    0.000000] KERNEL supported cpus:
[    0.000000]   Intel GenuineIntel
[    0.000000]   AMD AuthenticAMD
[    0.000000]   Centaur CentaurHauls
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fffe] usable
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI not present or invalid.
[    0.000000] No AGP bridge found
[    0.000000] e820: last_pfn = 0x80000 max_arch_pfn = 0x400000000
[    0.000000] found SMP MP-table at [mem 0x000f0000-0x000f000f] mapped 
at [ffff8800000f0000]
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] Using GB pages for direct mapping
[    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]
[    0.000000] init_memory_mapping: [mem 0x7fe00000-0x7fffffff]
[    0.000000] init_memory_mapping: [mem 0x7c000000-0x7fdfffff]
[    0.000000] init_memory_mapping: [mem 0x00100000-0x7bffffff]
[    0.000000] RAMDISK: [mem 0x03668000-0x048cefff]
[    0.000000] ACPI: RSDP 00000000000f0400 000024 (v02 BHYVE )
[    0.000000] ACPI: XSDT 00000000000f0480 00003C (v01 BHYVE BVXSDT   
00000001 INTL 20130823)
[    0.000000] ACPI: APIC 00000000000f0500 000062 (v01 BHYVE BVMADT   
00000001 INTL 20130823)
[    0.000000] ACPI: FACP 00000000000f0600 00010C (v05 BHYVE BVFACP   
00000001 INTL 20130823)
[    0.000000] ACPI: DSDT 00000000000f0800 000264 (v02 BHYVE BVDSDT   
00000001 INTL 20130823)
[    0.000000] ACPI: FACS 00000000000f0780 000040
[    0.000000] ACPI: HPET 00000000000f0740 000038 (v01 BHYVE BVHPET   
00000001 INTL 20130823)
[    0.000000] Setting APIC routing to physical flat.
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x7fffffff]
[    0.000000]   NODE_DATA [mem 0x7fffb000-0x7fffffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00001000-0x00ffffff]
[    0.000000]   DMA32    [mem 0x01000000-0xffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00001000-0x0009efff]
[    0.000000]   node   0: [mem 0x00100000-0x7fffffff]
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 
0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x80868701 base: 0xfed00000
[    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x000fffff]
[    0.000000] e820: [mem 0x80000000-0xffffffff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 
nr_cpu_ids:2 nr_node_ids:1
[    0.000000] PERCPU: Embedded 29 pages/cpu @ffff88007fc00000 s86336 
r8192 d24256 u1048576
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  
Total pages: 515977
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyS0 BOOT_IMAGE=/vmlinuz 
root=/dev/vda1
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 2028288K/2096760K available (7372K kernel code, 
1144K rwdata, 3404K rodata, 1336K init, 1440K bss, 68472K reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  Offload RCU callbacks from all CPUs
[    0.000000]  Offload RCU callbacks from CPUs: 0-1.
[    0.000000] NR_IRQS:16640 nr_irqs:512 16
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] allocated 8388608 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't 
want memory cgroups
[    0.000000] tsc: Fast TSC calibration failed
[    0.000000] tsc: Unable to calibrate against PIT
[    0.000000] tsc: using HPET reference calibration
[    0.000000] tsc: Detected 2095.285 MHz processor
[    0.000003] Calibrating delay loop (skipped), value calculated using 
timer frequency.. 4190.57 BogoMIPS (lpj=8381140)
[    0.001224] pid_max: default: 32768 minimum: 301
[    0.001788] Security Framework initialized
[    0.002300] AppArmor: AppArmor initialized
[    0.002774] Yama: becoming mindful.
[    0.003366] Dentry cache hash table entries: 262144 (order: 9, 
2097152 bytes)
[    0.006552] Inode-cache hash table entries: 131072 (order: 8, 1048576 
bytes)
[    0.008522] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.009316] Mountpoint-cache hash table entries: 4096 (order: 3, 
32768 bytes)
[    0.010515] Initializing cgroup subsys memory
[    0.011034] Initializing cgroup subsys devices
[    0.011556] Initializing cgroup subsys freezer
[    0.012080] Initializing cgroup subsys blkio
[    0.012583] Initializing cgroup subsys perf_event
[    0.013133] Initializing cgroup subsys hugetlb
[    0.014623] Last level iTLB entries: 4KB 512, 2MB 0, 4MB 0
[    0.014623] Last level dTLB entries: 4KB 512, 2MB 0, 4MB 0
[    0.014623] tlb_flushall_shift: 6
[    0.016483] Freeing SMP alternatives memory: 32K (ffffffff81e6d000 - 
ffffffff81e75000)
[    0.022107] ACPI: Core revision 20131115
[    0.022707] ACPI: All ACPI Tables successfully acquired
[    0.023412] ftrace: allocating 28537 entries in 112 pages
[    0.069161] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.109630] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz 
(fam: 06, model: 3e, stepping: 04)
[    0.215312] Performance Events: unsupported p6 CPU model 62 no PMU 
driver, software events only.
[    0.218376] NMI watchdog: disabled (cpu0): hardware events not enabled
[    0.219388] x86: Booting SMP configuration:
[    0.219906] .... node  #0, CPUs:      #1
[    0.331878] x86: Booted up 1 node, 2 CPUs
[    0.332405] smpboot: Total of 2 processors activated (8370.59 BogoMIPS)
[    0.334039] devtmpfs: initialized
[    0.337659] EVM: security.selinux
[    0.338055] EVM: security.SMACK64
[    0.338448] EVM: security.ima
[    0.338796] EVM: security.capability
[    0.340316] pinctrl core: initialized pinctrl subsystem
[    0.341009] regulator-dummy: no parameters
[    0.341584] RTC time: 89:45:30, date: 09/02/14
[    0.342150] NET: Registered protocol family 16
[    0.342809] cpuidle: using governor ladder
[    0.343290] cpuidle: using governor menu
[    0.343793] ACPI FADT declares the system doesn't support PCIe ASPM, 
so disable it
[    0.344666] ACPI: bus type PCI registered
[    0.345126] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.345957] PCI: Using configuration type 1 for base access
[    0.347746] bio: create slab <bio-0> at 0
[    0.348726] ACPI: Added _OSI(Module Device)
[    0.349227] ACPI: Added _OSI(Processor Device)
[    0.349739] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.350280] ACPI: Added _OSI(Processor Aggregator Device)
[    0.351272] ACPI: Interpreter enabled
[    0.351712] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep 
State [\_S1_] (20131115/hwxface-580)
[    0.352785] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep 
State [\_S2_] (20131115/hwxface-580)
[    0.353889] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep 
State [\_S3_] (20131115/hwxface-580)
[    0.354970] ACPI Exception: AE_NOT_FOUND, While evaluating Sleep 
State [\_S4_] (20131115/hwxface-580)
[    0.356122] ACPI: (supports S0 S5)
[    0.356548] ACPI: Using IOAPIC for interrupt routing
[    0.357163] PCI: Using host bridge windows from ACPI; if necessary, 
use "pci=nocrs" and report a bug
[    0.358237] ACPI: No dock devices found.
[    0.359121] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.359845] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments 
MSI]
[    0.360650] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.361423] acpi PNP0A03:00: fail to add MMCONFIG information, can't 
access extended PCI configuration space under this bridge.
[    0.362830] PCI host bridge to bus 0000:00
[    0.363312] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.363953] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7]
[    0.364686] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff]
[    0.365394] pci_bus 0000:00: root bus resource [mem 
0x80000000-0xdfffffff]
[    0.366247] pci_bus 0000:00: root bus resource [mem 
0xd000000000-0xfcffffffff]
[    0.367148] pci 0000:00:00.0: ignoring class 0x060000 (doesn't match 
header type 01)
[    0.370885] pci 0000:00:00.0: bridge configuration invalid ([bus 
00-00]), reconfiguring
[    0.372067] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.372961] vgaarb: loaded
[    0.373564] SCSI subsystem initialized
[    0.374164] ACPI: bus type USB registered
[    0.374653] usbcore: registered new interface driver usbfs
[    0.375285] usbcore: registered new interface driver hub
[    0.376015] usbcore: registered new device driver usb
[    0.376920] PCI: Using ACPI for IRQ routing
[    0.377586] NetLabel: Initializing
[    0.377984] NetLabel:  domain hash size = 128
[    0.378489] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.379066] NetLabel:  unlabeled traffic allowed by default
[    0.379882] HPET: 8 timers in total, 2 timers will be used for 
per-cpu timer
[    0.380736] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 40, 41, 0, 0, 0, 0
[    0.381623] hpet0: 8 comparators, 32-bit 10.000000 MHz counter
[    0.384879] Switched to clocksource hpet
[    0.394040] AppArmor: AppArmor Filesystem Enabled
[    0.394613] pnp: PnP ACPI init
[    0.395060] ACPI: bus type PNP registered
[    0.395631] system 00:00: [io  0x0220-0x0223] has been reserved
[    0.396373] system 00:00: [io  0x0224-0x0227] has been reserved
[    0.397046] system 00:00: [io  0x04d0-0x04d1] has been reserved
[    0.397781] system 00:00: [io  0x0c00-0x0c01] has been reserved
[    0.398493] system 00:00: [io  0x0400-0x0407] has been reserved
[    0.399421] pnp: PnP ACPI: found 5 devices
[    0.399896] ACPI: bus type PNP unregistered
[    0.414989] pci 0000:00:01.0: BAR 6: assigned [mem 
0x80000000-0x800007ff pref]
[    0.415830] pci 0000:00:02.0: BAR 6: assigned [mem 
0x80000800-0x80000fff pref]
[    0.416665] pci 0000:00:04.0: BAR 6: assigned [mem 
0x80001000-0x800017ff pref]
[    0.417528] pci 0000:00:00.0: not setting up bridge for bus 0000:01
[    0.418322] NET: Registered protocol family 2
[    0.418992] TCP established hash table entries: 16384 (order: 5, 
131072 bytes)
[    0.419985] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.421023] TCP: Hash tables configured (established 16384 bind 16384)
[    0.421986] TCP: reno registered
[    0.422388] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.423123] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.424023] NET: Registered protocol family 1
[    0.424560] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.425485] Trying to unpack rootfs image as initramfs...
[    0.819265] Freeing initrd memory: 18844K (ffff880003668000 - 
ffff8800048cf000)
[    0.820317] microcode: CPU0 sig=0x306e4, pf=0x1, revision=0x0
[    0.821046] microcode: CPU1 sig=0x306e4, pf=0x1, revision=0x0
[    0.822048] microcode: Microcode Update Driver: v2.00 
<tigran at aivazian.fsnet.co.uk>, Peter Oruba
[    0.823063] Scanning for low memory corruption every 60 seconds
[    0.824107] Initialise system trusted keyring
[    0.824677] audit: initializing netlink socket (disabled)
[    0.825371] type=2000 audit(1409939130.628:1): initialized
[    0.852562] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.854875] zbud: loaded
[    0.855447] VFS: Disk quotas dquot_6.5.2
[    0.855919] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.857266] fuse init (API version 7.22)
[    0.857914] msgmni has been set to 3998
[    0.858443] Key type big_key registered
[    0.860405] Key type asymmetric registered
[    0.860927] Asymmetric key parser 'x509' registered
[    0.861539] Block layer SCSI generic (bsg) driver version 0.4 loaded 
(major 252)
[    0.862566] io scheduler noop registered
[    0.863028] io scheduler deadline registered (default)
[    0.863657] io scheduler cfq registered
[    0.864179] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.864844] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.865670] ipmi message handler version 39.2
[    0.866361] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.867209] ACPI: Power Button [PWRF]
[    0.867721] GHES: HEST is not enabled!
[    0.868587] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.890691] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) 
is a 16550A
[    0.912833] 00:02: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) 
is a 16550A
[    0.915010] Linux agpgart interface v0.103
[    0.916980] brd: module loaded
[    0.918103] loop: module loaded
[    0.918884] blk-mq: CPU -> queue map
[    0.919303]   CPU 0 -> Queue 0
[    0.919664]   CPU 1 -> Queue 0
[    0.920529]  vda: vda1 vda2 < vda5 >
[    0.921749] libphy: Fixed MDIO Bus: probed
[    0.922402] tun: Universal TUN/TAP device driver, 1.6
[    0.923023] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[    0.924621] PPP generic driver version 2.4.2
[    0.925283] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.926055] ehci-pci: EHCI PCI platform driver
[    0.926646] ehci-platform: EHCI generic platform driver
[    0.927275] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.927990] ohci-pci: OHCI PCI platform driver
[    0.928506] ohci-platform: OHCI generic platform driver
[    0.929135] uhci_hcd: USB Universal Host Controller Interface driver
[    0.929910] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    2.075369] i8042: No controller found
[    2.075882] tsc: Refined TSC clocksource calibration: 2097.635 MHz
[    2.076085] mousedev: PS/2 mouse device common for all mice
[    2.076232] ACPI Error: Could not enable RealTimeClock event 
(20131115/evxfevnt-212)
[    2.076234] ACPI Warning: Could not enable fixed event - 
RealTimeClock (4) (20131115/evxface-628)
[    2.076614] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    2.076672] rtc_cmos 00:03: only 24-hr supported
[    2.076792] device-mapper: uevent: version 1.0.3
[    2.076865] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) 
initialised: dm-devel at redhat.com
[    2.076871] ledtrig-cpu: registered to indicate activity on CPUs
[    2.076991] TCP: cubic registered
[    2.077087] NET: Registered protocol family 10
[    2.077297] NET: Registered protocol family 17
[    2.077306] Key type dns_resolver registered
[    2.077427] Loading compiled-in X.509 certificates
[    2.078287] Loaded X.509 cert 'Magrathea: Glacier signing key: 
b1414ae96c1b0ebb7c141fa405c1f6c98e8a66f0'
[    2.078310] registered taskstats version 1
[    2.089338] Key type trusted registered
[    2.092055] Key type encrypted registered
[    2.094752] AppArmor: AppArmor sha1 policy hashing enabled
[    2.095408] IMA: No TPM chip found, activating TPM-bypass!
[    2.096346] regulator-dummy: disabling
[    2.096898]   Magic number: 14:860:945
[    2.097356] tty tty2: hash matches
[    2.097770] cpu cpu0: hash matches
[    2.098292] /build/buildd/linux-3.13.0/drivers/rtc/hctosys.c: unable 
to open rtc device (rtc0)
[    2.099468] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    2.100238] EDD information not available.
[    2.101865] Freeing unused kernel memory: 1336K (ffffffff81d1f000 - 
ffffffff81e6d000)
[    2.102799] Write protecting the kernel read-only data: 12288k
[    2.105576] Freeing unused kernel memory: 808K (ffff880001736000 - 
ffff880001800000)
[    2.108228] Freeing unused kernel memory: 692K (ffff880001b53000 - 
ffff880001c00000)
Loading, please wait...
[    2.124360] systemd-udevd[98]: starting version 204
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top 
... done.
[  vtblk: ndesc (65535) out of range, driver confused?
Assertion failed: (n >= 2 && n <= VTBLK_MAXSEGS + 2), function 
pci_vtblk_proc, file /usr/src/usr.sbin/bhyve/pci_virtio_block.c, line 174.
                                 2Abort trap (core dumped)


More information about the freebsd-virtualization mailing list