Re: ToPIC95B cardbus on old laptop

Tijl Coosemans <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hello Andrew,

On Friday 03 September 2004 12:50, Andrew Belashov wrote:
> Tijl Coosemans wrote:
> | On Thursday 02 September 2004 08:04, Andrew Belashov wrote:
> |>Tijl Coosemans wrote:
> |>| I'm having problems to get my Xircom card working. It doesn't
> |>| seem to be able to allocate mem. I think in 4-stable it used
> |>| 0xd1000. Anyway, I've set the syctl variabe hw.xe.debug to 2
> |>| and included the output below. The first thing I noticed was
> |>| that it seems to think it's a RealPort card while this
> |>| certainly isn't the case.
> |>|
> |>| There are a couple messages related to this in the archives,
> |>| even a patch, but the code has changed since then and it no
> |>| longer applies.
> |>|
> |>| I'm using an OLDCARD kernel by the way. (NEWCARD doesn't seem
> |>| to work with this ToPIC95B).
> |>
> |>Try NEWCARD with patch from PR kern/69127:
> |><http://www.freebsd.org/cgi/query-pr.cgi?pr=69127>
> |>
> |>Boot verbosely ("boot -v" at loader prompt).
> |>
> |>Before inserting card do following:
> |># sysctl hw.cbb.debug=1
> |># sysctl hw.pccard.debug=1
> |># sysctl hw.pccard.cis_debug=1
> |># sysctl hw.cardbus.debug=1
> |># sysctl hw.cardbus.cis_debug=1
> |>
> |>Post dmesg into maillist.
> |
> | As I briefly mentioned, NEWCARD doesn't work for me, so I didn't
> | actually get any info from inserting the card. However, I figured
> | you might still be interested in the dmesg so here it is.
> |
> | I also found a message in the archives with apparently exactly
> | the same problem. It was fixed by enabling acpi, which this
> | laptop unfortunately does not support.
> |
> | http://lists.freebsd.org/pipermail/freebsd-current/2004-April/026
> |001.html
> |
> | Also, when I put this laptop in a docking station, there's a LOR
> | when probing the extra slots (cbb2) and the kernel crashes with a
> | page fault. Let me know if you want a dmesg of that.
>
> For NEWCARD in additional to first patch:
>
> Try following at boot prompt:
>
> set hw.pci.allow_unsupported_io_range="1"

This didn't do anything, and I think it has been removed from the code 
a while ago.

> Or try patch from PR/66848
> <http://www.freebsd.org/cgi/query-pr.cgi?pr=66848>

This patch isn't really up to date, but I figured out where to put all 
the pieces and lo and behold, it worked! Congratulations!
To get my Xircom card working I also needed the the exca.c patch you 
mentioned. Without it, the system completely locked up when I 
inserted the card and crashed when I removed it again.

Many many thanks!

Tijl
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.