From nobody  Sat Jan  2 20:09:45 1999
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id UAA09247;
          Sat, 2 Jan 1999 20:09:45 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199901030409.UAA09247@hub.freebsd.org>
Date: Sat, 2 Jan 1999 20:09:45 -0800 (PST)
From: klmac@baldcom.net
To: freebsd-gnats-submit@freebsd.org
Subject: 2nd IDE controller on Ali chipset motherboards not working
X-Send-Pr-Version: www-1.0

>Number:         9282
>Category:       kern
>Synopsis:       2nd IDE controller on Ali chipset motherboards not working
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan  2 20:10:00 PST 1999
>Closed-Date:    Sat Jun 12 22:24:02 PDT 1999
>Last-Modified:  Sat Jun 12 22:28:48 PDT 1999
>Originator:     Ken McKittrick
>Release:        3.0-19981225-SNAP
>Organization:
>Environment:
FreeBSD legion.syracuse.net 3.0-CURRENT FreeBSD 3.0-CURRENT #5: Sat Jan  2 19:00:48 EST 1999     root@legion.syracuse.net:/usr/src/sys/compile/LEGION  i386

>Description:
2nd IDE controller is not available for use. Here is dmesg output

FreeBSD 3.0-CURRENT #5: Sat Jan  2 19:00:48 EST 1999
    root@192.168.0.5:/usr/src/sys/compile/LEGION
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 199961452 Hz
CPU: Pentium/P55C (199.96-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x543  Stepping=3
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 134217728 (131072K bytes)
config> quit
avail memory = 127889408 (124892K bytes)
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=10b9 device=1531)> rev 0xb3 on pci0.0.0
chip1: <AcerLabs M1533 portable PCI-ISA bridge> rev 0xb4 on pci0.2.0
vga0: <S3 Trio 64 graphics accelerator> rev 0x16 int a irq 11 on pci0.3.0
chip2: <PCI to PCI bridge (vendor=1011 device=0024)> rev 0x01 on pci0.4.0
de0: <Digital 21041 Ethernet> rev 0x11 int a irq 9 on pci0.6.0
de0: 21041 [10Mb/s] pass 1.1
de0: address 00:c0:f0:14:5a:3c
ide_pci0: <PCI IDE controller (busmaster capable)> rev 0x20 int a irq 0 on pci0.11.0
ide_pci: controller is simplex, no DMA on secondary channel
Probing for devices on PCI bus 1:
ahc0: <Adaptec 3940 Ultra SCSI host adapter> rev 0x00 int a irq 5 on pci1.4.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec 3940 Ultra SCSI host adapter> rev 0x00 int a irq 10 on pci1.5.0
ahc1: aic7880 Wide Channel B, SCSI Id=7, 16/255 SCBs
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 not found at 0x60
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ff0000 on isa
wdc0: unit 0 (wd0): <Maxtor 88400D8>
wd0: 8011MB (16408224 sectors), 16278 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
npx0 on motherboard
npx0: INT 16 interface
de0: enabling 10baseT port
Intel Pentium detected, installing workaround for F00F bug
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry
Waiting 15 seconds for SCSI devices to settle
changing root device to da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST15230W SUN4.2G 0738> Fixed Direct Access SCSI-2 device
da0: 20.0MB/s transfers (10.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST15230W SUN4.2G 0764> Fixed Direct Access SCSI-2 device
da1: 20.0MB/s transfers (10.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C)
>How-To-Repeat:
Any motherboard based on the TXPro Chipset whould break. Here is the label of the Chip
TXPro
PCI Chipset
PC82C371TX
9737 Taiwan
MD1275400ES5
>Fix:

>Release-Note:
>Audit-Trail:

From: ross@cgl.ucsf.EDU
To: freebsd-gnats-submit@freebsd.org, klmac@baldcom.net
Cc:  
Subject: Re: kern/9282: 2nd IDE controller on Ali chipset motherboards not working
Date: Sun, 14 Feb 1999 20:13:37 -0800 (PST)

 Observed on ASUS P5A (also Ali) too. May be due to dual IRQ's
 for primary/2ndary IDE channels. Reported not a problem w/ fbsd 2.x.
 
 Bill Ross
State-Changed-From-To: open->closed 
State-Changed-By: alc 
State-Changed-When: Sat Jun 12 22:24:02 PDT 1999 
State-Changed-Why:  
This problem was fixed by rev 1.185/1.186 of i386/isa/wd.c. 
>Unformatted:
