4.6.2 to 4.9 and sound

From: Dave Goode (djg39_at_cam.ac.nospamformethanks.uk)
Date: 12/30/03


Date: Tue, 30 Dec 2003 13:11:28 +0000

I used to have sound working perfectly with 4.6.2 and an old SBLive.
Recently I upgraded to 4.9 and now I have a problem.

The kernel, once I'd recompiled for sound, recognised my SB at pcm0 as
expected, but also the on-board AC97 that I don't use and that 4.6.2 never
used to find.

I disabled on-board sound in BIOS, but it still returns the following and
sound no longer works:

pcm0: <Creative EMU10K1> port 0xdf80-0xdf9f irq 10 at device 12.0 on pci2
pcm0: <TriTech TR28602 AC97 Codec>

Is there a way I can force the kernel to not recognise the AC97? Or is this
just coincidental to another problem I may be having?

Just for completeness' sake, here's the whole boot sequence from dmesg:

dave# dmesg
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.
FreeBSD 4.9-RELEASE #1: Fri Nov 21 17:30:05 GMT 2003
    dave@dave.davegoode.net:/usr/obj/usr/src/sys/DAVE
Timecounter "i8254" frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1495.16-MHz 686-class CPU)
  Origin = "GenuineIntel" Id = 0xf12 Stepping = 2
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
  PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory = 536608768 (524032K bytes)
avail memory = 518475776 (506324K bytes)
Preloaded elf kernel "kernel" at 0xc03f7000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 12 entries at 0xc00f2d70
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82845 Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xe0000000-0xefffffff at device
0.0 on pci0
pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
dc0: <ADMtek AN985 10/100BaseTX> port 0xd800-0xd8ff mem
0xfeaffc00-0xfeafffff irq 9 at device 11.0 on pci2
dc0: Ethernet address: 00:04:5a:58:3f:59
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative EMU10K1> port 0xdf80-0xdf9f irq 10 at device 12.0 on pci2
pcm0: <TriTech TR28602 AC97 Codec>
isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xffa0-0xffaf at device 31.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef40-0xef5f
irq 11 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) 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
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 10
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xef80-0xef9f
irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) 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
uhub2: Intel product 0x1120, class 9/0, rev 1.10/0.00, addr 2
device_probe_and_attach: uhub2 attach returned 6
uhub2: Intel product 0x1120, class 9/0, rev 1.10/0.00, addr 2
device_probe_and_attach: uhub2 attach returned 6
orm0: <Option ROMs> at iomem 0xc0000-0xcc7ff,0xcc800-0xcd7ff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 6L/0101.01> PRINTER HP ENHANCED
PCL5,PJL
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ad0: 76319MB <ST380021A> [155061/16/63] at ata0-master UDMA100
acd0: CDROM <LTN526> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a

Dave

-- 
Faculty of Divinity, University of Cambridge
West Road, Cambridge, CB3 9BS
http://www.breviary.info/


Relevant Pages

  • Fatal Trap 12: page fault while in kernel mode on IBM x340 after Aug25CVS
    ... We did an upgrade of one of our machines from an Aug 25 CVS and ever since ... The only special kernel config is that it's an SMP kernel and the following ... pci0: <PCI bus> on pcib0 ...
    (freebsd-stable)
  • Kernel Panic 12 since 4.8 - DMESG
    ... Preloaded elf kernel "kernel" at 0xc053f000. ... pci0: <PCI bus> on pcib0 ... 2 ports with 2 removable, ...
    (freebsd-stable)
  • FreeBSD & Linksys EG1032 network card
    ... The 4.8 Hardware Notes say the card uses the nge driver. ... I grepped the LINT kernel config file for anything secific to the ... pci0: <PCI bus> on pcib0 ...
    (freebsd-questions)
  • RE: Time jumping on both 4.x and 5.x ...
    ... Preloaded elf kernel "kernel" at 0xc03ea000. ... pci0: <PCI bus> on pcib0 ... ipfw2 initialized, divert enabled, rule-based forwarding enabled, ...
    (freebsd-stable)
  • input method on fc3?
    ... FC3 and soundcard ... >> without problems and sound works fine. ... What modules were loaded with kernel ... I can install and configure samba on Linux as easily as I can install ...
    (Fedora)