Subject: port-amd64/34829: ixpide(4) driver missing in amd64's INSTALL kernel -- installation VERY slow
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <joerg.bsd@internode.net.au>
List: netbsd-bugs
Date: 10/15/2006 14:30:00
>Number:         34829
>Category:       port-amd64
>Synopsis:       ixpide(4) driver missing in amd64's INSTALL kernel -- installation VERY slow
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 15 14:30:00 +0000 2006
>Originator:     Joerg Niendorf
>Release:        4.0_BETA amd64
>Organization:
none
>Environment:
NetBSD hp.jn 4.0_BETA NetBSD 4.0_BETA (GENERIC.MP) #0: Sat Sep 30 04:11:37 UTC 2006
builds@b1.netbsd.org:/home/builds/ab/netbsd-4/amd64/200609300000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/amd64/compile/GENERIC.MP

>Description:
The ixpide(4) driver is not present in amd64/conf/INSTALL. On my HP notebook, which is equipped with an ATI IXP IDE controller, the pciide(4) driver was used during the installation. Both the newfs step and the installation of the sets were excruciatingly slow and sometimes stalled.


dmesg (installation):
NetBSD 4.0_BETA (INSTALL) #0: Sat Sep 30 04:03:52 UTC 2006
builds@b1.netbsd.org:/home/builds/ab/netbsd-4/amd64/200609300000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/amd64/compile/INSTALL
...
pciide0 at pci0 dev 18 function 0
pciide0: vendor 0x1002 product 0x4379 (rev. 0x80)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to native-PCI mode
pciide0: using irq 10 for native-PCI interrupt
atabus0 at pciide0 channel 0
pciide0: secondary channel configured to native-PCI mode
atabus1 at pciide0 channel 1
...
pciide1 at pci0 dev 20 function 1
pciide1: vendor 0x1002 product 0x4376 (rev. 0x80)
pciide1: bus-master DMA support present, but unused (no driver support)
pciide1: primary channel configured to compatibility mode
pciide1: primary channel interrupting at irq 14
atabus2 at pciide1 channel 0
pciide1: secondary channel wired to compatibility mode
pciide1: secondary channel ignored (not responding; disabled or no drives?)
...


dmesg (same machine, post-installation):
NetBSD 4.0_BETA (GENERIC.MP) #0: Sat Sep 30 04:11:37 UTC 2006
builds@b1.netbsd.org:/home/builds/ab/netbsd-4/amd64/200609300000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/amd64/compile/GENERIC.MP
...
ixpide0 at pci0 dev 18 function 0
ixpide0: ATI Technologies IXP IDE Controller (rev. 0x80)
ixpide0: bus-master DMA support present
ixpide0: primary channel configured to native-PCI mode
ixpide0: using irq 10 for native-PCI interrupt
atabus0 at ixpide0 channel 0
ixpide0: secondary channel configured to native-PCI mode
atabus1 at ixpide0 channel 1
...
ixpide1 at pci0 dev 20 function 1
ixpide1: ATI Technologies IXP IDE Controller (rev. 0x80)
ixpide1: bus-master DMA support present
ixpide1: primary channel configured to compatibility mode
ixpide1: primary channel interrupting at irq 14
atabus2 at ixpide1 channel 0
ixpide1: secondary channel wired to compatibility mode
ixpide1: secondary channel interrupting at irq 15
atabus3 at ixpide1 channel 1
...

>How-To-Repeat:
Install NetBSD/amd64 on a system with an ATI IXP IDE Controller.

>Fix:
Add ixpide(4) to amd64/conf/INSTALL.

--- INSTALL.orig	2006-10-15 22:27:41.000000000 +1000
+++ INSTALL	2006-10-15 22:28:28.000000000 +1000
@@ -342,6 +342,7 @@
 cypide* at pci? dev ? function ?	# Cypress IDE controllers
 hptide* at pci? dev ? function ?	# Triones/HighPoint IDE controllers
 iteide*	at pci? dev ? function ?	# IT Express IDE controllers
+ixpide* at pci? dev ? function ?	# ATI IXP IDE controllers
 optiide* at pci? dev ? function ?	# Opti IDE controllers
 piixide* at pci? dev ? function ?	# Intel IDE controllers
 pdcide* at pci? dev ? function ?	# Promise IDE controllers