From owner-freebsd-mobile Wed May 23 9:45: 6 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id C0FC037B424 for ; Wed, 23 May 2001 09:44:58 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from shade.nectar.com (gw.nectar.com [208.42.49.153]) by gw.nectar.com (Postfix) with ESMTP id 042DE18CAA for ; Wed, 23 May 2001 11:44:58 -0500 (CDT) Received: (from nectar@localhost) by shade.nectar.com (8.11.3/8.11.3) id f4NGivj00715 for freebsd-mobile@freebsd.org; Wed, 23 May 2001 11:44:57 -0500 (CDT) (envelope-from nectar) Date: Wed, 23 May 2001 11:44:57 -0500 From: "Jacques A. Vidrine" To: freebsd-mobile@freebsd.org Subject: SlimSCSI grief Message-ID: <20010523114457.A606@shade.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Url: http://www.nectar.com/ Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [this is regarding FreeBSD 4.3-RELEASE, by the way] Hello, I'm having the darndest time getting an Adaptec SlimSCSI 1460B PC Card to work. I thought I understood all this gunk by now, but I'm stumped. I used this card previously in a Sony VAIO Z505SX. Perhaps I was lucky -- I just plugged it in, and away she went. Now I'm having trouble with a ThinkPad X20. Especially frustrating since I've had easy success with Linksys 802.11, Aironet 802.11, and the built-in CompactFlash slot. I've tried several different configurations with no success, but here is what seems simplest to me, followed by good stuff like pccard debug output, dumpcis, relevant kernel config stuff, and so on. I hope someone can point me in a further direction to snoop. Kernel config: device card device pcic0 at isa? irq 3 port 0x3e0 iomem 0xd0000 device aic0 at isa? port 0x340 irq 10 IRQ 10 and port 0x340 are not used by any other device. Stock /etc/defaults/pccard.conf: # Adaptec SlimSCSI (also included with Sony CD-ROM players) card "Adaptec, Inc." "/APA-1460 .*/" config 0x9 "aic" ? insert camcontrol rescan $device My /etc/pccard.conf: debuglevel 9 irq 10 9 card "64MB" " " config 0x1 "ata" ? Chipset info: pcic-pci0: mem 0x50000000-0x50000fff irq 11 at device 8.0 on pci0 pcic-pci0: Legacy address set to 0x3e0 pcic-pci1: mem 0x50100000-0x50100fff irq 9 at device 8.1 on pci0 pcic0: at port 0x3e0 iomem 0xd0000 irq 3 on isa0 pcic0: management irq 3 pccard0: on pcic0 pccard1: on pcic0 pccardc dumpcis: Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: 00 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = 512b, 1 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 12 00 ff Attribute memory device information: Device number 1, type Mask ROM, WPS = OFF Speed = 200nS, Memory block size = 512b, 1 units Tuple #3, code = 0x15 (Version 1 info), length = 57 000: 04 01 41 64 61 70 74 65 63 2c 20 49 6e 63 2e 00 010: 41 50 41 2d 31 34 36 30 20 53 43 53 49 20 48 6f 020: 73 74 20 41 64 61 70 74 65 72 00 56 65 72 73 69 030: 6f 6e 20 30 2e 30 31 00 ff Version = 4.1, Manuf = [Adaptec, Inc.], card vers = [APA-1460 SCSI Host Adapter] Addit. info = [Version 0.01] Tuple #4, code = 0x20 (Manufacturer ID), length = 4 000: 2f 01 02 00 PCMCIA ID = 0x12f, OEM ID = 0x2 Tuple #5, code = 0x1a (Configuration map), length = 5 000: 01 08 00 20 01 Reg len = 2, config register addr = 0x2000, last config = 0x8 Registers: X------- Tuple #6, code = 0x1b (Configuration entry), length = 15 000: c9 01 19 49 55 65 06 ca 60 40 03 1f 30 00 1e Config index = 0x9(default) Interface byte = 0x1 (I/O) Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 6 x 10mA Power down supply current: 1 x 100mA Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x340 block length = 0x20 IRQ modes: Level IRQs: 9 10 11 12 Tuple #7, code = 0x1b (Configuration entry), length = 7 000: 08 08 ca 60 40 01 1f Config index = 0x8 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x140 block length = 0x20 Tuple #8, code = 0x14 (No link), length = 0 Tuple #9, code = 0xff (Terminator), length = 0 2 slots found pccardd debug output interspersed with kernel verbose messages upon insert of SlimSCSI card: Slot 0 chg = 0x8 Slot 0 chg = 0x8 pccard: card inserted, slot 0 May 23 11:13:53 shade pccardd[123]: Card "Adaptec, Inc."("APA-1460 SCSI Host Adapter") [Version 0.01] [(null)] matched "Adaptec, Inc." ("/APA-1460 .*/") [(null)] [(null)] May 23 11:13:53 shade pccardd[123]: Using I/O addr 0x340, size 32 May 23 11:13:53 shade pccardd[123]: Setting config reg at offs 0x2000 to 0x49, Reset time = 50 ms May 23 11:13:58 shade pccardd[123]: Assigning I/O window 0, start 0x340, size 0x20 flags 0x5 May 23 11:13:58 shade pccardd[123]: Assign aic0, io 0x340-0x35f, mem 0x0, 0 bytes, irq 10, flags 0 aic-: aic0 exists, using next available unit number pcic: I/O win 0 flags 15 340-35f pcic: I/O win 0 flags 5 340-35f May 23 11:13:58 shade pccardd[123]: driver allocation failed for Adaptec, Inc.(/APA-1460 .*/): Device not configured Any ideas are much appreciated! Cheers, -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message