From owner-freebsd-multimedia@FreeBSD.ORG Tue May 13 11:57:55 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03238106566B for ; Tue, 13 May 2008 11:57:55 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id C73BE8FC0C for ; Tue, 13 May 2008 11:57:54 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (m039206.dynamic.ppp.asahi-net.or.jp [219.121.39.206]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 27E3D5C0C7; Tue, 13 May 2008 20:36:14 +0900 (JST) Date: Tue, 13 May 2008 20:36:13 +0900 From: WATANABE Kazuhiro To: freebsd-multimedia In-Reply-To: <20080511014926.GB7610@eesfc24.engr.ccny.cuny.edu> References: <20080511014926.GB7610@eesfc24.engr.ccny.cuny.edu> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20080513113614.27E3D5C0C7@mail.asahi-net.or.jp> Cc: Kurt Rosenfeld Subject: Re: snd_csa driver problem in 7.0-RELEASE on IBM T20 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 11:57:55 -0000 Hi. At Sat, 10 May 2008 21:49:26 -0400, Kurt Rosenfeld wrote: > Hello, > > I'm running 7.0-RELEASE with the GENERIC kernel. The sound > chip in my IBM T20 laptop uses the snd_csa driver. When I > kldload the snd_csa driver, this is written to the system > log: > > csa0: mem 0xe8100000-0xe8100fff,0xe8000000-0xe80fffff irq 11 at device 5.0 on pci0 > csa: card is Thinkpad 600X/A20/T20 > csa0: [GIANT-LOCKED] > csa0: [ITHREAD] > device_attach: csa0 attach returned 6 > > and there is no /dev/dsp* driver. kldstat gives > this: > > $ kldstat > Id Refs Address Size Name > 1 9 0xc0400000 906518 kernel > 2 1 0xc0d07000 6a32c acpi.ko > 3 1 0xc23f8000 22000 linux.ko > 4 1 0xc27a5000 7000 snd_csa.ko > 5 2 0xc27ac000 3f000 sound.ko > > I tested it on two T20 laptops with the same result. > It works under Linux. Any idea what the problem > might be? thanks, -kurt > > Here is the complete dmesg output: > > Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel Pentium III (189.32-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x683 Stepping = 3 > Features=0x383f9ff > real memory = 268369920 (255 MB) > avail memory = 248623104 (237 MB) > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, ff00000 (3) failed > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_ec0: port 0x62,0x66 on acpi0 > cpu0: on acpi0 > acpi_throttle0: on cpu0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: on hostb0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: mem 0xf0000000-0xf7ffffff irq 11 at device 0.0 on pci1 > cbb0: mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb0: [ITHREAD] > cbb1: mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > cbb1: [ITHREAD] > pci0: at device 5.0 (no driver attached) > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1800-0x180f at device 7.1 on pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > uhci0: port 0x1820-0x183f irq 11 at device 7.2 on pci0 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > pci0: at device 7.3 (no driver attached) > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model Generic PS/2 mouse, device ID 0 > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: [FILTER] > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > battery0: on acpi0 > acpi_acad0: on acpi0 > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > pmtimer0 on isa0 > orm0: at iomem 0xc0000-0xcbfff,0xe0000-0xeffff pnpid ORM0000 on isa0 > ppc0: at port 0x3bc-0x3c3 irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > ppbus0: on ppc0 > ppbus0: [ITHREAD] > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > ppc0: [GIANT-LOCKED] > ppc0: [ITHREAD] > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 8250 or not responding > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 189322216 Hz quality 800 > Timecounters tick every 1.000 msec > hptrr: no controller detected. > wi0: at port 0x100-0x13f irq 11 function 0 config 1 on pccard1 > wi0: [ITHREAD] > wi0: using Lucent Technologies, WaveLAN/IEEE > wi0: Lucent Firmware: Station (8.10.1) > wi0: Ethernet address: 00:02:2d:1f:c0:24 > ad0: 19077MB at ata0-master UDMA33 > acd0: CDRW at ata1-master UDMA33 > Trying to mount root from ufs:/dev/ad0s1a > wi0: link state changed to DOWN > csa0: mem 0xe8100000-0xe8100fff,0xe8000000-0xe80fffff irq 11 at device 5.0 on pci0 > csa: card is Thinkpad 600X/A20/T20 > csa0: [GIANT-LOCKED] > csa0: [ITHREAD] > device_attach: csa0 attach returned 6 How about this (modify DELAY() values)? Thinkpad T23 Setup (part 1) http://docs.freebsd.org/cgi/getmsg.cgi?fetch=135463+0+archive/2002/freebsd-mobile/20020519.freebsd-mobile --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp)