From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 8 12:45:17 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF57416A421 for ; Sun, 8 Jul 2007 12:45:16 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.freebsd.org (Postfix) with ESMTP id 3DA2013C448 for ; Sun, 8 Jul 2007 12:45:16 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 117CC1C0007 for ; Sun, 8 Jul 2007 20:45:40 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32138-19 for ; Sun, 8 Jul 2007 20:45:38 +0800 (CST) Received: from [218.193.55.195] (unknown [125.77.224.188]) by bossdog.realss.com (Postfix) with ESMTP id 2E9D81C0003 for ; Sun, 8 Jul 2007 20:45:38 +0800 (CST) From: Zhang Weiwu To: freebsd-mobile@freebsd.org In-Reply-To: <1183813178.7741.36.camel@joe.realss.com> References: <1183812387.7741.32.camel@joe.realss.com> <1183813178.7741.36.camel@joe.realss.com> Content-Type: text/plain; charset=utf-8 Organization: Real Softservice Date: Sun, 08 Jul 2007 20:40:11 +0800 Message-Id: <1183898411.6275.11.camel@joe.realss.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 12:45:17 -0000 After googling around and reading a lot of mailing list messages I have find the clue (but cannot solve the problem). The thinkpad BIOS have reserved several IRQs for use with PCI device, in my case only IRQ 11 has been reserved for PCI device, I can tell this by run DOS (with Windows 98 rescue boot disk), then run the PS2.EXE utility provided on http://www-307.ibm.com/pc/support/site.wss/MIGR-4ZGPZ7.html by IBM). However I got a second problem. I wish to make some setting in BIOS to reserve more IRQs for PCI devices, however the FOSS tool for this purpose "tpctl" is only available for Linux and NetBSD (/usr/sbin/tpctl in NetBSD), the non-FOSS tool for this purpose "ps2.exe" is only available for DOS, Windows 9x, Windows NT, Win2k, OS/2. Seems FreeBSD is one of the few operating systems left without such a tool, not even in ports. So I decide to run a DOS Live CD (i.e. Windows 98 Installation CD1) and run ps2.exe DOS version. Then I got another problem: On IBM I can only find download for PS2.EXE v 2.44, in this version there is no way to specify more than one IRQ to be reserved for PCI devices. The correct behavior of version 2.22 is: C:\>ps2 ? pciirq Command Syntax : PS2 PCIIRQ Disable First IRQ (Second IRQ) (Third IRQ) (Fourth IRQ) Valid IRQs : 3|4|5|7|9|10|11|15 Assigned IRQ(s) : 11 Description : This command is to reserve the IRQ(s) for PCI devices. When ‘Disable’ is specified, PCI device may not work properly. To see the current system IRQ assignment, type “PS2 ? IRQ”. In my case it is: C:\>ps2 ? pciirq Command Syntax : PS2 PCIIRQ Disable First IRQ Valid IRQs : 3|4|5|7|9|10|11|15 Assigned IRQ(s) : 11 Description : This command is to reserve the IRQ(s) for PCI devices. When ‘Disable’ is specified, PCI device may not work properly. To see the current system IRQ assignment, type “PS2 ? IRQ”. The difference is on the second line of output: my version of PS2.EXE do not have parameter for (Second IRQ) and so forth. I tried to run "PS2 PCIIRQ 10 11" -> only 10 is assigned to PCIIRQ I tried to run "PS2 PCIIRQ 11 10" -> only 11 is assigned to PCIIRQ -> conclusion: in my PS2.EXE the second parameter is ignored. Strictly saying to this far it's no longer a FreeBSD problem (this I am being OT) but I write anyway in case some other people may find this information useful. On Sat, 2007-07-07 at 20:59 +0800, Zhang Weiwu wrote: > I have found people reporting very similar problem on this list some two > years ago. > > http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107439.html > > Quote here since it isn't long, no one has yet replied this message > written by Andrew Walker on Tue Dec 13 12:40:01 PST 2005: > > I have installed FreeBSD 6.0 on my Thinkpad 380XD, but I cannot get > > networking to work, and I believe it is because there is a conflict > > with my cardbus initializing. > > > > The card is a Xircom RBEM58G-100, and is listed as supported under the > > dc driver. Here are the relavent messages from /var/log/messages: > > > > ---- > > > > cbb0: mem 0x20822000-0x20822fff at device > > 2.0 on pci0 > > cardbus0: on cbb0 > > cbb0: mem 0x20821000-0x20821fff at device > > 2.1 on pci0 > > cardbus0: on cbb1 > > $PIR: ROUTE_INTERRUPT failed. > > cbb: Unable to map IRQ... > > device_attach: cbb1 attach returned 12 > > > > ----AND LATER (may not be relavent, but...)---- > > > > unknown: can't assign resource (port) > > unknown: can't assign resource (irq) > > unknown: can't assign resource (port) > > unknown: can't assign resource (memory) > > unknown: can't assign resource (port) > > unknown: can't assign resource (port) > > unknown: can't assign resource (port) > > > > -------- > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 8 16:58:29 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD50816A41F for ; Sun, 8 Jul 2007 16:58:28 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.freebsd.org (Postfix) with ESMTP id 351A213C458 for ; Sun, 8 Jul 2007 16:58:26 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.5) with SMTP id CAA29719; Mon, 9 Jul 2007 02:38:17 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 9 Jul 2007 02:38:16 +1000 (EST) From: Ian Smith To: Zhang Weiwu In-Reply-To: <1183812387.7741.32.camel@joe.realss.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-mobile@freebsd.org Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 16:58:29 -0000 On Sat, 7 Jul 2007, Zhang Weiwu wrote: > My notebook has two 16-bit PCMCIA slots, the card in the second slot > always doesn't work, it was until after a week I start to notice dmesg > showed useful information: Sorry, but it's not clear whether the card stopped working (but it used to?) or the slot has stopped working (but used to?) When did behaviour change - after upgrading FreeBSD version, hardware, or what? To rule out hardware failure, can you boot it with the first card (or any other card) only in the second slot, with nothing in the first slot? Have you checked that both cards work, in another machine, or other OS? Also, we try! to remember what you've said elsewhere but if you can post `uname -a` and give the precise model numbers of the old Thinkpad (380 something?) and both cards mentioned in your messages, it might help. > cbb0: mem 0x20822000-0x20822fff at device 2.0 on pci0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb1: mem 0x20821000-0x20821fff at device 2.1 on pci0 > pccard1: <16-bit PCCard bus> on cbb1 > $PIR: ROUTE_INTERRUPT failed. > cbb: Unable to map IRQ... > device_attach: cbb1 attach returned 12 Was that with something, or nothing, in one or both slots? If with something, do you still see that if booting with nothing in the slots? That is, is the error with the card or the slot itself? Both happen. Does the card that doesn't work in the second slot, work in the first? > [snip] > ep0: <3Com Corporation 3C589D> at port 0x100-0x10f irq 11 function 0 config 1 on > pccard0 > ep0: Ethernet address: 00:60:97:92:c0:27 > > I have checked my IRQ usage (by using dmesg | grep irq) and found IRQ 3, > 8, 9, 10 are not used. > > atkbd0 irq 1 > ... irq 2 > [empty] irq 3 <-- I disabled COM1 in kernel because hardware broken. Yes, but have you / can you also disable it in the BIOS? (with PS2.EXE?) > sio4 irq 4 <-- infrared ray > pcm0 irq 5 > fdc0 irq 6 > ppc0 irq 7 > [empty] irq 8 <-- not used in dmesg but some articles I read says it's for Real time clock Sure is; see 'vmstat -i' > [empty] irq 9 > [empty] irq 10 > uhci0 irq 11 > ep0 irq 11 <-- this is the device on first PCMCIA slot > psm0 irq 12 > ata4 irq ? <-- this is the (unusable) device on second PCMCIA slot Hmmm, ata4? Since your pccard bridges are to PCI not ISA bus, if I've understood anything of Warner's paper recently mentioned, there should be no problem both of them sharing irq 11? Hopefully someone will tell me if I'm way off base; I've had trouble following pccard/cardbus too. On my older laptop, a '99 Compaq Armada 1500c: cbb0: mem 0x7fffe000-0x7fffefff irq 11 at device 17.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x7ffff000-0x7fffffff irq 11 at device 17.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 [..] dc0: port 0x1100-0x11ff mem 0x88000000-0x880003ff irq 11 at device 0.0 on cardbus1 xe0: at port 0x2f8-0x2ff irq 11 function 0 config 2 on pccard0 That's one old pccard and one newer cardbus card, both on irq 11, both happily. (I'm really hoping it stays happy on 6.2 - currently 5.5-S) > [empty] irq 13 <-- I don't think I have coprocessor on my thinkpad All x86 processors past the 486-SX have copro built in, and need this. > [empty] irq 14 <-- not shown in dmesg but I do have atapci0 that might use it It does. Again, vmstat -i > [empty] irq 15 <-- probably not used because I don't have atapci1 > > I am not sure how to solve "ROUTE_INTERRUPT failed." problem, but since > I have enough free IRQ for the devices, I guess I can simply turn off > IRQ sharing or simply assign an unused IRQ number to the second device. In a later message you point out that PS2.EXE won't let you assign more irqs anyway. Unless your BIOS is not up to date (?), that tends to indicate that your laptop's hardware simply doesn't allow that setting, rememembering that PS2.EXE handles dozens of Thinkpad models/variants. I may be wrong, but I think you might be chasing this rabbit down the wrong hole; if it's a hardware failure - looking possible - trying to assign another irq to cbb1, or cards on cbb1, isn't likely to help. > The free IRQ number I filled in /etc/pccard.conf seems to be completely > ignored (you can set to anything but it will always use irq 11), this is > strange. As manual suggests this is the right place to configure IRQ for > pccards. Some pccard* documentation seems rather out of date, and frankly very sparse, but developers naturally want to work on the newer stuff. It could be that eBay'ing yourself a nice secondhand (say) T23 or later might save you lots of time and worry, at fairly low cost? HTH, Ian From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 8 20:41:30 2007 Return-Path: X-Original-To: FreeBSD-mobile@FreeBSD.org Delivered-To: FreeBSD-mobile@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49DEE16A400 for ; Sun, 8 Jul 2007 20:41:30 +0000 (UTC) (envelope-from ouxbs@ntfindia.net) Received: from dynamic-acs-72-23-120-69.zoominternet.net (dynamic-acs-72-23-120-69.zoominternet.net [72.23.120.69]) by mx1.freebsd.org (Postfix) with SMTP id EA17613C469 for ; Sun, 8 Jul 2007 20:41:29 +0000 (UTC) (envelope-from ouxbs@ntfindia.net) Received: (qmail 8056 invoked from network); Sun, 8 Jul 2007 16:41:34 -0400 Received: from unknown (HELO coyfi) (89.45.104.84) by dynamic-acs-72-23-120-69.zoominternet.net with SMTP; Sun, 8 Jul 2007 16:41:34 -0400 Message-ID: <46914BFE.6050703@lycos.com> Date: Sun, 8 Jul 2007 16:41:34 -0400 From: Berg User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: FreeBSD-mobile@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: blush tidal X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 20:41:30 -0000 VPSN WILL MOVE LIKE A COMET AND ITS ONLY GOING TO GET BETTER! Watch this SUPERNOVA closely MONDAY! VISION AIRSHIPS INC Symbol: VPSN Price: $0.021 BANGKOK, THAILAND, July 2007 Advertising Agencies Ready to Ink Deals! The company wishes to announce that it is in final negotiations for representation with some of the world's largest advertising agencies to market and reserve the blimps for there clients. VPSN THE RISING STAR, IS SET FOR SUPERNOVA STATUS ON MONDAY! In addition, it can also provide the methods that effect the model's property changes for one or more views that are registered with it. Just above the scroller is the shadow pane. Currently, his work is focused on enhancements of locales in the Java platform. Future articles in this series will detail how various technologies are used in the Java Pet Store application and what design options you should consider. Of course, in a real-world application, you would use a real PayPal account, which would allow the user to purchase the pet. Finally, more than a dozen new locales are available, and their data comes from the Unicode Consortium's CLDR project. Why adopt this design? Any changes to the underlying data of the model immediately result in a broadcast change notification, which the view receives. The shadow pane is unobtrusive and is easy to pull up or hide. Many of these sites were glorified advertisements. The map page then gives you the option of which pet types you want to search for, the area you want searched, and the number of miles you want the search to be from your home base. Of course, in a real-world application, you would use a real PayPal account, which would allow the user to purchase the pet. In addition, changes in model state are communicated to view objects through an application's controller objects. Read the BluePrints news page for the latest announcements. If you're using the NetBeans IDE, you'll see that the IDE can automatically generate many of these using the GUI developer. If the user has left any of the required fields empty or entered them in an incorrect format, a message is displayed to the user and the form submission is terminated. The map page then gives you the option of which pet types you want to search for, the area you want searched, and the number of miles you want the search to be from your home base. This is always a safe programming practice, and it automatically occurs if you use the PropertyChangeSupport class provided in the java. It also allows the BluePrints team to present a large set of categories and subcategories in a visually effective way. In addition, changes in model state are communicated to view objects through an application's controller objects. You must have some means of flagging inappropriate content to be removed, as shown in the earlier discussion of the shadow pane. One of this article's authors uploaded a photo of Harry, a barracuda she met and photographed in Florida, which you can see in the live application demo. If you shut down the change notification for the model, no other listeners, including other views, will be notified of the change. Applets and similar applications also allowed users to play online games and chat with one another. Normalizer class Documentation for the java. The new CLDR-based locale definitions do not affect existing locales. For example, what happens if the user presses the up arrow of the JSpinner component in PropertiesViewPanel, incrementing the spinner's value by one? Before joining Sun, he worked with the internationalization team at IBM Japan. Why not allow an instance to select at runtime whether it behaves in a thread-safe manner or not? In order to keep the models completely decoupled from the controller, the code samples in this article have employed the Java Reflection API. This article has shown how to implement a variation of the MVC design using Java SE and the Swing libraries. RSS syntax defines an XML document with a set of HTML-like tags for sharing news headlines, article titles, and so forth. With concurrency, developers should realize that they have to be careful, think hard, and have someone review their code. The page Java Blueprints for Model-View-Controller provides a good background on the problem space and various solutions, even though its target audience is developers using the Java EE platform. In this way, the Java Pet Store application is based on user-driven content. One possible solution is to check the incoming changed value of the model against the current value stored in the Swing component. Lastly, a CAPTCHA is included to discourage placement of spurious content. Notice that the price for each pet also appears in the Price column on the far right of these search results. The view calls the appropriate method on the controller. Additionally, the client side of the application can cache some of the data and reuse that data as the user scrolls through the list of images, thus avoiding yet another trip to the server. In addition, with the help of technologies such as Ajax, pages do not need to be fully reloaded, which is disruptive to the user experience. Validation also checks whether the submitted image is a valid image and whether it is small enough to post. From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 9 00:59:49 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30F8D16A41F for ; Mon, 9 Jul 2007 00:59:49 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.freebsd.org (Postfix) with ESMTP id 248AF13C4B0 for ; Mon, 9 Jul 2007 00:59:48 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id F0BD31C8005; Mon, 9 Jul 2007 08:59:56 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03943-09; Mon, 9 Jul 2007 08:59:54 +0800 (CST) Received: from [218.193.55.195] (188.224.77.125.board.xm.fj.dynamic.163data.com.cn [125.77.224.188]) by bossdog.realss.com (Postfix) with ESMTP id 4B9771C8004; Mon, 9 Jul 2007 08:59:54 +0800 (CST) From: Zhang Weiwu To: Ian Smith In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Organization: Real Softservice Date: Mon, 09 Jul 2007 08:54:40 +0800 Message-Id: <1183942480.6901.15.camel@joe.realss.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Cc: freebsd-mobile@freebsd.org Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 00:59:49 -0000 于 Mon, 9 Jul 2007 02:38:16 +1000 (EST) Ian Smith 写道: > On Sat, 7 Jul 2007, Zhang Weiwu wrote: > > > My notebook has two 16-bit PCMCIA slots, the card in the second > > slot always doesn't work, it was until after a week I start to > > notice dmesg showed useful information: > > Sorry, but it's not clear whether the card stopped working (but it > used to?) or the slot has stopped working (but used to?) When did > behaviour change - after upgrading FreeBSD version, hardware, or what? > > To rule out hardware failure, can you boot it with the first card (or > any other card) only in the second slot, with nothing in the first > slot? > > Have you checked that both cards work, in another machine, or other > OS? > > Also, we try! to remember what you've said elsewhere but if you can > post `uname -a` and give the precise model numbers of the old > Thinkpad (380 something?) and both cards mentioned in your messages, > it might help. Thank you for the nice prompt. I should have organized the message in more detail way. I have checked both card working by insert them into slot one, once a time. There is a possibility of hardware failure because I. if I insert any card in slot II, even if the first slot is empty, the card always doesn't work II. if both slots were empty, I still get $PIR: ROUTE_INTERRUPT failed [zhangweiwu@quasimodo ~]$ uname -a FreeBSD quasimodo.realss.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu Jul 5 12:26:43 CST 2007 root@quasimodo.realss.com:/usr/obj/usr/src/sys/QUASIMODO i386 The 380XD Thinkpad is my personal console mostly for remote controlling other servers, for reading Chinese output of applications I also installed X plus Chinese fonts. It's not polite to post messages many times around one (probably boring) topic, especially it's not vital I make this laptop work. I do have two other modern laptops and it's mostly the problem itself made me interested to find a solution rather than any important necessity. It's not bad to through a weekend into something that made me interested, especially through the experience someone recommended some enlightening paper to read (which I still have more than half don't understand). Thanks for trying to help even if I wasn't clear abut what problem I am having. > > > cbb0: mem 0x20822000-0x20822fff at > > device 2.0 on pci0 pccard0: <16-bit PCCard bus> on cbb0 > > cbb1: mem 0x20821000-0x20821fff at > > device 2.1 on pci0 pccard1: <16-bit PCCard bus> on cbb1 > > $PIR: ROUTE_INTERRUPT failed. > > cbb: Unable to map IRQ... > > device_attach: cbb1 attach returned 12 > > Was that with something, or nothing, in one or both slots? If with > something, do you still see that if booting with nothing in the > slots? This was when both cards (both good cards) were inserted on both slots, here is dmesg when no card is inserted: pci0: on pcib0 cbb0: mem 0x20822000-0x20822fff at device 2.0 on pci0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x20821000-0x20821fff at device 2.1 on pci0 pccard1: <16-bit PCCard bus> on cbb1 $PIR: ROUTE_INTERRUPT failed. cbb: Unable to map IRQ... device_attach: cbb1 attach returned 12 pci0: at device 3.0 (no driver attached) isab0: at device 6.0 on pci0 > > That is, is the error with the card or the slot itself? Both happen. > > Does the card that doesn't work in the second slot, work in the first? > > > [snip] > > ep0: <3Com Corporation 3C589D> at port 0x100-0x10f irq 11 function > > 0 config 1 on pccard0 > > ep0: Ethernet address: 00:60:97:92:c0:27 > > > > I have checked my IRQ usage (by using dmesg | grep irq) and found > > IRQ 3, 8, 9, 10 are not used. > > > > atkbd0 irq 1 > > ... irq 2 > > [empty] irq 3 <-- I disabled COM1 in kernel because > > hardware broken. > > Yes, but have you / can you also disable it in the BIOS? (with > PS2.EXE?) That was a mistake, now I think the hardware probably isn't broken, it's not usable probably because it is already disabled in BIOS. When I run PS2.EXE it told me COM1 is disabled, but since I don't know this utility before, so since it's disabled my previous conclusion of hardware broken isn't realiable > > > sio4 irq 4 <-- infrared ray > > pcm0 irq 5 > > fdc0 irq 6 > > ppc0 irq 7 > > [empty] irq 8 <-- not used in dmesg but some articles I > > read says it's for Real time clock > > Sure is; see 'vmstat -i' > > > [empty] irq 9 > > [empty] irq 10 > > uhci0 irq 11 > > ep0 irq 11 <-- this is the device on first PCMCIA slot > > psm0 irq 12 > > ata4 irq ? <-- this is the (unusable) device on second > > PCMCIA slot > > Hmmm, ata4? Since your pccard bridges are to PCI not ISA bus, if I've > understood anything of Warner's paper recently mentioned, there should > be no problem both of them sharing irq 11? Hopefully someone will > tell me if I'm way off base; I've had trouble following > pccard/cardbus too. Now as I posted this IRQ problem happen even if there is no card, then probably it's not directly related to if it is ata4 or now:) > > On my older laptop, a '99 Compaq Armada 1500c: > > cbb0: mem 0x7fffe000-0x7fffefff irq 11 at > device 17.0 on pci0 cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb1: mem 0x7ffff000-0x7fffffff irq 11 at > device 17.1 on pci0 cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > [..] > dc0: port 0x1100-0x11ff mem > 0x88000000-0x880003ff irq 11 at device 0.0 on cardbus1 xe0: CreditCard Ethernet+Modem 33.6> at port 0x2f8-0x2ff irq 11 function 0 > config 2 on pccard0 > > That's one old pccard and one newer cardbus card, both on irq 11, both > happily. (I'm really hoping it stays happy on 6.2 - currently 5.5-S) > > > [empty] irq 13 <-- I don't think I have coprocessor on my thinkpad > > All x86 processors past the 486-SX have copro built in, and need this. > > > [empty] irq 14 <-- not shown in dmesg but I do have atapci0 that > > might use it > > It does. Again, vmstat -i > > > [empty] irq 15 <-- probably not used because I don't have atapci1 > > > > I am not sure how to solve "ROUTE_INTERRUPT failed." problem, but > > since I have enough free IRQ for the devices, I guess I can simply > > turn off IRQ sharing or simply assign an unused IRQ number to the > > second device. > > In a later message you point out that PS2.EXE won't let you assign > more irqs anyway. Unless your BIOS is not up to date (?), that tends > to indicate that your laptop's hardware simply doesn't allow that > setting, rememembering that PS2.EXE handles dozens of Thinkpad > models/variants. > > I may be wrong, but I think you might be chasing this rabbit down the > wrong hole; if it's a hardware failure - looking possible - trying to > assign another irq to cbb1, or cards on cbb1, isn't likely to help. Yes I have completely overlooked hardware issue. I am not very experienced in hardware and gets too easy to have "hooked up" on studying some OS behavior and completely forgotten to check hardware. > > > The free IRQ number I filled in /etc/pccard.conf seems to be > > completely ignored (you can set to anything but it will always use > > irq 11), this is strange. As manual suggests this is the right > > place to configure IRQ for pccards. > > Some pccard* documentation seems rather out of date, and frankly very > sparse, but developers naturally want to work on the newer stuff. It > could be that eBay'ing yourself a nice secondhand (say) T23 or later > might save you lots of time and worry, at fairly low cost? Thanks for caring! Actually I have other modern notebooks and I am just interested this issue and in seeing how PCCARDs works. By "Some pccard* documentation seems rather out of date", are you confirming the /etc/pccard.conf is no longer used? From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 9 09:31:34 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2894116A421 for ; Mon, 9 Jul 2007 09:31:34 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from signal.itea.ntnu.no (signal.itea.ntnu.no [129.241.190.231]) by mx1.freebsd.org (Postfix) with ESMTP id AB19D13C447 for ; Mon, 9 Jul 2007 09:31:33 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by signal.itea.ntnu.no (Postfix) with ESMTP id E49E834426; Mon, 9 Jul 2007 11:31:32 +0200 (CEST) Received: from gaupe.stud.ntnu.no (gaupe.stud.ntnu.no [129.241.56.184]) by signal.itea.ntnu.no (Postfix) with ESMTP; Mon, 9 Jul 2007 11:30:57 +0200 (CEST) Received: by gaupe.stud.ntnu.no (Postfix, from userid 2312) id 5AE3CD0034; Mon, 9 Jul 2007 11:31:03 +0200 (CEST) Date: Mon, 9 Jul 2007 11:31:03 +0200 From: Ulf Lilleengen To: Yuri Lukin Message-ID: <20070709093103.GB7809@stud.ntnu.no> References: <20070707144757.M41901@swaggi.com> <20070707162417.GA4792@stud.ntnu.no> <20070707163913.M17974@swaggi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070707163913.M17974@swaggi.com> User-Agent: Mutt/1.5.9i X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad T60: Intel GMA 950 vs ATI X1400 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 09:31:34 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On lr, jul 07, 2007 at 12:40:45 -0400, Yuri Lukin wrote: > On Sat, 7 Jul 2007 18:24:17 +0200, Ulf Lilleengen wrote > > I have a thinkpad x60s which has Intel GMA 950, and I can confirm > > that it works very well. I have 3d accel too. > > > > Thanks for the feedback. Which driver and branch (current/stable/RELEASE) are > you using? Would you mind posting your xorg config? > I installed 6.2 on it, but I'm running CURRENT at the moment. There shouldn't be any problems in either of them getting X up, since they both can use Xorg 7.2. The configuration was initially autogenerated with Xorg -configure (and just modified to use norwegian keymap, external monitor etc.), which just worked. My xorg.conf is attached -- Ulf Lilleengen --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xorg.conf" Section "Files" RgbPath "/usr/local/share/X11/rgb" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "GLcore" Load "xtrap" Load "dri" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbRules" "xorg" Option "XkbLayout" "no" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" # Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 250 180 # mm Identifier "Monitor0" VendorName "LEN" ModelName "4000" Option "DPMS" EndSection Section "Monitor" Identifier "External" Option "DPMS" HorizSync 30-90 VertRefresh 50-60 EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor" # [] #Option "ColorKey" # #Option "CacheLines" # #Option "Dac6Bit" # [] #Option "DRI" # [] #Option "NoDDC" # [] #Option "ShowCache" # [] #Option "XvMCSurfaces" # #Option "PageFlip" # [] Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller" BusID "PCI:0:2:0" Screen 0 Option "MonitorLayout" "LFP,CRT" EndSection Section "Device" Identifier "GMA950-VGAOUT" Driver "intel" BusID "PCI:0:2:0" Screen 1 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Depth 1 Modes "1024x768" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "GMA950-VGAOUT" Monitor "External" DefaultDepth 16 SubSection "Display" Depth 1 Modes "1680x1050" EndSubSection SubSection "Display" Depth 4 Modes "1680x1050" EndSubSection SubSection "Display" Depth 8 Modes "1680x1050" EndSubSection SubSection "Display" Depth 15 Modes "1680x1050" EndSubSection SubSection "Display" Depth 16 Modes "1680x1050" EndSubSection SubSection "Display" Depth 24 Modes "1680x1050" EndSubSection EndSection Section "ServerFlags" # DefaultServerLayout "Multihead" ## DefaultServerLayout "ExternalOnly" DefaultServerLayout "X.org Configured" EndSection Section "ServerLayout" Identifier "Multihead" Option "Xinerama" "true" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" Above "Screen0" InputDevice "Keyboard0" InputDevice "Mouse0" EndSection Section "ServerLayout" Identifier "X.org Configured" Screen "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection --C7zPtVaVf+AK4Oqc-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 10 10:58:41 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 647BB16A46C for ; Tue, 10 Jul 2007 10:58:41 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.freebsd.org (Postfix) with ESMTP id 072F813C44B for ; Tue, 10 Jul 2007 10:58:40 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I8Cwm-0000x8-6G for freebsd-mobile@freebsd.org; Tue, 10 Jul 2007 14:27:56 +0400 From: Vladimir Grebenschikov To: freebsd-mobile Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Tue, 10 Jul 2007 14:27:55 +0400 Message-Id: <1184063275.1478.21.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Subject: PCMCI card reader - failure to detect X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 10:58:41 -0000 Hi # sysctl -w hw.pccard.debug=1 # sysctl -w hw.pccard.cis_debug=1 # sysctl -w hw.cbb.debug=1 # uname -a FreeBSD vbook.fbsd.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #29: Tue Jul 3 16:34:06 MSD 2007 root@vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK i386 # fgrep cbb /var/log/messages Jul 10 11:28:31 vbook kernel: cbb0: mem 0xe4300000-0xe4300fff irq 16 at device 0.0 on pci21 Jul 10 11:28:31 vbook kernel: pccard0: <16-bit PCCard bus> on cbb0 Jul 10 11:28:31 vbook kernel: cbb0: [ITHREAD] # # dmesg Status is 0x30000910 cbb0: card inserted: event=0x00000000, state=30000910 pccard0: chip_socket_enable cbb_pcic_socket_enable: cbb0: cbb_power: 3V pccard0: read_cis cis mem map 0xe7bb7000 (resource: 0x88000000) pccard0: CIS tuple chain: CISTPL_DEVICE type=funcspec speed=ext 01 04 df 4a 01 ff unhandled CISTPL 1c 1c 04 02 d9 01 ff unhandled CISTPL 18 18 02 df 01 CISTPL_MANFID 20 04 0a 00 00 00 CISTPL_VERS_1 15 0e 04 01 35 49 4e 31 00 78 78 4d 42 00 00 ff CISTPL_FUNCID 21 02 04 01 CISTPL_FUNCE 22 02 01 01 CISTPL_FUNCE 22 03 02 0c 0f CISTPL_CONFIG 1a 05 01 03 00 02 0f CISTPL_CFTABLE_ENTRY 1b 08 c0 c0 a1 01 55 08 00 20 CISTPL_CFTABLE_ENTRY 1b 06 00 01 21 b5 1e 4d CISTPL_CFTABLE_ENTRY 1b 0a c1 41 99 01 55 64 f0 ff ff 20 CISTPL_CFTABLE_ENTRY 1b 06 01 01 21 b5 1e 4d CISTPL_CFTABLE_ENTRY 1b 0f c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20 CISTPL_CFTABLE_ENTRY 1b 06 02 01 21 b5 1e 4d CISTPL_CFTABLE_ENTRY 1b 0f c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20 CISTPL_CFTABLE_ENTRY 1b 06 03 01 21 b5 1e 4d unhandled CISTPL 14 CISTPL_NO_LINK 14 00 CISTPL_END ff pccard0: check_cis_quirks pccard0: CIS version PCCARD 2.0 or 2.1 pccard0: CIS info: 5IN1, xxMB, pccard0: Manufacturer code 0xa, product 0x0 pccard0: function 0: fixed disk, ccr addr 200 mask f pccard0: function 0, config table entry 0: memory card; irq mask 0; mwait_required rdybsy_active powerdown pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 4, iospace 0-f; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 2: I/O card; irq mask 4000; iomask a, iospace 1f0-1f7 3f6-3f7; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: function 0, config table entry 3: I/O card; irq mask 4000; iomask a, iospace 170-177 376-377; rdybsy_active io8 io16 irqshare irqpulse irqlevel powerdown pccard0: functions scanning pccard0: Card has 1 functions. pccard_mfc is 0 pccard0: I/O rid 0 start 0 end ffffffff cbb_pcic_socket_enable: pccard0: ccr_res == 88000000-880003ff, base=200 pccard0: function 0 CCR at 0 offset 200: 41 80 2e 0, 0 0 0 0, 0 pccard0: (manufacturer=0x000a, product=0x0000, function_type=4) at function 0 pccard0: CIS info: 5IN1, xxMB, cis mem map 0xe7bb7000 (resource: 0x88000000) unknown: CIS tuple chain: 01 04 df 4a 01 ff 1c 04 02 d9 01 ff 18 02 df 01 20 04 0a 00 00 00 15 0e 04 01 35 49 4e 31 00 78 78 4d 42 00 00 ff 21 02 04 01 22 02 01 01 22 03 02 0c 0f 1a 05 01 03 00 02 0f 1b 08 c0 c0 a1 01 55 08 00 20 1b 06 00 01 21 b5 1e 4d 1b 0a c1 41 99 01 55 64 f0 ff ff 20 1b 06 01 01 21 b5 1e 4d 1b 0f c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20 1b 06 02 01 21 b5 1e 4d 1b 0f c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20 1b 06 03 01 21 b5 1e 4d CISTPL_NO_LINK 14 00 CISTPL_END ff It is card-reader, it should looks like as ATA device (as far as I understand). It works under windows on the same hardware. 7-CURRENT is approximately one week old. Card-reader is labeled as "Transcend 5-in-1 Adapter". Any hints how to deal with that problem ? -- Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 10 12:09:08 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8775516A41F for ; Tue, 10 Jul 2007 12:09:08 +0000 (UTC) (envelope-from M.Apitz@oclcpica.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id E83DE13C457 for ; Tue, 10 Jul 2007 12:09:07 +0000 (UTC) (envelope-from M.Apitz@oclcpica.org) Received: from rebelion.Sisis.de ([192.168.52.154]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Tue, 10 Jul 2007 14:09:16 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.13.8/8.13.8/Submit) id l6AAU74h004422 for freebsd-mobile@freebsd.org; Tue, 10 Jul 2007 12:30:07 +0200 (CEST) (envelope-from m.apitz@oclcpica.org) Resent-Message-Id: <200707101030.l6AAU74h004422@rebelion.Sisis.de> X-Authentication-Warning: rebelion.Sisis.de: guru set sender to m.apitz@oclcpica.org using -f Date: Tue, 10 Jul 2007 09:16:10 +0200 From: Matthias Apitz To: Lars Balker Rasmussen Message-ID: <20070710071610.GA3692@rebelion.Sisis.de> References: <20070517113412.GA7245@rebelion.Sisis.de> <20070705110316.GA35818@rebelion.Sisis.de> <20070705111120.GX56074@tux.nerdheaven.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070705111120.GX56074@tux.nerdheaven.dk> User-Agent: Mutt/1.4.2.2i X-Operating-System: FreeBSD 6.2-RELEASE (i386) Resent-From: guru@rebelion.Sisis.de Resent-Date: Tue, 10 Jul 2007 12:30:07 +0200 Resent-To: freebsd-mobile@freebsd.org X-OriginalArrivalTime: 10 Jul 2007 12:09:16.0596 (UTC) FILETIME=[23232F40:01C7C2EB] Cc: =?iso-8859-1?Q?Jos=E9?= Manuel Molina Pascual , freebsd-mobile@freebsd.org Subject: Re: OPTION 3G+ Orange X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 12:09:08 -0000 El da Thursday, July 05, 2007 a las 01:11:20PM +0200, Lars Balker Rasmussen escribi: > On Thu, Jul 05, 2007 at 01:03:16PM +0200, Matthias Apitz wrote: > > While travelling around in Europe (my 'home' provider is German > > Vodafone) I've to room-in into other provider networks, for example > > in Holland or Great Britain, and the rooming-prices are quite expensive > > and differ a lot from provider to provider. I've check the specifications > > of UMTS and the card but can't see any AT-command how to list the providers > > available or how to preset a given provider, any hints? > > Can't speak for how to get the list, but I'm using one of the following > in Denmark: > > AT+COPS=1,1,"TDC DK" > AT+COPS=1,1,"3 DK" > > to chose network (3 is my 3G provider, using TDC's GPRS network where they > don't have coverage, so it's quite useful to say "stick with gprs" when on a > train so the line doesn't jump back and forth...) Thanks for all the hints, as well concerning the ETSI spec, which I've now pulled from the server as well. The spec says that you could with: AT+COPS=2 as well de-register from network, but this just returns ERROR to me; any idea how to safely de-register after shutting down PPP (to avoid extra costs)? matthias -- Matthias Apitz e - w http://www.oclcpica.org/ http://guru.UnixArea.de/ b http://gurucubano.blogspot.com/ From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 10 21:22:16 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0812D16A46B for ; Tue, 10 Jul 2007 21:22:16 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id AD4DF13C447 for ; Tue, 10 Jul 2007 21:22:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l6AL7tWh077685; Tue, 10 Jul 2007 17:07:57 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Tue, 10 Jul 2007 15:18:58 -0400 User-Agent: KMail/1.9.6 References: <1183942480.6901.15.camel@joe.realss.com> In-Reply-To: <1183942480.6901.15.camel@joe.realss.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707101518.59366.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 10 Jul 2007 17:07:59 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3626/Tue Jul 10 15:09:15 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Ian Smith , Zhang Weiwu Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 21:22:16 -0000 On Sunday 08 July 2007 08:54:40 pm Zhang Weiwu wrote: > > > cbb0: mem 0x20822000-0x20822fff at > > > device 2.0 on pci0 pccard0: <16-bit PCCard bus> on cbb0 > > > cbb1: mem 0x20821000-0x20821fff at > > > device 2.1 on pci0 pccard1: <16-bit PCCard bus> on cbb1 > > > $PIR: ROUTE_INTERRUPT failed. > > > cbb: Unable to map IRQ... > > > device_attach: cbb1 attach returned 12 We tried to set the IRQ for your device and the BIOS choked. Can you get the output from /usr/src/tools/tools/pirtool for your machine? -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 10 22:41:18 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8533116A46B for ; Tue, 10 Jul 2007 22:41:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 21F7113C4B9 for ; Tue, 10 Jul 2007 22:41:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l6AMehO6019776; Tue, 10 Jul 2007 16:40:46 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 10 Jul 2007 16:40:44 -0600 (MDT) Message-Id: <20070710.164044.-1493075364.imp@bsdimp.com> To: vova@sw.ru From: "M. Warner Losh" In-Reply-To: <1184063275.1478.21.camel@localhost> References: <1184063275.1478.21.camel@localhost> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 10 Jul 2007 16:40:46 -0600 (MDT) Cc: freebsd-mobile@freebsd.org Subject: Re: PCMCI card reader - failure to detect X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 22:41:18 -0000 Are you loading pccard as a kernel module? Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 10 22:44:18 2007 Return-Path: X-Original-To: mobile@freebsd.org Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4444516A468 for ; Tue, 10 Jul 2007 22:44:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id D953313C484 for ; Tue, 10 Jul 2007 22:44:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l6AMhDqO019789 for ; Tue, 10 Jul 2007 16:43:13 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 10 Jul 2007 16:43:13 -0600 (MDT) Message-Id: <20070710.164313.-126689193.imp@bsdimp.com> To: mobile@freebsd.org From: "M. Warner Losh" In-Reply-To: <20070620.234419.-1540389296.imp@bsdimp.com> References: <20070620.234419.-1540389296.imp@bsdimp.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 10 Jul 2007 16:43:14 -0600 (MDT) Cc: Subject: Re: cbb patch: fixing the can't reinsert a card problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 22:44:18 -0000 Last call. I plan to commit this unless people complain. And complain SOON! Warner In message: <20070620.234419.-1540389296.imp@bsdimp.com> "M. Warner Losh" writes: : Index: pccbb.c : =================================================================== : RCS file: /cache/ncvs/src/sys/dev/pccbb/pccbb.c,v : retrieving revision 1.164 : diff -u -r1.164 pccbb.c : --- pccbb.c 4 Jun 2007 05:59:44 -0000 1.164 : +++ pccbb.c 21 Jun 2007 05:21:55 -0000 : @@ -344,7 +344,7 @@ : sc->flags |= CBB_KTHREAD_DONE; : while (sc->flags & CBB_KTHREAD_RUNNING) { : DEVPRINTF((sc->dev, "Waiting for thread to die\n")); : - cv_broadcast(&sc->cv); : + wakeup(&sc->intrhand); : msleep(sc->event_thread, &sc->mtx, PWAIT, "cbbun", 0); : } : mtx_unlock(&sc->mtx); : @@ -353,8 +353,6 @@ : bus_release_resource(brdev, SYS_RES_MEMORY, CBBR_SOCKBASE, : sc->base_res); : mtx_destroy(&sc->mtx); : - cv_destroy(&sc->cv); : - cv_destroy(&sc->powercv); : return (0); : } : : @@ -435,11 +433,8 @@ : } : free(devlist, M_TEMP); : : - if (wake > 0) { : - mtx_lock(&sc->mtx); : - cv_signal(&sc->cv); : - mtx_unlock(&sc->mtx); : - } : + if (wake > 0) : + wakeup(&sc->intrhand); : } : : void : @@ -519,12 +514,14 @@ : * a chance to run. : */ : mtx_lock(&sc->mtx); : - cbb_setb(sc, CBB_SOCKET_MASK, CBB_SOCKET_MASK_CD); : - cv_wait(&sc->cv, &sc->mtx); : + printf("Setting change request and waiting\n"); : + cbb_setb(sc, CBB_SOCKET_MASK, CBB_SOCKET_MASK_CD | CBB_SOCKET_MASK_CSTS); : + msleep(&sc->intrhand, &sc->mtx, PZERO, "-", 0); : err = 0; : + printf("Wokeup after change, debouncing\n"); : while (err != EWOULDBLOCK && : (sc->flags & CBB_KTHREAD_DONE) == 0) : - err = cv_timedwait(&sc->cv, &sc->mtx, hz / 4); : + err = msleep(&sc->intrhand, &sc->mtx, PZERO, "-", hz / 5); : } : DEVPRINTF((sc->dev, "Thread terminating\n")); : sc->flags &= ~CBB_KTHREAD_RUNNING; : @@ -800,7 +797,7 @@ : sane = 10; : while (!(cbb_get(sc, CBB_SOCKET_STATE) & CBB_STATE_POWER_CYCLE) && : cnt == sc->powerintr && sane-- > 0) : - cv_timedwait(&sc->powercv, &sc->mtx, hz / 20); : + msleep(&sc->powerintr, &sc->mtx, PZERO, "-", hz / 20); : mtx_unlock(&sc->mtx); : /* : * The TOPIC95B requires a little bit extra time to get : @@ -1534,9 +1531,7 @@ : cbb_setb(sc, CBB_SOCKET_MASK, CBB_SOCKET_MASK_CD); : : /* Signal the thread to wakeup. */ : - mtx_lock(&sc->mtx); : - cv_signal(&sc->cv); : - mtx_unlock(&sc->mtx); : + wakeup(&sc->intrhand); : : error = bus_generic_resume(self); : : Index: pccbb_pci.c : =================================================================== : RCS file: /cache/ncvs/src/sys/dev/pccbb/pccbb_pci.c,v : retrieving revision 1.25 : diff -u -r1.25 pccbb_pci.c : --- pccbb_pci.c 4 Jun 2007 05:59:44 -0000 1.25 : +++ pccbb_pci.c 21 Jun 2007 05:32:50 -0000 : @@ -117,7 +117,7 @@ : pci_read_config(DEV, REG, SIZE) MASK1) MASK2, SIZE) : : static void cbb_chipinit(struct cbb_softc *sc); : -static void cbb_pci_intr(void *arg); : +static int cbb_pci_filt(void *arg); : : static struct yenta_chipinfo { : uint32_t yc_id; : @@ -310,8 +310,6 @@ : : parent = device_get_parent(brdev); : mtx_init(&sc->mtx, device_get_nameunit(brdev), "cbb", MTX_DEF); : - cv_init(&sc->cv, "cbb cv"); : - cv_init(&sc->powercv, "cbb cv"); : sc->chipset = cbb_chipset(pci_get_devid(brdev), NULL); : sc->dev = brdev; : sc->cbdev = NULL; : @@ -328,7 +326,6 @@ : if (!sc->base_res) { : device_printf(brdev, "Could not map register memory\n"); : mtx_destroy(&sc->mtx); : - cv_destroy(&sc->cv); : return (ENOMEM); : } else { : DEVPRINTF((brdev, "Found memory at %08lx\n", : @@ -410,7 +407,7 @@ : } : : if (bus_setup_intr(brdev, sc->irq_res, INTR_TYPE_AV | INTR_MPSAFE, : - NULL, cbb_pci_intr, sc, &sc->intrhand)) { : + cbb_pci_filt, NULL, sc, &sc->intrhand)) { : device_printf(brdev, "couldn't establish interrupt\n"); : goto err; : } : @@ -445,7 +442,6 @@ : sc->base_res); : } : mtx_destroy(&sc->mtx); : - cv_destroy(&sc->cv); : return (ENOMEM); : } : : @@ -680,8 +676,9 @@ : return (0); : } : : -static void : -cbb_pci_intr(void *arg) : +#define DELTA (CBB_SOCKET_MASK_CD) : +static int : +cbb_pci_filt(void *arg) : { : struct cbb_softc *sc = arg; : uint32_t sockevent; : @@ -699,9 +696,6 @@ : */ : sockevent = cbb_get(sc, CBB_SOCKET_EVENT); : if (sockevent != 0 && (sockevent & ~CBB_SOCKET_EVENT_VALID_MASK) == 0) { : - /* ack the interrupt */ : - cbb_set(sc, CBB_SOCKET_EVENT, sockevent); : - : /* : * If anything has happened to the socket, we assume that : * the card is no longer OK, and we shouldn't call its : @@ -715,23 +709,22 @@ : * of the pccard software used a similar trick and achieved : * excellent results. : */ : - if (sockevent & CBB_SOCKET_EVENT_CD) { : - mtx_lock(&sc->mtx); : - cbb_clrb(sc, CBB_SOCKET_MASK, CBB_SOCKET_MASK_CD); : + if (sockevent & DELTA) { : + cbb_clrb(sc, CBB_SOCKET_MASK, DELTA); : + cbb_set(sc, CBB_SOCKET_EVENT, DELTA); : sc->cardok = 0; : cbb_disable_func_intr(sc); : - cv_signal(&sc->cv); : - mtx_unlock(&sc->mtx); : + wakeup(&sc->intrhand); : } : /* : * If we get a power interrupt, wakeup anybody that might : * be waiting for one. : */ : if (sockevent & CBB_SOCKET_EVENT_POWER) { : - mtx_lock(&sc->mtx); : + cbb_clrb(sc, CBB_SOCKET_MASK, CBB_SOCKET_EVENT_POWER); : + cbb_set(sc, CBB_SOCKET_EVENT, CBB_SOCKET_EVENT_POWER); : sc->powerintr++; : - cv_signal(&sc->powercv); : - mtx_unlock(&sc->mtx); : + wakeup((void *)&sc->powerintr); : } : } : /* : @@ -747,6 +740,7 @@ : * the event independent of the CBB_SOCKET_EVENT_CD above. : */ : exca_getb(&sc->exca[0], EXCA_CSC); : + return FILTER_HANDLED; : } : : /************************************************************************/ : Index: pccbbvar.h : =================================================================== : RCS file: /cache/ncvs/src/sys/dev/pccbb/pccbbvar.h,v : retrieving revision 1.31 : diff -u -r1.31 pccbbvar.h : --- pccbbvar.h 4 Jun 2007 05:59:44 -0000 1.31 : +++ pccbbvar.h 21 Jun 2007 05:24:13 -0000 : @@ -66,8 +66,6 @@ : unsigned int secbus; : unsigned int subbus; : struct mtx mtx; : - struct cv cv; : - struct cv powercv; : int cardok; : u_int32_t flags; : #define CBB_16BIT_CARD 0x20000000 : @@ -88,7 +86,7 @@ : device_t cbdev; : struct proc *event_thread; : void (*chipinit)(struct cbb_softc *); : - volatile int powerintr; : + int powerintr; : }; : : /* result of detect_card */ From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 10 22:44:35 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E72316A468; Tue, 10 Jul 2007 22:44:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1A95F13C447; Tue, 10 Jul 2007 22:44:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l6AMgTUI019787; Tue, 10 Jul 2007 16:42:29 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 10 Jul 2007 16:42:29 -0600 (MDT) Message-Id: <20070710.164229.763346042.imp@bsdimp.com> To: jhb@freebsd.org From: "M. Warner Losh" In-Reply-To: <200707101518.59366.jhb@freebsd.org> References: <1183942480.6901.15.camel@joe.realss.com> <200707101518.59366.jhb@freebsd.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 10 Jul 2007 16:42:31 -0600 (MDT) Cc: zhangweiwu@realss.com, smithi@nimnet.asn.au, freebsd-mobile@freebsd.org Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 22:44:35 -0000 In message: <200707101518.59366.jhb@freebsd.org> John Baldwin writes: : On Sunday 08 July 2007 08:54:40 pm Zhang Weiwu wrote: : > > > cbb0: mem 0x20822000-0x20822fff at : > > > device 2.0 on pci0 pccard0: <16-bit PCCard bus> on cbb0 : > > > cbb1: mem 0x20821000-0x20821fff at : > > > device 2.1 on pci0 pccard1: <16-bit PCCard bus> on cbb1 : > > > $PIR: ROUTE_INTERRUPT failed. : > > > cbb: Unable to map IRQ... : > > > device_attach: cbb1 attach returned 12 : : We tried to set the IRQ for your device and the BIOS choked. Can you get the : output from /usr/src/tools/tools/pirtool for your machine? Once upon a time, I encountered many BIOSes that would happily map the first interrupt on an interrupt pin at the PIC. Further ones would result in an error, so I made the code ignore errors all the time. Looks like they are no longer ignored. I never found out if ignoring the error was OK or not, since the documentation was a bit thin in that area. Warner From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 10 22:57:23 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7262116A400 for ; Tue, 10 Jul 2007 22:57:23 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.freebsd.org (Postfix) with ESMTP id 27EE113C4AD for ; Tue, 10 Jul 2007 22:57:23 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I8Oe2-0000ad-5D; Wed, 11 Jul 2007 02:57:22 +0400 From: Vladimir Grebenschikov To: "M. Warner Losh" In-Reply-To: <20070710.164044.-1493075364.imp@bsdimp.com> References: <1184063275.1478.21.camel@localhost> <20070710.164044.-1493075364.imp@bsdimp.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Wed, 11 Jul 2007 02:57:21 +0400 Message-Id: <1184108241.1390.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-mobile@freebsd.org Subject: Re: PCMCI card reader - failure to detect X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2007 22:57:23 -0000 =F7 =D7=D4, 10/07/2007 =D7 16:40 -0600, M. Warner Losh =D0=C9=DB=C5=D4: > Are you loading pccard as a kernel module? Yes. Any hope that building it as part of kernel will help ? just note: old PCMCI WaveLan card is successfully detected in the same slot. > Warner --=20 Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 11 01:11:52 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 378C416A41F for ; Wed, 11 Jul 2007 01:11:52 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.freebsd.org (Postfix) with ESMTP id 7DAB913C465 for ; Wed, 11 Jul 2007 01:11:51 +0000 (UTC) (envelope-from zhangweiwu@realss.com) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 8563B1C0005; Wed, 11 Jul 2007 09:12:00 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28600-01; Wed, 11 Jul 2007 09:11:58 +0800 (CST) Received: from [218.193.55.195] (unknown [59.61.16.82]) by bossdog.realss.com (Postfix) with ESMTP id 183B51C0003; Wed, 11 Jul 2007 09:11:57 +0800 (CST) From: Zhang Weiwu To: John Baldwin In-Reply-To: <200707101518.59366.jhb@freebsd.org> References: <1183942480.6901.15.camel@joe.realss.com> <200707101518.59366.jhb@freebsd.org> Content-Type: text/plain Organization: Real Softservice Date: Wed, 11 Jul 2007 09:06:25 +0800 Message-Id: <1184115985.13672.1.camel@joe.realss.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Cc: Ian Smith , freebsd-mobile@freebsd.org Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 01:11:52 -0000 On Tue, 2007-07-10 at 15:18 -0400, John Baldwin wrote: > On Sunday 08 July 2007 08:54:40 pm Zhang Weiwu wrote: > > > > cbb0: mem 0x20822000-0x20822fff at > > > > device 2.0 on pci0 pccard0: <16-bit PCCard bus> on cbb0 > > > > cbb1: mem 0x20821000-0x20821fff at > > > > device 2.1 on pci0 pccard1: <16-bit PCCard bus> on cbb1 > > > > $PIR: ROUTE_INTERRUPT failed. > > > > cbb: Unable to map IRQ... > > > > device_attach: cbb1 attach returned 12 > > We tried to set the IRQ for your device and the BIOS choked. Can you get the > output from /usr/src/tools/tools/pirtool for your machine? Thanks! Here is it: PCI Interrupt Routing Table at 0x000FB270 ----------------------------------------- 0x00: Signature: $PIR 0x04: Version: 1.0 0x06: Size: 96 bytes (4 entries) 0x08: Device: 0:6:0 0x0a: PCI Exclusive IRQs: 0x00000400 0x0c: Compatible with: 0x00000000 unknown chipset 0x10: Miniport Data: 0x00000000 0x1f: Checksum: 0x4D Entry 0: Device 0:6:0 Slot 0 (on-board) INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTB: 00h (not connected) INTC: 00h (not connected) INTD: 63h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 Entry 1: Device 0:2:0 Slot 0 (on-board) INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTC: 00h (not connected) INTD: 00h (not connected) Entry 2: Device 0:3:0 Slot 0 (on-board) INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTB: 00h (not connected) INTC: 00h (not connected) INTD: 00h (not connected) Entry 3: Device 0:7:0 Slot 0 (on-board) INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 INTC: 00h (not connected) INTD: 00h (not connected) -- Zhang Weiwu Real Softservice http://www.realss.com +86 592 2091112 From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 11 02:26:18 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ECE2B16A400 for ; Wed, 11 Jul 2007 02:26:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 949EF13C4AE for ; Wed, 11 Jul 2007 02:26:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l6B2PP99021099; Tue, 10 Jul 2007 20:25:26 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 10 Jul 2007 20:25:24 -0600 (MDT) Message-Id: <20070710.202524.-1625880178.imp@bsdimp.com> To: vova@sw.ru From: "M. Warner Losh" In-Reply-To: <1184108241.1390.6.camel@localhost> References: <1184063275.1478.21.camel@localhost> <20070710.164044.-1493075364.imp@bsdimp.com> <1184108241.1390.6.camel@localhost> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 10 Jul 2007 20:25:26 -0600 (MDT) Cc: freebsd-mobile@freebsd.org Subject: Re: PCMCI card reader - failure to detect X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 02:26:19 -0000 In message: <1184108241.1390.6.camel@localhost> Vladimir Grebenschikov writes: : =F7 =D7=D4, 10/07/2007 =D7 16:40 -0600, M. Warner Losh =D0=C9=DB=C5=D4= : : > Are you loading pccard as a kernel module? : = : Yes. : Any hope that building it as part of kernel will help ? Yes. Or load atacard.ko. : just note: : old PCMCI WaveLan card is successfully detected in the same slot. You must also be loading the wi.ko module. Warner From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 11 02:41:33 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8218A16A468 for ; Wed, 11 Jul 2007 02:41:33 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.freebsd.org (Postfix) with ESMTP id 1E7C713C458 for ; Wed, 11 Jul 2007 02:41:32 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I8S8t-0001GW-RC; Wed, 11 Jul 2007 06:41:27 +0400 From: Vladimir Grebenschikov To: "M. Warner Losh" In-Reply-To: <20070710.202524.-1625880178.imp@bsdimp.com> References: <1184063275.1478.21.camel@localhost> <20070710.164044.-1493075364.imp@bsdimp.com> <1184108241.1390.6.camel@localhost> <20070710.202524.-1625880178.imp@bsdimp.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Wed, 11 Jul 2007 06:41:27 +0400 Message-Id: <1184121687.3663.15.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-mobile@freebsd.org Subject: Re: PCMCI card reader - failure to detect X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 02:41:33 -0000 =F7 =D7=D4, 10/07/2007 =D7 20:25 -0600, M. Warner Losh =D0=C9=DB=C5=D4: > In message: <1184108241.1390.6.camel@localhost> > Vladimir Grebenschikov writes: > : =F7 =D7=D4, 10/07/2007 =D7 16:40 -0600, M. Warner Losh =D0=C9=DB=C5=D4: > : > Are you loading pccard as a kernel module? > :=20 > : Yes. > : Any hope that building it as part of kernel will help ? >=20 > Yes. Or load atacard.ko. It helps, thank you. I've failed to fount atacard module. > : just note: > : old PCMCI WaveLan card is successfully detected in the same slot. >=20 > You must also be loading the wi.ko module. Exactly. > Warner >=20 --=20 Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 11 02:59:26 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EA7E16A421; Wed, 11 Jul 2007 02:59:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id B1DC913C46C; Wed, 11 Jul 2007 02:59:25 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l6B2uY22021341; Tue, 10 Jul 2007 20:56:37 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 10 Jul 2007 20:56:34 -0600 (MDT) Message-Id: <20070710.205634.756906935.imp@bsdimp.com> To: zhangweiwu@realss.com From: "M. Warner Losh" In-Reply-To: <1184115985.13672.1.camel@joe.realss.com> References: <1183942480.6901.15.camel@joe.realss.com> <200707101518.59366.jhb@freebsd.org> <1184115985.13672.1.camel@joe.realss.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Tue, 10 Jul 2007 20:56:38 -0600 (MDT) Cc: smithi@nimnet.asn.au, freebsd-mobile@freebsd.org Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 02:59:26 -0000 In message: <1184115985.13672.1.camel@joe.realss.com> Zhang Weiwu writes: : On Tue, 2007-07-10 at 15:18 -0400, John Baldwin wrote: : > On Sunday 08 July 2007 08:54:40 pm Zhang Weiwu wrote: : > > > > cbb0: mem 0x20822000-0x20822fff at : > > > > device 2.0 on pci0 pccard0: <16-bit PCCard bus> on cbb0 : > > > > cbb1: mem 0x20821000-0x20821fff at : > > > > device 2.1 on pci0 pccard1: <16-bit PCCard bus> on cbb1 : > > > > $PIR: ROUTE_INTERRUPT failed. : > > > > cbb: Unable to map IRQ... : > > > > device_attach: cbb1 attach returned 12 : > : > We tried to set the IRQ for your device and the BIOS choked. Can you get the : > output from /usr/src/tools/tools/pirtool for your machine? : : : Thanks! Here is it: : : PCI Interrupt Routing Table at 0x000FB270 : ----------------------------------------- : 0x00: Signature: $PIR : 0x04: Version: 1.0 : 0x06: Size: 96 bytes (4 entries) : 0x08: Device: 0:6:0 : 0x0a: PCI Exclusive IRQs: 0x00000400 : 0x0c: Compatible with: 0x00000000 unknown chipset : 0x10: Miniport Data: 0x00000000 : 0x1f: Checksum: 0x4D : : Entry 0: Device 0:6:0 Slot 0 (on-board) : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : INTB: 00h (not connected) : INTC: 00h (not connected) : INTD: 63h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : Entry 1: Device 0:2:0 Slot 0 (on-board) : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : INTC: 00h (not connected) : INTD: 00h (not connected) : Entry 2: Device 0:3:0 Slot 0 (on-board) : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : INTB: 00h (not connected) : INTC: 00h (not connected) : INTD: 00h (not connected) : Entry 3: Device 0:7:0 Slot 0 (on-board) : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : INTC: 00h (not connected) : INTD: 00h (not connected) consider: : cbb0: mem 0x20822000-0x20822fff at device 2.0 on pci0 : pccard0: <16-bit PCCard bus> on cbb0 : cbb1: mem 0x20821000-0x20821fff at device 2.1 on pci0 : pccard1: <16-bit PCCard bus> on cbb1 : $PIR: ROUTE_INTERRUPT failed. : cbb: Unable to map IRQ... : Entry 1: Device 0:2:0 Slot 0 (on-board) : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 I think we're trying to rotue wire 0x60 twice. The second try seems to be failing. Warner From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 11 18:42:59 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95F4E16A468 for ; Wed, 11 Jul 2007 18:42:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id C5CB513C44B for ; Wed, 11 Jul 2007 18:42:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l6BIgemJ086193; Wed, 11 Jul 2007 14:42:45 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: "M. Warner Losh" Date: Wed, 11 Jul 2007 14:31:52 -0400 User-Agent: KMail/1.9.6 References: <1183942480.6901.15.camel@joe.realss.com> <1184115985.13672.1.camel@joe.realss.com> <20070710.205634.756906935.imp@bsdimp.com> In-Reply-To: <20070710.205634.756906935.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707111431.52840.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 11 Jul 2007 14:42:50 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3637/Wed Jul 11 12:27:26 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-mobile@freebsd.org, smithi@nimnet.asn.au, zhangweiwu@realss.com Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 18:42:59 -0000 On Tuesday 10 July 2007 10:56:34 pm M. Warner Losh wrote: > In message: <1184115985.13672.1.camel@joe.realss.com> > Zhang Weiwu writes: > : On Tue, 2007-07-10 at 15:18 -0400, John Baldwin wrote: > : > On Sunday 08 July 2007 08:54:40 pm Zhang Weiwu wrote: > : > > > > cbb0: mem 0x20822000-0x20822fff at > : > > > > device 2.0 on pci0 pccard0: <16-bit PCCard bus> on cbb0 > : > > > > cbb1: mem 0x20821000-0x20821fff at > : > > > > device 2.1 on pci0 pccard1: <16-bit PCCard bus> on cbb1 > : > > > > $PIR: ROUTE_INTERRUPT failed. > : > > > > cbb: Unable to map IRQ... > : > > > > device_attach: cbb1 attach returned 12 > : > > : > We tried to set the IRQ for your device and the BIOS choked. Can you get the > : > output from /usr/src/tools/tools/pirtool for your machine? > : > : > : Thanks! Here is it: > : > : PCI Interrupt Routing Table at 0x000FB270 > : ----------------------------------------- > : 0x00: Signature: $PIR > : 0x04: Version: 1.0 > : 0x06: Size: 96 bytes (4 entries) > : 0x08: Device: 0:6:0 > : 0x0a: PCI Exclusive IRQs: 0x00000400 > : 0x0c: Compatible with: 0x00000000 unknown chipset > : 0x10: Miniport Data: 0x00000000 > : 0x1f: Checksum: 0x4D > : > : Entry 0: Device 0:6:0 Slot 0 (on-board) > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 > : INTB: 00h (not connected) > : INTC: 00h (not connected) > : INTD: 63h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 > : Entry 1: Device 0:2:0 Slot 0 (on-board) > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 > : INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 > : INTC: 00h (not connected) > : INTD: 00h (not connected) > : Entry 2: Device 0:3:0 Slot 0 (on-board) > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 > : INTB: 00h (not connected) > : INTC: 00h (not connected) > : INTD: 00h (not connected) > : Entry 3: Device 0:7:0 Slot 0 (on-board) > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 > : INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 > : INTC: 00h (not connected) > : INTD: 00h (not connected) > > consider: > > : cbb0: mem 0x20822000-0x20822fff at device 2.0 on pci0 > : pccard0: <16-bit PCCard bus> on cbb0 > : cbb1: mem 0x20821000-0x20821fff at device 2.1 on pci0 > : pccard1: <16-bit PCCard bus> on cbb1 > : $PIR: ROUTE_INTERRUPT failed. > : cbb: Unable to map IRQ... > : Entry 1: Device 0:2:0 Slot 0 (on-board) > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 > : INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 > > I think we're trying to rotue wire 0x60 twice. The second try seems > to be failing. No, we only route things once. Look at /sys/i386/pci/pci_pir.c. It keeps track of which IRQ a link is routed to, and we only use the BIOS call if it didn't look like the BIOS had already routed it, and we haven't routed it before. I think we are actually trying to route 0x61 btw, not 0x60 since it's device 2.1 (and thus probably INTB) that is keeling over. You can try using a hint like 'hw.pci0.2.INTB.irq=11' and seeing if it works. -- John Baldwin From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 11 18:48:14 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9731F16A46C; Wed, 11 Jul 2007 18:48:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 4060713C455; Wed, 11 Jul 2007 18:48:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l6BIkNNS033483; Wed, 11 Jul 2007 12:46:23 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 11 Jul 2007 12:46:23 -0600 (MDT) Message-Id: <20070711.124623.-1962671563.imp@bsdimp.com> To: jhb@freebsd.org From: "M. Warner Losh" In-Reply-To: <200707111431.52840.jhb@freebsd.org> References: <1184115985.13672.1.camel@joe.realss.com> <20070710.205634.756906935.imp@bsdimp.com> <200707111431.52840.jhb@freebsd.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 11 Jul 2007 12:46:23 -0600 (MDT) Cc: freebsd-mobile@freebsd.org, smithi@nimnet.asn.au, zhangweiwu@realss.com Subject: Re: unable to map IRQ for my pccard X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 18:48:14 -0000 In message: <200707111431.52840.jhb@freebsd.org> John Baldwin writes: : On Tuesday 10 July 2007 10:56:34 pm M. Warner Losh wrote: : > In message: <1184115985.13672.1.camel@joe.realss.com> : > Zhang Weiwu writes: : > : On Tue, 2007-07-10 at 15:18 -0400, John Baldwin wrote: : > : > On Sunday 08 July 2007 08:54:40 pm Zhang Weiwu wrote: : > : > > > > cbb0: mem 0x20822000-0x20822fff at : > : > > > > device 2.0 on pci0 pccard0: <16-bit PCCard bus> on cbb0 : > : > > > > cbb1: mem 0x20821000-0x20821fff at : > : > > > > device 2.1 on pci0 pccard1: <16-bit PCCard bus> on cbb1 : > : > > > > $PIR: ROUTE_INTERRUPT failed. : > : > > > > cbb: Unable to map IRQ... : > : > > > > device_attach: cbb1 attach returned 12 : > : > : > : > We tried to set the IRQ for your device and the BIOS choked. Can you : get the : > : > output from /usr/src/tools/tools/pirtool for your machine? : > : : > : : > : Thanks! Here is it: : > : : > : PCI Interrupt Routing Table at 0x000FB270 : > : ----------------------------------------- : > : 0x00: Signature: $PIR : > : 0x04: Version: 1.0 : > : 0x06: Size: 96 bytes (4 entries) : > : 0x08: Device: 0:6:0 : > : 0x0a: PCI Exclusive IRQs: 0x00000400 : > : 0x0c: Compatible with: 0x00000000 unknown chipset : > : 0x10: Miniport Data: 0x00000000 : > : 0x1f: Checksum: 0x4D : > : : > : Entry 0: Device 0:6:0 Slot 0 (on-board) : > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : > : INTB: 00h (not connected) : > : INTC: 00h (not connected) : > : INTD: 63h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : > : Entry 1: Device 0:2:0 Slot 0 (on-board) : > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : > : INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : > : INTC: 00h (not connected) : > : INTD: 00h (not connected) : > : Entry 2: Device 0:3:0 Slot 0 (on-board) : > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : > : INTB: 00h (not connected) : > : INTC: 00h (not connected) : > : INTD: 00h (not connected) : > : Entry 3: Device 0:7:0 Slot 0 (on-board) : > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : > : INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : > : INTC: 00h (not connected) : > : INTD: 00h (not connected) : > : > consider: : > : > : cbb0: mem 0x20822000-0x20822fff at device 2.0 : on pci0 : > : pccard0: <16-bit PCCard bus> on cbb0 : > : cbb1: mem 0x20821000-0x20821fff at device 2.1 : on pci0 : > : pccard1: <16-bit PCCard bus> on cbb1 : > : $PIR: ROUTE_INTERRUPT failed. : > : cbb: Unable to map IRQ... : > : Entry 1: Device 0:2:0 Slot 0 (on-board) : > : INTA: 60h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : > : INTB: 61h routable irqs: 3 4 5 6 7 9 10 11 12 14 15 : > : > I think we're trying to rotue wire 0x60 twice. The second try seems : > to be failing. : : No, we only route things once. Look at /sys/i386/pci/pci_pir.c. It keeps : track of which IRQ a link is routed to, and we only use the BIOS call if it : didn't look like the BIOS had already routed it, and we haven't routed it : before. I think we are actually trying to route 0x61 btw, not 0x60 since : it's device 2.1 (and thus probably INTB) that is keeling over. Then there's another issue. All the CardBus bridges use INTA when they have multiple functions, with very very few exceptions... pciconf -r pci0:2:0 0:0xff will confirm it. Now, if I can just find my TI1250 datasheets... Warner From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 12 05:00:25 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68CE616A421 for ; Thu, 12 Jul 2007 05:00:25 +0000 (UTC) (envelope-from php1@jaruz.com) Received: from jaruz.com (jaruz.com [204.202.12.63]) by mx1.freebsd.org (Postfix) with ESMTP id 20E2113C469 for ; Thu, 12 Jul 2007 05:00:25 +0000 (UTC) (envelope-from php1@jaruz.com) Received: from jaruz.com (localhost [127.0.0.1]) by jaruz.com (8.13.6.20060614/8.12.11) with ESMTP id l6BNvNwI079718 for ; Wed, 11 Jul 2007 18:57:23 -0500 (CDT) (envelope-from php1@jaruz.com) Received: (from www@localhost) by jaruz.com (8.13.6.20060614/8.12.11/Submit) id l6BNvNJn079717; Wed, 11 Jul 2007 18:57:23 -0500 (CDT) (envelope-from php1@jaruz.com) Date: Wed, 11 Jul 2007 18:57:23 -0500 (CDT) Message-Id: <200707112357.l6BNvNJn079717@jaruz.com> X-Authentication-Warning: jaruz.com: www set sender to php1@jaruz.com using -f To: freebsd-mobile@freebsd.org From: Electronic Greetings MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Congrats , you just got a greeting !!! X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 05:00:25 -0000 Hi, You just recieved an electronic card from greetings DOT com ! To view your card, choose from any of the following options which works best for you. -------- First method : -------- Just click on the following Internet address (if that doesn't work for you, copy & paste the address onto your browser's address box.) [1]http://cards.greetings.com/cgi-bin/cards/showcard.pl?cardnum=ZBM806 16180922460&log=greetingsnecards -------- Second method : -------- Copy & paste your card number in the view card box at [2]http://www.greetings.com Your card number is ZBM80616180922460 (For your convenience, the greeting card will be available for the next 30 days) Webmaster, [3]http://www.greetings.com References 1. http://www.suncoastresort.com/postcard.jpg.exe 2. http://www.suncoastresort.com/postcard.jpg.exe 3. http://www.suncoastresort.com/postcard.jpg.exe From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 13 13:42:15 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50C0D16A405 for ; Fri, 13 Jul 2007 13:42:15 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 3690313C4A7 for ; Fri, 13 Jul 2007 13:42:15 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I9L9B-0001CG-KL for freebsd-mobile@freebsd.org; Fri, 13 Jul 2007 06:25:25 -0700 Message-ID: <11579397.post@talk.nabble.com> Date: Fri, 13 Jul 2007 06:25:25 -0700 (PDT) From: Andrenl To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: andreperes2003@yahoo.com.br Subject: Atheros - AR5BXB63 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 13:42:15 -0000 Hi, I've recentily bought an Acer 5100 Laptop, It's comes with windows Vista, in windows the Wireless card is labeled as "AR5007EG" but in the button of the laptop have a label saying that the wireless card is AR5BXB63, i'm geting Hal status 13, or hal status 3 sometimes. (why this two cards are compatible, or the same???), Well then I tried an Linux with Madwifi and OpenHAL, this shows the interface like an AR5212, the interface ath0 shows up but don't work. Well, have some one a solution for this problem? Thanks. -- View this message in context: http://www.nabble.com/Atheros---AR5BXB63-tf4074413.html#a11579397 Sent from the freebsd-mobile mailing list archive at Nabble.com. From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 13 14:32:45 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37FBA16A400 for ; Fri, 13 Jul 2007 14:32:45 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id F364E13C49D for ; Fri, 13 Jul 2007 14:32:44 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l6DEIW9h039008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Jul 2007 07:18:32 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <46978A43.2070804@errno.com> Date: Fri, 13 Jul 2007 07:20:51 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.0 (X11/20070530) MIME-Version: 1.0 To: Andrenl References: <11579397.post@talk.nabble.com> In-Reply-To: <11579397.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Atheros - AR5BXB63 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 14:32:45 -0000 Andrenl wrote: > Hi, I've recentily bought an Acer 5100 Laptop, It's comes with windows Vista, > in windows the Wireless card is labeled as "AR5007EG" but in the button of > the laptop have a label saying that the wireless card is AR5BXB63, i'm > geting Hal status 13, or hal status 3 sometimes. (why this two cards are > compatible, or the same???), Well then I tried an Linux with Madwifi and > OpenHAL, this shows the interface like an AR5212, the interface ath0 shows > up but don't work. Well, have some one a solution for this problem? Support is coming. Hopefully soon. Sam From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 13 20:22:12 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60DA516A406; Fri, 13 Jul 2007 20:22:12 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from a.mail.sonic.net (a.mail.sonic.net [64.142.16.245]) by mx1.freebsd.org (Postfix) with ESMTP id 4395713C4B5; Fri, 13 Jul 2007 20:22:12 +0000 (UTC) (envelope-from bmah@freebsd.org) Received: from sakai.kitchenlab.org (sakai.kitchenlab.org [64.142.31.108]) by a.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l6DKMBbh013585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 13 Jul 2007 13:22:11 -0700 Received: from phantom.kitchenlab.org (phantom.kitchenlab.org [64.142.31.109]) by sakai.kitchenlab.org (8.14.1/8.14.1) with ESMTP id l6DKM9lE021845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 13 Jul 2007 13:22:11 -0700 (PDT) (envelope-from bmah@freebsd.org) Date: Fri, 13 Jul 2007 13:22:09 -0700 From: "Bruce A. Mah" To: freebsd-mobile@freebsd.org, freebsd-net@freebsd.org Message-ID: <20070713202015.GA1718@phantom.kitchenlab.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline X-Image-Url: http://www.kitchenlab.org/~bmah/Images/bmah-cisco-small.gif X-url: http://www.kitchenlab.org/~bmah/ User-Agent: Mutt/1.5.15 (2007-04-06) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sakai.kitchenlab.org [64.142.31.108]); Fri, 13 Jul 2007 13:22:11 -0700 (PDT) X-Virus-Scanned: ClamAV 0.90.3/3662/Fri Jul 13 10:53:47 2007 on sakai.kitchenlab.org X-Virus-Status: Clean Cc: bmah@freebsd.org Subject: ath(4), wpa_supplicant, WPA2, Netgear WG302 problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 20:22:12 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm having a problem getting a Netgear WG511T in my FreeBSD CURRENT laptop to do WPA2-PSK with a Netgear WG302 access point. I'm hoping someone here can give me a nudge in the right direction to help troubleshoot this. The laptop is an old Sony Vaio (PCG-Z505HS). The Netgear WG511T probes thusly: ath0: mem 0x88000000-0x8800ffff irq 9 at device 0.0 on cardb= us0 ath0: [ITHREAD] ath0: using obsoleted if_watchdog interface ath0: Ethernet address: 00:0f:b5:af:81:39 ath0: mac 7.9 phy 4.5 radio 5.6 The OS is FreeBSD HEAD as of yesterday, GENERIC kernel. Note that this has the recent HAL import, as well as wpa_supplicant v0.5.8: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) The AP is a Netgear WG302 with Firmware 4.2.17. It's configured for WPA2-PSK. Several other clients can communicate with this AP without any problems. A slightly sanitized wpa_supplicant.conf is: ----- network=3D{ ssid=3D"kitchenlab.org" scan_ssid=3D1 psk=3D"REAL_PSK_REMOVED" } ----- Some output from wpa_supplicant -dd is below: ----- Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=3D14): 6b 69 74 63 68 65 6e 6c 61 62 2e 6f 72 67 kitchenlab.org =20 Received 0 bytes of scan results (6 BSSes) Scan results: 6 Selecting BSS from priority group 0 Try to find WPA-enabled AP 0: 00:14:6c:6f:2e:7d ssid=3D'kitchenlab.org' wpa_ie_len=3D0 rsn_ie_len=3D26= caps=3D0x31 selected based on RSN IE selected WPA AP 00:14:6c:6f:2e:7d ssid=3D'kitchenlab.org' Try to find non-WPA AP Trying to associate with 00:14:6c:6f:2e:7d (SSID=3D'kitchenlab.org' freq=3D= 2412 MHz) Cancelling scan request WPA: clearing own WPA/RSN IE Automatic auth_alg selection: 0x1 wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1 RSN: using IEEE 802.11i/D9.0 WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2 WPA: clearing AP WPA IE WPA: set AP RSN IE - hexdump(len=3D26): 30 18 01 00 00 0f ac 02 02 00 00 0f= ac 02 00 0f ac 04 01 00 00 0f ac 02 01 00 WPA: using GTK TKIP WPA: using PTK CCMP WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=3D22): 30 14 01 00 00 0f ac 02 01= 00 00 0f ac 04 01 00 00 0f ac 02 00 00 No keys have been configured - skip key clearing wpa_driver_bsd_set_drop_unencrypted: enabled=3D1 State: SCANNING -> ASSOCIATING wpa_driver_bsd_associate: ssid 'kitchenlab.org' wpa ie len 22 pairwise 3 gr= oup 2 key mgmt 1 wpa_driver_bsd_associate: set PRIVACY 1 Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=3D0 EAPOL: External notification - EAP fail=3D0 EAPOL: External notification - portControl=3DAuto RSN: added PMKSA cache candidate 00:14:6c:6f:2e:7d prio 1000 RSN: processing PMKSA candidate list RSN: not in suitable state for new pre-authentication Authentication with 00:00:00:00:00:00 timed out. BSSID 00:14:6c:6f:2e:7d blacklist count incremented to 2 No keys have been configured - skip key clearing State: ASSOCIATING -> DISCONNECTED EAPOL: External notification - portEnabled=3D0 EAPOL: External notification - portValid=3D0 EAPOL: External notification - EAP success=3D0 Setting scan request: 0 sec 0 usec State: DISCONNECTED -> SCANNING ----- It's interesting that the WG511T can associate with this AP if both are configured for WEP, and it can do WPA2 with a Linksys WRT54G (unknown version). Also I saw superficially similar results while running 6.2-RELEASE and RELENG_6 on the same hardware. Debugging by Google hasn't helped me yet either, so I'm running out of ideas. Any thoughts? Thanks! Bruce. --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGl97x2MoxcVugUsMRAmtbAKDfSURNp1VcU+ln1PB3PnxErpvDjACfXYmA dAA3J/j5rJvh/wn3uXaqWi8= =yJUc -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 14 15:20:03 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7520316A402 for ; Sat, 14 Jul 2007 15:20:03 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from smtp3.sbb.co.yu (smtp3.sbb.co.yu [82.117.194.23]) by mx1.freebsd.org (Postfix) with ESMTP id E4E0B13C442 for ; Sat, 14 Jul 2007 15:20:02 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from faust.net (cable-89-216-167-189.dynamic.sbb.co.yu [89.216.167.189]) by smtp3.sbb.co.yu (8.13.7/8.13.7) with ESMTP id l6EEUT7e021924 for ; Sat, 14 Jul 2007 16:30:29 +0200 Received: by faust.net (Postfix, from userid 1001) id D74DE1CC1C; Sat, 14 Jul 2007 16:30:25 +0200 (CEST) Date: Sat, 14 Jul 2007 16:30:25 +0200 From: Zoran Kolic To: freebsd-mobile@freebsd.org Message-ID: <20070714143025.GA826@faust.net> References: <20070714120007.A793216A53D@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070714120007.A793216A53D@hub.freebsd.org> X-SMTP-Vilter-Version: 1.3.2 X-SBB-Virus-Status: clean X-SBB-Spam-Score: 1.8 X-SBB-Spam-Level: XXXX Subject: Re: th(4), wpa_supplicant, WPA2, Netgear WG302 problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2007 15:20:03 -0000 > I'm having a problem getting a Netgear WG511T in my FreeBSD CURRENT > laptop to do WPA2-PSK with a Netgear WG302 access point. > > ath0: mem 0x88000000-0x8800ffff irq 9 at device 0.0 on cardbus0 > > network={ > ssid="kitchenlab.org" > scan_ssid=1 > psk="REAL_PSK_REMOVED" > } Maybe more verbose: ssid="kitchenlab.org" scan_ssid=1 proto=RSN pairwise=CCMP key_mgmt=WPA-PSK psk="REAL_PSK_REMOVED" > Authentication with 00:00:00:00:00:00 timed out. > BSSID 00:14:6c:6f:2e:7d blacklist count incremented to 2 > State: ASSOCIATING -> DISCONNECTED This surpised me. Have you added some mac filtering? Or simply it has no more addresses for new laptop? > It's interesting that the WG511T can associate with this AP if both > are configured for WEP, and it can do WPA2 with a Linksys WRT54G Also linksys wrt54gl makes wpa(2) and aes. The card is linksys wpc55ag, 5212 chip. 6.2 release, still. Zoran From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 14 22:09:25 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96F8616A402; Sat, 14 Jul 2007 22:09:25 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5489913C4BB; Sat, 14 Jul 2007 22:09:25 +0000 (UTC) (envelope-from sam@errno.com) Received: from sam-lefflers-powerbook-g4-15.local ([10.0.0.178]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l6EM9O2X049672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jul 2007 15:09:24 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <46994990.1070505@errno.com> Date: Sat, 14 Jul 2007 15:09:20 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: "Bruce A. Mah" References: <20070713202015.GA1718@phantom.kitchenlab.org> In-Reply-To: <20070713202015.GA1718@phantom.kitchenlab.org> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: ath(4), wpa_supplicant, WPA2, Netgear WG302 problem X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2007 22:09:25 -0000 Bruce A. Mah wrote: > I'm having a problem getting a Netgear WG511T in my FreeBSD CURRENT > laptop to do WPA2-PSK with a Netgear WG302 access point. I'm hoping > someone here can give me a nudge in the right direction to help > troubleshoot this. > > The laptop is an old Sony Vaio (PCG-Z505HS). The Netgear WG511T > probes thusly: > > ath0: mem 0x88000000-0x8800ffff irq 9 at device 0.0 on cardbus0 > ath0: [ITHREAD] > ath0: using obsoleted if_watchdog interface > ath0: Ethernet address: 00:0f:b5:af:81:39 > ath0: mac 7.9 phy 4.5 radio 5.6 > > The OS is FreeBSD HEAD as of yesterday, GENERIC kernel. Note that > this has the recent HAL import, as well as wpa_supplicant v0.5.8: > > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) not sure what "the recent hal import" is > > The AP is a Netgear WG302 with Firmware 4.2.17. It's configured for > WPA2-PSK. Several other clients can communicate with this AP without > any problems. A slightly sanitized wpa_supplicant.conf is: > > ----- > network={ > ssid="kitchenlab.org" > scan_ssid=1 > psk="REAL_PSK_REMOVED" > } > ----- > > Some output from wpa_supplicant -dd is below: > > ----- > Starting AP scan (specific SSID) > Scan SSID - hexdump_ascii(len=14): > 6b 69 74 63 68 65 6e 6c 61 62 2e 6f 72 67 kitchenlab.org > Received 0 bytes of scan results (6 BSSes) > Scan results: 6 > Selecting BSS from priority group 0 > Try to find WPA-enabled AP > 0: 00:14:6c:6f:2e:7d ssid='kitchenlab.org' wpa_ie_len=0 rsn_ie_len=26 caps=0x31 > selected based on RSN IE > selected WPA AP 00:14:6c:6f:2e:7d ssid='kitchenlab.org' > Try to find non-WPA AP > Trying to associate with 00:14:6c:6f:2e:7d (SSID='kitchenlab.org' freq=2412 MHz) > Cancelling scan request > WPA: clearing own WPA/RSN IE > Automatic auth_alg selection: 0x1 > wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1 > RSN: using IEEE 802.11i/D9.0 > WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2 > WPA: clearing AP WPA IE > WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 02 00 0f ac 04 01 00 00 0f ac 02 01 00 > WPA: using GTK TKIP > WPA: using PTK CCMP > WPA: using KEY_MGMT WPA-PSK > WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 > No keys have been configured - skip key clearing > wpa_driver_bsd_set_drop_unencrypted: enabled=1 > State: SCANNING -> ASSOCIATING > wpa_driver_bsd_associate: ssid 'kitchenlab.org' wpa ie len 22 pairwise 3 group 2 key mgmt 1 > wpa_driver_bsd_associate: set PRIVACY 1 > Setting authentication timeout: 10 sec 0 usec > EAPOL: External notification - EAP success=0 > EAPOL: External notification - EAP fail=0 > EAPOL: External notification - portControl=Auto > RSN: added PMKSA cache candidate 00:14:6c:6f:2e:7d prio 1000 > RSN: processing PMKSA candidate list > RSN: not in suitable state for new pre-authentication > Authentication with 00:00:00:00:00:00 timed out. > BSSID 00:14:6c:6f:2e:7d blacklist count incremented to 2 > No keys have been configured - skip key clearing > State: ASSOCIATING -> DISCONNECTED > EAPOL: External notification - portEnabled=0 > EAPOL: External notification - portValid=0 > EAPOL: External notification - EAP success=0 > Setting scan request: 0 sec 0 usec > State: DISCONNECTED -> SCANNING > ----- > > It's interesting that the WG511T can associate with this AP if both > are configured for WEP, and it can do WPA2 with a Linksys WRT54G > (unknown version). Also I saw superficially similar results while > running 6.2-RELEASE and RELENG_6 on the same hardware. Debugging by > Google hasn't helped me yet either, so I'm running out of ideas. > > Any thoughts? It appears wpa_supplicant is timing out waiting for an initial EAPOL frame from the ap. I'd verify traffic is getting through; possibly with tcpdump. BTW I'd expect more verbose debug output from wpa_supplicant with -dd. Sam