Bug 20040

Summary: Toshiba 2775 hangs after pcib0 driver is loaded.
Product: Base System Reporter: Mike Tisdell <mike>
Component: kernAssignee: John Baldwin <jhb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Mike Tisdell 2000-07-19 18:50:01 UTC
When booting a 5.0-current kernel on a Toshiba 2775 Laptop the system hangs after loading the pcib0 driver. A hard reset is required to reboot the system. Both the gziped kernel on the on the installation disk and a kernel I built from the source tree have this problem. I did build a 5.0 kernel with the /usr/src/sys/i386/isa/pcibus.c from the 4.0-RELEASE source tree, and was able to boot the system with this kernel. 
 
Side note: are there any pcmcia ethernet cards currently on the market (i.e. that could be ordered and purchased) that will work with FreeBSD? Preferably 100baseT.

Fix: 

compile the kernel with the 4.0-RELEASE version of /usr/src/sys/i386/isa/pcibus.c
How-To-Repeat: Boot a toshiba 2775 (and I expect other 27xx models) with a FreeBSD 5.0 kernel.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-19 20:13:21 UTC
Responsible Changed
From-To: freebsd-bugs->msmith

This problem crept in between rev 1.57 and rev 1.62 of 
src/sys/i386/isa/pcibus.c .  Mike, could you take a look?
Comment 2 john 2003-12-31 15:53:30 UTC
Does this problem still occur with either 5.1 release or 5.2-RC2?

-- 
John Baldwin <john@baldwin.cx>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Comment 3 John Baldwin freebsd_committer freebsd_triage 2003-12-31 15:53:41 UTC
Responsible Changed
From-To: msmith->jhb

I'll take this one.
Comment 4 John Baldwin freebsd_committer freebsd_triage 2005-03-23 21:01:50 UTC
1) Does this problem still happen on either 5.x or HEAD?
2) Does it go away on 5.x and/or HEAD if you 'set hw.pci.enable_io_modes=0' in 
the loader?

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Comment 5 csjp 2005-06-08 16:27:14 UTC
I have seen this problem on my Toshiba laptop as well. I was able to get 
around the hang by setting hw.pci.enable_io_modes to zero at boot time.

Regards
Christian S.J. Peron
Comment 6 John Baldwin freebsd_committer freebsd_triage 2005-06-29 16:26:01 UTC
This problem should be fixed in HEAD and RELENG_5 now.  Can anyone please 
confirm that?

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Comment 7 John Baldwin freebsd_committer freebsd_triage 2005-06-29 16:30:24 UTC
State Changed
From-To: open->feedback

Should be fixed now, just waiting for confirmation.
Comment 8 John Baldwin freebsd_committer freebsd_triage 2005-09-02 18:51:03 UTC
State Changed
From-To: feedback->closed

Feedback timeout.