Subject: port-i386/9039: pciide misbehaves on ThinkPad 570
To: None <>
From: None <>
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
>Originator:     Jun-ichiro itojun Hagino
>Release:        1.4.1 and current
1.4.1: NetBSD 1.4.1 NetBSD 1.4.1 (LYCHEE.v6) #434: Sun Dec 19 16:24:18 JST 1999 i386

	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 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)

	boot Nov 13 boot floppy at
	temporary fix: disable pciide.