[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nokia Card Phone 2.0 (i386 obsd3.3) hang w/ "pcic_wait_ready: ready never happened"

Right, since I got this Nokia card for cheap, I got it anyway without
worrying too much about getting an answer to my previous post about
compatibility (on misc@).

Under 3.2 (x86), I can communicate with the card (e.g. with "cu") on pccom3,
but when I upgraded to 3.3, the machine crashes when I put the card in (or
leave it there when booting). I got the latest 3.3 stable from CVS and did
a rebuild before posting here. 

Instead of bailing out and reinstalling 3.2, perhaps this is of interest
to the developers?

If I leave the card in, the machine eventually shuts off, so in order to get
the kernel to drop to debugger, I need to eject it. Here is what I get:

	pcic_wait_ready: ready never happened, status = 4c
	uvm_fault(0xd050f234, 0xdae3e000, 0, 1) -> e
	kernel: page fault trap, code=0
	Stopped at      _pcmcia_scan_cis+0x17a: movb    0(%eax,%edx,1),%al

	ddb> trace
	_pcmcia_scan_cis(d08ae400,d04b0880,dad65e94,d01d8a09,2710) at _pcmcia_scan_cis+0x17a
	_pcmcia_read_cis(d08ae400,15,dad65f54,d04ae4c0,d08a18b8) at _pcmcia_read_cis+0x9d
	_pcmcia_card_attach(d08ae400,0,0,0) at _pcmcia_card_attach+0x2d
	_cardslot_event_throw(d08add00) at _cardslot_event_throw+0x308
	Bad frame pointer: 0xd062ae28



dmesg (with the Nokia card removed):

OpenBSD 3.3 (GENERIC) #44: Sat Mar 29 13:22:05 MST 2003
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 648 MHz
real mem  = 133722112 (130588K)
avail mem = 118329344 (115556K)
using 1657 buffers containing 6787072 bytes (6628K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 08/02/00, BIOS32 rev. 0 @ 0xffe90
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 100%
apm0: AC on, battery charge high, charging, estimated 5:55 hours
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfbd60/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371 PCI-ISA and IDE" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0x10000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mobility 1" rev 0x64
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cbb0 at pci0 dev 3 function 0 "Texas Instruments PCI1225 PCI-CardBus" rev 0x01: irq 11
cbb1 at pci0 dev 3 function 1 "Texas Instruments PCI1225 PCI-CardBus" rev 0x01: irq 11
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <IC25N030ATCS04-0>
wd0: 16-sector PIO, LBA, 28615MB, 16383 cyl, 16 head, 63 sec, 58605120 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, S004> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not configured
esa0 at pci0 dev 8 function 0 "ESS Maestro 3" rev 0x10: "ESS Maestro 3" rev 0x10 (rev. 0x10)
esa0: interrupting at irq 5
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at esa0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
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>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask c840 netmask c840 ttymask d8c2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
wi0 at pcmcia0 function 0 "SMC, SMC2632W, Version 01.02" port 0xa000/64
wi0: PRISM2 HWB3163 rev.A, Firmware 0.3.0 (primary), 0.7.6 (station), address 00:04:e2:08:0d:ec
Automatic boot in progress: starting file system checks.