From owner-freebsd-mobile Mon Jul 30 16:21: 8 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 07EFA37B401; Mon, 30 Jul 2001 16:21:02 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 154916ACBC; Tue, 31 Jul 2001 08:51:00 +0930 (CST) Date: Tue, 31 Jul 2001 08:51:00 +0930 From: Greg Lehey To: Jim Mock Cc: Warner Losh , mobile@FreeBSD.org Subject: Re: ata timeouts with flash card Message-ID: <20010731085059.G89308@wantadilla.lemis.com> References: <20010730103704.D911@cartman.geekhouse.net> <20010730095729.A911@cartman.geekhouse.net> <20010729212800.A508@cartman.geekhouse.net> <200107300745.f6U7j2w34160@harmony.village.org> <200107301701.f6UH16w38097@harmony.village.org> <200107301748.f6UHmcw38949@harmony.village.org> <200107301801.f6UI1Rw39059@harmony.village.org> <200107301809.f6UI9Pw39170@harmony.village.org> <200107302017.f6UKHTw40861@harmony.village.org> <20010730132823.B464@cartman.geekhouse.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010730132823.B464@cartman.geekhouse.net>; from jim@FreeBSD.org on Mon, Jul 30, 2001 at 01:28:23PM -0700 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF 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 On Monday, 30 July 2001 at 13:28:23 -0700, Jim Mock wrote: > On Mon, 30 Jul 2001 at 14:17:29 -0600, Warner Losh wrote: >> In message <20010730123429.D7875@cartman.geekhouse.net> Jim Mock writes: >>> On Mon, 30 Jul 2001 at 12:09:25 -0600, Warner Losh wrote: >>>>> Yeah, pretty much. I dunno about the 27th or 28th... yesterday was >>>>> the first I tried pulling pictures off the card since the last time >>>>> (which was the 25th). >>>> >>>> When did you cvsup yesterady? I'm trying to find out what changed >>>> between the 25th and the 29th. >>> >>> Sometime between 7 and 8pm. >> >> OK. One last question. OK. two. First, are you using the >> pcic-stable.diff.X patches (I think the answer is no). Second, what >> cardbus chip is involved. > > No, no patches. The chipset is: > > pcic-pci0: irq 9 at device 10.0 on pci0 > pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] > pcic-pci1: irq 10 at device 10.1 on pci0 > pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] Warner, these are exactly the same as some of the symptoms I've been reporting to you. Looks like I have a similar bridge as well. Here's the dmesg output of my Stinkpad T22 running -CURRENT as of 30 hours ago: pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 (no driver attached) pcic0: mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0 pcic0: Memory mapped device, will work. pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only] pccard0: on pcic0 pcic1: mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0 pcic1: Memory mapped device, will work. pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only] pccard1: on pcic1 fxp0: port 0x1800-0x183f mem 0xe8020000-0xe803ffff,0xe8002000-0xe8002fff irq 11 at device 3.0 on pci0 I'm getting the impression that the bridge interrupts are no longer enabled; as you can see from the dmesg, fxp0 is also on the same interrupt, and when I get an fxp interrupt, the cardbus events get processed. Note also that on the same machine, under -STABLE, one of my flash cards works: Jul 29 16:50:19 canberra /kernel: pccard: card inserted, slot 0 Jul 29 16:50:25 canberra pccardd[51]: Card "CL ATA FLASH CARD LEXAR "("TIDALWV") [V1.01] [(null)] matched "CL ATA FLASH CARD LEXAR " ("TIDALWV") [(null)] [(null)] Jul 29 16:50:30 canberra /kernel: ata4 at port 0x240-0x24f irq 3 slot 0 on pccard0 Jul 29 16:50:30 canberra /kernel: ad8: 7MB [251/2/32] at ata4-master BIOSPIO Jul 29 16:50:30 canberra pccardd[51]: ata4: CL ATA FLASH CARD LEXAR (TIDALWV) inserted. Jul 29 16:51:37 canberra /kernel: ata4: detached Jul 29 16:51:37 canberra /kernel: pccard: card removed, slot 0 Jul 29 16:51:37 canberra /kernel: stray irq 3 The other generates the following messages: Jul 29 16:51:51 canberra pccardd[51]: Card "CF"("048MB") [] [(null)] has function ID 4 Jul 29 16:51:56 canberra pccardd[51]: driver allocation failed for (null)((null)): Device not configured Jul 29 16:52:10 canberra /kernel: pccard: card removed, slot 0 Jul 29 16:52:10 canberra pccardd[51]: ata4: GENERIC Flash ATA / ATA HDD removed. Also, my Xircom card, which also used to work, now generates the following messages: Jul 29 16:52:17 canberra /kernel: pccard: card inserted, slot 1 Jul 29 16:52:22 canberra pccardd[51]: Card "Xircom"("CreditCard 10/100") [CE3-10/100] [1.00] matched "Xircom" ("CreditCard 10/100") [(null)] [(null)] Jul 29 16:52:28 canberra pccardd[51]: driver allocation failed for Xircom(CreditCard 10/100): Device not configured These are all PCMCIA cards. Would a dumpcis help? Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message