From owner-freebsd-mobile@FreeBSD.ORG Fri Apr 30 20:45:02 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAB1E16A4CE for ; Fri, 30 Apr 2004 20:45:02 -0700 (PDT) Received: from fuse1.fusemail.net (smtp.fusemail.net [69.31.1.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3684843D1D for ; Fri, 30 Apr 2004 20:45:02 -0700 (PDT) (envelope-from zhangweiwu@realss.com) Received: from fusemail.com by fuse1.fusemail.net with asmtp (FuseMail extSMTP) id 1BJlQn-0002H9-IE for freebsd-mobile@freebsd.org; Fri, 30 Apr 2004 22:44:50 -0500 Message-ID: <40931D74.7000806@realss.com> Date: Sat, 01 May 2004 11:45:56 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040425 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: multipart/mixed; boundary="------------020805060207050204080703" Subject: irq conflict: IBM Creditcard Ether II adapter X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 03:45:03 -0000 This is a multi-part message in MIME format. --------------020805060207050204080703 Content-Type: text/plain; charset=GB18030; format=flowed Content-Transfer-Encoding: 7bit Hello. My uname on my Thinkpad 380XD (using OLDCARD kernel) is FreeBSD thinkpad.realss 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Sat May 1 01:18:09 CST 2004 root@thinkpad.realss:/usr/obj/usr/src/sys/TP380XD i386 I got the following message starting pccardd(8): May 1 11:21:00 thinkpad pccardd[913]: Card "IBM Corp."("Ethernet") [0934214] [PC-NIC ENCC 990010759-001A] matched "IBM Corp." ("Ethernet") [(null)] [(null)] May 1 11:21:00 thinkpad pccardd[913]: Ether=00:04:ac:90:ef:c4 May 1 11:21:00 thinkpad pccardd[913]: Failed to allocate IRQ for IBM Corp. May 1 11:21:00 thinkpad pccardd[913]: pccardd started Adjusting hint.ed.0.irq or adding "irq 5" to /etc/pccard.conf doesn't help. I searched the web it seems my IBM Creditcard Ether II perhaps is an irq selfish card occupying irq 5. But irq 5 is taken by pcm. According to pcm(4) manual, If it's non-PnP card, I can adjust hint.pcm.0.irq; but if the sound card is a PnP card, the device hints doesn't work, irq is assigned automatically, which is right my situation. I also tried to adjust loader.conf by adding hw.pcic entries to disable PCI irq routing and also set hw.pcic.ignore_pci but that doesn't work. As far as I can understand, upon booting pcm finds irq 5 is free, and takes it; after boot, pccardd(8) wish to take irq 5 too and create an irq conflict. Moving pcm away from irq 5 would solve the problem, but it's not possible with my limited knowledge; moving the card away from irq 5 perhaps will work, but it's as well beyond my knowledge. Can you enlight me what to do now? Here is my desg: (my kernel config file is attached.) Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE #0: Sat May 1 01:18:09 CST 2004 root@thinkpad.realss:/usr/obj/usr/src/sys/TP380XD Preloaded elf kernel "/boot/kernel/kernel" at 0xc0844000. Preloaded elf module "/boot/kernel/ng_ubt.ko" at 0xc08441f4. Preloaded elf module "/boot/kernel/netgraph.ko" at 0xc08442a0. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium/P55C (quarter-micron) (232.11-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x581 Stepping = 1 Features=0x8001bf real memory = 33357824 (31 MB) avail memory = 22990848 (21 MB) Intel Pentium detected, installing workaround for F00F bug VESA: v2.0, 1984k memory, flags:0x0, mode table:0xc07809c2 (1000022) VESA: MagicGraph 128XD 40K SVGA BIOS npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 4 entries at 0xc00fb270 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci_cfgintr: 0:3 INTA BIOS irq 11 pci_cfgintr: 0:6 INTD BIOS irq 11 pci0: at device 2.0 (no driver attached) pci0: at device 2.1 (no driver attached) pci0: at device 3.0 (no driver attached) isab0: at device 6.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff at device 6.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0x9000-0x901f irq 11 at device 6.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ubt0: vendor 0x0a12 product 0x0001, rev 1.10/4.43, addr 2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 pci0: at device 6.3 (no driver attached) orm0: