NetBSD Problem Report #46285

From www@NetBSD.org  Sat Mar 31 04:00:10 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 42D0A63CD2A
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 31 Mar 2012 04:00:10 +0000 (UTC)
Message-Id: <20120331040009.84D3C63BEE1@www.NetBSD.org>
Date: Sat, 31 Mar 2012 04:00:09 +0000 (UTC)
From: netbsdamd64@gmail.com
Reply-To: netbsdamd64@gmail.com
To: gnats-bugs@NetBSD.org
Subject: ixpide0:0:0: piomode error (0xff)
X-Send-Pr-Version: www-1.0

>Number:         46285
>Category:       kern
>Synopsis:       ixpide0:0:0: piomode error (0xff)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 31 04:05:00 +0000 2012
>Originator:     Justin
>Release:        NetBSD-6.0_BETA-amd64
>Organization:
>Environment:
NA
>Description:
Trying to install NetBSD-6.0_BETA-amd64 on BIOSTAR TA790GXE-128M
mainboard. I get these errors -

root on cd0a dumps on cd0b
ixpide0:0:0: piomode error (0xff)
cd0(ixpide0:0:0:) : unknown error code 255
ixpide0:0:0: piomode error (0xff)
vfs_mountroot: can't open root device
cannot mount root, error = 5
root device (default cd0a): uhidev0 at uhub0 port3 configuration 1 interface 0
uhidev0: chicony USB keyboard, rev 2.00/1.00, addr 2 iclass 3/1
ukbd at uhidev0: 8 modifier keys, 6 key codes

This port is broken, it does not call cnpollc() before calling cngetc ().
This should be fixed, but it will work anyway (for now).
panic: kernel diagnostic assertion "KERNEL_LOCKED_P()" failed: file
"/usr/src/sys/dev/usb/usbdi.c" line 760
fatal breakpoint trap in supervisor mode
trap type 1 code rip ffffffff802590f5 cd 8 rflags 246 cr2 0 cpl 4 rsp
ffffffff8102fa60
Stopped in pid 0.1 (system) at netbsd:breakpoint+0x5:      leave
db{1}>

I have tried changing pio/dma values putting pio at 0 upto 4 or
setting it to AUTO and putting DMA to AUTO to ULTRADMA 2/4 but nothing
seem to work. I have 5.1.2 install on same machine and I get
ixpide0:0:0: piomode error (0xff) there too.

Please HELP!
>How-To-Repeat:
Boot NetBSD-6.0_BETA on BIOSTAR TA790GXE-128M
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.