Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2000 15:15:56 -0400
From:      Jonathan Chen <jon@spock.org>
To:        cjclark@alum.mit.edu
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: The Dreaded ThinkPad
Message-ID:  <20000801151556.A1701@spock.org>
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
References:  <20000801114156.A48000@184.215.6.64.reflexcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Intel i82365> at port 0x3e0-0x3e1 irq 11 on isa0
>   device_probe_and_attach: pcic0 attach returned 22
> 
> Whereas with GENERIC, I get,
> 
>   pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 11 drq 0 on isa0
>   pcic0: management irq 13
>   pccard0: <PC Card bus -- kludge version> on pcic0
>   pccard1: <PC Card bus -- kludge version> 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: <Crystal Semiconductor CS4610/4611 Audio accelerator> 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




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