From bazilio@IED-VorSTU.ac.ru  Sun Feb 15 23:36:19 1998
Received: from ns1.ied-vorstu.ac.ru (news.ied.vorstu.ac.ru [193.233.113.20])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA21163
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Feb 1998 23:30:26 -0800 (PST)
          (envelope-from bazilio@IED-VorSTU.ac.ru)
Received: from localhost (bazilio@localhost)
	by ns1.ied-vorstu.ac.ru (8.8.8/8.8.8) with SMTP id KAA10639
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Feb 1998 10:24:47 +0300 (MSK)
	(envelope-from bazilio@ied-vorstu.ac.ru)
Message-Id: <Pine.BSF.3.96.980216101556.10240C-100000@ns1>
Date: Mon, 16 Feb 1998 10:24:40 +0300 (MSK)
From: "Vasily V. Grechishnikov" <bazilio@IED-VorSTU.ac.ru>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Re:Problem

>Number:         5760
>Category:       i386
>Synopsis:       3.0-CURRENT freezes at mount root stage on some TX MBs.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 15 23:40:04 PST 1998
>Closed-Date:    Thu Jul 15 00:57:55 PDT 1999
>Last-Modified:  Thu Jul 15 01:01:14 PDT 1999
>Originator:     bazilio
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
EMCS of VorSTU.
>Environment:

	FreeBSD 3.0-CURRENT, last CVSup 10 Feb 98.
	ASUS TXP4 motherboard with TX PIIX4 IDE BM interface.
	scanpci reports about that device as:

PCI says configuration type 1

PCI probing configuration type 1
Probing for devices on PCI bus 0:

[...]

pci bus 0x0 cardnum 0x01 function 0x0001: vendor 0x8086 device 0x7111
 Intel  Device unknown
  STATUS    0x0280  COMMAND 0x0005
  CLASS     0x01 0x01 0x80  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x00
  BASE4     0x0000e001  addr 0x0000e000  I/O
  BYTE_0    0x07  BYTE_1  0xa3  BYTE_2  0x77  BYTE_3  0xe3

[...]

>Description:

	FreeBSD 3.0-CURRENT freezes at mount root stage on ASUS TXP4
motherboard w/ PIIX4 IDE interface. But FreeBSD 2.2.5 works properly,
and on some other MBs w/ BM IDE interfaces (IWILL P55XB2, 
XXX with VIA 571) that kernel works too. Any maniplations with flags
for wdc0 (0xa0ffa0ff -> 0), boot PROM HDD block modes/PIO modes/DMA modes
settings, External/Internal caches  didn't make anything good. 
 After full initialization kernel just reports: Considering ffs rootfs,
and system is freezes without any disk activity (HDD LED off any time
after that).
When break it to DDB we can see the following ps:

proc          addr       flags   stat wmesg wchan    cmd
0xf0221cf0    0xf025c00  000204  3    biord f2735988 swapper
				      ^^^^^
				swapper goes in that state only from
				kern/vfs_bio.c:biowait() function
				after tsleep() with indefinite timeout. 	

	I think cause of its weird behaviour is some bugs/mistakes in
PIIX BM IDE driver, or bugs in Intel TX chipset. 
>How-To-Repeat:

	boot:kernel -v
>Fix:
	
	Unavailable.


Thanks , Vasily .
 [***************[ FreeBSD - it's coolest UNIX for PCs ! ]**************]

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Thu Jul 15 00:57:55 PDT 1999 
State-Changed-Why:  
Many users and developers are on record as liking and using Asus motherboards, 
so I expect that if there was a serious problem with using certain Asus 
models, we would hear about it. 

Mail to originator bounces.  If anyone can confirm that the configuration 

ASUS TXP4 motherboard with TX PIIX4 IDE BM interface 

does not crash before finishing its boot, that'd be cool. 

This PR was filed on a 3.0-current system dated no earlier than Feb 15, 1998. 
>Unformatted:
