Subject: Problems booting on older Colalt Raq.
To: None <port-cobalt@netbsd.org>
From: Johannes Hofmann <dre@openlsd.org>
List: port-cobalt
Date: 04/05/2003 21:31:28
Hello,

here's a brief description of my problem:

I followed the steps according to the Cobalt-FAQ and everything went fine
to a certain point. But when trying to access the harddisk the machine just
gives an error and freezes.
The error I experience is the following:

pciide0:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0

The complete output can be found here:
Cobalt Microserver Diagnostics - 'We serve it, you surf it'
Built Mon Aug 24 14:44:00 PDT 1998                         

 1.LCD Test................................PASS
 2.Controller Test.........................PASS
 4.Flash Test..............................PASS
 5.Bank 0:.................................16M
 6.Bank 1:.................................0M
 7.Bank 2:.................................0M
 8.Bank 3:.................................0M
 9.Serial Test.............................PASS
10.PCI Expansion Slot....................**EMPTY**
12.IDE Test................................PASS
13.Ethernet Test...........................PASS
16.RTC Test................................PASS
Decompressing done
Decompressing -/ done.
 [ no symbols available ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved. 
Copyright (c) 1982, 1986, 1989, 1991, 1993           
    The Regents of the University of California.  All rights reserved.
                                                                      
NetBSD 1.6 (GENERIC) #0: Sun Sep  8 13:07:51 UTC 2002
    autobuild@tgm.daemon.org:/autobuild/cobalt/OBJ/autobuild/src/sys/arch/cobalt/compile/GENERIC
16384 KB memory, 13016 KB free, 920 KB in 230 buffers                                           
mainbus0 (root)                                      
com0 at mainbus0 addr 0x1c800000 level 3: st16650a, working fifo
com0: console                                                   
cpu0 at mainbus0: QED RM5200 CPU (0x2810) Rev. 1.0 with built-in FPU Rev. 1.0
cpu0: 16KB/32B 2-way set-associative L1 Instruction cache, 48 TLB entries    
cpu0: 16KB/32B 2-way set-associative write-back L1 Data cache            
gt0 at mainbus0 addr 0x14000000                              
pci0 at gt0                    
pci0: i/o space, memory space enabled, rd/line, wr/inv ok
pchb0 at pci0 dev 0 function 0: Galileo GT-64011 System Controller, rev 1
tlp0 at pci0 dev 7 function 0: DECchip 21143 Ethernet, pass 4.1          
tlp0: interrupting at level 1                                  
tlp0: Ethernet address 00:10:e0:00:07:62
lxtphy0 at tlp0 phy 1: LXT970 10/100 media interface, rev. 0
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 9 function 0                               
pcib0: VIA Technologies VT82C586 (Apollo VP) PCI-ISA Bridge, rev 39
pciide0 at pci0 dev 9 function 1: VIA Technologies VT82C586 (Apollo VP) ATA33 controller
pciide0: bus-master DMA support present                                                 
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <ST313021A>            
wd0: drive supports 32-sector PIO transfers, LBA addressing
wd0: 12419 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 25434228 sectors
wd0: 32-bit data port                                                       
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14                        
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode                               
pciide0: secondary channel ignored (disabled)              
VIA Technologies VT83C572 USB Controller (USB serial bus, revision 0x02) at pci0 dev 9 function 2 not configured
boot device: wd0                                                                                                
root on wd0a dumps on wd0b
pciide0:0:0: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0

All i know is the following:
The problem might be that the onboard IDE chipset can't handle the UDMA mode presented by the harddisk
which I don't applies in my configuration because both (controller and harddisk) agree on UDMA 33.

thanks in advance,

Johannes Hofmann