Subject: port-i386/9039: pciide misbehaves on ThinkPad 570
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 12/22/1999 00:30:43
>Number:         9039
>Category:       port-i386
>Synopsis:       pciide misbehaves on ThinkPad 570
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 22 00:30:01 1999
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Organization:
itojun.org
>Release:        1.4.1 and current
>Environment:
1.4.1: NetBSD lychee.itojun.org 1.4.1 NetBSD 1.4.1 (LYCHEE.v6) #434: Sun Dec 19 16:24:18 JST 1999 itojun@lychee.itojun.org:/export/home/itojun/k/kame/netbsd/sys/arch/i386/compile/LYCHEE.v6 i386


>Description:
	There seem to be some problem with sys/dev/pci/pciide.c with
	ThinkPad 570 (both celeron366 model and Pen2-366 model).
	Thinkpad 570 has PIIX4 with it, NetBSD-1.4.1 (revision 1.33.2.4) works
	just fine.
Dec 19 16:35:14 lychee /netbsd: pciide0: primary channel interrupting at irq 14
Dec 19 16:35:14 lychee /netbsd: pciide0: secondary channel wired to compatibilit
y mode
Dec 19 16:35:14 lychee /netbsd: pciide0: secondary channel ignored (disabled)
Dec 19 16:35:14 lychee /netbsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)

	NetBSD-current last week (revision 1.49) probes and attaches fine,
	but shows message like this on root mount and locks up solid.
	Boot floppy from NetBSD-current binary snapshot as of Nov 13
	(not sure about revision, around 1.46 or 1.47) also show this behabior.

Dec 19 16:13:39 lychee /netbsd: pciide0:0:0: lost interrupt
Dec 19 16:13:39 lychee /netbsd:         type: ata
Dec 19 16:13:39 lychee /netbsd:         c_bcount: 512
Dec 19 16:13:39 lychee /netbsd:         c_skip: 0

	There can be some timing issue involved; I sometimes able to boot it.
	(1 in 10 boot)

>How-To-Repeat:
	boot Nov 13 boot floppy at
	ftp://ftp.netbsd.org/pub/NetBSD/arch/i386/snapshot/19991113/.
>Fix:
	temporary fix: disable pciide.
>Audit-Trail:
>Unformatted: