Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 12:42:41 -0600 (MDT)
From:      "M. Warner Losh" <imp@timing.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/30049: Bad iomem assigned in some cases.
Message-ID:  <200108241842.f7OIgfL09254@marvin.timing.com>

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

>Number:         30049
>Category:       kern
>Synopsis:       Bad iomem assigned in some cases.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 24 11:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     M. Warner Losh
>Release:        FreeBSD 4.4-RC
>Organization:
None
>Environment:
	Laptop
>Description:
> : nsp0 at port 0x240-0x24f iomem 0xc8800-0xc97ff irq 5 slot 0 on pccard0
> :                                ^^^^^^^^^^^^^^^
> Nothing should have changed in the memory allocation scheme.  The
> above address looks wrong to me.  Maybe it was with the addition of
> the orm device and that 0xc8000 was taken.  Maybe we're not aligning
> things properly (since the memory needs to be 4k aligned, iirc, at the
> bridge level).
> 
> Do you have a orm device?  If so, what does it say?

Yes,
jm3wud@cel% dmesg | grep orm
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc87ff on isa0

But if my memory is correct, iomem used to be 0xd0000- something. And
the line,
memory  0xd4000  96k
in /etc/defautls/pccard.conf seems to be ignored,

From: Warner Losh <imp@harmony.village.org>
Date: Thu, 23 Aug 2001 01:55:30 -0600
> Maybe this patch will help?

Unfortunately, no. Dmesg was same,
nsp0 at port 0x240-0x24f iomem 0xc8800-0xc97ff irq 5 slot 0 on pccard0

The lines of PCIC from dmesg was as follows,

pcic2: <Vadem 469> at port 0x3e0-0x3e1 on isa0
pcic2: Polling mode
pccard0: <PC Card bus (classic)> on pcic2
pccard1: <PC Card bus (classic)> on pcic2

// Noriaki Mitsunaga //

>How-To-Repeat:

Insert a nsp into the sytem.  Or some other pccard that requires
memory mapped.  Notice that it appears to be ignoring your memory line
in pccard.conf.

>Fix:

None offered.

>Release-Note:
>Audit-Trail:
>Unformatted:

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




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