From owner-freebsd-current@FreeBSD.ORG Sat Sep 13 02:57:13 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DCC16B94; Sat, 13 Sep 2014 02:57:13 +0000 (UTC) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D568C80; Sat, 13 Sep 2014 02:57:13 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id a13so1540912igq.11 for ; Fri, 12 Sep 2014 19:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jZw6uz/F1E0AHsJCesPwp0/q2PzyQpuyjBe2os60n0Y=; b=rtf4Gt5vSzk6mdmvkztQnyfp5T29UGXCZVTUPtN3z4L+K5kRxmO5Ziffmf+DteuUAy VNYMPKKh0+DM60w2CYAytsoLlWhJ1msQHhpPmbzjtwug0XTAtWftwP1DY52RBsXbQbUO sBGKkPD5IWnZzZC36ahaq893r1uKL7Z4tuR2y7lwY5i+zy9jMro/npehEhLnYhJJ+xri 9EUsciixUoDk3O4G7EaVY1p0/qY8rfe2XojPa4h0vwXKlQ20lQvgD1b09coa2YjT3Cp5 I9YGQGjY4hD2gLy8bCdLjZPPnAH8QrpJ9pgf5f/cgznWx/7o1c/GP8lpP19faxcCh13A eNew== MIME-Version: 1.0 X-Received: by 10.50.79.232 with SMTP id m8mr7014448igx.0.1410577032873; Fri, 12 Sep 2014 19:57:12 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.163.148 with HTTP; Fri, 12 Sep 2014 19:57:12 -0700 (PDT) In-Reply-To: References: <1749648.0eHaTPXHUy@ralph.baldwin.cx> <1584874.3FXdLuYUQI@ralph.baldwin.cx> Date: Fri, 12 Sep 2014 19:57:12 -0700 X-Google-Sender-Auth: AiLGjEgADHtU7VgHQ6UWPjYC4oE Message-ID: Subject: Re: panic: resource_list_alloc: resource entry is busy From: Kevin Oberman To: Marcin Cieslak Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sat, 13 Sep 2014 02:57:14 -0000 On Fri, Sep 12, 2014 at 1:57 PM, Marcin Cieslak wrote: > > > On Fri, 12 Sep 2014, John Baldwin wrote: > > at /usr/src/sys/dev/pci/vga_pci.c:318 >>> 318 return (bus_alloc_resource(dev, type, rid, start, end, >>> count, >>> >> flags)); >> >>> Current language: auto; currently minimal >>> (kgdb) p *rid >>> $1 = 0 >>> >> >> Hmm, type 1 is SYS_RES_IRQ. IRQ resources should not be marked reserved. >> >> Oh, some other child of vgapci has already allocated the IRQ. That seems >> odd. >> >> Can you get 'devinfo -r' output before you kldload i915kms and again after >> doing the kldload? (No need to run startx) >> > > Please note I originally loaded "i915.ko", not "i915kms.ko" > > > Unfortunately, "kldunload i915kms" makes my screen blank > and probably crashes the system (disk activity stops after > a short while and there is no response to the keyboard input). > > //Marcin > > That explains most of it. You need i915kms. It is conflicting with i915 which already has the IRQ allocated. The black screen is expected. Once KMS starts talking to the graphics system, syscons can no longer talk to the display, so you get a black screen. To have a working display, you must enable vt(4). Add "kern.vty=vt" to /boot/loader.conf to enable vt(4) which will keep the display alive. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com