ADAT does work, but often is interrupted by noise - Was: FreeBSD and snd_hdspe last-ditch attempt
Thank you Ian :) On Wed, 23 Jan 2013 05:25:59 +0100, Ian Smith smi...@nimnet.asn.au wrote: 'cat /dev/sndstat' I already posted it ;). However, I set sysctl hw.snd.verbose=2, here it's again [1]. It's a cheap professional audio device, IOW it's not a consumer or semi-professional device, so cheap doesn't mean low quality. Professional and semi-professional devices usually don't support surround sound, but at least the professional devices provide special interfaces, such as AES/EBU and ADAT. The card I'm using comes with two analog IOs, AES/EBU, ADAT and it supports consumer's SPDIF. $ ls -l /dev/dsp* crw-rw-rw- 1 root wheel0, 205 Jan 23 09:41 /dev/dsp0.0 crw-rw-rw- 1 root wheel0, 204 Jan 23 09:41 /dev/dsp1.0 crw-rw-rw- 1 root wheel0, 203 Jan 23 09:41 /dev/dsp2.0 crw-rw-rw- 1 root wheel0, 202 Jan 23 09:41 /dev/dsp3.0 crw-rw-rw- 1 root wheel0, 201 Jan 23 09:41 /dev/dsp4.0 crw-rw-rw- 1 root wheel0, 200 Jan 23 09:41 /dev/dsp5.0 crw-rw-rw- 1 root wheel0, 199 Jan 23 09:41 /dev/dsp6.0 crw-rw-rw- 1 root wheel0, 198 Jan 23 09:41 /dev/dsp7.0 have to assume you've already discussed your issues with its author, Ruslan Bukin b...@bsdpad.com Yes, Ruslan does or at least did follow the thread. I set jackd to use OSS with /dev/dsp4.0, I connected synaddsubfx $ zynaddsubfx ZynAddSubFX - Copyright (c) 2002-2009 Nasca Octavian Paul and others Compiled: Jan 20 2013 03:10:05 This program is free software (GNU GPL v.2 or later) and it comes with ABSOLUTELY NO WARRANTY. Try 'zynaddsubfx --help' for command-line options. Sound Buffer Size = 256 samples Internal latency = 5.3 ms ADsynth Oscil.Size =1024 samples Internal SampleRate = 48000 Jack Output SampleRate= 48000 ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory Now there sometimes is audio output and sometimes dangerous noise, that could damage the speakers. Jack is running without real-time, Frames/Period 1024, Periods/Buffer 2, Samplerae 48000, Word Length 16. Regards, Ralf [1] $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: HDSPe AIO [line] at io 0xfdff irq 18 kld snd_hdspe (1p:1v/1r:1v) default snddev flags=0x2e6AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010/0x00201000, flags 0x2100, 0x0006 interrupts 0, underruns 0, feed 0, ready 0 [b:131072/4096/32|bs:65536/2048/32] channel flags=0x2100BUSY,HAS_VCHAN {userland} - feeder_mixer(0x00200010) - feeder_format(0x00200010 - 0x00201000) - {hardware} pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000, fmt 0x0018, flags 0x1000, 0x interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0] channel flags=0x1000VIRTUAL {userland} - feeder_root(0x) - {hardware} [pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010/0x00201000, flags 0x2100, 0x0007 interrupts 0, overruns 0, feed 0, hfree 131072, sfree 65536 [b:131072/4096/32|bs:65536/2048/32] channel flags=0x2100BUSY,HAS_VCHAN {hardware} - feeder_root(0x00201000) - feeder_format(0x00201000 - 0x00200010) - feeder_mixer(0x00200010) - {userland} pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt 0x0018, flags 0x1000, 0x interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0] channel flags=0x1000VIRTUAL {hardware} - feeder_root(0x) - {userland} pcm1: HDSPe AIO [phone] at io 0xfdff irq 18 kld snd_hdspe (1p:1v/0r:0v) snddev flags=0x2e7SIMPLEX,AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC [pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010/0x00201000, flags 0x2100, 0x0006 interrupts 0, underruns 0, feed 0, ready 0 [b:131072/4096/32|bs:65536/2048/32] channel flags=0x2100BUSY,HAS_VCHAN {userland} - feeder_mixer(0x00200010) - feeder_format(0x00200010 - 0x00201000) - {hardware} pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 8000, fmt 0x0018, flags 0x1000, 0x interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0] channel flags=0x1000VIRTUAL {userland} - feeder_root(0x) - {hardware} pcm2: HDSPe AIO [aes] at io 0xfdff irq 18 kld snd_hdspe (1p:1v/1r:1v) snddev flags=0x2e6AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC [pcm2:play:dsp2.p0]: spd 48000, fmt 0x00200010/0x00201000, flags 0x2100, 0x0006 interrupts 0, underruns 0, feed 0, ready 0 [b:131072/4096/32|bs:65536/2048/32] channel flags=0x2100BUSY,HAS_VCHAN {userland} - feeder_mixer(0x00200010) - feeder_format(0x00200010 - 0x00201000) - {hardware} pcm2:play:dsp2.p0[pcm2:virtual:dsp2.vp0]: spd 8000, fmt 0x0018, flags 0x1000, 0x interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0] channel flags=0x1000VIRTUAL {userland} -
Re: ADAT does work, but often is interrupted by noise - Was: FreeBSD and snd_hdspe last-ditch attempt
please include also the output of 1. sysctl hw.snd 2. sysctl dev.pcm On Wed, Jan 23, 2013 at 10:47:09AM +0100, Ralf Mardorf wrote: Thank you Ian :) On Wed, 23 Jan 2013 05:25:59 +0100, Ian Smith smi...@nimnet.asn.au wrote: 'cat /dev/sndstat' I already posted it ;). However, I set sysctl hw.snd.verbose=2, here it's again [1]. It's a cheap professional audio device, IOW it's not a consumer or semi-professional device, so cheap doesn't mean low quality. Professional and semi-professional devices usually don't support surround sound, but at least the professional devices provide special interfaces, such as AES/EBU and ADAT. The card I'm using comes with two analog IOs, AES/EBU, ADAT and it supports consumer's SPDIF. $ ls -l /dev/dsp* crw-rw-rw- 1 root wheel0, 205 Jan 23 09:41 /dev/dsp0.0 crw-rw-rw- 1 root wheel0, 204 Jan 23 09:41 /dev/dsp1.0 crw-rw-rw- 1 root wheel0, 203 Jan 23 09:41 /dev/dsp2.0 crw-rw-rw- 1 root wheel0, 202 Jan 23 09:41 /dev/dsp3.0 crw-rw-rw- 1 root wheel0, 201 Jan 23 09:41 /dev/dsp4.0 crw-rw-rw- 1 root wheel0, 200 Jan 23 09:41 /dev/dsp5.0 crw-rw-rw- 1 root wheel0, 199 Jan 23 09:41 /dev/dsp6.0 crw-rw-rw- 1 root wheel0, 198 Jan 23 09:41 /dev/dsp7.0 have to assume you've already discussed your issues with its author, Ruslan Bukin b...@bsdpad.com Yes, Ruslan does or at least did follow the thread. I set jackd to use OSS with /dev/dsp4.0, I connected synaddsubfx $ zynaddsubfx ZynAddSubFX - Copyright (c) 2002-2009 Nasca Octavian Paul and others Compiled: Jan 20 2013 03:10:05 This program is free software (GNU GPL v.2 or later) and it comes with ABSOLUTELY NO WARRANTY. Try 'zynaddsubfx --help' for command-line options. Sound Buffer Size = 256 samples Internal latency =5.3 ms ADsynth Oscil.Size = 1024 samples Internal SampleRate = 48000 Jack Output SampleRate= 48000 ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory Now there sometimes is audio output and sometimes dangerous noise, that could damage the speakers. Jack is running without real-time, Frames/Period 1024, Periods/Buffer 2, Samplerae 48000, Word Length 16. Regards, Ralf [1] $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: HDSPe AIO [line] at io 0xfdff irq 18 kld snd_hdspe (1p:1v/1r:1v) default snddev flags=0x2e6AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010/0x00201000, flags 0x2100, 0x0006 interrupts 0, underruns 0, feed 0, ready 0 [b:131072/4096/32|bs:65536/2048/32] channel flags=0x2100BUSY,HAS_VCHAN {userland} - feeder_mixer(0x00200010) - feeder_format(0x00200010 - 0x00201000) - {hardware} pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000, fmt 0x0018, flags 0x1000, 0x interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0] channel flags=0x1000VIRTUAL {userland} - feeder_root(0x) - {hardware} [pcm0:record:dsp0.r0]: spd 48000, fmt 0x00200010/0x00201000, flags 0x2100, 0x0007 interrupts 0, overruns 0, feed 0, hfree 131072, sfree 65536 [b:131072/4096/32|bs:65536/2048/32] channel flags=0x2100BUSY,HAS_VCHAN {hardware} - feeder_root(0x00201000) - feeder_format(0x00201000 - 0x00200010) - feeder_mixer(0x00200010) - {userland} pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 8000, fmt 0x0018, flags 0x1000, 0x interrupts 0, overruns 0, feed 0, hfree 0, sfree 0 [b:0/0/0|bs:0/0/0] channel flags=0x1000VIRTUAL {hardware} - feeder_root(0x) - {userland} pcm1: HDSPe AIO [phone] at io 0xfdff irq 18 kld snd_hdspe (1p:1v/0r:0v) snddev flags=0x2e7SIMPLEX,AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC [pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010/0x00201000, flags 0x2100, 0x0006 interrupts 0, underruns 0, feed 0, ready 0 [b:131072/4096/32|bs:65536/2048/32] channel flags=0x2100BUSY,HAS_VCHAN {userland} - feeder_mixer(0x00200010) - feeder_format(0x00200010 - 0x00201000) - {hardware} pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 8000, fmt 0x0018, flags 0x1000, 0x interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0] channel flags=0x1000VIRTUAL {userland} - feeder_root(0x) - {hardware} pcm2: HDSPe AIO [aes] at io 0xfdff irq 18 kld snd_hdspe (1p:1v/1r:1v) snddev flags=0x2e6AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC [pcm2:play:dsp2.p0]: spd 48000, fmt 0x00200010/0x00201000, flags 0x2100, 0x0006 interrupts 0, underruns 0, feed 0, ready 0 [b:131072/4096/32|bs:65536/2048/32] channel flags=0x2100BUSY,HAS_VCHAN {userland} - feeder_mixer(0x00200010) -
Re: ADAT does work, but often is interrupted by noise - Was: FreeBSD and snd_hdspe last-ditch attempt
Hi Ruslan :) here's the output of sysctl hw.snd and sysctl dev.pcm. $ sysctl hw.snd hw.snd.vpc_reset: 0 hw.snd.vpc_0db: 45 hw.snd.vpc_autoreset: 1 hw.snd.latency_profile: 1 hw.snd.latency: 5 hw.snd.report_soft_matrix: 1 hw.snd.report_soft_formats: 1 hw.snd.compat_linux_mmap: 0 hw.snd.feeder_eq_exact_rate: 0 hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000 hw.snd.feeder_rate_quality: 1 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_polyphase_max: 183040 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 hw.snd.vpc_mixer_bypass: 1 hw.snd.verbose: 2 hw.snd.maxautovchans: 16 hw.snd.default_unit: 0 hw.snd.version: 2009061500/amd64 hw.snd.default_auto: 1 $ sysctl dev.pcm dev.pcm.0.%desc: HDSPe AIO [line] dev.pcm.0.%driver: pcm dev.pcm.0.%parent: hdspe0 dev.pcm.0.play.vchans: 1 dev.pcm.0.play.vchanmode: fixed dev.pcm.0.play.vchanrate: 48000 dev.pcm.0.play.vchanformat: s16le:2.0 dev.pcm.0.rec.vchans: 1 dev.pcm.0.rec.vchanmode: fixed dev.pcm.0.rec.vchanrate: 48000 dev.pcm.0.rec.vchanformat: s16le:2.0 dev.pcm.0.buffersize: 0 dev.pcm.0.bitperfect: 0 dev.pcm.1.%desc: HDSPe AIO [phone] dev.pcm.1.%driver: pcm dev.pcm.1.%parent: hdspe0 dev.pcm.1.play.vchans: 1 dev.pcm.1.play.vchanmode: fixed dev.pcm.1.play.vchanrate: 48000 dev.pcm.1.play.vchanformat: s16le:2.0 dev.pcm.1.buffersize: 0 dev.pcm.1.bitperfect: 0 dev.pcm.2.%desc: HDSPe AIO [aes] dev.pcm.2.%driver: pcm dev.pcm.2.%parent: hdspe0 dev.pcm.2.play.vchans: 1 dev.pcm.2.play.vchanmode: fixed dev.pcm.2.play.vchanrate: 48000 dev.pcm.2.play.vchanformat: s16le:2.0 dev.pcm.2.rec.vchans: 1 dev.pcm.2.rec.vchanmode: fixed dev.pcm.2.rec.vchanrate: 48000 dev.pcm.2.rec.vchanformat: s16le:2.0 dev.pcm.2.buffersize: 0 dev.pcm.2.bitperfect: 0 dev.pcm.3.%desc: HDSPe AIO [s/pdif] dev.pcm.3.%driver: pcm dev.pcm.3.%parent: hdspe0 dev.pcm.3.play.vchans: 1 dev.pcm.3.play.vchanmode: fixed dev.pcm.3.play.vchanrate: 48000 dev.pcm.3.play.vchanformat: s16le:2.0 dev.pcm.3.rec.vchans: 1 dev.pcm.3.rec.vchanmode: fixed dev.pcm.3.rec.vchanrate: 48000 dev.pcm.3.rec.vchanformat: s16le:2.0 dev.pcm.3.buffersize: 0 dev.pcm.3.bitperfect: 0 dev.pcm.4.%desc: HDSPe AIO [adat] dev.pcm.4.%driver: pcm dev.pcm.4.%parent: hdspe0 dev.pcm.4.play.vchans: 1 dev.pcm.4.play.vchanmode: fixed dev.pcm.4.play.vchanrate: 48000 dev.pcm.4.play.vchanformat: s16le:2.0 dev.pcm.4.rec.vchans: 1 dev.pcm.4.rec.vchanmode: fixed dev.pcm.4.rec.vchanrate: 48000 dev.pcm.4.rec.vchanformat: s16le:2.0 dev.pcm.4.buffersize: 0 dev.pcm.4.bitperfect: 0 dev.pcm.5.%desc: HDSPe AIO [adat] dev.pcm.5.%driver: pcm dev.pcm.5.%parent: hdspe0 dev.pcm.5.play.vchans: 1 dev.pcm.5.play.vchanmode: fixed dev.pcm.5.play.vchanrate: 48000 dev.pcm.5.play.vchanformat: s16le:2.0 dev.pcm.5.rec.vchans: 1 dev.pcm.5.rec.vchanmode: fixed dev.pcm.5.rec.vchanrate: 48000 dev.pcm.5.rec.vchanformat: s16le:2.0 dev.pcm.5.buffersize: 0 dev.pcm.5.bitperfect: 0 dev.pcm.6.%desc: HDSPe AIO [adat] dev.pcm.6.%driver: pcm dev.pcm.6.%parent: hdspe0 dev.pcm.6.play.vchans: 1 dev.pcm.6.play.vchanmode: fixed dev.pcm.6.play.vchanrate: 48000 dev.pcm.6.play.vchanformat: s16le:2.0 dev.pcm.6.rec.vchans: 1 dev.pcm.6.rec.vchanmode: fixed dev.pcm.6.rec.vchanrate: 48000 dev.pcm.6.rec.vchanformat: s16le:2.0 dev.pcm.6.buffersize: 0 dev.pcm.6.bitperfect: 0 dev.pcm.7.%desc: HDSPe AIO [adat] dev.pcm.7.%driver: pcm dev.pcm.7.%parent: hdspe0 dev.pcm.7.play.vchans: 1 dev.pcm.7.play.vchanmode: fixed dev.pcm.7.play.vchanrate: 48000 dev.pcm.7.play.vchanformat: s16le:2.0 dev.pcm.7.rec.vchans: 1 dev.pcm.7.rec.vchanmode: fixed dev.pcm.7.rec.vchanrate: 48000 dev.pcm.7.rec.vchanformat: s16le:2.0 dev.pcm.7.buffersize: 0 dev.pcm.7.bitperfect: 0 Regards, Ralf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Security updates
Hi :) since I updated the ports tree I'm able to fix one issue after the other, e.g. GDM now can start Xfce4. IIUC correctly freebsd-update ( http://www.freebsd.org/cgi/man.cgi?query=freebsd-updatesektion=8 ) will not take care about updates for e.g. Firefox, since I guess it doesn't belong to the base system. Because compiling does take very long, I will not update the whole ports tree that often, I alos like to keep software versions that fit to my needs when ever possible, but I guess without breaking dependencies it theoretically should be possible to update Internet browsers, MUAs etc. only from time to time, for security reasons. Is it possible to update just some Internet stuff? Regards, Ralf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Security updates
Hi, On Wed, 23 Jan 2013 12:42:00 +0100 Ralf Mardorf ralf.mard...@alice-dsl.net wrote: RM Because compiling does take very long, I will not update the whole RM ports tree that often, I alos like to keep software versions that RM fit to my needs when ever possible, but I guess without breaking RM dependencies it theoretically should be possible to update Internet RM browsers, MUAs etc. only from time to time, for security reasons. RM RM Is it possible to update just some Internet stuff? yes, using some tools. Take a look at portmaster or portupgrade. Maybe you should install portaudit too. It tells you for which ports security flaws have been found. To update a single port using portmaster you would run # portmaster www/firefox for example. Regards, Jens -- 23. Hartung 2013, 13:02 Homepage : http://www.jan0sch.de The student in question is performing minimally for his peer group and is an emerging underachiever. pgp8UwSjWD1xW.pgp Description: PGP signature
[solved] Security updates
On Wed, 23 Jan 2013 13:04:08 +0100, Jens Jahnke jan0...@gmx.net wrote: [snip] Maybe you should install portaudit too. It tells you for which ports security flaws have been found. To update a single port using portmaster you would run # portmaster www/firefox for example. Hi Jens :) thank you. Regards, Ralf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Fresh installation 9.1
Hi All, I am facing a strange issue.. I installed 9.1 release and installation went successful After boot up i got this error - File system had an unexpected inconsistency. ufs : /dev/ada0s1d (/var) unknown error ; ! Help Error - Aborting Boot Going to single user mode. # Please help me if i need to do anything else. I followed this link - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-bsdinstall.html Help me on this SETUP. Regards Hrisikesh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fresh installation 9.1
On Wed, 23 Jan 2013 19:49:13 +0530, Hrisikesh sahu wrote: Hi All, I am facing a strange issue.. I installed 9.1 release and installation went successful After boot up i got this error - File system had an unexpected inconsistency. ufs : /dev/ada0s1d (/var) unknown error ; ! Help Error - Aborting Boot Going to single user mode. # Please help me if i need to do anything else. It seems that the /var partition has not been unmounted properly. Perform a manual file system check and retry. The command # fsck -yf /dev/ada0s1d should be applied in single user mode, with /var being unmounted. To make sure file systems are clean _prior_ to booting the system, put background_fsck=NO into /etc/rc.conf; this may lead to longer startup times when something is strange regarding file systems, but it will prevent you from booting into a possibly damaged environment (which could cause more trouble and maybe even data loss, which justifies the longer boot time in my opinion). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: IPMI SOL setup on FreeBSD 9.1 amd64 supermicro X9SCM-F/X9CL-F
On Mon, 21 Jan 2013 22:52:17, Derek Ragona wrote: DR I have a couple servers that are built using the supermicro X9SCM-F/X9CL-F DR motherboards, and I can't quite get IPMI SOL working right. DR DR These motherboards have 3 NIC's. One NIC is for a dedicated IPMI interface. DR DR I have both servers configured to use the dedicated IPMI NIC and these DR NIC's are plugged into a separate unmanaged switch. DR DR Both systems boards are set to redirect com1. I changed /etc/ttys to run a DR getty on /dev/ttyu0. I have com1 configured to 115,200 baud, 8, n, 1, no DR flowcontrol in the BIOS. I in have /etc/ttys: DR ttyu0 /usr/libexec/getty std.115200 vt100 on secure /etc/ttys: ttyu1 /usr/libexec/getty std.115200 vt100 on secure /boot/loader.conf: hint.uart.0.flags=0 hint.uart.1.flags=0x10 boot_serial=YES boot_multicons=YES comconsole_speed=115200 console=comconsole vidconsole -- Anton Yuzhaninov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
building crunchgen fails
Hi All, When executing crunchgen -o boot_crunch.conf make -f boot_crunch.mk I get the following error: cc -static -o boot_crunch boot_crunch.o hostname.lo pwd.lo rm.lo sh.lo ls.lo test.lo cat.lo df.lo sleep.lo camcontrol.lo dhclient.lo fsck_ffs.lo ifconfig.lo mount_nfs.lo newfs.lo route.lo rtsol.lo tunefs.lo kenv.lo sysctl.lo mdmfs.lo dmesg.lo fdisk.lo bsdlabel.lo uname.lo cpio.lo find.lo minigzip.lo sed.lo awk.lo fetch.lo arp.lo sysinstall.lo usbconfig.lo grep.lo -lcam -lsbuf -lutil -ll -ledit -lfetch -lmd -lcrypt -lftpio -lz -lnetgraph -ldialog -lncurses -ldisk -lufs -ldevinfo -lkvm -lgeom -lbsdxml -larchive -lbz2 -lusb -lgnuregex -llzma -lssl -lcrypto -ljail -lm camcontrol.lo(.text+0x730b): In function `main': : undefined reference to `mode_edit' camcontrol.lo(.text+0x73fa): In function `main': : undefined reference to `mode_list' *** Error code 1 Stop in /tmp/crunchtmp. I understand that there may need to be some shuffling of the libraries in the boot_crunch.conf, but I've done that to no avail. Wondering if anyone else may be able to shed some light on this... The boot_crunch.conf can be viewed at http://pastebin.com/ZwVPQn3h -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fresh installation 9.1
At 08:30 AM 1/23/2013, Polytropon wrote: On Wed, 23 Jan 2013 19:49:13 +0530, Hrisikesh sahu wrote: Hi All, I am facing a strange issue.. I installed 9.1 release and installation went successful After boot up i got this error - File system had an unexpected inconsistency. ufs : /dev/ada0s1d (/var) unknown error ; ! Help Error - Aborting Boot Going to single user mode. # Please help me if i need to do anything else. It seems that the /var partition has not been unmounted properly. Perform a manual file system check and retry. The command # fsck -yf /dev/ada0s1d should be applied in single user mode, with /var being unmounted. To make sure file systems are clean _prior_ to booting the system, put background_fsck=NO into /etc/rc.conf; this may lead to longer startup times when something is strange regarding file systems, but it will prevent you from booting into a possibly damaged environment (which could cause more trouble and maybe even data loss, which justifies the longer boot time in my opinion). I setup a number of servers with 9.1 and had the same issue. I'm not sure why, all of the installation went with no errors. I ended up with this in rc.conf: fsck_y_enable=YES background_fsck=NO force_fsck=YES After a few reboots I was able to take it out. Also if you have this in /etc/rc.conf: dumpdev=YES It always does a dump even on reboot, which also marks the filesystems as dirty. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fresh installation 9.1
On Wed, 23 Jan 2013 10:24:38 -0600, Derek Ragona wrote: Also if you have this in /etc/rc.conf: dumpdev=YES It always does a dump even on reboot, which also marks the filesystems as dirty. That doesn't seem to conform to what /etc/defaults/rc.conf says: dumpdev=NO# Device to crashdump to (device name, AUTO, or NO). dumpdir=/var/crash# Directory where crash dumps are to be stored savecore_flags= # Used if dumpdev is enabled above, and present. crashinfo_enable=YES # Automatically generate crash dump summary. crashinfo_program=/usr/sbin/crashinfo # Script to generate crash dump summary. So YES looks invalid. But note that I could be wrong here, I'm checking on a v8 system, not v9, so maybe the configuration has actually been changed... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: building crunchgen fails
On Wed, Jan 23, 2013 at 11:01 AM, Devin Teske devin.te...@fisglobal.com wrote: On Jan 23, 2013, at 7:22 AM, Rick Miller wrote: Hi All, When executing crunchgen -o boot_crunch.conf make -f boot_crunch.mk I get the following error: cc -static -o boot_crunch boot_crunch.o hostname.lo pwd.lo rm.lo sh.lo ls.lo test.lo cat.lo df.lo sleep.lo camcontrol.lo dhclient.lo fsck_ffs.lo ifconfig.lo mount_nfs.lo newfs.lo route.lo rtsol.lo tunefs.lo kenv.lo sysctl.lo mdmfs.lo dmesg.lo fdisk.lo bsdlabel.lo uname.lo cpio.lo find.lo minigzip.lo sed.lo awk.lo fetch.lo arp.lo sysinstall.lo usbconfig.lo grep.lo -lcam -lsbuf -lutil -ll -ledit -lfetch -lmd -lcrypt -lftpio -lz -lnetgraph -ldialog -lncurses -ldisk -lufs -ldevinfo -lkvm -lgeom -lbsdxml -larchive -lbz2 -lusb -lgnuregex -llzma -lssl -lcrypto -ljail -lm camcontrol.lo(.text+0x730b): In function `main': : undefined reference to `mode_edit' camcontrol.lo(.text+0x73fa): In function `main': : undefined reference to `mode_list' *** Error code 1 Stop in /tmp/crunchtmp. I understand that there may need to be some shuffling of the libraries in the boot_crunch.conf, but I've done that to no avail. Wondering if anyone else may be able to shed some light on this... The boot_crunch.conf can be viewed at http://pastebin.com/ZwVPQn3h According to the Makefile, if RELEASE_CRUNCH is defined, then modeedit.o object is omitted (causing your undefined references). I perceive the long-term real solution would be to patch camcontrol.c (and pedantically camcontrol.h) to not use mode_edit()/mode_list() when RELEASE_CRUNCH is defined. However, you should be able to get through your problem by adjusting your boot_crunch.conf slightly: Try http://pastebin.com/Ge6UCZEZ The difference being: --- boot_crunch.conf.orig 2013-01-03 16:29:20.0 -0800 +++ boot_crunch.conf2013-01-03 16:29:13.0 -0800 @@ -17,6 +17,7 @@ srcdirs /usr/src/sbin progs camcontrol +special camcontrol objs camcontrol.o modeedit.o util.o progs dhclient progs fsck_ffs progs ifconfig Thanks, Devin! That worked...which Makefile did you find this in? -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: building crunchgen fails
On Jan 23, 2013, at 8:44 AM, Rick Miller wrote: On Wed, Jan 23, 2013 at 11:01 AM, Devin Teske devin.te...@fisglobal.com wrote: On Jan 23, 2013, at 7:22 AM, Rick Miller wrote: Hi All, When executing crunchgen -o boot_crunch.conf make -f boot_crunch.mk I get the following error: cc -static -o boot_crunch boot_crunch.o hostname.lo pwd.lo rm.lo sh.lo ls.lo test.lo cat.lo df.lo sleep.lo camcontrol.lo dhclient.lo fsck_ffs.lo ifconfig.lo mount_nfs.lo newfs.lo route.lo rtsol.lo tunefs.lo kenv.lo sysctl.lo mdmfs.lo dmesg.lo fdisk.lo bsdlabel.lo uname.lo cpio.lo find.lo minigzip.lo sed.lo awk.lo fetch.lo arp.lo sysinstall.lo usbconfig.lo grep.lo -lcam -lsbuf -lutil -ll -ledit -lfetch -lmd -lcrypt -lftpio -lz -lnetgraph -ldialog -lncurses -ldisk -lufs -ldevinfo -lkvm -lgeom -lbsdxml -larchive -lbz2 -lusb -lgnuregex -llzma -lssl -lcrypto -ljail -lm camcontrol.lo(.text+0x730b): In function `main': : undefined reference to `mode_edit' camcontrol.lo(.text+0x73fa): In function `main': : undefined reference to `mode_list' *** Error code 1 Stop in /tmp/crunchtmp. I understand that there may need to be some shuffling of the libraries in the boot_crunch.conf, but I've done that to no avail. Wondering if anyone else may be able to shed some light on this... The boot_crunch.conf can be viewed at https://urldefense.proofpoint.com/v1/url?u=http://pastebin.com/ZwVPQn3hk=%2FbkpAUdJWZuiTILCq%2FFnQg%3D%3D%0Ar=Mrjs6vR4%2Faj2Ns9%2FssHJjg%3D%3D%0Am=Hnn4NG9Hyf8%2F%2F0%2FFE6hjIC649weMNcRXdV4V8oYmXGs%3D%0As=a3915bb0ab3862b707fc373a12f153257c6a06b1ee05925c9714f88fc81d783b According to the Makefile, if RELEASE_CRUNCH is defined, then modeedit.o object is omitted (causing your undefined references). I perceive the long-term real solution would be to patch camcontrol.c (and pedantically camcontrol.h) to not use mode_edit()/mode_list() when RELEASE_CRUNCH is defined. However, you should be able to get through your problem by adjusting your boot_crunch.conf slightly: Try https://urldefense.proofpoint.com/v1/url?u=http://pastebin.com/Ge6UCZEZk=%2FbkpAUdJWZuiTILCq%2FFnQg%3D%3D%0Ar=Mrjs6vR4%2Faj2Ns9%2FssHJjg%3D%3D%0Am=Hnn4NG9Hyf8%2F%2F0%2FFE6hjIC649weMNcRXdV4V8oYmXGs%3D%0As=27ceca7c7f03287568ea4d5c6af082fdf0e1182cdd8b90841429dd7d55752e42 The difference being: --- boot_crunch.conf.orig 2013-01-03 16:29:20.0 -0800 +++ boot_crunch.conf2013-01-03 16:29:13.0 -0800 @@ -17,6 +17,7 @@ srcdirs /usr/src/sbin progs camcontrol +special camcontrol objs camcontrol.o modeedit.o util.o progs dhclient progs fsck_ffs progs ifconfig Thanks, Devin! That worked...which Makefile did you find this in? sbin/camcontrol/Makefile -- Cheers, Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
creating new user account password.
I know I can create a new user account having a password same as the user name. After logging in the first time using the user account name as the password, I want to force the user to create a new password. Is there a way to do that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Wine-fbsd64 updated to 1.5.22 (32bit Wine for 64bit FreeBSD)
Hi, Packages [1] for wine-fbsd64-1.5.21 have been uploaded to mediafire [2]. The packages for FreeBSD 10 have been temporarily discontinued due to build errors [3]. Please read the installation messages, if you use the nVidia graphics driver, for further information. FAQ --- Q: Wine crashing when launching some 3D programs (aka games) A: This appears to be some clash with software however I have not been able to isolate where the problem is occurring (wine, ports, world, kernel, i386, amd64). A possible solution in to try upgrading, or downgrading, software used however I have not been able to fix the problem with my attempts. If you find a solution please email me, or post the solution on the mailing list. Q: wine: failed to initialize: / usr/local/lib32/wine/ntdll.dll.so: Undefined symbol _ThreadRuneLocale A: This problem is specific to FreeBSD-9.0, please either stick with wine-1.5.10 or update to a newer version of FreeBSD (-STABLE or 9.1). Apologies for the inconvenience. Q: Creating pkgng packages for FreeBSD-9 A: When there is no demand for FreeBSD-8 packages I'll create additional pkgng packages for FreeBSD-9. Since it is possible to install the existing pkg packages in a pkgng environment (which I do) this is not a high priority. Q: Wine doesn't run (properly) with a clang built world A: Clang was compiling i386 on a 16-byte boundary while gcc was using a 4-byte boundary. To fix, recompile world after ensuring your sources include http://beta.freshbsd.org/commit/freebsd/r242835 or the relevant MFC. Regards, David [1] MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.22,1.tbz) = a4c0b8454cee0af89525764e522c3c5c MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.22.1.txz) = 963a74f63b2b979e5ad0b792c0bfa3af [2] http://www.mediafire.com/wine_fbsd64 [3] I'm building using FreeBSD 9.1 system and a FreeBSD 10-current chroot. The error is tar: getvfsbyname failed: No such file or directory. Likely a compatibility issue... signature.asc Description: This is a digitally signed message part.
Re: creating new user account password.
On 23/01/2013 20:06, Fbsd8 wrote: I know I can create a new user account having a password same as the user name. After logging in the first time using the user account name as the password, I want to force the user to create a new password. Is there a way to do that? You can set the password to expire virtually immediately: pw usermod -n username -p +1m or add the '-p +1m' bit to the 'pw useradd' line used to create the account. I believe this will mean the user is required to set a new password on login after the password has expired. Might be an idea to test that though. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: creating new user account password.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/23/13 3:06 PM, Fbsd8 wrote: I know I can create a new user account having a password same as the user name. After logging in the first time using the user account name as the password, I want to force the user to create a new password. Is there a way to do that? This looks like it will help: http://www.itedit.com/blog/?p=34 Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEAR2QACgkQ0sRouByUApDN/QCgh9B23vgN7bv9otoKnt3t8dqW 30QAoLsdUgTRl6Fx0N5wEdcGZ/of3LUi =1n+g -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Setuid binaries and File Ownerships in FreeBSD9.0
The executable in question is a C program whos file permissions are 4755 and the file belongs to root so all files it opens are also owned by root and that works properly, but what I need is for this application to first open a few files owned by the caller and then later, upgrade back to root and write to files the caller can not write to. I was hoping to avoid using chown and chgrp and simply let the privilege level of the application dictate ownership of any file it opens. When the application first runs, it gets the UID and GID of the user and uses setuid(heruid); and setgid(hergid); to temporarily downgrade and those files are owned by the right user but setuid(0); doesn't appear to upgrade back to root. Is there any other strategy that gets one back to root short of using chown and then a system call and never downgrading privilege? Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 'svn-export' incrementing?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/22/13 8:29 PM, Peter Vereshagin wrote: Hello. I use the 'svn-export this way and expect it will try to update the 'work-tree' next time I run it: $ python3 svn-export-2013.1/svn-export http://svn.gna.org/svn/nasmail/trunk nasmail Exporting new repository. Exported revision 1546 [portato@screwed /tmp]$ ls -a nasmail . decode plugin_pack tests utilities .. nasmail plugins translations [portato@screwed /tmp]$ python3 svn-export-2013.1/svn-export http://svn.gna.org/svn/nasmail/trunk nasmail Exporting new repository. svn: E155000: Destination directory exists; please remove the directory or use --force to overwrite svn: E155000: 'nasmail' already exists error: Command '['svn', 'export', '-r', 'HEAD', 'http://svn.gna.org/svn/nasmail/trunk', 'nasmail']' returned non-zero exit status 1 I believe there is something wrong in the way I use the 'svn-export'. Otherwise it's a no problem for me to patch for '--force'. How can I update the already created 'work tree' with 'svn update'? I think the correct answer is a good idea for 'Synopsis' docs section. Hi Peter, In order for svn-export to work in incremental mode, you need to use the --revision-file argument like so: python3 svn-export-2013.1/svn-export -r rev.dat http://svn.gna.org/svn/nasmail/trunk nasmail Then at some point in the future, run the same command. svn-export will read rev.dat, compare the version in there with the current HEAD revision. If they are different, the script creates a diff and applies it to the local directory. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEATAIACgkQ0sRouByUApDBCgCgthHZtPIKq332sNIa7gyxnt/9 BcMAn2aXoD0niPr90A/r+etu0HD7XYxG =tpL9 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OSS and ALSA
I noticed, that the OSS4 plugin also workes without the oss4 dependency. Can someone please try this as well? - deinstall audacious-plugins - deinstall oss4 - change audacious-plugins/Makefile and comment out the oss4 BUILD_DEPENDENCY - install audacious-plugins - start audacious for me it works... please some more tests. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Setuid binaries and File Ownerships in FreeBSD9.0
From: Martin McCormick mar...@dc.cis.okstate.edu To: FreeBSD Questions freebsd-questions@freebsd.org Subject: Setuid binaries and File Ownerships in FreeBSD9.0 Date: Wed, 23 Jan 2013 14:26:16 -0600 [[.. sneck ..]] When the application first runs, it gets the UID and GID of the user and uses setuid(heruid); and setgid(hergid); to temporarily downgrade and those files are owned by the right user but setuid(0); doesn't appear to upgrade back to root. Is there any other strategy that gets one back to root short of using chown and then a system call and never downgrading privilege? man setEuid ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Setuid binaries and File Ownerships in FreeBSD9.0
jb writes: Get familiar with this document: http://www.cs.berkeley.edu/~daw/papers/setuid-usenix02.pdf Then verify its validity on your target and current OS. Thank you. I had read the man page several times and like most man pages, it is a summary and one can miss some of the finer points which I seem to be missing right now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: urxvt mouse selection / links troubles
On 11/01/2013 15:12, Guy Brand wrote: Fabian Keil (freebsd-lis...@fabiankeil.de) on 11/01/2013 at 14:18 wrote: Hi I use rxvt-unicode for years, but these days I'm having trouble when selecting link texts, what does not work anymore : ... URxvt*font: xft:DejaVu Sans Mono:pixelsize=11 URxvt*modifier:alt URxvt*urlLauncher: firefox The changelog of 9.16 says there is an incompatible change from version 9.15: urlLauncher resource has been renamed to url-launcher. Thanks! Didn't see this one, it works again :) Cheers, David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: creating new user account password.
Matthew Seaman wrote: On 23/01/2013 20:06, Fbsd8 wrote: I know I can create a new user account having a password same as the user name. After logging in the first time using the user account name as the password, I want to force the user to create a new password. Is there a way to do that? You can set the password to expire virtually immediately: pw usermod -n username -p +1m or add the '-p +1m' bit to the 'pw useradd' line used to create the account. I believe this will mean the user is required to set a new password on login after the password has expired. Might be an idea to test that though. Cheers, Matthew Thank you both, Matthew and Greg I added -p 12-12-12 as a date in the past day 12 month 12 year 12. I tested and right after entering the account name pw I was asked for a new password. That is what I wanted. Matthew gave me the -p option to use on the pw adduser command and Greg gave me the clue to use a date in the past. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OSS and ALSA
I wonder if my original mail did reach anybody, it seemingly didn't came through the lists. Unfortunately I deleted the mail with the verbose report. No report now, just a short note: It does work here too. Hth, Ralf - Ursprüngliche Message - Von: Oliver Lehmann oli...@freebsd.org An: David Demelier demelier.da...@gmail.com CC: FreeBSD multi freebsd-multime...@freebsd.org; Ralf Mardorf ralf.mard...@rocketmail.com; FreeBSD quest freebsd-questions@freebsd.org; Andriy Gapon a...@freebsd.org Gesendet: 22:15 Mittwoch, 23.Januar 2013 Betreff: Re: OSS and ALSA I noticed, that the OSS4 plugin also workes without the oss4 dependency. Can someone please try this as well? - deinstall audacious-plugins - deinstall oss4 - change audacious-plugins/Makefile and comment out the oss4 BUILD_DEPENDENCY - install audacious-plugins - start audacious for me it works... please some more tests. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OSS and ALSA
The audacious-plugins on my system were build with NOTIFY, OSS4 and PULSE disabled, anything else was enabled. # cd /usr/ports/multimedia/audacious-plugins ; make deinstall === Deinstalling for multimedia/audacious-plugins === Deinstalling audacious-plugins-3.3.3 pkg_delete: file '/usr/local/lib/audacious/General/mtp_up.so' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/audacious/General' pkg_delete: unable to completely remove directory '/usr/local/lib/audacious/Input/amidi-plug' pkg_delete: unable to completely remove directory '/usr/local/lib/audacious/Input' pkg_delete: unable to completely remove directory '/usr/local/share/doc/audacious-plugins' pkg_delete: couldn't entirely delete package `audacious-plugins-3.3.3' (perhaps the packing list is incorrectly specified?) # mcedit Makefile #.if ${PORT_OPTIONS:MOSS4} #BUILD_DEPENDS+= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:${PORTSDIR}/audio/oss #PLIST_SUB+=OSS4PLUGIN= #CONFIGURE_ARGS+=--enable-oss4 #.else #PLIST_SUB+=OSS4PLUGIN=@comment #CONFIGURE_ARGS+=--disable-oss4 #.endif # make install clean [snip] === Registering installation for audacious-plugins-3.3.3 === Cleaning for audacious-plugins-3.3.3 $ audacious ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error However, using jackd it does play still ok. When I switched to SDL output, the sound became louder and muddy, but it's still ok. When I switched to OSS4 output, the sound is equal to SDL, perhaps it does sound different to jackd (using OSS), regarding to the loudness. For ALSA the terminal output continued with ALSA lib ctl_oss.c:408:(_snd_ctl_oss_open) Cannot get mixer info for device /dev/mixer alsa: snd_mixer_attach failed: Invalid argument. ALSA lib ctl_oss.c:408:(_snd_ctl_oss_open) Cannot get mixer info for device /dev/mixer It does work, but plays with chattering gaps, the same effect when using zynaddsubfx by jackd using OSS, when I chose ADAT, but now I used the analog IOs only. This effect can differ, sometimes it's more like noise, for ADAT I experienced the noise like sound only for this synaddsubfx test. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. For file writer plugin an error window displays: Cannot open /home/musicpd/music/piano2-1.wav: Permission denied. Hth, Ralf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Setuid binaries and File Ownerships in FreeBSD9.0
On 01/23/2013 02:26 PM, Martin McCormick wrote: The executable in question is a C program whos file permissions are 4755 and the file belongs to root so all files it opens are also owned by root and that works properly, but what I need is for this application to first open a few files owned by the caller and then later, upgrade back to root and write to files the caller can not write to. I was hoping to avoid using chown and chgrp and simply let the privilege level of the application dictate ownership of any file it opens. When the application first runs, it gets the UID and GID of the user and uses setuid(heruid); and setgid(hergid); to temporarily downgrade and those files are owned by the right user but setuid(0); doesn't appear to upgrade back to root. Is there any other strategy that gets one back to root short of using chown and then a system call and never downgrading privilege? seteuid(2) ? Alternately, open the privileged files before dropping root; you should still be able to write to them afterwards. -- Fuzzy love, -CyberLeo Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
problem with espeak
Is anyone successfully using espeak? I have the following installed: espeak-1.46.02_1 A software speech synthesizer /usr/local/lib/compat/pkg/libespeak.so.1.1.46 /usr/local/lib/libespeak.a /usr/local/lib/libespeak.so /usr/local/lib/libespeak.so.1 /usr/local/lib/libespeak.so.1.1.46 ls -l /usr/local/share/espeak total 4 drwxr-xr-x 6 root wheel 1024 Dec 11 22:17 espeak-data # mixer Mixer vol is currently set to 62:62 Mixer pcm is currently set to 100:100 Mixer speaker is currently set to 74:74 Mixer line is currently set to 50:50 Mixer mic is currently set to 67:67 Mixer mix is currently set to 74:74 Mixer rec is currently set to 35:35 Mixer igainis currently set to 0:0 Mixer ogainis currently set to 100:100 Recording source: mic All sound is working normally, however when I try espeak This is a test nothing is heard. Thanks in advance for any help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: OSS and ALSA
Hi Ralf, the idea was to only comment out BUILD_DEPENDS+= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:${PORTSDIR}/audio/oss not the whole OSS4 block ;) But Ma Ralf Mardorf ralf.mard...@rocketmail.com wrote: The audacious-plugins on my system were build with NOTIFY, OSS4 and PULSE disabled, anything else was enabled. # cd /usr/ports/multimedia/audacious-plugins ; make deinstall === Deinstalling for multimedia/audacious-plugins === Deinstalling audacious-plugins-3.3.3 pkg_delete: file '/usr/local/lib/audacious/General/mtp_up.so' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/lib/audacious/General' pkg_delete: unable to completely remove directory '/usr/local/lib/audacious/Input/amidi-plug' pkg_delete: unable to completely remove directory '/usr/local/lib/audacious/Input' pkg_delete: unable to completely remove directory '/usr/local/share/doc/audacious-plugins' pkg_delete: couldn't entirely delete package `audacious-plugins-3.3.3' (perhaps the packing list is incorrectly specified?) # mcedit Makefile #.if ${PORT_OPTIONS:MOSS4} #BUILD_DEPENDS+= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:${PORTSDIR}/audio/oss #PLIST_SUB+=OSS4PLUGIN= #CONFIGURE_ARGS+=--enable-oss4 #.else #PLIST_SUB+=OSS4PLUGIN=@comment #CONFIGURE_ARGS+=--disable-oss4 #.endif # make install clean [snip] === Registering installation for audacious-plugins-3.3.3 === Cleaning for audacious-plugins-3.3.3 $ audacious ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error ERR: bio2jack.c::releaseDriver(353) lock returned an error However, using jackd it does play still ok. When I switched to SDL output, the sound became louder and muddy, but it's still ok. When I switched to OSS4 output, the sound is equal to SDL, perhaps it does sound different to jackd (using OSS), regarding to the loudness. For ALSA the terminal output continued with ALSA lib ctl_oss.c:408:(_snd_ctl_oss_open) Cannot get mixer info for device /dev/mixer alsa: snd_mixer_attach failed: Invalid argument. ALSA lib ctl_oss.c:408:(_snd_ctl_oss_open) Cannot get mixer info for device /dev/mixer It does work, but plays with chattering gaps, the same effect when using zynaddsubfx by jackd using OSS, when I chose ADAT, but now I used the analog IOs only. This effect can differ, sometimes it's more like noise, for ADAT I experienced the noise like sound only for this synaddsubfx test. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 7168. alsa: snd_pcm_recover failed: Unknown error: 6144. alsa: snd_pcm_recover failed: Unknown error: 7168. For file writer plugin an error window displays: Cannot open /home/musicpd/music/piano2-1.wav: Permission denied. Hth, Ralf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org