IBM Thinkpad T23 sound card was not work
LIU Xiang
neo.liu at gmail.com
Tue Mar 28 05:47:56 PST 2006
Hi,
I have a laptop of IBM Thinkpad T23, and running DragonflyBSD as
desktop environment on it. Yesterday, I upgrade DfBSD to Release 1.4.3
and recompile the kernel. But after reboot laptop, the dmesg output the
following error message on pcm, "pcm0: unable to map IO port space". The
following attachment include dmesg, kernel config file, device list.
Can anyone tell me how to enable sound card on T23. Thanks a lot.
dmesg info;
Copyright (c) 2003, 2004, 2005, 2006 The DragonFly Project.
Copyright (c) 1992-2003 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.
DragonFly 1.4.3-RELEASE #0: Tue Mar 28 06:46:24 CST 2006
root at HackBSD:/usr/obj/usr/src/sys/t23
TSC clock: 1132349666 Hz, i8254 clock: 1193160 Hz
CPU: Mobile Intel(R) Pentium(R) III CPU - M 1133MHz (1132.37-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x6b4 Stepping = 4
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 267780096 (261504K bytes)
avail memory = 250531840 (244660K bytes)
Preloaded elf kernel "/kernel" at 0xc0539000.
Preloaded elf module "/modules/acpi.ko" at 0xc0539260.
Pentium Pro MTRR support enabled
pcibios: BIOS version 2.10
Using $PIR table, 14 entries at 0xc00fdeb0
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using MMX optimized bcopy/copyin/copyout
acpi0: <IBM TP-1A> on motherboard
acpi_ec_ecdt_probe: can't get handle
acpi0: Power Button (fixed)
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x66,0x62 on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
legacypci0 on motherboard
pcib0: <Host to PCI bridge> on legacypci0
pci0: <PCI bus> on pcib0
agp0: <Intel 82830 host to AGP bridge> mem 0xd0000000-0xdfffffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=3576)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <S3 model 8c2e graphics accelerator> at 0.0 irq 11
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f irq 11 at device 29.0 on pci0
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> 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
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f irq 11 at device 29.1 on pci0
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f irq 11 at device 29.2 on pci0
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib2: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
cbb0: <TI1420 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1420 PCI-CardBus Bridge> mem 0x51000000-0x51000fff irq 11 at device 0.1 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pci2: <unknown card> (vendor=0x11c1, dev=0x0449) at 2.0 irq 11
fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x6400-0x643f mem 0xc0200000-0xc0200fff irq 11 at device 8.0 on pci2
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: MAC address: 00:d0:59:cf:5f:d6
isab0: <PCI to ISA bridge (vendor=8086 device=248c)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port 0x1860-0x186f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ichsmb0: <Intel 82801CA (ICH3) SMBus controller> port 0x1880-0x189f irq 11 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus general purpose I/O> on smbus0
pcm0: <Intel ICH3 (82801CA)> irq 11 at device 31.5 on pci0
pcm0: unable to map IO port space
device_probe_and_attach: pcm0 attach returned 6
orm0: <Option ROMs> at iomem 0xc0000-0xcdfff,0xce000-0xcefff,0xcf000-0xcffff,0xdc000-0xdffff,0xe0000-0xeffff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
ata1-slave: ATAPI identify retries exceeded
ad0: 28615MB <IC25N030ATCS04-0> [62016/15/63] at ata0-master UDMA100
acd0: DVD-ROM <HL-DT-STDVD-ROM GDR8081N> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
Limiting closed port RST response from 254 to 200 packets per second
system power profile changed to 'economy'
system power profile changed to 'performance'
Limiting closed port RST response from 234 to 200 packets per second
--------------------------------------------------------------------------------
Here is my kernel configuration file;
#
# GENERIC -- Generic kernel configuration file for DragonFly/i386
#
# Check the LINT configuration file in sys/i386/conf, for an
# exhaustive list of options.
#
# $DragonFly: src/sys/i386/conf/GENERIC,v 1.32 2005/12/03 18:32:32 dillon Exp $
machine i386
#cpu I386_CPU
#cpu I486_CPU
#cpu I586_CPU
cpu I686_CPU
ident t23
maxusers 128
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
#options MATH_EMULATE #Support for x87 emulation
options INET #InterNETworking
#options INET6 #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
#options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT #NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_DF12 #Compatible with DragonFly 1.2 and earlier
#options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
options DEVICE_POLLING # Support mixed interrupt-polling
# handling of network device drivers
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B #Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~215k to driver.
# To make an SMP kernel both SMP and APIC_IO are usually
# specified. SMP boxes with severely broken BIOSes which
# boot fine for non-SMP builds *might* work in SMP mode
# if you define SMP and leave APIC_IO turned off.
#
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
# Debugging for Development
options DDB
options DDB_TRACE
options INVARIANTS
options INVARIANT_SUPPORT
device isa
device eisa
device pci
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
#device fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0
# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
#device atapicam # Emulate ATAPI devices as SCSI via CAM
options ATA_STATIC_ID #Static device numbering
# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device mpt # LSI-Logic MPT/Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets)
#options SYM_SETUP_LP_PROBE_MAP=0x40
# Allow ncr to attach legacy NCR devices when
# both sym and ncr are configured
#device adv0 at isa?
#device adw
#device bt0 at isa?
#device aha0 at isa?
#device aic0 at isa?
#device ncv # NCR 53C500
#device nsp # Workbit Ninja SCSI-3
#device stg # TMC 18C30/18C50
# SCSI peripherals
device scbus # SCSI bus (required)
device da # Direct Access (disks)
#device sa # Sequential Access (tape etc)
#device cd # CD
#device pass # Passthrough device (direct SCSI access)
# RAID controllers interfaced to the SCSI subsystem
#device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device dpt # DPT Smartcache - See LINT for options!
#device iir # Intel Integrated RAID
#device mly # Mylex AcceleRAID/eXtremeRAID
#device ciss # Compaq SmartRAID 5* series
# RAID controllers
#device aac # Adaptec FSA RAID, Dell PERC2/PERC3
#device aacp # SCSI passthrough for aac (requires CAM)
#device ida # Compaq Smart RAID
#device ips # IBM ServeRAID
#device amr # AMI MegaRAID
#device mlx # Mylex DAC960 family
#device twe # 3ware Escalade 7000/8000's
#device twa # 3ware Escalade 9000's
#device pst # Promise Supertrack
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12
device vga0 at isa?
#options VESA
#options SC_PIXEL_MODE
# splash screen/screen saver
pseudo-device splash
# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100
options SC_PIXEL_MODE # add support for the raster text mode
device agp # support several AGP chipsets
# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13
# Power management support (see LINT for more options)
device apm0 at nexus? disable flags 0x20 # Advanced Power Management
# PCCARD (PCMCIA) support
device pccard
device cardbus
device cbb
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
device sio2 at isa? disable port IO_COM3 irq 5
device sio3 at isa? disable port IO_COM4 irq 9
# Parallel port
device ppc0 at isa? irq 7
device ppbus # Parallel port bus (required)
device lpt # Printer
device plip # TCP/IP over parallel
device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# PCI Ethernet NICs.
#device de # DEC/Intel DC21x4x (``Tulip'')
#device em # Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman'')
#device txp # 3Com 3cR990 (``Typhoon'')
#device vx # 3Com 3c590, 3c595 (``Vortex'')
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
#device bfe # Broadcom BCM440x 10/100 Ethernet
#device dc # DEC/Intel 21143 and various workalikes
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
#device pcn # AMD Am79C97x PCI 10/100 NICs
#device rl # RealTek 8129/8139
#device re # RealTek 8139C+/8169
#device sf # Adaptec AIC-6915 (``Starfire'')
#device sis # Silicon Integrated Systems SiS 900/SiS 7016
#device sk # SysKonnect GEnesis, LinkSys EG1023, D-Link
#device ste # Sundance ST201 (D-Link DFE-550TX)
#device tl # Texas Instruments ThunderLAN
#device tx # SMC EtherPower II (83c170 ``EPIC'')
#device vr # VIA Rhine, Rhine II
#device wb # Winbond W89C840F
#device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
#device bge # Broadcom BCM570x (``Tigon III'')
# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'
#device ed0 at isa? disable port 0x280 irq 10 iomem 0xd8000
#device ex
#device ep
#device fe0 at isa? disable port 0x300
# Xircom Ethernet
#device xe
# Generic 802.11 stack, used by wi
#device wlan
# PRISM I IEEE 802.11b wireless NIC.
#device awi
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attachment needed
# and resources will always be dynamically assigned by the pccard code.
#device wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those parameters here.
#device an
# The probe order of these is presently determined by i386/isa/isa_compat.c.
device ie0 at isa? disable port 0x300 irq 10 iomem 0xd0000
device le0 at isa? disable port 0x300 irq 5 iomem 0xd0000
device lnc0 at isa? disable port 0x280 irq 10 drq 0
device cs0 at isa? disable port 0x300
device sn0 at isa? disable port 0x300 irq 10
# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
#pseudo-device md # Memory "disks"
#pseudo-device gif # IPv6 and IPv4 tunneling
#pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device bpf #Berkeley packet filter
pseudo-device crypto # core crypto support, used by wlan
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device usb # USB Bus (required)
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
#device uscanner # Scanners
device urio # Diamond Rio MP3 Player
# USB Ethernet, requires mii
#device aue # ADMtek USB ethernet
#device axe # ASIX Electronics USB Ethernet
#device cue # CATC USB ethernet
#device kue # Kawasaki LSI USB ethernet
#device rue # RealTek 8150 based USB ethernet
# FireWire support
#device firewire # FireWire bus code
#device sbp # SCSI over FireWire (Requires scbus and da)
#device fwe # Ethernet over FireWire (non-standard!)
# T23 Sound support:
device smbus
device ichsmb
device smb
device pcm
device snd
device pnpbios
#device csa
--------------------------------------------------------------------------------
pci device list;
agp0 at pci0:0:0: class=0x060000 card=0x021d1014 chip=0x35758086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = '82830[MP] Host-Hub I/F Bridge / SDRAM Controller'
class = bridge
subclass = HOST-PCI
pcib1 at pci0:1:0: class=0x060400 card=0x00000000 chip=0x35768086 rev=0x04 hdr=0x01
vendor = 'Intel Corporation'
device = '82830M/MP Host-AGP Bridge'
class = bridge
subclass = PCI-PCI
uhci0 at pci0:29:0: class=0x0c0300 card=0x02201014 chip=0x24828086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #1'
class = serial bus
subclass = USB
uhci1 at pci0:29:1: class=0x0c0300 card=0x02201014 chip=0x24848086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #2'
class = serial bus
subclass = USB
uhci2 at pci0:29:2: class=0x0c0300 card=0x02201014 chip=0x24878086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller #3'
class = serial bus
subclass = USB
pcib2 at pci0:30:0: class=0x060400 card=0x00000000 chip=0x24488086 rev=0x42 hdr=0x01
vendor = 'Intel Corporation'
device = '82801BAM/CAM (ICH2/3) PCI to I/O Hub Bridge (2448)'
class = bridge
subclass = PCI-PCI
isab0 at pci0:31:0: class=0x060100 card=0x00000000 chip=0x248c8086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801CAM LPC Interface or ISA bridge: see Notes'
class = bridge
subclass = PCI-ISA
atapci0 at pci0:31:1: class=0x01018a card=0x02201014 chip=0x248a8086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801CAM (ICH3-M) UltraATA/100 EIDE Controller'
class = mass storage
subclass = ATA
ichsmb0 at pci0:31:3: class=0x0c0500 card=0x02201014 chip=0x24838086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801CA/CAM (ICH3-S/ICH3-M) SMBus Controller'
class = serial bus
subclass = SMBus
none0 at pci0:31:5: class=0x040100 card=0x02221014 chip=0x24858086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82801CA/CAM (ICH3-S/ICH3-M) AC'97 Audio Controller'
class = multimedia
subclass = audio
none1 at pci1:0:0: class=0x030000 card=0x01fc1014 chip=0x8c2e5333 rev=0x05 hdr=0x00
vendor = 'S3 Incorporated'
device = '86C584 SuperSavage/IXC SDRAM'
class = display
subclass = VGA
cbb0 at pci2:0:0: class=0x060700 card=0x023b1014 chip=0xac51104c rev=0x00 hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1420 PC card CardBus Controller'
class = bridge
subclass = PCI-CardBus
cbb1 at pci2:0:1: class=0x060700 card=0x023b1014 chip=0xac51104c rev=0x00 hdr=0x02
vendor = 'Texas Instruments (TI)'
device = 'PCI1420 PC card CardBus Controller'
class = bridge
subclass = PCI-CardBus
none2 at pci2:2:0: class=0x078000 card=0x04101468 chip=0x044911c1 rev=0x01 hdr=0x00
vendor = 'Lucent/Agere Systems (Was: AT&T MicroElectronics)'
device = 'LT Winmodem 56k'
class = simple comms
fxp0 at pci2:8:0: class=0x020000 card=0x02091014 chip=0x10318086 rev=0x42 hdr=0x00
vendor = 'Intel Corporation'
device = '82801CAM (ICH3) PRO/100 VE (LOM) Network Connection'
class = network
subclass = ethernet
More information about the Users
mailing list