Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2001 17:25:58 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Greg Lehey <grog@FreeBSD.org>
Cc:        Jim Mock <jim@FreeBSD.org>, mobile@FreeBSD.org
Subject:   Re: ata timeouts with flash card 
Message-ID:  <200107302325.f6UNPww42944@harmony.village.org>
In-Reply-To: Your message of "Tue, 31 Jul 2001 08:51:00 %2B0930." <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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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: <TI PCI-1420 PCI-CardBus Bridge> 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: <TI PCI-1420 PCI-CardBus Bridge> 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: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on motherboard
: pci0: <PCI bus> on pcib0
: pcib1: <PCI-PCI bridge> at device 1.0 on pci0
: pci1: <PCI bus> on pcib1
: pci1: <display, VGA> at 0.0 (no driver attached)
: pcic0: <TI PCI-1450 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic0
: pcic1: <TI PCI-1450 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic1
: fxp0: <Intel Pro 10/100B/100+ Ethernet> 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 <LEXAR ATA FLASH> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107302325.f6UNPww42944>