Date: Fri, 04 May 2001 10:19:58 +1000 From: George Michaelson <ggm@apnic.net> To: Darryl Okahata <darrylo@soco.agilent.com> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: DELL Latitude 400 and pccard? Message-ID: <24938.988935598@apnic.net> In-Reply-To: Your message of "Thu, 03 May 2001 16:58:56 MST." <200105032358.QAA21349@mina.soco.agilent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> The "(NULL) (NULL)" messages may be due to a pcic memory conflict.
> What does "pccardc dumpcis" display? If you get messages like "code XXX
> ignored", where "XXX" is a number, then you may have a memory conflict.
fixing the core dump seemed trivial. it doesn't test for null pointer
in a critical part of decoding the data in printcis.c .
dump_cis_config() just needs to check if p = tp->data is NULL and then
protect the whole body of the procedure by {...} to avoid the problem.
Having done that, the pccardc dumpcis for this setup is as attached.
cheers
-George
Code 85 not found
Code 85 not found
code Unknown ignored
Code 240 not found
Code 240 not found
code Unknown ignored
Code 112 not found
Code 112 not found
code Unknown ignored
Code 116 not found
Code 116 not found
code Unknown ignored
Code 60 not found
Code 60 not found
code Unknown ignored
Code 139 not found
Code 139 not found
code Unknown ignored
Code 192 not found
Code 192 not found
code Unknown ignored
Code 14 not found
Code 14 not found
code Unknown ignored
Code 14 not found
Code 14 not found
code Unknown ignored
Code 54 not found
Code 54 not found
code Unknown ignored
Code 54 not found
Code 54 not found
code Unknown ignored
Code 162 not found
Code 162 not found
code Unknown ignored
Code 192 not found
Code 192 not found
code Unknown ignored
Configuration data for card in slot 0
Tuple #1, code = 0x0 (Null tuple), length = 4
000: cf 55 44 05
Tuple #2, code = 0x5 (Configuration entry for CardBus), length = 0
Tuple #3, code = 0x0 (Null tuple), length = 0
Tuple #4, code = 0x0 (Null tuple), length = 88
000: 38 6d 30 00 00 e8 10 c0 00 68 68 ff 70 00 00 24
010: 6e 01 00 00 00 00 c3 c8 02 00 00 00 49 00 00 50
020: 49 b7 00 00 18 00 00 73 00 00 00 55 44 16 00 01
030: dc 00 38 a0 50 49 4d 41 32 00 00 00 83 43 6d 31
040: 2f 30 20 74 65 6e 74 4e 43 00 00 00 00 00 00 00
050: 00 00 00 00 00 43 6d 4e
Tuple #5, code = 0x0 (Null tuple), length = 111
000: 6b 42 6f 00 00 00 00 00 29 00 00 00 00 00 00 19
010: 45 72 72 20 61 27 20 69 64 42 73 20 6f 65 20 6e
020: 62 65 42 73 20 6f 65 6f 20 49 0d 00 72 6f 3a 42
030: 64 55 44 20 6d 67 0d 00 57 c0 02 47 fa e0 59 be
040: c8 db c6 81 55 75 26 7f 00 1d 8b 16 26 05 3b 75
050: 33 26 4d e8 ff c0 03 eb 81 80 81 00 72 f8 50 b4
060: 32 cd 5b c3 8a c0 04 30 39 02 07 e4 8a 24 04
Tuple #6, code = 0x0 (Null tuple), length = 118
000: 04 e8 ff c3 fc 0a 74 e8 ff f6 cb 51 80 21 00 28
010: e0 c1 b0 e8 ff e0 b7 b0 e8 ff 0a a2 2e 06 00 74
020: be f0 e8 00 5e b4 cd c3 10 16 e8 ff 05 f3 eb c3
030: 57 53 52 c0 c0 6c 66 8b e8 ff d4 74 e8 ff 0d 26
040: 15 2b 3b 73 eb 66 66 5f cb ab 2c b9 00 a4 70 ab
050: c8 c3 8b 83 fa 3e 00 75 eb 89 fa 66 42 53 e8 fe
060: 73 8c fe 8b 16 26 44 89 fc 57 76 16 e8 ff 5e 8b
070: 5d 55 ec c4 8c ee
Tuple #7, code = 0x0 (Null tuple), length = 22
000: 26 45 89 ec 7e b8 00 a3 16 8d f0 89 16 7e 57 5e
010: 8d f0 c0 8b 8b 5d
Tuple #8, code = 0x1e (Geometry info for common memory), length = 14
000: a0 00 80 c0 19 03 04 e8 fe c8 f0 c1 04 c3
width = 160, erase = 0x80000000, read = 0x80000000, write = 0x80000000
partition = 0x1000000, interleave = 0x4
width = 160, erase = 0x80000000, read = 0x80000000, write = 0x80000000
partition = 0x1000000, interleave = 0x4
Tuple #9, code = 0x0 (Null tuple), length = 162
000: eb b4 b0 0e cb 66 24 43 e8 fe 05 8a eb be 00 e8
010: fe 5a 0e f7 07 c3 06 50 1f 00 80 e0 00 09 a1 00
020: 26 60 80 e1 00 09 a1 00 26 64 66 07 c3 03 01 e8
030: fe 78 cb 03 02 e8 fe bb e8 ff b4 b0 0e 59 e8 ff
040: 5a cd cf 06 56 0e 80 37 00 0f f3 b4 b0 0e 37 33
050: eb 66 e6 ff 00 81 ff 00 41 e9 83 ea 00 28 a1 00
060: 03 66 db c3 c1 04 03 66 f0 8b e8 01 06 01 e8 fd
070: c0 03 ff 59 5f 1f 55 ec c4 1e 0e b4 b0 0e d7 c4
080: 06 c7 c6 26 45 89 fc 89 12 89 16 8b 0c 46 26 45
090: 89 fe 46 33 8b 80 8b 22 8b fe e8 ff c0 03 4e 8e
0a0: fa ff
Tuple #10, code = 0x0 (Null tuple), length = 0
Tuple #11, code = 0x0 (Null tuple), length = 0
Tuple #12, code = 0x0 (Null tuple), length = 0
Tuple #13, code = 0x0 (Null tuple), length = 0
Tuple #14, code = 0x46 (Organization), length = 14
000: 2b 0b 74 e9 01 46 33 bb 00 f3 26 3d 50 45
Reserved [téF3»]
Tuple #15, code = 0x7 (Base address register for CardBus), length = 251
000: 75 8b 66 81 50 45 75 26 7d 56 75 83 01 02 f7 c7
010: 3b 80 72 83 01 05 fe 75 e9 00 7e 26 5d 26 75 8e
020: fc fe c0 89 0c 46 26 45 a1 00 89 22 46 26 45 a1
030: 00 89 26 46 26 45 26 45 00 c9 8a 08 5b 26 65 8b
040: 26 45 70 26 4d 8b fc 89 12 26 7d 00 04 89 14 46
050: 26 45 66 ff 00 66 e0 66 89 2a 7e 26 45 8b fc 89
060: 30 89 38 25 ff 00 c1 04 26 45 66 89 3a 80 26 45
070: 26 45 26 45 00 c9 8a 04 e3 26 65 c4 06 c7 00 c7
080: fe 00 05 02 e8 fc 46 07 8b 5d be 01 e8 fc 00 0e
090: 85 c7 fe 00 da 8b 66 df 00 07 33 26 44 ff 26 44
0a0: ff 26 44 93 c6 1d 26 44 01 c6 1e 26 44 66 e8 26
0b0: 44 26 64 26 5c 66 eb 26 5c 26 7c b4 cd c3 8b 2e
0c0: c0 8b 2e c0 55 75 00 42 44 01 05 00 00 b7 00 45
0d0: 0f 00 c5 00 00 f0 e0 00 45 72 72 20 61 20 61 65
0e0: 43 64 20 6d 67 0d 00 42 24 33 00 02 00 08 00 ac
0f0: 8b 1e c5 06 f0 07 00 b9 00 f3 2e
BAR 5: size = 1109Mb, I/O, Prefetch, Cacheable
Tuple #16, code = 0x21 (Functional ID), length = 170
000: a0 00 0e b4 b0 ff 1c 68 40 33 8b 24 8b 22 ff 02
010: 0b 74 eb 66 81 02 43 43 02 21 f0 07 3e 00 00 00
020: 0e 0b 75 6a 6a 5f ab 00 ff eb be 00 1e 00 00 ff
030: 18 b4 b0 ff 1c b8 00 1f cb a4 60 06 1f 2c 89 2e
040: 89 30 89 32 8c 34 e8 01 c0 0a 0e 00 80 92 03 b1
050: a2 00 0e 00 e8 01 c0 05 0e 00 e8 01 c0 05 0e 00
060: e8 01 c0 c7 05 0e 00 b4 a0 00 e8 fa 07 d4 fc c0
070: 2d b3 f6 0a 74 04 aa e8 eb eb 8a 04 aa 05 be 00
080: a4 c0 2c c1 03 0a f3 c0 0a 30 c1 08 f0 05 c4 30
090: b0 aa 00 e8 03 82 2a 0e 31 e8 02 83 36 0e 25 e8
0a0: 02 84 e0 0e 19 b4 a0 00 e8 fa
Unknown function
Tuple #17, code = 0x6 (Long link to next chain for MFC), length = 5
000: 03 0e 05 06 06
Wrong length for long link MFC tuple
Tuple #18, code = 0x1 (Common memory descriptor), length = 14
000: 06 06 06 02 0e 06 06 06 01 0e 06 92 24 0c
Common memory device information:
Device number 1, type No device, WPS = OFF
Speed = Reserved, Memory block size = 2Mb, 1 units
Device number 2, type No device, WPS = OFF
Speed = Reserved, Memory block size = 8Kb, 1 units
Device number 3, type No device, WPS = ON
Speed = Reserved, Memory block size = 2Mb, 1 units
Device number 4, type No device, WPS = OFF
Speed = Reserved, Memory block size = 2Mb, 1 units
Device number 5, type No device, WPS = OFF
Speed = 250nS, Memory block size = 2Mb, 2 units
Device number 6, type No device, WPS = OFF
Speed = Reserved, Memory block size = 8Kb, 19 units
Device number 7, type OTPROM, WPS = OFF
Speed = 100nS, Memory block size = 128Kb, 2 units
Tuple #19, code = 0x0 (Null tuple), length = 5
000: 21 a2 06 e4 66
Tuple #20, code = 0x0 (Null tuple), length = 19
000: 06 00 66 ea b4 ff ff ff ff ff ff ff ff ff ff ff
010: ff ff ff
Code 85 not found
Code 85 not found
code Unknown ignored
Code 240 not found
Code 240 not found
code Unknown ignored
Code 112 not found
Code 112 not found
code Unknown ignored
Code 116 not found
Code 116 not found
code Unknown ignored
Code 60 not found
Code 60 not found
code Unknown ignored
Code 139 not found
Code 139 not found
code Unknown ignored
Code 192 not found
Code 192 not found
code Unknown ignored
Code 14 not found
Code 14 not found
code Unknown ignored
Code 14 not found
Code 14 not found
code Unknown ignored
Code 54 not found
Code 54 not found
code Unknown ignored
Code 54 not found
Code 54 not found
code Unknown ignored
Code 162 not found
Code 162 not found
code Unknown ignored
Code 192 not found
Code 192 not found
code Unknown ignored
Configuration data for card in slot 1
Tuple #1, code = 0x0 (Null tuple), length = 4
000: cf 55 44 05
Tuple #2, code = 0x5 (Configuration entry for CardBus), length = 0
Tuple #3, code = 0x0 (Null tuple), length = 0
Tuple #4, code = 0x0 (Null tuple), length = 88
000: 38 6d 30 00 00 e8 10 c0 00 68 68 ff 70 00 00 24
010: 6e 01 00 00 00 00 c3 c8 02 00 00 00 49 00 00 50
020: 49 b7 00 00 18 00 00 73 00 00 00 55 44 16 00 01
030: dc 00 38 a0 50 49 4d 41 32 00 00 00 83 43 6d 31
040: 2f 30 20 74 65 6e 74 4e 43 00 00 00 00 00 00 00
050: 00 00 00 00 00 43 6d 4e
Tuple #5, code = 0x0 (Null tuple), length = 111
000: 6b 42 6f 00 00 00 00 00 29 00 00 00 00 00 00 19
010: 45 72 72 20 61 27 20 69 64 42 73 20 6f 65 20 6e
020: 62 65 42 73 20 6f 65 6f 20 49 0d 00 72 6f 3a 42
030: 64 55 44 20 6d 67 0d 00 57 c0 02 47 fa e0 59 be
040: c8 db c6 81 55 75 26 7f 00 1d 8b 16 26 05 3b 75
050: 33 26 4d e8 ff c0 03 eb 81 80 81 00 72 f8 50 b4
060: 32 cd 5b c3 8a c0 04 30 39 02 07 e4 8a 24 04
Tuple #6, code = 0x0 (Null tuple), length = 118
000: 04 e8 ff c3 fc 0a 74 e8 ff f6 cb 51 80 21 00 28
010: e0 c1 b0 e8 ff e0 b7 b0 e8 ff 0a a2 2e 06 00 74
020: be f0 e8 00 5e b4 cd c3 10 16 e8 ff 05 f3 eb c3
030: 57 53 52 c0 c0 6c 66 8b e8 ff d4 74 e8 ff 0d 26
040: 15 2b 3b 73 eb 66 66 5f cb ab 2c b9 00 a4 70 ab
050: c8 c3 8b 83 fa 3e 00 75 eb 89 fa 66 42 53 e8 fe
060: 73 8c fe 8b 16 26 44 89 fc 57 76 16 e8 ff 5e 8b
070: 5d 55 ec c4 8c ee
Tuple #7, code = 0x0 (Null tuple), length = 22
000: 26 45 89 ec 7e b8 00 a3 16 8d f0 89 16 7e 57 5e
010: 8d f0 c0 8b 8b 5d
Tuple #8, code = 0x1e (Geometry info for common memory), length = 14
000: a0 00 80 c0 19 03 04 e8 fe c8 f0 c1 04 c3
width = 160, erase = 0x80000000, read = 0x80000000, write = 0x80000000
partition = 0x1000000, interleave = 0x4
width = 160, erase = 0x80000000, read = 0x80000000, write = 0x80000000
partition = 0x1000000, interleave = 0x4
Tuple #9, code = 0x0 (Null tuple), length = 162
000: eb b4 b0 0e cb 66 24 43 e8 fe 05 8a eb be 00 e8
010: fe 5a 0e f7 07 c3 06 50 1f 00 80 e0 00 09 a1 00
020: 26 60 80 e1 00 09 a1 00 26 64 66 07 c3 03 01 e8
030: fe 78 cb 03 02 e8 fe bb e8 ff b4 b0 0e 59 e8 ff
040: 5a cd cf 06 56 0e 80 37 00 0f f3 b4 b0 0e 37 33
050: eb 66 e6 ff 00 81 ff 00 41 e9 83 ea 00 28 a1 00
060: 03 66 db c3 c1 04 03 66 f0 8b e8 01 06 01 e8 fd
070: c0 03 ff 59 5f 1f 55 ec c4 1e 0e b4 b0 0e d7 c4
080: 06 c7 c6 26 45 89 fc 89 12 89 16 8b 0c 46 26 45
090: 89 fe 46 33 8b 80 8b 22 8b fe e8 ff c0 03 4e 8e
0a0: fa ff
Tuple #10, code = 0x0 (Null tuple), length = 0
Tuple #11, code = 0x0 (Null tuple), length = 0
Tuple #12, code = 0x0 (Null tuple), length = 0
Tuple #13, code = 0x0 (Null tuple), length = 0
Tuple #14, code = 0x46 (Organization), length = 14
000: 2b 0b 74 e9 01 46 33 bb 00 f3 26 3d 50 45
Reserved [téF3»]
Tuple #15, code = 0x7 (Base address register for CardBus), length = 251
000: 75 8b 66 81 50 45 75 26 7d 56 75 83 01 02 f7 c7
010: 3b 80 72 83 01 05 fe 75 e9 00 7e 26 5d 26 75 8e
020: fc fe c0 89 0c 46 26 45 a1 00 89 22 46 26 45 a1
030: 00 89 26 46 26 45 26 45 00 c9 8a 08 5b 26 65 8b
040: 26 45 70 26 4d 8b fc 89 12 26 7d 00 04 89 14 46
050: 26 45 66 ff 00 66 e0 66 89 2a 7e 26 45 8b fc 89
060: 30 89 38 25 ff 00 c1 04 26 45 66 89 3a 80 26 45
070: 26 45 26 45 00 c9 8a 04 e3 26 65 c4 06 c7 00 c7
080: fe 00 05 02 e8 fc 46 07 8b 5d be 01 e8 fc 00 0e
090: 85 c7 fe 00 da 8b 66 df 00 07 33 26 44 ff 26 44
0a0: ff 26 44 93 c6 1d 26 44 01 c6 1e 26 44 66 e8 26
0b0: 44 26 64 26 5c 66 eb 26 5c 26 7c b4 cd c3 8b 2e
0c0: c0 8b 2e c0 55 75 00 42 44 01 05 00 00 b7 00 45
0d0: 0f 00 c5 00 00 f0 e0 00 45 72 72 20 61 20 61 65
0e0: 43 64 20 6d 67 0d 00 42 24 33 00 02 00 08 00 ac
0f0: 8b 1e c5 06 f0 07 00 b9 00 f3 2e
BAR 5: size = 1109Mb, I/O, Prefetch, Cacheable
Tuple #16, code = 0x21 (Functional ID), length = 170
000: a0 00 0e b4 b0 ff 1c 68 40 33 8b 24 8b 22 ff 02
010: 0b 74 eb 66 81 02 43 43 02 21 f0 07 3e 00 00 00
020: 0e 0b 75 6a 6a 5f ab 00 ff eb be 00 1e 00 00 ff
030: 18 b4 b0 ff 1c b8 00 1f cb a4 60 06 1f 2c 89 2e
040: 89 30 89 32 8c 34 e8 01 c0 0a 0e 00 80 92 03 b1
050: a2 00 0e 00 e8 01 c0 05 0e 00 e8 01 c0 05 0e 00
060: e8 01 c0 c7 05 0e 00 b4 a0 00 e8 fa 07 d4 fc c0
070: 2d b3 f6 0a 74 04 aa e8 eb eb 8a 04 aa 05 be 00
080: a4 c0 2c c1 03 0a f3 c0 0a 30 c1 08 f0 05 c4 30
090: b0 aa 00 e8 03 82 2a 0e 31 e8 02 83 36 0e 25 e8
0a0: 02 84 e0 0e 19 b4 a0 00 e8 fa
Unknown function
Tuple #17, code = 0x6 (Long link to next chain for MFC), length = 5
000: 03 0e 05 06 06
Wrong length for long link MFC tuple
Tuple #18, code = 0x1 (Common memory descriptor), length = 14
000: 06 06 06 02 0e 06 06 06 01 0e 06 92 24 0c
Common memory device information:
Device number 1, type No device, WPS = OFF
Speed = Reserved, Memory block size = 2Mb, 1 units
Device number 2, type No device, WPS = OFF
Speed = Reserved, Memory block size = 8Kb, 1 units
Device number 3, type No device, WPS = ON
Speed = Reserved, Memory block size = 2Mb, 1 units
Device number 4, type No device, WPS = OFF
Speed = Reserved, Memory block size = 2Mb, 1 units
Device number 5, type No device, WPS = OFF
Speed = 250nS, Memory block size = 2Mb, 2 units
Device number 6, type No device, WPS = OFF
Speed = Reserved, Memory block size = 8Kb, 19 units
Device number 7, type OTPROM, WPS = OFF
Speed = 100nS, Memory block size = 128Kb, 2 units
Tuple #19, code = 0x0 (Null tuple), length = 5
000: 21 a2 06 e4 66
Tuple #20, code = 0x0 (Null tuple), length = 19
000: 06 00 66 ea b4 ff ff ff ff ff ff ff ff ff ff ff
010: ff ff ff
2 slots found
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24938.988935598>
