From owner-freebsd-mobile  Tue Feb 18  3: 6:17 2003
Delivered-To: freebsd-mobile@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 91AD837B401
	for <freebsd-mobile@freebsd.org>; Tue, 18 Feb 2003 03:06:15 -0800 (PST)
Received: from mail.tiscali.cz (stateless1.tiscali.cz [213.235.135.70])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A086843F3F
	for <freebsd-mobile@freebsd.org>; Tue, 18 Feb 2003 03:06:14 -0800 (PST)
	(envelope-from vaclav.kares@tiscali.cz)
Received: from Kares.server (212.11.108.104) by mail.tiscali.cz (6.0.044)
        id 3E1C7FF80086062E for freebsd-mobile@freebsd.org; Tue, 18 Feb 2003 12:03:31 +0100
Received: by Kares.server (Postfix, from userid 1001)
	id 29C331FFA; Tue, 18 Feb 2003 12:08:52 +0100 (CET)
Date: Tue, 18 Feb 2003 12:08:52 +0100
From: Vaclav Kares <vaclav.kares@tiscali.cz>
To: freebsd-mobile@freebsd.org
Subject: Re: cbb: Unable to map IRQ... Solved. Possible bug ?
Message-ID: <20030218110851.GB939@Kares.server>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Sender: owner-freebsd-mobile@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-mobile.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-mobile>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-mobile>
X-Loop: FreeBSD.org


Hi,

  it seems that I completely solved my problem. Booting with

> OK unset acpi_load
> OK set hint.apm.0.disabled=0

corresponds to next part of dmesg now

pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
...
cbb0: <TI1250 PCI-CardBus Bridge> mem 0x20301000-0x20301fff at device 2.0 on
pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci_cfgintr: 0:2 INTA routed to irq 11 
cbb1: <TI1250 PCI-CardBus Bridge> mem 0x20300000-0x20300fff at device 2.1 on
pci0
cardbus1: <CardBus bus> on cbb0
pccard1: <16-bit PCCard bus> on cbb0
pci_cfgintr: 0:2 INTB routed to irq 11 
...
dc0: <Xircom X3201 10/100BaseTX> port 0x1000-0x107f mem 0x88000000-0x880000ff,0x88000100-0x8800017f irq 11 at device 0.0 on cardbus0

So the card and apm work very well now. I comment next lines in

/usr/src/sys/i386/pci/pci_cfgreg.c

if (!already && bios32(&arrgs,...,errok){
  PRVERB(("pci_cfgintr: ROUTE_INTERRUPT failed.\n"));
  return(PCI_INVALID_IRQ);
}
 
therefore I guess that there is only a problem in the condition...

Vaclav


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message