Subject: kern/23192: 'pciide at pnpbios' confirmed, however does not boot.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <GBC01623@nifty.com>
List: netbsd-bugs
Date: 10/19/2003 16:11:30
>Number:         23192
>Category:       kern
>Synopsis:       'pciide at pnpbios' confirmed, however does not boot.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 19 16:12:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Koizumi Noriyuki
>Release:        NetBSD 1.6ZC
>Organization:
>Environment:
NetBSD libretto 1.6ZC NetBSD 1.6ZC (LIBRETTO) #17: Mon Oct 14 01:29:17 JST 2003 koizumi@desktop:/usr/src/sys/arch/i386/compile/LIBRETTO i386
>Description:
Since 1.6ZB, I can't boot by the custom kernel.


I added the following change to GENERIC_LAPTOP.

  pnpbios at mainbus
  pciide at pnpbios

And it compiled, installed and rebooted by the new kernel.
However, it stopped at the following message.

(digest)
  :
pnpbios0 at mainbus0: code f0000, data 0, entry 9534, control 1 eventp 510
pnpbios0: nodes 15, max len 207
pnpbios0: node index mismatch (static): requested 0, got 1
  :
pciide0 at pnpbios0 index 12 (TOS7300)
pciide0: io 1f0-1f7 3f6 1800-180f, irq 14
pciide0: Toshiba Extended IDE Controller
atabus0 at pciide0 channel 0
  :
wd0 at atabus0 drive 0: <TOSHIBA MK8113MAT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 7815 MB, 16938 cyl, 15 head, 63 sec, 512 bytes/sect x 16006410 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
uvm_fault(0xc03feb20, 0, 0, 1) -> 0xe
Kernal: page fault trap, code=0
Stopped in pid 2.1 (atabus0) at netbsd:_bus_dmamap_load+0xf:    cmpl    0(%ebx),%edi
db> 

This is the log of trace. 

db> t
_bus_dmamap_load(c03c6d00,0,c7d1a000,200,0) at netbsd:_bus_dmamap_load+0xf
pciide_dma_init(c064a400,0,0,c7d1a000,200) at netbsd:pciide_dma_init+0x4c
_wdc_ata_bio_start(c064a4e4,c0704000,0,c8cde088,c8cd51ac) at netbsd:_wdc_ata_bio_start+0x180
atabus_thread(c066ab80,45e000,467000,0,c010030c) at netbsd:atabus_thread+0x13a

>How-To-Repeat:
'pciide at pnpbios' enabled.


>Fix:
I don't know, sorry.

>Release-Note:
>Audit-Trail:
>Unformatted: