From andre.albsmeier@mchp.siemens.de Fri Aug 11 03:17:43 2000 Return-Path: Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 66CE637BFD8 for ; Fri, 11 Aug 2000 03:17:42 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.10.1/8.10.1) with ESMTP id e7BAHe603756 for ; Fri, 11 Aug 2000 12:17:40 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.10.1/8.10.1) with ESMTP id e7BAHdV25602 for ; Fri, 11 Aug 2000 12:17:39 +0200 (MET DST) Received: (from localhost) by curry.mchp.siemens.de (8.10.2/8.10.2) id e7BAHdt08605 for FreeBSD-gnats-submit@freebsd.org; Fri, 11 Aug 2000 12:17:39 +0200 (CEST) Message-Id: <200008111017.e7BAHdY49627@curry.mchp.siemens.de> Date: Fri, 11 Aug 2000 12:17:39 +0200 (CEST) From: Andre Albsmeier To: FreeBSD-gnats-submit@freebsd.org Subject: ata panic: resource_list_alloc: resource entry is busy X-Send-Pr-Version: 3.2 >Number: 20534 >Category: kern >Synopsis: ata panic: resource_list_alloc: resource entry is busy >Confidential: no >Severity: critical >Priority: high >Responsible: sos >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 11 03:20:04 PDT 2000 >Closed-Date: Tue Nov 14 00:28:47 PST 2000 >Last-Modified: Tue Nov 14 00:29:06 PST 2000 >Originator: Andre Albsmeier >Release: FreeBSD 4.1-STABLE i386 >Organization: >Environment: FreeBSD 4.1-STABLE #4: Fri Aug 11 11:26:11 CEST 2000 >Description: The ata driver seems to have problem with a Siemens PCD5 (D842 board). FreeBSD 3.5-STABLE runs fine. Also FreeBSD 4.1-STABLE runs when the old wdc driver is used. The error is (written down by hand): atapci0: port 0x374-0x377,0x170-0x1 77,0x3f4-0x3f7,0x1f0-0x1f7 at device 2.0 on pci0 atapci0: Busmastering DMA not supported panic: resource_list_alloc: resource entry is busy The relevant parts of the kernel config: device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device atadisk device atapicd options ATA_STATIC_ID #options ATA_ENABLE_ATAPI_DMA #device wdc0 at isa? port "IO_WD1" irq 14 flags 0x80FF80FF #device wdc1 at isa? port "IO_WD2" irq 15 flags 0x80FF80FF #device wd0 at wdc0 drive 0 #device wcd0 When using the wdc configuration, everything works: wdc0 at port 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa0 wdc0: unit 0 (wd0): , 32-bit, multi-block-16 wd0: 515MB (1056384 sectors), 1048 cyls, 16 heads, 63 S/T, 512 B/S wdc0: driver is using old-style compatability shims wdc1 at port 0x170-0x177 irq 15 flags 0x80ff80ff on isa0 wdc1: unit 0 (atapi): , removable, dma, iordy wcd0: drive speed 1377 - 3445KB/sec, 128KB cache wcd0: supported read types: CD-R, CD-DA wcd0: Audio: play, 16 volume levels wcd0: Mechanism: ejectable tray wcd0: Medium: no/blank disc inside, unlocked wdc1: driver is using old-style compatability shims >How-To-Repeat: Boot a Siemens PCD5 (D842 board) with a kernel where ata is enabled. >Fix: Use the old wdc controller :-) Seriously, I would be happy with that but I fear it might go away in the future :-( >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->sos Responsible-Changed-By: sheldonh Responsible-Changed-When: Fri Aug 11 03:47:23 PDT 2000 Responsible-Changed-Why: Using wdc is definitely not a long-term solution. You're doing exactly what Soren wants by reporting the bug. Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=20534 State-Changed-From-To: open->closed State-Changed-By: sos State-Changed-When: Tue Nov 14 00:28:47 PST 2000 State-Changed-Why: Fixed in 4.2 and later. http://www.freebsd.org/cgi/query-pr.cgi?pr=20534 >Unformatted: