Subject: compact flash does not get probed
To: None <netbsd-help@netbsd.org>
From: Emmanuel Decitre <ldecitre@web.de>
List: netbsd-help
Date: 08/10/2003 16:19:34
I have problems under 1.6.1 to get a Compact flash card probed on my laptop.
Booting the official ISO image shows no problem. dmesg tells:

...
BIOS32 rev. 0 found at 0xfd730
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
...
pcib0 at pci0 dev 7 function 0
pcib0: vendor 0x1106 product 0x0686 (rev. 0x40)
...
isa0 at pcib0
...
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
...
wdc2 at pcmcia0 function 0 port 0x400-0x40f
wd1 at wdc2 channel 0 drive 0: <TOSHIBA THNCF064MMA>
wd1: drive supports 1-sector PIO transfers, LBA addressing
wd1: 62592 KB, 978 cyl, 4 head, 32 sec, 512 bytes/sect x 125184 sectors
pcmcia0: card irq 11
<3>stray interrupt 11



So, I configured this flashcard to host a tiny kernel and the base package.
But when I boot on my HD using a kernel coming from either kern-GENERIC_DIAGNOSTIC.tgz
or kern-GENERIC_LAPTOP,tgz, my wd1 does not get recognized. Here a --side-by-side diff
from both /var/log/messages:



NetBSD 1.6.1 (GENERIC_DIAGNOSTIC) #0: Tue Apr  8 12:35:19 UTC |	NetBSD 1.6.1 (GENERIC_LAPTOP) #0: Tue Apr  8 12:21:37 UTC 200
...
BIOS32 rev. 0 found at 0xfd730					BIOS32 rev. 0 found at 0xfd730
							      >	PCI BIOS rev. 2.1 found at 0xfd84e
							      >	pcibios: config mechanism [1][x], special cycles [x][x], last
							      >	PCI IRQ Routing Table rev. 1.0 found at 0xfdf80, size 96 byte
							      >	PCI Interrupt Router at 000:07:0 (VIA Technologies VT82C596A 
							      >	------------------------------------------
							      >	  device vendor product pin PIRQ IRQ stage
							      >	------------------------------------------
							      >	------------------------------------------
							      >	PCI fixup examining 1106:691
							      >	PCI fixup examining 1106:8598
							      >	PCI fixup examining 1002:4c59
							      >	PCI bridge 0: primary 0, secondary 1, subordinate 1
							      >	PCI fixup examining 11c1:450
							      >	PCI fixup examining 1106:686
							      >	PCI fixup examining 1106:571
							      >	PCI fixup examining 1106:3038
							      >	PCI fixup examining 1106:3057
							      >	PCI fixup examining 1106:3058
							      >	PCI fixup examining 1113:1216
							      >	PCI fixup examining 1217:6933
							      >	PCI bridge 1: primary 0, secondary 2, subordinate 2
							      >	PCI fixup examining 1217:6933
							      >	PCI bridge 2: primary 0, secondary 3, subordinate 3
							      >	PCI fixup examining 11c1:5811
							      >	PCI bus #3 is the last bus
							      >	[System BIOS Setting]-----------------------
							      >	  device vendor product
							      >	  register space address    size
							      >	--------------------------------------------
							      >	000:00:0 0x1106 0x0691 
							      >	      10h mem  0xe8000000 0x08000000
							      >		      [OK]
							      >	000:01:0 0x1106 0x8598 
							      >		      [OK]
							      >	000:06:0 0x11c1 0x0450 
							      >	      10h mem  0x20000000 0x00000100
							      >	      14h port 0x00005800 0x00000008
							      >	      18h port 0x00005900 0x00000100
							      >		      [OK]
							      >	000:07:0 0x1106 0x0686 
							      >		      [OK]
							      >	000:07:1 0x1106 0x0571 
							      >	      20h port 0x00001000 0x00000010
							      >		      [OK]
							      >	000:07:2 0x1106 0x3038 
							      >	      20h port 0x00001020 0x00000020
							      >		      [OK]
							      >	000:07:4 0x1106 0x3057 
							      >		      [OK]
							      >	000:07:5 0x1106 0x3058 
							      >	      10h port 0x00001400 0x00000100
							      >	      14h port 0x00001014 0x00000004
							      >	      18h port 0x00001010 0x00000004
							      >		      [OK]
							      >	000:09:0 0x1113 0x1216 
							      >	      10h port 0x00005a00 0x00000100
							      >	      14h mem  0x20000400 0x00000400
							      >		      [OK]
							      >	000:12:0 0x1217 0x6933 
							      >	      10h mem  0x20001000 0x00001000
							      >		      [OK]
							      >	000:12:1 0x1217 0x6933 
							      >	      10h mem  0x20002000 0x00001000
							      >		      [OK]
							      >	000:13:0 0x11c1 0x5811 
							      >	      10h mem  0x20003000 0x00001000
							      >		      [OK]
							      >	001:00:0 0x1002 0x4c59 
							      >	      10h mem  0xf0000000 0x08000000
							      >	      14h port 0x00009000 0x00000100
							      >	      18h mem  0xe0000000 0x00010000
							      >		      [OK]
							      >	--------------------------[  0 devices bogus]
							      >	 Physical memory end: 0x1fffe000
							      >	 PCI memory mapped I/O space start: 0x20000000
...
O2 Micro Inc product 0x6933 (CardBus bridge, revision 0x01) a |	cbb0 at pci0 dev 12 function 0: O2 Micro Inc product 0x6933 (
O2 Micro Inc product 0x6933 (CardBus bridge, revision 0x01) a |	cbb1 at pci0 dev 12 function 1: O2 Micro Inc product 0x6933 (
...
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq      <
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A  <
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets <
pcmcia0 at pcic0 controller 0 socket 0			      <
pcmcia1 at pcic0 controller 0 socket 1			      <
isapnp0: no ISA Plug 'n Play devices found			isapnp0: no ISA Plug 'n Play devices found
							      >	cbb0: interrupting at irq 10
							      >	cardslot0 at cbb0 slot 0 flags 0
							      >	cardbus0 at cardslot0: bus 2 device 0
							      >	pcmcia0 at cardslot0
							      >	cbb1: interrupting at irq 10
							      >	cardslot1 at cbb1 slot 1 flags 0
							      >	cardbus1 at cardslot1: bus 3 device 0
							      >	pcmcia1 at cardslot1
							      >	apm0 at mainbus0: Power Management spec V1.2
biomask ef65 netmask ef65 ttymask ffe7				biomask ef65 netmask ef65 ttymask ffe7
pcic0: controller 0 detecting irqs with mask 0xdeb8:..9..11   |	wdc2 at pcmcia1 function 0
pcic0: using irq 9 for socket events			      <
Kernelized RAIDframe activated				      <


Has someone a clue ?


__________________________________________________________________________
Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter,
Adressverifizierung, digitale Unterschrift: http://freemail.web.de