Re: Fwd: CFT: bhyve AMD snapshot

2014-02-17 Thread Aryeh Friedman
Sorry for taking so long (forgot to say orginally this is the guest)


On Wed, Feb 12, 2014 at 10:30 AM, Peter Grehan  wrote:

> Hi Aryeh,
>
>  kernel panic during boot
>>
>
>  Can you post a verbose boot log with the panic (i.e. "boot -v" from the
> loader prompt) ?OK boot -v
> Booting...
> SMAP type=01 base= len=000a
> SMAP type=01 base=0010 len=1ff0
> Table 'APIC' at 0xf0500
> APIC: Found table at 0xf0500
> APIC: Using the MADT enumerator.
> MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
> SMP: Added CPU 0 (AP)
> Copyright (c) 1992-2014 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014
> r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
> Preloaded elf kernel "/boot/kernel/kernel" at 0x817f2000.
> Hypervisor: Origin = "bhyve bhyve "
> Calibrating TSC clock ... TSC clock: 2595069727 Hz
> CPU: AMD A6-3650 APU with Radeon(tm) HD Graphics (2595.07-MHz K8-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x300f10  Family = 0x12  Model = 0x1
> Stepping = 0
>
> Features=0x783ab7f
>   Features2=0x80a02001
>   AMD
> Features=0xe6505880<,SYSCALL,,,NX,MMX+,FFXSR,Page1GB,LM,3DNow!+,3DNow!>
>   AMD
> Features2=0x37ff
>   TSC: P-state invariant
> L1 2MB data TLB: 48 entries, fully associative
> L1 2MB instruction TLB: 16 entries, fully associative
> L1 4KB data TLB: 48 entries, fully associative
> L1 4KB instruction TLB: 32 entries, fully associative
> L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
> L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way
> associative
> L2 2MB data TLB: 128 entries, 2-way associative
> L2 2MB instruction TLB: 0 entries, 2-way associative
> L2 4KB data TLB: 1024 entries, 4-way associative
> L2 4KB instruction TLB: 1024 entries, 4-way associative
> L2 unified cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 16-way
> associative
> real memory  = 536870912 (512 MB)
> Physical memory chunk(s):
> 0x1000 - 0x0009bfff, 634880 bytes (155 pages)
> 0x0010 - 0x001f, 1048576 bytes (256 pages)
> 0x0181a000 - 0x1f29, 497573888 bytes (121478 pages)
> avail memory = 492273664 (469 MB)
> Event timer "LAPIC" quality 400
> ACPI APIC Table: 
> APIC: CPU 0 has ACPI ID 0
> x86bios:  IVT 0x00-0x0004ff at 0xf800
> x86bios: SSEG 0x001000-0x001fff at 0xfe002c174000
> x86bios:  ROM 0x0a-0x0fefff at 0xf80a
> XEN: CPU 0 has VCPU ID 0
> random device not loaded; using insecure entropy
> ULE: setup cpu 0
> ACPI: RSDP 0xf0400 00024 (v02 BHYVE )
> ACPI: XSDT 0xf0480 0003C (v01 BHYVE  BVXSDT   0001 INTL 20130823)
> ACPI: APIC 0xf0500 00054 (v01 BHYVE  BVMADT   0001 INTL 20130823)
> ACPI: FACP 0xf0600 0010C (v05 BHYVE  BVFACP   0001 INTL 20130823)
> ACPI: DSDT 0xf0800 0012F (v02 BHYVE  BVDSDT   0001 INTL 20130823)
> ACPI: FACS 0xf0780 00040
> ACPI: HPET 0xf0740 00038 (v01 BHYVE  BVHPET   0001 INTL 20130823)
> MADT: Found IO APIC ID 0, Interrupt 0 at 0xfec0
> ioapic0: Routing external 8259A's -> intpin 0
> MADT: Interrupt override: source 0, irq 2
> ioapic0: Routing IRQ 0 -> intpin 2
> MADT: Interrupt override: source 9, irq 9
> ioapic0: intpin 9 trigger: level
> ioapic0: intpin 9 polarity: low
> ioapic0  irqs 0-23 on motherboard
> cpu0 BSP:
>  ID: 0x   VER: 0x0011 LDR: 0x DFR: 0x
>   lint0: 0x00010700 lint1: 0x0400 TPR: 0x SVR: 0x01ff
>   timer: 0x000100ef therm: 0x0001 err: 0x00f0
> wlan: <802.11 Link Layer>
> snd_unit_init() u=0x00ff8000 [512] d=0x7c00 [32] c=0x03ff [1024]
> feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5
> feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
> Hardware, Intel IvyBridge+ RNG: RDRAND is not present
> Hardware, VIA Nehemiah Padlock RNG: VIA Padlock RNG not present
> kbd0 at kbdmux0
> mem: 
> null: 
> nfslock: pseudo-device
> Falling back to  random adaptor
> random:  initialized
> module_register_init: MOD_LOAD (vesa, 0x80cfa5e0, 0) error 19
> io: 
> VMBUS: load
> hptnr: R750/DC7280 controller driver v1.0
> hpt27xx: RocketRAID 27xx controller driver v1.1
> hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2
>
>
> Fatal trap 30: reserved (unknown) fault while in kernel mode
> cpuid = 0; apic id = 00
> instruction pointer= 0x20:0x80d1d3af
> stack pointer= 0x28:0x817f6b10
> frame pointer= 0x28:0x817f6b40
> code segment= base 0x0, limit 0xf, type 0x1b
> = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags= interrupt enabled, IOPL = 0
> current process= 0 (swapper)
> trap nu

Re: kern/183835: commit references a PR

2014-02-17 Thread dfilter service
The following reply was made to PR kern/183835; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/183835: commit references a PR
Date: Tue, 18 Feb 2014 01:20:34 + (UTC)

 Author: rodrigc
 Date: Tue Feb 18 01:20:26 2014
 New Revision: 262142
 URL: http://svnweb.freebsd.org/changeset/base/262142
 
 Log:
   In ue_attach_post_task(), initialize curvnet to vnet0 before calling 
if_attach().
   Before this patch, curvnet was NULL.
   When the VIMAGE kernel option is enabled, this eliminates
   kernel panics when USB ethernet devices are plugged in.
   
   PR: 183835
   Submitted by: Hiroo Oono 
 
 Modified:
   head/sys/dev/usb/net/usb_ethernet.c
 
 Modified: head/sys/dev/usb/net/usb_ethernet.c
 ==
 --- head/sys/dev/usb/net/usb_ethernet.cTue Feb 18 01:15:32 2014
(r262141)
 +++ head/sys/dev/usb/net/usb_ethernet.cTue Feb 18 01:20:26 2014
(r262142)
 @@ -208,6 +208,7 @@ ue_attach_post_task(struct usb_proc_msg 
sysctl_ctx_init(&ue->ue_sysctl_ctx);
  
error = 0;
 +  CURVNET_SET_QUIET(vnet0);
ifp = if_alloc(IFT_ETHER);
if (ifp == NULL) {
device_printf(ue->ue_dev, "could not allocate ifnet\n");
 @@ -254,6 +255,8 @@ ue_attach_post_task(struct usb_proc_msg 
if (ifp->if_capabilities & IFCAP_VLAN_MTU)
ifp->if_hdrlen = sizeof(struct ether_vlan_header);
  
 +  CURVNET_RESTORE();
 +
snprintf(num, sizeof(num), "%u", ue->ue_unit);
ue->ue_sysctl_oid = SYSCTL_ADD_NODE(&ue->ue_sysctl_ctx,
&SYSCTL_NODE_CHILDREN(_net, ue),
 @@ -267,6 +270,7 @@ ue_attach_post_task(struct usb_proc_msg 
return;
  
  fail:
 +  CURVNET_RESTORE();
free_unr(ueunit, ue->ue_unit);
if (ue->ue_ifp != NULL) {
if_free(ue->ue_ifp);
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: kern/183835: Kernel panic with VIMAGE on insertion of axe USB network interface

2014-02-17 Thread rodrigc
Synopsis: Kernel panic with VIMAGE on insertion of axe USB network interface

State-Changed-From-To: open->patched
State-Changed-By: rodrigc
State-Changed-When: Mon Feb 17 17:24:11 PST 2014
State-Changed-Why: 
Patched.

http://www.freebsd.org/cgi/query-pr.cgi?pr=183835
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


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

2014-02-17 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/183835  virtualizationKernel panic with VIMAGE on insertion of axe USB 
netwo
o kern/165252  virtualization[vimage] [pf] [panic] kernel panics with VIMAGE 
and PF
o kern/161094  virtualization[vimage] [pf] [panic] kernel panic with pf + 
VIMAGE wh
o kern/160541  virtualization[vimage][pf][patch] panic: userret: Returning on 
td 0x
o kern/160496  virtualization[vimage] [pf] [patch] kernel panic with pf + VIMAGE
o kern/148155  virtualization[vimage] [pf] Kernel panic with PF + VIMAGE kernel 
opt
a kern/147950  virtualization[vimage] [carp] VIMAGE + CARP = kernel crash
s kern/143808  virtualization[pf] pf does not work inside jail

8 problems total.

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