Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2005 22:59:51 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        Munehiro Matsuda <haro@h4.dion.ne.jp>
Cc:        freebsd-mobile@FreeBSD.org
Subject:   Re: FreeBSD 5.x installation hangs on Toshiba Tecra A2
Message-ID:  <79e6b51a7fb7d0233cb0c9e886d92ddf@FreeBSD.org>
In-Reply-To: <20050518.155618.71084045.haro@h4.dion.ne.jp>
References:  <BAY15-F428283999CE8A4ED040C85BA170@phx.gbl> <20050518.155618.71084045.haro@h4.dion.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 18, 2005, at 2:56 AM, Munehiro Matsuda wrote:

> Hello Jamil,
>
> How about setting 'hw.pci.enable_io_modes=0' at loader prompt or
> set it in loader.conf? Toshiba laptops seems to need this.
>
> Hope this helps,
>   Haro
> =---------------------------------------------------------------------- 
> --------
>            _ _    Munehiro (haro) Matsuda
>  -|- /_\  |_|_|   Internet Solution Dept., KGT Inc.
>  /|\ |_|  |_|_|   2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan
>                   Tel: +81-3-3225-0767  Fax: +81-3-3225-0740
>                   Email: haro@kgt.co.jp
>
> From: "Jamil Ahmed" <jamil.ahmed@hotmail.co.uk>
> Date: Wed, 18 May 2005 07:42:41 +0100
> ::Hello,
> ::
> ::I am having trouble installing FreeBSD 5.x on my laptop (the  
> processor is
> ::Intel Centrino 1.7GHz). I have tried 5.3 and now 5.4, the load stops  
> at the
> ::same place for both. FreeBSD 4.10 installs fine. I have tried the  
> normal
> ::boot and also boot with ACPI disabled without luck. The following is  
> the
> ::tail end of the output when booting with verbose output
> ::
> ::pcib0: slot 2 INTA routed to irq 10 via \_SB_.LNKA
> ::found-> vendor=0x8086, dev=0x3582, revid=0x02
> ::        bus=0, slot=2, func=0
> ::        class=03-00-00, hdrtype=0x00, mfdev=1
> ::        cmdreg=0x0007, statreg=0x0090, cachelnsz=0 (dwords)
> ::        lattimer=0x00 (0 ns), mingnt-0x00 (0 ns), maxlat=0x00 (0 ns)
> ::        intpin=a, irq=10
> ::        powerspec 1 supports D0 D1 D3 current D0
> ::        map[10]: type 3, range 32, base 00000000, size 27, memory  
> disabled
> ::
> ::
> ::the install just stalls at this point.

So, the problem is that we turn on the memory BARs by default.  Note  
that the BAR has a base address of 0, so I wonder if it starts  
"answering" to mem access to low memory.  Note it has a range of 27  
bits, or 128 MB.  We could probably just move the check for a base of 0  
up above the pci_enable_io_modes code to do that.  Warner, what do you  
think?

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79e6b51a7fb7d0233cb0c9e886d92ddf>