[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-laptop-discuss
Subject:    [laptop-discuss] assertion in cardbus fails with RT2500 card
From:       Albert Lee <trisk () acm ! jhu ! edu>
Date:       2006-11-10 18:23:37
Message-ID: 200611101323.39844.trisk () acm ! jhu ! edu
[Download RAW message or body]

Hi,

I have an Inspiron 8000 with a RaLink RT2500 card that consistently triggers 
an assert in the cardbus nexus driver 0.3 (newddi) if I leave it plugged in 
at boot. This does not occur if I plug the card in after initial device 
probing during boot has finished, and the card will correctly recognised by 
the driver in that case. I'm including the output of scanpci and mdb for the 
panic. In case it matters, the scanpci output here is from after reverting to 
the original pcic drivers from b51. 

Does anyone understand what is causing this? Let me know if any other info 
would be helpful.


mdb output:
operating system: 5.11 snv_51 (i86pc)
panic message:
assertion failed: (entry->memory_last + length) <= (entry->memory_base + 
entry->
memory_len), file: ../../common/io/cardbus.c, line: 4276
dump content: kernel pages only
MESSAGE
PCI-device: pci8086,1131@1, pci_pci0
pci_pci0 is /pci@0,0/pci8086,1131@1
8042 device:  keyboard@0, kb8042 # 0
kb80420 is /isa/i8042@1,60/keyboard@0
8042 device:  mouse@1, mouse8042 # 0
mouse80420 is /isa/i8042@1,60/mouse@1
PCI-device: pci8086,4541@1f,2, uhci0
uhci0 is /pci@0,0/pci8086,4541@1f,2
cpu0: x86 (GenuineIntel family 6 model 8 step 10 clock 1000 MHz)
cpu0: Intel(r) Pentium(r) III
PCI-device: pci8086,2448@1e, pci_pci1
pci_pci1 is /pci@0,0/pci8086,2448@1e
NOTICE: IRQ11 is being shared by drivers with different interrupt levels.
This may result in reduced system performance.
PCI-device: pci1028,a4@f, pcic0
pcic0 is /pci@0,0/pci8086,2448@1e/pci1028,a4@f
/pci@0,0/pci8086,2448@1e/pci1028,a4@f/pcs@0 (pcs0) online
NOTICE: IRQ11 is being shared by drivers with different interrupt levels.
This may result in reduced system performance.
PCI-device: pci1028,a4@f,1, pcic1
pcic1 is /pci@0,0/pci8086,2448@1e/pci1028,a4@f,1
/pci@0,0/pci8086,2448@1e/pci1028,a4@f,1/pcs@0 (pcs1) online
pseudo-device: tzmon0
tzmon0 is /pseudo/tzmon@0
NOTICE: IRQ11 is being shared by drivers with different interrupt levels.
This may result in reduced system performance.
PCI-device: pci1028,a4@f,2, hci13940
hci13940 is /pci@0,0/pci8086,2448@1e/pci1028,a4@f,2
        MultiwordDMA mode 2 selected
        MultiwordDMA mode 2 selected
        MultiwordDMA mode 2 selected
        UltraDMA mode 5 selected
dump on /dev/dsk/c0d0s1 size 988 MB
pseudo-device: zfs0
zfs0 is /pseudo/zfs@0
pseudo-device: devinfo0
devinfo0 is /pseudo/devinfo@0
pseudo-device: pm0
pm0 is /pseudo/pm@0
pseudo-device: power0
power0 is /pseudo/power@0
ISA-device: asy0
asy0 is /isa/asy@1,3f8
iscsi0 at root
iscsi0 is /iscsi
xsvc0 at root
xsvc0 is /xsvc
pseudo-device: ossaudios0
ossaudios0 is /pseudo/ossaudios@0
pseudo-device: ossaudios0
ossaudios0 is /pseudo/ossaudios@0
sd0 at ata0: target 1 lun 0
sd0 is /pci@0,0/pci-ide@1f,1/ide@0/sd@1,0
device pciclass,030000@0(display#0) keeps up device sd@1,0(sd#0), but the 
latter
 is not power managed
ISA-device: fdc0
fd0 at fdc0
fd0 is /isa/fdc@1,3f2/fd@0,0
PCI-device: pci1028,a4@3, allegro0
allegro0 is /pci@0,0/pci8086,2448@1e/pci1028,a4@3
pseudo-device: dtrace0
dtrace0 is /pseudo/dtrace@0
pseudo-device: pseudo1
pseudo1 is /pseudo/zconsnex@1
pseudo-device: ramdisk1024
ramdisk1024 is /pseudo/ramdisk@1024
pseudo-device: lockstat0
lockstat0 is /pseudo/lockstat@0
pseudo-device: llc10
llc10 is /pseudo/llc1@0
pseudo-device: lofi0
lofi0 is /pseudo/lofi@0
pseudo-device: profile0
profile0 is /pseudo/profile@0
pseudo-device: systrace0
systrace0 is /pseudo/systrace@0
pseudo-device: fbt0
fbt0 is /pseudo/fbt@0
pseudo-device: sdt0
sdt0 is /pseudo/sdt@0
pseudo-device: fasttrap0
fasttrap0 is /pseudo/fasttrap@0
pseudo-device: fcp0
fcp0 is /pseudo/fcp@0
pseudo-device: fcsm0
fcsm0 is /pseudo/fcsm@0
pseudo-device: osscore0
osscore0 is /pseudo/osscore@0
pseudo-device: ossusb0
ossusb0 is /pseudo/ossusb@0
pseudo-device: softoss0
softoss0 is /pseudo/softoss@0
pseudo-device: lx_systrace0
lx_systrace0 is /pseudo/lx_systrace@0
pseudo-device: fssnap0
fssnap0 is /pseudo/fssnap@0
pseudo-device: winlock0
winlock0 is /pseudo/winlock@0
pseudo-device: rsm0
rsm0 is /pseudo/rsm@0
pseudo-device: pool0
pool0 is /pseudo/pool@0
IP Filter: v4.1.9, running.
PCI-device: pci1668,100@6, pci_pci2
pci_pci2 is /pci@0,0/pci8086,2448@1e/pci1668,100@6
NOTICE: IRQ11 is being shared by drivers with different interrupt levels.
This may result in reduced system performance.
Ethernet address = 0:20:e0:67:79:7e
iprb0: Intel 82558/82559 Ver 0.010.6 Driver: type "ether" mac address 
00:20:e0:6
7:79:7e
PCI-device: pci1668,1100@4, iprb0
iprb0 is /pci@0,0/pci8086,2448@1e/pci1668,100@6/pci1668,1100@4
        MultiwordDMA mode 2 selected
        MultiwordDMA mode 2 selected
        MultiwordDMA mode 2 selected
        UltraDMA mode 5 selected
        MultiwordDMA mode 2 selected
        MultiwordDMA mode 2 selected
        MultiwordDMA mode 2 selected
        UltraDMA mode 5 selected
pseudo-device: devinfo0
devinfo0 is /pseudo/devinfo@0
NOTICE: cardbus_get_mem: assert will fail 8355078144 <= 4060110848, 
(0x172004000
 + 0x80002000) <= (0xf2004000 + 0x2000)


panic[cpu0]/thread=d48e1de0:
assertion failed: (entry->memory_last + length) <= (entry->memory_base + 
entry->
memory_len), file: ../../common/io/cardbus.c, line: 4276


d48e1a2c genunix:assfail+5a (fa124d64, fa124d48,)
d48e1a7c cardbus:cardbus_get_mem+1c6 (d423c4a0, d627d7b0,)
d48e1ad4 cardbus:cardbus_bridge_assign+27b (d423c5c0, d627d7b0)
d48e1b0c genunix:walk_devs+29 (d423c5c0, fa119f70,)
d48e1b48 genunix:walk_devs+ea (0, fa119f70, d627d7)
d48e1b60 genunix:ddi_walk_devs+16 (db39dd88, fa119f70,)
d48e1bd4 cardbus:cardbus_bridge_ranges+a4 (db398d90, d627d7b0,)
d48e1c04 cardbus:cardbus_topbridge_assign+54 (db398d90, d627d7b0)
d48e1c3c cardbus:cardbus_program_ap+cf (db398d90)
d48e1c6c cardbus:cardbus_configure+1bd (d423ed30)
d48e1cb0 cardbus:cardbus_load_cardbus+76 (db398d90, 0, 100000)
d48e1d34 pcic:pcic_load_cardbus+170 (d4231a80, d4231b00)
d48e1d60 pcic:pcic_handle_cd_change+189 (d4231a80, d4231b00,)
d48e1d88 pcic:pcic_debounce+a3 (d4231b00, 0, 0, 0, )
d48e1dc8 pcic:pcic_deb_thread+1bb (0, 0)
d48e1dd8 unix:thread_start+8 ()

syncing file systems...
 1
 done
dumping to /dev/dsk/c0d0s1, offset 207290368, content: kernel
d48e1a08 vpanic(fe9cc134, fa124d64, fa124d48, 10b4)
d48e1a2c assfail+0x5a(fa124d64, fa124d48, 10b4)
d48e1a7c cardbus_get_mem+0x1c6(d423c4a0, d627d7b0, 80002000, d48e1aa8)
d48e1ad4 cardbus_bridge_assign+0x27b(d423c5c0, d627d7b0)
d48e1b0c walk_devs+0x29(d423c5c0, fa119f70, d627d7b0, 1)
d48e1b48 walk_devs+0xea(0, fa119f70, d627d7b0, 1)
d48e1b60 ddi_walk_devs+0x16(db39dd88, fa119f70, d627d7b0)
d48e1bd4 cardbus_bridge_ranges+0xa4(db398d90, d627d7b0, d627dd50)
d48e1c04 cardbus_topbridge_assign+0x54(db398d90, d627d7b0)
d48e1c3c cardbus_program_ap+0xcf(db398d90)
d48e1c6c cardbus_configure+0x1bd(d423ed30)
d48e1cb0 cardbus_load_cardbus+0x76(db398d90, 0, 10000000)
d48e1d34 pcic_load_cardbus+0x170(d4231a80, d4231b00)
d48e1d60 pcic_handle_cd_change+0x189(d4231a80, d4231b00, c)
d48e1d88 pcic_debounce+0xa3()
d48e1dc8 pcic_deb_thread+0x1bb(0, 0)
d48e1dd8 thread_start+8()



scanpci -v output:

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x1130
 Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub
  STATUS    0x2090  COMMAND 0x0106
  CLASS     0x06 0x00 0x00  REVISION 0x02
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0xe4000008  addr 0xe4000000  MEM PREFETCHABLE

pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x8086 device 0x1131
 Intel Corporation 82815 815 Chipset AGP Bridge
  STATUS    0x0020  COMMAND 0x0007
  CLASS     0x06 0x04 0x00  REVISION 0x02
  HEADER    0x01  LATENCY 0x20
  PRIBUS    0x00  SECBUS 0x01  SUBBUS 0x01
  SECLT     0x20  SECSTATUS 0xa2a0
  IOBASE    0xc000  IOLIM 0xcfff
  NOPREFETCH_MEMBASE 0xfc000000  MEMLIM 0xfdffffff
  PREFETCH_MEMBASE   0xe8000000  MEMLIM 0xebffffff
  NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT VGA_EN ISA_EN NO_SERR_EN NO_PERR_EN

pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x2448
 Intel Corporation 82801 Mobile PCI Bridge
  STATUS    0x0080  COMMAND 0x0007
  CLASS     0x06 0x04 0x00  REVISION 0x02
  HEADER    0x01  LATENCY 0x00
  PRIBUS    0x00  SECBUS 0x02  SUBBUS 0x10
  SECLT     0x20  SECSTATUS 0x2280
  IOBASE    0xd000  IOLIM 0xffff
  NOPREFETCH_MEMBASE 0xf2000000  MEMLIM 0xfbffffff
  PREFETCH_MEMBASE   0xfff00000  MEMLIM 0x000fffff
  NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN SERR_EN NO_PERR_EN

pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x244c
 Intel Corporation 82801BAM ISA Bridge (LPC)
  STATUS    0x0280  COMMAND 0x010f
  CLASS     0x06 0x01 0x00  REVISION 0x02
  BIST      0x00  HEADER 0x80  LATENCY 0x00  CACHE 0x00
  BYTE_0    0x01  BYTE_1  0x08  BYTE_2  0x00  BYTE_3  0x00

pci bus 0x0000 cardnum 0x1f function 0x01: vendor 0x8086 device 0x244a
 Intel Corporation 82801BAM IDE U100
 CardVendor 0x8086 card 0x4541 (Intel Corporation, Card unknown)
  STATUS    0x0280  COMMAND 0x0005
  CLASS     0x01 0x01 0x80  REVISION 0x02
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE4     0x0000bfa1  addr 0x0000bfa0  I/O
  BYTE_0    0x37  BYTE_1  0xe3  BYTE_2  0x22  BYTE_3  0x80

pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x2442
 Intel Corporation 82801BA/BAM USB (Hub #1)
 CardVendor 0x8086 card 0x4541 (Intel Corporation, Card unknown)
  STATUS    0x0280  COMMAND 0x0005
  CLASS     0x0c 0x03 0x00  REVISION 0x02
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE4     0x0000bce1  addr 0x0000bce0  I/O
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x04  INT_LINE 0x0b

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x4d46
 ATI Technologies Inc Rage Mobility M4 AGP
 CardVendor 0x1028 card 0x00a4 (Dell, Card unknown)
  STATUS    0x02b0  COMMAND 0x0087
  CLASS     0x03 0x00 0x00  REVISION 0x00
  BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
  BASE0     0xe8000008  addr 0xe8000000  MEM PREFETCHABLE
  BASE1     0x0000cc01  addr 0x0000cc00  I/O
  BASE2     0xfcffc000  addr 0xfcffc000  MEM
  MAX_LAT   0x00  MIN_GNT 0x08  INT_PIN 0x01  INT_LINE 0x0b

pci bus 0x0002 cardnum 0x03 function 0x00: vendor 0x125d device 0x1998
 ESS Technology ES1983S Maestro-3i PCI Audio Accelerator
 CardVendor 0x1028 card 0x00a4 (Dell, Card unknown)
  STATUS    0x0290  COMMAND 0x0007
  CLASS     0x04 0x01 0x00  REVISION 0x10
  BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x00
  BASE0     0x0000dc01  addr 0x0000dc00  I/O
  BASE1     0xf6ffe000  addr 0xf6ffe000  MEM
  MAX_LAT   0x18  MIN_GNT 0x02  INT_PIN 0x01  INT_LINE 0x05
  BYTE_0    0x1c  BYTE_1  0x00  BYTE_2  0x00  BYTE_3  0x00

pci bus 0x0002 cardnum 0x06 function 0x00: vendor 0x1668 device 0x0100
 Actiontec Electronics Inc Mini-PCI bridge
  STATUS    0x0290  COMMAND 0x0007
  CLASS     0x06 0x04 0x00  REVISION 0x11
  HEADER    0x01  LATENCY 0x20
  PRIBUS    0x02  SECBUS 0x08  SUBBUS 0x08
  SECLT     0x20  SECSTATUS 0x2280
  IOBASE    0xe000  IOLIM 0xefff
  NOPREFETCH_MEMBASE 0xf8000000  MEMLIM 0xf9ffffff
  PREFETCH_MEMBASE   0xfff00000  MEMLIM 0x000fffff
  NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT NO_VGA_EN ISA_EN SERR_EN NO_PERR_EN

pci bus 0x0002 cardnum 0x0f function 0x00: vendor 0x104c device 0xac42
 Texas Instruments PCI4451 PC card Cardbus Controller
  STATUS    0x0210  COMMAND 0x0007
  CLASS     0x06 0x07 0x00  REVISION 0x00
  BIST      0x00  HEADER 0x82  LATENCY 0x20  CACHE 0x08
  BASE0     0xf2001000  addr 0xf2001000  MEM
  BASE1     0xc20000a0  addr 0xc20000a0  MEM
  BASE2     0x40030302  addr 0x40030300  MEM
  BASE3     0xf2004000  addr 0xf2004000  MEM
  BASE4     0xf2005000  addr 0xf2005000  MEM
  MAX_LAT   0x04  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0b
  BYTE_0    0x28  BYTE_1  0x10  BYTE_2  0xa4  BYTE_3  0x00

pci bus 0x0002 cardnum 0x0f function 0x01: vendor 0x104c device 0xac42
 Texas Instruments PCI4451 PC card Cardbus Controller
  STATUS    0x0210  COMMAND 0x0007
  CLASS     0x06 0x07 0x00  REVISION 0x00
  BIST      0x00  HEADER 0x82  LATENCY 0x20  CACHE 0x08
  BASE0     0xf2000000  addr 0xf2000000  MEM
  BASE1     0x020000a0  addr 0x020000a0  MEM
  BASE2     0x20050500  addr 0x20050500  MEM
  MAX_LAT   0x07  MIN_GNT 0x40  INT_PIN 0x01  INT_LINE 0x0b
  BYTE_0    0x28  BYTE_1  0x10  BYTE_2  0xa4  BYTE_3  0x00

pci bus 0x0002 cardnum 0x0f function 0x02: vendor 0x104c device 0x8027
 Texas Instruments PCI4451 IEEE-1394 Controller
 CardVendor 0x1028 card 0x00a4 (Dell, Card unknown)
  STATUS    0x0210  COMMAND 0x0006
  CLASS     0x0c 0x00 0x10  REVISION 0x00
  BIST      0x00  HEADER 0x80  LATENCY 0x20  CACHE 0x08
  BASE0     0xf6ffd800  addr 0xf6ffd800  MEM
  BASE1     0xf6ff8000  addr 0xf6ff8000  MEM
  MAX_LAT   0x04  MIN_GNT 0x02  INT_PIN 0x01  INT_LINE 0x0b

pci bus 0x0003 cardnum 0x00 function 0x00: vendor 0x1814 device 0x0201
 RaLink RT2500 802.11G Cardbus/mini-PCI
 CardVendor 0x1799 card 0x701a (Belkin F5D7010 Wireless G Notebook Network 
Card)
  STATUS    0x4410  COMMAND 0x0006
  CLASS     0x02 0x80 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0xa8  CACHE 0x10
  BASE0     0x72004000  addr 0x72004000  MEM
  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x0b
  BYTE_0    0x01  BYTE_1  0x00  BYTE_2  0x02  BYTE_3  0x00

pci bus 0x0008 cardnum 0x04 function 0x00: vendor 0x8086 device 0x1229
 Intel Corporation 82557/8/9 [Ethernet Pro 100]
 CardVendor 0x1668 card 0x1100 (Actiontec Electronics Inc EtherExpress 
PRO/100B (TX) (MiniPCI Ethernet+Modem))
  STATUS    0x0290  COMMAND 0x0017
  CLASS     0x02 0x00 0x00  REVISION 0x08
  BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
  BASE0     0xf8fff000  addr 0xf8fff000  MEM
  BASE1     0x0000ecc1  addr 0x0000ecc0  I/O
  BASE2     0xf8e00000  addr 0xf8e00000  MEM
  BASEROM   0xf9000000  addr 0xf9000000  not-decode-enabled
  MAX_LAT   0x38  MIN_GNT 0x08  INT_PIN 0x01  INT_LINE 0x0b

pci bus 0x0008 cardnum 0x08 function 0x00: vendor 0x11c1 device 0x0448
 Agere Systems WinModem 56k
 CardVendor 0x1668 card 0x2400 (Actiontec Electronics Inc LT WinModem 56k 
(MiniPCI Ethernet+Modem))
  STATUS    0x0290  COMMAND 0x0107
  CLASS     0x07 0x80 0x00  REVISION 0x01
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0xf8ffec00  addr 0xf8ffec00  MEM
  BASE1     0x0000ecb9  addr 0x0000ecb8  I/O
  BASE2     0x0000e801  addr 0x0000e800  I/O
  MAX_LAT   0x0e  MIN_GNT 0xfc  INT_PIN 0x01  INT_LINE 0x0b
  BYTE_0    0xff  BYTE_1  0xff  BYTE_2  0xff  BYTE_3  0xff
_______________________________________________
laptop-discuss mailing list
laptop-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic