From owner-freebsd-emulation@FreeBSD.ORG Thu Dec 16 19:20:12 2010 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16B211065693 for ; Thu, 16 Dec 2010 19:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE5B88FC12 for ; Thu, 16 Dec 2010 19:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBGJKBoe051718 for ; Thu, 16 Dec 2010 19:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBGJKBIK051717; Thu, 16 Dec 2010 19:20:11 GMT (envelope-from gnats) Date: Thu, 16 Dec 2010 19:20:11 GMT Message-Id: <201012161920.oBGJKBIK051717@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: "Li-Lun Wang (Leland Wang)" Cc: Subject: Re: kern/150186: [parallels] [panic] Parallels Desktop: CDROM disconnected leads to panic, eventually X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Li-Lun Wang \(Leland Wang\)" List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2010 19:20:12 -0000 The following reply was made to PR kern/150186; it has been noted by GNATS. From: "Li-Lun Wang (Leland Wang)" To: bug-followup@FreeBSD.org, dave.evans55@googlemail.com Cc: Subject: Re: kern/150186: [parallels] [panic] Parallels Desktop: CDROM disconnected leads to panic, eventually Date: Fri, 17 Dec 2010 03:13:51 +0800 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I think I may have stumbled upon the same issue after I updated my installed ports, including hald. I run a FreeBSD 8.1-stable amd64 (not the latest but a few months old) in virtual box on a windows 7 x64 host. If I disable hald or the cdrom device in virtual box, or run the same FreeBSD installation natively, the problem doesn't seem to occur. When the problem does occur, I get the following messages (not necessarily in any particular order): ata0: WARNING - unknown CMD (0x4a) read data overrun 18>8 ata0: WARNING - READ_TOC read data overrun 18>12 ata0: WARNING - PREVENT_ALLOW read data overrun 18>0 ata0: WARNING - TEST_UNIT_READY read data overrun 18>0 These messages repeat seemingly at random for a few times. Eventually the box might panic. Here is a backtrace: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x290 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8025aec5 stack pointer = 0x28:0xffffff800007bae0 frame pointer = 0x28:0xffffff800007bb00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL=0 current process = 11 (swi6: task queue) [thread pid 11 tid 100018 ] Stopped at _mtx_lock_sleep+0x4e: movl 0x290(%rcx),%esi db> bt Tracing pid 11 tid 100018 td 0xffffff00024bcba0 _mtx_lock_sleep() at _mtx_lock_sleep+0x4e _sema_post() at _sema_post+0x89 ata_completed() at ata_completed+0x46e taskqueue_run() at taskqueue_run+0x94 intr_event_execute_handlers() at intr_event_execute_handlers+0xf9 ithread_loop() at ithread_loop+0x8e fork_exit() at fork_exit+0x118 fork_trampoline() at fork_trampoline+0xe - --- trap 0, rip = 0, rsp = 0xffffff800007bd30, rdp = 0 --- db> - -- llwang -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQFNCmTrCQM7t5B2mhARAoHkAJ9zNOQ8QApAP5gDgmSgUABt39es8wCghPyr g82JpbmVYsjLnyGkU+/JQ3k= =VHTI -----END PGP SIGNATURE-----