pulseaudio RTP Streaming problem on X11 Desktop
hi, I use the OpenBSD 5.9 amd64 snapshots. and XDM Remote Deskop using is marvelous for OpenBSD. Now I have any problem.(I want use audio streaming for firefox.) I tried to use pulseaudio. but couldn't work it. #/etc/ttys(accept ttyC0 only) ttyC0 "/usr/libexec/getty std.9600" vt220 on secure #/etc/X11/xdm/Xservers :0 foregin :0 #~/.pulse/default.pa load-module module-native-protocol-tcp auth-anonymous=1 load-module module-native-protocol-unix load-module module-suspend-on-idle timeout=1 #~/.pulse/daemon.conf exit-idle-time = -1 1.run pulseaudio [ttyp0]#pulseaudio - W: [(null)] main.c: This program is not intended to be run as root (unless --system is specified). D: [(null)] core-util.c: setpriority() worked. I: [(null)] core-util.c: Successfully gained nice level -11. I: [(null)] main.c: This is PulseAudio 8.0 D: [(null)] main.c: Compilation host: x86_64-unknown-openbsd5.9 D: [(null)] main.c: Compilation CFLAGS: -O2 -pipe -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option D: [(null)] main.c: Running on host: OpenBSD amd64 5.9 GENERIC.MP#1983 D: [(null)] main.c: Found 4 CPUs. I: [(null)] main.c: Page size is 4096 bytes D: [(null)] main.c: Compiled with Valgrind support: no D: [(null)] main.c: Running in valgrind mode: no D: [(null)] main.c: Running in VM: no D: [(null)] main.c: Optimized build: yes D: [(null)] main.c: FASTPATH defined, only fast path asserts disabled. I: [(null)] main.c: Machine ID is b06e5d02cf33f06492d9b3a154934270. I: [(null)] main.c: Using runtime directory /root/.pulse/b06e5d02cf33f06492d9b3a154934270-runtime. I: [(null)] main.c: Using state directory /root/.pulse. I: [(null)] main.c: Using modules directory /usr/local/lib/pulse-8.0/modules. I: [(null)] main.c: Running in system mode: no I: [(null)] main.c: System appears to not support high resolution timers D: [(null)] memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472 D: [(null)] memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472 I: [(null)] cpu-x86.c: CPU flags: SSE3 SSSE3 SSE4_1 SSE4_2 MMXEXT 3DNOWEXT W: [(null)] socket-util.c: IP_TOS failed: Invalid argument I: [(null)] module.c: Loaded "module-native-protocol-tcp" (index: #0; argument: "auth-anonymous=1"). I: [(null)] module.c: Loaded "module-native-protocol-unix" (index: #1; argument: ""). I: [(null)] module.c: Loaded "module-suspend-on-idle" (index: #2; argument: "timeout=1"). D: [(null)] dbus-util.c: Successfully connected to D-Bus session bus 680246337c1b89695cadb60257291201 as :1.14 D: [(null)] main.c: Got org.PulseAudio1! D: [(null)] main.c: Got org.pulseaudio.Server! I: [(null)] main.c: Daemon startup complete. 2.run pactl [ttyp1]#pactl load-module module-null-sink sink_name=rtp 3 [ttyp0] I: [(null)] client.c: Created 0 "Native client (UNIX socket client)" D: [(null)] protocol-native.c: Protocol version: remote 30, local 30 D: [(null)] protocol-native.c: SHM possible: yes D: [(null)] protocol-native.c: Negotiated SHM: yes D: [(null)] srbchannel.c: SHM block is 65472 bytes, ringbuffer capacity is 2 * 32712 bytes D: [(null)] protocol-native.c: Failed to create srbchannel I: [(null)] sink.c: Created sink 0 "rtp" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right I: [(null)] sink.c: device.description = "Null Output" I: [(null)] sink.c: device.class = "abstract" I: [(null)] sink.c: device.icon_name = "audio-card" I: [(null)] source.c: Created source 0 "rtp.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right I: [(null)] source.c: device.description = "Monitor of Null Output" I: [(null)] source.c: device.class = "monitor" I: [(null)] source.c: device.icon_name = "audio-input-microphone" D: [null-sink] module-null-sink.c: Thread starting up D: [(null)] module-suspend-on-idle.c: Sink rtp becomes idle, timeout in 1 seconds. I: [(null)] module.c: Loaded "module-null-sink" (index: #3; argument: "sink_name=rtp"). I: [(null)] client.c: Freed 0 "pactl" I: [(null)] protocol-native.c: Connection died. I: [(null)] module-suspend-on-idle.c: Sink rtp idle for too long, suspending ... D: [(null)] sink.c: Suspend cause of sink rtp is 0x0004, suspending D: [(null)] core.c: Hmm, no streams around, trying to vacuum. 3.run pactl [ttyp1]#pactl load-module module-rtp-send source=rtp.monitor Failure: Module initialization failed [ttyp0] I: [(null)] client.c: Created 1 "Native client (UNIX socket client)"
ftp.openbsd.org was down
I tried connect to ftp.openbsd.org ftp -V ftp://ftp.openbsd.org/ ftp: connect: Connection refused ftp: Can't connect or login to host `ftp.openbsd.org'
Raspberrypi 3 was released
http://blog.pimoroni.com/raspberry-pi-3/ http://releasd.com/71c7 https://www.raspberrypi.org/downloads/ https://marc.info/?l=openbsd-misc=135109423420456=2 https://marc.info/?l=openbsd-misc=132788027403910=2
Re: how to mount encription volume
Thanks for good messages! Example A: Create encryption volume and decryption by bioctl bioctl -c C -l /dev/sd0a softraid0 Example B: Create encryption volume and decryption by vnconfig vnconfig -ck vnd0 /dev/sd0a almost I use Example C: dd if=/dev/urandom of=.vnode bs=512M count=1 vnconfig -ck vnd0 .vnode newfs vnd0c mount /dev/vnd0c /mnt umount /mnt vnconfig -u vnd0 softraid encryption needs bioctl. bioctl needs device name with disklabel. Example D: dd if=/dev/urandom of=.vnode.bio bs=512M count=1 vnconfig -ck vnd0 .vnode.bio #actually no needs encrytion echo -n "a d\n0\n512M\nRAID\np\nw\nq" | disklabel -E vnd0 bioctl -c C -l vnd0d softraid0 #softraid0: CRYPTO volume attache as sd2 newfs /dev/rsd2c #it will be make other disklabel on sd2 dd if=/dev/zero of=/dev/sd2c bs=32k echo -n "a e\n0\n256M\n4.2BSD\np\nw\nq" | disklabel -E sd2 echo -n "a i\n\n\nMSDOS\np\nw\nq" | disklabel -E sd2 newfs sd2e newfs_msdos -F 32 sd2i mount /dev/sd2e /mnt mount_msdos /dev/sd2i /mnt2 umount /mnt2 umount /mnt bioctl -d sd2 vnconfig -u vnd0 The OpenBSD "Full disk encryption" is actually no need tinking as Air. And Any people (like a Rookie) didn't know how to solve the problems. Who forget or confuse it. Need good suggestion. in this case, I could get a good sugguestion.
how to mount encription volume
hi, I use the bioctl encryption on boot volume. example A: fdisk -iy sd0 echo -n "a a\n64\n\nRAID\np\nw\nq\n\n" |disklabel -E sd0 bioctl -c C -l /dev/sd0a softraid0 then, OpenBSD detect sd1 and I install the OpenBSD on sd1a. It's OK. X and any process are running on these drive[call A:]. I have problem. I tried mount this dirve[A:] on other OpenBSD machine. (other OpenBSD machine uses drive wd0a[call B:]) but, I can't mount the encrytion volume[A:]. example B: vnconfig -ck vnd0 /dev/sd0a Encryption key:[any words] vnconfig -l vnd0: covering /dev/sd0a on wd0a, inode [any number] mount /dev/vnd0a /mnt mount_ffs: /dev/vnd0a on /mnt: Device not configured any ideas?
Why?Add vmm(4). It is disabled by default.
Add vmm(4). It is disabled by default. How do I enable the /dev/vmm0 on OpenBSD5.9? config -e -f /bsd config -e -f /bsd.mp now we could comment out any line and compile GENERIC|GENERIC.MP kernel.
partitioning problem!!! exist 4.2BSD with NTFS/MSDOS partition on same volume.
exist 4.2BSD with NTFS/MSDOS partition on same volume. it will be destroy the which partition's file data. Any time I get the scary and creepy this situation. *example 4.2BSD with NTFS 1.formatting SATA HDD on OpenBSD: newfs sd1c 2.formatting same HDD on Windows: 3.check the partition: disklabel sd1c #size offset fstype [fsize bsize cpg] c:0 4.2BSD 2048 1 fdisk sd1c #: id C H S - C H S [ start:size ] --- 0: 07 0 - [2048:] NTFS 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 4.change the disklabel: disklabel -E sd1c D p #size offset fstype [fsize bsize cpg] c:0 unused i: 2048NTFS w q 5.It can mounting sd1c and sd1i on OpenBSD mount /dev/sd1c /mnt/4.2BSD/OpenBSD mount /dev/sd1i /mnt/ntfs/OpenBSD ntfs-3g -o ro /dev/sd1i /mnt/ntfs/fuse 6.It can mounting on Windows 7.How to delete(dis mounting) the which partition.
Re: satellite/terrestrial capture board
FreeBSD: https://www.freebsd.org/cgi/man.cgi?query=friio=4=0=FreeBSD+Ports+9.0-RELEASE http://defis-a.blogspot.com/2012/05/freebsd83pt2.html http://gato.intaa.net/freebsd/memo/pt2 https://github.com/yamajun/fbsdpt3 https://github.com/Piro77/fbsdpt3 http://d.hatena.ne.jp/bsdaemon/ Linux: http://rokugadelinux.wiki.fc2.com/ http://frmmpgit.blog.fc2.com/blog-entry-179.html http://blog.browncat.org/2010/08/friiotsmaclinuxffmpegmp4box.html http://eco.senritu.net/usbboot_ubuntu_pt3_epgrec_una_minidlna_kvm/ PT1/2 driver: wget http://hg.honeyplanet.jp/pt1/archive/38a793ac3d9d.tar.bz2 tar jxf 38a793ac3d9d.tar.bz2 cd pt1-38a793ac3d9d/driver/ make make install PT1/2 with record program: wget http://hg.honeyplanet.jp/pt1/archive/c44e16dbb0e2.tar.bz2 tar xf c44e16dbb0e2.tar.bz2 cd pt1-c44e16dbb0e2/arib25/ ./autogen.sh ./configure --enable-b25 make make install Friio: https://github.com/stz2012/recfriio
satellite/terrestrial capture board
recently I went to Japan in Akihabara. my aim is make Japanese Animation Environment! I bought any PCI/PCI Express cards. (Steins;Gate mayusee's figure too.) I tried on the OpenBSD. but didn't work these devices. FreeBSD was already exist these drivers. http://earthsoft.jp/ PT1: ISDB-S,ISDB-T PCI card PT2: ISDB-S,ISDB-T PCI card PT3: ISDB-S,ISDB-T PCI Express card http://www.plex-net.co.jp/product/pxw3pe_feature.html PX-W3PE: ISDB-S,ISDB-T PCI Express card http://www.plex-net.co.jp/product/pxq3pe_feature.html PX-Q3PE: ISDB-S,ISDB-T PCI Express card http://www.tbsdtv.com/ tbs6922: DVB-S2 PCI card tbs6981: DVB-S2 PCI Express card tbs6982: DVB-S2 PCI Express card tbs6984: DVB-S2 PCI Express card tbs6985: DVB-S2 PCI Express card TBS5922: DVB-S2 USB device http://www.friio.com/ Friio: ISDB-T USB device Friio BS/CS: ISDB-S USB device Friio Express: ISDB-T USB device Friio Sky: ISDB-T,DVB-S2 USB device
Re: vmmctl and vmd problem
26 Nov 2015 at 21:10:06, Norman Goliszwrote: This is expected. vmm(4) is not yet enabled in the default kernel configuration. Thanks for your hints:) I tried "config -e -f /bsd", then "list" & "find vm". no result, OpenBSD amd64 snapshots in 28 Nov 2015. vmm, vmd, vmmctl on snapshots, and "man vmd" said "vmd_flags=" in "/etc/rc.conf.local". but, "/etc/rc.conf" and "/etc/rc" didn't in these codes. :< I should be compile the kernel "-current" ?
Re: can't boot from USB3.0 flash memory
On 27 November 2015 at 12:31:32, Ville Valkonenwrote: Thanks for your good hints:) some laptop pc have this problem :< into BIOS setup. disable wifi and any section. it'll be this problem has come:< Lenovo G50-80, Fujitsu LifeBook, and any Now. Just, I check up run OpenBSD on any user's laptop PC. HP machines too. to some people. OpenBSD is greatest Operating System. but OpenBSD have some problems.(no security hole) manula is almost good. but, some same problem issues didn't share on. mailing list is good means. but latest machine problems are stacked and no improvement. who makes driver or good improvement. but beginer and newest user didn't know how to get answer. dmesg is no answer. who get kernel panic... "how to get debuging..." (these todo couldn't get answer...) some mailing list responses are like "read man" "man 4 ..." :< and get no answer... if "no answer", say "no answer" or "I don't know". problem must store and announcement. Just my complaint. Theo de raadt is greatest programer. I love him.
startx fail on Lenovo G50-80 amd64
I installed OpenBSD 5.8 on USB flash memory. It's fine:) Then Lenovo G50-80 could booting. but, startx fail and xdm was fail. 1.background is blank(black) screen, mouse icon(X and arrow) couldn't move. 2.XDM: put username and password on keyborad. can login. 3.X will draw window manager's background, but behave was strange. 4.Open xterm. no drawing terminal window. just input "halt -p" on keyboard. It work. 5.couldn't get X.0.log before mailing list disscuss "startx fail on Lenovo G50-70 amd64", but no meaningful answer. dmesg|grep drm: inteldrm at pci0 dev 2 function 0 "Intel HD Graphics 5500" rev 0x09 drm0 at inteldrm0 inteldrm0: msi inteldrm0: 1366x768 wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) xorg.conf: #video driver Driver "Intel" #or "vesa" BusID "PCI:0:2:0" #screen Depth 16 #or 24 Modes "1366x768" #or "1360x768"
can't boot from USB3.0 flash memory
I have USB3.0 flash memory.(SANDISK) "OpenBSD 5.8 amd64/i386 on USB3.0" 1.USB3.0 flash memory connect to USB2.0/1.0 boot: It's fine. 2.USB3.0 flash memory connect to USB3.0 boot: can't boot! anyone don't need boot from USB3.0?
vmmctl and vmd problem
/etc/rc.conf.local: vmd_flags="" /etc/vmm.conf vm "vm1.example.com" { memory 512M interfaces 1 disk "/dev/sd0a" #usb flash memory kernel "/bsd" } check vmm devices: ls /dev/vmm* /dev/vmm dmesg|grep vmm vmm0 at mainbus0: initialized vmm0: 4 VMX capable CPU(s), 4 are EPT capable cd /dev ./MAKEDEV vmm0 vmm0: unknown device run vmmctl and vmd: vmmctl enable vmmctl: connect: /var/run/vmd.sock: No such file or directory vmd -v fatal in vmd: can't open vmm device node /dev/vmm: Device not configured
pkg_mgr will crash
pkg_mgr will eating memory. when push [s] for search. [s] search pkg_mgr use the perl script.
How to test radius server
I read the /etc/npppd/npppd.conf It's ok. except radius:) "man npppd.conf" say: authentication RADIUS type radius { username-suffix "@example.com" authentication-server { address 192.168.0.1 secret "hogehoge" } } then, I couldn't find /etc/radiusd.conf I check the "man -k radius". "man radiusd.conf" say: client 192.168.0.0:/24 { secret "secret" msgauth-required yes } module set radius "secret" "testing123" Wow, I must chenge the npppd.conf and radiusd.conf. 1. npppd.conf: authentication-server { address 192.168.0.1 secret "hogehoge" } radiusd.conf: client 192.168.0.0:/24 { secret "secret" msgauth-required yes } module set radius "secret" "hogehoge" 2. npppd.conf: authentication-server { address 192.168.0.1 secret "hogehoge" } radiusd.conf: client 192.168.0.0:/24 { secret "secret" msgauth-required yes } module set radius "hogehoge" "testing123" where is in username... It didn't to see... easy to understanding by "man npppd.conf" "man radiusd.conf". these exanmple aren't reciprocal. good manual is "to see one time, can do it!"
ePDFView was coming back!
ePDFView was removed on ports. now, ePDFView was coming back! http://www.linuxfromscratch.org/blfs/view/svn/pst/epdfview.html http://anduin.linuxfromscratch.org/BLFS/epdfview/epdfview-0.1.8.tar.bz2
The OpenBSD wacom CTH480 and any drivers
hi everyone! recently we use the OpenBSD! it so fine, but we couldn't use the any devices. Our organization will to be use the OpenBSD. when OpenBSD have CTH480 and any drivers. Now our organization have competition for the desktop and server. If our organization select the OpenBSD. We will donate. I use the OpenBSD in 1998. I love Theo de Raadt. our organization need easy to install and short installation. and good security solution. we don't need MS Windows and MS applications. Just need good security for the work. Drawing the illustration. and stock the big image on the server. if OpenBSD's ports have zfs-fuse. almost people will select the OpenBSD. FAT filesystem have compatibility for the other Operating systems. but, couldn't use use big data.(NTFS and exFAT is suck.) almost Linux user use the ext[2-4]fs by default. any Linux user need raid system and compatibility. Now, System engineer watch the OpenBSD. because OpenBSD have good solution. They want to use OpenBSD. but, OpenBSD have restriction. I know OpenBSD have the strict policy. and couldn't include any licences. (I found CDDL and GPL is suck.) anybody want to change the Linux and Windows to OpenBSD, but, OpenBSD didn't have compartible filesystem. (I know OpenBSD have original raid filesystem. and I use it. I say just compartibility.) OpenBSD is good solution. And we gratitude OpenBSD's programers. best Regards.