From nobody@FreeBSD.org  Sat Dec 15 23:50:17 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 97C7C37B41A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Dec 2001 23:50:17 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id fBG7oHT28803;
	Sat, 15 Dec 2001 23:50:17 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200112160750.fBG7oHT28803@freefall.freebsd.org>
Date: Sat, 15 Dec 2001 23:50:17 -0800 (PST)
From: "John L. Utz III" <john@utzweb.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rebooting between Win98SE and 4.4-20011210 causes pccardc to misplace the CIS
X-Send-Pr-Version: www-1.0

>Number:         32895
>Category:       bin
>Synopsis:       rebooting between Win98SE and 4.4-20011210 causes pccardc to misplace the CIS
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 16 00:00:07 PST 2001
>Closed-Date:    Mon Oct 07 13:11:03 MDT 2002
>Last-Modified:  Mon Oct 07 13:11:03 MDT 2002
>Originator:     John L. Utz III
>Release:        4.4-20011210
>Organization:
>Environment:
cant do it, my laptop's network card cant be found,so i can do this from the laptop
>Description:
pccards no longer get probed after i reboot to stable from Win98.
pccardd returns the 'no card for (null) (null)' line and pccardc dumpcis claims that Tuple #1 is ff and the length is 0.

note that the bridge chipset is correctly probed as a TI113X. note further that this is a computer that requires the ISA interrupt rerouting hw.pcic.irq=0 and hw.pcic.intr_path=1 to avoid a panic on install, but it isnt required after the install
>How-To-Repeat:
once it occurs, it doesnt matter what you do, it remains after any reboot *or* reconfiguration of the interrupt routing
>Fix:
shutdown. and remove the mains. and remove the battery.

it seems like the problem is that the registers in the pccard code arent getting initialized correctly and windows sets them to something that makes freebsd unhappy and freebsd never resets them to the stock setting on reboot. pulling the power probably lets the registers get back to where they belong.

occasonally when rebooting for the first time after pulling the power, the it reports that it inserted and removed each card 2x, but the cards work after that. and the next reboot shoes the cards 'inserting' mormally
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Sun Dec 30 05:18:29 PST 2001 
Responsible-Changed-Why:  
Over to the pccard maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32895 
State-Changed-From-To: open->feedback 
State-Changed-By: imp 
State-Changed-When: Sun Sep 29 17:45:41 MDT 2002 
State-Changed-Why:  
I think this has been fixed.  Can you confirm with a newer version of 
FreeBSD?  In fact, I kinda remember you telling me that this was fixed 
in newer versions of FreeBSD. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=32895 
State-Changed-From-To: feedback->closed 
State-Changed-By: imp 
State-Changed-When: Mon Oct 7 13:10:44 MDT 2002 
State-Changed-Why:  
John says I've fixed this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=32895 
>Unformatted:
