Subject: kern/10489: com at pcmcia at cardslot not working
To: None <gnats-bugs@gnats.netbsd.org>
From: Chris Jones <cjones@reddwarf.rightnowtech.com>
List: netbsd-bugs
Date: 06/30/2000 09:03:13
>Number:         10489
>Category:       kern
>Synopsis:       com at pcmcia at cardslot not working
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 30 09:04:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Chris Jones
>Release:        <NetBSD-current source date>Jun 25 2000 (approx)
>Organization:
---------------------------------------------------- cjones@rightnowtech.com
Chris Jones
           System Administrator, Right Now Technologies, Inc.
"Is this going to be a stand-up programming session, sir, or another bug hunt?"
>Environment:
	
System: NetBSD reddwarf 1.4ZD NetBSD 1.4ZD (REDDWARF) #25: Mon Jun 26 11:17:41 MDT 2000 cjones@reddwarf:/usr/people/cjones/work/current/src/sys/arch/i386/compile/REDDWARF i386


>Description:
I have a PCMCIA modem, a 56k ActionTec.  It was working previously (a
few months ago -- not sure exactly), but not anymore.

Specifically, it's identified at boot time (see attached dmesg
output), but when I try to use it (ttyflags -a, kermit, pppd, etc.) I
get:

Jun 30 08:50:29 reddwarf /netbsd: com1: com_iflush timeout 0d
Jun 30 08:50:29 reddwarf last message repeated 4 times

Previously, I was using pcmcia at pcic, with no PCIBIOS options.  Now
I'm using pcmcia at cardslot, with PCIBIOS and
PCIBIOS_{INTR,BUS,ADDR}_FIXUP.  The latter options are needed to make
the uhci and cbb usable.

Additionally, if I build a kernel with pcmcia at pcic and none of the
PCIBIOS options, it doesn't even see the com at pcmcia, though it does
see my ne2k card.  I'm going to try powering off the system and then
booting the "pcmcia at pcic" kernel -- somebody on port-i386 said that
might work.

NetBSD 1.4ZD (REDDWARF) #25: Mon Jun 26 11:17:41 MDT 2000
    cjones@reddwarf:/usr/people/cjones/work/current/src/sys/arch/i386/compile/REDDWARF
cpu0: family 5 model 8 step c
cpu0: AMD K6-2 (586-class)
total memory = 65152 KB
avail memory = 57208 KB
using 840 buffers containing 3360 KB of memory
BIOS32 rev. 0 found at 0xeafa0
PCI BIOS rev. 2.1 found at 0xeafe0
PCI IRQ Routing Table rev. 1.0 found at 0xfe840, size 80 bytes (3 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
pci_addr_fixup: 000:10:0 0x104c 0xac1c new address 0x04000000
pci_addr_fixup: 000:10:1 0x104c 0xac1c new address 0x04001000
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82439TX System Controller (MTXC) (rev. 0x01)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK6409MAV>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6194 MB, 13424 cyl, 15 head, 63 sec, 512 bytes/sect x 12685680 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <CD-224E, , 1.5A> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3 not configured
vga0 at pci0 dev 8 function 0: S3 ViRGE/MXP (rev. 0x03)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
cbb0 at pci0 dev 10 function 0: Texas Instruments PCI1225 PCI-CardBus Bridge (rev. 0x01)
cbb1 at pci0 dev 10 function 1: Texas Instruments PCI1225 PCI-CardBus Bridge (rev. 0x01)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
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
lpt0 at isa0 port 0x378-0x37b irq 7
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.01
audio0 at sb0: half duplex, mmap, independent
midi0 at sb0: SB MIDI UART
opl0 at sb0: model OPL3
midi1 at opl0: SB Yamaha OPL3
pcppi0 at isa0 port 0x61
midi2 at pcppi0: PC speaker
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
cbb0: interrupting at irq 10
cbb0: cacheline 0x0 lattimer 0x20
cbb0: bhlc 0x821000 lscp 0x20010100
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cbb1: interrupting at irq 10
cbb1: cacheline 0x0 lattimer 0x20
cbb1: bhlc 0x821000 lscp 0x20020200
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
apm0 at mainbus0: Power Management spec V1.2
biomask ef4d netmask ef4d ttymask ffcf
IPsec: Initialized Security Association Processing.
com1 at pcmcia0 function 0: serial device
com1: ns16550a, working fifo
ne0 at pcmcia1 function 0
ne0: D-Link DE-660 Ethernet
ne0: Ethernet address 00:80:c8:8d:55:af
uhub1 at uhub0 port 1
uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 2
uhub1: 4 ports with 4 removable, self powered
uhub2 at uhub1 port 2
uhub2: ALCOR Monterey KBD HUB   , class 9/0, rev 1.10/0.01, addr 3
uhub2: 3 ports with 2 removable, bus powered
ukbd0 at uhub2 port 1 configuration 1 interface 0
ukbd0: ALCOR Monterey KBD HUB   , rev 1.10/0.01, addr 4, iclass 3/1
wskbd1 at ukbd0 mux 1
uhid0 at uhub2 port 1 configuration 1 interface 1
uhid0: ALCOR Monterey KBD HUB   , rev 1.10/0.01, addr 4, iclass 3/0
ums0 at uhub2 port 3 configuration 1 interface 0
ums0: Cypress Sem Cypress USB Mouse, rev 1.00/0.00, addr 5, iclass 3/1
ums0: 3 buttons
wsmouse1 at ums0 mux 0
kue0 at uhub1 port 4
kue0: Kawasaki LSI Inc. USB-Ethernet, rev 1.00/0.02, addr 6
kue0: cold boot, downloading firmware
kue0: Ethernet address 00:48:54:a0:1b:e7
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
com1: com_iflush timeout 0d
com1: com_iflush timeout 0d
com1: com_iflush timeout 0d
com1: com_iflush timeout 0d
com1: com_iflush timeout 0d

 Aperture driver for XFree86 version 1.6
rtinit: wrong ifa (0xc0571000) was (0xc05a4400)


>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: