Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2005 01:11:12 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: As promised: Soft volume mixer controller
Message-ID:  <20050919011112.6fb1bdde.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <20050914233049.70de9af6.skywizard@MyBSD.org.my>
References:  <20050913075835.5f055747.skywizard@MyBSD.org.my> <200509141241.22914.lofi@freebsd.org> <20050914201600.383df2ce.skywizard@MyBSD.org.my> <200509141618.06677.lofi@freebsd.org> <20050914233049.70de9af6.skywizard@MyBSD.org.my>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--Boundary_(ID_/eApMew+Bk/sJOGdXiEVXQ)
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT

On Wed, 14 Sep 2005 23:30:49 +0800
Ariff Abdullah <skywizard@MyBSD.org.my> wrote:

> For RELENG_5:
> http://staff.mybsd.org.my/skywizard/FreeBSD/sound/snd_RELENG_5_20050914_038softvol.diff

I tried "snd_RELENG_5_20050916_043softvol.diff" on a ThinkPad T41.
tingo@kg-jobbpc3$ uname -a
FreeBSD kg-jobbpc3.kg4.no 5.4-STABLE FreeBSD 5.4-STABLE #4: Sun Sep 18
21:05:32 CEST 2005   
root@kg-jobbpc3.kg4.no:/storage/usr/obj/storage/usr/src/sys/T41_NOUHID 
i386

This is a freshly built, clean RELENG_5 machine, I have cvup'ed and
built it, nothing else.

Before patch:
-----------------
tingo@kg-jobbpc3$ dmesg | grep pcm
pcm0: <Intel ICH4 (82801DB)> port 0x18c0-0x18ff,0x1c00-0x1cff mem
0xc0000800-0xc00008ff,0xc0000c00-0xc0000dff irq 11 at device 31.5 on
pci0 pcm0: <Analog Devices AD1981B AC97 Codec>

tingo@kg-jobbpc3$ /usr/sbin/mixer
Mixer vol      is currently set to  62:62
Mixer pcm      is currently set to  87:87
Mixer line     is currently set to   0:0
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to   0:0
Mixer rec      is currently set to   0:0
Mixer ogain    is currently set to   0:0
Mixer line1    is currently set to   0:0
Mixer phin     is currently set to   0:0
Mixer phout    is currently set to   0:0
Recording source: mic

  'pciconf -lv'
pcm0@pci0:31:5: class=0x040100 card=0x05371014
chip=0x24c58086 rev=0x01 hdr=0x00    vendor   = 'Intel Corporation'
    device   = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio
Controller'    class    = multimedia
    subclass = audio

After patch:
---------------
i don't know, the patch applied fine (I did a "find . -name '*.rej'
-print"), but my 'make buildkernel ...' failed.
See attached text file for (the last parts of) error messages.

What did I do wrong?
-- 
Regards,
Torfinn Ingolfsen,
Norway


--Boundary_(ID_/eApMew+Bk/sJOGdXiEVXQ)
Content-type: text/plain; name=snd_errrors.txt
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=snd_errrors.txt

redefinition of 'slave_methods'
/storage/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/slavechan.c:249: error: 
previous definition of 'slave_methods' was here
/storage/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/slavechan.c:640: error: 
redefinition of 'slave_class'
/storage/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/slavechan.c:259: error: 
previous definition of 'slave_class' was here
/storage/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/slavechan.c:644: error: 
redefinition of 'slave_create'
/storage/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/slavechan.c:263: error: 
previous definition of 'slave_create' was here
/storage/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/slavechan.c:705: error: 
redefinition of 'slave_destroy'
/storage/usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/slavechan.c:324: error: 
previous definition of 'slave_destroy' was here
{standard input}: Assembler messages:
{standard input}:1102: Error: symbol `sndstat_vinfo' is already defined
{standard input}:1137: Error: symbol `feeder_slave_desc' is already defined
{standard input}:1306: Error: symbol `feeder_slave_methods' is already defined
{standard input}:1314: Error: symbol `feeder_slave_class' is already defined
{standard input}:1325: Error: symbol `feeder_slave_sys_init' is already defined
{standard input}:1334: Error: symbol `__set_sysinit_set_sym_feeder_slave_sys_init' is al
ready defined
{standard input}:1340: Error: symbol `slave_methods' is already defined
{standard input}:1360: Error: symbol `slave_class' is already defined
*** Error code 1

Stop in /storage/usr/src/sys/modules/sound/sound.
*** Error code 1

Stop in /storage/usr/src/sys/modules/sound.
*** Error code 1

Stop in /storage/usr/src/sys/modules.
*** Error code 1

Stop in /storage/usr/obj/storage/usr/src/sys/T41_NOUHID.
*** Error code 1

Stop in /storage/usr/src.
*** Error code 1

Stop in /storage/usr/src.

--Boundary_(ID_/eApMew+Bk/sJOGdXiEVXQ)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050919011112.6fb1bdde.torfinn.ingolfsen>