Oddity with sound handling with recent -current

Hideyuki KURASHINA rushani at bl.mmtr.or.jp
Wed Sep 15 08:41:46 PDT 2004


Hi,

>>> On Tue, 14 Sep 2004 11:42:23 +0100, Nik Clayton <nik at freebsd.org> said:

> Hi all,
[...]
> I've got
> 
>     snd_mss_load="YES"
> 
> in /boot/loader.conf, and that continues to work.  However, with the
> older current, this gave me /dev/dsp, /dev/pcm, and so on, and the sound
> devices were recognised as pcm0 in the probes at boot time.  Here's a 
> sample log entry from the 8th (pre-update)

I also have similar issue with snd_mss.ko if ACPI is enabled.

  Kernel:       RELENG_5 (as of 2004/09/15)
  System board: Tyan Trinity 400 (with its latest BIOS revision 2000/02/15)
		http://www.tyan.com/products/html/trinity400.html

The difference between ACPI disabled dmesg and ACPI enabled one is below:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Copyright (c) 1992-2004 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
@@ -18,15 +18,24 @@
   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 402587648 (383 MB)
-avail memory = 384253952 (366 MB)
+avail memory = 384245760 (366 MB)
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
-apm0: <APM BIOS> on motherboard
-apm0: found APM BIOS v1.2, connected at v1.2
-pcib0: <Host to PCI bridge> pcibus 0 on motherboard
-pir0: <PCI Interrupt Routing Table: 9 Entries> on motherboard
-pci0: <PCI bus> on pcib0
+acpi0: <VIA694 AWRDACPI> on motherboard
+acpi0: Power Button (fixed)
+Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
+acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
+Found OPTi device OPTi930
+pcm0: <OPTi930> port 0x530-0x537 on acpi0
+device_attach: pcm0 attach returned 6
+acpi_button0: <Power Button> on acpi0
+pcib0: <ACPI Host-PCI bridge> port 0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
+acpi link get: empty IRQ resource
+acpi link set: \\_SB_.PCI0.ISA_.LNKB already routed to 10
+acpi link set: \\_SB_.PCI0.ISA_.LNKA already routed to 11
+acpi link set: \\_SB_.PCI0.ISA_.LNKA already routed to 11
+pci0: <ACPI PCI bus> on pcib0
 agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xd4000000-0xd5ffffff at device 0.0 on pci0
 pcib1: <PCI-PCI bridge> at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
@@ -79,47 +88,50 @@
 sio7: <Avlab Low Profile PCI 4 Serial> on puc0
 sio7: type 16550A
 sio7: unable to activate interrupt in fast mode - using normal mode
-cpu0 on motherboard
-orm0: <ISA Option ROMs> at iomem 0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
-pmtimer0 on isa0
-sc0: <System console> on isa0
-sc0: VGA <16 virtual consoles, flags=0x200>
-vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
-atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
-atkbd0: <AT Keyboard> irq 1 on atkbdc0
-kbd0 at atkbd0
-atkbd0: [GIANT-LOCKED]
-psm0: <PS/2 Mouse> irq 12 on atkbdc0
-psm0: [GIANT-LOCKED]
-psm0: model MouseMan+, device ID 0
-fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
+Found OPTi device OPTi930
+pcm1: <OPTi930> port 0x530-0x537 on acpi0
+device_attach: pcm1 attach returned 6
+speaker0 port 0x61 on acpi0
+fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
-ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
+sio0 port 0x3f8-0x3ff irq 4 on acpi0
+sio0: type 16550A
+sio1 port 0x2f8-0x2ff irq 3 on acpi0
+sio1: type 16550A
+ppc0 port 0x378-0x37f irq 7 on acpi0
 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
 ppbus0: <Parallel port bus> on ppc0
+ppbus0: IEEE1284 device found 
+Probing for PnP devices on ppbus0:
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 ppi0: <Parallel I/O> on ppbus0
-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
-unknown: <PNP0303> can't assign resources (port)
-speaker0: <PC speaker> at port 0x61 on isa0
-unknown: <PNP0c02> can't assign resources (memory)
-unknown: <PNP0f13> can't assign resources (irq)
-unknown: <PNP0501> can't assign resources (port)
-unknown: <PNP0700> can't assign resources (port)
-unknown: <PNP0400> can't assign resources (port)
-unknown: <PNP0501> can't assign resources (port)
-pcm0: <OPTi931> at port 0xe0c-0xe0f,0x220-0x22f,0x380-0x38b,0x534-0x537 irq 5 drq 1,0 on isa0
-AD_WAIT_INIT FAILED 1002000 0xff
-pcm0: [GIANT-LOCKED]
+atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
+atkbd0: <AT Keyboard> irq 1 on atkbdc0
+kbd0 at atkbd0
+atkbd0: [GIANT-LOCKED]
+psm0: <PS/2 Mouse> irq 12 on atkbdc0
+psm0: [GIANT-LOCKED]
+psm0: model MouseMan+, device ID 0
+Found OPTi device OPTi930
+pcm0: <OPTi930> port 0x530-0x537 on acpi0
+device_attach: pcm0 attach returned 6
+Found OPTi device OPTi930
+pcm1: <OPTi930> port 0x530-0x537 on acpi0
+device_attach: pcm1 attach returned 6
+orm0: <ISA Option ROMs> at iomem 0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
+pmtimer0 on isa0
+sc0: <System console> at flags 0x100 on isa0
+sc0: VGA <16 virtual consoles, flags=0x300>
+vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
+pcm2: <OPTi931> at port 0xe0c-0xe0f,0x220-0x22f,0x380-0x38b,0x534-0x537 irq 5 drq 1,0 on isa0
+pcm2: [GIANT-LOCKED]
+Timecounter "TSC" frequency 999667436 Hz quality 800
 Timecounters tick every 10.000 msec
 ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to deny, logging unlimited
 ad0: 38166MB <ST340014A/3.06> [77545/16/63] at ata0-master UDMA66
 ad1: 58644MB <IC35L060AVV207-0/V22OA66A> [119150/16/63] at ata0-slave UDMA66
-ATAPI_RESET time = 80us
+ATAPI_RESET time = 70us
 acd0: CDROM <FX4831T/R02E> at ata1-master UDMA33
 Mounting root from ufs:/dev/ad0s1a
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-- rushani


More information about the freebsd-current mailing list