Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 12:17:39 +0200 (CEST)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/20534: ata panic: resource_list_alloc: resource entry is busy
Message-ID:  <200008111017.e7BAHdY49627@curry.mchp.siemens.de>

next in thread | raw e-mail | index | archive | help

>Number:         20534
>Category:       kern
>Synopsis:       ata panic: resource_list_alloc: resource entry is busy
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 11 03:20:04 PDT 2000
>Closed-Date:
>Last-Modified:
>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: <RZ 100? ATA controller !WARNING! buggy chip data loss possible> 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): <WDC AC2540F>, 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): <NEC                 CD-ROM DRIVE:287/3.02>, 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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008111017.e7BAHdY49627>