From owner-freebsd-mobile Tue Aug 1 12:16:28 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from spock.org (cm-24-161-5-13.nycap.rr.com [24.161.5.13]) by hub.freebsd.org (Postfix) with ESMTP id 80BBB37BA22 for ; Tue, 1 Aug 2000 12:16:22 -0700 (PDT) (envelope-from jon@spock.org) Received: (from jon@localhost) by spock.org serial EF600Q3T-B7F; Tue, 1 Aug 2000 15:15:56 -0400 (EDT) (envelope-from jon) Date: Tue, 1 Aug 2000 15:15:56 -0400 From: Jonathan Chen To: cjclark@alum.mit.edu Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: The Dreaded ThinkPad Message-ID: <20000801151556.A1701@spock.org> References: <20000801114156.A48000@184.215.6.64.reflexcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000801114156.A48000@184.215.6.64.reflexcom.com>; from cjclark@reflexnet.net on Tue, Aug 01, 2000 at 11:41:56AM -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Aug 01, 2000 at 11:41:56AM -0700, Crist J . Clark wrote: > I have recently been issued a ThinkPad 600E from my place of > business. I hate ThinkPads. But it's what they hand out (but we have > all DELL desktops, I like DELL notebooks, go figure). [snip] > BUT... You knew there had to be a "but." I can't get this to work in a > custom kernel. I moved the PCMCIA controller to IRQ 11 in the config > file, and now I get the following on boot, > > pcic0: at port 0x3e0-0x3e1 irq 11 on isa0 > device_probe_and_attach: pcic0 attach returned 22 > > Whereas with GENERIC, I get, > > pcic0: at port 0x3e0 iomem 0xd0000 irq 11 drq 0 on isa0 > pcic0: management irq 13 > pccard0: on pcic0 > pccard1: on pcic0 This is likely due to the fact that you included the sound driver pcm in your config. IIRC the GENERIC kernel does not have sound, whereas in your kernel dmesg, we see > csa0: mem 0x50000000-0x500fffff,0x50100000-0x50100fff irq 11 at device 6.0 on pci0 > device_probe_and_attach: csa0 attach returned 6 (note the use of irq 11.) You can either disable sound and try again, or apply the following patch, which should let your sound work (assuming you have "device pcm" and "option PNPBIOS") but at the same time let your cardbus bridge use the irq. (incidentally, does anyone see a reason why this shouldn't be committed as the default?) Index: files =================================================================== RCS file: /export/ncvs/src/sys/conf/files,v retrieving revision 1.340.2.17 diff -u -r1.340.2.17 files --- files 2000/07/20 05:17:56 1.340.2.17 +++ files 2000/08/01 19:07:46 @@ -1058,8 +1058,7 @@ dev/sound/isa/sbc.c optional sbc isa #dev/sound/pci/aureal.c optional pcm pci dev/sound/pci/csa.c optional csa pci -dev/sound/pci/csa.c optional pcm pci -dev/sound/pci/csapcm.c optional pcm pci +dev/sound/pci/csapcm.c optional csa pcm pci dev/sound/pci/ds1.c optional pcm pci dev/sound/pci/emu10k1.c optional pcm pci dev/sound/pci/es137x.c optional pcm pci -- (o_ 1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2-1-2 _o) \\\_\ Jonathan Chen jon@spock.org /_/// <____) No electrons were harmed during production of this message (____> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message