Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Aug 1999 11:13:44 +0200
From:      Andreas Stumpf <Andreas.Stumpf@cubes.de>
To:        freebsd-stable@freebsd.org
Subject:   PCMCIA: "Device not configured"
Message-ID:  <37A6B2C7.D8B818E2@cubes.de>

next in thread | raw e-mail | index | archive | help
Hi Everybody,

I just installed FreeBSD 3.1 on my notebook. My problem is, that
the system doesn't access the PCMCIA-Ports. The controller is recognized
but any access to the ports is denied with the message 
"/dev/card0: Device not configured" I've tried a lot to make it work,
but you all can guess while reading this posting: without success:
- I searched in handbook and FAQ at freebsd.org for any hints
- I tried kernels with "device card" configured
- I tried kernels without "device card" configured and loading  the 
  kernel-module pcic.ko
- I compared major number of /dev/card[01]-entry against majors.i386
- I asked an experienced friend (Hi Christoph)
Now I don't have any more ideas and have to hope, that anybody else 
has a solution.

This mail is accompanied by the output of dmesg, some useful diagnostic
commands and parts of the dmesg-Output from a running Linux on this
notebook.

==============================================================================
dmesg-Output:

Copyright (c) 1992-1999 FreeBSD Inc. 
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.1-RELEASE #13: Fri Jul 30 16:24:47 CEST 1999
    root@omega.cubes.de:/usr/src/sys/compile/OMEGA
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (120.27-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x526  Stepping=6
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 41943040 (40960K bytes)
avail memory = 37941248 (37052K bytes)
Preloaded elf kernel "kernel" at 0xf02e0000.
DEVFS: ready for devices
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=1060 device=e891)> rev 0x01 on
pci0.0.0
vga0: <Chips & Technologies model 00dc VGA-compatible display device>
rev 0x00 on pci0.17.0
chip1: <PCI to ISA bridge (vendor=1060 device=e886)> rev 0xa3 on
pci0.18.0
pcic0: <Cirrus Logic PD6729/6730 PC-Card Controller> rev 0xfe int a irq
255 on pci0.23.0
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x300
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <HITACHI_DK212A-10>
wd0: 1031MB (2112768 sectors), 2096 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <TOSHIBA CD-ROM XM-1302B/2865>, removable, intr,
iordis
acd0: drive speed 689KB/sec, 128KB cache
acd0: supported read types: CD-DA
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
ppc0 at 0x278 irq 7 on isa
ppc0: SMC FDC37C665GT chipset (EPP/PS2/NIBBLE) in COMPATIBLE mode
nlpt0: <generic printer> on ppbus 0
nlpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Initializing PC-card drivers: ed
Intel Pentium detected, installing workaround for F00F bug
DEVFS: ready to run
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to accept, logging limited to 100 packets/entry
IP Filter: initialized.  Default = pass all, Logging = enabled
changing root device to wd0s1a
==============================================================================

Output from some commands:

$ ls -l /dev/ca*
crw-r--r--  1 root  wheel   50,   0 Jul 30 08:16 /dev/card0
crw-r--r--  1 root  wheel   50,   1 Jul 30 08:16 /dev/card1


==============================================================================
 $ pccardc pccardmem
pccardc: /dev/card0: Device not configured


==============================================================================
 $ kldstat
Id Refs Address    Size     Name
 1    5 0xf0100000 1de608   kernel
 2    1 0xf07d7000 3000     pcic.ko
 3    2 0xf07ec000 a000     ibcs2.ko
 4    1 0xf07f9000 3000     ibcs2_coff.ko
 5    1 0xf07fe000 d000     linux.ko

==============================================================================
included in /sys/i386/conf/OMEGA:
# PCCARD (PCMCIA) support
controller	card0
device		pcic0	at card?
device		pcic1	at card?

==============================================================================
dmesg from Linux on the same PC:
Linux version 2.2.5 (root@omega) (gcc version 2.7.2.3) #3 Sun May 30
12:33:51 MEST 1999 
Detected 120275255 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 48.03 BogoMIPS
Memory: 38828k/40960k available (1048k kernel code, 408k reserved, 636k
data, 40k init)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: Intel Pentium 75 - 200 stepping 06
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
Intel Pentium with F0 0F bug - workaround enabled.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xe1f3e
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
Initializing RT netlink socket
Starting kswapd v 1.5 
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.09
RAM disk driver initialized:  16 RAM disks of 20480K size
PCI_IDE: unknown IDE controller on PCI bus 00 device 91, VID=1060,
DID=0101
PCI_IDE: not 100% native mode: will probe irqs later
hda: TOSHIBA MK2101MAN, ATA DISK drive
hdc: TOSHIBA CD-ROM XM-1302B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: TOSHIBA MK2101MAN, 2067MB w/128kB Cache, CHS=525/128/63
hdc: ATAPI 4X CD-ROM drive, 128kB Cache
Uniform CDROM driver Revision: 2.54
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Partition check:
 hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 40k freed
Adding Swap: 80604k swap-space (priority -1)
Serial driver version 4.27 with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ
enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Linux PCMCIA Card Services 3.0.9
  kernel build: 2.2.5 unknown
  options:  [pci] [cardbus]
Intel PCIC probe: 
  Cirrus PD6729 PCI-to-PCMCIA at bus 0 slot 23, port 0x3000, 2 sockets
    host opts [0]: [ring] [1/5/0] [1/20/0]
    host opts [1]: [ring] [1/5/0] [1/20/0]
    ISA irqs (default) = 3,4,5,7,9,10,11,12 polling interval = 1000 ms
cs: IO port probe 0x1000-0x17ff: excluding 0x10b8-0x10bf 0x1170-0x1177
0x11f0-0x11f7 0x1220-0x1227 0x1278-0x127f 0x12f8-0x12ff 0x1340-0x1347
0x1370-0x1377 0x1388-0x138f 0x13f0-0x13ff 0x14b8-0x14bf 0x1570-0x1577
0x15f0-0x15f7 0x1678-0x167f 0x16f8-0x16ff 0x1770-0x1777 0x17f0-0x17ff
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x227 0x278-0x27f
0x340-0x347 0x388-0x38f 0x3b0-0x3df 0x408-0x40f 0x480-0x48f 0x4b8-0x4bf
0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: excluding 0xa78-0xa7f 0xaf8-0xaff
cs: memory probe 0x0d0000-0x0dffff: clean.
eth0: NE2000 Compatible: port 0x300, irq 3, hw_addr 00:00:E8:25:6B:0C
lp: driver loaded but no devices found
==============================================================================


Thanks in advance for any helping comment!

Andreas Stumpf

-- 
==============================================================================
  Andreas Stumpf, Ditzingen, Germany
  Email:      Andreas.Stumpf@cubes.de
==============================================================================


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37A6B2C7.D8B818E2>