From owner-freebsd-mobile Mon Jul 30 16:26: 7 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 5345B37B401; Mon, 30 Jul 2001 16:26:00 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f6UNPwF86126; Mon, 30 Jul 2001 17:25:59 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f6UNPww42944; Mon, 30 Jul 2001 17:25:58 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200107302325.f6UNPww42944@harmony.village.org> To: Greg Lehey Subject: Re: ata timeouts with flash card Cc: Jim Mock , mobile@FreeBSD.org In-reply-to: Your message of "Tue, 31 Jul 2001 08:51:00 +0930." <20010731085059.G89308@wantadilla.lemis.com> References: <20010731085059.G89308@wantadilla.lemis.com> <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> Date: Mon, 30 Jul 2001 17:25:58 -0600 From: Warner Losh 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 In message <20010731085059.G89308@wantadilla.lemis.com> Greg Lehey writes: : 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. That's different, becuase his network card is working while this is going on : 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 Looks good. : 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. This is a configuration problem. : 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 Driver allocation problem is different. It is a configuration problem. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message