Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2000 13:41:54 -0700
From:      Steve Sizemore <steve@cmpharm.ucsf.edu>
To:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: device timeout with any card
Message-ID:  <20000602134153.A5860@cmpharm.ucsf.edu>

next in thread | raw e-mail | index | archive | help
I've been following these threads with some interest, since I have an
Acer Extensa 390, running 4-STABLE, with very similar problems.
This computer has a TI PCI-1250, which I haven't seen specifically
mentioned on the list, but I thought it might be fixed by the
"TI-1xxx patch". It's not...

> From: sanpei@sanpei.org (MIHIRA Yoshiro)
> Subject: Re: device timeout with any card
> 
> 
>   I think PCIC in your note-book was not configured by BIOS
> and it needs to extra code for sys/pci/pcic_p.c in 4.0-RELEASE.
> 
> pcic-pci0: <TI PCI-1220 PCI-CardBus Bridge> at device 10.0 on pci0
> pcic-pci1: <TI PCI-1220 PCI-CardBus Bridge> at device 10.1 on pci0
>             ~~~~~~~~~~~
> 
>   TI-1xxx patch was already imported 5-current and 4-stable, please
> test 4-stable install floppy from releng4.FreeBSD.org or
> update your sys/pci/pcic_p.c and pcic_p.h.
> 
> http://www.FreBSD.org/cgi/cvsweb.cgi/src/sys/pci/pcic_p.c
> 
> 1.20.2.1 Sun May 28 6:19:15 2000 UTC by imp 
> Branch: RELENG_4 
> Diffs to 1.20 ; Diffs to 1.24 
> MFC: Be more agressive about initializing cardbus bridges, especially
> TI based ones.  No reports of problems have come in because of these
> changes.
> 	pcic_p.c	1.20->1.21
> 	pcic_p.h	1.10->1.11
> 
> Reminded by: sanpei@sanpei.org (MIHIRA Yoshiro)
> 
> ---
> Cheers
> MIHIRA Yoshiro
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message
> 
> Date: Wed, 31 May 2000 10:22:28 -0700 (PDT)
> From: Doug Ambrisko <ambrisko@whistle.com>
> Subject: Re: TI1225 + ORINOCO aka WaveLAN IEEE 802.11 11Mb
> 
> Darryl Okahata writes:
> | Warner Losh <imp@village.org> wrote:
> | 
> | > : 2. You have a TI 1225-based controller which used to not work, because
> | > :    either FreeBSD did not support it, or because there was a bug in
> | > :    FreeBSD.  You have since modified the driver such that it now works.
> | > :    (If so, was this in -STABLE or -CURRENT?)
> | > 
> | > Yes.  It was -current and -stable.  I fixed it in -current about a
> | > month or two ago.  I MFC to -stable a few days ago.
> | 
> |      Hmmm.  Are there differences between the TI 1225 in a desktop PCI
> | card, and the TI 1225 chip in a laptop?  I have a Dell Inspiron 7500
> | with the TI 1225, and I believe it's been working since 4.0-RELEASE.  I
> | haven't needed any patches (although I do have occasional problems with
> | removal/insert):
> | 
> | 	pcic-pci0: <TI PCI-1225 PCI-CardBus Bridge> at device 4.0 on pci0
> | 	pcic-pci1: <TI PCI-1225 PCI-CardBus Bridge> at device 4.1 on pci0
> 
> Note no "mem" values.
>  
> | "Boot -v" gives, for pci0:
> | 
> | 	pcic-pci0: <TI PCI-1225 PCI-CardBus Bridge> at device 4.0 on pci0
> | 	PCI Config space:
> | 	00:  ac1c104c 02100007 06070001 00820000
> | 	10:  00000000 020000a0 20000000 00000000
> 	     --------
> This is empty so ....
> | 	20:  00000000 00000000 00000000 00000000
> | 	30:  00000000 00000000 00000000 03c001ff
> | 	40:  009e1028 000003e1 00000000 00000000
> | 	50:  00000000 00000000 00000000 00000000
> | 	60:  00000000 00000000 00000000 00000000
> | 	70:  00000000 00000000 00000000 00000000
> | 	80:  2044b060 00000000 00000000 01021c72
> | 	90:  606682c0 00000000 00000000 00000000
> 
>  .... this here is all junk and is garbage.
> | 	Cardbus Socket registers:
> | 	00:  f000ff53: f000ff53: f000e2c3: f000ff53:
> | 	10:  f000ff53: f000ff54: f000947e: f000ff53:
> | 	ExCa registers:
> | 	00: 13 88 f5 5a 72 d0 80 e1 3f 74 c8 fa 66 8b 46 08
> | 	10: 52 66 0f b6 d9 66 31 d2 66 f7 f3 88 eb 88 d5 43
> | 	20: 30 d2 66 f7 f3 88 d7 5a 66 3d ff 03 00 00 fb 77
> | 	30: a2 86 c4 c0 c8 02 08 e8 40 91 88 fe 28 e0 8a 66
> | 
> | This is on 4.0-STABLE of May 26th (I really should grab the latest
> | -STABLE, for the latest TI 1225 fixes).
> 
> Like Warner has mentioned your TI chip is not getting intiallized.  Most
> desktop BIOS don't do this most laptops do.  However, I have a ThinkPad
> i1482 at home (for the wife running Windows) and it doesn't initialize
> the TI 1410 in a sane way.  That is it doesn't allocate and PCI memory
> etc.  Also the 1410 only has one slot.  Warner, we need to think about
> how to deal with one slot adapter.  I've started to look at the code.
> As soon as I put in a card the machine hangs solid.  Currently
> I have it in polling mode.  I've played with it a bit and have tried
> to get some things to work and sometimes they do and sometimes they
> don't.  Fortunately USB works fine so I have an USB Ethernet adapter
> plugged into when I need it on the net.
> 

My TI chip

pcic-pci0: <TI PCI-1250 PCI-CardBus Bridge> irq 9 at device 5.0 on pci0
pcic-pci1: <TI PCI-1250 PCI-CardBus Bridge> irq 9 at device 5.1 on pci0

is aparently not getting initialized, even after my latest cvsup (June
1). Fortunately, I have a workaround  - don't ask how long it took to
figure this one out. If I boot the 3.4 PAO install floppies, it finds
the pcic controller. If I then reboot into 4-STABLE, without turning
off the machine, the card is recognized, and things work pretty well.
So I'm just careful never to shutdown the machine without access to my
external floppy drive and the PAO boot floppies. It's a pain, but it
works. Still, it would be nice if the kernel could actually do the
initialization. BTW, I've tried both polling and non-polling.

Also, and this may or may not be related, the second slot doesn't
work. Insertions and removals are recognized, but it can't read the
CIS - returning 

Jun  2 13:31:46 toots /kernel: pccard: card inserted, slot 1
Jun  2 13:31:51 toots pccardd[48]: No card in database for ""("")


Thanks in advance for any suggestions or fixes.
Steve

-- 
----------------------------------------------#-----#--#####---------------
                                              #     # #     #
 Steve Sizemore                               #     # #
 Dept. of Cellular and Molecular Pharmacology #     # #      
 Box 0450, Room HSE-1285                      #     # #     
 University of California Medical Center      #     # #     # 
 513 Parnassus Avenue                          #####   ##### #####  #######
 San Francisco CA 94143-0450                                #     # #
                                                            #       #
 steve@cmpharm.ucsf.edu                                      #####  #####
 (415) 476-6987  FAX: (415) 476-6515                              # #
                                                            #     # #
-------------------------------------------------------------#####--#------


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?20000602134153.A5860>