From owner-freebsd-stable@FreeBSD.ORG Tue Nov 25 20:15:00 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9664716A4CE for ; Tue, 25 Nov 2003 20:15:00 -0800 (PST) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7446E43FCB for ; Tue, 25 Nov 2003 20:14:57 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.9/8.12.8) with ESMTP id hAQ4Eqhk080836; Wed, 26 Nov 2003 14:44:53 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Wed, 26 Nov 2003 14:44:51 +1030 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_7iCx/8TZ0ZFeWiQ" Message-Id: <200311261444.51549.doconnor@gsoft.com.au> X-Spam-Score: -2.6 () SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Subject: Compact Flash PCMCIA problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 04:15:00 -0000 --Boundary-00=_7iCx/8TZ0ZFeWiQ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I recently purchased a 256Mb Kodak CF card (upgrade from my 20Mb one :) but I can't use it in the adapter (CF -> PCMCIA) in FreeBSD. It works in XP on another laptop, I haven't tried rebooting to test it on this one yet. A guy at work has a Hitachi 256Mb card which works fine in FreeBSD. Here is what appears in /var/log/messages for the Kodak 256Mb device -> Nov 26 12:11:00 chowder /kernel: pccard: card inserted, slot 1 Nov 26 12:11:05 chowder pccardd[80]: Card "KODAK Picture Card"("KODAK") [] [] matched "KODAK Picture Card" ("KODAK") [(null)] [(null)] Nov 26 12:11:10 chowder pccardd[80]: driver allocation failed for KODAK Picture Card(KODAK): Device not configured Nov 26 14:43:30 chowder /kernel: pccard: card removed, slot 1 Nov 26 14:43:30 chowder pccardd[80]: ata4: KODAK Picture Card (KODAK) removed. For the 20Mb "Kodak" -> Nov 26 12:25:13 chowder /kernel: pccard: card inserted, slot 1 Nov 26 12:25:18 chowder pccardd[80]: Card "SunDisk"("SDP") [5/3 0.6] [[none]] matched "SunDisk" ("/.*/") [(null)] [(null)] Nov 26 12:25:24 chowder /kernel: ata4 at port 0x240-0x247,0x24e irq 10 slot 1 on pccard1 Nov 26 12:25:24 chowder /kernel: ad1: 19MB [612/2/32] at ata4-master BIOSPIO Nov 26 12:25:24 chowder pccardd[80]: ata4: SunDisk (/.*/) inserted. For the 256Mb Hitachi -> Nov 26 13:37:50 chowder /kernel: pccard: card inserted, slot 1 Nov 26 13:37:55 chowder pccardd[80]: Card "HITACHI"("FLASH") [5.0] [[none]] matched "HITACHI" ("/.*FLASH.*/") [(null)] [(null)] Nov 26 13:38:01 chowder /kernel: ata4 at port 0x240-0x247,0x24e irq 10 slot 1 on pccard1 Nov 26 13:38:01 chowder /kernel: ad1: 244MB [695/15/48] at ata4-master BIOSPIO Nov 26 13:38:01 chowder pccardd[80]: ata4: HITACHI (/.*FLASH.*/) inserted. I've attached the output of 'pccard dumpcis' for each card, and my pccard.conf file. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 --Boundary-00=_7iCx/8TZ0ZFeWiQ Content-Type: text/plain; charset="us-ascii"; name="Kodak-20Mb-cis.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Kodak-20Mb-cis.txt" Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 4 000: df 72 01 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 7.0 x 100 ns, Memory block size = 2Kb, 1 units Tuple #2, code = 0x1c (Other conditions for common memory), length = 4 000: 03 d9 01 ff (MWAIT) (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: 45 00 01 04 PCMCIA ID = 0x45, OEM ID = 0x401 Tuple #5, code = 0x15 (Version 1 info), length = 23 000: 04 01 53 75 6e 44 69 73 6b 00 53 44 50 00 35 2f 010: 33 20 30 2e 36 00 ff Version = 4.1, Manuf = [SunDisk], card vers = [SDP] Addit. info = [5/3 0.6] Tuple #6, code = 0x80 (Unknown), length = 3 000: 14 08 00 Tuple #7, code = 0x21 (Functional ID), length = 2 000: 04 01 Fixed disk card - POST initialize Tuple #8, code = 0x22 (Functional EXT), length = 2 000: 01 01 Disk interface: IDE Tuple #9, code = 0x22 (Functional EXT), length = 3 000: 02 0c 0f Disk features: Silicon, Unique, Single Sleep, Standby, Idle, Low power, Tuple #10, code = 0x1a (Configuration map), length = 5 000: 01 07 00 02 0f Reg len = 2, config register addr = 0x200, last config = 0x7 Registers: XXXX---- Tuple #11, code = 0x1b (Configuration entry), length = 11 000: c0 c0 a1 27 55 4d 5d 75 08 00 21 Config index = 0x0(default) Interface byte = 0xc0 (memory) +RDY/-BSY active, wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Max current average over 10 ms: 8 x 10mA Memory space length = 0x8 Max twin cards = 1 Misc attr: (Power down supported) Tuple #12, 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 #13, code = 0x1b (Configuration entry), length = 13 000: c1 41 99 27 55 4d 5d 75 64 f0 ff ff 21 Config index = 0x1(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Max current average over 10 ms: 8 x 10mA 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 = 1 Misc attr: (Power down supported) Tuple #14, 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 #15, code = 0x1b (Configuration entry), length = 18 000: c2 41 99 27 55 4d 5d 75 ea 61 f0 01 07 f6 03 01 010: ee 21 Config index = 0x2(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Max current average over 10 ms: 8 x 10mA 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 = 1 Misc attr: (Power down supported) Tuple #16, 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 #17, code = 0x1b (Configuration entry), length = 18 000: c3 41 99 27 55 4d 5d 75 ea 61 70 01 07 76 03 01 010: ee 21 Config index = 0x3(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Max current average over 10 ms: 8 x 10mA 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 = 1 Misc attr: (Power down supported) Tuple #18, 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 #19, code = 0x1b (Configuration entry), length = 4 000: 07 00 28 d3 Config index = 0x7 Tuple #20, code = 0x14 (No link), length = 0 Tuple #21, code = 0xff (Terminator), length = 0 2 slots found --Boundary-00=_7iCx/8TZ0ZFeWiQ Content-Type: text/plain; charset="us-ascii"; name="Kodak-256Mb-cis.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Kodak-256Mb-cis.txt" Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: d9 01 ff Common memory device information: Device number 1, type Function specific, WPS = ON Speed = 250nS, Memory block size = 2Kb, 1 units Tuple #2, code = 0x1c (Other conditions for common memory), length = 4 000: 03 d9 01 ff (MWAIT) (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: 98 00 00 00 PCMCIA ID = 0x98, OEM ID = 0x0 Tuple #5, code = 0x15 (Version 1 info), length = 32 000: 04 01 4b 4f 44 41 4b 20 50 69 63 74 75 72 65 20 010: 43 61 72 64 00 4b 4f 44 41 4b 00 00 00 00 00 ff Version = 4.1, Manuf = [KODAK Picture Card], card vers = [KODAK] Addit. info = [],[] 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 --Boundary-00=_7iCx/8TZ0ZFeWiQ Content-Type: text/plain; charset="us-ascii"; name="Hitachi-256Mb-cis.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Hitachi-256Mb-cis.txt" Configuration data for card in slot 1 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 = 2Kb, 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: 07 00 00 00 PCMCIA ID = 0x7, OEM ID = 0x0 Tuple #5, code = 0x15 (Version 1 info), length = 21 000: 04 01 48 49 54 41 43 48 49 00 46 4c 41 53 48 00 010: 35 2e 30 00 ff Version = 4.1, Manuf = [HITACHI], card vers = [FLASH] Addit. info = [5.0] 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 40 a1 01 55 08 00 20 Config index = 0x0(default) Interface byte = 0x40 (memory) +RDY/-BSY active 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 --Boundary-00=_7iCx/8TZ0ZFeWiQ Content-Type: text/plain; charset="us-ascii"; name="pccard.conf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pccard.conf" # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 9 # Available memory slots memory 0xd4000 96k # IBM's rebadged Lucent WaveLAN/IEEE. The FCC IDs are identical to # those for the Lucent card, so presumably everything else is as well. card "IBM Corporation" "IBM High Rate Wireless LAN PC Card" config 0x1 "wi" 9 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop card "LT WIN MODEM" "PC card" config 0x22 "ltmdm" 9 --Boundary-00=_7iCx/8TZ0ZFeWiQ--