Reading the wd man page, I assumed that flash cards were supported in
Openbsd 4.1.  This particular combo of SanDisk's CompactFlash PC Card
Adapter model SDAD-38-A10 with two different SanDisk compactflash
cards generated kernel panic as soon as the compact flash cards were
inserted into a Thinkpad X60s with 4.1-CURRENT and a Thinkpad X32 with
4.1-STABLE.

I tested this same combo with a third laptop with OpenBSD 3.8 and I
was finally able to mount the compact flash.

Enclosed dmesg w/ trace and ps for the Thinkpad X60s with 4.1-CURRENT:

OpenBSD 4.1-current (GENERIC.MP.acpi) #0: Mon Jun 11 14:37:11 CEST 2007
   [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP.acpi
cpu0: Intel(R) Core(TM) Duo CPU L2500 @ 1.83GHz ("GenuineIntel"
686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem  = 2137419776 (2038MB)
avail mem = 2051452928 (1956MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/16/07, BIOS32 rev. 0 @
0xfd690, SMBIOS rev. 2.4 @ 0xe0010 (67 entries)
bios0: LENOVO 1702H7U
pcibios0 at bios0: rev 2.1 @ 0xfd620/0x9e0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #22 is the last bus
bios0: ROM list: 0xc0000/0xea00! 0xcf000/0x1000 0xd0000/0x1000
0xdc000/0x4000! 0xe0000/0x10000!
acpi0 at mainbus0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166 MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) Duo CPU L2500 @ 1.83GHz ("GenuineIntel"
686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: duplicate apic id, remapped to apid 2
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 0 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0: EC__
acpicpu0 at acpi0 C3, C2
acpicpu1 at acpi0 C3, C2
acpitz0 at acpi0, critical temperature: 127 degC
acpitz1 at acpi0, critical temperature: 97 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0: model: 93P5030 serial:  4492 type: LION oem: SONY
acpibat1 at acpi0: BAT1: not present
acpibat2 at acpi0: BAT2: not present
acpiac0 at acpi0: AC unit online
acpidock0 at acpi0: GDCK: not docked (0)
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b1c06000b1c
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1833 MHz (1148 mV): speeds: 1833, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03: aperture
at 0xee100000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02:
apic 2 int 17 (irq 11)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Analog Devices AD1981HD (rev. 2.0), HDA version 1.0
azalia0: RIRB time out
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 2
em0 at pci1 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00:
apic 2 int 16 (irq 11), address 00:16:d3:32:eb:43
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
apic 2 int 17 (irq 11), MoW1, address 00:19:d2:28:0b:06
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02
pci4 at ppb3 bus 12
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 2
int 16 (irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 2
int 17 (irq 11)
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 2
int 18 (irq 11)
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 2
int 19 (irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 2
int 19 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 21
cbb0 at pci5 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xb4: apic 2
int 16 (irq 11)
"Ricoh 5C552 Firewire" rev 0x09 at pci5 dev 0 function 1 not configured
sdhc0 at pci5 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x18: apic 2
int 18 (irq 11)
sdmmc0 at sdhc0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI SATA" rev 0x02:
AHCI 1.1: apic 2 int 16 (irq 11)
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, HTS721010G9SA00, MCZI> SCSI2 0/direct fixed
sd0: 95396MB, 12161 cyl, 255 head, 63 sec, 512 bytes/sec, 195371568 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic
2 int 23 (irq 11)
iic0 at ichiic0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4: Intel UHCI root hub, rev 1.00/1.00, addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: IBM USB Optical Mouse, rev 2.00/2.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
softraid0 at root
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a swap on sd0b dump on sd0b
[EMAIL PROTECTED] ~
# panic: pmap_remove_pte: managed page without PG_PVLIST for 0xe73bd000
Stopped at      Debugger+0x4:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS
PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(0,da38a3c8,e73bd000,d2860fc0,7f66717b) at Debugger+0x4
panic(d069e100,e73bd000,7f66717b,0,d0757b00) at panic+0x63
pmap_remove_pte
(d07968a0,0,cff9cef4,e73bd000,0,d076d7d8,e6ba0a8c,d042de9e) at p
map_remove_pte+0x110
pmap_do_remove(d07968a0,e73bd000,e73be000,0,d0757b00) at
pmap_do_remove+0x37a
pmap_remove(d07968a0,e73bd000,e73be000,d0757aa0,d0757b10) at
pmap_remove+0x16
uvm_unmap_remove(d0757b00,e73bd000,e73be000,e6ba0b1c,
0,20,e6ba0b4c,d05dec39) at
uvm_unmap_remove+0x199
uvm_unmap_p(d0757b00,e73bd000,e73be000,0,e73be000) at uvm_unmap_p+0x7b
uvm_km_free(d0757b00,e73bd000,1000,1000) at uvm_km_free+0x2a
_bus_space_unmap(1,e73bd000,1000,e6ba0b9c,d29028b8) at
_bus_space_unmap+0x93
rbus_space_free(d2903fc0,e73bd000,1000,0,0) at rbus_space_free+0x49
pccbb_pcmcia_mem_free(d29028b8,e6ba0e34,e6ba0c70,1,a0) at
pccbb_pcmcia_mem_free
+0x1e
pcmcia_scan_cis(d2902600,d05eb7d8,e6ba0e84,d05a2fc6) at
pcmcia_scan_cis+0x4d8
pcmcia_read_cis(d2902600,d28fca00,e6ba0f1c,d03369f9,e6ba0f34) at
pcmcia_read_ci
s+0x9b
pcmcia_card_attach(d2902600,0,0,e6b9f000) at pcmcia_card_attach+0x27
cardslot_event_throw(d28fca00) at cardslot_event_throw+0x1dc
Bad frame pointer: 0xd08b0e78
ddb>
pcmcia_card_attach(d2902600,0,0,e6b9f000) at pcmcia_card_attach+0x27
cardslot_event_throw(d28fca00) at cardslot_event_throw+0x1dc
Bad frame pointer: 0xd08b0e78
ddb> ps
  PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
26992      1  26992      0  3      0x4082  ttyin      getty
13709      1  13709      0  3      0x4082  ttyin      getty
25636      1  25636      0  3      0x4082  ttyin      getty
22253      1  22253      0  3      0x4082  ttyin      getty
 1718      1   1718      0  3      0x4082  ttyin      getty
19715      1  19715      0  3      0x4082  ttyin      ksh
25422      1  25422      0  3        0x80  select     cron
24558      1  24558      0  3        0x80  select     sshd
 4868      1   4868      0  3     0x40180  select     sendmail
15101      1  15101      0  3       0x180  select     inetd
29005  29270  29270     83  3       0x180  poll       ntpd
29270      1  29270      0  3        0x80  poll       ntpd
16194  19666  19666     74  2       0x580             pflogd
19666      1  19666      0  3        0x80  netio      pflogd
17826  12420  12420     73  3       0x180  poll       syslogd
12420      1  12420      0  3        0x88  netio      syslogd
   19      0      0      0  3    0x100200  crypto_wa  crypto
   18      0      0      0  3    0x100200  aiodoned   aiodoned
   17      0      0      0  2    0x100200             update
   16      0      0      0  3    0x100200  cleaner    cleaner
   15      0      0      0  3    0x100200  reaper     reaper
 14      0      0      0  3    0x100200  pgdaemon   pagedaemon
   13      0      0      0  2    0x100600             pfpurge
   12      0      0      0  3    0x100200  usbevt     usb4
   11      0      0      0  3    0x100200  usbevt     usb3
   10      0      0      0  3    0x100200  usbevt     usb2
    9      0      0      0  3    0x100200  usbevt     usb1
*    8      0      0      0  7    0x100200             cardslot0
    7      0      0      0  3    0x100200  mmctsk     sdmmc0
    6      0      0      0  3    0x100200  usbtsk     usbtask
    5      0      0      0  3    0x100200  usbevt     usb0
    4      0      0      0  2    0x100600             sensors
    3      0      0      0  3    0x100200  bored      syswq
    2      0      0      0  3    0x100200  kmalloc    kmthread
    1      0      1      0  3      0x4080  wait       init
    0     -1      0      0  3     0x80200  scheduler  swapper
ddb>

Reply via email to