Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2001 14:38:58 -0700
From:      Leonard Chung <leonard@ssl.berkeley.edu>
To:        questions@freebsd.org
Subject:   PC card support not working on Cirrus controller?
Message-ID:  <5.1.0.14.2.20010610142912.00ade7d8@chung.yikes.com>

next in thread | raw e-mail | index | archive | help
I'm trying to get FreeBSD 4.3 working on my old Dell Latitude LM 133ST 
laptop to use it as a large digital picture frame. Everything has been 
working great, except for PC Card support (and sound, but that's not really 
important), so unfortunately my D-link DE-660CT doesn't work and I can't 
really remotely update the contents of the picture database.

The kernel detects the Cirrus controller, but it doesn't look like it 
actually does anything with it. The card slots are never powered up and 
pccardd claims that there are no available PC card slots. The only way I've 
been able to get my PC Cards to work is by booting up off a DOS boot disk 
and using DOS drivers to set up the PC card slots first, and then 
soft-rebooting into FreeBSD.

Is this some known issue with older PC Card controllers, or have I missed 
something? LINT doesn't doesn't shed much light on any tweeking I can do to 
the pcic device, and despite many attempts I haven't yet been able to get 
FreeBSD to get the cards online by itself yet. The kernel being used is 
GENERIC.

Anybody have any ideas?

Leonard

_______________________________________________

guest1# ll /dev/card*
crw-r--r--  1 root  wheel   50,   0 Jun 10 14:01 card0
crw-r--r--  1 root  wheel   50,   1 Jun 10 14:01 card1
crw-r--r--  1 root  wheel   50,   2 Jun 10 14:01 card2
crw-r--r--  1 root  wheel   50,   3 Jun 10 14:02 card3

guest1# pccardd
Jun 10 14:14:53 guest1 pccardd[292]: fatal error: no PC-CARD slots
Jun 10 14:14:53 guest1 pccardd[292]: fatal error: no PC-CARD slots

======= Non-working config =======
Jun 10 14:08:31 guest1 /kernel: Copyright (c) 1992-2001 The FreeBSD Project.
Jun 10 14:08:31 guest1 /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 
1989, 1991, 1992, 1993, 1994
Jun 10 14:08:31 guest1 /kernel: The Regents of the University of 
California. All rights reserved.
Jun 10 14:08:31 guest1 /kernel: FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 
GMT 2001
Jun 10 14:08:31 guest1 /kernel: 
jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC
Jun 10 14:08:31 guest1 /kernel: Timecounter "i8254"  frequency 1193182 Hz
Jun 10 14:08:31 guest1 /kernel: CPU: Pentium/P54C (132.96-MHz 586-class CPU)
Jun 10 14:08:31 guest1 /kernel: Origin = "GenuineIntel"  Id = 
0x52c  Stepping = 12
Jun 10 14:08:31 guest1 /kernel: Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
Jun 10 14:08:31 guest1 /kernel: real memory  = 75497472 (73728K bytes)
Jun 10 14:08:32 guest1 /kernel: avail memory = 68968448 (67352K bytes)
Jun 10 14:08:32 guest1 /kernel: Preloaded elf kernel "kernel" at 0xc044d000.
Jun 10 14:08:32 guest1 /kernel: Preloaded userconfig_script 
"/boot/kernel.conf" at 0xc044d09c.
Jun 10 14:08:32 guest1 /kernel: Intel Pentium detected, installing 
workaround for F00F bug
Jun 10 14:08:32 guest1 /kernel: md0: Malloc disk
Jun 10 14:08:32 guest1 /kernel: npx0: <math processor> on motherboard
Jun 10 14:08:32 guest1 /kernel: npx0: INT 16 interface
Jun 10 14:08:32 guest1 /kernel: pcib0: <Host to PCI bridge> on motherboard
Jun 10 14:08:32 guest1 /kernel: pci0: <PCI bus> on pcib0
Jun 10 14:08:32 guest1 /kernel: chip1: <PCI to Other bridge (vendor=8086 
device=1234)> at device 1.0 on pci0
Jun 10 14:08:32 guest1 /kernel: pci0: <NeoMagic model 0001 VGA-compatible 
display device> at 2.0 irq 15
Jun 10 14:08:32 guest1 /kernel: pcic-pci0: <Cirrus Logic PD6729/6730 
PC-Card Controller> port 0xfcfc-0xfcff at device 4.0 on pci0
Jun 10 14:08:32 guest1 /kernel: isa0: <ISA bus> on motherboard
Jun 10 14:08:32 guest1 /kernel: fdc0: <NEC 72065B or clone> at port 
0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Jun 10 14:08:32 guest1 /kernel: fdc0: FIFO enabled, 8 bytes threshold
Jun 10 14:08:32 guest1 /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Jun 10 14:08:33 guest1 /kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
Jun 10 14:08:33 guest1 /kernel: atkbdc0: <Keyboard controller (i8042)> at 
port 0x60,0x64 on isa0
Jun 10 14:08:33 guest1 /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on 
atkbdc0
Jun 10 14:08:33 guest1 /kernel: kbd0 at atkbd0
Jun 10 14:08:33 guest1 /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Jun 10 14:08:33 guest1 /kernel: psm0: model Generic PS/2 mouse, device ID 0
Jun 10 14:08:33 guest1 /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df 
iomem 0xa0000-0xbffff on isa0
Jun 10 14:08:33 guest1 /kernel: sc0: <System console> at flags 0x100 on isa0
Jun 10 14:08:33 guest1 /kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Jun 10 14:08:33 guest1 /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 
on isa0
Jun 10 14:08:33 guest1 /kernel: sio0: type 16550A
Jun 10 14:08:33 guest1 /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Jun 10 14:08:33 guest1 /kernel: sio1: type 16550A
Jun 10 14:08:33 guest1 /kernel: ppc0: <Parallel port> at port 0x378-0x37f 
irq 7 on isa0
Jun 10 14:08:33 guest1 /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) 
in COMPATIBLE mode
Jun 10 14:08:33 guest1 /kernel: ppc0: FIFO with 16/16/15 bytes threshold
Jun 10 14:08:33 guest1 /kernel: plip0: <PLIP network interface> on ppbus0
Jun 10 14:08:33 guest1 /kernel: lpt0: <Printer> on ppbus0
Jun 10 14:08:33 guest1 /kernel: lpt0: Interrupt-driven port
Jun 10 14:08:33 guest1 /kernel: ppi0: <Parallel I/O> on ppbus0
Jun 10 14:08:33 guest1 /kernel: ad0: 1376MB <IBM-DMCA-21440> [2796/16/63] 
at ata0-master BIOSPIO
Jun 10 14:08:33 guest1 /kernel: Mounting root from ufs:/dev/ad0s1a

======= Working config =======
Jun 10 14:11:36 guest1 /kernel: Preloaded elf kernel "kernel" at 0xc044d000.
Jun 10 14:11:36 guest1 /kernel: Preloaded userconfig_script 
"/boot/kernel.conf" at 0xc044d0a8.
Jun 10 14:11:36 guest1 /kernel: Intel Pentium detected, installing 
workaround for F00F bug
Jun 10 14:11:36 guest1 /kernel: md0: Malloc disk
Jun 10 14:11:36 guest1 /kernel: npx0: <math processor> on motherboard
Jun 10 14:11:36 guest1 /kernel: npx0: INT 16 interface
Jun 10 14:11:36 guest1 /kernel: pcib0: <Host to PCI bridge> on motherboard
Jun 10 14:11:36 guest1 /kernel: pci0: <PCI bus> on pcib0
Jun 10 14:11:36 guest1 /kernel: chip1: <PCI to Other bridge (vendor=8086 
device=1234)> at device 1.0 on pci0
Jun 10 14:11:36 guest1 /kernel: pci0: <NeoMagic model 0001 VGA-compatible 
display device> at 2.0 irq 15
Jun 10 14:11:36 guest1 /kernel: pcic-pci0: <Cirrus Logic PD6729/6730 
PC-Card Controller> port 0xfcfc-0xfcff at device 4.0 on pci0
Jun 10 14:11:36 guest1 /kernel: isa0: <ISA bus> on motherboard
Jun 10 14:11:36 guest1 /kernel: fdc0: <NEC 72065B or clone> at port 
0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Jun 10 14:11:36 guest1 /kernel: fdc0: FIFO enabled, 8 bytes threshold
Jun 10 14:11:36 guest1 /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Jun 10 14:11:36 guest1 /kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
Jun 10 14:11:36 guest1 /kernel: atkbdc0: <Keyboard controller (i8042)> at 
port 0x60,0x64 on isa0
Jun 10 14:11:36 guest1 /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on 
atkbdc0
Jun 10 14:11:36 guest1 /kernel: kbd0 at atkbd0
Jun 10 14:11:36 guest1 /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Jun 10 14:11:36 guest1 /kernel: psm0: model Generic PS/2 mouse, device ID 0
Jun 10 14:11:36 guest1 /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df 
iomem 0xa0000-0xbffff on isa0
Jun 10 14:11:37 guest1 /kernel: sc0: <System console> at flags 0x100 on isa0
Jun 10 14:11:37 guest1 /kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Jun 10 14:11:37 guest1 /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 
on isa0
Jun 10 14:11:37 guest1 /kernel: sio0: type 16550A
Jun 10 14:11:37 guest1 /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Jun 10 14:11:37 guest1 /kernel: sio1: type 16550A
Jun 10 14:11:37 guest1 /kernel: ppc0: <Parallel port> at port 0x378-0x37f 
irq 7 on isa0
Jun 10 14:11:37 guest1 /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) 
in COMPATIBLE mode
Jun 10 14:11:37 guest1 /kernel: ppc0: FIFO with 16/16/15 bytes threshold
Jun 10 14:11:37 guest1 /kernel: plip0: <PLIP network interface> on ppbus0
Jun 10 14:11:37 guest1 /kernel: lpt0: <Printer> on ppbus0
Jun 10 14:11:37 guest1 /kernel: lpt0: Interrupt-driven port
Jun 10 14:11:37 guest1 /kernel: ppi0: <Parallel I/O> on ppbus0
Jun 10 14:11:37 guest1 /kernel: ed0 at port 0x300-0x31f iomem 0xd8000 irq 
11 drq 0 on isa0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jun 10 14:11:37 guest1 /kernel: ed0: address 00:80:c8:8c:e6:21, type NE2000 
(16 bit)
Jun 10 14:11:37 guest1 /kernel: ad0: 1376MB <IBM-DMCA-21440> [2796/16/63] 
at ata0-master BIOSPIO
Jun 10 14:11:37 guest1 /kernel: Mounting root from ufs:/dev/ad0s1a



--
Leonard Chung - <leonard@ssl.berkeley.edu>
SETI@home - The Search for Extraterrestrial Intelligence @ home
http://www.setiathome.ssl.berkeley.edu


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




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