Re: make installworld DESTDIR=/mnt failes
El día Sunday, August 02, 2015 a las 03:47:53PM +0200, Matthias Apitz escribió: > El día Sunday, August 02, 2015 a las 11:29:32AM +0200, Matthias Apitz > escribió: > > ># make installworld DESTDIR=/mnt > > > > but this time the installworld failes after some time with: > > > > ... > > install -s -o root -g wheel -m 555 primes /mnt/usr/bin/primes > > ===> games/random (install) > > install -s -o root -g wheel -m 555 random /mnt/usr/bin/random > > install -o root -g wheel -m 444 random.6.gz /mnt/usr/share/man/man6 > > ===> games/tests (install) > > install -o root -g wheel -m 444 /usr/home/guru/r285885/src/tests/Kyuafile > > /mnt/usr/tests/games/Kyuafile > > ===> cddl (install) > > ===> cddl/lib (install) > > ===> cddl/lib/drti (install) > > make[6]: > > /usr/home/guru/r285885/obj/usr/home/guru/r285885/src/cddl/lib/drti/.depend, > > 79: ignoring stale .depend for > > /home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/unistd.h > > ... > > I found the problem: The system where the 'make installworld' was > running, have had no sym link from /home --> usr/home and that's why the > file /home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/unistd.h > from .depend could not be checked. A big pitfall :-( I was asking me, why that happened (for the 1st time) and investigated one of the older boot keys which I always produce nearly the same way to pollute other hardware with new systems/kernels... I always compile/install world and kernel into some DESTDIR and make from that a bootable USB key with the script /usr/src/release/amd64/make-memstick.sh The fundamental mistake I did this time was having the src and obj below /usr/home/guru/r285885/[src|obj] and not below /usr/local//[src|obj]. This way the .depend files contain references to /usr/home/... and to /home/... files, which will not work if /home does not exist as a sym link to usr/home Lesion learned. matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ ☎ +49-176-38902045 No! Nein! ¡No! Όχι! -- Ευχαριστούμε! ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: make installworld DESTDIR=/mnt failes
El día Sunday, August 02, 2015 a las 11:29:32AM +0200, Matthias Apitz escribió: ># make installworld DESTDIR=/mnt > > but this time the installworld failes after some time with: > > ... > install -s -o root -g wheel -m 555 primes /mnt/usr/bin/primes > ===> games/random (install) > install -s -o root -g wheel -m 555 random /mnt/usr/bin/random > install -o root -g wheel -m 444 random.6.gz /mnt/usr/share/man/man6 > ===> games/tests (install) > install -o root -g wheel -m 444 /usr/home/guru/r285885/src/tests/Kyuafile > /mnt/usr/tests/games/Kyuafile > ===> cddl (install) > ===> cddl/lib (install) > ===> cddl/lib/drti (install) > make[6]: > /usr/home/guru/r285885/obj/usr/home/guru/r285885/src/cddl/lib/drti/.depend, > 79: ignoring stale .depend for > /home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/unistd.h > ... I found the problem: The system where the 'make installworld' was running, have had no sym link from /home --> usr/home and that's why the file /home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/unistd.h from .depend could not be checked. A big pitfall :-( matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ ☎ +49-176-38902045 No! Nein! ¡No! Όχι! -- Ευχαριστούμε! ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
make installworld DESTDIR=/mnt failes
Hello, I have a CURRENT r285885 in /usr/home/guru/r285885/src and /usr/home/guru/r285885/obj ready for make install into a new target root mounted as /mnt; the installation should (and allways) worked as # sh # cd /usr/home/guru/r285885/src # MAKEOBJDIRPREFIX=/usr/home/guru/r285885/obj export MAKEOBJDIRPREFIX # make installworld DESTDIR=/mnt # make installkernel DESTDIR=/mnt # make distrib-dirs DESTDIR=/mnt # make distribution DESTDIR=/mnt but this time the installworld failes after some time with: ... install -s -o root -g wheel -m 555 primes /mnt/usr/bin/primes ===> games/random (install) install -s -o root -g wheel -m 555 random /mnt/usr/bin/random install -o root -g wheel -m 444 random.6.gz /mnt/usr/share/man/man6 ===> games/tests (install) install -o root -g wheel -m 444 /usr/home/guru/r285885/src/tests/Kyuafile /mnt/usr/tests/games/Kyuafile ===> cddl (install) ===> cddl/lib (install) ===> cddl/lib/drti (install) make[6]: /usr/home/guru/r285885/obj/usr/home/guru/r285885/src/cddl/lib/drti/.depend, 79: ignoring stale .depend for /home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/unistd.h ... cc -O2 -pipe -I/usr/home/guru/r285885/src/cddl/lib/drti/../../../sys/cddl/compat/opensolaris -I/usr/home/guru/r285885/src/cddl/lib/drti/../../../cddl/compat/opensolaris/include -I/usr/home/guru/r285885/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/head -I/usr/home/guru/r285885/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libctf/common -I/usr/home/guru/r285885/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/usr/home/guru/r285885/src/cddl/lib/drti/../../../sys/cddl/contrib/opensolaris/uts/common -DPIC -fpic -DNEED_SOLARIS_BOOLEAN -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-unknown-pragmas -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/home/guru/r285885/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c -o drti.o In file included from /usr/home/guru/r285885/src/cddl/lib/drti/../../../cddl/contrib/opensolaris/lib/libdtrace/common/drti.c:27: /usr/home/guru/r285885/src/cddl/lib/drti/../../../cddl/compat/opensolaris/include/unistd.h:33:15: fatal error: 'unistd.h' file not found #include_next ^ 1 error generated. *** Error code 1 Stop. Why it is ignoring the .depend file and tries to compile something again? cd /usr/home/guru/r285885/obj/usr/home/guru/r285885/src/cddl/lib/drti la -la total 17 drwxr-xr-x 2 root wheel 512 Aug 2 09:01 . drwxr-xr-x 13 root wheel 512 Jul 26 10:11 .. -rw-r--r-- 1 root wheel 7350 Jul 26 20:12 .depend -rw-r--r-- 1 root wheel 6300 Jul 26 20:14 libdrti-dummy.a ls -l /usr/home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/unistd.h -rwxr-xr-x 1 root wheel 18911 Jul 26 09:08 /usr/home/guru/r285885/obj/usr/home/guru/r285885/src/tmp/usr/include/unistd.h date Sun Aug 2 09:12:01 UTC 2015 Thanks matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ ☎ +49-176-38902045 No! Nein! ¡No! Όχι! -- Ευχαριστούμε! ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: duration of buildworld
El día Tuesday, July 28, 2015 a las 09:20:38AM +0100, David Chisnall escribió: > It sounds as if the swap was working (as the build took a long time, it > didn’t run out of memory). My guess would be that, before the reboot, > something had wired (or, if not, then touched frequently enough to keep it in > core) a large chunk of memory, which forced the swapping. Swap files are > expected to be slower than swap partitions (though if you’re swapping to a > disk, the seek times are likely to dominate in both cases). > > I don’t suppose there’s capture of the output of top from before the reboot? No, I did not saved it. When I started the buildworld, I started in parallel already a poudriere jail to build around 1600 ports. Later, when I realized that the buildworld took so long, I stopped (killed) the poudriere jail. IIRC the "swapctl -l" showed before the boot that the swap files have been used. I could re-create the situation on next buildworld. matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ ☎ +49-176-38902045 No! Nein! ¡No! Όχι! -- Ευχαριστούμε! ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: duration of buildworld
El día Monday, July 27, 2015 a las 10:34:10PM +0300, Slawa Olhovchenkov escribió: > > This pointed in the right direction. I have had 6x 1 GByte additional > > swap partitions to plain files mounted (because I needed this to get > > the eclipse port compiled within poudriere). After changing the fstab and > > reboot, the 'make buildkernel' takes only half an hour. > > > > Why is this? > > swap to ZFS volume don't work some time ago (don't know about current > status). > May be swap to file on ZFS don't work also? I do not use ZFS. matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ ☎ +49-176-38902045 No! Nein! ¡No! Όχι! -- Ευχαριστούμε! ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: duration of buildworld
El día Monday, July 27, 2015 a las 03:00:06PM +0300, Slawa Olhovchenkov escribió: > On Mon, Jul 27, 2015 at 07:58:04AM +0200, Matthias Apitz wrote: > > > > > Hello, > > > > Yesterday I grabbed r285885 from SVN and launched a > > > > # make -j2 buildworld > > > > which is still running after 19 hours on a server of 2 CPU of the type > > Intel(R) Core(TM)2 Extreme CPU X9100 @ 3.06GHz and 4 GByte memory. > > > > Last time in January with r276659 on the same host it took only some 8 > > hours, IIRC. > > > > Is there anything wrong of what could cause this change of the build > > time? > > May be swap trashing on clang compilation? This pointed in the right direction. I have had 6x 1 GByte additional swap partitions to plain files mounted (because I needed this to get the eclipse port compiled within poudriere). After changing the fstab and reboot, the 'make buildkernel' takes only half an hour. Why is this? matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ ☎ +49-176-38902045 No! Nein! ¡No! Όχι! -- Ευχαριστούμε! ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: duration of buildworld
El día Monday, July 27, 2015 a las 07:58:04AM +0200, Matthias Apitz escribió: > > Hello, > > Yesterday I grabbed r285885 from SVN and launched a > > # make -j2 buildworld > > which is still running after 19 hours on a server of 2 CPU of the type > Intel(R) Core(TM)2 Extreme CPU X9100 @ 3.06GHz and 4 GByte memory. > > Last time in January with r276659 on the same host it took only some 8 > hours, IIRC. > > Is there anything wrong of what could cause this change of the build > time? It terminated right now after nearly 24h. I never saw such a long build. matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ ☎ +49-176-38902045 No! Nein! ¡No! Όχι! -- Ευχαριστούμε! ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
duration of buildworld
Hello, Yesterday I grabbed r285885 from SVN and launched a # make -j2 buildworld which is still running after 19 hours on a server of 2 CPU of the type Intel(R) Core(TM)2 Extreme CPU X9100 @ 3.06GHz and 4 GByte memory. Last time in January with r276659 on the same host it took only some 8 hours, IIRC. Is there anything wrong of what could cause this change of the build time? Thanks matthias -- Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ ☎ +49-176-38902045 No! Nein! ¡No! Όχι! -- Ευχαριστούμε! ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: after login through serial line, open(2) on /dev/tty hangs
El día Wednesday, May 27, 2015 a las 11:57:56AM +0200, Ed Schouten escribió: > 2015-05-27 8:01 GMT+02:00 Matthias Apitz : > > The VT102 is connected through an USB-serial adapter and getty spawns > > nicely login: to /dev/cuaU0. > > /dev/cua* should be used to 'call out' on a TTY. They're not intended > to run gettys on. Please /dev/ttyU0 instead. :-) > > I suspect that opening /dev/tty blocks, for the reason that the > terminal you use doesn't provide any modem status lines. /dev/cua* > 'works' in your case, because those device nodes ignore modem status. > You can disable checking for this by using "3wire.9600" instead of > "std.9600" in /etc/ttys. See gettytab(5) for more details. > Thanks! it works with "3wire.9600" and ttyU0; this message was now written on the VT102 with mutt and vim :-) matthias -- Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
after login through serial line, open(2) on /dev/tty hangs
Hello, I'm preparing something for an exposition on some Vintage Computer Event and connected an old original VT102 to my netbook running CURRENT. See here: http://www.unixarea.de/freebsd-vt102.jpg The system is r276659 on i386. The VT102 is connected through an USB-serial adapter and getty spawns nicely login: to /dev/cuaU0. Login works as well, but only with /bin/csh as login-shell, not with /bin/sh. After some digging, I figured out that the real problem is the hanging open(2) syscall on /dev/tty: no proc can't open this file after login through /dev/cuaU0.. More details in the issue in bugzilla: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200445 What part of the kernel should I instrument with more debugging log to get light into this problem? Any other ideas? Thanks matthias -- Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: ping not working after upgrading to -CURRENT
El día Friday, May 01, 2015 a las 11:20:24AM +0200, Olivier Cochard-Labbé escribió: > On Thu, Apr 30, 2015 at 5:28 PM, Edvard Fagerholm wrote: > > > > > ping: unable to limit access to system.dns service: File exists > > > > Any ideas? > > > > > What's your exact revision number ? > I didn't meet the problem on r282220, but I've got the same problem on > r282296. Maybe you might run ping under truss(1) to see what it is missing, like: # truss -o /tmp/ping.tr ping www.muc.de matthias -- Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045 "Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden." "Si el hombre es formado por las circunstancias entonces es necesario formar humanamente las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138) ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Acer C720 random complete power-off
Hello, I run HEAD i386 on an Acer C720 netbook (the so called Cromebook), which works pretty much fine and very fast. The device is used on a daily basis with 18++ hours uptime a day. >From time to time (since January exactly 5 times) I faced a complete randomly power-off of the device. Please, do not think in the usual suspects of CPU heat or power drain. I monitor in a file every time the exact device situation, which is here: http://www.unixarea.de/c720-crashes.html In /var/log/messages are no indications, and if the system would have written something in its last second, it is perhaps rolled back by the fsck on reboot. What I wanted to ask here: Is there any way to read any information out of local memory buffers when the system comes up again or any other way to understand what could cause this problem. I have to admit, that until now I was never present with my eyes when it happened, I was always somehow a way from the display (running KDE4), and when I returned to it, I found it black. Thanks in advance. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [CURRENT] r277641 fails to installworld: routing_test: No such file or directory
El día Saturday, January 24, 2015 a las 01:49:58PM +0100, O. Hartmann escribió: > Most recent sources fail to install with the error below. CURRENT is amd64 > and at r277641: > > > ===> etc/tests/rc.d (install) > install -o root -g wheel -m 555 routing_test > /usr/tests/etc/rc.d/routing_test > install: /usr/tests/etc/rc.d/routing_test: No such file or directory > *** Error code 71 I'm facing right now (13:52 CET) the same with creating the jail for poudriere with poudriere jail -c -j freebsd-head -m svn+http -v head after 2 hours all is rolled back :-( not even the checked out tree is left :-( matthias -- Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: kernel: MCA: CPU 0 COR (1) internal parity error
El día Friday, January 16, 2015 a las 03:04:52PM -0500, Eric van Gyzen escribió: > On 01/16/2015 14:45, Matthias Apitz wrote: > > Jan 16 12:04:24 c720-r276659 kernel: MCA: Bank 0, Status 0x904f0005 > > Jan 16 12:04:24 c720-r276659 kernel: MCA: Global Cap 0x0c07, > > Status 0x > > Jan 16 12:04:24 c720-r276659 kernel: MCA: Vendor "GenuineIntel", ID > > 0x40651, APIC ID 0 > > Jan 16 12:04:24 c720-r276659 kernel: MCA: CPU 0 COR (1) internal parity > > error > > Try ports/sysutils/mcelog. I have installed that port and launched it as # mcelog > mcelog.txt ... mcelog: Unsupported new Family 6 Model 45 CPU: only decoding architectural errors mcelog: Unsupported new Family 6 Model 45 CPU: only decoding architectural errors mcelog: Unsupported new Family 6 Model 45 CPU: only decoding architectural errors ... (the messages are STDERR); in 'mcelog.txt' it has for the last event from /var/log/messages: Jan 17 18:23:54 c720-r276659 kernel: MCA: Bank 0, Status 0x904f0005 Jan 17 18:23:54 c720-r276659 kernel: MCA: Global Cap 0x0c07, Status 0x Jan 17 18:23:54 c720-r276659 kernel: MCA: Vendor "GenuineIntel", ID 0x40651, APIC ID 0 Jan 17 18:23:54 c720-r276659 kernel: MCA: CPU 0 COR (1) internal parity error the following lines (the uptime matches): ... HARDWARE ERROR. This is *NOT* a software problem! Please contact your hardware vendor MCE 32 CPU 0 BANK 0 TSC 36eec80fd688 [at 1397 Mhz 0 days 12:0:41 uptime (unreliable)] MCG status: MCi status: Error enabled MCA: Unknown Error 5 STATUS 904f0005 MCGSTATUS 0 MCGCAP c07 APICID 0 SOCKETID 0 CPUID Vendor Intel Family 6 Model 69 Questions: a) Is the output of mcelog valid (regardless of the msg on STDERR of 'unsupported model')? b) Is it worth to contact the dealer or wait until it is broken completely? Thanks matthias -- Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
kernel: MCA: CPU 0 COR (1) internal parity error
Hello, I'm running since some days a recent -HEAD r276659 on an Acer C720 Chromebook which works very nicely and fast (I really have never seen such a fast KDE4 desktop). >From time to time (let's say 2-3 times a day) I see messages like this in /var/log/messages: Jan 16 12:04:24 c720-r276659 kernel: MCA: Bank 0, Status 0x904f0005 Jan 16 12:04:24 c720-r276659 kernel: MCA: Global Cap 0x0c07, Status 0x Jan 16 12:04:24 c720-r276659 kernel: MCA: Vendor "GenuineIntel", ID 0x40651, APIC ID 0 Jan 16 12:04:24 c720-r276659 kernel: MCA: CPU 0 COR (1) internal parity error the kernel is: # uname -a FreeBSD c720-r276659 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r276659M: Tue Jan 6 12:55:25 CET 2015 guru@vm-poudriere-r269739:/usr/local/acerC720/obj/usr/local/acerC720/src/sys/GENERIC i386 i.e. the i386 version (because I compile everything in a VM) Are the above messages really a hardware problem? Thanks matthias -- Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Acer C720 Chromebook (was: Re: looking for new netbook)
El día Thursday, November 27, 2014 a las 10:43:42AM +0100, Matthias Apitz escribió: > I'm looking for a new netbook laptop; my old EeePC 900 (from 2008) has > to short battery time, and the Acer Aspire One D250 has a problem with the > display (from time to time goes completely white, the system is running, > but one has to reboot to get an image again); > > What I want is more or less: > > -- 1-2 GByte RAM > -- 1024x600 display, ~10 inch > -- 50++ GByte SSD disk > -- normal QWERTY/Z keyboard (i.o. no tablet) > -- Wifi supported in head > -- USB ports for UMTS dongle > -- and of course, it should run FreeBSD; > > Any pointers to a modern device? Some week ago I have asked the above question and with the free time during the change of the year I can now answer it an I want to share some experiences: I found the Acer C720 Chromebook with the following technical data: -- 2 GByte RAM (soldered on board, not update-able) -- 2 core CPU, each 1.4 GHz -- display 1366x768, ~11 inch, very nicely support by Xorg VESA driver -- Wifi Atheros AR946x/AR948x, supported by ah(4) -- sound supported by snd_hda(4) -- 16 GByte SSD, can be swapped by, for example, MTS400 M.2 SSD 128GB SATA III, MLC (128 GByte) I will attach a dmesg output; The problem was: 1. It needs take apart the device to unlock the BIOS protection to be able to use a SeaBIOS for legacy boot from SSD or USB; 2. One needs some patches against -HEAD; All this is very good documented by the author of the patches, Michael Gmelin, in his blog: http://blog.grem.de/pages/c720.html Thanks to him for this work and his helping hand during my first steps with this nice device. I think, the patches should be incorporated into SVN, at the moment they are against -HEAD as of January 5th. The keyboard of the C720, in principle a normal PC105, mine with German layout QWERTZ, is a bit tricky: it has - only F-keys from F1 to F10 and they are labeled with symbols for the ChromeOS applications; - no hardware power-off (only by an ACPI key which is situated where F11 would be, i.e. right above the Backspace key, you see the risk :-) ) - no Windows key which could be used as Modifier-key in X11; - no PageUP/DOWN keys - no 'blue Fn' key for additional functions (like audio or brightnes) In his blog Michael documents as well ways to help out of this. It now runs very nicely -HEAD (still booted from an USB stick because I'm waiting for the 128 GByte SSD to swap it). I'm really surprised about the battery: lasts for 6-8 hours. Wow!!! HIH matthias -- Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #0 r272526M: Thu Jan 1 05:30:48 CET 2015 guru@vm-poudriere-r269739:/usr/local/acerC720/obj/usr/local/acerC720/src/sys/GENERIC i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT: running with driver "vga". CPU: Intel(R) Celeron(R) 2955U @ 1.40GHz (1396.79-MHz 686-class CPU) Origin="GenuineIntel" Id=0x40651 Family=0x6 Model=0x45 Stepping=1 Features=0xbfebfbff Features2=0x45daebbf,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,XSAVE,RDRAND> AMD Features=0x2c10 AMD Features2=0x21 Structured Extended Features=0x2603 XSAVE Features=0x1 VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 2079817728 (1983 MB) avail memory = 2014519296 (1921 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 ioapic0 irqs 0-39 on motherboard kbd1 at kbdmux0 module_register_init: MOD_LOAD (vesa, 0xc0f98550, 0) error 19 random: initialized acpi0: on motherboard acpi0: Power Button (fixed) hpet0: iomem 0xfed0-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 Event timer "HPET5" frequency 14318180 Hz quality 440 Event timer "HPET6" frequency 14318180 Hz quality 440 cpu0: on acpi0 cpu1: on acpi0 atrtc0: port
Re: makefs && gpart (...)
El día Thursday, January 01, 2015 a las 09:23:06AM -0800, Nathan Whitehorn escribió: > > On 01/01/15 03:48, Matthias Apitz wrote: > > gpart add -t freebsd-ufs ${unit} > > mdconfig -d -u ${unit} > > > > As you can see, it does makefs first, and after this it creates the > > gpart structure in the image (i.e. in its memory file system). > > Why is this in this order and where exactly starts the file system > > created by makefs? > > > This is a quirk of BSD disklabels: the first partition can start at > address 0 and the first 16 sectors of UFS2 file systems are reserved for > the label headers. It's not portable to other partition schemes. For > -CURRENT, this script has been replaced, by the way, and doesn't use BSD > labels anymore. > -Nathan I'm on -HEAD (r272526) and the script remains unchanged there. Thanks anyway for your feedback. matthias -- Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
makefs && gpart (...)
Hello, I have a small question and a small request re/ makefs && gpart: There is a script src/release/i386/make-memstick.sh to create an image from a full directory tree; the tree is result of make installworld DESTDIR=/tree make installkernel DESTDIR=/tree the script mainly does: ... makefs -B little -o label=FreeBSD_Install ${2} ${1} if [ $? -ne 0 ]; then echo "makefs failed" exit 1 fi rm ${1}/etc/fstab unit=$(mdconfig -a -t vnode -f ${2}) if [ $? -ne 0 ]; then echo "mdconfig failed" exit 1 fi gpart create -s BSD ${unit} gpart bootcode -b ${1}/boot/boot ${unit} gpart add -t freebsd-ufs ${unit} mdconfig -d -u ${unit} As you can see, it does makefs first, and after this it creates the gpart structure in the image (i.e. in its memory file system). Why is this in this order and where exactly starts the file system created by makefs? The request is: it would also be nice if 'make-memstick.sh' would allow to pass from the command line some values for the size of the file system to be created in the image; I modified it to fit my needs as: size=15482880b ... makefs -B little -M ${size} -m ${size} -f 40 Thanks matthias -- Matthias Apitz, g...@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: FreeBSD && TCP stealth
El día Monday, October 20, 2014 a las 09:25:28AM +0200, Matthias Apitz escribió: > > Hello, > > Is there any work started or in progress to implement TCP stealth in our > kernel as proposed to IETF in > > https://datatracker.ietf.org/doc/draft-kirsch-ietf-tcp-stealth/ > > The idea is that the client put some magic value in the ISN of the first > SYN pkg which is derived from a secret the client and the server share. > The server can check the ISN and decide if it will answer the SYN pkg or > do a RST, for example. For Linux wip see also: https://gnunet.org/knock matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
FreeBSD && TCP stealth
Hello, Is there any work started or in progress to implement TCP stealth in our kernel as proposed to IETF in https://datatracker.ietf.org/doc/draft-kirsch-ietf-tcp-stealth/ The idea is that the client put some magic value in the ISN of the first SYN pkg which is derived from a secret the client and the server share. The server can check the ISN and decide if it will answer the SYN pkg or do a RST, for example. Vy 73 matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: printing text file with LPD - non-printable characters
El día Tuesday, October 14, 2014 a las 03:07:10AM -0700, Beeblebrox escribió: > @Matthias: I'm not '@Matthias', but Matthias, and I think, the @ sign is normaly used to express user@host or @domain; > > This is one of the reasons we stick with 1.4.3. > > How? Did you create a self-maintained port for it? > How did you overcome the problem of CUPS-dependent ports pulling in 1.7.3 in > poudriere? I compile it directly from source, also on non-FreeBSD hosts (Linux and SPARC) and ship it to our customers. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: printing text file with LPD - non-printable characters
El día Tuesday, October 14, 2014 a las 02:26:37AM -0700, Beeblebrox escribió: > > We are using in production environments CUPS in the version 1.4.3; > > this has a component 'texttops' which supports UTF-8 encoded text > > (only) and prints UTF-8 nicely on the fly. > > Thanks for the input. > Unfortunately, CUPS has been broken for me since May/14. > (http://freebsd.1045724.n5.nabble.com/print-cups-base-web-interface-broken-amp-unable-to-print-td5918098.html#a5922974) > > Installed CUPS components: > cups-base-1.7.3_1, cups-client-1.7.3_2, cups-image-1.7.3_1, cups-pdf-2.6.1_1, > cups-pstoraster-8.15.4_8, gutenprint-cups-5.2.10 This is one of the reasons we stick with 1.4.3. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: printing text file with LPD - non-printable characters
El día Tuesday, October 14, 2014 a las 01:19:42AM -0700, Beeblebrox escribió: > Enscript does not support UTF-8 formatted text files, so it's not usable in > this case. > > One solution, "is to use paps, instead of Enscript, for converting UTF-8 > encoded text to PostScript." > http://www.linuxfromscratch.org/blfs/view/svn/pst/enscript.html > > ... We are using in production environments CUPS in the version 1.4.3; this has a component 'texttops' which supports UTF-8 encoded text (only) and prints UTF-8 nicely on the fly. We have a special enhancement of the used fonts to support most EU languages. HIH matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: printing text file with LPD - non-printable characters
El día Sunday, October 05, 2014 a las 10:41:43AM -0700, Beeblebrox escribió: > I have two LPD errors > 1. I see two characters being replaced by strings on the hard copy (the {â} > below is an {a^}). This happens on the first page and not on following > pages. > instead of " I get: â\200\234 (235 for trailing ") > instead of ' I get: â\200\231 > 2. All non-english characters get garbled, on all pages. These are > characters like ç, ö, etc. > > With these two seemingly separate errors, I can't figure out whether this is > an lpr or enscript error. First of all check, what encoding has your text file, UTF-8 or ISO or ...? Then run the file through the filter $ /usr/local/bin/enscript -o - < file > out and check the resulting file 'out'. I do not know enscript, but guess that it should produce Postscript from your input file. I moved the thread by setting Reply-To: to the normal freebsd-question@ list; matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
sh.core in HOME of the user on system shutdown
Hello, I run 11-CURRENT r269739 on my i386 netbook. After (clean) shutdown I always have a core file 'sh.core' in the (only) logged in users HOME; the backtrace is ofc unuseable: (gdb) bt #0 0x282152f8 in fwrite () from /lib/libc.so.7 #1 0x280978db in el_gets () from /lib/libedit.so.7 #2 0x28099746 in el_gets () from /lib/libedit.so.7 #3 0x080536a1 in ?? () #4 0x2880d300 in ?? () #5 0x08066ac8 in _CurrentRuneLocale () #6 0x53f564a4 in ?? () #7 0x in ?? () Is it a known issue or is it worth to compile the libs with -g? Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Broadcom BCM4312 802.11b/g in 11-CURRENT r269739
El día Saturday, August 16, 2014 a las 05:25:09PM +0200, Matthias Apitz escribió: > > Hello, > > I have a 11-CURRENT from August 8, and ports from the day after: > > FreeBSD tiny-r269739 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r269739M: Fri Aug > 15 18:07:41 CEST 2014 guru@vm-tiny-r269739:/usr/obj/usr/src/sys/GENERIC > i386 > > The configuration used for the Wifi card is: > > rc.conf: > > wlans_bwn0="wlan0" > ifconfig_wlan0="WPA DHCP" > > loader.conf > > if_bwn_load="YES" > bwn_v4_lp_ucode_load="YES" > > The Wifi comes up fine on boot with WPA and DHCP assigns IP addr and > routing: > > wlan0: flags=8843 metric 0 mtu 1500 > ether 90:4c:e5:00:06:ce > inet 192.168.2.100 netmask 0xff00 broadcast 192.168.2.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g > status: associated > ssid tarara channel 7 (2442 MHz 11g) bssid 00:13:f7:0d:08:48 > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 4:128-bit txpower 30 bmiss 7 scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > wme roaming MANUAL > > I even can do a DNS lookup and transfer some ~10 PING to Internet, but > after this it gets stuck. Below is a 'dmesg | fgrep -i bwn'. Let me know > if someone needs a complete dmesg output. > I have recompiled if_bwn.c with -DBWN_DEBUG and set hw.bwn.debug=15 in /boot/loader.conf; an output of 'dmesg | fgrep bwn' is attached. IP addr gets assigned via DHCP and some 20 IMCP packages can be sent. After this, the traffic gets stuck. If someone (the author of the driver or the port of net/bwn*) is willing to guide my through the debugging, here I am. Thanks matthias Preloaded elf module "/boot/kernel/if_bwn.ko" at 0xc183d8e8. Preloaded elf module "/boot/kernel/siba_bwn.ko" at 0xc183dc6c. Preloaded elf module "/boot/modules/bwn_v4_lp_ucode.ko" at 0xc183e01c. firmware: 'bwn_v4_lp_ucode' version 0: 0 bytes loaded at 0xc1811084 firmware: 'bwn_v4_lp_ucode5' version 0: 22264 bytes loaded at 0xc1811084 firmware: 'bwn_v4_lp_ucode11' version 0: 32776 bytes loaded at 0xc181677c firmware: 'bwn_v4_lp_ucode13' version 0: 31440 bytes loaded at 0xc181e784 firmware: 'bwn_v4_lp_ucode14' version 0: 31000 bytes loaded at 0xc1826254 firmware: 'bwn_v4_lp_ucode15' version 0: 34672 bytes loaded at 0xc182db6c firmware: 'bwn_v4_lp_pcm5' version 0: 1320 bytes loaded at 0xc18362dc firmware: 'bwn_v4_lp_a0g1initvals5' version 0: 1848 bytes loaded at 0xc1836804 firmware: 'bwn_v4_lp_a0g0initvals5' version 0: 1848 bytes loaded at 0xc1836f3c firmware: 'bwn_v4_lp_b0g0initvals5' version 0: 1848 bytes loaded at 0xc1837674 firmware: 'bwn_v4_lp_b0g0initvals13' version 0: 2126 bytes loaded at 0xc1837dac firmware: 'bwn_v4_lp_a0g1bsinitvals5' version 0: 178 bytes loaded at 0xc18385fa firmware: 'bwn_v4_lp_a0g0bsinitvals5' version 0: 178 bytes loaded at 0xc18386ac firmware: 'bwn_v4_lp_b0g0bsinitvals5' version 0: 178 bytes loaded at 0xc183875e firmware: 'bwn_v4_lp_lp0initvals13' version 0: 3664 bytes loaded at 0xc1838810 firmware: 'bwn_v4_lp_lp0initvals14' version 0: 2110 bytes loaded at 0xc1839660 firmware: 'bwn_v4_lp_lp0initvals15' version 0: 2282 bytes loaded at 0xc1839e9e firmware: 'bwn_v4_lp_lp0bsinitvals13' version 0: 178 bytes loaded at 0xc183a788 firmware: 'bwn_v4_lp_lp0bsinitvals14' version 0: 178 bytes loaded at 0xc183a83a firmware: 'bwn_v4_lp_lp0bsinitvals15' version 0: 178 bytes loaded at 0xc183a8ec firmware: 'bwn_v4_lp_n0bsinitvals11' version 0: 178 bytes loaded at 0xc183a99e siba_bwn0: mem 0x5710-0x57103fff irq 16 at device 0.0 on pci1 bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4312 rev 15) PHY (analog 6 type 5 rev 1) RADIO (manuf 0x17f ver 0x2062 rev 2) bwn0: DMA (64 bits) bwn0: MSI count : 1 siba_bwn0: attempting to allocate 1 MSI vectors (1 supported) siba_bwn0: using IRQ 257 for MSI bwn0: Using 1 MSI messages bwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps bwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps bwn_init: if_flags 0x8803 bwn0: firmware version (rev 478 patch 104 date 0x8701 time 0x657) bwn_newstate: INIT -> SCAN bwn_newstate: SCAN -> AUTH bwn_newstate: AUTH -> ASSOC bwn_newstate: ASSOC -> RUN bwn0: need multicast update callback bwn0: RX decryption attempted (old 0 keyidx 0x2) bwn0: RX decryption attempted (old 0 keyidx 0x2) bwn0: need multicast update callback bwn0: need multicast update callback bwn0: RX decryption attempted (old 0 keyidx 0x2) bwn0: RX decryption attempted (old 0 keyidx
Re: installing packages into a mounted system
Hello, To close this thread: after reading and understandig how it should work, I have found the following easy solution: # chroot /mnt pkg-static repo /PKGDIR Creating repository in /PKGDIR: 83% ... Packing files for repository: 100% # chroot /mnt mkdir -p /usr/local/etc/pkg/repos # vim /mnt/usr/local/etc/pkg/repos/myrepo.conf # cat /mnt/usr/local/etc/pkg/repos/myrepo.conf FreeBSD: { url: "file:/PKGDIR", enabled: true, } # chroot /mnt pkg-static -R /usr/local/etc/pkg/repos/ install autoconf-2.69 Updating repository catalogue FreeBSD repository is up-to-date All repositories are up-to-date The following 5 packages will be affected (of 0 checked): New packages to be INSTALLED: autoconf: 2.69 indexinfo: 0.2 perl5: 5.16.3_11 m4: 1.4.17_1,1 autoconf-wrapper: 20131203 The process will require 45 MB more space 13 MB to be downloaded Proceed with this action [y/N]: y Fetching autoconf-2.69.txz: 100% of 529 KB Fetching indexinfo-0.2.txz: 100% of 6 KB Fetching perl5-5.16.3_11.txz: 100% of 12 MB Fetching m4-1.4.17_1,1.txz: 100% of 183 KB Fetching autoconf-wrapper-20131203.txz: 100% of 4 KB Checking integrity... done (0 conflicting) [1/5] Installing indexinfo-0.2: 100% [2/5] Installing perl5-5.16.3_11: 100% [3/5] Installing m4-1.4.17_1,1: 100% [4/5] Installing autoconf-wrapper-20131203: 100% [5/5] Installing autoconf-2.69: 100% # chroot /mnt pkg-static info autoconf-2.69 Automatically configure source code on many Un*x platforms autoconf-wrapper-20131203 Wrapper script for GNU autoconf indexinfo-0.2 Utility to regenerate the GNU info page index m4-1.4.17_1,1 GNU m4 perl5-5.16.3_11Practical Extraction and Report Language Works fine. Thanks to the people who designed this new pkg tool. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: installing packages into a mounted system
El día Thursday, August 14, 2014 a las 09:22:38AM -0400, Nikolai Lifanov escribió: > > # PACKAGESITE=file://PKGDIR export PACKAGESITE > > # chroot /mnt /usr/local/sbin/pkg-static install xorg-7.7 > > Updating repository catalogue > > pkg-static: file://PKGDIR/digests.txz: No such file or directory > > pkg-static: No digest falling back on legacy catalog format > > pkg-static: file://PKGDIR/repo.txz: No such file or directory > > > > >From the man page: > pkg [-v] [-d] [-l] [-N] [-j | -c ] > > You could try copying pkg-static inside the chroot and use pkg-static -c > (from the host, don't invoke the chroot command manually). > > I have been installing packages to jails this way for a while. # pkg-static -c /mnt install xorg-7.7 gives the same error messages as above. Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
installing packages into a mounted system
Hello, I've compiled ~1300 packages with poudriere 3.1pre on a 'head' system; went fine; mounted below /mnt is a complete new system (an USB key) which boots fine alreaday; the 1300 resulting *.txz file are copied into /mnt/PKGDIR in the past, using the pkg_* tools, I could just install the packages with: # PKG_PATH=/PKGDIR # export PKG_PATH # chroot /mnt pkg_add xorg-7.7 # chroot /mnt pkg_add kde-4.10.5 ... How this can be done now with pkg(8)? I thought I will compile a pkg-static and move this to into the /mnt system too with # chroot /mnt mkdir -p /usr/local/sbin # cp -p /usr/local/sbin/pkg-static /mnt/usr/local/sbin pkg-static(8) works there, bringing up the help with: # chroot /mnt /usr/local/sbin/pkg-static help But, how do I specify that it should install for example xorg-7.7 having its file (and all others) in /mnt/PKGDIR/xorg-7.7.txz It seems to look for some files digests.txz or repo.txz which I do not have: # PACKAGESITE=file://PKGDIR export PACKAGESITE # chroot /mnt /usr/local/sbin/pkg-static install xorg-7.7 Updating repository catalogue pkg-static: file://PKGDIR/digests.txz: No such file or directory pkg-static: No digest falling back on legacy catalog format pkg-static: file://PKGDIR/repo.txz: No such file or directory Any hints? Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: poudriere: setting up jail failes
El día Monday, August 11, 2014 a las 12:14:39PM -0500, Bryan Drewery escribió: > > when I terminate the dialog, it seems that the pkg-* tools > > are used (which ofc are not installed on the host): > > > > ===> Setting user-specified options for kde-4.12.5 and dependencies > > /usr/local/sbin/pkg-static: not found > > make[1]: "/usr/local/poudriere/ports/ports-head/Mk/bsd.openssl.mk" line 99: > > warning: Couldn't read shell's output for "/usr/local/sbin/pkg-static > > which -qo /usr/local/lib/libcrypto.so || :" > > /usr/local/sbin/pkg-static: not found > > > > What I'm doing wrong or have understand wrong? > > > > Thanks > > > > matthias > > > > It is known, please see > https://fossil.etoilebsd.net/poudriere/tktview?name=40060873f3 I'm not sure, after reading the ticket, if it is the same issue. My concern is: why 'poudriere options ...' is awaiting some tools in the hosts /usr/local/sbin/pkg-* to configure the options. If the existance of /usr/local/sbin/pkg-* is a prerequired port to make poudriere happy, it should pull the port in or at least mention this is the man page. My host still has the old pkg_* tools installed. Am I more clear now? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: poudriere: setting up jail failes
El día Friday, August 08, 2014 a las 02:27:40PM -0500, Bryan Drewery escribió: > On 8/8/2014 1:57 PM, Matthias Apitz wrote: > > And, btw., why is poudriere removing all the jail when an error occures? > > Wouldn't it be better to let it there to have a look into and remove it > > on the next run? > > Yes I agree this should probably change. I'll evaluate it after the 3.1 > release which is the major focus right now. The jail command has a lot > of issues with building and error handling. I have updated last night the host to 'head' and poudriere itself to poudriere-devel-3.0.99.20140801. Compiling the ports in the jail makes progress, as always with some hick-ups in the ports itself. I have one fundamental question, maybe a missunderstanding of poudriere: When I run 'poudriere options ...' it is not using the toolchain in the jail: # uname -a FreeBSD vm-tiny-r269739 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r269739: Sat Aug 9 07:07:40 CEST 2014 guru@vm-tiny-r269739:/usr/obj/usr/src/sys/GENERIC i386 $ # poudriere version 3.1-pre # poudriere options -c -j freebsd-head -p ports-head x11/kde4 brings up the Options menu of x11/kde4 and when you look with ps, it uses /usr/local/bin/dialog4ports for this: # ps ax | fgrep dialog 92303 3 I+ 0:00,00 /usr/local/bin/dialog4ports when I terminate the dialog, it seems that the pkg-* tools are used (which ofc are not installed on the host): ===> Setting user-specified options for kde-4.12.5 and dependencies /usr/local/sbin/pkg-static: not found make[1]: "/usr/local/poudriere/ports/ports-head/Mk/bsd.openssl.mk" line 99: warning: Couldn't read shell's output for "/usr/local/sbin/pkg-static which -qo /usr/local/lib/libcrypto.so || :" /usr/local/sbin/pkg-static: not found What I'm doing wrong or have understand wrong? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: poudriere: setting up jail failes
El día Friday, August 08, 2014 a las 02:24:18PM -0500, Bryan Drewery escribió: > The use of -v head from a 10.0 system is the issue. Once you start a > build poudriere yells loudly that it is not supported. Major release > jumps are not supported. You can usually get away with a head host using > a head jail that is a few weeks newer as long as KBI does not change. > ... OK, thanks. I will update the host to head and try again. Btw: I did not saw any loud yells of poudriere. Maybe, because I went away from the desk when poudriere was doing the SVN checkout and when I came back it was already nicely compiling. Maybe it should ask a question like: Do your really want that new jail on your old system? And wait for the answer :-) Thanks for your time. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: poudriere: setting up jail failes
El día Friday, August 08, 2014 a las 01:43:51PM -0500, Bryan Drewery escribió: > Yes. For you it is fixed in stable/10 r257460 (which was in before 10.0 > release) which added -N to mtree. There was a lot of polish at the end > of 10.0 so you should probably upgrade to at least 10.0 either way. > > It could be that older releases building 10 and head for Poudriere may > be an issue still. I'll have to test more. Specifically the call of > 'make distrib-dirs DB_FROM_SRC=1' seemingly not using the itools version > of mtree. This is perhaps the problem. > Also note that running a head jail on a 10.0 system is not really > supported. You may run into many weird issues building packages. It's > supported to have your host be newer than the jails but not the other > way around. Hmm? The poudriere has the '-m svn' flag for creating jails. If one uses this flag, the jail will always be newer than the host. If this is an issue (which I do not understand if things are done in a jail, using the toolchain of the jail) then this flag should be deleted from poudriere, IMHO. Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: poudriere: setting up jail failes
El día Friday, August 08, 2014 a las 07:12:15PM +0200, Kurt Jaeger escribió: > Hi! > > > The host where poudriere is running is: > > > > # uname -a > > FreeBSD vm-tiny-r255948 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #1: Fri Oct 18 > > 12:10:57 CEST 2013 g...@aurora.sisis.de:/usr/obj/usr/src/sys/GENERIC > > i386 > > > > i.e. a CURRENT from Oct 2013 (r255948). Does this mean I should update > > the host where poudriere is running before? > > Yes. Go for 10.0-REL p7, then retry. Can you explain, why? If one looks at the code which is executed in the jail, it looks like this (for better readability I have changed the colons ':' in the PATH by newlines): PATH=/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/sbin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/bin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/games /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/bin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/sbin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/bin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/games /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/sbin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/bin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/games /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/bin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/sbin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/bin /usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/games /tmp/install.l1aks4sC make LOCAL_MTREE= distrib-dirs mtree -N /usr/local/poudriere/jails/freebsd-head/usr/src/etc -deU -f /usr/local/poudriere/jails/freebsd-head/usr/src/etc/mtree/BSD.root.dist -p /usr/local/poudriere/jails/freebsd-head/ mtree: illegal option -- N usage: mtree [-LPUcdeinqruxw] [-f spec] [-f spec] [-K key] [-k key] [-p path] [-s seed] [-X excludes] *** Error code 1 i.e. the tool 'mtree' is run from a hardcoded PATH from inside the jail which was just compiled. Why the 'mtree' from a Makefile in CURRENT is called with the -N flag, or why the 'mtree' from CURRENT does not understand the -N flag? I do not have a SVN checked out CURRENT to look into at the moment, but I think either the Makefile or mtree is broken in CURRENT. And, btw., why is poudriere removing all the jail when an error occures? Wouldn't it be better to let it there to have a look into and remove it on the next run? > > -- > 6 years to go ! 6 years to go to where or what? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
poudriere: setting up jail failes
Hello, I'm setting up a jail with poudriere(8) to compile my ports; after some hours it is crashing with: # poudriere jail -c -j freebsd-head -m svn+http -v head ; date ... >>> Making hierarchy -- cd /usr/local/poudriere/jails/freebsd-head/usr/src; make -f Makefile.inc1 LOCAL_MTREE= hierarchy cd /usr/local/poudriere/jails/freebsd-head/usr/src/etc && PATH=/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/games:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/bin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/sbin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/bin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/games:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/usr/games:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/legacy/bin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/sbin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr/src/tmp/usr/bin:/usr/obj/usr/local/poudriere/jails/freebsd-head/usr /src/tmp/usr/games:/tmp/install.l1aks4sC make LOCAL_MTREE= distrib-dirs mtree -N /usr/local/poudriere/jails/freebsd-head/usr/src/etc -deU -f /usr/local/poudriere/jails/freebsd-head/usr/src/etc/mtree/BSD.root.dist -p /usr/local/poudriere/jails/freebsd-head/ mtree: illegal option -- N usage: mtree [-LPUcdeinqruxw] [-f spec] [-f spec] [-K key] [-k key] [-p path] [-s seed] [-X excludes] *** Error code 1 Stop. make[4]: stopped in /usr/local/poudriere/jails/freebsd-head/usr/src/etc *** Error code 1 ... make: stopped in /usr/local/poudriere/jails/freebsd-head/usr/src >> Error: Failed to 'make installworld' >> Error while creating jail, cleaning up. >> Removing freebsd-head jail... done The host where poudriere is running is: # uname -a FreeBSD vm-tiny-r255948 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #1: Fri Oct 18 12:10:57 CEST 2013 g...@aurora.sisis.de:/usr/obj/usr/src/sys/GENERIC i386 i.e. a CURRENT from Oct 2013 (r255948). Does this mean I should update the host where poudriere is running before? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
NTOS: ... message in /var/log/messages && PANIC
Hello, I have encountered on a system: $ uname -a FreeBSD La-Habana 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250588M: Sat Jun 22 14:15:48 CEST 2013 guru@La-Habana:/usr/obj/usr/home/guru/head/src/sys/GENERIC i386 twice a PANIC, last line in /var/log/messages was always: May 9 13:55:26 La-Habana kernel: NTOS: timer 0xc5ea5430 fired even though it was canceled May 14 09:43:08 La-Habana kernel: NTOS: timer 0xc5f05430 fired even though it was canceled What does this line mean? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
El día Wednesday, May 07, 2014 a las 12:14:16PM +0800, Jia-Shiun Li escribió: > On Wed, May 7, 2014 at 1:05 AM, Matthias Apitz wrote: > > > > # dmesg > > ... > > CPU: Intel(R) Celeron(R) M processor 900MHz (900.11-MHz 686-class > > CPU) > > Origin = "GenuineIntel" Id = 0x6d8 Family = 0x6 Model = 0xd Stepping > > = 8 > > > > Features=0xafe9fbff > > AMD Features=0x10 > > real memory = 2147483648 (2048 MB) > > avail memory = 2076614656 (1980 MB) > > > > The Celeron M CPU is a Pentium-M without EIST. Otherwise you'd see EST > bit set in Features2. See https://wiki.freebsd.org/AsusEee. Guess > that's why Asus deliberately underclocked it to 630MHz in the first > gen EEE PC 701 - no automatic way available. > > Don't know if p4tcc or acpi_throttle helps, though. > The output on the EeePC (or its battery) is pretty much useless; this is after 2880 secs uptime: $ acpiconf -i0 Design capacity:4400 mAh Last full capacity: 100 mAh Technology: secondary (rechargeable) Design voltage: 8400 mV Capacity (warn):20 mAh Capacity (low): 10 mAh Low/warn granularity: 44 mAh Warn/full granularity: 44 mAh Model number: 900 Serial number: Type: LION OEM info: ASUS State: discharging Remaining capacity: 60% Remaining time: unknown Present rate: unknown Present voltage:7243 mV There is no indication about 'Present rate' and 'Remaining time'. Over all, with external USB UMTS modem active and KDE4 up, the battery lasts only a bit more than one hour. The label on the bat says 6600 mAh, while acpiconf reads 4400 mAh. Due to the lack of 'Present rate' it's not possible to calculate what the bat gives at all. I will try to build something to attach a voltage meter between the bat and the laptop. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
El día Tuesday, May 06, 2014 a las 01:00:21PM -0400, Allan Jude escribió: > > EeePC 900, but it says: > > > > root@tiny-r255948:~ # uname -a > > FreeBSD tiny-r255948 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #1: Fri Oct 18 > > 12:10:57 CEST 2013 g...@aurora.sisis.de:/usr/obj/usr/src/sys/GENERIC > > i386 > > > > root@tiny-r255948:~ # /etc/rc.d/powerd start > > Starting powerd. > > powerd: no cpufreq(4) support -- aborting: No such file or directory > > /etc/rc.d/powerd: WARNING: failed to start powerd > > root@tiny-r255948:~ # kldload cpufreq > > kldload: can't load cpufreq: File exists > > > > Any ideas? > > > > matthias > > > > Does it have an Atom processor? I don't know that the older atoms have > EIST (speed step), I don't think you can change the CPU frequency at all. > # dmesg ... CPU: Intel(R) Celeron(R) M processor 900MHz (900.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Family = 0x6 Model = 0xd Stepping = 8 Features=0xafe9fbff AMD Features=0x10 real memory = 2147483648 (2048 MB) avail memory = 2076614656 (1980 MB) matthias -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
Hello, I wanted to implement the power saving hints we discussed in my tiny EeePC 900, but it says: root@tiny-r255948:~ # uname -a FreeBSD tiny-r255948 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #1: Fri Oct 18 12:10:57 CEST 2013 g...@aurora.sisis.de:/usr/obj/usr/src/sys/GENERIC i386 root@tiny-r255948:~ # /etc/rc.d/powerd start Starting powerd. powerd: no cpufreq(4) support -- aborting: No such file or directory /etc/rc.d/powerd: WARNING: failed to start powerd root@tiny-r255948:~ # kldload cpufreq kldload: can't load cpufreq: File exists Any ideas? matthias -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
El día Monday, May 05, 2014 a las 12:36:08PM +0200, Matthias Apitz escribió: > Btw: the values in /etc/rc.conf > > performance_cx_lowest="Cmax" > economy_cx_lowest="Cmax" > > to which launched process they belong as config values? Forget the question. The values are used by /etc/rc.d/power_profile which is launched when AC goes away or comes back. Maybe we should have a note about this in rc.conf(5) that these values are passed to this script or the names should be changed to power_profile_performance_cx_lowest power_profile_economy_cx_lowest matthias matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
El día Monday, May 05, 2014 a las 12:09:02PM +0200, Stefan Esser escribió: > > In the output of: > > > > $ sysctl -a | fgrep dev.cpu.0.freq_ > > dev.cpu.0.freq_levels: 1600/2000 1333/1533 1066/1066 800/600 > > > > what does mean the value after the slash .../ ? > > This is the nominal power consumption (TDP) in mW for that level. > These numbers correspond to 2W at 1600MHz and 0.6W at 800MHz. Thanks. > > Is this an Atom or some other ultra-low power CPU? dmesg shows: ... CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (1596.22-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x106c2 Family = 0x6 Model = 0x1c Stepping = 2 Features=0xbfe9fbff Features2=0x40c39d AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 1073741824 (1024 MB) avail memory = 1004568576 (958 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard ... Btw: the values in /etc/rc.conf performance_cx_lowest="Cmax" economy_cx_lowest="Cmax" to which launched process they belong as config values? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
El día Saturday, May 03, 2014 a las 04:59:48PM -0700, Kevin Oberman escribió: > Available is not required. Set it to C8. That guarantees that you will use > the lowest available. The correct incantation in rc.conf is "Cmax". > performance_cx_lowest="Cmax" > economy_cx_lowest="Cmax" > > But, unless you want laggy performance, you will probably also want: > hint.p4tcc.0.disabled=1 > hint.acpi_throttle.0.disabled=1 > in /boot/loader.conf. Low Cx states and TCC/throttling simply don't mix > well and TCC is not effective, as mentioned earlier in this thread. In the output of: $ sysctl -a | fgrep dev.cpu.0.freq_ dev.cpu.0.freq_levels: 1600/2000 1333/1533 1066/1066 800/600 what does mean the value after the slash .../ ? Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
El día Saturday, May 03, 2014 a las 04:59:48PM -0700, Kevin Oberman escribió: > On Sat, May 3, 2014 at 1:25 PM, Adrian Chadd wrote: > > > Set it to the lowest available Cx state that you see in dev.cpu.0 . > > > > > Available is not required. Set it to C8. That guarantees that you will use > the lowest available. The correct incantation in rc.conf is "Cmax". > performance_cx_lowest="Cmax" > economy_cx_lowest="Cmax" > > But, unless you want laggy performance, you will probably also want: > hint.p4tcc.0.disabled=1 > hint.acpi_throttle.0.disabled=1 > in /boot/loader.conf. Low Cx states and TCC/throttling simply don't mix > well and TCC is not effective, as mentioned earlier in this thread. Re/ powerd I have in /etc/rc.conf: # powerd powerd_enable="YES" powerd_flags="-a max -b adp" # performance_cx_lowest="Cmax" economy_cx_lowest="Cmax" (and the additional hint.* in /boot/loader.conf as well). Which process 'performance_cx_lowest' and 'economy_cx_lowest' target exactly as config values? Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
El día Saturday, May 03, 2014 a las 09:37:08AM -0700, Adrian Chadd escribió: > Hi, > > I'm working on adding some more power management logging support to > freebsd-head so we can start to get a better grip on sleep/wakeup > occurances. That should help us start to figure out where the power > consumption is going. > > But on that EEEPC 900, just make sure you've set dev.cpu.0.cx_lowest > to something lower than C1. Hi, I can't check it in my EeePC at the moment, because it has no power at all, its porwer suply faulted two days ago (broken cable). To which value I should have set dev.cpu.0.cx_lowest? I do not remember having it changed at all. Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
El día Tuesday, April 01, 2014 a las 08:38:28AM +0100, David Chisnall escribió: > > Just a small note here: Improving power management is something that the Core > Team and the Foundation have jointly identified as an important goal, in > particular for mobile / embedded scenarios. We're currently coordinating > potential sponsors for the work and soliciting proposals from people > interested in doing the work. If you know of anyone in either category then > please drop either me, core, or the Foundation an email. > Hello, Using every day one of my FreeBSD netbooks (see below), I know very well that improving power management and by this the uptime while running on battery is a serious issue. I'm currently surprised about the big diff between two of my netbooks, one running 1 hour only while the other runs ~4 hours. I'm thinking about building a cable connection between the battery and the netbooks to measure the exact power drain (normally one can not see this because the battery is connected into its bay and you can not put any meter in there). I'm an experienced C-programmer and long time FreeBSD user and tester and I'm willing to dig deeper into this work. Please let me know if there is something to work on. Attached below is a description of the two mentioned netbooks and their uptime values. Thanks matthias comparing battery life time of [EeePC 900] and [Acer Aspire One D250] | EeePC 900 | Acer Aspire One D250 --+-+ CPU | 900 MHz Intel Celeron M 353 | 2x Intel Atom CPU N270 @ 1.60GHz RAM | 2 GByte | 1 GByte disk | 2x SSD (4 GB, 16 GB)| WDC WD2500BEVT-22ZCT0 11.01A11 | | ATA-8 SATA 2.x, 238475MB display | TFT 1024x600 9" | TFT 1024x600 10" FreeBSD | 10-CURRENT r255948 | 10-CURRENT r250588 KDE | 4.10.5 | 3.5.10 WAN (UMTS)| USB u3g Huawei E1750| USB u3g Huawei E1750 --+-+ battery | Li-ion A22-701 7.4V 7200mAh | Li-ion UM08B74 11.1V 5200mAh / 54Wh | 53.380Wh| 57.720Wh --+-+ uptime| ~1 hours| ~4 hours --+-----+ -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: recompiling openssl in base system with -DOPENSSL_NO_HEARTBEATS
El día Sunday, April 13, 2014 a las 09:03:40AM +0200, Matthias Apitz escribió: > > Hello, > > I run a bunch of -CURRENT systems and due to the OpenSSL HEARTBEAT issue > I want to recompile the libssl.so in the base system with the option > -DOPENSSL_NO_HEARTBEATS. > > What is the best procedure to do this? I think the easy way is what I did now: $ ./heartbleed/heartbleed localhost:631 VULNERABLE! we have to recompile libssl.so.7 # cd /usr/src/secure/lib/libssl # vim ../libcrypto/Makefile.inc added to the line -DOPENSSL_NO_HEARTBEATS as shown here: # diff ../libcrypto/Makefile.inc* 12c12 < CFLAGS+= -DTERMIOS -DANSI_SOURCE -DOPENSSL_NO_HEARTBEATS --- > CFLAGS+= -DTERMIOS -DANSI_SOURCE # make # make install $ ~/heartbleed/heartbleed localhost:631 NOT VULNERABLE (TLS Heartbeat extension not supported by the server) -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
recompiling openssl in base system with -DOPENSSL_NO_HEARTBEATS
Hello, I run a bunch of -CURRENT systems and due to the OpenSSL HEARTBEAT issue I want to recompile the libssl.so in the base system with the option -DOPENSSL_NO_HEARTBEATS. What is the best procedure to do this? Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X- No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Leaving the Desktop Market
El día Tuesday, April 01, 2014 a las 07:43:02PM +0200, Lars Engels escribió: > > > > > That is why on this date I propose that we cease competing on the > > > > > desktop market. FreeBSD should declare 2014 to be "year of the > > [snip] > > > > > I'm a happy FreeBSD desktop user since 4.7. There are some edges, but I > > > really like that I can can create a desktop the way _I_ want it and my > > > mail > > > client even allows me to break lines at 80 chars. Eat that, Apple Mail! > > > ;-) > > > > What e-mail client do you use? Evolution? > > No, mutt, with vim as mail composer. :) +1 matthias (FreeBSD since 2.2.5 and sending this from an EeePC 900, netbook, UMTS connected, KDE4 desktop, sound, webcam, vim, mutt, sendmail, ...) -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Hello fdclose
Hello, I'm using as MUA the famous 'mutt' and from time to time I'm missing a feature in 'mutt': mark a thread as unwanted to present any new messages in this thread. This is one I would mark for this. Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Google Chromebook C720
El día Wednesday, February 12, 2014 a las 12:48:31AM -0800, Adrian Chadd escribió: > I have one of these, but I haven't yet sat down to try freebsd-head > again. The default problems with the bootloader sucks. Are we talking about this device: https://www.google.de/intl/de/chrome/devices/acer-c720-chromebook.html#ac-c720 This has only a 16 GByte SSD and the rest is in the cloud under the control of whoever. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Google Chromebook C720
El día Wednesday, February 12, 2014 a las 08:13:40AM +0100, Hans Petter Selasky escribió: > Hi, > > Anyone subscribed here that can do some USB tests using FreeBSD on a > Google Chromebook, C720? Does FreeBSD run on Google Chromebook at all? matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: svn && ports, or the hen && egg
El día Wednesday, December 18, 2013 a las 12:59:16PM -0800, Freddie Cash escribió: > On Wed, Dec 18, 2013 at 12:50 PM, Matthias Apitz wrote: > > > As ports are now for some time are to be pulled out via SVN (and not > > CVS) and the svn client is only in the ports tree and not in the base > > system, how is this thought to work in a clean way, without dusting the > > system before with some binary packages, only based on base system and > > sources? > > > > svnlite is included in the base OS for 10.0. > > See https://wiki.freebsd.org/WhatsNew/FreeBSD10 for details. And > http://svnweb.freebsd.org/base?view=revision&revision=251886 for the commit > message. Ok, thanks; but see this: $ uname -a FreeBSD tiny-r255948 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #1: Fri Oct 18 12:10:57 CEST 2013 g...@aurora.sisis.de:/usr/obj/usr/src/sys/GENERIC/i386 $ svnlite Type 'svn help' for usage. $ svn help svn: not found :-) matthias -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
svn && ports, or the hen && egg
Hi, As ports are now for some time are to be pulled out via SVN (and not CVS) and the svn client is only in the ports tree and not in the base system, how is this thought to work in a clean way, without dusting the system before with some binary packages, only based on base system and sources? Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
dhclient: send_packet: No buffer space available
Hello, Since I have updated my netbook to r255948 I see from time to time in the console the message: Nov 1 16:20:28 tiny-r255948 dhclient[696]: send_packet: No buffer space available The WLAN for the rest works fine without any problem or hick-ups and dhclient always gets and assigns the IP to the wlan0 (ath0) interface. Any idea? Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
mystery problem with SVN update in /head
Hello, I have the following problem while updating an item in the ports tree: the SVN checkout was done on October 1; when I do now # cd /usr/ports/net # rm -r vnc # svn up vnc Updating 'vnc': Restored 'vnc' Restored 'vnc/pkg-plist' Restored 'vnc/Makefile' Restored 'vnc/distinfo' Restored 'vnc/pkg-descr' Restored 'vnc/files' Restored 'vnc/files/FreeBSD.cf-patch' Restored 'vnc/files/extra-patch-xc-config-util-printver.c' Restored 'vnc/files/vnc.def-patch' Restored 'vnc/files/extra-patch-fix_Xvnc_no_valid_address' Restored 'vnc/files/patch-unix-xc-programs-Xserver-vnc-Imakefile' Restored 'vnc/files/extra-patch-xfree86' Restored 'vnc/files/patch-unix-x0vncserver-x0vncserver.cxx' Restored 'vnc/files/patch-unix-xc-programs-Xserver-vnc-XserverDesktop.h' Restored 'vnc/files/patch-xc-programs-Xserver-vnc-vncExtInit.cc' At revision 332203. some files are missing (marked below) also a # rm -r vnc # svn co svn://svn.freebsd.org/ports/head/net/vnc does not help; only doing the checkout in an empty space like # cd /tmp # svn co svn://svn.freebsd.org/ports/head/net/vnc Avnc/pkg-plist Avnc/Makefile Avnc/distinfo Avnc/pkg-descr Avnc/files Avnc/files/patch-unix-tx-TXImage.cxx ^ Avnc/files/patch-unix-x0vncserver-x0vncserver.cxx Avnc/files/patch-common-network-TcpSocket.cxx ^ Avnc/files/patch-unix-xc-programs-Xserver-vnc-XserverDesktop.h Avnc/files/patch-xc-programs-Xserver-vnc-vncExtInit.cc Avnc/files/FreeBSD.cf-patch Avnc/files/extra-patch-xc-config-util-printver.c Avnc/files/vnc.def-patch Avnc/files/extra-patch-fix_Xvnc_no_valid_address Avnc/files/patch-unix-x0vncserver-Image.cxx ^ Avnc/files/patch-unix-xc-programs-Xserver-vnc-Imakefile Avnc/files/extra-patch-xfree86 Checked out revision 332240. brings the marked files to my disk; why is this? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
panic on r255948 after inserting a 2nd USB device
Hello, I have an 10-CURRENT r255948 i386 which is booted from an USB stick; no disk or SSD is involved; it boots fine and works fine mostly; sometimes right after boot, when I plug-in another USB device (a HUAWEI UMTS stick) the system reports: ugen4.4 at usbus4 (da0:umass-sim0:0:0:0) WRITE(10). CDB: 2a 00 01 b7 14 07 00 00 08 00 (da0:umass-sim0:0:0:0) CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0) Retrying command ugen4.4 at usbus4 (disconnected) (da0:umass-sim0:0:0:0) WRITE(10). CDB: 2a 00 01 b7 14 07 00 00 08 00 (da0:umass-sim0:0:0:0) CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0) Retrying command ... and so far until PANIC; the da0 is the booted USB key. This does not happen always on lug-in of the UMTS stick, only let's say every second time. Anything I could do? Thx matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [rfc] removing the NDISulator
El día Friday, October 18, 2013 a las 02:19:42PM -0700, Adrian Chadd escribió: > I'd really like to see bwi/bwn maintained and have support added for the > later hardware. Hi Adrian, $ pciconf -vl ndis0@pci0:1:0:0: class=0x028000 card=0xe01b105b chip=0x431514e4 rev=0x01 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4312 802.11b/g LP-PHY' class = network I'm using NDIS as well in r250588. Is bwi/bwn the point to start to look into for this chip? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: compiling qt4-corelib fails on 10-CURRENT r250588
El día Saturday, May 25, 2013 a las 08:22:51AM +0200, Matthias Apitz escribió: > > Hello, > > The compilation of ports/devel/qt4-corelib fails on r250588; please > advice what's todo; thanks > > ===> Building for qt4-corelib-4.8.4_1 > clang++ -c -O2 -pipe ... I just found with Don Google that this was fixed in KDE4 two weeks ago; I should have searched before; sorry for the noise; matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
compiling qt4-corelib fails on 10-CURRENT r250588
:72:25: error: expected unqualified-id static __inline__ __m64 __attribute__((__always_inline__, __nodebug__)) ^ /usr/include/clang/3.3/mm3dnow.h:77:19: error: unknown type name '__m64' static __inline__ __m64 __attribute__((__always_inline__, __nodebug__)) ^ /usr/include/clang/3.3/mm3dnow.h:77:25: error: expected unqualified-id static __inline__ __m64 __attribute__((__always_inline__, __nodebug__)) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [.obj/release-shared/qsimd.o] Error code 1 1 error *** [do-build] Error code 1 Stop in /usr/ports.r315646/devel/qt4-corelib. -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: panic: pmap_promote_pde: page table page is out of range in r235646
El día Monday, May 20, 2013 a las 02:29:30PM -0400, John Baldwin escribió: > > panic: pmap_promote_pde: page table page is out of range > > couid = 0 > > KDB: enter: panic > > [ thread pid 1397 tid 100119 ] > > Stopped at kdb_enter+0x3a: movl $0, kdb_why > > db> > > > > which makes it impossible to install the packages on it (xorg, ... etc. > > all compiled on my "master site"; > > > > what can I do? The only diff between the computers real difference > > between the computers is that this 4th one has 2 CPU... > > Is there a chance you have a hardware issue (bad RAM, etc.)? I have update to r250588 and installed around 800 ports (xorg, KDE3, firefox), and no more PANICs anymore. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: SOLVED: Re: Skype in head (r250588)
El día Sunday, May 19, 2013 a las 08:53:11AM -0400, Outback Dingo escribió: > > in all Display sections and after it the local picture in Skype was > > working too; don't know what the relationship between this in the > > overlay in Skype is. > > > > > So ... wait skype now works in FreeBSD ?? And with cams? For years already, see https://wiki.freebsd.org/WebcamCompat The questions is more, how long it will work, and how long there will be binaries for Linux, due to M$ now owns Skype too; matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
SOLVED: Re: Skype in head (r250588)
El día Friday, May 17, 2013 a las 12:08:17PM +, Matthias Apitz escribió: > > Hello, > > I have updated my laptop today to /head r250588, the ports are also from > SVN as of April 1; > > cuse4bsd-kmod-0.1.27 > webcamd-3.9.0.5 > skype-2.1.0.81_1,1 > libv4l-0.8.8_1 > v4l_compat-1.0.20120501_1 > linux-f10-libv4l-0.6.2 > > The laptop has a built-in cam and I have attached another via USB, > both are working fine with pwcview(1); > After a lot of tests and debugging it turned out that only the local test view and the local own view in calls were not working; the problem reduced that way to a local X11 issue; I deleted in xorg.conf the entries about # Virtual 2944 2944 in all Display sections and after it the local picture in Skype was working too; don't know what the relationship between this in the overlay in Skype is. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Skype in head (r250588)
El día Saturday, May 18, 2013 a las 08:53:37PM +0800, Buganini escribió: > and recompile those programs. > > I've met similar problem some times ago. > cd/dvd burning were in the same situation. > > > 2013/5/18 Buganini > > > have you > > make delete-old delete-old-libs > > ? re/ "make delete-old delete-old-libs": world and kernel r250588 have been installed with # make installworld DESTDIR=/mnt # make installkernel DESTDIR=/mnt KERNCONF=GENERIC INSTALL_NODEBUG=t # make distrib-dirs DESTDIR=/mnt # make distribution DESTDIR=/mnt into an empty disk /mnt all applications (ports) have been compiled on another system, which runs a one year old r235646 kernel/world; this could mean that there is some binary incompability for userland applications between r235646 and r250588. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Skype in head (r250588)
Hello, I have updated my laptop today to /head r250588, the ports are also from SVN as of April 1; cuse4bsd-kmod-0.1.27 webcamd-3.9.0.5 skype-2.1.0.81_1,1 libv4l-0.8.8_1 v4l_compat-1.0.20120501_1 linux-f10-libv4l-0.6.2 The laptop has a built-in cam and I have attached another via USB, both are working fine with pwcview(1) of the ports; in Skype the external (a Philips SPC 900SC) can be probed, but does not work on calls; the built-in gives in Skype only a blank area; Both have been working before on a r21 from Oct 28, 2010; Has someone Skype working in a recent head? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
MAKEOBJDIRPREFIX and rsync/cp problem (was: Re: head && auditdistd)
El día Wednesday, May 15, 2013 a las 09:11:11AM +0200, Matthias Apitz escribió: > # newfs /dev/ad4s1a > # mount /dev/ad4s1a /mnt > # setenv MAKEOBJDIRPREFIX /home/guru/head/obj > # cd /home/guru/head/src > # make installworld DESTDIR=/mnt > > ... > >>> Installing everything > -- > cd /home/guru/head/src; make -f Makefile.inc1 install > ===> share/info (install) > ===> lib (install) > ===> lib/csu/i386-elf (install) > cc -O2 -pipe -I/home/guru/head/src/lib/csu/i386-elf/../common > -I/home/guru/head/src/lib/csu/i386-elf/../../libc/include -std=gnu99 > -Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow > -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs > -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wno-empty-body > -Wno-string-plus-int -c crti.S > cc: not found > *** [crti.o] Error code 127 Yesterday evening I investigated in detail why this was failing. It failed for two reasons: 1) On the host where world and kernel have been compiled the sources and resulting obj files have been in /home/guru/head/src /home/guru/head/obj and MAKEOBJDIRPREFIX=/home/guru/head/obj was used; later both trees have been copied over to the USB stick to /mnt/home/guru/head/src /mnt/home/guru/head/obj with the idea that when this was booted the trees would be again like the original ones /home/; and the same MAKEOBJDIRPREFIX would make the "make installworld" (...) happy again; but not, it failed; the installer was unable to locate the obj files and wanted to run compilation again; the reason for this was that on the original host /home was a symlink: # ls -l /home lrwxr-xr-x 1 root wheel 8 28 abr 11:06 /home -> usr/home while this was not the same on the USB system; after changing this the installer could find the objects; 2) But then a 2nd problem showed up: for the first time I copied "src" and "obj" to the USB stick with rsync(1) this way # cd /home/guru/head/ # rsync -av -q --cvs-exclude src /mnt/home/guru/head/ # rsync -av -q --cvs-exclude obj /mnt/home/guru/head/ in the past I have used always the cp(1) command this way: # cp -Rp src /mnt/home/guru/head/ # cp -Rp obj /mnt/home/guru/head/ I wanted to use rsync(1) with --cvs-exclude to not copy over all the .svn/ files to the USB key; but silently this failed and a lot of files and dirs have been missing on the target directory tree; until now I have no idea why :-( Any hints? matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: head && auditdistd
El día Tuesday, May 14, 2013 a las 07:07:05PM -0400, Lowell Gilbert escribió: > Matthias Apitz writes: > > > El día Tuesday, May 14, 2013 a las 07:20:02AM -0700, Justin Hibbits > > escribió: > > > >> You should run 'mergemaster -p' before installworld, as that would add any > >> necessary new users to the file. > > > > I see no need to run 'mergemaster' if one installs world and kernel into > > an empty mount point (device). There is nothing to merge. > > Fine, if that provides a sufficiently complete system for your needs. > That must be a pretty unusual set of needs, though. > I'm interested: what do you do with a system that is complete except > for not including /etc? The procedure described in the attachment produces a complete and bootable system on an USB key; this is what I always use to install FreeBSD on my other netbooks and laptops once the system (kernel, world and ports) are compiled on some master "bakery" machine. After adding there the missing user 'auditdistd' the procedure went fine again and the netbook boots fine from the produced USB key (having all /etc and so on). As you see, I copied as well a copy of /usr/src and /usr/obj to the key to run the installation now based on the booted key and having the new target root (the netbook) mounted as /mnt; something must have failed with that copy because the "make installworld DESTDIR=/mnt" failed now there; but the system on the USB key itself is pretty much fine; Do you have an idea what is missing, see the attached nohup.out of the installation attempt. Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards $Id: buildingImage.txt,v 1.5 2012/06/09 06:22:27 guru Exp $ Some ideas are stolen from: http://bsdimp.blogspot.com/2007/10/building-bootable-freebsdi386-images.html Building bootable FreeBSD/i386 USB keys If you want to build world and kernel out of SVN in 'src' and into 'obj', but in some other place as /usr/[src|obj], for example in /home/guru/head/[src|obj] use this procedure: # mkdir -p /home/guru/head/obj # MAKEOBJDIRPREFIX=/home/guru/head/obj ; export MAKEOBJDIRPREFIX # cd /home/guru/head # svn checkout svn://svn.freebsd.org/base/head src # cd /home/guru/head/src # make buildworld # make buildkernel KERNCONF=GENERIC ... or do the above just in the normal /usr/src (see kernel.txt); How to install a booting FreeBSD onto an USB key as /dev/da0: File operations, esp. of a large amount of small files, are very SLOW on USB keys. That's why we use in general the following procedure: 1. dd(1) the complete /dev/da0 to a plain file, an image of the USB key; 2. use mdconfig(8) to make a memory disk of this file and mount(8) it; 3. do everything of the formatting and installation in this virtual disk; 4. unmount(8) it and dd(1) it back to the USB key; here we go (use for /dev/da0 what your key is in /var/log/messages): # dd if=/dev/da0 of=da0.r250588 bs=8m note: this step is essential to get an image which later fits again to the real USB key; attach the file da0.r250588 as memory disk: # mdconfig -a -t vnode -f da0.r250588 md0 wipe out all blocks to zero on the memory disk: # dd if=/dev/zero of=/dev/md0 bs=1m dd: /dev/md0: end of device 14785+0 records in 14784+0 records out 15502147584 bytes transferred in 1459.484517 secs (10621659 bytes/sec) now use the normal procedure to create a bootable UFS on it: # fdisk -I md0 # fdisk -B md0 # bsdlabel -w md0s1 auto # bsdlabel -B md0s1 # bsdlabel -e md0s1 # edit the disk label and change partition "a" from "unused" to "4.2BSD" build the file system: # newfs /dev/md0s1a # mount /dev/md0s1a /mnt if you have built the kernel and world in some other place as /usr/src: # MAKEOBJDIRPREFIX=/home/guru/head/obj ; export MAKEOBJDIRPREFIX # cd /home/guru/head/src or just run 'make' from the default place /usr/src # cd /usr/src since 20121201 (see src/UPDATING) the system where the build is done needs a new user 'auditdistd'; we add this with: # pw useradd -n auditdistd -g audit -c "Auditdistd unprivileged user" -d /var/empty -s /usr/sbin/nologin now we can install world an kernel: # make installworld DESTDIR=/mnt # make installkernel DESTDIR=/mnt KERNCONF=GENERIC INSTALL_NODEBUG=t # make distrib-dirs DESTDIR=/mnt # make distribution DESTDIR=/mnt # echo /dev/da0s1a / ufs rw 1 1 > /mnt/etc/fstab # cp /etc/wpa_supplicant.conf /mnt/etc # cat < /mnt/etc/rc.conf wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" ifconfig_bge0="DHCP"
Re: head && auditdistd
El día Tuesday, May 14, 2013 a las 07:20:02AM -0700, Justin Hibbits escribió: > You should run 'mergemaster -p' before installworld, as that would add any > necessary new users to the file. I see no need to run 'mergemaster' if one installs world and kernel into an empty mount point (device). There is nothing to merge. matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: head && auditdistd
El día Tuesday, May 14, 2013 a las 10:05:59AM +0200, Gary Jennejohn escribió: > > 2013/5/14 Matthias Apitz > > > > > > > > # pw useradd -n auditdistd -g audit -c "Auditdistd unprivileged user" -d > > > /var/empty -s /usr/sbin/nologin > > > > > > Can someone bring a bit light into this? Thanks in advance > > > > > auditdistd:*:78:77:Auditdistd unprivileged user:/var/empty:/usr/sbin/nologin > > Just copy this line and paste it using vipw. Gary, You have given already known information; can you guve some background, for example for what the user is used for? thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
head && auditdistd
Hello, Today morning I wanted to make and install a fresh /head to an USB key for further distribution the usual way: ... # make installworld DESTDIR=/mnt # make installkernel DESTDIR=/mnt KERNCONF=GENERIC INSTALL_NODEBUG=t # make distrib-dirs DESTDIR=/mnt # make distribution DESTDIR=/mnt 'installworld' instructed me about the missing user 'auditdistd'; I have read what src/UPDATING says, but can't find any pointer to the man page of auditdistd(8) or in our handbook; with Don Google I got to know that I have to add this with something like # pw useradd -n auditdistd -g audit -c "Auditdistd unprivileged user" -d /var/empty -s /usr/sbin/nologin Can someone bring a bit light into this? Thanks in advance matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
panic: pmap_promote_pde: page table page is out of range in r235646
Hello, I have r235646 in three laptops at home running without any problem, one is the master site where an USB key was produced to install all others; as I said all three fine; today I installed a 4th one and I'm facing frequent PANIC's all of the same type: panic: pmap_promote_pde: page table page is out of range couid = 0 KDB: enter: panic [ thread pid 1397 tid 100119 ] Stopped at kdb_enter+0x3a: movl $0, kdb_why db> which makes it impossible to install the packages on it (xorg, ... etc. all compiled on my "master site"; what can I do? The only diff between the computers real difference between the computers is that this 4th one has 2 CPU... Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: g...@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
sendmail && /usr/local/lib/libssl.so.8
Hi, I run the following system: # uname -a FreeBSD tiny.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r235646: Sat May 19 15:52:36 CEST 2012 g...@aurora.sisis.de:/usr/obj/usr/src/sys/GENERIC i386 and sendmail is compiled to use SASL as described in our handbock; it uses the following shared libs: $ ldd /usr/libexec/sendmail/sendmail /usr/libexec/sendmail/sendmail: libutil.so.9 => /lib/libutil.so.9 (0x2812) libwrap.so.6 => /usr/lib/libwrap.so.6 (0x28132000) libssl.so.8 => /usr/local/lib/libssl.so.8 (0x28139000) libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x28193000) libsasl2.so.3 => /usr/local/lib/libsasl2.so.3 (0x2831) libc.so.7 => /lib/libc.so.7 (0x28329000) libthr.so.3 => /lib/libthr.so.3 (0x28466000) as well I see in the proc: # ps ax | fgrep mail 893 - Ss 0:00,28 sendmail: accepting connections (sendmail) 896 - Is 0:00,02 sendmail: Queue runner@00:30:00 for /var/spool/clientmq with lsof(1) that both PID have open the /usr/local/lib/libssl.so.8; but on system boot it says that sendmail can't find libssl.so.8; Why is this? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: updating ports to HEAD
El día Monday, April 01, 2013 a las 10:25:46PM -0700, Kevin Oberman escribió: > Good luck. I suspect a successful update of ptlib will be the real tricky > part. At least it gave me headaches back when I was using Ekiga. PTlib and opal are compiling fine directly from their SVN repositories; > Also, gtk-3 has well over 400 dependencies. You will probably need to > update some of these, so check UPDATING for those that need special > attention. Good luck! Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: updating ports to HEAD
El día Monday, April 01, 2013 a las 08:54:59PM -0700, Kevin Oberman escribió: > > Is there something in the base system of r235646 which would not allow > > to do so, i.e. which is to old for HEAD of ports? > > > > I'm not quite sure what you mean by "update /usr/ports with SVN to HEAD", > since ports does not branch, so any time you "svn up /usr/potrts", it is > updated to head. I used the term 'HEAD' because the SVN command I have used was: # svn co https://svn0.us-west.FreeBSD.org/ports/head /usr/ports > Any version of FreeBSD 8 or newer should work fine with > ports/head. Note that some ports will need to be compiled with gcc as not > all will work with clang. thanks; > > Are you having a problem updating (or checking out) head or with some of > the ports after the update? the system in question hast around 1200 ports compiled based on the CVS checkout of ports on May 19 last year; I want to check if I could compile Ekiga out of its GIT, wich needs gtk+3.4.x and other recent stuff; I will just for a test rename /usr/local and /var/db/pkg, update the ports to 'HEAD' and compile them again to see if this would solve the problem and make Ekiga happy. Thanks for your feedback matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
updating ports to HEAD
Hello, I have a FreeBSD 10-CURRENT as of: $ uname -a FreeBSD aurora.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r235646: Sat May 19 15:52:36 CEST 2012 g...@aurora.sisis.de:/usr/obj/usr/src/sys/GENERIC i386 and I want to update /usr/ports with SVN to HEAD and compile the stuff I need; Is there something in the base system of r235646 which would not allow to do so, i.e. which is to old for HEAD of ports? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: g...@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Script to monitor battery status on X220
El día Friday, July 20, 2012 a las 03:45:23PM +0700, Erich Dollansky escribió: > > ... > > Is it necessary to poll? Usually devd generates an event when the > > battery status and/or percentage changes. Just read the events from > > /var/run/devd.pipe. > > > this is a good idea. I did not like this solution either but did not get a > better idea when I did it. I wrote and used something similar for my netbook EeePC 900; it turned out that the battery is not showing the remaining capacity in a linear way; the last 5% are 'consumed' in a few seconds, i.e. below 20% I polled every 2 seconds; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Thursday, July 05, 2012 a las 05:22:22PM -0400, John Baldwin escribió: > So far I can't think of a non-hackish way to special case keyboard and > mouse controllers, though I'm close to doing so (i.e. just ignore any > device that tries to allocate resources in the "default" range for those > devices unless it is a "known" device ID). > > The patch in this thread should be committed though. And one should close this issue with this: http://www.freebsd.org/cgi/query-pr.cgi?pr=169571 thx for all your helping hands matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Thursday, July 05, 2012 a las 07:39:18AM -0400, John Baldwin escribió: > On Thursday, July 05, 2012 5:20:35 am Kaho Toshikazu wrote: > > Hello, > > > > > Interesting question remains: why it works in the older revision r21? > > > > I don't know exactly resource management, but ISA_PNP_PROBE() > > ignores device.hints if acpi unknown device takes resources. > > I think this problem is related to some acpi changes. > > The system in general in 9.0 and later is more strict about honoring what the > BIOS says in terms of allocating resources, so we have to be more correct in > probing devices. The only wrinkles so far do in fact seem to stem from the > keyboard controller. > Somehow the system should bring up at least console in- and output; if not you are completely locked out; in my case it was simple, because I was booting fron an USB key and could tailor the USB booted system to bring up interface+DHCP+SSH to login via SSH; but without this you are lost matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Thursday, July 05, 2012 a las 03:36:22PM +0900, Kaho Toshikazu escribió: > Hello Matthias Apitz, and ML members, > > Thanks to upload acpi dump. Your keyboard controller ID is "PNP030B", > and your posted patch may be correct. Please undo your reversion, > and try your patch. Hello Kaho and all, Yes! Now it works after inserting the line shown below: $ dmesg | fgrep kbd kbd1 at kbdmux0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 also the mouse works fine; Thanks for helping me getting to the point. I will later comment the bug report in the issue tracker. Interesting question remains: why it works in the older revision r21? matthias > > maybe it helps to add a line like this: > > > > static struct isa_pnp_id atkbdc_ids[] = { > > { 0x0303d041, "Keyboard controller (i8042)" }, /* PNP0303 */ > > { 0x2003d041, "Keyboard controller (i8042)" }, /* PNP0320 */ > > + { 0x0b03d041, "Keyboard controller (i8042)" }, /* PNP030B */ > > { 0 } > > > > -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Thursday, July 05, 2012 a las 07:28:33AM +0200, Matthias Apitz escribió: > and there is now an entry for "PS2K" (not for "KBC"): > > Device (PS2K) > { > Name (_HID, EisaId ("PNP030B")) > Name (_CID, EisaId ("PNP030B")) > Method (_STA, 0, NotSerialized) > { > ShiftLeft (0x01, 0x0A, Local0) > If (And (IOST, Local0)) > { > Return (0x0F > > the full file is here: http://www.unixarea.de/acpidump-r21.txt maybe it helps to add a line like this: static struct isa_pnp_id atkbdc_ids[] = { { 0x0303d041, "Keyboard controller (i8042)" }, /* PNP0303 */ { 0x2003d041, "Keyboard controller (i8042)" }, /* PNP0320 */ + { 0x0b03d041, "Keyboard controller (i8042)" }, /* PNP030B */ { 0 } -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Wednesday, July 04, 2012 a las 07:33:08PM +0900, Kaho Toshikazu escribió: > Hello, > > Can you put the file "acpidump-r21.txt" on the Internet? > When you run `grep "Device" /tmp/acpidump-r21.txt` > to get device list, can you find "PS2K" or "KBC" or similar word? Hello, For some unknown reason today it gives more lines: # acpidump -dt | wc -l acpidump: RSDT entry 2 (sig OEMB) is corrupt 3815 when I did this the other day it was only around 2000 lines; and there is now an entry for "PS2K" (not for "KBC"): Device (PS2K) { Name (_HID, EisaId ("PNP030B")) Name (_CID, EisaId ("PNP030B")) Method (_STA, 0, NotSerialized) { ShiftLeft (0x01, 0x0A, Local0) If (And (IOST, Local0)) { Return (0x0F the full file is here: http://www.unixarea.de/acpidump-r21.txt Thanks for your help matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Tuesday, July 03, 2012 a las 09:51:37AM +0900, Kaho Toshikazu escribió: > Hello Matthias Apitz and -current member, > > "sys/dev/atkbdc/atkbdc_isa.c" may not have your keyboard controller's ID. > Run `acpidump -dt` and search your keyboard description. > Is your keyboard controller "PNP0303" ? > > -- > k...@ed.niigata-u.ac.jp Hello Kaho Toshikazu and all, The command `acpidump -dt` in both releases (r21 and r235646) gives an error: # acpidump -dt > /tmp/acpidump-r21.txt acpidump: RSDT entry 2 (sig OEMB) is corrupt the output in r235646 is only some 70 lines and in r21 I do not see any keyboard related; so I can't answer your question if the keyboard controller is "PNP0303"; Based on r235646 sources, I have checked the SVN-diff between r21 (where the keyboard is working) and r235646, see attachment /tmp/atkbdc_isa.c-r21:r235646; and the logic of the kb detection has changed; I will just give it a try and will revert this SVN change, i.e. 'svn up -r r21 atkbdc_isa.c to see if this works... it does not help; Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 Index: atkbdc_isa.c === --- atkbdc_isa.c(revision 21) +++ atkbdc_isa.c(revision 235646) @@ -49,6 +49,11 @@ static int atkbdc_isa_attach(device_t dev); static device_tatkbdc_isa_add_child(device_t bus, u_int order, const char *name, int unit); +static struct resource *atkbdc_isa_alloc_resource(device_t dev, device_t child, + int type, int *rid, u_long start, u_long end, + u_long count, u_int flags); +static int atkbdc_isa_release_resource(device_t dev, device_t child, + int type, int rid, struct resource *r); static device_method_t atkbdc_isa_methods[] = { DEVMETHOD(device_probe, atkbdc_isa_probe), @@ -61,8 +66,8 @@ DEVMETHOD(bus_read_ivar,atkbdc_read_ivar), DEVMETHOD(bus_write_ivar, atkbdc_write_ivar), DEVMETHOD(bus_get_resource_list,atkbdc_get_resource_list), - DEVMETHOD(bus_alloc_resource, bus_generic_rl_alloc_resource), - DEVMETHOD(bus_release_resource, bus_generic_rl_release_resource), + DEVMETHOD(bus_alloc_resource, atkbdc_isa_alloc_resource), + DEVMETHOD(bus_release_resource, atkbdc_isa_release_resource), DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), DEVMETHOD(bus_deactivate_resource, bus_generic_deactivate_resource), DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource), @@ -82,6 +87,7 @@ static struct isa_pnp_id atkbdc_ids[] = { { 0x0303d041, "Keyboard controller (i8042)" }, /* PNP0303 */ + { 0x2003d041, "Keyboard controller (i8042)" }, /* PNP0320 */ { 0 } }; @@ -170,8 +176,6 @@ device_verbose(dev); error = atkbdc_probe_unit(device_get_unit(dev), port0, port1); - if (error == 0) - bus_generic_probe(dev); bus_release_resource(dev, SYS_RES_IOPORT, 0, port0); bus_release_resource(dev, SYS_RES_IOPORT, 1, port1); @@ -216,14 +220,25 @@ return ENXIO; } + /* +* If the device is not created by the PnP BIOS or ACPI, then +* the hint for the IRQ is on the child atkbd device, not the +* keyboard controller, so this can fail. +*/ + rid = 0; + sc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE); + error = atkbdc_attach_unit(unit, sc, sc->port0, sc->port1); if (error) { bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port0); bus_release_resource(dev, SYS_RES_IOPORT, 1, sc->port1); + if (sc->irq != NULL) + bus_release_resource(dev, SYS_RES_IRQ, 0, sc->irq); return error; } *(atkbdc_softc_t **)device_get_softc(dev) = sc; + bus_generic_probe(dev); bus_generic_attach(dev); return 0; @@ -233,9 +248,11 @@ atkbdc_isa_add_child(device_t bus, u_int order, const char *name, int unit) { atkbdc_device_t *ivar; + atkbdc_softc_t *sc; device_tchild; int t; + sc = *(atkbdc_softc_t **)device_get_softc(bus); ivar = malloc(sizeof(struct atkbdc_device), M_ATKBDDEV, M_NOWAIT | M_ZERO); if (!ivar) @@ -251,18 +268,21 @@ ivar->rid = order; /* -* If the device is not created by the PnP BIOS or ACPI, -* refer to device hints for IRQ. +* If the d
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Sunday, July 01, 2012 a las 06:29:28AM +0700, Erich Dollansky escribió: Hi, > > and no older versions. I will install the USB booted system to harddisk > > and hope when booted from disk and not from USB the keyboard is working. > > I installed the system r235646 to disk and it shows the same problem: no keyboard; > if 7.4 still runs but not anything after 8.0, it is most likely what I have > written. Some USB hardware is not supported anymore in 8 and later. > > I would install the old one just to see You will also know wat hwardware is > used there and how it is supported. > > This might be the faster route before starting debugging something which is > not there. I said already that it works with a r21 version, CURRENT from October 2010; so I booted this again and concerning keyboard, here is the diff: r21: $ fgrep -i kb /tmp/dmesg-r21.txt kbd1 at kbdmux0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 $ ls -l /dev/kb* lrwxr-xr-x 1 root wheel 6 Jul 1 08:39 /dev/kbd0 -> atkbd0 lrwxr-xr-x 1 root wheel 7 Jul 1 08:39 /dev/kbd1 -> kbdmux0 crw--- 1 root wheel0, 17 Jul 1 08:39 /dev/kbdmux0 r235646: $ fgrep -i kb /tmp/dmesg-r235646.txt atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) sc0: fb0, kbd1, terminal emulator: scteken (teken terminal) atkbdc0 failed to probe at port 0x60 on isa0 $ ls -l /dev/kb* lrwxr-xr-x 1 root wheel 7 Jul 1 08:39 /dev/kbd1 -> kbdmux0 crw--- 1 root wheel0, 17 Jul 1 08:39 /dev/kbdmux0 the complete /tmp/dmesg-r21.txt is attached, the /tmp/dmesg-r235646.txt was in some message of this thread; So the question is: why the is not detected anymore in r235646, while it is in r21? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #1 r21: Thu Oct 28 10:56:32 CEST 2010 g...@current.sisis.de:/usr/home/guru/myThings/FreeBSD/9-CURRENT/obj/usr/home/guru/myThings/FreeBSD/9-CURRENT/src/sys/GENERIC i386 WARNING: WITNESS option enabled, expect reduced performance. CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2398.34-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Family = f Model = 2 Stepping = 7 Features=0xbfebfbff Features2=0x4400 real memory = 1073741824 (1024 MB) avail memory = 1031737344 (983 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, 3ff0 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xb000-0xb0ff mem 0xd000-0xd7ff,0xffcf-0xffcf irq 16 at device 0.0 on pci1 uhci0: port 0xdf20-0xdf3f irq 16 at device 29.0 on pci0 uhci0: LegSup = 0x2f00 usbus0: on uhci0 uhci1: port 0xdf40-0xdf5f irq 19 at device 29.1 on pci0 uhci1: LegSup = 0x2f00 usbus1: on uhci1 uhci2: port 0xdf80-0xdf9f irq 18 at device 29.2 on pci0 uhci2: LegSup = 0x2f00 usbus2: on uhci2 ehci0: mem 0xffeffc00-0xffef irq 23 at device 29.7 on pci0 usbus3: EHCI version 1.0 usbus3: on ehci0 pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: at device 3.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: port 0xcc00-0xcc7f mem 0xffdff800-0xffdf irq 18 at device 10.0 on pci2 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:03:0d:49:75:50:7a:e8 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:03:0d:50:7a:e8 fwe0: Ethernet address: 02:03:0d:50:7a:e8 fwip0: on firewire0 fwip0: Firewire address: 00:03:0d:49:75:50:7a:e8 @ 0xfffe, S400, maxrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x14ac000 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x, SelfID Count=1, CYCLEMASTER mode sis0: port 0xc800-0xc8ff mem 0xffdfe000-0xffdfefff irq 17 at device 12.0 on pci2 sis0: Silicon R
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Saturday, June 30, 2012 a las 01:49:58PM +0700, Erich Dollansky escribió: > > > > I have a boot-able USB key with r235646 which works fine in all my > > > > laptops so far; today I got as a gift an older FS Amilo D 7830 which has > > > > enough resources to use it as new build machine (1 GByte RAM, 80 GByte > > > > disk). I booted it with from the USB key and after the system is up it > > > > does not echo or react on any key-press; before booting the keys are > > > > working, for example in the menu to boot into single user etc. > > > > > > > > What could be the problem? > > > > > > > > I will later configure that the USB booted system brings Ethernet and > > > > SSH up, maybe I can see something when I can login via SSH... > > > > I have just for beeing curios booted an older USB key with r21 > > (from October 2010) and the keyboard just works as it should; > > > I have had a problem like this before. I have had to stick with an older > FreeBSD version on this machine. > > Can you try FreeBSD 7.4 or 8.3? > > It is sad to say but some times support for older hardware gets cut out for > whatever reason. The IT guy of my company found this laptop in the attic and because it has no Wifi, nobody is interested in using it anymore. As I said, I could make use of it as a build machine and for this it must run CURRENT and no older versions. I will install the USB booted system to harddisk and hope when booted from disk and not from USB the keyboard is working. Ofc, I would be willing to help debugging this, for example compiling a kernel with special options and/or debug printfs; but I can't start such a debug path on my own, because I have no clue about where to start. HIH matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Friday, June 29, 2012 a las 04:45:57PM +0200, Hans Petter Selasky escribió: > On Friday 29 June 2012 15:34:23 Matthias Apitz wrote: > > Hello, > > > > I have a boot-able USB key with r235646 which works fine in all my > > laptops so far; today I got as a gift an older FS Amilo D 7830 which has > > enough resources to use it as new build machine (1 GByte RAM, 80 GByte > > disk). I booted it with from the USB key and after the system is up it > > does not echo or react on any key-press; before booting the keys are > > working, for example in the menu to boot into single user etc. > > > > What could be the problem? > > > > I will later configure that the USB booted system brings Ethernet and > > SSH up, maybe I can see something when I can login via SSH... I have just for beeing curios booted an older USB key with r21 (from October 2010) and the keyboard just works as it should; a ls -l /dev/kb* shows now: /dev/kbd0 -> atkbd0 /dev/kbd1 -> kbdmux0 /dev/kbdmux0 the first line /dev/kbd0 -> atkbd0 is not shown in r235646; don't know if this has todo with the problem; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: no keyboard after booting r235646 in laptop FS Amilo D 7830
El día Friday, June 29, 2012 a las 04:45:57PM +0200, Hans Petter Selasky escribió: > On Friday 29 June 2012 15:34:23 Matthias Apitz wrote: > > Hello, > > > > I have a boot-able USB key with r235646 which works fine in all my > > laptops so far; today I got as a gift an older FS Amilo D 7830 which has > > enough resources to use it as new build machine (1 GByte RAM, 80 GByte > > disk). I booted it with from the USB key and after the system is up it > > does not echo or react on any key-press; before booting the keys are > > working, for example in the menu to boot into single user etc. > > > > What could be the problem? > > > > I will later configure that the USB booted system brings Ethernet and > > SSH up, maybe I can see something when I can login via SSH... > > > > matthias > > What does dmesg say about USB? > attached is the dmesg output matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #0 r235646: Sat May 19 15:52:36 CEST 2012 g...@aurora.sisis.de:/usr/obj/usr/src/sys/GENERIC i386 WARNING: WITNESS option enabled, expect reduced performance. CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2398.35-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Family = f Model = 2 Stepping = 7 Features=0xbfebfbff Features2=0x4400 real memory = 1073741824 (1024 MB) avail memory = 1027141632 (979 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ctl: CAM Target Layer loaded acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, 3ff0 (3) failed driver bug: Unable to set devclass (class: acpi_sysresource devname: (unknown)) driver bug: Unable to set devclass (class: acpi_timer devname: (unknown)) cpu0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xb000-0xb0ff mem 0xd000-0xd7ff,0xffcf-0xffcf irq 16 at device 0.0 on pci1 uhci0: port 0xdf20-0xdf3f irq 16 at device 29.0 on pci0 uhci0: LegSup = 0x2f00 usbus0 on uhci0 uhci1: port 0xdf40-0xdf5f irq 19 at device 29.1 on pci0 uhci1: LegSup = 0x2f00 usbus1 on uhci1 uhci2: port 0xdf80-0xdf9f irq 18 at device 29.2 on pci0 uhci2: LegSup = 0x2f00 usbus2 on uhci2 ehci0: mem 0xffeffc00-0xffef irq 23 at device 29.7 on pci0 usbus3: EHCI version 1.0 usbus3 on ehci0 pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: at device 3.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 fwohci0: port 0xcc00-0xcc7f mem 0xffdff800-0xffdf irq 18 at device 10.0 on pci2 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:03:0d:49:75:50:7a:e8 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x29b8000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:03:0d:50:7a:e8 fwe0: Ethernet address: 02:03:0d:50:7a:e8 fwip0: on firewire0 fwip0: Firewire address: 00:03:0d:49:75:50:7a:e8 @ 0xfffe, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x, SelfID Count=1, CYCLEMASTER mode sis0: port 0xc800-0xc8ff mem 0xffdfe000-0xffdfefff irq 17 at device 12.0 on pci2 sis0: Silicon Revision: DP83816A miibus0: on sis0 nsphyter0: PHY 0 on miibus0 nsphyter0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:a0:cc:df:75:57 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0xe000-0xe0ff,0xe100-0xe13f at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz
no keyboard after booting r235646 in laptop FS Amilo D 7830
Hello, I have a boot-able USB key with r235646 which works fine in all my laptops so far; today I got as a gift an older FS Amilo D 7830 which has enough resources to use it as new build machine (1 GByte RAM, 80 GByte disk). I booted it with from the USB key and after the system is up it does not echo or react on any key-press; before booting the keys are working, for example in the menu to boot into single user etc. What could be the problem? I will later configure that the USB booted system brings Ethernet and SSH up, maybe I can see something when I can login via SSH... matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: panic's in 10-CURRENT r235646 in VMware
El día Saturday, June 16, 2012 a las 08:11:40AM -0400, John Baldwin escribió: > On Saturday, June 16, 2012 04:51:06 AM Matthias Apitz wrote: > > El día Friday, June 15, 2012 a las 08:18:22AM -0400, John Baldwin escribió: > > > > the panic says: > > > > mutex page lock not owned at /usr/src/sys/vm/vm_page.c:2060 > > > > > > > > I have a screen shoot here: > > > > http://www.unixarea.de/aurora-panic.gif > > > > > > > > Installed and started (via rc.conf) is the port open-vm-tools-425873,1; > > > > > > > > Thx > > > > > > > > matthias > > > > > > Can you get a stack trace? The attached patch file (to be replaced in open-vm-tools/files/patch-vmmemctl-os.c) solved the problem for me; thanks, John matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: panic's in 10-CURRENT r235646 in VMware
El día Tuesday, June 19, 2012 a las 10:56:20AM -0400, John Baldwin escribió: > > #11 0xc0d11340 in vm_page_free_toq (m=0xc23daf78) > > at /usr/src/sys/vm/vm_page.c:2060 > > #12 0xc0d115b5 in vm_page_free (m=0xc23daf78) at > /usr/src/sys/vm/vm_page.c:741 > > #13 0xc68b01ba in OS_ReservedPageFree () > >from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko > > Ah, so the bug is in here then. Which version of vmware-tools do you have > installed? all the ports are from CVS of May, 19; the version is open-vm-tools-425873,1 matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: panic's in 10-CURRENT r235646 in VMware
El día Saturday, June 16, 2012 a las 08:11:40AM -0400, John Baldwin escribió: > > I have configured now dumpdevice and -dir and will produce a bt next > > time; > > > > btw: it seems that the panic only occurs when a second VM (also with > > FreeBSD) is running; the 2nd VM (my production env) has 2 GByte memory > > configured, while the crashing one only 512 MByte; the host itself has 4 > > GByte real mem; we will see what the bt shows... > > For future reference, you can just run 'tr' at the DDB prompt to get a stack > trace and take a screen shot of that. the bt is this: # kgdb kernel.debug /var/crash/vmcore.0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Unread portion of the kernel message buffer: panic: mutex page lock not owned at /usr/src/sys/vm/vm_page.c:2060 cpuid = 0 KDB: enter: panic Reading symbols from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko...done. Loaded symbols for /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko Reading symbols from /usr/local/lib/vmware-tools/modules/drivers/vmxnet.ko...done. Loaded symbols for /usr/local/lib/vmware-tools/modules/drivers/vmxnet.ko Reading symbols from /usr/local/lib/vmware-tools/modules/drivers/vmhgfs.ko...done. Loaded symbols for /usr/local/lib/vmware-tools/modules/drivers/vmhgfs.ko #0 doadump (textdump=0) at pcpu.h:244 244 __asm("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump (textdump=0) at pcpu.h:244 #1 0xc051c1b3 in db_dump (dummy=-1062488582, dummy2=0, dummy3=-1, dummy4=0xc3f01864 "") at /usr/src/sys/ddb/db_command.c:538 #2 0xc051b8d1 in db_command (last_cmdp=0xc114925c, cmd_table=0x0, dopager=1) at /usr/src/sys/ddb/db_command.c:449 #3 0xc051ba2a in db_command_loop () at /usr/src/sys/ddb/db_command.c:502 #4 0xc051da1d in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:231 #5 0xc0abbb16 in kdb_trap (type=3, code=0, tf=0xc3f01a60) at /usr/src/sys/kern/subr_kdb.c:654 #6 0xc0dfab7b in trap (frame=0xc3f01a60) at /usr/src/sys/i386/i386/trap.c:710 #7 0xc0de406c in calltrap () at /usr/src/sys/i386/i386/exception.s:169 #8 0xc0abb5fa in kdb_enter (why=0xc0fc9d88 "panic", msg=0xc0fc9d88 "panic") at cpufunc.h:71 #9 0xc0a848dc in panic (fmt=0xc0fc7ebf "mutex %s not owned at %s:%d") at /usr/src/sys/kern/kern_shutdown.c:633 #10 0xc0a719d7 in _mtx_assert (m=0xc1304d80, what=4, file=0xc10063f2 "/usr/src/sys/vm/vm_page.c", line=2060) at /usr/src/sys/kern/kern_mutex.c:747 #11 0xc0d11340 in vm_page_free_toq (m=0xc23daf78) at /usr/src/sys/vm/vm_page.c:2060 #12 0xc0d115b5 in vm_page_free (m=0xc23daf78) at /usr/src/sys/vm/vm_page.c:741 #13 0xc68b01ba in OS_ReservedPageFree () from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko ---Type to continue, or q to quit--- #14 0xc68b05bc in BalloonPageFree () from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko #15 0xc68b0765 in Balloon_QueryAndExecute () from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko #16 0xc68afee6 in vmmemctl_poll () from /usr/local/lib/vmware-tools/modules/drivers/vmmemctl.ko #17 0xc0a99ecc in softclock (arg=0xc1185500) at /usr/src/sys/kern/kern_timeout.c:520 #18 0xc0a576e5 in intr_event_execute_handlers (p=0xc41d8598, ie=0xc41a8100) at /usr/src/sys/kern/kern_intr.c:1260 #19 0xc0a585b9 in ithread_loop (arg=0xc41b1730) at /usr/src/sys/kern/kern_intr.c:1273 #20 0xc0a549b8 in fork_exit (callout=0xc0a58510 , arg=0xc41b1730, frame=0xc3f01d08) at /usr/src/sys/kern/kern_fork.c:992 #21 0xc0de4114 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:276 (kgdb) -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: panic's in 10-CURRENT r235646 in VMware
El día Friday, June 15, 2012 a las 08:18:22AM -0400, John Baldwin escribió: > > the panic says: > > mutex page lock not owned at /usr/src/sys/vm/vm_page.c:2060 > > > > I have a screen shoot here: > > http://www.unixarea.de/aurora-panic.gif > > > > Installed and started (via rc.conf) is the port open-vm-tools-425873,1; > > > > Thx > > > > matthias > > Can you get a stack trace? I have configured now dumpdevice and -dir and will produce a bt next time; btw: it seems that the panic only occurs when a second VM (also with FreeBSD) is running; the 2nd VM (my production env) has 2 GByte memory configured, while the crashing one only 512 MByte; the host itself has 4 GByte real mem; we will see what the bt shows... matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
panic's in 10-CURRENT r235646 in VMware
Hello, I have PANIC's while going multiuser in r235646. They are perhaps somewhat VMware related, because I do not saw them in a real machine while compiling ~1200 ports. the panic says: mutex page lock not owned at /usr/src/sys/vm/vm_page.c:2060 I have a screen shoot here: http://www.unixarea.de/aurora-panic.gif Installed and started (via rc.conf) is the port open-vm-tools-425873,1; Thx matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: 10-CURRENT r235646 && open-vm-tools-8.6.0-425873
El día Tuesday, June 05, 2012 a las 03:27:51PM +0200, Matthias Apitz escribió: > cc -O2 -pipe -Wall -Werror -fno-strict-aliasing -Werror -D_KERNEL > -DKLD_MODULE -nostdinc > -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/lib/include > > -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/shared > > -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmblock > > -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/shared/vmblock > -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 > --param large-function-growth=1000 -fno-common -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding > -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option -c vnops.c > vnops.c: In function 'VMBlockVopInactive': > vnops.c:1373: error: too many arguments to function 'vrecycle' > *** [vnops.o] Error code 1 > got it finally compiled and installed as # make install WITHOUT_FUSE=yes with this additional patch: *** modules/freebsd/vmblock/vnops.c.origWed Sep 21 20:25:15 2011 --- modules/freebsd/vmblock/vnops.c Tue Jun 5 16:01:45 2012 *** *** 1362,1368 */ { struct vnode *vp = ap->a_vp; -struct thread *td = ap->a_td; vp->v_object = NULL; --- 1362,1367 *** *** 1370,1376 * If this is the last reference, then free up the vnode so as not to * tie up the lower vnode. */ !vrecycle(vp, td); return 0; } --- 1369,1375 * If this is the last reference, then free up the vnode so as not to * tie up the lower vnode. */ !vrecycle(vp); return 0; } -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: 10-CURRENT r235646 && open-vm-tools-8.6.0-425873
El día Thursday, May 31, 2012 a las 11:34:55AM -0400, John Baldwin escribió: > > cc1: warnings being treated as errors > > if_vxn.c: In function 'vxn_load_multicast': > > if_vxn.c:719: warning: implicit declaration of function 'IF_ADDR_LOCK' > > if_vxn.c:719: warning: nested extern declaration of 'IF_ADDR_LOCK' > > [-Wnested-ext erns] > > if_vxn.c:746: warning: implicit declaration of function 'IF_ADDR_UNLOCK' > > if_vxn.c:746: warning: nested extern declaration of 'IF_ADDR_UNLOCK' > > [-Wnested-e xterns] > > *** [if_vxn.o] Error code 1 > > > It should be using if_mcast_rlock() and if_mcast_runlock() instead of using > those macros directly. This works all the way back to 8.0. > Thanks for your patch proposal; but using this it can't find the if_mcast_rlock() and if_mcast_runlock() functions declaration (and I don't see them in /usr/src/... ); based on the SVN diff of the kernel: http://svnweb.freebsd.org/base/head/sys/net/if_var.h?r1=231229&r2=233202&pathrev=233202 I came up with another proposal: *** modules/freebsd/vmxnet/net_compat.h.origWed Sep 21 20:25:15 2011 --- modules/freebsd/vmxnet/net_compat.h Tue Jun 5 15:13:55 2012 *** *** 170,178 #if __FreeBSD_version < 505000 # define VXN_IF_ADDR_LOCK(_ifp) # define VXN_IF_ADDR_UNLOCK(_ifp) #else ! # define VXN_IF_ADDR_LOCK(_ifp) IF_ADDR_LOCK((_ifp)) ! # define VXN_IF_ADDR_UNLOCK(_ifp) IF_ADDR_UNLOCK((_ifp)) #endif #endif /* _VXN_NET_COMPAT_H_ */ --- 170,181 #if __FreeBSD_version < 505000 # define VXN_IF_ADDR_LOCK(_ifp) # define VXN_IF_ADDR_UNLOCK(_ifp) + #elif __FreeBSD_version < 80 + # define VXN_IF_ADDR_LOCK(_ifp) IF_ADDR_LOCK((_ifp)) + # define VXN_IF_ADDR_UNLOCK(_ifp) IF_ADDR_UNLOCK((_ifp)) #else ! # define VXN_IF_ADDR_LOCK(_ifp) IF_ADDR_WLOCK((_ifp)) ! # define VXN_IF_ADDR_UNLOCK(_ifp) IF_ADDR_WUNLOCK((_ifp)) #endif #endif /* _VXN_NET_COMPAT_H_ */ and using this it compiles fine; but later on it has another problem: # make install clean ... Making all in modules make VM_UNAME=10.0-CURRENT MV=mv RM=rm OVT_SOURCE_DIR=/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873 MODULEBUILDDIR=/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd -C "/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmmemctl" make VM_UNAME=10.0-CURRENT MV=mv RM=rm OVT_SOURCE_DIR=/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873 MODULEBUILDDIR=/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd -C "/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmxnet" make VM_UNAME=10.0-CURRENT MV=mv RM=rm OVT_SOURCE_DIR=/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873 MODULEBUILDDIR=/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd -C "/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmblock" Warning: Object directory not changed from original /usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmblock cc -O2 -pipe -Wall -Werror -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/lib/include -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/shared -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmblock -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/shared/vmblock -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c vnops.c vnops.c: In function 'VMBlockVopInactive': vnops.c:1373: error: too many arguments to function 'vrecycle' *** [vnops.o] Error code 1 Thanks for another hint matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Why Are You NOT Using FreeBSD?
Hi, Could you please stop this thread and go wining elsewhere, but not to freebsd-current. Thanks matthias (running 10-CURRENT on a netbook) -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: 10-CURRENT r235646 && open-vm-tools-8.6.0-425873
El día Thursday, May 31, 2012 a las 11:34:55AM -0400, John Baldwin escribió: > On Saturday, May 26, 2012 10:22:29 am Matthias Apitz wrote: > > > > Hi, > > > > The port ports/emulators/open-vm-tools does not compile in 10-CURRENT: > > > > # make install clean > > ... > > ... > > if_vxn.c:719: warning: implicit declaration of function 'IF_ADDR_LOCK' > > if_vxn.c:719: warning: nested extern declaration of 'IF_ADDR_LOCK' > > [-Wnested-ext erns] > > if_vxn.c:746: warning: implicit declaration of function 'IF_ADDR_UNLOCK' > > if_vxn.c:746: warning: nested extern declaration of 'IF_ADDR_UNLOCK' > > [-Wnested-e xterns] > > *** [if_vxn.o] Error code 1 > > > > Let me know if you need more information. > > Thanks > > It should be using if_mcast_rlock() and if_mcast_runlock() instead of using > those macros directly. This works all the way back to 8.0. Hi, Is there a patch or some example how to replace IF_ADDR_LOCK/IF_ADDR_UNLOCK by if_mcast_rlock() and if_mcast_runlock()? The code in the above source looks like this: modules/freebsd/vmxnet/net_compat.h: ... #if __FreeBSD_version < 505000 # define VXN_IF_ADDR_LOCK(_ifp) # define VXN_IF_ADDR_UNLOCK(_ifp) #else # define VXN_IF_ADDR_LOCK(_ifp) IF_ADDR_LOCK((_ifp)) # define VXN_IF_ADDR_UNLOCK(_ifp) IF_ADDR_UNLOCK((_ifp)) #endif modules/freebsd/vmxnet/if_vxn.c ... vxn_load_multicast(vxn_softc_t *sc) { struct ifmultiaddr *ifma; struct ifnet *ifp = VXN_SC2IFP(sc); ... VXN_IF_ADDR_LOCK(ifp); ... VXN_IF_ADDR_UNLOCK(ifp); ... Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
10-CURRENT r235646 && open-vm-tools-8.6.0-425873
Hi, The port ports/emulators/open-vm-tools does not compile in 10-CURRENT: # make install clean ... make VM_UNAME=10.0-CURRENT MV=mv RM=rm OVT_SOURCE_DIR=/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873 MODULEBUILDDIR=/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd -C "/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmxnet" @ -> /usr/src/sys machine -> /usr/src/sys/i386/include x86 -> /usr/src/sys/x86/include :> opt_bdg.h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/u sr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/lib/include -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-8.6.0-425873/modules/shared/vmxnet -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mp referred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack- protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-e xterns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast -qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fd iagnostics-show-option -c if_vxn.c cc1: warnings being treated as errors if_vxn.c: In function 'vxn_load_multicast': if_vxn.c:719: warning: implicit declaration of function 'IF_ADDR_LOCK' if_vxn.c:719: warning: nested extern declaration of 'IF_ADDR_LOCK' [-Wnested-ext erns] if_vxn.c:746: warning: implicit declaration of function 'IF_ADDR_UNLOCK' if_vxn.c:746: warning: nested extern declaration of 'IF_ADDR_UNLOCK' [-Wnested-e xterns] *** [if_vxn.o] Error code 1 Let me know if you need more information. Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
KDE 3.5.10 && 10-CURRENT r235646 (May 19)
Hello, The Good message first: KDE 3.5.10 compiles clean in 10-CURRENT; thanks! With a recent 10-CURRENT and clean ports from CVS (both from May 19) I encounter some crashes on KDE start or stop; there are messages from 'startkde': Warning: kbuildsycoca is unable to register with DCOP. kbuildsycoca running... kbuildsycoca running... Reusing existing ksycoca ... startkde: Starting up... kbuildsycoca running... >> running as realtime process now (priority 15) kdecore (KProcess): WARNING: Can't open a pseudo teletype QSocketNotifier: Invalid socket specified QSocketNotifier: Socket descriptor too large for select() QSocketNotifier: Internal error kbuildsycoca running... Reusing existing ksycoca and on KDE exit it says: Segmentation fault (core dumped) startkde: Shutting down... startkde: Running shutdown scripts... startkde: Done. and a file dcop.core is written; What does this mean? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: 10-CURRENT && ports/x11/sessreg (requ. from ports/x11/xorg)
El día Monday, May 21, 2012 a las 06:17:02PM +0200, Matthias Apitz escribió: > The compilation of ports/x11/sessreg in 10-CURRENT r235646 (ports from > CVS as of May 19) failes with: > > root@aurora:/usr/ports/x11/sessreg # make > ===> Building for sessreg-1.0.7 > make all-recursive > Making all in man > CCLD sessreg > sessreg.o: In function `main': > sessreg.c:(.text+0xcc1): undefined reference to `ttyslot' > *** [sessreg] Error code 1 Oh, I missed out # make delete-old after installworld :-( I have to restart compiling all ports; sorry for the noise; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
10-CURRENT && ports/x11/sessreg (requ. from ports/x11/xorg)
Hello, The compilation of ports/x11/sessreg in 10-CURRENT r235646 (ports from CVS as of May 19) failes with: root@aurora:/usr/ports/x11/sessreg # make ===> Building for sessreg-1.0.7 make all-recursive Making all in man CCLD sessreg sessreg.o: In function `main': sessreg.c:(.text+0xcc1): undefined reference to `ttyslot' *** [sessreg] Error code 1 Stop in /usr/ports/x11/sessreg/work/sessreg-1.0.7. ports/x11/xorg depepends on it :-( Any hints? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Virtual Manager Vacancy
El día Monday, March 26, 2012 a las 07:12:20AM -0500, Chuck Burns escribió: > On 3/25/2012 9:35 PM, Super Bisquit wrote: > > I'm a retired 69 year old pregnant male looking for part-time work > > during my career break. > > I'm not a pregnant male, I just look like it > > ouch. :( Despite of joking, could someone block those SPAMMERS in the FreeBSD mailing lists; looking into the header it seems that we do not run SpamAssassin :-( This shit SPAMMER targeted all FreeBSD lists this morning. Thanks matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"