Re: How to find a right value for hw.cbb.start_memory?

"Kevin Oberman" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
> Date: Thu, 18 Dec 2003 15:21:44 +0300
> From: "Sergey A. Osokin" <[email protected]>
> Sender: [email protected]
> 
> Hello,
> Does anyone have an idea how to find a right value for
> hw.cbb.start_memory?
> 
> I use a 3Com Megahertz 56K Modem (3CXM756) with
> my HP 6100 Omnibook notebook and with
> device	pcic
> device	card	1
> works fine.
> 
> Part of verbose boot:
> pcib2: device pccard0 requested decoded memory range 0xd0000-0xd0000
> pcic: mem addr 0xd0000: reg 48: d0 0 d0 0 0 7f 10
> pcic: mem addr 0: reg 48: 0 0 0 0 0 0 0
> ...
> pcib2: device pccard0 requested decoded I/O range 0x3f8-0x3ff
> pcib2: device pccard0 requested decoded I/O range 0x2f8-0x2ff
> ...
> pccard0: Assigning sio4: io 0x2f8-0x2ff irq 10 flags 0x0
> pcib2: device sio4 requested decoded I/O range 0x2f8-0x2ff
> pcic: I/O win 0 flags 11 2f8-2ff
> pcic: I/O win 0 flags 1 2f8-2ff
> sio4 at port 0x2f8-0x2ff irq 10 slot 0 on pccard0
> pcib2: device sio4 requested decoded I/O range 0x2f8-0x2ff
> pcic: I/O win 0 flags 11 2f8-2ff
> sio4: type 16550A
> sio4: Forcing IRQ to 10
> sio4: unable to activate interrupt in fast mode - using normal mode
> 
> I tried to use
> device cbb
> device pccard
> device cardbus
> but its don't work for me:
> pcib2: device pccard0 requested decoded memory range 0x88000000-0xffffffff
> CIS is too long -- truncating
> pccard0: Card has no functions!
> cbb0: PC Card card activation failed
> 
> Also I tried to change hw.cbb.start_memory to 0xd0202000,
> but it don't help me.

hw.cbb.start_memory ust be greater than the actual DRAM on the
system. So if you have 512 MB of memory (as I do), a working value will
be at least 0x20000000. It might need to be higher. For 768M, start at
0x30000000 and if you have 1 GB, start at 0x40000000. 

I have 512 MB and set it at 0x20000000. I see agp at 0xe0000000, cbb0 at
0x50000000, cbb1 at 0x51000000 and fxp0 at 0xd0200000. I I tried
starting at 0xd0202000, I would not have space for everything.

You may also need hw.pci.allow_unsupported_io_range="1".
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [email protected]			Phone: +1 510 486-8634
_______________________________________________
[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.