[Differential] [Commented On] D1944: PF and VIMAGE fixes

2015-12-23 Thread robak (Bartek Rutkowski)
robak added a comment.


  Any news on that review?

REVISION DETAIL
  https://reviews.freebsd.org/D1944

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: nvass-gmx.com, bz, trociny, kristof, gnn, zec, rodrigc, glebius, eri
Cc: mmoll, javier_ovi_yahoo.com, farrokhi, julian, robak, 
freebsd-virtualization-list, freebsd-pf-list, freebsd-net-list
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: 10.2-RELEASE-p7 - bhyve crash ...

2015-12-23 Thread Alex Torres
After further testing this does not happen on -CURRENT but DOES happen on
-STABLE.

   -Alex

On Wed, Dec 23, 2015 at 1:48 PM, Alex Torres 
wrote:

> Hi all,
>
> I'm trying to install a Linux guest (debian and ubuntu) using bhyve. Upon
> installation on either of these guest installs bhyve crashes.
>
>  OS: 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 amd64 (GENERIC kernel)
> GUEST: ubuntu-14.10-server-amd64.iso
> GUEST: debian-8.2.0-amd64-CD-1.iso
>
> Hardware:
>
> IBM System x3550 M4 Server -[7914L2M] with the following VT-x extensions:
> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID.
>
> Load + installation bootstrap:
>
> #grub-bhyve -r cd0 -m device.map -M 2048 ubuntu-14.10-server
> #bhyve -AI -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap0 -s
> 3:0,virtio-blk,./linux.img -s 4:0,ahci-cd,./ubuntu-14.10-server-amd64.iso
> -l com1,stdio -c 4 -m 2048M ubuntu-14.10-server
>
> The Crash Upon installation:
>
> Installing the system... ├───┐
>
> │ │
>   │
> 50%   │
>
> │ │
>   │ [  158.064496] BUG: unable to handle kernel paging request at
> 1000
> [  158.065128] IP: []
> __blk_bios_map_sg+0x1b1/0x3c0   │
> [  158.065668] PGD 7065b067 PUD 79126067 PMD 0
> ─┘
> [  158.066071] Oops:  [#1] SMP
> [  158.066375] Modules linked in: squashfs xfs libcrc32c jfs btrfs raid10
> raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor
> raid6_pq raid1 raid0 multipath linear ghash_clmulni_intel aesni_intel
> aes_x86_64 ablk_helper cryptd lrw gf128mul glue_helper nls_utf8(E) isofs(E)
> usb_storage(E) ahci(E) libahci(E)
> [  158.069152] CPU: 0 PID: 136 Comm: kworker/u8:5 Tainted: GE
> 3.16.0-23-generic #31-Ubuntu
> [  158.069905] Hardware name:   BHYVE, BIOS 1.00 03/14/2014
> [  158.070353] Workqueue: writeback bdi_writeback_workfn (flush-252:0)
> [  158.070907] task: 88007ba532f0 ti: 88007a60 task.ti:
> 88007a60
> [  158.071532] RIP: 0010:[]  []
> __blk_bios_map_sg+0x1b1/0x3c0
> [  158.072265] RSP: 0018:88007a603820  EFLAGS: 00010206
> [  158.072712] RAX: 1000 RBX: 4000 RCX:
> 88007a6038a8
> [  158.073306] RDX: 1001 RSI: 73cb1000 RDI:
> 88007bb1ea20
> [  158.073902] RBP: 88007a603898 R08:  R09:
> 1600
> [  158.074496] R10: 001d R11: 73cb3000 R12:
> 
> [  158.075091] R13: 1000 R14: 001d R15:
> 88007a7ef420
> [  158.075688] FS:  () GS:88007fc0()
> knlGS:
> [  158.076360] CS:  0010 DS:  ES:  CR0: 80050033
> [  158.076843] CR2: 1000 CR3: 7065a000 CR4:
> 000406f0
> [  158.077439] Stack:
> [  158.077617]  88007d001700 88007bb1e5a0 88093e00
> 001d
> [  158.078290]  88007a6038a8 0125 ea0001cf2c40
> 1000
> [  158.078962]  ea0001cf2c80 1000 88007bb1e400
> 88093e00
> [  158.079632] Call Trace:
> [  158.079852]  [] blk_rq_map_sg+0x35/0x170
> [  158.080316]  [] virtio_queue_rq+0x9d/0x260
> [  158.080795]  [] __blk_mq_run_hw_queue+0x1bf/0x320
> [  158.081321]  [] blk_mq_run_hw_queue+0x65/0x80
> [  158.081821]  [] blk_mq_insert_requests+0xcf/0x130
> [  158.082346]  [] blk_mq_flush_plug_list+0x129/0x140
> [  158.082882]  [] blk_flush_plug_list+0xd1/0x230
> [  158.083387]  [] blk_finish_plug+0x14/0x50
> [  158.083859]  [] ext4_writepages+0x3e9/0xcf0
> [  158.084343]  [] ? global_dirtyable_memory+0x50/0x50
> [  158.084885]  [] do_writepages+0x1e/0x30
> [  158.085341]  [] __writeback_single_inode+0x40/0x210
> [  158.085883]  [] ? wake_up_bit+0x25/0x30
> [  158.086338]  [] writeback_sb_inodes+0x247/0x3b0
> [  158.086849]  [] __writeback_inodes_wb+0x9f/0xd0
> [  158.087356]  [] wb_writeback+0x223/0x2c0
> [  158.087820]  [] bdi_writeback_workfn+0x1b9/0x430
> [  158.088337]  [] process_one_work+0x182/0x4e0
> [  158.088829]  [] worker_thread+0x6b/0x6a0
> [  158.089290]  [] ? process_one_work+0x4e0/0x4e0
> [  158.089796]  [] kthread+0xdb/0x100
> [  158.090215]  [] ? kthread_create_on_node+0x1c0/0x1c0
> [  158.090764]  [] ret_from_fork+0x7c/0xb0
> [  158.091218]  [] ? kthread_create_on_node+0x1c0/0x1c0
> [  158.091765] Code: 39 f3 0f 84 4a 01 00 00 48 83 20 fd 4c 89 54 24 18 48
> 8b 39 48 89 4c 24 20 e8 5c a6 03 00 48 8b 4c 24 20 4c 8b 54 24 18 48 89 01
> <48> 8b 30 48 8b 54 24 30 8b 7c 24 3c 83 e6 03 f6 c2 03 0f 85 07
> [  158.094199] RIP  [] __blk_bios_map_sg+0x1b1/0x3c0
> [  158.094736]  RSP 
> [  158.095035] CR2: 1000
> [  158.095320] ---[ end trace 86aa70b9ee9da8be ]---
> [  158.095900] BUG: unable to handle kernel paging request at
> ffd8
> [  158.096532] IP: [] kthread_data+0x10/0x20