From owner-freebsd-stable Thu Jan 3 16:35:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mailhost.firstcallgroup.co.uk (dilbert.firstcallgroup.co.uk [194.203.69.166]) by hub.freebsd.org (Postfix) with ESMTP id 520E737B419 for ; Thu, 3 Jan 2002 16:35:10 -0800 (PST) Received: from pfrench by mailhost.firstcallgroup.co.uk with local (Exim 3.33 #1) id 16MIK8-0003Bp-00 for freebsd-stable@FreeBSD.ORG; Fri, 04 Jan 2002 00:35:04 +0000 To: freebsd-stable@FreeBSD.ORG Subject: PCMCIA card problems with 4.5-PRERELEASE Message-Id: From: Pete French Date: Fri, 04 Jan 2002 00:35:04 +0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG So, for the first time I actually have a laptop that I can play with to try out FreeBSD on. It has a single PCMCIA slot, and requires the ISA bus interrupt routing which has been mentioned here many times. I couldnt work out a way to set these variables as part of the install process, so I installed 4.3 first and then upgraded to 4.5-PRE by copying over a compiled up /usr/src and /usr/obj tar file via the widdows partition and mount_msdos. This is very successful and the laptop now runs 4.5-PRE quite happily. But even with the IRQ routing set to ISA then I still cannot make PCMCIA cards work. Insreting or removing cards will lock the machine, O.K. I can live with that as long as they work when I boot with them. Booting with a card seems to be fine. The system detects it, and apparently runs the correct commands to try and configure it. I have two cards to try - an Etherlink III 3C589D and an Adaptec SlimSCSI APA-1460A. Firstly the ether card. This is recognised, an ifconfig appears to tell me that the interface is correctly up. If I try and ppin any other achines on the nwtwork I see packets being transmitted. However no packets are ever received by the machine. With the card in the ifconfig on the interface is as follows... ep0: flags=a843 mtu 1500 inet 192.168.3.3 netmask 0xffffff00 broadcast 192.168.3.255 inet6 fe80::260:97ff:fe8e:e04%ep0 prefixlen 64 scopeid 0x6 ether 00:60:97:8e:0e:04 media: Ethernet 10baseT/UTP Secondly the SCSI card (this is connected to an external Yamaha CDW4416SX). This also appears to be detected correctly and boots. So I tried a quick scan of the bus using 'camcontrol rescan 0'. This pauses for some time and then generates the following error message repeatedly: (probe0:aic1:0:0:0): ccb 0x0b90800 - timed out, phase 0x0, state 1 So, any ideas anyone ? To my untrained eye it looks like the cards are having [problems communicating back to the system (received backets, indications of completed SCSi commands ?). I have included below the dmesg outputs, firstly from a boot with the ether card, secondly from a boot with the scsi card. cheers, -pete french. PS: The laptop is a Palmax PD-1100 if that helps... ----------------------------- dmesg.ether ------------------------------- 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.5-PRERELEASE #0: Sat Dec 29 18:57:01 GMT 2001 pete@skerry:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Cyrix GXm (262.39-MHz 586-class CPU) Origin = "CyrixInstead" Id = 0x540 DIR=0x6347 Stepping=6 Revision=3 real memory = 64487424 (62976K bytes) avail memory = 58077184 (56716K bytes) Preloaded elf kernel "kernel" at 0xc0490000. md0: Malloc disk Using $PIR table, 2 entries at 0xc00fdfa0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcic0: at device 11.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pcic0: Polling mode pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][CSC parallel isa irq] pccard0: on pcic0 isab0: at device 18.0 on pci0 isa0: on isab0 chip1: mem 0x40012000-0x400120ff at device 18.1 on pci0 atapci0: port 0xfc00-0xfc0f at device 18.2 on pci0 atapci0: Busmastering DMA not supported pci0: (vendor=0x1078, dev=0x0103) at 18.3 pci0: at 18.4 ohci0: mem 0xfedff000-0xfedfffff irq 11 at device 19.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered orm0: