Re: cardbus panic: end address is not aligned

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Mon, 11 Jul 2011 18:29:19 -0700
On 07/08/2011 06:19, John Baldwin wrote:

> Hmm, well that's odd.  It didn't grow it enough it seems.
> 
>>> Also, can you boot your machine, then do 'sysctl debug.bootverbose=1', insert 
>>> the card and record the messages in dmesg when it does?  (You can likely get 
>>> those out of kgdb.)

I tried your patch, and got some odd results. The good news is, no
crash. However it did not actually enable the cards, with or without
if_ath being loaded before inserting them. Here is the dmesg output with
debug.bootverbose=1. This is with inserting and removing first one card,
then the other.

pcib5: attempting to grow memory window for (0x88000000-0xffffffff,0x10000)
        back candidate range: 0x88000000-0x8800ffff
pcib5: grew memory window to 0x80000000-0x880fffff
pcib5: allocated memory range (0x88000000-0x8800ffff) for rid 10 of
pci0:4:0:0
found-> vendor=0x168c, dev=0x0023, revid=0x01
        domain=0, bus=4, slot=0, func=0
        class=02-80-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x02b0, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=18
cardbus0: <network> at device 0.0 (no driver attached)
        map[10]: type Memory, range 32, base 0, size 16, memory disabled
pcib5: allocated memory range (0x88000000-0x8800ffff) for rid 10 of
pci0:4:0:0
found-> vendor=0x168c, dev=0x0023, revid=0x01
        domain=0, bus=4, slot=0, func=0
        class=02-80-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x02b0, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=18
cardbus0: <network> at device 0.0 (no driver attached)
pcib5: allocated memory range (0x88000000-0x8800ffff) for rid 10 of
pci0:4:0:0
unknown: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0x88000000
cbb0: Opening memory:
cbb0: Normal: 0x88000000-0x8800ffff
cbb0: Opening memory:
cbb0: Opening memory:
cbb0: Normal: 0x88000000-0x8800ffff
cbb0: Opening memory:
found-> vendor=0x168c, dev=0x0013, revid=0x01
        domain=0, bus=4, slot=0, func=0
        class=02-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0002, statreg=0x0290, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x0a (2500 ns), maxlat=0x1c (7000 ns)
        intpin=a, irq=18
        powerspec 2  supports D0 D3  current D0
cardbus0: <network, ethernet> at device 0.0 (no driver attached)
pci0:4:0:0: Transition from D0 to D3


> The real messages I will want to see are in the dmesg.   Also, getting the
> output of 'devinfo -r' before you insert the card would also be helpful so
> I can see what it is growing from.

Attached.


Thanks for looking into this,

Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/


Received on Mon Jul 11 2011 - 23:29:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC