From owner-freebsd-questions Tue Nov 6 10:59:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from r1a.servercentral.net (64-94-43-005.servercentral.net [64.94.43.5]) by hub.freebsd.org (Postfix) with ESMTP id 4C2DC37B417 for ; Tue, 6 Nov 2001 10:59:34 -0800 (PST) Received: from rick1 (proxy.mpainc.com [198.246.145.98]) by r1a.servercentral.net (8.9.3/8.9.3) with SMTP id NAA20577 for ; Tue, 6 Nov 2001 13:02:28 -0600 Message-ID: <005401c166f5$a9a72a10$9191f6c6@mpainc.com> From: "Rick Siple" To: Subject: PCCard failure after upgrade from 4.2 to -stable Date: Tue, 6 Nov 2001 14:02:33 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Disposition-Notification-To: "Rick Siple" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 chip1: at device 1.0 on pci0 pcib1: at device 17.0 on pci0 pci1: on pcib1 pcic-pci0: port 0x3e0-0x3e3 at device 10.0 on pci1 pcic-pci1: port 0xfcfc-0xfcff at device 19.0 on pci0 pci0: at 20.0 isa0: on motherboard fdc0: 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: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode pccard0: on pcic0 pccard1: 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: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ad0: 2067MB [4200/16/63] at ata0-master BIOSPIO acd0: CDROM 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 chip1: at device 1.0 on pci0 pcib1: at device 17.0 on pci0 pci1: on pcib1 pcic0: port 0x3e0-0x3e3 at device 10.0 on pci1 ID is 0x82 ID is 0x82 pcic0: Polling mode pccard0: on pcic0 pccard1: on pcic0 pcic1: port 0xfcfc-0xfcff at device 19.0 on pci0 ID is 0x82 ID is 0x82 pcic1: Polling mode pccard2: on pcic1 pccard3: on pcic1 pci0: at 20.0 isa0: on motherboard orm0: