Date: Thu, 21 Jun 2001 23:10:15 +0200 From: Harald Hanche-Olsen <hanche@math.ntnu.no> To: freebsd-mobile@freebsd.ORG Subject: Long trance after inserting CF card Message-ID: <20010621231015Y.hanche@math.ntnu.no>
next in thread | raw e-mail | index | archive | help
I got a couple new 128 MB compact flash cards today. After I insert
the card (and run pccardc power 0 1), 12 seconds pass - after which
the computer freezes up completely for about 40 seconds. Then,
pccardd produces its beep, and I can mount the card and read the files
off it without problems.
This drove me crazy at first, because I didn't have the patience to
wait for 40 seconds, and just thought the system had crashed.
Maybe someone can offer an insight on what is most likely going on
here? This long delay makes me feel positively windozely... But now
that I know the machine will eventually wake up, I don't see this as a
disaster. So please don't drop what you're doing to help me - just
satisfy my curiosity if this is a well known problem, and if something
can be done about it.
Here is what appears in the log (note the 44 second interval):
Jun 21 22:57:58 glen pccardd[48]: Card "TwinMOS"("CF Card 128MB") [(null)] [(null)] matched "TwinMOS" ("CF Card 128MB") [(null)] [(null)]
Jun 21 22:58:42 glen pccardd[48]: ata2: TwinMOS (CF Card 128MB) inserted.
and in dmesg output (yes, they lied about the card being 128 MB):
pccard: card inserted, slot 0
ata2 at port 0x260-0x26f irq 3 slot 0 on pccard0
ad4: 123MB <> [495/16/32] at ata2-master using BIOSPIO
And here are the relevant parts of pccard.conf:
io 0x240-0x31f
irq 3 7 9
memory 0xd4000 96k
card "TwinMOS" "CF Card 128MB"
config 0x1 "ata" ?
Finally, below my signature, is the output of pccardc dumpcis, in case
anyone wonders about the details (and can read this stuff).
- Harald
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 4
000: df 4a 01 ff
Common memory device information:
Device number 1, type Function specific, WPS = ON
Speed = 4.0 x 100 ns, Memory block size = reserved, 32 units
Device number 2, type No device, WPS = OFF
Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x1c (Other conditions for common memory), length = 4
000: 02 d9 01 ff
(3V card)
Tuple #3, code = 0x18 (JEDEC descr for common memory), length = 2
000: df 01
Tuple #4, code = 0x20 (Manufacturer ID), length = 4
000: 0a 00 00 00
PCMCIA ID = 0xa, OEM ID = 0x0
Tuple #5, code = 0x15 (Version 1 info), length = 25
000: 04 01 54 77 69 6e 4d 4f 53 00 43 46 20 43 61 72
010: 64 20 31 32 38 4d 42 00 ff
Version = 4.1, Manuf = [TwinMOS], card vers = [CF Card 128MB]
Tuple #6, code = 0x21 (Functional ID), length = 2
000: 04 01
Fixed disk card - POST initialize
Tuple #7, code = 0x22 (Functional EXT), length = 2
000: 01 01
Disk interface: IDE
Tuple #8, code = 0x22 (Functional EXT), length = 3
000: 02 0c 0f
Disk features: Silicon, Unique, Single
Sleep, Standby, Idle, Low power,
Tuple #9, code = 0x1a (Configuration map), length = 5
000: 01 03 00 02 0f
Reg len = 2, config register addr = 0x200, last config = 0x3
Registers: XXXX----
Tuple #10, code = 0x1b (Configuration entry), length = 8
000: c0 c0 a1 01 55 08 00 20
Config index = 0x0(default)
Interface byte = 0xc0 (memory) +RDY/-BSY active, wait signal supported
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Memory space length = 0x8
Max twin cards = 0
Misc attr: (Power down supported)
Tuple #11, code = 0x1b (Configuration entry), length = 6
000: 00 01 21 b5 1e 4d
Config index = 0x0
Vcc pwr:
Nominal operating supply voltage: 3 x 1V, ext = 0x1e
Max current average over 10 ms: 4.5 x 10mA
Tuple #12, code = 0x1b (Configuration entry), length = 10
000: c1 41 99 01 55 64 f0 ff ff 20
Config index = 0x1(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Card decodes 4 address lines, full 8/16 Bit I/O
IRQ modes: Level, Pulse, Shared
IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Max twin cards = 0
Misc attr: (Power down supported)
Tuple #13, code = 0x1b (Configuration entry), length = 6
000: 01 01 21 b5 1e 4d
Config index = 0x1
Vcc pwr:
Nominal operating supply voltage: 3 x 1V, ext = 0x1e
Max current average over 10 ms: 4.5 x 10mA
Tuple #14, code = 0x1b (Configuration entry), length = 15
000: c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20
Config index = 0x2(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Card decodes 10 address lines, full 8/16 Bit I/O
I/O address # 1: block start = 0x1f0 block length = 0x8
I/O address # 2: block start = 0x3f6 block length = 0x2
IRQ modes: Level, Pulse, Shared
IRQ level = 14
Max twin cards = 0
Misc attr: (Power down supported)
Tuple #15, code = 0x1b (Configuration entry), length = 6
000: 02 01 21 b5 1e 4d
Config index = 0x2
Vcc pwr:
Nominal operating supply voltage: 3 x 1V, ext = 0x1e
Max current average over 10 ms: 4.5 x 10mA
Tuple #16, code = 0x1b (Configuration entry), length = 15
000: c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20
Config index = 0x3(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Card decodes 10 address lines, full 8/16 Bit I/O
I/O address # 1: block start = 0x170 block length = 0x8
I/O address # 2: block start = 0x376 block length = 0x2
IRQ modes: Level, Pulse, Shared
IRQ level = 14
Max twin cards = 0
Misc attr: (Power down supported)
Tuple #17, code = 0x1b (Configuration entry), length = 6
000: 03 01 21 b5 1e 4d
Config index = 0x3
Vcc pwr:
Nominal operating supply voltage: 3 x 1V, ext = 0x1e
Max current average over 10 ms: 4.5 x 10mA
Tuple #18, code = 0x14 (No link), length = 0
Tuple #19, code = 0xff (Terminator), length = 0
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?20010621231015Y.hanche>
