Date: Tue, 6 Nov 2001 14:02:33 -0500 From: "Rick Siple" <ricksiple@sipleart.com> To: <freebsd-questions@freebsd.org> Subject: PCCard failure after upgrade from 4.2 to -stable Message-ID: <005401c166f5$a9a72a10$9191f6c6@mpainc.com>
next in thread | raw e-mail | index | archive | help
I am having trouble getting PCCard to work under -stable. I installed
FreeBSD from the 4.2 CD set (the 4.3 CD set gave me some issues.) I was
able to install using the PCMCIA network card (3C589) and everything seemed
fine. NFS filesystems were not mouting at startup but I found the -z switch
to pccardd and that problem was fixed. Version 4.2 was also able to find
all four slots (2 in notebook, 2 in dock) were found (this was a pleasant
suprise, previous version were only able to find the two in the dock).
However, after the upgrade to -stable the PCCard services stopped
working. The boot messages indicated that all four slots are still found,
but the pccard services don't work anymore. pccardd does not generate any
events and pccardc does not find any cards, though it does indicate that
four slots are found.
The problem seems to be with the new kernel. If I boot with the 4.2
kernel using the -stable pccardd and pccardc most things work (the network
card is found, the network is available and pccardc can dump the CIS of the
card). There is a message about a bad IOCTL during boot (PIOCSBEEP), but
otherwise it seems to work. A build of the GENERIC kernel from -stable
sources does not work either.
There are differences in the boot messages. Although both kernels can
find all four slots the old kernel reports "PC Card bus -- kludge version"
and the new kernel reports "PC Card bus (classic)."
Attached are the old and new kernel boot messages and the new kernel
configuration, although I do not think the problem is there because -stable
GENERIC does not work either.
If anyone can shed any light on what may have broken the pccard services
I would appreciate it. I browsed the CVS repository on freebsd.org to try
to find where the change may be been made but was not very successful. A
solution or helpful pointers would be appreciated.
---------- 4.2-RELEASE boot messages
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000
jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium/P54C (132.96-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x52c Stepping = 12
Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory = 33554432 (32768K bytes)
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di ed0
config> di cs0
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 28553216 (27884K bytes)
Preloaded elf kernel "kernel" at 0xc0436000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc043609c.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
chip1: <PCI to Other bridge (vendor=8086 device=1234)> at device 1.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=123b)> at device 17.0 on pci0
pci1: <PCI bus> on pcib1
pcic-pci0: <Cirrus Logic PD6729/6730 PC-Card Controller> port 0x3e0-0x3e3 at
device 10.0 on pci1
pcic-pci1: <Cirrus Logic PD6729/6730 PC-Card Controller> port 0xfcfc-0xfcff
at device 19.0 on pci0
pci0: <Cirrus Logic GD7548 SVGA controller> at 20.0
isa0: <ISA bus> on motherboard
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
pcic0: <Cirrus Logic PD672X> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 2067MB <TOSHIBA MK2103MAV> [4200/16/63] at ata0-master BIOSPIO
acd0: CDROM <CD-46E> at ata0-slave using BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 1
ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 10 slot 1 on pccard1
ep0: Ethernet address 00:20:af:0e:53:7f
---------- -stable kernel boot messages
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.4-STABLE #2: Tue Nov 6 11:18:34 EST 2001
rick@winbook.mpainc.com:/usr/obj/usr/src/sys/WINBOOK
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium/P54C (132.96-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x52c Stepping = 12
Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory = 33554432 (32768K bytes)
avail memory = 29581312 (28888K bytes)
Preloaded elf kernel "kernel.WINBOOK" at 0xc032d000.
Intel Pentium detected, installing workaround for F00F bug
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
chip1: <PCI to Other bridge (vendor=8086 device=1234)> at device 1.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=123b)> at device 17.0 on pci0
pci1: <PCI bus> on pcib1
pcic0: <Cirrus Logic PD6729/6730 PC-Card Controller> port 0x3e0-0x3e3 at
device 10.0 on pci1
ID is 0x82
ID is 0x82
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
pcic1: <Cirrus Logic PD6729/6730 PC-Card Controller> port 0xfcfc-0xfcff at
device 19.0 on pci0
ID is 0x82
ID is 0x82
pcic1: Polling mode
pccard2: <PC Card bus (classic)> on pcic1
pccard3: <PC Card bus (classic)> on pcic1
pci0: <Cirrus Logic GD7548 SVGA controller> at 20.0
isa0: <ISA bus> on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
sbc0: <Creative ViBRA16C> at port 0x220-0x233,0x330-0x331,0x388-0x38b irq 5
drq 1,5 on isa0
pcm0: <SB16 DSP 4.13> on sbc0
ad0: 2067MB <TOSHIBA MK2103MAV> [4200/16/63] at ata0-master BIOSPIO
acd0: CDROM <CD-46E> at ata0-slave using BIOSPIO
Mounting root from ufs:/dev/ad0s1a
--------- Kernel config for -stable
machine i386
cpu I586_CPU
ident GENERIC
maxusers 32
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options MFS #Memory Filesystem
options NFS #Network Filesystem
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
# To make an SMP kernel, the next two are needed
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
device isa
device pci
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID #Static device numbering
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12
device vga0 at isa?
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Power management support (see LINT for more options)
device apm0 at nexus? disable flags 0x20 # Advanced Power Management
# PCCARD (PCMCIA) support
device card
device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000
device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
# ISA Ethernet NICs.
device ep
# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
# splash screen/screen saver
pseudo-device splash
# For PnP/PCI sound cards
device pcm
---------- End attached files
If you have read all the way to here, thanks for you time!
-- Rick Siple
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?005401c166f5$a9a72a10$9191f6c6>
