From owner-freebsd-current@FreeBSD.ORG Sun Jun 10 14:00:11 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6794106566C for ; Sun, 10 Jun 2012 14:00:10 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 858708FC0A for ; Sun, 10 Jun 2012 14:00:10 +0000 (UTC) Received: by obcni5 with SMTP id ni5so6760537obc.13 for ; Sun, 10 Jun 2012 07:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=GYNtOitwhwin1TkqWl0BR+oQp8Ef0tXnltsmTxfjrD0=; b=EzZdjxUHpEtsOAm8M7aM7dLRX/b5dAhdiSYp1AEY+sIGg88EWgcUhp0MOLmjVgtVWC aIaYvcpwPNOU7OXU+wr6HrKA5sF2zkc/ZRiIGOtN7/QJHUCQiIJbm+TD8ehK73zikDmm KzPxFc99lcbSrB+RY8OzjPXMwikggyEREKwnc50X7d0Xfr8cCsP2ZeNxahPLd6dG/Dui 7DcbvST2jHdm3ZMa+eCtp9GkBajxCMciUQiJTcmkZ0Sxj+5YrGDweuOOkc1WZhdLstwV 94NMch/2uWRUnsMFVnRCu04hWHzkcDg6C541aNFJ+SA+QyXnL9D8mRlPVqfwtP7+WG+C eK/A== MIME-Version: 1.0 Received: by 10.182.131.2 with SMTP id oi2mr13223621obb.43.1339336809946; Sun, 10 Jun 2012 07:00:09 -0700 (PDT) Sender: carpeddiem@gmail.com Received: by 10.182.12.234 with HTTP; Sun, 10 Jun 2012 07:00:09 -0700 (PDT) Date: Sun, 10 Jun 2012 10:00:09 -0400 X-Google-Sender-Auth: 16St2kLehtilqGgGpX4J2r0A7ns Message-ID: From: Ed Maste To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Reproducible panic on "kldunload i915kms" as of r236822 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2012 14:00:11 -0000 I'm running CURRENT as of r236822 on my Thinkpad X220 and am starting to experiment with the i915 kms driver. All packages are from the pkgbeta repo; I haven't rebuilt anything yet. =A0I have xorg-server-1.7.7_5,1 and the vesa driver gets used. =A0In this configuration I have a reproducible panic unloading i915kms.ko. Reproduction steps: 1. kldload i915kms && startx 2. switch back to the text console 3. ^C the x server 4. kldunload i915kms Crash info is at http://people.freebsd.org/~emaste/i915kms_panic.txt - interesting stack frames are: #8 =A00xffffffff80ba22d3 in calltrap () =A0 =A0at /home/emaste/src/head-ro/sys/amd64/amd64/exception.S:228 #9 =A00xffffffff808e8213 in device_delete_child (dev=3D0xfffffe0007986a00, =A0 =A0child=3D0xdeadc0dedeadc0de) =A0 =A0at /home/emaste/src/head-ro/sys/kern/subr_bus.c:1859 #10 0xffffffff808e8224 in device_delete_child (dev=3D0xfffffe0007986b00, =A0 =A0child=3D0xfffffe0007986a00) =A0 =A0at /home/emaste/src/head-ro/sys/kern/subr_bus.c:1867 #11 0xffffffff81ad9b05 in iic_dp_aux_detach (idev=3D0xfffffe0007986b00) =A0 =A0at /home/emaste/src/head-ro/sys/modules/drm2/drm2/../../../dev/drm2/= drm_dp_iic_helper.c:230 #12 0xffffffff808e80f4 in device_detach (dev=3D0xfffffe0007986b00) =A0 =A0at device_if.h:214 #13 0xffffffff808e8241 in device_delete_child (dev=3D0xfffffe0002727500, =A0 =A0child=3D0xfffffe0007986b00) =A0 =A0at /home/emaste/src/head-ro/sys/kern/subr_bus.c:1872 #14 0xffffffff81a8ddb6 in intel_dp_encoder_destroy ( =A0 =A0encoder=3D0xfffffe000721ca00) =A0 =A0at /home/emaste/src/head-ro/sys/modules/drm2/i915kms/../../../dev/dr= m2/i915/intel_dp.c:2287 #15 0xffffffff81ad369f in drm_mode_config_cleanup (dev=3D0xfffffe0007bdc000= ) =A0 =A0at /home/emaste/src/head-ro/sys/modules/drm2/drm2/../../../dev/drm2/= drm_crtc.c:968 #16 0xffffffff81a64a82 in i915_driver_unload_int (dev=3D0xfffffe0007bdc000, =A0 =A0locked=3Dtrue) =A0 =A0at /home/emaste/src/head-ro/sys/modules/drm2/i915kms/../../../dev/dr= m2/i915/i915_dma.c:1341 #17 0xffffffff81adb34a in drm_detach (kdev=3DVariable "kdev" is not availab= le. ) =A0 =A0at /home/emaste/src/head-ro/sys/modules/drm2/drm2/../../../dev/drm2/= drm_drv.c:640 -Ed