Subject: port-i386/13151: 1.5.1_BETA_2 INSTALL_LAPTOP pciide lost interrupts prevent install
To: None <gnats-bugs@gnats.netbsd.org>
From: None <matt@zigg.com>
List: netbsd-bugs
Date: 06/09/2001 19:34:11
>Number:         13151
>Category:       port-i386
>Synopsis:       1.5.1_BETA_2 INSTALL_LAPTOP pciide lost interrupts prevent install
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 09 19:33:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matt Behrens
>Release:        1.5.1_BETA_2
>Organization:
>Environment:
n/a	
>Description:
My serial console log should explain it:

>How-To-Repeat:
already covered ^^^
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> NetBSD/i386 BIOS Boot, Revision 2.7
 >> (he@nsa.uninett.no, Thu May 10 02:53:02 CEST 2001)
 >> Memory: 639/39936 k
 > 
 > boot
 booting fd0a:netbsd
 1701164+2171584|
 Please remove disk 1, insert disk 2, and press return...
 +186556=0x3e0274
 [ netbsd ELF symbol table not valid ]
 [ netbsd a.out symbol table not valid ]
 [ no symbol table formats found ]
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
     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.5.1_BETA2 (INSTALL_LAPTOP) #24: Wed May 16 01:35:41 CEST 2001
     he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/INSTALL_LAPTOP
 cpu0: Intel Pentium (P54C) (586-class), 99.61 MHz
 total memory = 40576 KB
 avail memory = 33440 KB
 using 532 buffers containing 2128 KB of memory
 BIOS32 rev. 0 found at 0xf7000
 PCI BIOS rev. 2.1 found at 0xf73d9
 PCI BIOS has 2 Interrupt Routing table entries
 mainbus0 (root)
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled
 pchb0 at pci0 dev 0 function 0
 pchb0: vendor 0x1045 product 0xc557 (rev. 0x14)
 pcib0 at pci0 dev 1 function 0
 pcib0: vendor 0x1045 product 0xc558 (rev. 0x02)
 vendor 0x1013 product 0x0038 (VGA display) at pci0 dev 2 function 0 not configur
 ed
 pciide0 at pci0 dev 20 function 0: OPTi 82c621 PCI IDE controller (rev. 0x12)
 pciide0: bus-master DMA support present
 pciide0: primary channel wired to compatibility mode
 wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK3205MAV>
 wd0: drive supports 16-sector pio transfers, lba addressing
 wd0: 3102 MB, 6304 cyl, 16 head, 63 sec, 512 bytes/sect x 6354432 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
 pciide0: primary channel interrupting at irq 14
 wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
 pciide0: secondary channel wired to compatibility mode
 pciide0: secondary channel ignored (disabled)
 isa0 at pcib0
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 com0: console
 isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
 npx0 at isa0 port 0xf0-0xff: using exception 16
 pc0 at isa0 port 0x60-0x6f irq 1: color
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
 pcic0: controller 0 (Cirrus PD672X) has sockets A and B
 pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
 pcmcia0 at pcic0 controller 0 socket 0
 pcmcia1 at pcic0 controller 0 socket 1
 isapnp0: no ISA Plug 'n Play devices found
 biomask ffed netmask ffed ttymask ffef
 pcic0: using irq 3 for socket events
 md0: internal 2048K image area
 com3 at pcmcia0 function 0 port 0x2f8-0x2ff: serial device
 com3: ns16550a, working fifo
 ne0 at pcmcia1 function 0 port 0x400-0x40f port 0x410-0x41f
 ne0: Linksys Combo EthernetCard (DL10019) Ethernet
 ne0: Ethernet address 01:d4:ff:03:00:20
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 pciide0:0:0: bus-master DMA error: missing interrupt, status=0x1
 wd0: transfer error, downgrading to PIO mode 4
 wd0(pciide0:0:0): using PIO mode 4
 wd0d: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 512 tc_skip: 0
 wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
 	... more of the same ...
 wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
 wd0: dos partition I/O error
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 2048 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 2048 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 2048 tc_skip: 0
 pciide0:0:0: lost interrupt
         type: ata tc_bcount: 2048 tc_skip: 0
 wd0d: device timeout reading fsbn 0 of 0-3 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
 	... and finally ...
 wd0d: device timeout reading fsbn 0 of 0-3 (wd0 bn 0; cn 0 tn 0 sn 0)
 boot device: fd0
 root on md0a dumps on md0b
 root file system type: ffs
 erase ^?, werase ^W, kill ^U, intr ^C
  
  
  Welcome to sysinst, the NetBSD-1.5.1_BETA2 system installation tool.
 
 At this point, more of the same shows up when I try to go further into
 the installation.
 
 This laptop normally runs OpenBSD; I think the primary difference here
 is that OpenBSD isn't trying to do DMA with this IDE chipset, though I
 may be mistaken.  Relevant OpenBSD dmesg segment:
 
 pciide0 at pci0 dev 20 function 0 "Opti 82C621 IDE" rev 0x12: DMA (unsupported), channel 0 wired to compatibility, channel 1 wired to compatibility
 pciide0: channel 0 interrupting at irq 14
 wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK3205MAV>
 wd0: 16-sector PIO, LBA, 3102MB, 6304 cyl, 16 head, 63 sec, 6354432 sectors
 
 Incidentally, the ne probe is getting the MAC address wrong too.  The
 correct MAC is 0:4:5a:09:c1:7c.  This is a fairly new card (the Linksys
 PCM100, 10/100 with an integrated port on the end), and support had to
 be added to OpenBSD for it.  If I could boot NetBSD I'd help you out
 there too :-)