From owner-freebsd-small Mon Dec 28 23:47:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA03604 for freebsd-small-outgoing; Mon, 28 Dec 1998 23:47:11 -0800 (PST) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from at.dotat.com (zed.dotat.com [203.38.154.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA03599 for ; Mon, 28 Dec 1998 23:47:07 -0800 (PST) (envelope-from hart@at.dotat.com) Received: from at.dotat.com (localhost.dotat.com [127.0.0.1]) by at.dotat.com (8.8.8/8.8.8) with ESMTP id SAA21663 for ; Tue, 29 Dec 1998 18:23:54 +1030 (CST) Message-Id: <199812290753.SAA21663@at.dotat.com> To: freebsd-small@FreeBSD.ORG Subject: Q: PCMCIA ATA Flash: how to make it work? PAO? Reply-to: hart@dotat.com Date: Tue, 29 Dec 1998 18:23:54 +1030 From: Leigh Hart Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, I've trawled through the mailing list archives, downloaded the latest PAO suitable for 2.2.8 and successfully patched and compiled the kernel and tools as per the instructions, heh yea right, and I'm having problems getting a SunDisk SDP (4Mb) ATA flash disk recognised.... Note my kernel is a 2.2.7 CVSUP'ed to -stable, then patched with PAO. I've got a PII/Celleron 300A desktop with an ISA PCMCIA interface card with two slots - the following is my dmesg output: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2.7-STABLE #0: Wed Dec 30 02:36:18 CST 1998 root@random.host.domain:/usr/src/sys/compile/RANDOM CPU: Unknown 80686 (300.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x660 Stepping=0 Features=0x183f9ff,,MMX,> real memory = 67108864 (65536K bytes) avail memory = 63602688 (62112K bytes) PAO version: PAO-19981225 Initializing PC-card drivers: ed sio wdc Probing for devices on PCI bus 0: chip0 rev 3 class 60000 on pci0:0:0 chip1 rev 3 class 60400 on pci0:1:0 chip2 rev 2 class 60100 on pci0:7:0 chip3 rev 1 class 10180 on pci0:7:1 chip4 rev 1 class c0300 int d irq 5 on pci0:7:2 chip5 rev 2 class 68000 on pci0:7:3 ahc0 rev 1 class 10000 int a irq 10 on pci0:15:0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ed1 rev 0 class 20000 int a irq 11 on pci0:17:0 ed1: address 00:40:05:66:e0:83, type NE2000 (16 bit) vga0 rev 1 class 30000 int a irq 9 on pci0:19:0 Probing for devices on PCI bus 1: Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> psm0 at 0x60-0x64 irq 12 on motherboard psm0: model Generic PS/2 mouse, device ID 0 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S wdc1 not found at 0x170 pcic0 at 0x3e0-0x3e1 irq 11 on isa PC-Card ctlr(0) Intel 82365A/B (5 mem & 2 I/O windows) pcic0: slot 0 controller I/O address 0x3e0 pcic0: slot 1 controller I/O address 0x3e0 npx0 flags 0x1 on motherboard npx0: INT 16 interface ccd0-3: Concatenated disk drivers I attempted card insertion with the following pccard.conf (stripped down to be brief): # Generally available IO ports io 0x240-0x2e0 0x300-0x360 # Unavailable IRQs ignirq 9 3 4 # refrain from using SoundBlaster's IRQ, by default. ignirq 5 # Available memory slots memory 0xd4000 96k # SunDisk Flash ATA card "SunDisk" ".*" config 0x03 "wdc2" any insert echo SunDisk Flash ATA inserted remove echo SunDisk Flash ATA removed and got the following (rather negative) results: Card inserted, slot 0 Probe Failed Return IRQ=7 Card removed, slot 0 Card inserted, slot 0 Slot 0, unfielded interrupt (0) Probe Failed Return IRQ=7 Card removed, slot 0 --- previously, when I had my cdrom on the second IDE controller, the flash disk was configured, however the system froze for a good 5-10 seconds while it was sorting itself out, and decided that the device in the slot was actually a CDROM, amazingly with the same characteristics as the fixed ATAPI CDROM. I'm lost - is there some way to make this easier than it seems? :) Any advice gratefully accepted. Once I get this going, I'll ask the obvious horrible question, how do I make an ATA flash card bootable :) (I understand that will be BIOS dependant). Cheers Leigh -- | "By the time they had diminished | Leigh Hart, | | from 50 to 8, the other dwarves | Dotat Communications Pty Ltd | | began to suspect 'Hungry' ..." | GPO Box 487 Adelaide SA 5001 | | -- Gary Larson, "The Far Side" | http://www.dotat.com/hart/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message