Re: SU+J Lost files after a power failure
On 14.10.2013 14:39, RW wrote: On Mon, 14 Oct 2013 05:02:22 -0400 Michael Powell wrote: David Demelier wrote: Hello there, I'm writing because after a power failure I was unable to log in on my FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some files disappeared, including /etc/pwd.db. Thus I was unable to log in. I've been able to regenerate the password database with a live cd but I'm afraid that more files had disappeared somewhere else... I think this is a serious issue, the journal should not truncate files, so something should have gone wrong somewhere.. The journalling in SU+J has nothing to do with data integrity. When the system isn't shut-down cleanly, soft-updates are supposed to leave the filesystem in a self-consistent state, except that it may lose track of some freed disk space. The journal allows that space to be recovered without the lengthy background fsck that used to cripple performance. If you are having problems with data integrity you might try gjournal or zfs instead. Why? SU+J is enabled by default. Isn't the purpose of a journaled file system to ensure that any bad shutdown will protect data? On GNU/Linux, on Windows you will not require anything else to recover your data. I don't want to tweak the filesystem or use something different that the default, as it is the default it's the *warranty* that it is the correct way to protect data for new FreeBSD user's installations IMHO. If you look back at the lists before these were added there was a lot of suspicion about soft-updates and background checks. Some of the problems were explained by some (mostly desktop) drives incorrecty reporting what has been commited to disk - I don't know whether this is still the case. This error about the replay of the journal(s) failing is somewhat disconcerting. I think this is probably a good thing. With background checks you would (if you were looking) occasionally see unexpected soft-update inconsistency during the background check, which would lead to a foreground check on the next boot. ___ 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: SU+J Lost files after a power failure
On 14.10.2013 20:08, RW wrote: On Mon, 14 Oct 2013 18:34:36 +0200 David Demelier wrote: On 14.10.2013 14:39, RW wrote: If you are having problems with data integrity you might try gjournal or zfs instead. Why? SU+J is enabled by default. Isn't the purpose of a journaled file system to ensure that any bad shutdown will protect data? SU+J isn't a journalled filesytem, it's a filesystem with soft-updates that journals information about free space so it can be recovered without having to go through the whole filesystem. Okay, but why the fsck didn't run by itself to detect that the journal didn't replayed correctly (if I understanding well) to correct the issues? ___ 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: SU+J Lost files after a power failure
On 14.10.2013 18:47, Adam Vande More wrote: There is no *warranty* as explicitly stated in http://www.freebsd.org/copyright/freebsd-license.html Aha, please don't play on words ;-). I think you understood I was speaking about the filesystem state not a lawyer issue. ___ 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: SU+J Lost files after a power failure
On 14.10.2013 20:43, Adam Vande More wrote: On Mon, Oct 14, 2013 at 1:33 PM, CeDeROM cede...@tlen.pl mailto:cede...@tlen.pl wrote: Thank you for explaining :-) So it looks that it would be sensible to force filesystem check every n-th mount..? Please explain the logic in which this helps anything. Or to do a filesystem check after crash..? Already standard behavior as implicitly seen in this thread. Are there any flags like that to mark filesystem unclean and to force fsck after n-th mount? No and any fs that requires such a system is broken by design. That would assume disabling journal and soft updates journaling I guess..? What would be the best option for best data integrity in case of crash? mount -o sync or use ZFS. Both require hardware that correctly report success to fsync. I personnally love ZFS and use it massively on my server, but for a desktop I think this is a real overkill. Also I don't have so much RAM to waste for that. I think UFS is enough, however as a modern operating system I don't expect any data corruption by default using SU+J. The filesystem domain is not a thing I really know deeply, so thanks for all you explanation. PS: the power failure is not the only way that does not shutdown cleanly the system. There are kernel panics, crash and such of course. Those which appears sometimes too. Regards, ___ 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
SU+J Lost files after a power failure
Hello there, I'm writing because after a power failure I was unable to log in on my FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some files disappeared, including /etc/pwd.db. Thus I was unable to log in. I've been able to regenerate the password database with a live cd but I'm afraid that more files had disappeared somewhere else... I think this is a serious issue, the journal should not truncate files, so something should have gone wrong somewhere.. Any ideas? Should I open a PR? Regards, ___ 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: SU+J Lost files after a power failure
On 13.10.2013 12:16, CeDeROM wrote: On 13 Oct 2013 11:30, David Demelier demelier.da...@gmail.com mailto:demelier.da...@gmail.com wrote: Hello there, I'm writing because after a power failure I was unable to log in on my FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some files disappeared, including /etc/pwd.db. Thus I was unable to log in. I've been able to regenerate the password database with a live cd but I'm afraid that more files had disappeared somewhere else... I think this is a serious issue, the journal should not truncate files, so something should have gone wrong somewhere.. Any ideas? Should I open a PR I had similar issues somewhere around 9.0 - although journal check was fine running fsck revealed filesystem inconsistency. I have reported this on the list, but it seemed unnoticed..? For me this is serious issue as well, if you make PR I will give +1 :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info Yes, I've also ran fsck in single user mode after and lot of incorrect things were corrected, I wait a bit for answers (if any) before sending a PR. Cheers, ___ 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
Adoble Flash troubles on 9.2-RELEASE
Hi, The current linux-f10-flashplugin-11.2r202.310 version has some troubles on my machine (with Firefox). Sometimes, when a flash component is displayed and you scroll a bit the window the flash break and goes grey, you're forced to reload the page. I'm using the Intel new KMS driver if that matters, note that it never happened on my 9.1-RELEASE. Is anyone having a similar issue? Regards, 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: Adoble Flash troubles on 9.2-RELEASE
On 12.10.2013 11:02, Ralf Mardorf wrote: If you really need to visit sites that need Adobe Flash, you perhaps should use the google-chrome browser. For some websites with flash content, we don't need flash anymore, just modern HTML5 capable web browsers. For *nix there never will be a current version for flashplayer again. Yes I know that adobe flash player for *nix is gone but I'm guessing why it worked well so much before.. I don't like much chrome but I'll give a try to see. Thanks for the hint! ___ 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: problem with stoping process
On 15.12.2011 20:00, Коньков Евгений wrote: I am trying to stop process /usr/local/etc/rc.d/radiusd top Stopping radiusd. Waiting for PIDS: 27618 top 27618 freeradius2 20 -20 333M 295M STOP0 4:42 0.00% radiusd ps aux freeradius 27618 0.0 7.4 341144 302528 ?? TLs Fri05AM 685:27.16 /usr/local/sbin/radiusd nothing is happen Why process do not stop? Does it stops when you kill it by hand with kill -15 27618? 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
Unban my second address from the mailing list
Hi, A long time ago, my domain malikania.fr has been banned because of lot bounces, now the server is working and running. I sometime send some PR directly from my server using this domain, thus I would like to be unbanned (the mail wasn't sent and postfix was saying that my domain is forbidden...). Can you unban my domain please? If I don't post to the good mailing-list, just le me know. Regards, ___ 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: rctl within jail
On 22.09.2013 15:45, Fbsd8 wrote: David Demelier wrote: Hello there, I wanted to use rctl within a jail to add more fine grained setting for some users, and default ones to. But it does not seem to work. Is it supported? Do we need to add a special flag to the jail creation? # rctl -a loginclass:default:maxproc:deny=30 rctl: rctl_add_rule: Operation not permitted Regards, David The rctl command is brand new. It does not have a group of users yet, so that is why you have not received any replies to your post. As far as I know you can not issue the rctl command from within the running jail. The rctl command is issued on the HOST only. You can apply rules to an entire jail if you want to, for example; to limit the amount of memory a jail can use: # rctl -a jail:jailname:memoryuse:deny=1G (where jailname is the name of your jail). This would make sure the jail can't use more than (approximately) 1 gigabyte of memory. To enable rctl on the host, you need to compile a custom kernel that contains the following 2 parameters; options RACCT options RCTL Yes, I will also post a PR for this because no manpage is saying that you requires this on your kernel. I will provide a new manpage and a bit more documentation. I think your rctl command would look like this when issued from the host rctl -a jail:jailname:loginclass:default:maxproc:deny=30 What I really want, is to avoid users to spawn too much processes (aka fork bombs). But if I apply to the jail directly, it also apply to the services jails, which is a bit not wanted. Regards, 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: Unban my second address from the mailing list
On 22.09.2013 22:02, Julian H. Stacey wrote: David Demelier wrote: Hi, A long time ago, my domain malikania.fr has been banned because of lot bounces, now the server is working and running. I sometime send some PR directly from my server using this domain, thus I would like to be unbanned (the mail wasn't sent and postfix was saying that my domain is forbidden...). Can you unban my domain please? If I don't post to the good mailing-list, just le me know. No, it's not correct to mail the list for this. For list specific issues: Most lists on Internet use conventions of owner-LISTNAME@ or LISTNAME-owner@ (often admins alias one to the other so both work), so if you get a bounce, mail the other) http://lists.freebsd.org/mailman/listinfo/freebsd-questions also lists: moderators at freebsd.org But in this case as it's a domain issue, mail postmas...@freebsd.org Cheers, Julian Okay thanks, I'll forward the original message ! Regards, ___ 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
rctl within jail
Hello there, I wanted to use rctl within a jail to add more fine grained setting for some users, and default ones to. But it does not seem to work. Is it supported? Do we need to add a special flag to the jail creation? # rctl -a loginclass:default:maxproc:deny=30 rctl: rctl_add_rule: Operation not permitted Regards, 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: What's happening to my asciidoc?
On 06.09.2013 22:52, Warren Block wrote: On Fri, 6 Sep 2013, David Demelier wrote: 2013/9/6 Warren Block wbl...@wonkity.com: asciidoc \ -a data-uri \ -a icons \ -a iconsdir=/usr/local/etc/asciidoc/images/icons \ -d article \ -a stylesheet=~/docs/stylesheets/wb-html.css \ -a toc \ -a revdate=2013-09-05 \ -a year=2013 \ -a max-width=80em \ pxe.txt That stylesheet is just my changes to the default, which change the link visited color from pink to red and add rounded corners to listing blocks. Did you touch the asciidoc configuration ? For me it seems to work *only* if I use html5 backend, otherwise it produces this: http://www.demelierdavid.fr/article.html. Not that I recall, and pkg-info -g asciidoc-8.6.8_1 does not show anything. I've found the problem but can't fix it. The xhtml11.conf is the copy of wordpress.conf. I've sent a PR: ports/181869 Note that this only happen when I use pkgng + poudriere. Regards, ___ 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: What's happening to my asciidoc?
2013/9/6 Warren Block wbl...@wonkity.com: On Thu, 5 Sep 2013, Warren Block wrote: On Thu, 5 Sep 2013, David Demelier wrote: Hi, I've been using asciidoc for a while, I've updating it to asciidoc-8.6.8_1. But now I can't generate any correct documentation. It does not even add :toc: field. For instance the following example should generate a HTML with its popular blue theme : Test === :Author: David :toc: = Title Some data == Title 2 Some data For me, it produces a very light HTML file with no table of content and everything is black, I also notice that it does not append any CSS code. Does anyone already have this issue? It's working for me, I used it last night. Here is the command I use (generated from a Makefile), broken into separate lines: asciidoc \ -a data-uri \ -a icons \ -a iconsdir=/usr/local/etc/asciidoc/images/icons \ -d article \ -a stylesheet=~/docs/stylesheets/wb-html.css \ -a toc \ -a revdate=2013-09-05 \ -a year=2013 \ -a max-width=80em \ pxe.txt That stylesheet is just my changes to the default, which change the link visited color from pink to red and add rounded corners to listing blocks. Did you touch the asciidoc configuration ? For me it seems to work *only* if I use html5 backend, otherwise it produces this: http://www.demelierdavid.fr/article.html. Cheers, -- Demelier 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
What's happening to my asciidoc?
Hi, I've been using asciidoc for a while, I've updating it to asciidoc-8.6.8_1. But now I can't generate any correct documentation. It does not even add :toc: field. For instance the following example should generate a HTML with its popular blue theme : Test === :Author: David :toc: = Title Some data == Title 2 Some data For me, it produces a very light HTML file with no table of content and everything is black, I also notice that it does not append any CSS code. Does anyone already have this issue? Cheers, -- Demelier 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: The logo at boot (Nakatomi Socrates BSD 9.2)
On 05.09.2013 14:59, Patrick Dung wrote: On Wed, 4 Sep 2013, Lowell Gilbert wrote: Patrick Dung patrick_dkt at yahoo.com.hk writes: Do you know what is this logo means, or the story behind it? I thought the BSD daemon (logo) has been around for many years in the past. It's a movie reference (Die Hard). The Beastie logo is still there, in the /boot directory, if you want it. Or the standard orb, by setting it in /boot/loader.conf: loader_logo=orb Thanks for the info. ___ 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 Yes it's a joke for 9.2 RELEASE, some (including me) explained our disappointment about this but we must keep it for other users for surprise :) ___ 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: Updating texlive-base with portupgrade fails (sort of)
2013/8/25 Carmel carmel...@hotmail.com: Using portupgrade-devel-20130718,3 installed from the ports system, attempting to update texlive-base always ends like this: --- Build of print/texlive-base ended at: Sun, 25 Aug 2013 15:25:25 -0400 (consumed 00:11:57) --- Updating dependency info --- Modifying /var/db/pkg/texlive-full-20120701/+CONTENTS --- Upgrade of print/texlive-base ended at: Sun, 25 Aug 2013 15:25:28 -0400 (consumed 00:12:00) --- Session ended at: Sun, 25 Aug 2013 15:25:28 -0400 (consumed 00:12:19) /usr/local/lib/ruby/site_ruby/1.9/pkgtools/pkgtools.rb:828: stack level too deep (SystemStackError) I have attempted to reboot the system and then start the update process; however it doesn't make any difference. Even though it appears as if the port has been updated, when I run pkgdb -aFv, I am greeted with this: [...] Checking texlive-base-20120701_7 Checking texlive-full-20120701 Stale dependency: texlive-full-20120701 - texlive-base-20120701_8 (print/texlive-base): Disclose depends for texlive-full-20120701 --- Modifying /var/db/pkg/texlive-full-20120701/+CONTENTS Fixed. (- texlive-base-20120701_7) [...] This is the only package that portupgrade seems to be chocking on. I used portupgrade to initially install the complete texlive package, so I am not sure why it is suddenly have problems. -- Carmel carmel...@hotmail.com ___ 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 I don't understand why people try to reboot to fix problems, if it does not work now it will probably not after a reboot :-). Anyway, the problem seems to be located in portupgrade. I would encourage you to switch to ports-mgmt/portmaster as portupgrade is being less popular and less supported now. Cheers, -- Demelier 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: VirtualBox: reproductible panic
On 20.08.2013 11:21, Patrick Lamaiziere wrote: Le Fri, 09 Aug 2013 23:06:01 +0200, David Demelier demelier.da...@gmail.com a écrit : Hello, I can reproduce a panic by just starting a virtual machine with VirtualBox 4.2.16_2. Unfortunately, as the kmod driver is not built with debug symbols I could not provide much information. Debug symbols are in option in the port (make config) It's hard to say without a bt. Regards Yes, I finally made DEBUG symbols enabled, there is the panic backtrace: Unread portion of the kernel message buffer: Fatal trap 9: general protection fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x20:0x80b7ddb5 stack pointer = 0x28:0xff80e7d64540 frame pointer = 0x28:0xff80e7d64550 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 25056 (VirtualBox) trap number = 9 panic: general protection fault cpuid = 1 KDB: stack backtrace: #0 0x80948376 at kdb_backtrace+0x66 #1 0x8090dece at panic+0x1ce #2 0x80cf2c20 at trap_fatal+0x290 #3 0x80cf3431 at trap+0x241 #4 0x80cdc863 at calltrap+0x8 #5 0x80b7ee97 at vm_map_lookup_entry+0xb7 #6 0x80b82790 at vm_map_lookup+0x50 #7 0x80b78a6e at vm_fault_hold+0x15e #8 0x80b7b0c3 at vm_fault+0x73 #9 0x80cf2e9f at trap_pfault+0x12f #10 0x80cf36e4 at trap+0x4f4 #11 0x80cdc863 at calltrap+0x8 Uptime: 1h9m58s Dumping 459 out of 3043 MB:..4%..11%..21%..32%..42%..53%..63%..74%..81%..91% Reading symbols from /boot/kernel/if_lagg.ko...Reading symbols from /boot/kernel/if_lagg.ko.symbols...done. done. Loaded symbols for /boot/kernel/if_lagg.ko Reading symbols from /boot/kernel/if_msk.ko...Reading symbols from /boot/kernel/if_msk.ko.symbols...done. done. Loaded symbols for /boot/kernel/if_msk.ko Reading symbols from /boot/kernel/acpi_video.ko...Reading symbols from /boot/kernel/acpi_video.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi_video.ko Reading symbols from /boot/modules/vboxdrv.ko...Reading symbols from /boot/modules/vboxdrv.ko.symbols...done. done. Loaded symbols for /boot/modules/vboxdrv.ko Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from /boot/kernel/fdescfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/fdescfs.ko Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from /boot/kernel/ng_ubt.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_ubt.ko Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from /boot/kernel/ng_hci.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_hci.ko Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from /boot/kernel/ng_bluetooth.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_bluetooth.ko Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boot/kernel/netgraph.ko.symbols...done. done. Loaded symbols for /boot/kernel/netgraph.ko Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from /boot/kernel/ng_l2cap.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_l2cap.ko Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from /boot/kernel/ng_btsocket.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_btsocket.ko Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done. done. Loaded symbols for /boot/kernel/ng_socket.ko Reading symbols from /boot/kernel/pf.ko...Reading symbols from /boot/kernel/pf.ko.symbols...done. done. Loaded symbols for /boot/kernel/pf.ko Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/vkbd.ko...Reading symbols from /boot/kernel/vkbd.ko.symbols...done. done. Loaded symbols for /boot/kernel/vkbd.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko Reading symbols from /boot/kernel/radeon.ko...Reading symbols from /boot/kernel/radeon.ko.symbols...done. done. Loaded symbols for /boot/kernel/radeon.ko Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/kernel/drm.ko.symbols...done. done. Loaded symbols for /boot/kernel/drm.ko #0 doadump (textdump=value optimized out) at pcpu.h:234 234 pcpu.h: No such file or directory. in pcpu.h #0 doadump (textdump=value optimized out) at pcpu.h:234 No locals. #1 0x8090d9a6 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:449 _ep = (struct eventhandler_entry *) 0x0 _el = (struct eventhandler_list *) 0xfe0004914000 first_buf_printf = 1 #2 0x8090dea7 in panic (fmt=0x1 Address 0x1 out of bounds) at /usr/src/sys/kern
Re: sysvipc only for one jail
On 12.08.2013 19:46, Trond Endrestøl wrote: On Mon, 12 Aug 2013 14:09+0200, Trond Endrestøl wrote: On Mon, 12 Aug 2013 13:57+0200, David Demelier wrote: 2013/8/12 Trond Endrestøl trond.endres...@fagskolen.gjovik.no: On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote: 2013/8/11 Maciej Suszko mac...@suszko.eu: Maciej Suszko mac...@suszko.eu wrote: [...] You can specify different params for each jail using _parameters, for example: jail_jailname_params=allow.chflags=1 allow.sysvipc=1 Sorry, my mistake - it should be jail_jailname_parameters= of course. -- regards, Maciej Suszko. Thanks for your message, However, I could not find this setting in the manual of rc.conf(5) neither in /etc/rc.d/jail :(. It does not seems to be applied. Have a look at jail(8) and the last lines of /etc/default/rc.conf. I see, I've added what Maciej Suszko told me but the sysctls in the jail is not set as it should be : security.jail.param.allow.sysvipc: 0 security.jail.param.allow.chflags: 0 And thus, it's not enabled as postgresql tells: creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: could not create shared memory segment: Function not implemented I'll look into this by creating a new jail for PostgreSQL 9.2 when I get home. My host is running 9.2-PRERELEASE, r254150, in VirtualBox 4.2.16. The jails are running world, also at r254150. I added the following to the host's /etc/rc.conf: jail_enable=YES jail_list=postgresql jail_postgresql_rootdir=/jails/postgresql jail_postgresql_hostname=postgresql.bsd.net jail_postgresql_interface=vtnet0 jail_postgresql_fib=0 jail_postgresql_ip=10.0.2.103,2001:db8::103 jail_postgresql_exec_start=/bin/sh /etc/rc jail_postgresql_exec_stop=/bin/sh /etc/rc.shutdown jail_postgresql_devfs_enable=YES jail_postgresql_parameters=enforce_statfs=1 allow.chflags=1 allow.sysvipc=1 allow.mount=1 allow.mount.zfs=1 I added the following to the host's /etc/jail.conf: postgresql { path = /jails/postgresql; enforce_statfs = 1; allow.chflags; allow.sysvipc; allow.mount; allow.mount.zfs; mount.devfs; host.hostname = postgresql.bsd.net; ip4.addr = 10.0.2.103; ip6.addr = 2001:db8::103; interface = vtnet0; exec.start = /bin/sh /etc/rc; exec.stop = /bin/sh /etc/rc.shutdown; } PostgreSQL 9.2.4 had no problems running initdb nor running postgres inside the jail: root@freebsd-jails:/ # jexec 4 csh root@postgresql:/ # /usr/local/etc/rc.d/postgresql status pg_ctl: server is running (PID: 46623) /usr/local/bin/postgres -D /usr/local/pgsql/data root@postgresql:/ # If you start the jail manually using jail(8), then /etc/jail.conf comes into play, whereas the lines in /etc/rc.conf is used during automatic startup of the jails when the host is rebooted. The whole arrangement seems unnecessary redundant, and I truly wish this can be merged sooner rather than later. ___ 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 I've updated to 9.2-RC1 and the _parameters did the trick, thanks! Cheers, ___ 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: sysvipc only for one jail
2013/8/11 Maciej Suszko mac...@suszko.eu: Maciej Suszko mac...@suszko.eu wrote: [...] You can specify different params for each jail using _parameters, for example: jail_jailname_params=allow.chflags=1 allow.sysvipc=1 Sorry, my mistake - it should be jail_jailname_parameters= of course. -- regards, Maciej Suszko. Thanks for your message, However, I could not find this setting in the manual of rc.conf(5) neither in /etc/rc.d/jail :(. It does not seems to be applied. Cheers, -- Demelier 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: sysvipc only for one jail
2013/8/12 Trond Endrestøl trond.endres...@fagskolen.gjovik.no: On Mon, 12 Aug 2013 12:40+0200, David Demelier wrote: 2013/8/11 Maciej Suszko mac...@suszko.eu: Maciej Suszko mac...@suszko.eu wrote: [...] You can specify different params for each jail using _parameters, for example: jail_jailname_params=allow.chflags=1 allow.sysvipc=1 Sorry, my mistake - it should be jail_jailname_parameters= of course. -- regards, Maciej Suszko. Thanks for your message, However, I could not find this setting in the manual of rc.conf(5) neither in /etc/rc.d/jail :(. It does not seems to be applied. Have a look at jail(8) and the last lines of /etc/default/rc.conf. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++ I see, I've added what Maciej Suszko told me but the sysctls in the jail is not set as it should be : security.jail.param.allow.sysvipc: 0 security.jail.param.allow.chflags: 0 And thus, it's not enabled as postgresql tells: creating template1 database in /usr/local/pgsql/data/base/1 ... FATAL: could not create shared memory segment: Function not implemented Cheers, -- Demelier 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
sysvipc only for one jail
Hi, I would like to enable sysvipc only for one jail (defined in /etc/rc.conf). It's possible with jail.conf but this is not supported with jails listed in /etc/rc.conf. Is it possible without using the global jail_sysvipc_allow ? Cheers, -- Demelier 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
Question about usbhid.h and dev/usb/usbhid.h
Hi, I'm currently writing a USB driver for the SFML framework. I'm reading the code of SDL and seen the usage of usbhid. However, /usr/include/usbhid.h and /usr/include/dev/usb/usbhid.h are different. But they have both some common functions and the same data definition. For instance, enum and structures are identical, but the second one has much more #define about hid usages. Why are these files so much different and still having some identical definitions? Isn't better to add full definitions and data to the second one and just add a #include dev/usb/usbhid.h in /usr/include/usbhid.h? Regards, -- Demelier 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
VirtualBox: reproductible panic
Hello, I can reproduce a panic by just starting a virtual machine with VirtualBox 4.2.16_2. Unfortunately, as the kmod driver is not built with debug symbols I could not provide much information. Is this problem already reported? Fatal trap 9: general protection fault while in kernel mode cpuid = 1; apic id = 01 instruction pointer = 0x20:0x806f8e8f stack pointer = 0x28:0xff80e7ce0a10 frame pointer = 0x28:0x817364000 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 1854 (VirtualBox) trap number = 9 panic: general protection fault cpuid = 1 KDB: stack backtrace: Uptime: 3m9s Dumping 302 out of 3054 MB:..6%..11%..22%..32%..43%..53%..64%..74%..85%..96% Reading symbols from /boot/modules/vboxdrv.ko...done. Loaded symbols for /boot/modules/vboxdrv.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko #0 doadump (textdump=value optimized out) at pcpu.h:234 234 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump (textdump=value optimized out) at pcpu.h:234 #1 0x in ?? () Regards. -- David Demelier ___ 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 website is not up to date
Hi, There is a problem between : http://www.freebsd.org/where.html and http://www.freebsd.org/fr/where.html On the second one, 9.1-RELEASE is available for ia64 while it's not for the english version. Sorry if this is not the best lists for that question. Regards, -- Demelier 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
C++11 not working anymore with clang 3.2
Hello there, I've installed the c++ (libc++ library) like this : make -C /usr/src/lib/libcxxrt all install make CXX=clang -C /usr/src/lib/libc++ all install Then, I was able to compile with clang++ using -std=c++11 -stdlib=libc++. And now, after the clang-3.2 update I can't build anymore, I get this error: /usr/local/bin/ld: CMakeFiles/irccd.dir/Irccd.cpp.o: undefined reference to symbol '__cxa_free_exception@@CXXABI_1.3' /usr/local/bin/ld: note: '__cxa_free_exception@@CXXABI_1.3' is defined in DSO //lib/libcxxrt.so.1 so try adding it to the linker command line //lib/libcxxrt.so.1: could not read symbols: Invalid operation clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [irccd/irccd] Error code 1 I've also tried recompiling libc++ and libcxxrt with the last clang++ but it didn't help. Regards, ___ 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: Hello
2013/6/26 Mike Jeays mike.je...@rogers.com: On Wed, 26 Jun 2013 08:56:59 +1000 julius juliuscmontes...@gmail.com wrote: Which BSD for a user desktop ??!. I all ready have Linux mint but I like to try again, in the past I have use it but no luck in dual booting system with windows and I have try to follow youtube BSD users that gave instructions on the BSD and no luck. Everybody that I watch in youtube for instruction it hasn't work even loading the BSD on is own hasn't work.So which BSD for a user desktop??! Thank you -- Best Wishes Julius ___ 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 PC-BSD is a good place to start; it makes installation easy. I prefer running Windows in a VM under VirtualBox to dual-booting. Switching between the two is much faster, and you can make the host file system visible to the guest with Samba. The only drawback of this is performance. Or you have a very powerful machine :-) -- Demelier 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: Unkillable processes
2013/5/19 Joshua Isom jri...@gmail.com: On 5/19/2013 3:00 PM, David Demelier wrote: Hello there, I've had a process on state pfault and it was just unkillable, kill -9 had no effects and because the script was doing an infinite loop the machine was slower and slower so the only way to fix that was a reboot. Why kill -9 has still no effects on some bad processes? Regards, -- Demelier David A process can be unkillable if it's holding a lock, like reading from disk. Eventually, the lock will release and it should die. You can use limits to change how much CPU and memory a process can use. My guess is what happened is it started using a lot of memory, but you ran out and have a lot of swap. It was trying to run while using your hard drive instead of ram. With limits, you should be able to prevent it from using swap which could help, and cap the amount of ram and cpu. Hello, thank you for that precise explanation, I will add limits into the new rctl.conf, however I don't know how many amount of ram I should allow, in fact I have absolutely no idea how much of ram an usual program eats, is 50Mo enough for user applications ? Regards, -- Demelier 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
Unkillable processes
Hello there, I've had a process on state pfault and it was just unkillable, kill -9 had no effects and because the script was doing an infinite loop the machine was slower and slower so the only way to fix that was a reboot. Why kill -9 has still no effects on some bad processes? Regards, -- Demelier 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: /etc/jail.conf for automatically started jails listed in /etc/rc.conf
2013/5/14 Joe fb...@a1poweruser.com: David Demelier wrote: Le lundi 13 mai 2013 16:32:01 Joe a écrit : David Demelier wrote: Hello dear, Does jail.conf(5) does not work for jails listed in the rc.conf ? I've added in /etc/jail.conf: foo { hostname=Foo; path=/jails/foo; allow.sysvipc=1; } And in /etc/rc.conf only foo in the jail_list parameter, but when I try to start the jail it still complain about missing hostname. Regards, There are 2 methods for configuring jails. The legacy method which you put the jail config statements in the hosts /etc/rc.conf file and start and stop control is done by the hosts /etc/rc.d/jail script at boot time. The jail(8) method which has it's own jail config statements in the hosts /etc/jail.conf file and uses the jail(8) program for starting and stopping. You can create a jail.conf file for each jail(8) and start it using jail -c -f /etc/jailname.jail.conf and stop by issuing jail -f /etc/jailname.jail.conf -r jailname You can not mix the 2 methods. My real problem is that I wanted to add allow.sysvipc only for *one* jail and I can't find a real solution by jail_* flags in /etc/rc.conf There is jail_allow_sysvipc but it enable it for all jails. The jail(8) method does have a allow_sysvipc on a per jail basis. To use it you have to use the jail(8) method. The 9.1-RELEASE legacy method is a work in process to incorporate the jail(8) parameters into the rc.conf config statements. About the allow_sysvipc parameter, this breaks the security the jail is designed to provide and should NOT be used on any jails having public internet access. What are you trying to do that you think you need to use the allow_sysvipc parameter? PostgreSQL, usually I install it on the host instead of jails, but I needed a second instance on a different port for a public access.. Regards, -- Demelier 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: /etc/jail.conf for automatically started jails listed in /etc/rc.conf
2013/5/14 Joe fb...@a1poweruser.com: David Demelier wrote: 2013/5/14 Joe fb...@a1poweruser.com: David Demelier wrote: Le lundi 13 mai 2013 16:32:01 Joe a écrit : David Demelier wrote: Hello dear, Does jail.conf(5) does not work for jails listed in the rc.conf ? I've added in /etc/jail.conf: foo { hostname=Foo; path=/jails/foo; allow.sysvipc=1; } And in /etc/rc.conf only foo in the jail_list parameter, but when I try to start the jail it still complain about missing hostname. Regards, There are 2 methods for configuring jails. The legacy method which you put the jail config statements in the hosts /etc/rc.conf file and start and stop control is done by the hosts /etc/rc.d/jail script at boot time. The jail(8) method which has it's own jail config statements in the hosts /etc/jail.conf file and uses the jail(8) program for starting and stopping. You can create a jail.conf file for each jail(8) and start it using jail -c -f /etc/jailname.jail.conf and stop by issuing jail -f /etc/jailname.jail.conf -r jailname You can not mix the 2 methods. My real problem is that I wanted to add allow.sysvipc only for *one* jail and I can't find a real solution by jail_* flags in /etc/rc.conf There is jail_allow_sysvipc but it enable it for all jails. The jail(8) method does have a allow_sysvipc on a per jail basis. To use it you have to use the jail(8) method. The 9.1-RELEASE legacy method is a work in process to incorporate the jail(8) parameters into the rc.conf config statements. About the allow_sysvipc parameter, this breaks the security the jail is designed to provide and should NOT be used on any jails having public internet access. What are you trying to do that you think you need to use the allow_sysvipc parameter? PostgreSQL, usually I install it on the host instead of jails, but I needed a second instance on a different port for a public access.. Regards, -- Demelier David That all sounds logical and is what jails are designed to do. Why would running PostgreSQL in a jail need sysvipc? Have you tried it? Did you get some PostgreSQL error? Yes, unfortunately this is a very very old issue that has been reported so much often.. -- Demelier 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
/etc/jail.conf for automatically started jails listed in /etc/rc.conf
Hello dear, Does jail.conf(5) does not work for jails listed in the rc.conf ? I've added in /etc/jail.conf: foo { hostname=Foo; path=/jails/foo; allow.sysvipc=1; } And in /etc/rc.conf only foo in the jail_list parameter, but when I try to start the jail it still complain about missing hostname. Regards, ___ 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: /etc/jail.conf for automatically started jails listed in /etc/rc.conf
Le lundi 13 mai 2013 16:32:01 Joe a écrit : David Demelier wrote: Hello dear, Does jail.conf(5) does not work for jails listed in the rc.conf ? I've added in /etc/jail.conf: foo { hostname=Foo; path=/jails/foo; allow.sysvipc=1; } And in /etc/rc.conf only foo in the jail_list parameter, but when I try to start the jail it still complain about missing hostname. Regards, There are 2 methods for configuring jails. The legacy method which you put the jail config statements in the hosts /etc/rc.conf file and start and stop control is done by the hosts /etc/rc.d/jail script at boot time. The jail(8) method which has it's own jail config statements in the hosts /etc/jail.conf file and uses the jail(8) program for starting and stopping. You can create a jail.conf file for each jail(8) and start it using jail -c -f /etc/jailname.jail.conf and stop by issuing jail -f /etc/jailname.jail.conf -r jailname You can not mix the 2 methods. My real problem is that I wanted to add allow.sysvipc only for *one* jail and I can't find a real solution by jail_* flags in /etc/rc.conf There is jail_allow_sysvipc but it enable it for all jails. ___ 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
Firefox is so slow
Hi, I used to love firefox in the early days, when I started using Linux around 2003-2004. It was so fast. Now it's just amazing how long does it take to start. On my machine : intel i3 540, 2G of RAM and FreeBSD 9.1 it takes around 12 secondes to start. Is it so long for you too? What kind of bloat has been added so it's so big to start.. Regards, -- Demelier 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: ZFS on MBR does not boot at all
2013/4/18 David Demelier demelier.da...@gmail.com: Hello, I would like to use ZFS over MBR for multiboot purposes. I've followed that guide https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition but it does not boot at all. The loader does not show up after choosing FreeBSD in the boot0 loader. The _ prompt appears but nothing starts. I've found many people over the web having the same problem but unfortunately no one found a solution. I think the offensive commands are ones with dd and zfsboot. Regards, So someone told me on IRC that the main problem was that I've put my partition swap as first partition in the FreeBSD slice and zfsboot *requires* that the zfs partition is the first. Can someone with right access to the wiki page may add a notice about this issue on https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition please? Regards, -- Demelier 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: Firefox is so slow
2013/4/29 Roland Smith rsm...@xs4all.nl: On Mon, Apr 29, 2013 at 11:18:57AM +0200, David Demelier wrote: Hi, I used to love firefox in the early days, when I started using Linux around 2003-2004. It was so fast. Now it's just amazing how long does it take to start. On my machine : intel i3 540, 2G of RAM and FreeBSD 9.1 it takes around 12 secondes to start. Is it so long for you too? Around 2 seconds on an intel core2 quad, 4G RAM, FreeBSD 9.1 amd64. What kind of bloat has been added so it's so big to start.. When building firefox from source, I only set the GIO and OPTIMIZED_CFLAGS options to ON. All other options were set to OFF. You could try using Profile Guided Optimizations, but it will make the build a lot slower. Do you have plugins (not add-ons) like java or flash installed? Try disabling those. I had DBUS and LOGGING enabled, I also have flash installed, I will try like you with OPTIMIZED_CFLAGS and without other options to see if it helps, Thanks for the hint -- Demelier 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
ZFS on MBR does not boot at all
Hello, I would like to use ZFS over MBR for multiboot purposes. I've followed that guide https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition but it does not boot at all. The loader does not show up after choosing FreeBSD in the boot0 loader. The _ prompt appears but nothing starts. I've found many people over the web having the same problem but unfortunately no one found a solution. I think the offensive commands are ones with dd and zfsboot. Regards, -- Demelier 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
System hangs but ping when remounting read-only
Hello folks, I have a machine that runs on a compact flash so I try to mount read-only as much as possible, but when I need to do some maintainance I remount read-write with mount -u -w / It works, but when I try to remount read only the prompt never get back using mount -u -r / and the ssh does not respond anymore. I have also a serial cable and it is not accessible anymore. However pings are still working so I can't debug anything at all.. This problem appears on a 9.1-RELEASE i386 with /var and /tmp mounted as md devices. Regards, -- David Demelier ___ 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: ZFS mounting failed with error 2
2013/4/16 Beeblebrox zap...@berentweb.com: one thing I'm not sure about is that some people create a dataset root but that actually mounts at / (and not /root) and some just create others mount points directly on the zpool You can do this either way. A ZFS dataset is created at the same time and with the same name as the zpool. You can use the zpool-named-dataset as root without any problem. As I recall, the separate root dataset was a work-around for some old problem, so it is not necessary any longer. That said, you can place and name the zfs root dataset anywhere you want, as long as you have the 'vfs.root.mountfrom=' path set correctly. In your example, it is set correctly. Now as to why you cannot boot - from my experience, the problem is your last command: '# zpool export tank' will leave the pool in an exported state, and when the system tries to boot, it will not be able to locate the zpool because the pool is in exportland. The solution is different. After you are finished with all your settings you should # zfs umount -a (unmount all tank child datasets in /mnt) # zfs set mountpoint=/ tank # reboot Thank you so much, you made my day :-) For me I thought that export was a kind of unmounting so I should have never found if you didn't helped me on that case :p. At step 2, dataset tank should not try to re-mount its self and remain un-mounted. The older versions of ZFS did not behave this way and would immediately mount the zpool on root. If this happens, you have to hard-reset and such because the system will freeze up. If all goes well, before reboot you can also check (zfs get all tank) and make sure that canmount=on is set for tank. The best zfs guide is FreeBSD's own docs: https://wiki.freebsd.org/RootOnZFS -- Demelier 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: ZFS mounting failed with error 2
I've successfully made booting one virtual machine, I tried again and it failed again. There's one thing I'm not sure about is that some people create a dataset root but that actually mounts at / (and not /root) and some just create others mount points directly on the zpool I've tested the second one so I did the following : zpool create -o altroot=/mnt tank /dev/gpt/disk0 zfs create tank/usr ... And then I've done all the other and I'm still unable to boot, this is the exact list (and order) I've used : gpart create -s GPT ada0 gpart add -t freebsd-boot -s 64k -l boot0 ada0 gpart add -t freebsd-swap -s 4G -l swap0 ada0 gpart add -t freebsd-zfs -l disk0 ada0 gpart bootcode -b /boot/pmbr ada0 gpart bootcode -p /boot/gptzfsboot -i 1 ada0 zpool create -o altroot=/mnt tank /dev/gpt/zfs0 zpool set bootfs=tank tank zfs set checksum=fletcher4 tank zfs create -o setuid=offtank/home zfs create -o setuid=offtank/tmp # /usr zfs createtank/usr zfs createtank/usr/local zfs create -o setuid=off -o compression=lzjbtank/usr/src zfs create -o setuid=off -o compression=lzjbtank/usr/ports # /var zfs createtank/var zfs create -o setuid=off -o compression=lzjb -o exec=offtank/var/crash zfs create -o setuid=off -o compression=lzjb -o exec=offtank/var/log zfs create -o setuid=off -o exec=offtank/var/run zfs create -o setuid=offtank/var/tmp chmod 1777 /mnt/tmp /mnt/var/tmp ### TYPE EXIT TO INSTALL THE SETS ### THEN CHOOSE LIVECD echo /dev/label/swap0 none swap sw 0 0 /mnt/etc/fstab echo zfs_enable=YES /mnt/etc/rc.conf echo zfs_load=YES /mnt/boot/loader.conf echo vfs.root.mountfrom=zfs:tank /mnt/boot/loader.conf # zpool.cache (unable to boot without) zpool export tank zpool import -o cachefile=/tmp/zpool.cache -o altroot=/mnt tank cp /tmp/zpool.cache /mnt/boot/zfs zpool export tank # Finished shutdown -r now Regards, -- Demelier 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: C++ headers
Le dimanche 14 avril 2013 13:26:17 Shane Ambler a écrit : On 13/04/2013 21:45, Jason Lenthe wrote: Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 features (and missing headers). Is there any port of c++11 available? There sure is. Just get the latest version of gcc or clang from the ports collection. The new C++11 libs are planned to be part of 10.0 base install You can build 9.1 with the new libs by adding WITH_LIBCPLUSPLUS=yes to your src.conf before building world. Which needs to be built with clang. For more info see https://wiki.freebsd.org/NewC++Stack Thanks you very much, anyway I always use clang. It's definitely the best compiler :). Regards, -- David Demelier ___ 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
C++ headers
Hello folks, Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 features (and missing headers). Is there any port of c++11 available? Regards, -- David Demelier ___ 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
ZFS mounting failed with error 2
Hello I have tried to create a GPT partition scheme on my machine. I've created some dataset like that : tank/usr tank/usr/ports tank/usr/src tank/var/ tank/var/log (Please note that is a test on a virtual machine before applying to a real machine). I've tried to generate the zpool.cache like that: zpool import -o cachefile=/tmp/zpool.cache -o altroot=/mnt -f cp /tmp/zpool.cache /mnt/boot/zfs/ And then tried to set mount point to legacy and bootfs with : zfs set bootfs=tank tank zfs set mountpoint=legacy tank The following commands made a lot of warnings : zfs set mountpoint=/usr tank/usr zfs set mountpoint=/var tank/var ... After, the import on the livecd shell generated the error : cannot mount '/mnt/var': failed to create mountpoint. I must say that it is very hard to make a ZFS working machine, there are a lot of pages on the Wiki and most of them are a little bit outdated.. -- Demelier 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: ZFS mounting failed with error 2
2013/4/10 Trond Endrestøl trond.endres...@fagskolen.gjovik.no: On Wed, 10 Apr 2013 10:16+0200, David Demelier wrote: Hello I have tried to create a GPT partition scheme on my machine. I've created some dataset like that : tank/usr tank/usr/ports tank/usr/src tank/var/ tank/var/log (Please note that is a test on a virtual machine before applying to a real machine). I've tried to generate the zpool.cache like that: zpool import -o cachefile=/tmp/zpool.cache -o altroot=/mnt -f cp /tmp/zpool.cache /mnt/boot/zfs/ And then tried to set mount point to legacy and bootfs with : zfs set bootfs=tank tank zfs set mountpoint=legacy tank The following commands made a lot of warnings : zfs set mountpoint=/usr tank/usr zfs set mountpoint=/var tank/var ... After, the import on the livecd shell generated the error : cannot mount '/mnt/var': failed to create mountpoint. I must say that it is very hard to make a ZFS working machine, there are a lot of pages on the Wiki and most of them are a little bit outdated.. Try to use /tmp/mnt as a temporary altroot. /tmp should be writeable. Not sure about / within the livecd env. But the FreeBSD installer says to mount over /mnt before exiting the shell. When you set mountpoints using the above commands, the filesystems are actually being mounted at their specified mountpoint. Yes that was a probable issue, I will unmount everything before trying a new install. Unless the filesystems contain some actual files, more to the point, critical files, i.e. libraries and executables, then you are out of luck. My own blog entry is a bit (out)dated, but maybe it's worth a look: http://ximalas.info/2011/10/17/zfs-root-fs-on-freebsd-9-0/ Now I currently have 504 Gateway Timeout going to your website, I will try at home maybe my corporate firewall is blocking this. Regards, -- Demelier 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: snd_hda and front headphones jack
Try something like : In /boot/device.hints hint.hdaa.4.nid31.config=as=1 seq=0 # or seq=1 if does not work hint.hdaa.4.nid25.config=as=1 seq=15 Also don't forget to add hw.snd.default_unit=4 in your /etc/sysctl.conf Regards, 2013/3/12 Mark Felder f...@feld.me: Hi guys, I seem to be having problems getting my front headphones jack to work. I've read the snd_hda man page and perhaps I'm doing this wrong, but here's my setup: dev.hdaa.4.%desc: Conexant CX20641 Audio Function Group dev.hdaa.0.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.2.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.3.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0 dev.hdaa.4.nid24_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid25_original: 0x02214040 as=4 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Front color=Green misc=0 dev.hdaa.4.nid26_original: 0x02a19020 as=2 seq=0 device=Mic conn=Jack ctype=1/8 loc=Front color=Pink misc=0 dev.hdaa.4.nid27_original: 0x01a1903e as=3 seq=14 device=Mic conn=Jack ctype=1/8 loc=Rear color=Pink misc=0 dev.hdaa.4.nid28_original: 0x01014010 as=1 seq=0 device=Line-out conn=Jack ctype=1/8 loc=Rear color=Green misc=0 dev.hdaa.4.nid29_original: 0x01813030 as=3 seq=0 device=Line-in conn=Jack ctype=1/8 loc=Rear color=Blue misc=0 dev.hdaa.4.nid30_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid31_original: 0x9217011f as=1 seq=15 device=Speaker conn=Fixed ctype=Analog loc=0x12 color=Unknown misc=1 dev.hdaa.4.nid32_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid33_original: 0x40f001f0 as=15 seq=0 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 dev.hdaa.4.nid38_original: 0x40f001ff as=15 seq=15 device=Other conn=None ctype=Unknown loc=0x00 color=Unknown misc=1 If I am looking at this right I believe I need to set nid25 to as=1 which matches the nid31 Speaker and probably also set seq=15. However, this doesn't seem to be working. Am I overlooking something obvious? Thanks ___ 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 -- Demelier 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: stupid portmaster question
Just use -x switch portmaster -ad -x libreoffice 2013/3/25 Aryeh Friedman aryeh.fried...@gmail.com: How do I tell portmaster -ad to ignore certain ports because they are broken such as editors/libreoffice is currently marked as (I am sure this will change soon) ___ 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 -- Demelier 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: make deinstall within /usr/ports/lang - need to recover default language installs
lang/ contains all languages and so on ruby, lua, python, perl.. Of course you removed perl since you typed make deinstall in that parent port tree. You can type make install in /usr/ports/lang/perl5.14 to install it again. You don't need to reinstall FreeBSD, you're not on Windows here, you can repair everything :) Note: there is no perl installed by default, it's in the ports for few years now. Regards, 2013/3/19 Rob Navarro robnav...@gmail.com Hi Chaps, I typed make deinstall within the /usr/ports/lang directory of a FreeBSD 9.0 and mistakenly lost Perl, Python, Ruby and a whole host of default compiled languages. How can I get back to the default FreeBSD default installed language state (with Perl installed etc)? Crossing my fingers that I need not re-install the OS... Kind regards, Rob ___ 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 -- Demelier 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
Disable liberation fonts
Hello, I've installed editors/libreoffice, but that port requires liberation fonts. I have nothing against that but when liberations font is installed the fonts looks so ugly in firefox and sometime when I click links, all the text in the page get bold for a second, it's just annoying. I'm not used to fontconfig sadly, I just want to disable every liberation fonts but not deinstall it (to use it if needed in libreoffice). Regards, 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: Soekris or .. ?
2013/3/1 Arthur Chance free...@qeng-ho.org On 03/01/13 10:56, Frank Reppin wrote: On 01.03.13 11:49, Julien Cigar wrote: [...] I'm looking for a small Soekris-like (http://soekris.com/) box which support FreeBSD, any experience or brand to advise .. ? I once had FreeBSD (7-CURRENT days) running on ALIX boards [ https://shop.tronico.net/ ] for quite a while (mini server). No problems at all. I'll second that. I've had an Alix board running pfSense as my router/firewall for several years now with zero problems and any downtime was due to upgrading the system or power cuts. The manufacturer's web site is at http://www.pcengines.ch/alix.htm I also have an alix at home running yet (Alix 2d2). It's a great one and I made an uptime of 500 days with FreeBSD 8.1 the last year :-). It does not consumes a lot of power ressources neither. However I advise only network gateway / firewall / wifi access uses point because of the small RAM available. It works out of the box with FreeBSD, only ACPI need to be disabled (for a date issue only). Cheers, -- Demelier 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: Root on zfs (stable9) - how to make it bootable
There are a lot of example in gpart(8) man page. You should use it I think you should do something like gpart bootcode -b /boot/pmbr ada0 gpart bootcode -p /boot/gptzfsboot -i 1 ada0 (The second assume that you have a freebsd-boot as first index in ada0) Cheers, 2013/2/22 uki uka...@gmail.com Hi, I want to install freebsd9 (stable) on zfs root, unfortunately my bios is unable to recognize GPT discs. I'm using MBR disc, with BSD slice (on mbr index 4) containing freebsd-zfs filesystem. I've no idea how to make it bootable, I've tried using: zpool export sys dd if=/boot/zfsboot of=/dev/ada0s4 count=1 dd if=/boot/zfsboot of=/dev/ada0s4a skip=1 seek=1024 zpool import sys When I select F4 (slice with zfs) whilst booting the computer just turns off. How do I make it boot? Do I need freebsd-boot slice? I have set bootfs property on pool, and added vfs.root.mountfrom to loader.conf. Cheers, Łukasz Gruner ___ 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 -- Demelier 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: Root on zfs (stable9) - how to make it bootable
Sorry didn't read that you have a MBR slice instead of GPT then you should take a look at that one https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition 2013/2/22 David Demelier demelier.da...@gmail.com There are a lot of example in gpart(8) man page. You should use it I think you should do something like gpart bootcode -b /boot/pmbr ada0 gpart bootcode -p /boot/gptzfsboot -i 1 ada0 (The second assume that you have a freebsd-boot as first index in ada0) Cheers, 2013/2/22 uki uka...@gmail.com Hi, I want to install freebsd9 (stable) on zfs root, unfortunately my bios is unable to recognize GPT discs. I'm using MBR disc, with BSD slice (on mbr index 4) containing freebsd-zfs filesystem. I've no idea how to make it bootable, I've tried using: zpool export sys dd if=/boot/zfsboot of=/dev/ada0s4 count=1 dd if=/boot/zfsboot of=/dev/ada0s4a skip=1 seek=1024 zpool import sys When I select F4 (slice with zfs) whilst booting the computer just turns off. How do I make it boot? Do I need freebsd-boot slice? I have set bootfs property on pool, and added vfs.root.mountfrom to loader.conf. Cheers, Łukasz Gruner ___ 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 -- Demelier David -- Demelier 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: cdrecord: Please report.
2013/2/21 Shane Ambler free...@shaneware.biz On 21/02/2013 10:22, Ronald F. Guilmette wrote: Now that I've ``upgraded'' from 8.3-RELEASE to 9.1-RELEASE it appears that good old burncd no longer works, apparently because the CD/DVD drive is now exclusively handled as an ATAPICAM device. There are a few problem reports for cdrecord already - it sounds like the issue is from package installed versions of cdrtools, the solution seems to be compile from ports instead of installing from a pre-built package. I can say I have compiled from ports and don't have an issue burning dvd's - I have just upgraded to 9.1 from 9.0. I was going to say I have atapicam enabled but it appears that it isn't able to load on my system. Apparently ATA_CAM is a default part of 9.x and atapicam isn't needed, even though the module is still compiled. I've never understood the difference between ATA_CAM and atapicam, what are the difference between them? So, um, WTF? To whom am supposed to report this failure? While you can email the port maintainer it is generally best to report through the freebsd website. Under support you can start with Bug reports to search if someone else has already reported it, then either Submit Followup (bottom of page) to an existing report with more information or Submit Bug-report if you need to create a new report. -- Demelier 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: nvidia bugs freebsd-gfx-b...@nvidia.com
No they also ignored me, my Xorg got stuck at 100% with an error like mi overflowing or similar and they never answered me. 2013/2/20 paranormal paranor...@isgroup.com.ua Half a hear ago, I sent a bug report to freebsd-gfx-b...@nvidia.com (using x11/nvidia-driver/work/NVIDIA-FreeBSD-.../obj/nvidia-bug-report.sh), and had no answer nor bug fix. Now with 310.32 driver, I have new bug, and probably it would be a waste of time to communicate with nvidia. Does nvidia ignore only me? ___ 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 -- Demelier 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: pkg_add problems after upgrading to 9.1-RELEASE and a fix
The problem is the November compromise, search for that in the mailing list. There are still no packages available for 9.1-RELEASE. Cheers 2013/2/15 Eduardo Morras emorr...@yahoo.es Hi all, yesterday i updated my server to 9.1-RELEASE from 8.3. After that, while recompiling the ports and packages i get a lot off errors trying to get 9.1-RELESASE packages and all recompiled from ports. The problem is that there's no 9.1-RELEASE directory in ftp.freebsd.orgserver. I solved it after changing the path to fetch from 9-STABLE instead. A better fix i think it's to add that directory or make a ln to stable. The url where add the fault directory is: ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/ the fault directoy is : ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/ An example of the error is: root@camibar:/usr/ports/www # pkg_add -r zen-cart Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch ' ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz' by URL I made the recompilation of ports with portmaster as noted in 'man portmaster' with this options (from memory, it's not a cp) #portmaster -P -R -D `cat /root/installed_ports_list` Thanks In Advance --- --- Eduardo Morras emorr...@yahoo.es ___ 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 -- Demelier 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: 9.1 kernel src only
You can do svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src Note that you need to install subversion before Cheers 2013/2/16 Fbsd8 fb...@a1poweruser.com Before the install media format changed at 9.0, sysinstall had option to only install kernel source. Can I use 9.1 svn to just checkout the kernel src necessary to compile a custom kernel? If so, how would I code the svn command to make it happen? Thanks __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org -- Demelier 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: /rescue/init wrong permissions
On 11/02/2013 11:07, Joshua Isom wrote: On 2/10/2013 3:22 PM, David Demelier wrote: Hello I've just cross compiled FreeBSD 9.1-RELEASE i386 for an embedded device. After some days and reboot, I just realized that the device does not boot anymore, so I've plugged a serial cable and saw a panic with error : exec /rescue/init: error 13 I checked the permissions and noticed that permissions are only set to read on this file : -r--r--r-- 1 root wheel 5576 10 Feb 2013 rescue/init On my laptop it's -r-xr-xr-x. I have installed it to my embedded device with standard targets such as make installworld and make distribution, which kind of steps set these permissions ? Cheers, Just a quick guess, the file system is mounted as noexec. ___ 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 Okay it seems I've totally mangled the files, my /rescue/* file were plain C source file. I guess I've probably broke everything when I misuse the -d and -D options from mergemaster. Cheers, ___ 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
/rescue/init wrong permissions
Hello I've just cross compiled FreeBSD 9.1-RELEASE i386 for an embedded device. After some days and reboot, I just realized that the device does not boot anymore, so I've plugged a serial cable and saw a panic with error : exec /rescue/init: error 13 I checked the permissions and noticed that permissions are only set to read on this file : -r--r--r-- 1 root wheel 5576 10 Feb 2013 rescue/init On my laptop it's -r-xr-xr-x. I have installed it to my embedded device with standard targets such as make installworld and make distribution, which kind of steps set these permissions ? Cheers, -- Demelier 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: http://localhost/phpmyadmin
I think it's just a spam, and I would not recommend to answer that mails 2013/2/4 Jerry je...@seibercom.net On Sun, 3 Feb 2013 17:12:15 -0600 ogidiagba obaroene articulated: Seriously dude, the crystal ball is hung over from watching the Super Bowl yesterday. You are going to have to do it the old fashioned way and actually write your question out in long hand. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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 -- Demelier 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: dhclient and random disconnects
The thing very annoying, is that when my wireless disconnects, I must wait until wpa_supplicant re-associate to the AP. Then I have no working connection until I redo dhclient lagg0. And running dhclient lagg0 will say dhclient already running.. So I always need to kill it before. That issue does not let me work efficiently as I need to connect me again and again.. 2012/12/14 David Demelier demelier.da...@gmail.com On 13/12/2012 23:39, jb wrote: David Demelier demelier.david at gmail.com writes: ... I have setup lagg0 for a failover with ethernet, (note the problem appears if I use wlan0 only too) # Fail over between wired/wireless. cloned_interfaces=lagg0 ifconfig_msk0=up ifconfig_ath0=ether 18:a9:05:87:38:0a ifconfig_wlan0=WPA ifconfig_lagg0=laggproto failover laggport msk0 laggport wlan0 DHCP ipv6_activate_all_interfaces=**YES According to the example in: http://www.freebsd.org/doc/en_**US.ISO8859-1/books/handbook/** network-aggregation.htmlhttp://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggregation.html this line is missing in your setup: wlans_ath0=wlan0 which is also mentioned in: /etc/defaults/rc.conf ... #wlans_ath0=wlan0 # wlan(4) interfaces for ath0 device ... I can not test it as I do not have access to a FB machine right now. jb __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org Yes it is, but was earlier in the rc.conf, I forgot to paste it sorry, David -- Demelier 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
Disable monitor recording source
Hello, I would like to record only from mic but I can't remove monitor from recording : markand@Melon ~ $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: ATI R6xx (HDMI) (play) pcm1: Analog Devices AD1984A (Analog 2.0+HP/3.1) (play/rec) default markand@Melon ~ $ mixer Mixer vol is currently set to 90:90 Mixer pcm is currently set to 90:90 Mixer speaker is currently set to 0:0 Mixer mic is currently set to 90:90 Mixer rec is currently set to 80:80 Mixer igainis currently set to 0:0 Mixer ogainis currently set to 100:100 Mixer monitor is currently set to 80:80 Recording source: mic, monitor markand@Melon ~ $ mixer -rec monitor Recording source: mic, monitor markand@Melon ~ $ What I'm doing wrong? Cheers, ___ 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: Disable monitor recording source
On 24/01/2013 16:53, Rod Person wrote: On Thu, 24 Jan 2013 16:38:58 +0100 David Demelier demelier.da...@gmail.com wrote: Hello, I would like to record only from mic but I can't remove monitor from recording : markand@Melon ~ $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: ATI R6xx (HDMI) (play) pcm1: Analog Devices AD1984A (Analog 2.0+HP/3.1) (play/rec) default markand@Melon ~ $ mixer Mixer vol is currently set to 90:90 Mixer pcm is currently set to 90:90 Mixer speaker is currently set to 0:0 Mixer mic is currently set to 90:90 Mixer rec is currently set to 80:80 Mixer igainis currently set to 0:0 Mixer ogainis currently set to 100:100 Mixer monitor is currently set to 80:80 Recording source: mic, monitor markand@Melon ~ $ mixer -rec monitor Recording source: mic, monitor markand@Melon ~ $ I've never had this issues, but what about setting monitor to zero? $ mixer monitor 0 I tried, it completely mute recording ___ 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: Change branch with svn
Thank you ! 2013/1/17 Volodymyr Kostyrko c.kw...@gmail.com 17.01.2013 10:47, David Demelier: Hello folks, Just wanted to switch from RELEASE-9.1 to 9-STABLE my /usr/src, I was used to csup, this tool was updating the src tree without removing it. How can I switch my /usr/src tree to stable/9 branch without removing old files? # svn switch ^/stable/9 -- Sphinx of black quartz, judge my vow. -- Demelier 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: OSS and ALSA
Don't enable OSS4 nor ALSA, VLC can run fine with FreeBSD kernel mixer support (that has a OSS compatibility support). Just use defaults, it will always work more when you use default options. 2013/1/21 Ralf Mardorf ralf.mard...@rocketmail.com Hi :) I know it's a topic for the multimedia list, but there's less traffic on that list, so I hope it's okay to post it to both lists :S. I'll test the snd_hdspe driver. It's working for the 2 analog IOs of a HDSPe AIO, but other ports are missing by jackd. I was asked to use mpd, but I never used this kind of media player before. Usually I'm using pro-audio apps on Linux and seldom I use averaged media players and as mentioned before, I never used this kind of player. I don't know how to use mpd or the Gnome GUI for it and sonata failed to build. Perhaps I could use an averaged media player to get access to all ports? Is there a way to automatically get all dependencies when building applications? To me it's already strange that audacious is build without the output plugins, however, I'll build them now and I get root@freebsd:/usr/home/**rocketmouse # cd /usr/ports/multimedia/**audacious-plugins ; make install clean ┌─** ──**─┐ │ Options for audacious-plugins 3.3.3 │ │ ┌─** ──**─┐ │ │ │ [*] AAC AAC/MP4 format │ │ │ │ [*] ADPLUG ADPLUG decoder │ │ │ │ [*] ALSAALSA audio architecture │ │ │ │ [*] AMIDI Amidi decoder │ │ │ │ [*] AOSDAudacious OSD │ │ │ │ [*] AOSDXCOMP Audacious OSD X Composite │ │ │ │ [*] BS2BBS2B effect │ │ │ │ [*] CDAUDIO CD audio input │ │ │ │ [*] CUE Embedded CUE sheets │ │ │ │ [*] DBUSD-Bus IPC system │ │ │ │ [*] FFAUDIO FFAudio decoder │ │ │ │ [*] FLACFLAC lossless audio codec │ │ │ │ [*] GIO GIO support │ │ │ │ [*] JACKJACK audio server │ │ │ └─v(+)** ───45%**─┘ │ ├─** ──**─┤ │ OKCancel │ └─** ──**─┘ === Found saved configuration for audacious-plugins-3.3.3 = audacious-plugins-3.3.3.tar.**bz2 doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch http://distfiles.audacious-** media-player.org/audacious-**plugins-3.3.3.tar.bz2http://distfiles.audacious-media-player.org/audacious-plugins-3.3.3.tar.bz2 audacious-plugins-3.3.3.tar.**bz2 100% of 1699 kB 571 kBps === Extracting for audacious-plugins-3.3.3 = SHA256 Checksum OK for audacious-plugins-3.3.3.tar.**bz2. === Patching for audacious-plugins-3.3.3 === audacious-plugins-3.3.3 depends on executable: audacious - found === audacious-plugins-3.3.3 depends on file: /usr/local/lib/oss/include/ **sys/soundcard.h - not found ===Verifying install for /usr/local/lib/oss/include/**sys/soundcard.h in /usr/ports/audio/oss === oss-4.2.b2007 requires kernel source to be installed. *** [install] Error code 1 Stop in /usr/ports/audio/oss. *** [build-depends] Error code 1 Stop in /usr/ports/multimedia/**audacious-plugins. *** [install] Error code 1 Stop in /usr/ports/multimedia/**audacious-plugins. Ok, I need the kernel source, I bet I'll find what to do using Google, but I wonder why OSS already is working, when it's not installed. I suspect this will replace something that already is part of the kernel? If so, could it break other ports? I also wonder why ALSA doesn't work, when it's installed and the sound card's driver is installed. FWIW, after an ports update there already was the application finder icon missing and now there's no icon for audacious for the menu. I know how to give them icons, I just want to inform, that there are icons missing. Regards, Ralf __**_ freebsd-multime...@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**multimediahttp://lists.freebsd.org/mailman/listinfo/freebsd-multimedia To
Re: OSS and ALSA
On 21/01/2013 17:23, Oliver Lehmann wrote: Andriy Gapon a...@freebsd.org wrote: Yes, SDL Output works fine. I think that this should be the default for the following reasons: - unlike OSS4 it doesn't require an additional external kernel driver - unlike PulseAudio it doesn't require any daemon (and possibly extra configuration) - unlike ALSA OSS plugin, SDL code is sane in its usage of OSS API The real OSS support was dropped by audacious somewhere in the past and is unfortunally no longer available. I can switch the default from OSS4 to SDL if this is what the community wants - I have no hard feeling here. Yes I think this is a better solution, OSSv4 is an huge port that must *replace* the in-kernel mixer/soundcard support. 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
Change branch with svn
Hello folks, Just wanted to switch from RELEASE-9.1 to 9-STABLE my /usr/src, I was used to csup, this tool was updating the src tree without removing it. How can I switch my /usr/src tree to stable/9 branch without removing old files? 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
urxvt mouse selection / links troubles
Hello, I use rxvt-unicode for years, but these days I'm having trouble when selecting link texts, what does not work anymore : o clicking on the text to open the browser, using URxvt*urlLauncher: firefox o trouble when selecting text (sometimes it does not copy to clipboard) o trouble when selecting text bis, a large part of terminal is selected while I only tried to select a link. This is my config : URxvt*font: xft:DejaVu Sans Mono:pixelsize=11 URxvt*modifier:alt URxvt*urlLauncher: firefox URxvt*matcher.button: 1 URxvt*cursorColor: #ff URxvt*cursorBlink: false URxvt*intensityStyles: true URxvt*shading: 20 URxvt*perl-ext-common: default,matcher URxvt*title: Terminal In this screenshot http://markand.malikania.fr/pics/selection.png I've tried to select the WWW link so I clicked near the http:// beginning and moving to the end of the link, and you can see what have been selected. 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: FreeBSD: GIT instaed of SVN?
subversion is not in base and will probably never? So this is not a real problem :) 2013/1/2 Mark Felder f...@feld.me Git is also not BSD licensed. I believe it may require bringing Python into base as well. ___ 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 -- Demelier 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: FB 9.1 - emulators/linux_base-f10 build error
On 01/01/2013 13:52, jb wrote: === Port directory: /usr/ports/emulators/linux_base-f10 === This port is marked IGNORE === linuxulator is not (kld)loaded It is said there : === Port directory: /usr/ports/emulators/linux_base-f10 === This port is marked IGNORE === linuxulator is not (kld)loaded Do you have linux emulation enabled? Such as linux_enable=YES in your /etc/rc.conf 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: Full disk encryption without root partition
On 29/12/2012 23:53, Polytropon wrote: On Sat, 29 Dec 2012 22:43:29 +0100, Martin Laabs wrote: So from the security point of view it might be a good choice to have a unencrypted and (hardware) readonly boot partition. To prevent unintended modification by attacker of the boot process's components, an option would be to have the system boot from a R/O media (SD card, USB stick or USB card in stick) and then _remove_ this media when the system has been booted. Of course this requires physical presence of some kind of operator who is confirmed to handle this specific media. The rest of the system on disk and the data may be encrypted now, and if (physically) stolen, the disks are useless. I agree that such kind of security isn't possible everywhere, especially not if you cannot physically access your server. To prevent further bad things (like someone steals this boot stick), manually entering a passphrase in combination with the keys on the stick could be required. Of course a strong passphrase would have to be chosen, and not written on the USB stick. :-) The options attacker has on a _running_ system with encrypted components is a completely different topic. I think a good idea would be to store the key directly in the bootloader, but that needs a large enough partition scheme that can store the bootloader (boot0 or boot1) plus the encryption key. However this needs to add support for that in both boot files and will be bigger. ___ 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: Full disk encryption without root partition
On 28/12/2012 12:29, mhca12 wrote: On Fri, Dec 28, 2012 at 9:33 AM, C-S c...@c-s.li wrote: Date: Wed, 26 Dec 2012 22:18:40 +0100 From: mhca12 mhc...@gmail.com To: freebsd-questions@freebsd.org Subject: Re: Full disk encryption without root partition Message-ID: cahuomant1m446mvy85r7epbd2pw14gdl03fpmvpmksrr_ep...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Wed, Dec 26, 2012 at 10:17 PM, mhca12 mhc...@gmail.com wrote: Are there any plans or is there already support for full disk encryption without the need for a root partition? I am sorry, I certainly meant to write boot partition. Yes, it is possible to use GELI for example to do a full disk encryption and have the boot partition on a USB stick. That would still keep the boot partition as unencrypted, wouldn't it? Yes, how would you use your key if the partition is encrypted too? ___ 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: svn revision in uname
I hope it will be removed soon, it pollutes the uname -a output. 2012/12/15 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org Anders N. wic...@baot.se writes: Hi. I've noticed in my uname -a on 9.1-RELEASE there is r243826. This is on a system that upgraded from 9.1-RC3 using freebsd-update (binary). On another system, upgraded from 9.0-RELEASE via freebsd-update (source), there is nothing at all and uname -a looks normal. Two other people I asked have r243825 (installed from ISO) and r243872 (upgraded from svn). They're all 9.1-RELEASE, shouldn't they be the same, final version? As I understand it, the revision ID refers to the whole repository, not just a branch. So if you do your own svn checkout tomorrow, you'll get yet another revision number, even though the files will (probably) be completely identical to what you checked out yesterday -- ongoing commits to HEAD will keep kicking the revision number up. There is work going on to make system builds completely, bit-for-bit, repeatable, but that will presumably mean getting rid of this revision number information, not making it consistent. ___ 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 -- Demelier 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: dhclient and random disconnects
On 30/11/2012 21:15, jb wrote: David Demelier demelier.david at gmail.com writes: Hi, In my university, I have a WPA-EAP wifi access point, it requires authentification to access, with dhclient, I'm disconnected randomly and I must run wpa_cli reconfigure / dhclient again to get it working. This is really too general - it could be a problem with AP or your box. When you say randomly, do you mean like every hour or so, or every 10 min or so ? What is the pattern ? Does it happen that your box is left alone for extended period of time, that is without user and active application activity, while being connected ? If so, do you find your box disconnected after such time (what is the time interval) ? Do the disconnects happen at IP lease renewal times (see output below) ? What could the problem be with dhclient? I don't know very well what these processes are doing. Does the process check for lease by a specific interval? Yes, it does IP lease renewal. Post to the list the following outputs while using dhclient: Your wireless configuration (relevant data only): $ cat /etc/rc.conf Review /etc/defaults/rc.conf w/r to dhclient and wpa_supplicant. Do you have anything related to your wireless card driver in loader(8) tunables or sysctl(8) variables ? Your wpa_supplicant_conf_file, presumably: $ cat /etc/wpa_supplicant.conf $ ps auxwww | grep -i dhclient Config file: $ cat /etc/dhclient.conf Your lease renewal log file: # cat /var/db/dhclient.leases. $ ifconfig -a $ netstat -s Any wireless card driver related messages (substitute wpi for yours): $ grep -i wpi /var/log/messages After that spend some time with: $ apropos dhclient dhclient(8) - Dynamic Host Configuration Protocol (DHCP) client dhclient-script(8) - DHCP client network configuration script dhclient.conf(5) - DHCP client configuration file dhclient.leases(5) - DHCP client lease database You should not hesitate to contact, if possible, your Uni sys admin and ask about it. By now you should be an expert - after all you use FreeBSD for a reason :-) jb ___ 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 Hello thanks for your answer, I have setup lagg0 for a failover with ethernet, (note the problem appears if I use wlan0 only too) # Fail over between wired/wireless. cloned_interfaces=lagg0 ifconfig_msk0=up ifconfig_ath0=ether 18:a9:05:87:38:0a ifconfig_wlan0=WPA ifconfig_lagg0=laggproto failover laggport msk0 laggport wlan0 DHCP ipv6_activate_all_interfaces=YES my wpa_supplicant.conf is like this : ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel eapol_version=1 ap_scan=1 fast_reauth=1 network={ ssid=osiris-sec proto=WPA2 WPA scan_ssid=1 key_mgmt=WPA-EAP pairwise=CCMP TKIP group=CCMP TKIP eap=TTLS ca_cert=/etc/iut-cert.pem anonymous_identity=anonym...@u-strasbg.fr phase2=auth=PAP identity=demelier password=*** } The dhclient.leases.lagg0 is populated with a very long list of : lease { interface lagg0; fixed-address 172.29.23.190; option subnet-mask 255.255.0.0; option routers 172.29.255.254; option domain-name-servers 130.79.200.200; option domain-name u-strasbg.fr; option dhcp-lease-time 300; option dhcp-message-type 5; option dhcp-server-identifier 172.29.255.253; option dhcp-renewal-time 150; option dhcp-rebinding-time 262; renew 4 2012/12/13 13:16:16; rebind 4 2012/12/13 13:18:08; expire 4 2012/12/13 13:18:46; } I dont have any driver settings in sysctl. And the ifconfig : markand@Melon ~ $ ifconfig ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 18:a9:05:87:38:0a nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated msk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=c019bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE ether 18:a9:05:87:38:0a inet6 fe80::1aa9:5ff:fe87:380a%msk0 prefixlen 64 scopeid 0x2 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media: Ethernet autoselect (none) status: no carrier lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 18:a9:05:87:38:0a inet6 fe80::1aa9:5ff:fe87:380a%lagg0 prefixlen 64 scopeid 0x4 inet 172.29.23.190 netmask 0x broadcast 172.29.255.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media: Ethernet autoselect status: active laggproto failover lagghash l2,l3,l4
Re: dhclient and random disconnects
On 13/12/2012 23:39, jb wrote: David Demelier demelier.david at gmail.com writes: ... I have setup lagg0 for a failover with ethernet, (note the problem appears if I use wlan0 only too) # Fail over between wired/wireless. cloned_interfaces=lagg0 ifconfig_msk0=up ifconfig_ath0=ether 18:a9:05:87:38:0a ifconfig_wlan0=WPA ifconfig_lagg0=laggproto failover laggport msk0 laggport wlan0 DHCP ipv6_activate_all_interfaces=YES According to the example in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggregation.html this line is missing in your setup: wlans_ath0=wlan0 which is also mentioned in: /etc/defaults/rc.conf ... #wlans_ath0=wlan0 # wlan(4) interfaces for ath0 device ... I can not test it as I do not have access to a FB machine right now. jb ___ 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 Yes it is, but was earlier in the rc.conf, I forgot to paste it sorry, 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: Can't set xfce4 logout dialog buttons
The weird thing is that my laptop has the buttons working, without running startxfce4 with option neither with PolicyKit.conf options but I will try what you said, thanks. 2012/12/12 Warren Block wbl...@wonkity.com On Mon, 10 Dec 2012, David Demelier wrote: I added a file for handling shutdown / reboot for Xfce4, the content is located in /usr/local/etc/polkit-1/**localauthority/50-local.d/51-** sys-mgmt.pkla. [Restart] Identity=unix-group:operator Action=org.freedesktop.**consolekit.system.restart ResultAny=yes ResultInactive=yes ResultActive=yes [Shutdown] Identity=unix-group:operator Action=org.freedesktop.**consolekit.system.stop ResultAny=yes ResultInactive=yes ResultActive=yes But clicking on the on the logout button, will open the xfce4 dialog and only shows Logout all others buttons are grey'ed. I have exactly the same setup on my laptop but with a [Suspend] added, and on my laptop the dialog show Logout and all buttons authorized. On my both machine my user is in the operator group, so I don't know where I missed something for this machine.. startxfce4 must be called with the --with-ck-launch option. Then it works. -- Demelier 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: Xorg got stuck sometimes
On 20/11/2012 19:18, Hooman Oroojeni wrote: Try to rebuild Xorg with WITHOUT_NOUVEAU. That maybe helpfull. Cheers On Tue, Nov 20, 2012 at 5:38 PM, David Demelier demelier.da...@gmail.com mailto:demelier.da...@gmail.com wrote: Hi there, Sometimes, Xorg got stuck but I can't reproduce it always. When it appears, Xorg just stop being usable and mouse / keyboard can't be used also, switching to tty does not work at all and the screen is frozen. But I still can use ssh to connect the broken host and shutdown it normally, Xorg will use 100% of CPU when it breaks like this. I noticed this message when it appears : EQ overflowing. The server is probably stuck in an infinite loop. I'm using the nvidia nvidia-driver-304.64 on FreeBSD 9.1-RC3 Cheers, -- David Demelier ___ freebsd-questions@freebsd.org mailto: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 mailto:freebsd-questions-unsubscr...@freebsd.org -- It appeared again, without doing much stuff but I can get these message from kernel when it appeared : NVRM: GPU at :01:00: GPU-a259b0bd-20f2-e5b9-681f-848cadfd1d79 NVRM: Xid (:01:00): 8, Channel 0001 I need to find a solution, if not I will need to remove FreeBSD and switch back to Linux, thing I don't want to. Cheers ___ 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: Xorg got stuck sometimes
On 20/11/2012 20:11, David Demelier wrote: On 20/11/2012 19:18, Hooman Oroojeni wrote: Try to rebuild Xorg with WITHOUT_NOUVEAU. That maybe helpfull. Cheers On Tue, Nov 20, 2012 at 5:38 PM, David Demelier demelier.da...@gmail.com mailto:demelier.da...@gmail.com wrote: Hi there, Sometimes, Xorg got stuck but I can't reproduce it always. When it appears, Xorg just stop being usable and mouse / keyboard can't be used also, switching to tty does not work at all and the screen is frozen. But I still can use ssh to connect the broken host and shutdown it normally, Xorg will use 100% of CPU when it breaks like this. I noticed this message when it appears : EQ overflowing. The server is probably stuck in an infinite loop. I'm using the nvidia nvidia-driver-304.64 on FreeBSD 9.1-RC3 Cheers, -- David Demelier _ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/__mailman/listinfo/freebsd-__questions http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-__unsubscr...@freebsd.org mailto:freebsd-questions-unsubscr...@freebsd.org -- WITHOUT_NOUVEAU is already in my make.conf.. Cheers, Let see if the 310.19 version will clear the problem, by the way why this version is not in the ports yet, because of the ports freeze? ___ 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: Xorg got stuck sometimes
On 20/11/2012 19:18, Hooman Oroojeni wrote: Try to rebuild Xorg with WITHOUT_NOUVEAU. That maybe helpfull. Cheers On Tue, Nov 20, 2012 at 5:38 PM, David Demelier demelier.da...@gmail.com mailto:demelier.da...@gmail.com wrote: Hi there, Sometimes, Xorg got stuck but I can't reproduce it always. When it appears, Xorg just stop being usable and mouse / keyboard can't be used also, switching to tty does not work at all and the screen is frozen. But I still can use ssh to connect the broken host and shutdown it normally, Xorg will use 100% of CPU when it breaks like this. I noticed this message when it appears : EQ overflowing. The server is probably stuck in an infinite loop. I'm using the nvidia nvidia-driver-304.64 on FreeBSD 9.1-RC3 Cheers, -- David Demelier ___ freebsd-questions@freebsd.org mailto: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 mailto:freebsd-questions-unsubscr...@freebsd.org -- Finally, it seems to be flash player the problem, just removed from firefox plugin and no problem anymore. ___ 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
Can't set xfce4 logout dialog buttons
Hi, I added a file for handling shutdown / reboot for Xfce4, the content is located in /usr/local/etc/polkit-1/localauthority/50-local.d/51-sys-mgmt.pkla. [Restart] Identity=unix-group:operator Action=org.freedesktop.consolekit.system.restart ResultAny=yes ResultInactive=yes ResultActive=yes [Shutdown] Identity=unix-group:operator Action=org.freedesktop.consolekit.system.stop ResultAny=yes ResultInactive=yes ResultActive=yes But clicking on the on the logout button, will open the xfce4 dialog and only shows Logout all others buttons are grey'ed. I have exactly the same setup on my laptop but with a [Suspend] added, and on my laptop the dialog show Logout and all buttons authorized. On my both machine my user is in the operator group, so I don't know where I missed something for this machine.. Do you have a better idea? Cheers, ___ 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
dhclient and random disconnects
Hi, In my university, I have a WPA-EAP wifi access point, it requires authentification to access, with dhclient, I'm disconnected randomly and I must run wpa_cli reconfigure / dhclient again to get it working. I have never found a solution for that, so I tried for testing, to use dhcpcd instead, and it seems to work, I don't have disconnects anymore. What could the problem be with dhclient? I don't know very well what these processes are doing. Does the process check for lease by a specific interval? I don't care about using dhcpcd instead of dhclient, but I would like to make it working instead of dhclient but dhclient_program=/usr/local/sbin/dhcpcd in the rc.conf does not start dhcpcd at boot. Cheers, -- David Demelier ___ 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
Next csup tool to fetch src/ and ports/
Hi, I'm fan of csup, I've been using it for years, since 7.0-RELEASE, however it will be disabled on February 2013.. I don't care about using portsnap instead, but how to fetch src/ then ? I will need to use portsnap, to fetch ports build subversion and then I can fetch the src, fetch the ports again using svn this time, that's a little bit painful. Maybe we can try to write something like srcsnap with the same behavior / features as portsnap ? Cheers, -- Demelier 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
Can't figure out why my / is busy
534608 r root kernel 0 root / 2 drwxr-xr-x 512 r root kernel 0 wd / 2 drwxr-xr-x 512 r Do you have any ideas? Cheers, -- David Demelier ___ 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: PF and tables for disabling network
On 23/11/2012 15:58, Fleuriot Damien wrote: On Nov 23, 2012, at 3:46 PM, David Demelier demelier.da...@gmail.com wrote: Hello, I would like to disable the network traffic for specific IPs, for the moment I just add to my pf.conf a rule that will block everything for a specified table like this : table closed [...] others rules [...] block from closed Then I just need to add my IP using pfctl, it will works, no packet can be send / recv to the machine, however if that machine had some active connections, these won't be closed and they can still use them (a SSH client, game, ...) How can I disable everything then? Cheers -- Demelier David First, you might want to use block in quick on $externalif inet from closed , to have: - a quick rule, which stops ruleset evaluation immediately - a more specific rule, which applies only to your WAN interface's inbound traffic Be careful with the quick keyword, it's going to match packets immediately and entirely block these IPs. Then, if you want to kill the active connections from people in the closed table, you might want to script a bit, like: for i in `pfctl -t closed -T show` do pfctl -kK $i done Would that do the trick for you ? Thank you that works very well :) Cheers, -- David Demelier ___ 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
PF and tables for disabling network
Hello, I would like to disable the network traffic for specific IPs, for the moment I just add to my pf.conf a rule that will block everything for a specified table like this : table closed [...] others rules [...] block from closed Then I just need to add my IP using pfctl, it will works, no packet can be send / recv to the machine, however if that machine had some active connections, these won't be closed and they can still use them (a SSH client, game, ...) How can I disable everything then? Cheers -- Demelier 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: after youtube .swf, black xterm text = transparent
Do you have a nvidia card ? If yes right click on the youtube image and disable hardware acceleration, it will probably solve it (solved for me) 2012/11/21 Gary Aitken free...@dreamchaser.org After doing a number of port upgrades to try to get firefox 16 to play youtube audio again (still doesn't), I now see that when I put an xterm window over a particular portion of the display, the black areas on the xterm are transparent, and are showing a portion of a youtube page which is no longer playing but which is still open on either a visible or a non-visible (i.e. not the current) tab. The image is from the end of the following page: https://www.youtube.com/watch?v=aHuYmhY-5-g and the video content is https://s.ytimg.com/yts/swfbin/watch_as3-vfl1ubMZd.swf Anyone else seeing this problem? Hmm... this is weird. If I iconify everything except a couple of xterms, xwininfo clicked on the region where the image *was*, which now has only the wm (xfce4) background, the xwininfo gives the window id for the background. This is particularly noticeable in the xfce terminal emulator, 0.4.8, as it comes up with an entirely black background. Gimp, firefox and thunderbird windows don't have the problem, nor does the wm header. I'm guessing this is a result of using the XVideo extension, and not using opengl in the wm, or something like that, based on this article: https://en.wikipedia.org/wiki/X_video_extension Can anyone shed some light on this and how to prevent it? p.s. I can't seem to find how to tell what options a port is installed with, and what the defaults are. I know it's there somewhere... Thanks, Gary ___ 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 -- Demelier 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: after youtube .swf, black xterm text = transparent
I mean right click on the youtube image, open the flash properties and untick the hardware acceleration setting :-) 2012/11/22 David Demelier demelier.da...@gmail.com Do you have a nvidia card ? If yes right click on the youtube image and disable hardware acceleration, it will probably solve it (solved for me) 2012/11/21 Gary Aitken free...@dreamchaser.org After doing a number of port upgrades to try to get firefox 16 to play youtube audio again (still doesn't), I now see that when I put an xterm window over a particular portion of the display, the black areas on the xterm are transparent, and are showing a portion of a youtube page which is no longer playing but which is still open on either a visible or a non-visible (i.e. not the current) tab. The image is from the end of the following page: https://www.youtube.com/watch?v=aHuYmhY-5-g and the video content is https://s.ytimg.com/yts/swfbin/watch_as3-vfl1ubMZd.swf Anyone else seeing this problem? Hmm... this is weird. If I iconify everything except a couple of xterms, xwininfo clicked on the region where the image *was*, which now has only the wm (xfce4) background, the xwininfo gives the window id for the background. This is particularly noticeable in the xfce terminal emulator, 0.4.8, as it comes up with an entirely black background. Gimp, firefox and thunderbird windows don't have the problem, nor does the wm header. I'm guessing this is a result of using the XVideo extension, and not using opengl in the wm, or something like that, based on this article: https://en.wikipedia.org/wiki/X_video_extension Can anyone shed some light on this and how to prevent it? p.s. I can't seem to find how to tell what options a port is installed with, and what the defaults are. I know it's there somewhere... Thanks, Gary ___ 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 -- Demelier David -- Demelier 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
Xorg got stuck sometimes
Hi there, Sometimes, Xorg got stuck but I can't reproduce it always. When it appears, Xorg just stop being usable and mouse / keyboard can't be used also, switching to tty does not work at all and the screen is frozen. But I still can use ssh to connect the broken host and shutdown it normally, Xorg will use 100% of CPU when it breaks like this. I noticed this message when it appears : EQ overflowing. The server is probably stuck in an infinite loop. I'm using the nvidia nvidia-driver-304.64 on FreeBSD 9.1-RC3 Cheers, -- David Demelier ___ 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: Xorg got stuck sometimes
On 20/11/2012 19:18, Hooman Oroojeni wrote: Try to rebuild Xorg with WITHOUT_NOUVEAU. That maybe helpfull. Cheers On Tue, Nov 20, 2012 at 5:38 PM, David Demelier demelier.da...@gmail.com mailto:demelier.da...@gmail.com wrote: Hi there, Sometimes, Xorg got stuck but I can't reproduce it always. When it appears, Xorg just stop being usable and mouse / keyboard can't be used also, switching to tty does not work at all and the screen is frozen. But I still can use ssh to connect the broken host and shutdown it normally, Xorg will use 100% of CPU when it breaks like this. I noticed this message when it appears : EQ overflowing. The server is probably stuck in an infinite loop. I'm using the nvidia nvidia-driver-304.64 on FreeBSD 9.1-RC3 Cheers, -- David Demelier _ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/__mailman/listinfo/freebsd-__questions http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-__unsubscr...@freebsd.org mailto:freebsd-questions-unsubscr...@freebsd.org -- WITHOUT_NOUVEAU is already in my make.conf.. Cheers, -- David Demelier ___ 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: My beer has never been so good
On 09/11/2012 21:24, Виталий Туровец wrote: 2012/11/9 David Demelier demelier.da...@gmail.com: Hello folks, Just wanted to say that a FreeBSD powered beer is better ! http://markand.malikania.fr/pics/freebsd-bottle-opener.jpg Cheers :) -- David Demelier ___ 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 Hey! How do i order myselsf one? At FreeBSDmall :) http://www.freebsdmall.com/cgi-bin/fm/all.html?id=tSiQ7wxumv_arg=mv_argmv_pc=14 -- David Demelier ___ 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
My beer has never been so good
Hello folks, Just wanted to say that a FreeBSD powered beer is better ! http://markand.malikania.fr/pics/freebsd-bottle-opener.jpg Cheers :) -- David Demelier ___ 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: i3 window manager 4.3 Build error on FreeBSD
On 19/10/2012 01:24, Rod Person wrote: Hello, I'm trying to build the latest version of i3 on FreeBSD since the port has not been updated yet, and I get the following error when building. [i3] YACC src/cfgparse.y [i3] CC src/cfgparse.tab.c [i3] LEX src/cfgparse.l flex: can't open src/cfgparse.yy.c gmake: *** [src/cfgparse.yy.c] Error 1 I have flex 2.5.37 bison 2.5.1 installed from ports. If this is not the FreeBSD port ask i3 team. -- David Demelier ___ 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: i3 window manager 4.3 Build error on FreeBSD
On 21/10/2012 19:51, Rod Person wrote: On Sun, 21 Oct 2012 19:35:59 +0200 David Demelier demelier.da...@gmail.com wrote: On 19/10/2012 01:24, Rod Person wrote: Hello, I'm trying to build the latest version of i3 on FreeBSD since the port has not been updated yet, and I get the following error when building. [i3] YACC src/cfgparse.y [i3] CC src/cfgparse.tab.c [i3] LEX src/cfgparse.l flex: can't open src/cfgparse.yy.c gmake: *** [src/cfgparse.yy.c] Error 1 I have flex 2.5.37 bison 2.5.1 installed from ports. If this is not the FreeBSD port ask i3 team. I did...being FreeBSD specific they sent me here. Either way, someone else helped me out. Tell us how it can help someone else :) -- David Demelier ___ 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
nvidia and flash plugin problem
Hello, I have a nvidia GT 630 and use the flash plugin, I've got a very strange problem, on youtube (or any flash video), the colors are just broken. See: 1. http://markand.malikania.fr/1.png 2. http://markand.malikania.fr/2.png On the second picture, the man is supposed to wear a cyan shirt! One thing more, it is *very* *very* strange, if I open a new firefox tab, I can see some bits of the video frame in the new tab! This is happening on a FreeBSD 9.0 amd64 box with linux-f10-flashplugin-11.2r202.238 nvidia-driver-304.51 Cheers, -- David Demelier ___ 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: nvidia and flash plugin problem
On 02/10/2012 21:16, David Demelier wrote: Hello, I have a nvidia GT 630 and use the flash plugin, I've got a very strange problem, on youtube (or any flash video), the colors are just broken. See: 1. http://markand.malikania.fr/1.png 2. http://markand.malikania.fr/2.png On the second picture, the man is supposed to wear a cyan shirt! One thing more, it is *very* *very* strange, if I open a new firefox tab, I can see some bits of the video frame in the new tab! This is happening on a FreeBSD 9.0 amd64 box with linux-f10-flashplugin-11.2r202.238 nvidia-driver-304.51 Cheers, After some research, it seems to be a general bug in the adobe flash plugin, to fix it, Right click on a video, click settings and disable hardware acceleration. -- David Demelier ___ 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: No surround sound with Creative SB Live! card
On 21/06/2012 05:55, Bernt Hansson wrote: 2012-06-18 20:27, David Demelier skrev: On 15/06/2012 13:25, Bernt Hansson wrote: On 2012-06-15 10:06, David Demelier wrote: On 15/06/2012 05:43, Edward M wrote: On 06/14/2012 09:03 AM, David Demelier wrote: I have an old SB Live! card with a 5.1 speaker set, but i can't get sound from center and rear speakers with mplayer. I'm using the snd_emu10kx driver and when I try to play a DVD I get sound only through the front speakers (and LFE) like a 2.1 Adding -channels 6 to the mplayer args does not help. Cheers, Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or DTS. So a decorder is needed. That's what mplayer says: == Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) == AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) What do you mean by a decoder is needed? Have you tried vlc or xine? It does not work with VLC too, do you need to tweak some settings? Try $ vlc filename I've tried a file that gave this error [0x2bb4b43c] main decoder error: no suitable decoder module for fourcc `mp4v'. VLC probably does not support this sound or video format. There is just this error: [0x8373b4e70] xcb_xv generic error: no available XVideo adaptor But this is due to my modern graphic card (radeon 5670) -- David Demelier ___ 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: No surround sound with Creative SB Live! card
On 15/06/2012 13:25, Bernt Hansson wrote: On 2012-06-15 10:06, David Demelier wrote: On 15/06/2012 05:43, Edward M wrote: On 06/14/2012 09:03 AM, David Demelier wrote: I have an old SB Live! card with a 5.1 speaker set, but i can't get sound from center and rear speakers with mplayer. I'm using the snd_emu10kx driver and when I try to play a DVD I get sound only through the front speakers (and LFE) like a 2.1 Adding -channels 6 to the mplayer args does not help. Cheers, Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or DTS. So a decorder is needed. That's what mplayer says: == Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) == AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) What do you mean by a decoder is needed? Have you tried vlc or xine? Seen in multimedia/mplayer/Makefile.shared: CONFIGURE_ARGS= --cc=${CC} \ [..snip..] --disable-liba52 \ That's probably why mplayer won't play surround sound, I'll try with VLC tonight. Cheers, -- David Demelier ___ 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: No surround sound with Creative SB Live! card
On 15/06/2012 13:25, Bernt Hansson wrote: On 2012-06-15 10:06, David Demelier wrote: On 15/06/2012 05:43, Edward M wrote: On 06/14/2012 09:03 AM, David Demelier wrote: I have an old SB Live! card with a 5.1 speaker set, but i can't get sound from center and rear speakers with mplayer. I'm using the snd_emu10kx driver and when I try to play a DVD I get sound only through the front speakers (and LFE) like a 2.1 Adding -channels 6 to the mplayer args does not help. Cheers, Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or DTS. So a decorder is needed. That's what mplayer says: == Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) == AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) What do you mean by a decoder is needed? Have you tried vlc or xine? It does not work with VLC too, do you need to tweak some settings? Cheers, -- David Demelier ___ 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: No surround sound with Creative SB Live! card
On 14/06/2012 23:35, Chris Hill wrote: On Thu, 14 Jun 2012, David Demelier wrote: I have an old SB Live! card with a 5.1 speaker set, but i can't get sound from center and rear speakers with mplayer. I'm using the snd_emu10kx driver and when I try to play a DVD I get sound only through the front speakers (and LFE) like a 2.1 Adding -channels 6 to the mplayer args does not help. Does the DVD source material actually have 5.1 sound? Silly question, I know, but it has to be asked. Yes it has I think, Dolby digitial is written on it, but it also works on Linux and Windows. You may also want to pose this question to multimedia@ I did, but no one answered :(. Cheers, -- David Demelier ___ 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: No surround sound with Creative SB Live! card
On 15/06/2012 05:43, Edward M wrote: On 06/14/2012 09:03 AM, David Demelier wrote: I have an old SB Live! card with a 5.1 speaker set, but i can't get sound from center and rear speakers with mplayer. I'm using the snd_emu10kx driver and when I try to play a DVD I get sound only through the front speakers (and LFE) like a 2.1 Adding -channels 6 to the mplayer args does not help. Cheers, Sounds like the DVD surround audio is encoded in AC-3 Dolby Digital or DTS. So a decorder is needed. That's what mplayer says: == Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) == AO: [oss] 48000Hz 6ch s16le (2 bytes per sample) What do you mean by a decoder is needed? ___ 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 Cheers, -- David Demelier ___ 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