Re: [gentoo-user] Problems with update of smplayer (needs mplayer2?)
Alexander Kapshuk alexander.kaps...@gmail.com [14-10-04 19:36]: On Sat, Oct 4, 2014 at 3:33 PM, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [14-10-04 14:24]: Am 04.10.2014 um 04:55 schrieb meino.cra...@gmx.de: Hi, While updateing my world ;) an update of smplayer was announced. The update failed with: ... ... x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c libmpdemux/aviheader.c: In function 'read_avi_header': libmpdemux/aviheader.c:600:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(magic, 6, 1, fp); ^ libmpdemux/aviheader.c:605:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(priv-idx_size, sizeof(priv-idx_size), 1, fp); ^ libmpdemux/aviheader.c:616:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(idx, sizeof(AVIINDEXENTRY), 1, fp); ^ x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c libmpdemux/demuxer.c:48:2: error: #error MP_INPUT_BUFFER_PADDING_SIZE is too small! #error MP_INPUT_BUFFER_PADDING_SIZE is too small! ^ make: *** [libmpdemux/demuxer.o] Error 1 * ERROR: media-video/mplayer2-2.0_p20130428-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/mplayer2-2.0_p20130428-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/mplayer2-2.0_p20130428-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/work/mplayer2-2.0_p20130428' * S: '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/work/mplayer2-2.0_p20130428' Failed to emerge media-video/mplayer2-2.0_p20130428-r1, Log file: I am confused...why does smplayer pulls mplayer2? solfire:eix mplayer2 * media-video/mplayer2 Available versions: 2.0_p20130126 2.0_p20130428-r1 ~2.0_p20131009 ** {3dnow 3dnowext +X +a52 +alsa altivec aqua bluray bs2b cddb +cdio cpudetection debug directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv ipv6 jack joystick jpeg ladspa lcms +libass libcaca lirc mad md5sum +mmx mmxext mng +mp3 +network nut +opengl oss png pnm portaudio +postproc pulseaudio pvr (+)quvi radio +rar +rtc samba sdl selinux +shm +speex sse sse2 ssse3 symlink tga +theora +threads +unicode v4l vcd vdpau
Re: [gentoo-user] Problems with update of smplayer (needs mplayer2?)
Esteban Taroni entis...@yahoo.fr [14-10-05 01:02]: Le 04/10/2014 19:50, meino.cra...@gmx.de a écrit : Alexander Kapshuk alexander.kaps...@gmail.com [14-10-04 19:36]: On Sat, Oct 4, 2014 at 3:33 PM, meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [14-10-04 14:24]: Am 04.10.2014 um 04:55 schrieb meino.cra...@gmx.de: Hi, While updateing my world ;) an update of smplayer was announced. The update failed with: ... ... x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c libmpdemux/aviheader.c: In function 'read_avi_header': libmpdemux/aviheader.c:600:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(magic, 6, 1, fp); ^ libmpdemux/aviheader.c:605:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(priv-idx_size, sizeof(priv-idx_size), 1, fp); ^ libmpdemux/aviheader.c:616:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(idx, sizeof(AVIINDEXENTRY), 1, fp); ^ x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c libmpdemux/demuxer.c:48:2: error: #error MP_INPUT_BUFFER_PADDING_SIZE is too small! #error MP_INPUT_BUFFER_PADDING_SIZE is too small! ^ make: *** [libmpdemux/demuxer.o] Error 1 * ERROR: media-video/mplayer2-2.0_p20130428-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/mplayer2-2.0_p20130428-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/mplayer2-2.0_p20130428-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/work/mplayer2-2.0_p20130428' * S: '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/work/mplayer2-2.0_p20130428' Failed to emerge media-video/mplayer2-2.0_p20130428-r1, Log file: I am confused...why does smplayer pulls mplayer2? solfire:eix mplayer2 * media-video/mplayer2 Available versions: 2.0_p20130126 2.0_p20130428-r1 ~2.0_p20131009 ** {3dnow 3dnowext +X +a52 +alsa altivec aqua bluray bs2b cddb +cdio cpudetection debug directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv ipv6 jack joystick jpeg ladspa lcms +libass libcaca lirc mad md5sum +mmx mmxext mng +mp3 +network nut +opengl oss png pnm portaudio +postproc pulseaudio pvr (+)quvi radio +rar +rtc samba sdl selinux +shm +speex sse sse2 ssse3 symlink tga +theora +threads +unicode v4l vcd
[gentoo-user] Again some headless stuff/question
Hi, for starting and running a script on a headless system for me nohup works perfectly. For interactive session via ssh screen/tmux turned out to be the solution to detach from jobs started from the commandline. Both are hints/help I received from the community here. :) Thank you very much !!! :))) Since the screen/tmux thingie is THAT convenient I would like to start this as the default when logging in via ssh. I could write a script which is started by the shell (zsh) which in turn is started as part of the login process. Screen would start another shell and TADA!... But this is an embedded system... The result should be a running screen session right after login via ssh. Is there any shorter path to what I am trying to do -- without the cascade of shells which do nothing but waiting of the child process to end? Thank you very much in advance for any help! Have a nice Sunday! Best regards, mcc
[gentoo-user] Problems with update of smplayer (needs mplayer2?)
Hi, While updateing my world ;) an update of smplayer was announced. The update failed with: ... ... x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/aviheader.o libmpdemux/aviheader.c libmpdemux/aviheader.c: In function 'read_avi_header': libmpdemux/aviheader.c:600:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(magic, 6, 1, fp); ^ libmpdemux/aviheader.c:605:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(priv-idx_size, sizeof(priv-idx_size), 1, fp); ^ libmpdemux/aviheader.c:616:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(idx, sizeof(AVIINDEXENTRY), 1, fp); ^ x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/aviprint.o libmpdemux/aviprint.c x86_64-pc-linux-gnu-gcc -MD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -O2 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -march=native -O2 -pipe -msse3 -ggdb -D_REENTRANT -I/usr/include/alsa -I/usr/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libdvdread -c -o libmpdemux/demuxer.o libmpdemux/demuxer.c libmpdemux/demuxer.c:48:2: error: #error MP_INPUT_BUFFER_PADDING_SIZE is too small! #error MP_INPUT_BUFFER_PADDING_SIZE is too small! ^ make: *** [libmpdemux/demuxer.o] Error 1 * ERROR: media-video/mplayer2-2.0_p20130428-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-video/mplayer2-2.0_p20130428-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/mplayer2-2.0_p20130428-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/work/mplayer2-2.0_p20130428' * S: '/var/tmp/portage/media-video/mplayer2-2.0_p20130428-r1/work/mplayer2-2.0_p20130428' Failed to emerge media-video/mplayer2-2.0_p20130428-r1, Log file: I am confused...why does smplayer pulls mplayer2? solfire:eix mplayer2 * media-video/mplayer2 Available versions: 2.0_p20130126 2.0_p20130428-r1 ~2.0_p20131009 ** {3dnow 3dnowext +X +a52 +alsa altivec aqua bluray bs2b cddb +cdio cpudetection debug directfb doc +dts +dv dvb +dvd +dvdnav +enca +faad fbcon ftp gif +iconv ipv6 jack joystick jpeg ladspa lcms +libass libcaca lirc mad md5sum +mmx mmxext mng +mp3 +network nut +opengl oss png pnm portaudio +postproc pulseaudio pvr (+)quvi radio +rar +rtc samba sdl selinux +shm +speex sse sse2 ssse3 symlink tga +theora +threads +unicode v4l vcd vdpau +vorbis xanim xinerama +xscreensaver +xv xvid yuv4mpeg KERNEL=linux} Homepage:http://www.mplayer2.org/ Description: Media Player for Linux I will mail any other logfile if wanted...I dont want to pollute the mailing list in beforehand... :) Thank you very much in advance for any help! Best regards, mcc
Re: [gentoo-user] Headless question: Harvesting the results...software needed.
Matti Nykyri matti.nyk...@iki.fi [14-10-01 13:16]: On Oct 1, 2014, at 5:54, meino.cra...@gmx.de wrote: Matti Nykyri matti.nyk...@iki.fi [14-10-01 00:26]: On Tue, Sep 30, 2014 at 08:12:38PM +0200, meino.cra...@gmx.de wrote: Matti Nykyri matti.nyk...@iki.fi [14-09-30 19:44]: On Sep 30, 2014, at 17:12, Alec Ten Harmsel a...@alectenharmsel.com wrote: On 09/30/2014 10:05 AM, meino.cra...@gmx.de wrote: Suppose the GPS would already be attached to the board and works... Is there any free available software and data for strict offline useage (which does NOT calls to home), which is able to map GPS data to a street/land map? I need both: The maps themselves and the logic to read GPS coordinates and map movements and ways to those maps. Is something like that available for free or should I directly ask the NSA/CIA/FBI/...? Thank you very much in advance for any help! Best regards, mcc The only project I know of that has openly available map data is OpenStreetMap (openstreetmap.org). I know they have an API, and they probably (not sure) have maps available for download. afaik the only way to combine various map data out of the box is to use a GIS package like QGIS. You can write software to do this using the proj4 library for an embedded box, not sure if anything for your specific use case already exists and is open source. Alec Sorry iphone send mail even if you don't wanna :/ What you are considering doing is quite a challenge. What kind of coordinates does your gps module give you? The gps system works with cartesian x y z coordinates. Then these are usually displayed to the user in WGS-84. This is a quite hard mathematical problem (differential elliptical problem). Usually is done by your gps receiver and is approximated. GIS libraries have these functions built inside. Distances are easier and faster to calculate in cartesian coordinates. You need to calculate distance because coordinates from gps will never coincide with any address. Open street maps provides a very good start, but addresses have great differences in different countries. For example google misses addresses quite much depending on where you are searching. Getting the address right requires good locality from the program. Addresses and roads are vector maps. The fastest way to get address is to have the vector map of the world and then calculate distance to the closest address. The database will be huge :) Maps are usually raster pictures which have some projection. When you display them you can use 3d or 2d visual. In 3d (like google earth) you draw a sphere (or oblate spheroid) and draw textures on top of is to the right coordinates. In 3d everything needs to be converted to cartesian coordinates. Or in 2d you decide a projection and then convert the projection of your maps to this projection. After that it is just easy drawing. GIS libraries contain all the needed tools for these operations. There are a few of them with open source license. I have been doing some work with opengl 3d drawing maps. Good luck your project is quite big but it is sure very much fun :) -- -Matti YEAH! Matti is back! I saw your previous mail and thought: Oh boy...Clint Eastwood is very talkative compared to /him/. ;;;))) Trashed the phone... and now back to the good old fashion terminal connection. I am not /that/ serious this evening...sorry... With all the help from this forum this evening I got by far more working results as I have thought... But back to your mail: The GPS module I plan to use is this one (by Adafruit, Lady Ada): https://learn.adafruit.com/adafruit-ultimate-gps/overview From there (see link list on the left) you can also download the manuals (pdf). Nice... MicroTek chipset. Quite easy to use. I will not use this thing as a driving assistant or navi (is this common speaking outside germany also...or is it one of those pseudo english german words like handy for cell phone...dont laugh! This time /I am/ serious! :) ) Its more like a GPS data logger. I plan to copy the gathered data on my PC later and I will try to draw them onto a map. May be the results proof later, that I am able to walk through walls and hovering over the face of the waters...;) Ok. This is easy... You just need some maps... openstreetmaps are good for that. From the MT3339 you get NMEA messages and WGS-84 coordinates. I would suggest displaying your results in 2D. For germany Lambert conformal conic projection is good choice. In this projection all angles are true and sreight lines are great circle routes. Just convert the maps to this projection and convert your coordinates to Lambert false easting and false northing and you will have cartesian coordinates that are easy to draw. Even excel is able to draw this in real time :) I don't
Re: [gentoo-user] Headless question: Harvesting the results...software needed.
Mick michaelkintz...@gmail.com [14-10-01 15:34]: On Wednesday 01 Oct 2014 14:26:33 meino.cra...@gmx.de wrote: After 24 h my DSL line is forced to disconnect by the provider and the download fails. Grrmmmpppfff... Will wget -c URL work in this case? -- Regards, Mick Hi Mick, yesno... ;) or it depends... There is anoter problem...the data files will be updated each day as far as I understand that... So you get two parts of data which will or will not fit together. Best regards, mcc
Re: [gentoo-user] Running a program on a headless computer ?
Neil Bothwick n...@digimed.co.uk [14-09-28 20:44]: On Sun, 28 Sep 2014 16:13:51 +0200, meino.cra...@gmx.de wrote: I want to run programs, which insist on haveing a terminal to write their status to and which are writing files which their results on a headless computer (beaglebone). I tried things like my_program -o file.txt -parameter value /dev/null 21 but this results in a idle copy of this process and a defunct child. nohup may do what you want. Or you can do it with at, if atd is running echo my_program -o file.txt -parameter value | at now -- Neil Bothwick A wok is what you throw at a wabbit. Hi all, first of all: Thanks a lot for all offered help and the various suggested method to acchieve what I wanted... :) Since the device I use is an embedded system (Beaglebone black) memory consumption of the software is more important as it is on a fully blown PC... The 'nohup' method works for me like a charm! And it is straight forward and uses less memory. Best regards, mcc
[gentoo-user] another headless device-question: In search of the LAN
Hi, For a device (beaglebone black) I am looking for a solution of the following problem: This little computer boots a fully blown Gentoo linux. It is used mostly as headless device (capturing data from attached sensors). From time to time I want access it via LAN. If the device was booted without LAN attached, the configured ethernet was not found and dhcpd fails. So Gentoo goes into no LAN-mode (or something like that). Is there a less waiting for the timeout-prone way to refresh the status of the LAN beside putting the accoring init-script into a cron job ??? Is there a way to check, whether a RJ45 was plugged into the device and if so to start init-script then? Thank you very much in advance for any help! Best regards, mcc
Re: [gentoo-user] another headless device-question: In search of the LAN
thegeezer thegee...@thegeezer.net [14-09-30 12:32]: On 30/09/14 11:21, Mick wrote: On Tuesday 30 Sep 2014 11:12:34 meino.cra...@gmx.de wrote: Thank you very much in advance for any help! Best regards, mcc Typically used on laptops: [I] sys-apps/ifplugd Available versions: 0.28-r9 [doc selinux] Installed versions: 0.28-r9(11:14:57 12/18/10)(-doc) Homepage:http://0pointer.de/lennart/projects/ifplugd/ Description: Brings up/down ethernet ports automatically with cable detection and another alternative would be sys-apps/netplug WHOW! That all sounds much more easier than I have dreamt of! I did not thought, that such software exists already -- and therefore did not search for it... Great! Thanks a lot -- helps a lot here! Best regards, mcc
Re: [gentoo-user] another headless device-question: In search of the LAN
Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd Available versions: 0.28-r9 [doc selinux] Installed versions: 0.28-r9(11:14:57 12/18/10)(-doc) Homepage: http://0pointer.de/lennart/projects/ifplugd/ Description: Brings up/down ethernet ports automatically with cable detection and another alternative would be sys-apps/netplug WHOW! That all sounds much more easier than I have dreamt of! I did not thought, that such software exists already -- and therefore did not search for it... If you use openrc, you only need to install one of these programs, not configure or set it to run. OpenRC detects that one of these programs is available and uses it to do exactly what you need. -- Neil Bothwick We are upping our standards - so up yours. Hi Neil, ...and there are people out there, which flee with lightspeed in fear of complexity in that moment I will spell c-o-m-m-a-n-d-l-i-n-e grin Thanks a lot! Currently emerge is running... :) Best regards, mcc
Re: [gentoo-user] another headless device-question: In search of the LAN
Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd Available versions: 0.28-r9 [doc selinux] Installed versions: 0.28-r9(11:14:57 12/18/10)(-doc) Homepage: http://0pointer.de/lennart/projects/ifplugd/ Description: Brings up/down ethernet ports automatically with cable detection and another alternative would be sys-apps/netplug WHOW! That all sounds much more easier than I have dreamt of! I did not thought, that such software exists already -- and therefore did not search for it... If you use openrc, you only need to install one of these programs, not configure or set it to run. OpenRC detects that one of these programs is available and uses it to do exactly what you need. -- Neil Bothwick We are upping our standards - so up yours. ...ok, it works! ...nearly... ;) Unfortunately, ntp-client is configured via rc-update (added to default) but after plugging in LAN the interface eth0 comes up and I have access via ssh...but the date is set to the beginnig of the UNIX epoch. I have to call ntp-client by hand.
Re: [gentoo-user] Re: another headless device-question: In search of the LAN
James wirel...@tampabay.rr.com [14-09-30 14:24]: meino.cramer at gmx.de writes: Unfortunately, ntp-client is configured via rc-update (added to default) but after plugging in LAN the interface eth0 comes up and I have access via ssh...but the date is set to the beginnig of the UNIX epoch. I have to call ntp-client by hand. Meino, Make sure your system time (hwclock) is properly set upon bootup. Since you are running on an embedded hardware board, I'd look at those docs and find a forum as to the specifics of how the hardware clock is set and maintained on the board. Once you get it close, then ntp should be configuration. man hwclock hth, James Hi James, ...the system has no built-in RTC which still runs if the system is powered off. After power is up and eth0 is alive, the time/date has to be set via ntp-client. The rest already working. I called /etc/init.d/ntp-client start after booting the little beast and plugging in the RJ45 and everything else was fine. Currently I am experimenting with chrony (emerging). Will see, if this will make a difference ;) Best mcc
Re: [gentoo-user] Re: another headless device-question: In search of the LAN
wraeth wra...@wraeth.id.au [14-09-30 14:44]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 30/09/14 22:39, wraeth wrote: FWIW, there's a dispatcher script you can use (at least with NM) that calls chrony and sets it to online mode. Sorry, to clarify: when NetworkManager comes online, it can execute scripts placed in /etc/NetworkManager/dispatcher.d. There's a script I came across [0] that, when placed in the dispatcher directory, brings chrony online and syncs time. [0] https://aur.archlinux.org/packages/networkmanager-dispatcher-chrony/ - -- wraeth Key: 0xB2D9F759 -BEGIN PGP SIGNATURE- Version: GnuPG v2 iF4EAREIAAYFAlQqpSkACgkQXcRKerLZ91mOpQD8D88IsMKuz0nSyez89C7ru2Cm sFwJr4g40Tmlgw5yBF8A/312Lztrab/PMZbW+opN3e18zWGnmPOparLuPjAONgzA =8Qc8 -END PGP SIGNATURE- This feels little bit less than a k.i.s.s. ... ;) I put a call of /etc/init.d/ntp-client restart into postup() { } of /etc/conf.d/net which is a little more like a k.i.s.s. ;) Like that...runs fine and fast. And only once...no polling on this little machine. Thanks you all again for all the ideas and help! Best regards, mcc
Re: [gentoo-user] another headless device-question: In search of the LAN
Kerin Millar kerfra...@fastmail.co.uk [14-09-30 15:08]: On 30/09/2014 12:49, meino.cra...@gmx.de wrote: Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd Available versions: 0.28-r9 [doc selinux] Installed versions: 0.28-r9(11:14:57 12/18/10)(-doc) Homepage: http://0pointer.de/lennart/projects/ifplugd/ Description: Brings up/down ethernet ports automatically with cable detection and another alternative would be sys-apps/netplug WHOW! That all sounds much more easier than I have dreamt of! I did not thought, that such software exists already -- and therefore did not search for it... If you use openrc, you only need to install one of these programs, not configure or set it to run. OpenRC detects that one of these programs is available and uses it to do exactly what you need. -- Neil Bothwick We are upping our standards - so up yours. ...ok, it works! ...nearly... ;) Unfortunately, ntp-client is configured via rc-update (added to default) but after plugging in LAN the interface eth0 comes up and I have access via ssh...but the date is set to the beginnig of the UNIX epoch. I have to call ntp-client by hand. If you know that net.eth0 is specifically required to be up for ntp-client to work, you should render OpenRC aware of the fact: echo 'rc_need=net.eth0' /etc/conf.d/ntp-client --Kerin Hi Kerin, I tried a similiar thing: #!/sbin/runscript # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntp-client.rc,v 1.13 2013/12/24 11:01:52 vapier Exp $ depend() { before cron portmap after eth0 use dns logger } for after XYZ I set net net.eth0 eth0 and none worked for me... Best regards, mcc
[gentoo-user] Headless question: Harvesting the results...software needed.
Hi, with lot of help of this forum (***TAHNKS!***) I now have a embedded device which is able to dis/connect itsself from/to the LAN, set the clock via ntp-client and is able to fire up a tool, which collects data from sensors and put those into a file ... even if the tool has no connection to a terminal. Next step will be to connect a GPS module (ordered) to the GPIO pins of that board (which is quite offtopic and I fear therefore my sole problem... ;). Suppose the GPS would already be attached to the board and works... Is there any free available software and data for strict offline useage (which does NOT calls to home), which is able to map GPS data to a street/land map? I need both: The maps themselves and the logic to read GPS coordinates and map movements and ways to those maps. Is something like that available for free or should I directly ask the NSA/CIA/FBI/...? Thank you very much in advance for any help! Best regards, mcc
Re: [gentoo-user] another headless device-question: In search of the LAN
Kerin Millar kerfra...@fastmail.co.uk [14-09-30 16:04]: On 30/09/2014 14:58, Neil Bothwick wrote: On Tue, 30 Sep 2014 14:46:46 +0100, Kerin Millar wrote: depend() { before cron portmap after eth0 use dns logger } for after XYZ I set net net.eth0 eth0 and none worked for me... Using 'after' won't work unless both net.eth0 and ntp-client are in the default runlevel. Obviously, that condition is not satisfied if you are using ifplugd. Please try the solution mentioned in my previous post. It should work. ifplugd shouldn't be in any runlevel, it is just there for openrc to use. I did not claim or suggest otherwise. --Kerin I already have a solution in a file which is a user alterable file: I just put a call to ntp-client in the postup(){} function of /etc/conf.d/net. Called once and no polling and straight forward. And if an update to that file will happen, cfg-update will keep track of it. I am happy with that. Best regards, mcc
Re: [gentoo-user] Headless question: Harvesting the results...software needed.
J. Roeleveld jo...@antarean.org [14-09-30 19:40]: On 30 September 2014 16:12:31 CEST, Alec Ten Harmsel a...@alectenharmsel.com wrote: On 09/30/2014 10:05 AM, meino.cra...@gmx.de wrote: Suppose the GPS would already be attached to the board and works... Is there any free available software and data for strict offline useage (which does NOT calls to home), which is able to map GPS data to a street/land map? I need both: The maps themselves and the logic to read GPS coordinates and map movements and ways to those maps. Is something like that available for free or should I directly ask the NSA/CIA/FBI/...? Thank you very much in advance for any help! Best regards, mcc The only project I know of that has openly available map data is OpenStreetMap (openstreetmap.org). I know they have an API, and they probably (not sure) have maps available for download. afaik the only way to combine various map data out of the box is to use a GIS package like QGIS. You can write software to do this using the proj4 library for an embedded box, not sure if anything for your specific use case already exists and is open source. Alec Openstreetmap is a good bet. You might also have some luck if you look into PostGIS. It is an extension to postgresql, which might be overkill, but you might be able to use that in yiur Google searches. If borders would be nice and straight, it would be easy. Unfortunately they are not. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ...its a damn long way...of waiting, though...;) I am currently downloading the data (Only Europe)...this will be a journey of two days uninterrupted waiting. And -- if murphy will be good to me -- only one file (there are two of them) is the wrong one and has to replaced by another 20GByte file lateron. Will see Next in this cinema: The incredible download from Mars -- Episode II: The revenge of the forgotten bytes ;) Best regards, mcc
Re: [gentoo-user] Headless question: Harvesting the results...software needed.
Matti Nykyri matti.nyk...@iki.fi [14-09-30 19:44]: On Sep 30, 2014, at 17:12, Alec Ten Harmsel a...@alectenharmsel.com wrote: On 09/30/2014 10:05 AM, meino.cra...@gmx.de wrote: Suppose the GPS would already be attached to the board and works... Is there any free available software and data for strict offline useage (which does NOT calls to home), which is able to map GPS data to a street/land map? I need both: The maps themselves and the logic to read GPS coordinates and map movements and ways to those maps. Is something like that available for free or should I directly ask the NSA/CIA/FBI/...? Thank you very much in advance for any help! Best regards, mcc The only project I know of that has openly available map data is OpenStreetMap (openstreetmap.org). I know they have an API, and they probably (not sure) have maps available for download. afaik the only way to combine various map data out of the box is to use a GIS package like QGIS. You can write software to do this using the proj4 library for an embedded box, not sure if anything for your specific use case already exists and is open source. Alec Sorry iphone send mail even if you don't wanna :/ What you are considering doing is quite a challenge. What kind of coordinates does your gps module give you? The gps system works with cartesian x y z coordinates. Then these are usually displayed to the user in WGS-84. This is a quite hard mathematical problem (differential elliptical problem). Usually is done by your gps receiver and is approximated. GIS libraries have these functions built inside. Distances are easier and faster to calculate in cartesian coordinates. You need to calculate distance because coordinates from gps will never coincide with any address. Open street maps provides a very good start, but addresses have great differences in different countries. For example google misses addresses quite much depending on where you are searching. Getting the address right requires good locality from the program. Addresses and roads are vector maps. The fastest way to get address is to have the vector map of the world and then calculate distance to the closest address. The database will be huge :) Maps are usually raster pictures which have some projection. When you display them you can use 3d or 2d visual. In 3d (like google earth) you draw a sphere (or oblate spheroid) and draw textures on top of is to the right coordinates. In 3d everything needs to be converted to cartesian coordinates. Or in 2d you decide a projection and then convert the projection of your maps to this projection. After that it is just easy drawing. GIS libraries contain all the needed tools for these operations. There are a few of them with open source license. I have been doing some work with opengl 3d drawing maps. Good luck your project is quite big but it is sure very much fun :) -- -Matti YEAH! Matti is back! I saw your previous mail and thought: Oh boy...Clint Eastwood is very talkative compared to /him/. ;;;))) I am not /that/ serious this evening...sorry... With all the help from this forum this evening I got by far more working results as I have thought... But back to your mail: The GPS module I plan to use is this one (by Adafruit, Lady Ada): https://learn.adafruit.com/adafruit-ultimate-gps/overview From there (see link list on the left) you can also download the manuals (pdf). I will not use this thing as a driving assistant or navi (is this common speaking outside germany also...or is it one of those pseudo english german words like handy for cell phone...dont laugh! This time /I am/ serious! :) ) Its more like a GPS data logger. I plan to copy the gathered data on my PC later and I will try to draw them onto a map. May be the results proof later, that I am able to walk through walls and hovering over the face of the waters...;) May be the UV-mappinga abillity of this 3D renderig program will help -- I am using it for other purposes since 2006. www.blender.org Will see how far it will go. First step in progress will be acchived, when I can read any data from the GPS module and they are not that changing if I dont move and they will change when I move. The module is ordered and will arrive -- I hope -- next week. Best regards, mcc
Re: [gentoo-user] Headless question: Harvesting the results...software needed.
thegeezer thegee...@thegeezer.net [14-09-30 20:24]: On 30/09/14 15:05, meino.cra...@gmx.de wrote: Hi, with lot of help of this forum (***TAHNKS!***) I now have a embedded device which is able to dis/connect itsself from/to the LAN, set the clock via ntp-client and is able to fire up a tool, which collects data from sensors and put those into a file ... even if the tool has no connection to a terminal. Next step will be to connect a GPS module (ordered) to the GPIO pins of that board (which is quite offtopic and I fear therefore my sole problem... ;). Suppose the GPS would already be attached to the board and works... Is there any free available software and data for strict offline useage (which does NOT calls to home), which is able to map GPS data to a street/land map? I need both: The maps themselves and the logic to read GPS coordinates and map movements and ways to those maps. Is something like that available for free or should I directly ask the NSA/CIA/FBI/...? Thank you very much in advance for any help! Best regards, mcc you can also have a look at something like www.openpaths.cc they have an api you can plug into but you need to post your gps data to them doesn't quite fit the offline part but to start it takes a lot of the heavy lifting for you alternatively you could save your gps co-ordinates to an xml file and send that via email, which you can then push up to google maps again, doesn't quite fit the offline part, but i'm not sure how you would visually see your map if it's headless unless if it's on another computer Hi, the offline part is important to me. In times where knowledge slowly and surely becomes a criminal act if created just by interest I am not willing to send any data (like GPS data) to google or others like them. headless vs. see the map: Sorry, the explanation may be missing in my mails. The headless device is only used as GPS recorder, which only stores the GOS data given by GPS module. The visualization is done lateron on my PC... The headless device (Beaglebone black) only has 512MB RAM and 16GB SDcard flash... And the CPU is not made for heavy mathematics... Best regards, mcc
Re: [gentoo-user] Headless question: Harvesting the results...software needed.
Matti Nykyri matti.nyk...@iki.fi [14-10-01 00:26]: On Tue, Sep 30, 2014 at 08:12:38PM +0200, meino.cra...@gmx.de wrote: Matti Nykyri matti.nyk...@iki.fi [14-09-30 19:44]: On Sep 30, 2014, at 17:12, Alec Ten Harmsel a...@alectenharmsel.com wrote: On 09/30/2014 10:05 AM, meino.cra...@gmx.de wrote: Suppose the GPS would already be attached to the board and works... Is there any free available software and data for strict offline useage (which does NOT calls to home), which is able to map GPS data to a street/land map? I need both: The maps themselves and the logic to read GPS coordinates and map movements and ways to those maps. Is something like that available for free or should I directly ask the NSA/CIA/FBI/...? Thank you very much in advance for any help! Best regards, mcc The only project I know of that has openly available map data is OpenStreetMap (openstreetmap.org). I know they have an API, and they probably (not sure) have maps available for download. afaik the only way to combine various map data out of the box is to use a GIS package like QGIS. You can write software to do this using the proj4 library for an embedded box, not sure if anything for your specific use case already exists and is open source. Alec Sorry iphone send mail even if you don't wanna :/ What you are considering doing is quite a challenge. What kind of coordinates does your gps module give you? The gps system works with cartesian x y z coordinates. Then these are usually displayed to the user in WGS-84. This is a quite hard mathematical problem (differential elliptical problem). Usually is done by your gps receiver and is approximated. GIS libraries have these functions built inside. Distances are easier and faster to calculate in cartesian coordinates. You need to calculate distance because coordinates from gps will never coincide with any address. Open street maps provides a very good start, but addresses have great differences in different countries. For example google misses addresses quite much depending on where you are searching. Getting the address right requires good locality from the program. Addresses and roads are vector maps. The fastest way to get address is to have the vector map of the world and then calculate distance to the closest address. The database will be huge :) Maps are usually raster pictures which have some projection. When you display them you can use 3d or 2d visual. In 3d (like google earth) you draw a sphere (or oblate spheroid) and draw textures on top of is to the right coordinates. In 3d everything needs to be converted to cartesian coordinates. Or in 2d you decide a projection and then convert the projection of your maps to this projection. After that it is just easy drawing. GIS libraries contain all the needed tools for these operations. There are a few of them with open source license. I have been doing some work with opengl 3d drawing maps. Good luck your project is quite big but it is sure very much fun :) -- -Matti YEAH! Matti is back! I saw your previous mail and thought: Oh boy...Clint Eastwood is very talkative compared to /him/. ;;;))) Trashed the phone... and now back to the good old fashion terminal connection. I am not /that/ serious this evening...sorry... With all the help from this forum this evening I got by far more working results as I have thought... But back to your mail: The GPS module I plan to use is this one (by Adafruit, Lady Ada): https://learn.adafruit.com/adafruit-ultimate-gps/overview From there (see link list on the left) you can also download the manuals (pdf). Nice... MicroTek chipset. Quite easy to use. I will not use this thing as a driving assistant or navi (is this common speaking outside germany also...or is it one of those pseudo english german words like handy for cell phone...dont laugh! This time /I am/ serious! :) ) Its more like a GPS data logger. I plan to copy the gathered data on my PC later and I will try to draw them onto a map. May be the results proof later, that I am able to walk through walls and hovering over the face of the waters...;) Ok. This is easy... You just need some maps... openstreetmaps are good for that. From the MT3339 you get NMEA messages and WGS-84 coordinates. I would suggest displaying your results in 2D. For germany Lambert conformal conic projection is good choice. In this projection all angles are true and sreight lines are great circle routes. Just convert the maps to this projection and convert your coordinates to Lambert false easting and false northing and you will have cartesian coordinates that are easy to draw. Even excel is able to draw this in real time :) I
[gentoo-user] Running a program on a headless computer ?
Hi, I want to run programs, which insist on haveing a terminal to write their status to and which are writing files which their results on a headless computer (beaglebone). I tried things like my_program -o file.txt -parameter value /dev/null 21 but this results in a idle copy of this process and a defunct child. The program does not use X11 in any way... Is there any neat trick to accomplish what I am trying to do here? Thank you very much in advance for any help! Best regards, mcc
Re: [gentoo-user] Running a program on a headless computer ?
Randolph Maaßen r.maasse...@gmail.com [14-09-28 16:24]: On Sep 28, 2014 4:14 PM, meino.cra...@gmx.de wrote: Hi, I want to run programs, which insist on haveing a terminal to write their status to and which are writing files which their results on a headless computer (beaglebone). I tried things like my_program -o file.txt -parameter value /dev/null 21 but this results in a idle copy of this process and a defunct child. The program does not use X11 in any way... Is there any neat trick to accomplish what I am trying to do here? Thank you very much in advance for any help! Best regards, mcc I would suggest to run the program in a screen session, you can disconnect frim the session and reconnect later. http://www.gnu.org/software/screen/ -- Best regards Randolph Maaßen Hi Randolph, ...the headless device will be booted and the programm will be startet via a kind of autostart script. No human intervention is wanted/possible... Best regards, mcc
Re: [gentoo-user] Running a program on a headless computer ?
Stroller strol...@stellar.eclipse.co.uk [14-09-28 18:52]: On Sun, 28 September 2014, at 5:08 pm, meino.cra...@gmx.de wrote: ... I want to run programs, which insist on haveing a terminal to write their status to and which are writing files which their results on a headless computer (beaglebone). I would suggest to run the program in a screen session, you can disconnect frim the session and reconnect later. ...the headless device will be booted and the programm will be startet via a kind of autostart script. No human intervention is wanted/possible... It's certainly possible to write such scripts to start automatically. E.G. from tmux's manpage: tmux new-session -d 'vi /etc/passwd' \; split-window -d \; attach Tested here: #!/bin/bash tmux new-session -n meino -d tmux send -t meino ls ENTER You would be able to access this: $ tmux list-w 0: meino* (1 panes) [80x39] [layout c85d,80x39,0,0,0] @0 (active) $ tmux a I'm not saying that a terminal multiplexer is the best way to solve your problem - I don't understand why the output of your program is not directable to a text file - but it's definitely possible to script the process of running a program in a terminal multiplexer window or session. You could write a script to see if a specific named session exists, and start one if it doesn't. You could then call this every 5 minutes in cron. Note that, in the example above I've named the window meino - I think you might be advised to name both window and session. You can attach sessions by name. I referred to this page: http://serverfault.com/questions/339390/run-command-in-detached-tmux-session It's a top google hit for run command in tmux Stroller. I tried to redirect the output, which technically is comparable with what can be seen by running top. The result as mentioned is a somewhat locked process and its zombie child. Starting of whatever will accomplish what I am trying to do is already implemented (somewhow uglyish...;) and works...beside of the sideeffect that the program goes zombie. I definately will try the screen or tmux version (or both ;) ) ! Thank you very much for all help ! Best regards, mcc
[gentoo-user] Playing timidity patches via keyboard?
Hi, I am looking for some sort of software, for which I have no words (neiter I am a native english speaker nor I am a musician...;): There is a program called Timidity, which is able to play midifiles and produce sound. The sound is taken from patchsets (GUS?). Is there any GPLed/OpensSource Software, which does the same thing but for notes I am playing on the midi keyboard? Thank you very much in advance for any help! Best regards, mcc
Re: [gentoo-user] Playing timidity patches via keyboard?
Jc García jyo.gar...@gmail.com [14-09-27 07:48]: 2014-09-26 23:42 GMT-06:00 meino.cra...@gmx.de: Hi, I am looking for some sort of software, for which I have no words (neiter I am a native english speaker nor I am a musician...;): There is a program called Timidity, which is able to play midifiles and produce sound. The sound is taken from patchsets (GUS?). Is there any GPLed/OpensSource Software, which does the same thing but for notes I am playing on the midi keyboard? Maybe 'media-sound/lmms' is what you are looking for? Homepage:http://lmms.sourceforge.net/ Thank you very much in advance for any help! Best regards, mcc not really...it plays samples (sound files). GUS patches are of higher quality as far as I know...
[gentoo-user] Building, daq, failed
Hi, The command emerge =daq-daq-2.0.2 failed with: Configuring source in /var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2 ... * econf: updating daq-2.0.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating daq-2.0.2/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --enable-ipv6 --enable-pcap-module --enable-afpacket-module --enable-dump-module --disable-nfq-module --disable-ipq-module --disable-static --disable-ipfw-module --disable-bundled-modules configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... no configure: error: in `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2': configure: error: C compiler cannot create executables See `config.log' for more details The relevant part of the config.log shows: configure:3355: $? = 0 configure:3344: x86_64-pc-linux-gnu-gcc -v 5 Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.8.2/work/gcc-4.8.2/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2 --includedir=/usr/lib/gcc/x86_64-pc-linux- gnu/4.8.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-p c-linux-gnu/4.8.2/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.2/python --enable-languages=c,c++,objc,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-incl uded-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.2 p1.3r1, pie-0.5.8r1' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu - -enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --enable-lto --without-cloog Thread model: posix gcc version 4.8.2 (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1) configure:3355: $? = 0 configure:3344: x86_64-pc-linux-gnu-gcc -V 5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3355: $? = 1 configure:3344: x86_64-pc-linux-gnu-gcc -qversion 5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. configure:3355: $? = 1 configure:3375: checking whether the C compiler works configure:3397: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -msse3 -ggdb -combine -ffast-math -fopenmp -fprefetch-loop-arrays -ftree-parallelize-loops=12 -funroll-all-loops -fwhole-program -mtune=amdfam10 -O3 -Wl,-O1 -Wl,--as-needed conftest.c 5 x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine' configure:3401: $? = 1 configure:3439: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME daq | #define PACKAGE_TARNAME daq | #define PACKAGE_VERSION 2.0.2 | #define PACKAGE_STRING daq 2.0.2 | #define PACKAGE_BUGREPORT snort-t...@sourcefire.com | #define PACKAGE_URL | #define PACKAGE daq | #define VERSION 2.0.2 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3444: error: in `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2': configure:3446: error: C compiler cannot create executables See `config.log' for more details To check I reemerged 'less' and this compiles fine. So, gcc works fine so far. What's wrong here? Wrong gcc-version? daq not compatible with gcc (or vice versa)? Thank you very much in advance for any help! Best regards, mcc
Re: [gentoo-user] unix2dos blocks dos2unix
Gevisz gev...@gmail.com [14-09-14 09:28]: I have just installed unix2dos utility (never had a need to use it before) and just after that tried to install dos2unix but the installation of dos2unix failed complaining on the fact that app-text/unix2dos is blocking app-text/dos2unix-6.0.5 I find it very strange as I think that if someone needs unix2dos utility he usually also needs dos2unix utility, especially taking into account that unix2dos by default overwrites its input file. This is the output from the emerge command: # emerge --ask dos2unix These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-text/dos2unix-6.0.5 USE=nls -debug [blocks B ] app-text/unix2dos (app-text/unix2dos is blocking app-text/dos2unix-6.0.5) [blocks B ] =app-text/dos2unix-5 (=app-text/dos2unix-5 is blocking app-text/unix2dos-2.2-r1) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (app-text/dos2unix-6.0.5::gentoo, ebuild scheduled for merge) pulled in by dos2unix (app-text/unix2dos-2.2-r1::gentoo, installed) pulled in by app-text/unix2dos required by @selected For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked Any thought? A shot in the dark: * app-text/dos2unix Available versions: 6.0.3 6.0.5 ~6.0.6 ~7.0 {debug nls test} Homepage:http://www.xs4all.nl/~waterlan/dos2unix.html http://sourceforge.net/projects/dos2unix/ Description: Convert DOS or MAC text files to UNIX format or vice versa * app-text/unix2dos Available versions: 2.2-r1 Homepage:http://www.xs4all.nl/~waterlan/dos2unix.html Description: UNIX to DOS text file format converter Since dos2unix does both ways - remove unix2dos and you should be fine... Best regards, mcc
Re: [gentoo-user] Building, daq, failed
Alan McKinnon alan.mckin...@gmail.com [14-09-14 10:12]: On 14/09/2014 09:10, meino.cra...@gmx.de wrote: 8 snip 8- | int | main () | { | | ; | return 0; | } configure:3444: error: in `/var/tmp/portage/net-libs/daq-2.0.2/work/daq-2.0.2': configure:3446: error: C compiler cannot create executables See `config.log' for more details To check I reemerged 'less' and this compiles fine. So, gcc works fine so far. What's wrong here? Wrong gcc-version? daq not compatible with gcc (or vice versa)? I think it's wrong gcc-version because of these silly errors: x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V' x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion' x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-combine' I haven't looked into it any further, but I'd say it's a bug in the build system so report it to bgo. Meanwhile, as a workaround to get it to build, install gcc:4.7 and use that to build daq. See if that works, if so mention it in your bug report. Hi Alan, thanks for replying ! :) daq compiles fine with gcc-4.7. . Bug tracker: I tried this before (another kind of something-not-working-as-expected). The bug tracker does not like me... I tried to log in...no. I reset my password...tried to log in...no. Cookies were on on my side. Sorr... Best regards, mcc -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Building, daq, failed
Neil Bothwick n...@digimed.co.uk [14-09-14 18:16]: On Sun, 14 Sep 2014 10:29:44 +0200, meino.cra...@gmx.de wrote: Bug tracker: I tried this before (another kind of something-not-working-as-expected). The bug tracker does not like me... I tried to log in...no. I reset my password...tried to log in...no. Cookies were on on my side. Did you try deleting all cookies for b.g.o? -- Neil Bothwick If the bank returns your cheque marked Insufficient Funds, call them and ask if they mean you or them. :-) Jupp...
Re: [gentoo-user] hatari fails to build
Mick michaelkintz...@gmail.com [14-09-09 17:12]: On Tuesday 09 Sep 2014 03:30:37 meino.cra...@gmx.de wrote: Hi, While doing a world update hatari fails to build. This happens on my AMD64 PC as it happens on my ARM Beaglebone Black the same way...(this is from my PC): -- Installing: /var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/man/man1/hat ariui.1.gz * Fixing shebang in usr/share/games/hatari/hatariui/config.py. * Fixing shebang in usr/share/games/hatari/hatariui/conftypes.py. * The file has incompatible shebang: * file: usr/share/games/hatari/hatariui/conftypes.py * current shebang: # content generated by gentypes.py * requested impl: python2.7 * ERROR: games-emulation/hatari-1.6.2::gentoo failed (install phase): * python_fix_shebang: conversion of incompatible shebang requested Can you look in the two files mentioned above to find out what the shebang looks like? They ought to start with something like: #!/usr/bin/python2 If not please file a bug. -- Regards, Mick Hi Mick, usr/share/games/hatari/hatariui/conftypes.py does not have any shebang and usr/share/games/hatari/hatariui/config.py. uses #!/usr/bin/env python2.7 Regards, mcc
Re: [gentoo-user] hatari fails to build
Mick michaelkintz...@gmail.com [14-09-09 17:12]: On Tuesday 09 Sep 2014 03:30:37 meino.cra...@gmx.de wrote: Hi, While doing a world update hatari fails to build. This happens on my AMD64 PC as it happens on my ARM Beaglebone Black the same way...(this is from my PC): -- Installing: /var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/man/man1/hat ariui.1.gz * Fixing shebang in usr/share/games/hatari/hatariui/config.py. * Fixing shebang in usr/share/games/hatari/hatariui/conftypes.py. * The file has incompatible shebang: * file: usr/share/games/hatari/hatariui/conftypes.py * current shebang: # content generated by gentypes.py * requested impl: python2.7 * ERROR: games-emulation/hatari-1.6.2::gentoo failed (install phase): * python_fix_shebang: conversion of incompatible shebang requested Can you look in the two files mentioned above to find out what the shebang looks like? They ought to start with something like: #!/usr/bin/python2 If not please file a bug. -- Regards, Mick Hi, I tried to file a bug at bugzilla. Result: The username or password you entered is not valid. I resetted the password an set a new one: Accepted. I tried to login: The username or password you entered is not valid. Cookies were enabled. Hmmm... Regards, mcc
[gentoo-user] hatari fails to build
Hi, While doing a world update hatari fails to build. This happens on my AMD64 PC as it happens on my ARM Beaglebone Black the same way...(this is from my PC): -- Installing: /var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/man/man1/hatariui.1.gz * Fixing shebang in usr/share/games/hatari/hatariui/config.py. * Fixing shebang in usr/share/games/hatari/hatariui/conftypes.py. * The file has incompatible shebang: * file: usr/share/games/hatari/hatariui/conftypes.py * current shebang: # content generated by gentypes.py * requested impl: python2.7 * ERROR: games-emulation/hatari-1.6.2::gentoo failed (install phase): * python_fix_shebang: conversion of incompatible shebang requested * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 3979: Called python_fix_shebang '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/config.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/conftypes.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/debugui.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/dialogs.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/hatari.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/hatariui.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hatariui/uihelpers.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hconsole/example.py' '/var/tmp/portage/games-emulation/hatari-1.6.2/image/usr/share/games/hatari/hconsole/hconsole.py' * environment, line 3645: Called die * The specific snippet of code: * die ${FUNCNAME}: conversion of incompatible shebang requested; * Output of 'emerge --info '=games-emulation/hatari-1.6.2::gentoo' Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.19-r1, 3.16.1-RT x86_64) = System Settings = System uname: Linux-3.16.1-RT-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2 KiB Mem: 8167380 total, 3004424 free KiB Swap:6291452 total, 6291452 free Timestamp of tree: Tue, 09 Sep 2014 00:45:01 + ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2 ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.7, 3.2.5-r6, 3.3.5-r1 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.1 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.23.2 sys-devel/gcc:4.4.7, 4.8.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool:2.4.2-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo x-portage ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* CBUILD=x86_64-pc-linux-gnu CFLAGS=-march=native -O2 -pipe -msse3 -ggdb CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c CXXFLAGS=-march=native -O2 -pipe -msse3 -ggdb DISTDIR=/usr/portage/distfiles EMERGE_DEFAULT_OPTS= FCFLAGS=-O2 -pipe FEATURES=assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync FFLAGS=-O2 -pipe GENTOO_MIRRORS=http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ rsync://de-mirror.org/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://mirror.opteamax.de/gentoo/ rsync://mirror.opteamax.de/gentoo/ http://mirror.opteamax.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
Re: [gentoo-user] OT: In search of a hint/ides: Loop recording of a webcam
Neil Bothwick n...@digimed.co.uk [14-09-07 10:28]: On Sat, 6 Sep 2014 17:56:33 +0200, meino.cra...@gmx.de wrote: As mentioned motion detection software is not appropiate for this, since it detects motion ... that is: The bird/s are already in sight...add the reaction time between bird is there and motion detection has recognized that there is a bird and all the false alarms if a bee is flying through the video or a distant bird flies through but does not land etc... Motion buffers the last few seconds of video and includes it with the recording when it detects motion, the number of seconds is configurable. There are also many options to tweak for the detection, such as only looking at specific portions of the image. Some false alarms are inevitable but you would spend less time looking through those than watching a live stream. Only you can decide what works best for you, but check the options thoroughly before you dismiss motion detection. -- Neil Bothwick There's no place like ~ Hi Neil, I got motion working As it seems, it does not support h264 compressed streams. It switches back the camera to YUVY, which increases the bandwidth on USB2. In turn the frame rate of the recorded video dropps: The video looks like awkward old-school stop-motion movies. And audio is also missing. Sorry for the bad news... Best regards, mcc
[gentoo-user] OT: In search of a hint/ides: Loop recording of a webcam
Hi, may be the software I am looking for already exists of can easily created by plugging together already existing pieces: With a Logitech c920 webcam (Full HD) I plan to record birds on my roof. I need to record everything: Starting from the birds landing on the roof until the fligh away again. Since the camera delivers Full HD video AND I need the complete movie of the bird motion detection is not suitable here: Decoding analyzing and reencoding in case of recording would take to much horsepower... But Normally I will recogize the birds after the landed on the roof. My idea is to do something like loop recoording: The stream is cut into pieces of 5 minutes length. If I dont hit ENTER (or something similar) the previously recorded piece of video gets delted after the current one has been completly recorded. If I hit ENTER no deletion is performed until I hit ENTER again. I already have a script hacked together with a gst-launch command, which is able to fetch the Full HD hardware encoded stream from the C920 and put it on the harddisk. But I failed in creating a script which allows me to simultanously watch the material which gets recorded just in the same moment. Is there any software or script or fill in something appropiate here which does this loop recording as described above AND is able to pull the Full HD stream correctly from the C920? Where can I proceed? Thank you very much in advance for any help! Best regards and have a nice weekend! mcc
Re: [gentoo-user] OT: In search of a hint/ides: Loop recording of a webcam
Hi Neil, Thanks for reply! :) As mentioned motion detection software is not appropiate for this, since it detects motion ... that is: The bird/s are already in sight...add the reaction time between bird is there and motion detection has recognized that there is a bird and all the false alarms if a bee is flying through the video or a distant bird flies through but does not land etc... I will try the tee-trick (by the way I like tea... ;) and see, what happens. Thanks again for your help! Have a nice weekend! Best regards, mcc Neil Bothwick n...@digimed.co.uk [14-09-06 16:52]: On Sat, 6 Sep 2014 14:59:34 +0200, meino.cra...@gmx.de wrote: I already have a script hacked together with a gst-launch command, which is able to fetch the Full HD hardware encoded stream from the C920 and put it on the harddisk. But I failed in creating a script which allows me to simultanously watch the material which gets recorded just in the same moment. Is there any software or script or fill in something appropiate here which does this loop recording as described above AND is able to pull the Full HD stream correctly from the C920? Have your script send the video stream to stdout and pipe it through tee, which will both send it to a file and back to stdout, where your video player is listening. Have you actually tried using motion detection software? I don't know how powerful your system is, but I have motion processing three SD streams simultaneously with no significant CPU usage. -- Neil Bothwick Always remember you're unique, just like everyone else.
Re: [gentoo-user] blocker between openrc and procps
Alan McKinnon alan.mckin...@gmail.com [14-08-24 10:32]: On 24/08/2014 04:30, meino.cra...@gmx.de wrote: hi, How can I resolve this blocker: (sys-process/procps-3.3.9::gentoo, installed) pulled in by sys-process/procps required by (dev-db/mysql-5.5.39::gentoo, installed) sys-process/procps required by @system (sys-apps/openrc-0.13.1::gentoo, ebuild scheduled for merge) pulled in by sys-apps/openrc required by @system sys-apps/openrc required by @selected sys-apps/openrc required by (virtual/service-manager-0::gentoo, installed) =sys-apps/openrc-0.12 required by (net-misc/netifrc-0.2.2::gentoo, ebuild scheduled for merge) Thank you very much in advance for any help! There is no blocker there -- Alan McKinnon alan.mckin...@gmail.com Hi Alan, sorry, I missed some lines of text: [blocks B ] sys-process/procps-3.3.9-r2 (sys-process/procps-3.3.9-r2 is blocking sys-apps/openrc-0.13.1) Total: 109 packages (108 upgrades, 1 new), Size of downloads: 1,107,696 kB Fetch Restriction: 1 package (1 unsatisfied) Conflict: 2 blocks (1 unsatisfied) Fetch instructions for dev-java/java-sdk-docs-1.7.0.60: * Please download jdk-7u60-apidocs.zip from * http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html * (agree to the license) and place it in /usr/portage/distfiles * If you find the file on the download page replaced with a higher * version, please report to the bug 67266 (link below). * If emerge fails because of a checksum error it is possible that * the upstream release changed without renaming. Try downloading the file * again (or a newer revision if available). Otherwise report this to * http://bugs.gentoo.org/67266 and we will make a new revision. * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (sys-process/procps-3.3.9::gentoo, installed) pulled in by sys-process/procps required by (dev-db/mysql-5.5.39::gentoo, installed) sys-process/procps required by @system (sys-apps/openrc-0.13.1::gentoo, ebuild scheduled for merge) pulled in by sys-apps/openrc required by @system sys-apps/openrc required by @selected sys-apps/openrc required by (virtual/service-manager-0::gentoo, installed) =sys-apps/openrc-0.12 required by (net-misc/netifrc-0.2.2::gentoo, ebuild scheduled for merge) Best regards, mcc
Re: [gentoo-user] blocker between openrc and procps
J. Roeleveld jo...@antarean.org [14-08-24 12:36]: On 24 August 2014 11:23:34 CEST, meino.cra...@gmx.de wrote: Alan McKinnon alan.mckin...@gmail.com [14-08-24 10:32]: On 24/08/2014 04:30, meino.cra...@gmx.de wrote: hi, How can I resolve this blocker: (sys-process/procps-3.3.9::gentoo, installed) pulled in by sys-process/procps required by (dev-db/mysql-5.5.39::gentoo, installed) sys-process/procps required by @system (sys-apps/openrc-0.13.1::gentoo, ebuild scheduled for merge) pulled in by sys-apps/openrc required by @system sys-apps/openrc required by @selected sys-apps/openrc required by (virtual/service-manager-0::gentoo, installed) =sys-apps/openrc-0.12 required by (net-misc/netifrc-0.2.2::gentoo, ebuild scheduled for merge) Thank you very much in advance for any help! There is no blocker there -- Alan McKinnon alan.mckin...@gmail.com Hi Alan, sorry, I missed some lines of text: [blocks B ] sys-process/procps-3.3.9-r2 (sys-process/procps-3.3.9-r2 is blocking sys-apps/openrc-0.13.1) Total: 109 packages (108 upgrades, 1 new), Size of downloads: 1,107,696 kB Fetch Restriction: 1 package (1 unsatisfied) Conflict: 2 blocks (1 unsatisfied) Fetch instructions for dev-java/java-sdk-docs-1.7.0.60: * Please download jdk-7u60-apidocs.zip from * http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html * (agree to the license) and place it in /usr/portage/distfiles * If you find the file on the download page replaced with a higher * version, please report to the bug 67266 (link below). * If emerge fails because of a checksum error it is possible that * the upstream release changed without renaming. Try downloading the file * again (or a newer revision if available). Otherwise report this to * http://bugs.gentoo.org/67266 and we will make a new revision. * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (sys-process/procps-3.3.9::gentoo, installed) pulled in by sys-process/procps required by (dev-db/mysql-5.5.39::gentoo, installed) sys-process/procps required by @system (sys-apps/openrc-0.13.1::gentoo, ebuild scheduled for merge) pulled in by sys-apps/openrc required by @system sys-apps/openrc required by @selected sys-apps/openrc required by (virtual/service-manager-0::gentoo, installed) =sys-apps/openrc-0.12 required by (net-misc/netifrc-0.2.2::gentoo, ebuild scheduled for merge) Best regards, mcc Update procps to a later version. Or update mysql if that specifically want that version. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity. Procps is already at its newest version. eix -I procps [I] sys-process/procps Available versions: 3.3.6 3.3.8-r2 3.3.9 ~3.3.9-r1 ~3.3.9-r2 {+ncurses nls selinux static-libs systemd test unicode} Installed versions: 3.3.9(03:38:35 08/24/14)(ncurses nls unicode -static-libs -test) Homepage:http://procps.sourceforge.net/ http://gitorious.org/procps Description: standard informational utilities and process-handling tools I had updated mysql but it does not help (same version of procps is used). Best regards, mcc
Re: [gentoo-user] blocker between openrc and procps
Mick michaelkintz...@gmail.com [14-08-24 12:36]: On Sunday 24 Aug 2014 10:23:34 meino.cra...@gmx.de wrote: Alan McKinnon alan.mckin...@gmail.com [14-08-24 10:32]: On 24/08/2014 04:30, meino.cra...@gmx.de wrote: hi, How can I resolve this blocker: (sys-process/procps-3.3.9::gentoo, installed) pulled in by sys-process/procps required by (dev-db/mysql-5.5.39::gentoo, installed) sys-process/procps required by @system (sys-apps/openrc-0.13.1::gentoo, ebuild scheduled for merge) pulled in by sys-apps/openrc required by @system sys-apps/openrc required by @selected sys-apps/openrc required by (virtual/service-manager-0::gentoo, installed) =sys-apps/openrc-0.12 required by (net-misc/netifrc-0.2.2::gentoo, ebuild scheduled for merge) Thank you very much in advance for any help! There is no blocker there Hi Alan, sorry, I missed some lines of text: [blocks B ] sys-process/procps-3.3.9-r2 (sys-process/procps-3.3.9-r2 is blocking sys-apps/openrc-0.13.1) Total: 109 packages (108 upgrades, 1 new), Size of downloads: 1,107,696 kB Fetch Restriction: 1 package (1 unsatisfied) Conflict: 2 blocks (1 unsatisfied) Fetch instructions for dev-java/java-sdk-docs-1.7.0.60: * Please download jdk-7u60-apidocs.zip from * http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc- download-435117.html * (agree to the license) and place it in /usr/portage/distfiles * If you find the file on the download page replaced with a higher * version, please report to the bug 67266 (link below). * If emerge fails because of a checksum error it is possible that * the upstream release changed without renaming. Try downloading the file * again (or a newer revision if available). Otherwise report this to * http://bugs.gentoo.org/67266 and we will make a new revision. * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (sys-process/procps-3.3.9::gentoo, installed) pulled in by sys-process/procps required by (dev-db/mysql-5.5.39::gentoo, installed) sys-process/procps required by @system (sys-apps/openrc-0.13.1::gentoo, ebuild scheduled for merge) pulled in by sys-apps/openrc required by @system sys-apps/openrc required by @selected sys-apps/openrc required by (virtual/service-manager-0::gentoo, installed) =sys-apps/openrc-0.12 required by (net-misc/netifrc-0.2.2::gentoo, ebuild scheduled for merge) Best regards, mcc This is how I would go about it: Uninstall sys-process/procps, then run emerge and let portage do its thing. -- Regards, Mick ...results in the same blocker... (mysql pulls procps) Best regards, mcc
[gentoo-user] blocker between openrc and procps
hi, How can I resolve this blocker: (sys-process/procps-3.3.9::gentoo, installed) pulled in by sys-process/procps required by (dev-db/mysql-5.5.39::gentoo, installed) sys-process/procps required by @system (sys-apps/openrc-0.13.1::gentoo, ebuild scheduled for merge) pulled in by sys-apps/openrc required by @system sys-apps/openrc required by @selected sys-apps/openrc required by (virtual/service-manager-0::gentoo, installed) =sys-apps/openrc-0.12 required by (net-misc/netifrc-0.2.2::gentoo, ebuild scheduled for merge) Thank you very much in advance for any help! Best regards, mcc
[gentoo-user] Contradictionary behaviour of SMART on hds ?!?
Hi, after finding a bad sector on my hd (see previous thread) a read a lot stuff about SMART, smartctl and such to determine wether and how severe is a bad sector and how to cope with it. There is (at least ;) one thing I dont understand: On the one hand, the surface test (extended offline and such) aborts as soon the first read fgailure happens. On the other hand it is said: If the count of bad sectors increases over time it is time to change the hd. How can the second happen, if the first is true??? Best regards, mcc
Re: [gentoo-user] Contradictionary behaviour of SMART on hds ?!?
Neil Bothwick n...@digimed.co.uk [14-07-27 12:32]: On Sun, 27 Jul 2014 12:12:47 +0200, meino.cra...@gmx.de wrote: On the one hand, the surface test (extended offline and such) aborts as soon the first read fgailure happens. On the other hand it is said: If the count of bad sectors increases over time it is time to change the hd. How can the second happen, if the first is true??? My understanding is that the test only aborts if the error is severe enough to force it to do so. A simple bad block can be skipped and the rest of the drive tested. I've had a couple of drives get to the stage where SMART tests abort at an error and in both cases the manufacturer replaced them without question. -- Neil Bothwick If at first you do succeed, try to hide your astonishment. Hi Dale, hi Neil, thanks for the infos. But it is slightly off the point I tried to explain (I am no native english speaker...sorry...:) Suppose - as in my case - I have not yert managed to urge the hd to map the bad sector off... Now...all tests abort after scanning 10% of the disk. Disk health status is reported as PASSED...cause only one bad sector has been found. But 90% of the space of the disk has never been scanned. Is this an implementation fault? And if YES...is it the implementation of the firmware? And: Is it my firmware or the one of the drive? ;) Best regards, mcc
Re: [gentoo-user] Contradictionary behaviour of SMART on hds ?!?
Dale rdalek1...@gmail.com [14-07-27 13:12]: meino.cra...@gmx.de wrote: Neil Bothwick n...@digimed.co.uk [14-07-27 12:32]: On Sun, 27 Jul 2014 12:12:47 +0200, meino.cra...@gmx.de wrote: On the one hand, the surface test (extended offline and such) aborts as soon the first read fgailure happens. On the other hand it is said: If the count of bad sectors increases over time it is time to change the hd. How can the second happen, if the first is true??? My understanding is that the test only aborts if the error is severe enough to force it to do so. A simple bad block can be skipped and the rest of the drive tested. I've had a couple of drives get to the stage where SMART tests abort at an error and in both cases the manufacturer replaced them without question. -- Neil Bothwick If at first you do succeed, try to hide your astonishment. Hi Dale, hi Neil, thanks for the infos. But it is slightly off the point I tried to explain (I am no native english speaker...sorry...:) Suppose - as in my case - I have not yert managed to urge the hd to map the bad sector off... Now...all tests abort after scanning 10% of the disk. Disk health status is reported as PASSED...cause only one bad sector has been found. But 90% of the space of the disk has never been scanned. Is this an implementation fault? And if YES...is it the implementation of the firmware? And: Is it my firmware or the one of the drive? ;) Best regards, mcc Interesting. I was able to get mine to do a full test and give me a clean result. If yours doesn't, well, I'd be diggin me out a box and sending that puppy back to mommy. It seems to need some help. To me, errors is one thing, errors that can't be corrected is a whole new problem. It should fix it and pass the test. Even with my drive passing the test, I don't trust it yet. If it was still showing the error even after I did what I had done, I certainly wouldn't trust it. If yours can't finish the long self test, it may need repairs that are above our pay grade. Maybe Neil or someone will have more ideas. I hope. Dale :-) :-) Back to the initial problem: How can I offline test the rest of the disk if the first bad sector (10%) of the surface breaks the test with an error? Best regards, mcc
Re: [gentoo-user] Contradictionary behaviour of SMART on hds ?!?
Dale rdalek1...@gmail.com [14-07-27 14:36]: meino.cra...@gmx.de wrote: Back to the initial problem: How can I offline test the rest of the disk if the first bad sector (10%) of the surface breaks the test with an error? Best regards, mcc I never got mine to go past the first failure until I used dd to erase the drive. As mentioned before, I may could have done that without moving my data but that was to complicated and risky for me at the time. From my understanding tho, until that data is moved off the bad spot so that the drive knows it can do what it needs to, that spot is still going to show up. I don't know of a way to make it test beyond the bad spot either. If you have a drive that you can move that data over to so that you can play with the bad drive, that's what I would do. Once you get it moved, then dd the whole drive, run the test and then see what results you get. I looked at a howto that someone posted or I found and doing it with the data on there just made me nervous. I'm running out of info here. Anyone else provide more help than me? Dale :-) :-) Hi Dale, thanks for the info... I already did this. PLEASE read my previous posting completly. dd failed with an I/O error at that spot.
Re: [gentoo-user] Contradictionary behaviour of SMART on hds ?!?
Mick michaelkintz...@gmail.com [14-07-27 16:36]: On Sunday 27 Jul 2014 15:05:53 Dale wrote: meino.cra...@gmx.de wrote: Dale rdalek1...@gmail.com [14-07-27 14:36]: meino.cra...@gmx.de wrote: Back to the initial problem: How can I offline test the rest of the disk if the first bad sector (10%) of the surface breaks the test with an error? Best regards, mcc I never got mine to go past the first failure until I used dd to erase the drive. As mentioned before, I may could have done that without moving my data but that was to complicated and risky for me at the time. From my understanding tho, until that data is moved off the bad spot so that the drive knows it can do what it needs to, that spot is still going to show up. I don't know of a way to make it test beyond the bad spot either. If you have a drive that you can move that data over to so that you can play with the bad drive, that's what I would do. Once you get it moved, then dd the whole drive, run the test and then see what results you get. I looked at a howto that someone posted or I found and doing it with the data on there just made me nervous. I'm running out of info here. Anyone else provide more help than me? Dale :-) :-) Hi Dale, thanks for the info... I already did this. PLEASE read my previous posting completly. dd failed with an I/O error at that spot. H. I'd be getting my data off there or some sort of backup and then try erasing the whole drive. If that fails as well, then it seems like you need a box and some shipping to get a replacement if it is under warranty. If the dd fails, that sounds like maybe it has a error it can't correct for some reason. I think dd does its thing on a basic level and I have never had it give me a error except for running out of space when it is done. I'm sure if the command you used was wrong, Neil would have picked up on it and said something. So, I don't think you are doing anything wrong, I just think your drive may have even more serious issues than mine had. Unless someone else comes on with a idea on something else to try, I'd be looking for somewhere to put my data and a different drive. If after that you can get it working, well, you got a spare. If not, it was broke anyway. I hope someone else has more ideas. Does it still error out if you run the commands in this sequence? mkswap -L swap -f -c /dev/sda2 dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc Also, did you try the 'hdparm --write-sector' option that Volker mentioned? -- Regards, Mick Hi Mick, thanks for your reply on the topic. I executed the mkswap/dd combo a several times today. Since I have no logs I repeated again. Here are the results: solfire:/home/usermkswap -L swap -f -c /dev/sda2 1 bad page mkswap: /dev/sda2: warning: wiping old swap signature. Setting up swapspace version 1, size = 6291448 KiB LABEL=swap, UUID=e742c0a6-862c-41e9-be4b-698b33c5a236 solfire:/home/userdd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc dd: error writing ‘/dev/sda2’: Input/output error 1669369+0 records in 1669368+0 records out 854716416 bytes (855 MB) copied, 28.4799 s, 30.0 MB/s [1]24047 exit 1 dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc solfire:/home/user I am a little anxious about the hdparm command... For me it is unclear what sector is meant: smartclt says: Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Selective offline Completed: read failure 90% 14500 4288352511 From a previous posting I learned that LBA in this case is the byte counter. The sector is therefore 4288352511/512=8375688 However as a result of the dd command above I found this in the dmesg log: [48588.471905] end_request: I/O error, dev sda, sector 1773816 Now...what sector count fits what sector count ... ? I will not fire zeroes towards my hd this way before I know exactly to what I am shooting at... ;) Any light in all this shadow is heartly appreciated... Best regards, mcc
Re: [gentoo-user] [OT] Badblocks on my harddisk
Dale rdalek1...@gmail.com [14-07-26 09:54]: meino.cra...@gmx.de wrote: Hi, After running smartctl for an extended offline test I got a badblock (information extracted from the report): SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 90% 14460 4288352511 197 Current_Pending_Sector 0x0032 200 200 000Old_age Always - 1 I found a explanation to map the LBA to a partition here: http://smartmontools.sourceforge.net/badblockhowto.html My partition layout is: # sudo fdisk -lu /dev/sda Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07ec16a2 Device Boot StartEndBlocks Id System /dev/sda1 * 2048 104447 51200 83 Linux /dev/sda2 104448 12687359 6291456 82 Linux swap / Solaris /dev/sda3 12687360 222402559 104857600 83 Linux /dev/sda4222402560 1953525167 865561304 5 Extended /dev/sda5222404608 232890367 5242880 83 Linux /dev/sda6232892416 442607615 104857600 83 Linux /dev/sda7442609664 652324863 104857600 83 Linux /dev/sda8652326912 862042111 104857600 83 Linux /dev/sda9862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux 4288352511 The number reported by smartctl Following the linked document... It seems the bad LBA is not on the checked harddisk. Or (more obvious) I did something wrong... How can I correctly identify the partition, which contains the bad block? How can I get a full list of all bad blocks (if any) from a mounted file systems? How severe is the problem? Thank you very much for any help in advance! Best regards, mcc I ran into this recently on the drive that has my home partition on it. Someone posted that it *may* be fixable without moving data etc etc. I didn't have a backup at the time and nothing large enough to make one so I just ordered a new drive. When I got the new drive in and moved my data over, then I played with the drive a bit. I used dd to erase the drive, then stuck a file system back on it and filled it up. After doing that, the drive seems to have marked that part as bad and doesn't use it anymore. It has passed every test since then. My point is this, backups for sure just in case but you may be able to get the drive to mark that area as bad by moving that data off there. In my case, the files were corrupted and gone. Yea, I might could have sent it somewhere but I ain't into that. To much money for files I can replace if needed. I think it was like 3 or 4 video files. I'd find out what files are there, see what damage has occurred so that you can correct later, then find one really good howto and follow it. From my understanding, if you can move that data in the bad spot off there, the drive sort of fixes itself. If yours works like mine did, you should be OK but I'd use it for stuff that ain't so important. I use mine as a backup drive and test it a lot. ;-) I may trust it again, one day. So, most likely you will have some files corrupted at least. The drive *may* be fixable if you can figure out what files to move so that the drive can do its magic. Key thing is, finding out what to move so that the drive can do its work. Two options, try to move files so the drive can do its thing or move all the data to another drive, do like I did mine with dd and give it a fresh start that way. I didn't feel I had the experience to try and move the files so I took the 2nd option. Now I wish I had done option #1 and took notes that I could pass on. That would likely help you more. BTW, my drive gave that error for weeks and never got worse. I could be lucky on that one so do what needs doing as soon as you can, just in case. The last drive that really failed on me years ago, I got a serious warning from SMART. It even said I had like 24 hours to get my data off. It needs attention in your case but hopefully you will have the results I did in the end and you have time to deal with it. Dale :-) :-) Hi Dale, thank you very much for the explanations you gave...and for the hope in it ;) :) In the meanwhile I found ddrescue... :) It took me five hours to copy the disk (1T) binaryly (this word looks wrong...) to another identical one with ddrescue. This beast is smart...it first copies all what it is able to read
Re: [gentoo-user] [OT] Badblocks on my harddisk
Mick michaelkintz...@gmail.com [14-07-26 11:28]: On Saturday 26 Jul 2014 02:49:15 meino.cra...@gmx.de wrote: Hi, After running smartctl for an extended offline test I got a badblock (information extracted from the report): SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 90% 14460 4288352511 197 Current_Pending_Sector 0x0032 200 200 000Old_age Always - 1 I found a explanation to map the LBA to a partition here: http://smartmontools.sourceforge.net/badblockhowto.html My partition layout is: # sudo fdisk -lu /dev/sda Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07ec16a2 Device Boot StartEndBlocks Id System /dev/sda1 * 2048 104447 51200 83 Linux /dev/sda2 104448 12687359 6291456 82 Linux swap / Solaris /dev/sda3 12687360 222402559 104857600 83 Linux /dev/sda4222402560 1953525167 865561304 5 Extended /dev/sda5222404608 232890367 5242880 83 Linux /dev/sda6232892416 442607615 104857600 83 Linux /dev/sda7442609664 652324863 104857600 83 Linux /dev/sda8652326912 862042111 104857600 83 Linux /dev/sda9862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux 4288352511 The number reported by smartctl Following the linked document... It seems the bad LBA is not on the checked harddisk. Or (more obvious) I did something wrong... You are probably comparing different units. The Start and End of fdisk are reporting sectors, each sector being 512 bytes. Therefore if the LBA is reported by smartctl in bytes, you have: 4,288,352,511 ÷ 512 = 8,375,688.5 which would place it within your swap partition. I would do this: swapoff /dev/sda2 dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc mkswap -L swap -c /dev/sda2 swapon /dev/sda2 and hopefully the problem will be gone when you run the next smartctl test. -- Regards, Mick Hi MIck, thanks a lot for the clearification! It also solves the problem, that fsck does not report any problem for the partitions...because there is none ;) Which are good news. I will clear the swap and report later what happens! Best regards and have a nice weekend! mcc
Re: [gentoo-user] [OT] Badblocks on my harddisk
Mick michaelkintz...@gmail.com [14-07-26 11:28]: On Saturday 26 Jul 2014 02:49:15 meino.cra...@gmx.de wrote: Hi, After running smartctl for an extended offline test I got a badblock (information extracted from the report): SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 90% 14460 4288352511 197 Current_Pending_Sector 0x0032 200 200 000Old_age Always - 1 I found a explanation to map the LBA to a partition here: http://smartmontools.sourceforge.net/badblockhowto.html My partition layout is: # sudo fdisk -lu /dev/sda Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07ec16a2 Device Boot StartEndBlocks Id System /dev/sda1 * 2048 104447 51200 83 Linux /dev/sda2 104448 12687359 6291456 82 Linux swap / Solaris /dev/sda3 12687360 222402559 104857600 83 Linux /dev/sda4222402560 1953525167 865561304 5 Extended /dev/sda5222404608 232890367 5242880 83 Linux /dev/sda6232892416 442607615 104857600 83 Linux /dev/sda7442609664 652324863 104857600 83 Linux /dev/sda8652326912 862042111 104857600 83 Linux /dev/sda9862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux 4288352511 The number reported by smartctl Following the linked document... It seems the bad LBA is not on the checked harddisk. Or (more obvious) I did something wrong... You are probably comparing different units. The Start and End of fdisk are reporting sectors, each sector being 512 bytes. Therefore if the LBA is reported by smartctl in bytes, you have: 4,288,352,511 ÷ 512 = 8,375,688.5 which would place it within your swap partition. I would do this: swapoff /dev/sda2 dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc mkswap -L swap -c /dev/sda2 swapon /dev/sda2 and hopefully the problem will be gone when you run the next smartctl test. -- Regards, Mick Hi Mick, got this: # /rootmkswap -L swap -c /dev/sda2 1 bad page Setting up swapspace version 1, size = 6291448 KiB LABEL=swap, UUID=71686035-fad3-427c-a3a5-c86ac6aefa2f ...so the dd-command hasn't triggered the remapping? What do you suggest how to proceed? New harddrive? Or? Best regards, mcc
Re: [gentoo-user] [OT] Badblocks on my harddisk
Mick michaelkintz...@gmail.com [14-07-26 11:28]: On Saturday 26 Jul 2014 02:49:15 meino.cra...@gmx.de wrote: Hi, After running smartctl for an extended offline test I got a badblock (information extracted from the report): SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 90% 14460 4288352511 197 Current_Pending_Sector 0x0032 200 200 000Old_age Always - 1 I found a explanation to map the LBA to a partition here: http://smartmontools.sourceforge.net/badblockhowto.html My partition layout is: # sudo fdisk -lu /dev/sda Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07ec16a2 Device Boot StartEndBlocks Id System /dev/sda1 * 2048 104447 51200 83 Linux /dev/sda2 104448 12687359 6291456 82 Linux swap / Solaris /dev/sda3 12687360 222402559 104857600 83 Linux /dev/sda4222402560 1953525167 865561304 5 Extended /dev/sda5222404608 232890367 5242880 83 Linux /dev/sda6232892416 442607615 104857600 83 Linux /dev/sda7442609664 652324863 104857600 83 Linux /dev/sda8652326912 862042111 104857600 83 Linux /dev/sda9862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux 4288352511 The number reported by smartctl Following the linked document... It seems the bad LBA is not on the checked harddisk. Or (more obvious) I did something wrong... You are probably comparing different units. The Start and End of fdisk are reporting sectors, each sector being 512 bytes. Therefore if the LBA is reported by smartctl in bytes, you have: 4,288,352,511 ÷ 512 = 8,375,688.5 which would place it within your swap partition. I would do this: swapoff /dev/sda2 dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc mkswap -L swap -c /dev/sda2 swapon /dev/sda2 and hopefully the problem will be gone when you run the next smartctl test. -- Regards, Mick Sorry for stuutering postings...overlocked this one: #dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc dd: error writing ‘/dev/sda2’: Input/output error Hrrrmpfff... Why does it nt remap those ones? Best regards, mcc
Re: [gentoo-user] [OT] Badblocks on my harddisk
Volker Armin Hemmann volkerar...@googlemail.com [14-07-26 14:08]: Am 26.07.2014 12:26, schrieb meino.cra...@gmx.de: Mick michaelkintz...@gmail.com [14-07-26 11:28]: On Saturday 26 Jul 2014 02:49:15 meino.cra...@gmx.de wrote: Hi, After running smartctl for an extended offline test I got a badblock (information extracted from the report): SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 90% 14460 4288352511 197 Current_Pending_Sector 0x0032 200 200 000Old_age Always - 1 I found a explanation to map the LBA to a partition here: http://smartmontools.sourceforge.net/badblockhowto.html My partition layout is: # sudo fdisk -lu /dev/sda Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07ec16a2 Device Boot StartEndBlocks Id System /dev/sda1 * 2048 104447 51200 83 Linux /dev/sda2 104448 12687359 6291456 82 Linux swap / Solaris /dev/sda3 12687360 222402559 104857600 83 Linux /dev/sda4222402560 1953525167 865561304 5 Extended /dev/sda5222404608 232890367 5242880 83 Linux /dev/sda6232892416 442607615 104857600 83 Linux /dev/sda7442609664 652324863 104857600 83 Linux /dev/sda8652326912 862042111 104857600 83 Linux /dev/sda9862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux 4288352511 The number reported by smartctl Following the linked document... It seems the bad LBA is not on the checked harddisk. Or (more obvious) I did something wrong... You are probably comparing different units. The Start and End of fdisk are reporting sectors, each sector being 512 bytes. Therefore if the LBA is reported by smartctl in bytes, you have: 4,288,352,511 ÷ 512 = 8,375,688.5 which would place it within your swap partition. I would do this: swapoff /dev/sda2 dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc mkswap -L swap -c /dev/sda2 swapon /dev/sda2 and hopefully the problem will be gone when you run the next smartctl test. -- Regards, Mick Sorry for stuutering postings...overlocked this one: #dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc dd: error writing ‘/dev/sda2’: Input/output error Hrrrmpfff... Why does it nt remap those ones? Best regards, mcc smartctl -a /dev/sda without those information: crystal ball. that said: it is swap. You shouldn't have to do anything. Don't touch dd. Hi Volker, what happens if swapped is used and the write access tapped on the bad area? Here is the output of smartctl: smartctl 6.1 2013-03-16 r3800 [x86_64-linux-3.14.13-RT] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Green (AF) Device Model: WDC WD10EARS-00Y5B1 Serial Number:WD-WMAV51276611 LU WWN Device Id: 5 0014ee 001f5fb47 Firmware Version: 80.00A80 User Capacity:1,000,204,886,016 bytes [1.00 TB] Sector Size: 512 bytes logical/physical Device is:In smartctl database [for details use: -P show] ATA Version is: ATA8-ACS (minor revision not indicated) SATA Version is: SATA 2.6, 3.0 Gb/s Local Time is:Sat Jul 26 14:16:19 2014 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x84) Offline data collection activity was suspended by an interrupting command from host. Auto Offline Data Collection: Enabled. Self-test execution status: ( 121) The previous self-test completed having the read element of the test failed. Total time to complete Offline data collection:(19380) seconds. Offline data collection capabilities:(0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported.
Re: [gentoo-user] [OT] Badblocks on my harddisk
Volker Armin Hemmann volkerar...@googlemail.com [14-07-26 14:08]: Am 26.07.2014 12:26, schrieb meino.cra...@gmx.de: Mick michaelkintz...@gmail.com [14-07-26 11:28]: On Saturday 26 Jul 2014 02:49:15 meino.cra...@gmx.de wrote: Hi, After running smartctl for an extended offline test I got a badblock (information extracted from the report): SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 90% 14460 4288352511 197 Current_Pending_Sector 0x0032 200 200 000Old_age Always - 1 I found a explanation to map the LBA to a partition here: http://smartmontools.sourceforge.net/badblockhowto.html My partition layout is: # sudo fdisk -lu /dev/sda Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07ec16a2 Device Boot StartEndBlocks Id System /dev/sda1 * 2048 104447 51200 83 Linux /dev/sda2 104448 12687359 6291456 82 Linux swap / Solaris /dev/sda3 12687360 222402559 104857600 83 Linux /dev/sda4222402560 1953525167 865561304 5 Extended /dev/sda5222404608 232890367 5242880 83 Linux /dev/sda6232892416 442607615 104857600 83 Linux /dev/sda7442609664 652324863 104857600 83 Linux /dev/sda8652326912 862042111 104857600 83 Linux /dev/sda9862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux 4288352511 The number reported by smartctl Following the linked document... It seems the bad LBA is not on the checked harddisk. Or (more obvious) I did something wrong... You are probably comparing different units. The Start and End of fdisk are reporting sectors, each sector being 512 bytes. Therefore if the LBA is reported by smartctl in bytes, you have: 4,288,352,511 ÷ 512 = 8,375,688.5 which would place it within your swap partition. I would do this: swapoff /dev/sda2 dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc mkswap -L swap -c /dev/sda2 swapon /dev/sda2 and hopefully the problem will be gone when you run the next smartctl test. -- Regards, Mick Sorry for stuutering postings...overlocked this one: #dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc dd: error writing ‘/dev/sda2’: Input/output error Hrrrmpfff... Why does it nt remap those ones? Best regards, mcc smartctl -a /dev/sda without those information: crystal ball. that said: it is swap. You shouldn't have to do anything. Don't touch dd. I ask since only the FIRST bad sector is reported...: ...Since I have a read error in te very beginning of my hardisk... Does this mean, that all coming smartcontrol tests will fail early and the rest of the disc is NOT tested then? best regards, mcc
Re: [gentoo-user] [OT] Badblocks on my harddisk
Volker Armin Hemmann volkerar...@googlemail.com [14-07-26 18:00]: Am 26.07.2014 14:16, schrieb meino.cra...@gmx.de: Volker Armin Hemmann volkerar...@googlemail.com [14-07-26 14:08]: Am 26.07.2014 12:26, schrieb meino.cra...@gmx.de: Mick michaelkintz...@gmail.com [14-07-26 11:28]: On Saturday 26 Jul 2014 02:49:15 meino.cra...@gmx.de wrote: Hi, After running smartctl for an extended offline test I got a badblock (information extracted from the report): SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 90% 14460 4288352511 197 Current_Pending_Sector 0x0032 200 200 000Old_age Always - 1 I found a explanation to map the LBA to a partition here: http://smartmontools.sourceforge.net/badblockhowto.html My partition layout is: # sudo fdisk -lu /dev/sda Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07ec16a2 Device Boot StartEndBlocks Id System /dev/sda1 * 2048 104447 51200 83 Linux /dev/sda2 104448 12687359 6291456 82 Linux swap / Solaris /dev/sda3 12687360 222402559 104857600 83 Linux /dev/sda4222402560 1953525167 865561304 5 Extended /dev/sda5222404608 232890367 5242880 83 Linux /dev/sda6232892416 442607615 104857600 83 Linux /dev/sda7442609664 652324863 104857600 83 Linux /dev/sda8652326912 862042111 104857600 83 Linux /dev/sda9862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux 4288352511 The number reported by smartctl Following the linked document... It seems the bad LBA is not on the checked harddisk. Or (more obvious) I did something wrong... You are probably comparing different units. The Start and End of fdisk are reporting sectors, each sector being 512 bytes. Therefore if the LBA is reported by smartctl in bytes, you have: 4,288,352,511 ÷ 512 = 8,375,688.5 which would place it within your swap partition. I would do this: swapoff /dev/sda2 dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc mkswap -L swap -c /dev/sda2 swapon /dev/sda2 and hopefully the problem will be gone when you run the next smartctl test. -- Regards, Mick Sorry for stuutering postings...overlocked this one: #dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc dd: error writing ‘/dev/sda2’: Input/output error Hrrrmpfff... Why does it nt remap those ones? Best regards, mcc smartctl -a /dev/sda without those information: crystal ball. that said: it is swap. You shouldn't have to do anything. Don't touch dd. so you got one defective sector, the drive knows about it, it has 200 spares and will use one when the need arises. Unfortunaltely: No it doesnt. I did a dd (as reported previously) of zeroes accross the affected partition and dd fails to write ot the sector in question (IO error). The selftest following again reports that sector as bad. So...? Best regards, mcc
[gentoo-user] [OT] Badblocks on my harddisk
Hi, After running smartctl for an extended offline test I got a badblock (information extracted from the report): SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 90% 14460 4288352511 197 Current_Pending_Sector 0x0032 200 200 000Old_age Always - 1 I found a explanation to map the LBA to a partition here: http://smartmontools.sourceforge.net/badblockhowto.html My partition layout is: # sudo fdisk -lu /dev/sda Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07ec16a2 Device Boot StartEndBlocks Id System /dev/sda1 * 2048 104447 51200 83 Linux /dev/sda2 104448 12687359 6291456 82 Linux swap / Solaris /dev/sda3 12687360 222402559 104857600 83 Linux /dev/sda4222402560 1953525167 865561304 5 Extended /dev/sda5222404608 232890367 5242880 83 Linux /dev/sda6232892416 442607615 104857600 83 Linux /dev/sda7442609664 652324863 104857600 83 Linux /dev/sda8652326912 862042111 104857600 83 Linux /dev/sda9862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux 4288352511 The number reported by smartctl Following the linked document... It seems the bad LBA is not on the checked harddisk. Or (more obvious) I did something wrong... How can I correctly identify the partition, which contains the bad block? How can I get a full list of all bad blocks (if any) from a mounted file systems? How severe is the problem? Thank you very much for any help in advance! Best regards, mcc
[gentoo-user] Before strewing things up beyong recovery...(virtualbox)
HI, I set up virtual box successfully with one image. So nice so far. Unfortunately I did not recognize early enought, thet the image was placed into my home directory, which is short of splace. Can I move that folder (.Virtualbox) to another bigger place -- and what/how do I need to tell Virtualbox about that -- or am I already lost in space (...I mean...the opposite of it ;) Best regards. mcc
Re: [gentoo-user] Before strewing things up beyong recovery...(virtualbox)
Mick michaelkintz...@gmail.com [14-07-20 16:36]: On Sunday 20 Jul 2014 15:22:30 meino.cra...@gmx.de wrote: HI, I set up virtual box successfully with one image. So nice so far. Unfortunately I did not recognize early enought, thet the image was placed into my home directory, which is short of splace. Can I move that folder (.Virtualbox) to another bigger place -- and what/how do I need to tell Virtualbox about that -- or am I already lost in space (...I mean...the opposite of it ;) If you have run out of space you may have corrupted the image. The settings and path for the image file are kept in ~/.VirtualBox/VirtualBox.xml You can edit these there, move the image to whichever partition you want and try to start it up once more. With a bit of luck no damage happened, otherwise you will have to delete it and start again. PS. Don't forget snapshots, which also are saved in the same area of your ~/ HTH. -- Regards, Mick Hi Mick, thanks a lot for your help! The space of my $HOME ran was to small for makeing another image. The image itsself is absolutely ok. Sorry for not being understandable regarding this...english is not my mother tongue... :) Best regards, mcc
Re: [gentoo-user] Re: dev-java/java-sdk-docs-1.7.0.6[05]
James wirel...@tampabay.rr.com [14-07-19 18:32]: meino.cramer at gmx.de writes: Hi, dev-java/java-sdk-docs-1.7.0.60 cannot be emerged. !!! dev-java/java-sdk-docs-1.7.0.60 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * Fetch failed for 'dev-java/java-sdk-docs-1.7.0.60', Log file: * '/var/tmp/portage/dev-java/java-sdk-docs-1.7.0.60/temp/build.log' * Package:dev-java/java-sdk-docs-1.7.0.60 It's a license issue. I use to have the exact java specific syntax for the make.conf file entry to get around this blocking. Try adding this to your make.conf and see what that does. It's only a fetch restricted (license issue). ACCEPT_LICENSE=* hth, James Na, it is no license issue. It is a read my mail completly-issue. And if it would be a license issue the setting of ACCEPT_LICENSE=* will not fix it. To cite myself: I downloaded that file manually. It turns out, that Orcale offers version dev-java/java-sdk-docs-1.7.0.65 in the meanwhile. An according bug was filed. When will the ebuild it be updated? So, I downloaeded that file and the version mismatch. The version ebuild wants is not offered by oracle. The bug is already filed. Stroller already posts a hint for a workaround. But the real solution is a fix by the devels in the ebuild itsself. Best regards, mcc
[gentoo-user] dev-java/java-sdk-docs-1.7.0.6[05]
Hi, dev-java/java-sdk-docs-1.7.0.60 cannot be emerged. !!! dev-java/java-sdk-docs-1.7.0.60 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * Fetch failed for 'dev-java/java-sdk-docs-1.7.0.60', Log file: * '/var/tmp/portage/dev-java/java-sdk-docs-1.7.0.60/temp/build.log' * Package:dev-java/java-sdk-docs-1.7.0.60 * Repository: gentoo * Maintainer: j...@gentoo.org * USE:abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox splitdebug userpriv usersandbox * Please download jdk-7u60-apidocs.zip from * http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html * (agree to the license) and place it in /usr/portage/distfiles * If you find the file on the download page replaced with a higher * version, please report to the bug 67266 (link below). * If emerge fails because of a checksum error it is possible that * the upstream release changed without renaming. Try downloading the file * again (or a newer revision if available). Otherwise report this to * http://bugs.gentoo.org/67266 and we will make a new revision. I downloaded that file manually. It turns out, that Orcale offers version dev-java/java-sdk-docs-1.7.0.65 in the meanwhile. An according bug was filed. When will the ebuild it be updated? Best regards, mcc
Re: [gentoo-user] dev-java/java-sdk-docs-1.7.0.6[05]
Stroller strol...@stellar.eclipse.co.uk [14-07-19 07:16]: On Sat, 19 July 2014, at 2:26 am, meino.cra...@gmx.de wrote: ... dev-java/java-sdk-docs-1.7.0.60 cannot be emerged. !!! dev-java/java-sdk-docs-1.7.0.60 has fetch restriction turned on. ... I downloaded that file manually. It turns out, that Orcale offers version dev-java/java-sdk-docs-1.7.0.65 in the meanwhile. An according bug was filed. When will the ebuild it be updated? Doesn't matter, bump /usr/portage/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.60.ebuild to java-sdk-docs-1.7.0.65 in your local overlay. This probably means something like # mkdir -p /usr/local/portage/dev-java/java-sdk-docs/ # cp /usr/portage/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.60.ebuild /usr/local/portage/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.65.ebuild # ebuild /usr/local/portage/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.65.ebuild manifest # emerge -1 =java-sdk-docs/java-sdk-docs-1.7.0.65 You can't rely on when the devs might update the tree - there's no way to know when they'll do so/ Hopefully the devs will bump mainline quickly, as the fetch restriction will surely break this package for everyone, but there's no point in waiting on them. Stroller. Thanks a lot, Stroller! Have a nice weekend! Best regards, mcc
[gentoo-user] File timestamps got confused...why?
hi, I am running Gentoo Linux, which I update on a ~daily basis. If I do solfire:/home/userls -l smartlog.txt -rw-r--r-- 1 user users 1913320 2014-07-14 17:02 smartlog.txt But if I do: solfire:/home/userfstat smartlog.txt --- smartlog.txt --- device : 2054 inode number : 5243545 mode : 33188 number of links: 1 UID: 1001 GID: 100 device ID : 0 size : 1913320 last accessed : 24.5.114 1:26:22 last modifed : 14.7.114 17:2:5 last changed : 14.7.114 17:2:5 block size : 4096 blocks : 3752 what is that 114 of the year for? Late 2K problem? Thank you very much for any help in advance! Best regards, mcc
[gentoo-user] Mosuewheel goes crazy...
Hi, normally the mouse wheel is used for action like scrolling and zooming... From time to time it happens that -- right after using firefox -- this assignment does not work anymore and using wheel moves the application, which currently has the focus, is moved from desktop to desktop or moves the focus itsself from desktop to desktop. I restarted openbox in such cases, which does not help. I restarted devilspie2 in such cases, which also does not help. The only thing which currently helps: Rebooting. This is not adaquate for UNIX OSses... ;) What can be done instead? What is the reason for this problem? Best regards, mcc
Re: [gentoo-user] Mosuewheel goes crazy...
meino.cra...@gmx.de meino.cra...@gmx.de [14-06-29 11:20]: Hi, normally the mouse wheel is used for action like scrolling and zooming... From time to time it happens that -- right after using firefox -- this assignment does not work anymore and using wheel moves the application, which currently has the focus, is moved from desktop to desktop or moves the focus itsself from desktop to desktop. I restarted openbox in such cases, which does not help. I restarted devilspie2 in such cases, which also does not help. The only thing which currently helps: Rebooting. This is not adaquate for UNIX OSses... ;) What can be done instead? What is the reason for this problem? Best regards, mcc ok...fixedimwheel was running and restarting it helps... Best regards, mcc
[gentoo-user] Udev confusion: Rules for a mp3 player
Hi, For my mp3-player I want to write udev rules to give better names to the according entries under /dev Problem is: Th eplayer has an internal flash, which only holds the firmware (in my case) and a sd-card slot, in which you can insert a flash card with music files. The internal memory has a partition directly on - say - sdb and the sd-card in the slot is regulary formatted and represents itsself as sdc and sdc1. With udevadm I determined the serial number of the device (to make it unique) and the model (Internal storage and SD card slot), which seems to make it easy to buit rules from. The one and only reason for not being THAT happy is: The rules didn't work. Here: http://www.reactivated.net/writing_udev_rules.html I read some instructions. It is said that one should not combine elements of one device and more than one parent. Is device meant as the entry under /dev or is it to be understand as the electric entity on my desktop (the player). I want rules which also work, if another sdcard of a different size is inserted into the player... How can I write rules to map the internal storage, the whole device (aka /dev/sdc) of the sdcard (for example for reformatting reasons) and the partition of the sdcard (aka /dev/sdc1), which work? To this email I have attached the gzipped outputs of the according udevadm calls. Thank you very much for any help in advance! Best regards, mcc PS: This is what I have tried and which does *NOT* work! SUBSYSTEM==block,ATTRS{model}==Internal Storage,ATTRS{serial}==1A8C518301403210B,SYMLINK+=sansaclipzip_root SUBSYSTEM==block,ATTRS{model}==SD Card Slot,ATTR{partition}==1, ATTRS{serial}==1A8C518301403210B, SYMLINK+=sansaclipzip_data_1 SUBSYSTEM==block,ATTRS{model}==SD Card Slot ,ATTRS{serial}==1A8C518301403210B, SYMLINK+=sansaclipzip_data sansadatadevice.txt.gz Description: application/gunzip sansadatapartition.txt.gz Description: application/gunzip sansainternal.txt.gz Description: application/gunzip
Re: [gentoo-user] Udev confusion: Rules for a mp3 player
Jc García jyo.gar...@gmail.com [14-06-28 19:48]: 2014-06-28 8:57 GMT-06:00 meino.cra...@gmx.de: Hi, For my mp3-player I want to write udev rules to give better names to the according entries under /dev Problem is: Th eplayer has an internal flash, which only holds the firmware (in my case) and a sd-card slot, in which you can insert a flash card with music files. The internal memory has a partition directly on - say - sdb and the sd-card in the slot is regulary formatted and represents itsself as sdc and sdc1. With udevadm I determined the serial number of the device (to make it unique) and the model (Internal storage and SD card slot), which seems to make it easy to buit rules from. The one and only reason for not being THAT happy is: The rules didn't work. Here: http://www.reactivated.net/writing_udev_rules.html I read some instructions. It is said that one should not combine elements of one device and more than one parent. Is device meant as the entry under /dev or is it to be understand as the electric entity on my desktop (the player). I want rules which also work, if another sdcard of a different size is inserted into the player... How can I write rules to map the internal storage, the whole device (aka /dev/sdc) of the sdcard (for example for reformatting reasons) and the partition of the sdcard (aka /dev/sdc1), which work? To this email I have attached the gzipped outputs of the according udevadm calls. Thank you very much for any help in advance! Best regards, mcc PS: This is what I have tried and which does *NOT* work! SUBSYSTEM==block,ATTRS{model}==Internal Storage,ATTRS{serial}==1A8C518301403210B,SYMLINK+=sansaclipzip_root SUBSYSTEM==block,ATTRS{model}==SD Card Slot,ATTR{partition}==1, ATTRS{serial}==1A8C518301403210B, SYMLINK+=sansaclipzip_data_1 SUBSYSTEM==block,ATTRS{model}==SD Card Slot ,ATTRS{serial}==1A8C518301403210B, SYMLINK+=sansaclipzip_data I'm not going to help you with your udev rules, but just point out, it seems to me you are going to a more complicated layer than you need to, if you just want personalized naming for your partitions under /dev (for using with scripts or something like that), I would suggest you to use the label feature, of the filesystems you are going to use for those blocks, this will cause udev to generate respective /dev/disk/by-label/* symlinks, altought I guess if you already know this if you are playing with udev rules. ...this would identify the sd-cards instead of the device, so I choose to udev-rules instead of labels... Best regards, mcc
[gentoo-user] Tuneing ext4 for reliability (not necessaryly speed)
Hi, for backup storage (see previous thread) I decided to use ext4. After craling the net the reports I found about brtfs seemed to mixed to me. If there are alternatives I overlooked... I searched the net for answeres to the following question, but only found outdated answeres...: What options are recommended to set while initializing the filesystem and later via tune2fs to increase the reliability of the filesystem? Thank you very much in advance for any help! :) Best regards, mcc
[gentoo-user] backup hardware setup
Hi, I bought two identical external harddrives, USB 3.0, with 1 TByte each (no SSD - the good ole mechanical ones...;). The intended use is for backup of longer files. The drives will contain the same contents. Currently there are still clean metal (no partitioning, no fs). Data integrity and recoverability (Uhhh...that words looks wrong...) in case of an desaster is more important than speed. What is the recommended way of partitioning ? What filesystem to choose? Thank you very much in advance for any help! Best regards, mcc PS: Running vanilla kernel 3.15.1
Re: [gentoo-user] backup hardware setup
thegeezer thegee...@thegeezer.net [14-06-24 17:16]: On 06/24/2014 03:43 PM, meino.cra...@gmx.de wrote: Hi, I bought two identical external harddrives, USB 3.0, with 1 TByte each (no SSD - the good ole mechanical ones...;). The intended use is for backup of longer files. The drives will contain the same contents. Currently there are still clean metal (no partitioning, no fs). Data integrity and recoverability (Uhhh...that words looks wrong...) in case of an desaster is more important than speed. What is the recommended way of partitioning ? What filesystem to choose? Thank you very much in advance for any help! Best regards, mcc PS: Running vanilla kernel 3.15.1 I do this using hard links and rsync to only copy changed data. this creates a dated folder structure that i can then rsync / cp using a livecd to baremetal and basically allows best recoverability, imho. so long as the filesystem supports hard links you are golden. you might want btrfs for this for long term storage to help in case of bitrot, but rsync should refresh the file if it is suddenly unreadable (meaning any other hard lnked versoins are also up the swanny) ymmv depending on what it is you are backing up #!/bin/bash echo 'preparing..' date=`date +%Y-%m-%d_%H.%M.%S` workingfolder=/mnt/usb/backupsyncs/myhost1 fromfolder=root@myhost1:/* --exclude=/var/tmp --exclude=/dev --exclude=/mnt --exclude=/opt --exclude=/proc --exclude=/sys --exclude=/usr/portage --exclude=/usr/src echo Date $date echo From $fromfolder echo To$workingfolder echo move current to be dated mv $workingfolder/current $workingfolder/backup-$date echo now syncing into dated folder rsync -vz --partial --modify-window 5 -W --delete -a $fromfolder $workingfolder/backup-$date echo cleaning up..linkcopying dated folder to current cp -al $workingfolder/backup-$date $workingfolder/current Hi, thank you for your reply! :) ...I am sure, whether I want btrfs. On the net I found for example this: http://www.phoronix.com/scan.php?page=news_itempx=MTY1MDU with sentences like: The Btrfs file-system changes for the Linux 3.15 kernel mostly deal with bug fixes and performance fixes while some corruption fixes are also expected to come. ...sounds a little different to stable I think... What do you think?
Re: [gentoo-user] backup hardware setup
Alan McKinnon alan.mckin...@gmail.com [14-06-24 19:12]: On 24/06/2014 16:43, meino.cra...@gmx.de wrote: Hi, I bought two identical external harddrives, USB 3.0, with 1 TByte each (no SSD - the good ole mechanical ones...;). The intended use is for backup of longer files. The drives will contain the same contents. Currently there are still clean metal (no partitioning, no fs). Data integrity and recoverability (Uhhh...that words looks wrong...) in case of an desaster is more important than speed. What is the recommended way of partitioning ? What filesystem to choose? Thank you very much in advance for any help! Best regards, mcc PS: Running vanilla kernel 3.15.1 You haven't given much in the way of detail, so I assume you have regular needs, nothing fancy, and it's all a bunch of files right? In that case, partitioning and filesystem type are largely irrelevant as long as you don't have corruption. With one caveat: You must always make sure the source drive is intact and ok. If not, and you back it up anyway, then you are already toast (you will overwrite your last backup with new faulty data). There's several approaches to how to do the transfer: If you have say a general fileserver with lots of files that don't change much or often, just rsync everything in one go. There is no optimization you can do that will perform much faster than rsync. If you have a big busy filesystem that changes often and lots, then use lvm (or anything that can make snapshots) and rsync that. If you have a huge database where everything is changing all the time, don't do filesystem copies, use the tools provided by the db vendor. I doubt this is your need as you would have said so, but it's worth mentioning. -- Alan McKinnon alan.mckin...@gmail.com Hi Alan, thanks for your reply! :) Yes...your are right. I have a lot static (=not changing) data on my harddisk...mostly things like video tutorials (blender), videos of birds I filmed, dokuments and such... They are eating up the space on my systems harddisk. Do I decided to put them on a extern hd and an identical copy on another identical external harddisk. Its mainly a task of updateing the data on the external drives with that what is new (and static and big and falls under what I described above) on my systems harddisk. I will check rsync for that!
Re: [gentoo-user] backup hardware setup
Alan McKinnon alan.mckin...@gmail.com [14-06-24 20:00]: On 24/06/2014 19:32, meino.cra...@gmx.de wrote: Alan McKinnon alan.mckin...@gmail.com [14-06-24 19:12]: On 24/06/2014 16:43, meino.cra...@gmx.de wrote: Hi, I bought two identical external harddrives, USB 3.0, with 1 TByte each (no SSD - the good ole mechanical ones...;). The intended use is for backup of longer files. The drives will contain the same contents. Currently there are still clean metal (no partitioning, no fs). Data integrity and recoverability (Uhhh...that words looks wrong...) in case of an desaster is more important than speed. What is the recommended way of partitioning ? What filesystem to choose? Thank you very much in advance for any help! Best regards, mcc PS: Running vanilla kernel 3.15.1 You haven't given much in the way of detail, so I assume you have regular needs, nothing fancy, and it's all a bunch of files right? In that case, partitioning and filesystem type are largely irrelevant as long as you don't have corruption. With one caveat: You must always make sure the source drive is intact and ok. If not, and you back it up anyway, then you are already toast (you will overwrite your last backup with new faulty data). There's several approaches to how to do the transfer: If you have say a general fileserver with lots of files that don't change much or often, just rsync everything in one go. There is no optimization you can do that will perform much faster than rsync. If you have a big busy filesystem that changes often and lots, then use lvm (or anything that can make snapshots) and rsync that. If you have a huge database where everything is changing all the time, don't do filesystem copies, use the tools provided by the db vendor. I doubt this is your need as you would have said so, but it's worth mentioning. -- Alan McKinnon alan.mckin...@gmail.com Hi Alan, thanks for your reply! :) Yes...your are right. I have a lot static (=not changing) data on my harddisk...mostly things like video tutorials (blender), videos of birds I filmed, dokuments and such... They are eating up the space on my systems harddisk. Do I decided to put them on a extern hd and an identical copy on another identical external harddisk. Its mainly a task of updateing the data on the external drives with that what is new (and static and big and falls under what I described above) on my systems harddisk. I will check rsync for that! That changes things just a little bit - I thought your two drives were going to be one for live and one for backup. Do you intend to move these files off your main drive onto the identical externals, or just copy the files? I would have those two external drives using different filesystems, just in case as they are your only copy and external drives are fragile in use and in storage. Exact fs type doesn't really matter - ext4 and xfs, or ext* and btrfs, it's all good. Just do make sure you don't use rsync with --delete for this :-) -- Alan McKinnon alan.mckin...@gmail.com Yes, I will delete the data from my systems drive... You wrote: I would have those two external drives using different filesystems Different to what? Different to the fs on the system drive? Both external drives use different filesystems? All three use different filesystems? And how can this help, if the drives are fragile? (I understand fragile as mechanical not robust (sorry I am no native english speaker)) I will use this mobile disks not really as the word mobile implies. They will only travel manually between a secure place and my PC. When in use, they will rest on the floor of the room (so they can not be dropped) and _under_ the case of my PC (ole school big tower metal case with a gap between the bottom of the case and the floor of the room.)
[gentoo-user] Checking the reason for (-useflags) in brackets
Hi, for some applications I want to activate some USE flags, which are disabled by default. Some of those USE flags are set in () brackets. From searching the internet I learned, that this may be due to unresolveable dependencies or settings in the make.profile or Is there a way to exactly pin point the reason why a certain USE flags gets (diabled) and whether it is possible to resolve the problem? How can I figure out that? Thank you very much in advance for any help! Best regards, mcc
Re: [gentoo-user] Checking the reason for (-useflags) in brackets
Alan McKinnon alan.mckin...@gmail.com [14-06-21 12:36]: On 21/06/2014 11:19, meino.cra...@gmx.de wrote: Hi, for some applications I want to activate some USE flags, which are disabled by default. Some of those USE flags are set in () brackets. From searching the internet I learned, that this may be due to unresolveable dependencies or settings in the make.profile or Is there a way to exactly pin point the reason why a certain USE flags gets (diabled) and whether it is possible to resolve the problem? How can I figure out that? From the emerge man page: () circumfix forced, masked, or removed So the answer is usually one of - flag not in ebuild anymore. Look in the ebuild - masked in profile. For these I usually search the profile directory recursively for the flag and figure it out that way What is it that you are trying to find out? A disabled flag is disabled and can't work, what further detail do you need? -- Alan McKinnon alan.mckin...@gmail.com Thanks for your help. In the internet I have already found the answer in the meanwhile. Best regards, mcc
Re: [gentoo-user] Any application to control uvc parameters of a webcam ?
Canek Peláez Valdés can...@gmail.com [14-06-17 00:40]: On Mon, Jun 16, 2014 at 12:23 PM, meino.cra...@gmx.de wrote: Hi, is there any other application than guvcview be able to control the uvc parameters of a uvc camera (Logitech C920) while gstreamer is reading its device (/dev/video1) ? What parameters? Usually the v4l2src element in gstreamer is able to change the video parameters (norm, brightness, hue, contrast, etc.) gst-inspect-1.0 v4l2src will tell you about all the possible parameters that v4l2src can handle. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México Hi Canek, ...yesno. Some aspects of the camera like brightness, focus, pan, tilt etc. are hardly set when not done interactively. So I need an application with sliders, knobs etc to tweak and tune such parameters while watching the stream... Is there one like that? Best regards, mcc
[gentoo-user] Any application to control uvc parameters of a webcam ?
Hi, is there any other application than guvcview be able to control the uvc parameters of a uvc camera (Logitech C920) while gstreamer is reading its device (/dev/video1) ? Best regards, Meino
Re: [gentoo-user] Re: [OT} GStreamer: How to view AND record a stream coming from an USB Webcam
James wirel...@tampabay.rr.com [14-06-16 05:36]: meino.cramer at gmx.de writes: After unsuccessfully trying vlc with a Logitech C920 HD Pro Webcam (over 2 seconds delay between audio and video). Have you tried : media-video/ffmpeg ? This wiki is full of good information. Many video packages use ffmpeg as part of their core solution... Pay attention to the myriad of flags you can set and the order of your syntax (manual) strings. http://trac.ffmpeg.org/wiki Here are some ideas: https://wiki.archlinux.org/index.php/FFmpeg You *may* be able to use the copy command of ffmpeg to spit and view the h.264 (x.264) stream in real time. Google for some more syntax snippets. Also there is zoneminder a video surveillance application. I do not know if they ever added x.264 support HTH, James Hi James, thanks for your resply 8) Zoneminder needs to intercept the video stream to analyse it -- that means, that it need to decode the stream, analyse it and to encode it again. Furthermore it needs a webserver... A little to much load for my CPU and a little too much effort... FFmpeg crashes and breaks (similiar reports on the web...) when trying to watch video streams from the c920... Currently the best results I get with gstreamer...but then I cannot control the uvc parameters Sigh...things are crossing the border between interesting to complex... Best regards, mcc
Re: [gentoo-user] [OT} GStreamer: How to view AND record a stream coming from an USB Webcam
Canek Peláez Valdés can...@gmail.com [14-06-16 04:33]: On Sun, Jun 15, 2014 at 1:04 PM, Canek Peláez Valdés can...@gmail.com wrote: On Sun, Jun 15, 2014 at 12:54 PM, meino.cra...@gmx.de wrote: Hi, After unsuccessfully trying vlc with a Logitech C920 HD Pro Webcam (over 2 seconds delay between audio and video). I played around with gstreamer and from bits and pieces from the web I build this line: gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=1920,height=1080,framerate=30/1 ! \ h264parse ! muxout. alsasrc device=hw:3,0 ! queue ! audioconvert ! lamemp3enc ! \ muxout. matroskamux name=muxout streamable=true ! filesink location=c920.mp4 which records a Full HD video with audio to my harddisc. The delay is minimal and the sync between audio and video is good. But there is one disadvantage: I cannot see what I am recording and I cannot watch the webcams stream before I fire up the script because otherwise the device would be already in use (I dont like scripts, which simply kill other applications when called). Any ideas or hints how to manage that? Use the tee element. I'm in a hurry, so I cannot test a pipeline right now, but I will try later. Meanwhile, just try to put a queue element after each path of the tee. gst-inspect-1.0 tee OK, it took me a bit of an effort, but this is my pipeline: gst-launch-1.0 v4l2src norm=NTSC device=/dev/video1 ! queue ! deinterlace mode=1 ! videorate ! video/x-raw,format=YV12,width=720,height=480,framerate=3/1001 ! tee name=t t. ! queue ! videoconvert ! mpeg2enc ! avimux ! filesink location=file.avi t. ! queue ! videoconvert ! autovideosink My hardware is much more limited (analog RGB), so resolution and famerate are accordingly lower. This captures to an AVI file encoded to MPEG2 the video signal, and at the same time it opens a window to show the stream. It should not be that much of a problem to modify it to your needs; just notice that I didn't capture audio. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México Hi Canek, Thanks a lot for your effort!!! 8) Is there any documentation out there about this How to build a pipeline with gst-launch, which you would recommend to read? I will see how I can map your example to my code I have already, which handles audio and video... Best regards, mcc
[gentoo-user] [OT} GStreamer: How to view AND record a stream coming from an USB Webcam
Hi, After unsuccessfully trying vlc with a Logitech C920 HD Pro Webcam (over 2 seconds delay between audio and video). I played around with gstreamer and from bits and pieces from the web I build this line: gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-h264,width=1920,height=1080,framerate=30/1 ! \ h264parse ! muxout. alsasrc device=hw:3,0 ! queue ! audioconvert ! lamemp3enc ! \ muxout. matroskamux name=muxout streamable=true ! filesink location=c920.mp4 which records a Full HD video with audio to my harddisc. The delay is minimal and the sync between audio and video is good. But there is one disadvantage: I cannot see what I am recording and I cannot watch the webcams stream before I fire up the script because otherwise the device would be already in use (I dont like scripts, which simply kill other applications when called). Any ideas or hints how to manage that? Thank you very much in advance for any help! Best regards, mcc
[gentoo-user] eix: error while reading from database: end of file
Hi, while trying to use eix I got constantly this error: error while reading from database: end of file regardless for what I am use eix for... How can I fix that (I run qsearch, because normally this updates a database -- but it seems, that it is not the same one...) Best regards, mcc
Re: [gentoo-user] Logitech C920 HD Pro Webcamera ... view: YES record: NO ?
thegeezer thegee...@thegeezer.net [14-06-10 17:08]: On 06/07/2014 04:18 PM, meino.cra...@gmx.de wrote: Hi, the Logitech c920 HD Pro webcam is able to deliver 1920xq080x30fps (H.264). Now I am trying to display (watch) and record the video stream. Currently I am using guvcview. Most of the time watching is not an problem: no video delays, no frame drops, no ultra low fps...wonderful! But beware of pressing the record botton... KABOOM! guvcview ends with an error message, which does not say anythong to me...: (guvcview:19104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed initiating video file context STREAM: add stream 0 to stream list I tried cheese which interestingly dies similiarily... Since there a zillions of things to tweak with the video and audio setting I still hope that someone got this nice camera running and recording with full hd and audio ? Any ide to fix that? Best regards, mcc have you tried something like media-video/motion which would do much of this for you (although it would qualify any motion as interesting) i just thought that if it is a daemon in the background always with the record set this might work ... Thank you for your help !:)) yes, I tried that software with my previous webcam, which does not offer HD or Full HD as the current one. With my setup (means: may be I did something wrong...;) it eats too much resources...there is only one Linux box for me work and for detecting motions and for recording video. The Logitech offers 1920x1080 Full HD HD264, which needs to be decoded frame by frame, analyzed and when found interesting to be recorded to disc while further analyzing steps are running. If motion failed (with my setup) to work with low res video streams I dont think that it will successfully run under the load of Full HD. Furthermore there is a delay of ~1 second between reality and video possbly due to not that fast compression hardware in the camera...
Re: [gentoo-user] Re: Logitech C920 HD Pro Webcamera ... view: YES record: NO ?
James wirel...@tampabay.rr.com [14-06-07 17:52]: meino.cramer at gmx.de writes: the Logitech c920 HD Pro webcam is able to deliver 1920xq080x30fps (H.264). Some interesting notes and comments at the bottom of this page: http://www.ideasonboard.org/uvc/ Also, in the past, I have found the best comments on various camera hardware in the relevant kernel driver. Sometimes that is a unique driver, other times it is a unified kernel driver for a similar group of video cameras. Sometimes you can go way back to where the kernel driver for a given video camera first appeared (got supported) in the linux kernel for detailed information on the limitations of a given piece of hardware. Often, the poorer performance on Linux, was intentionally due to the actions of the manufacturer, particular on max frame rate, bit minipulations and other key parameter settings of the cameras. Once folks learned the protocols (decoded them) on windows, they would make those adjustments with windows software and reverse engineer the driver software so as to be able to support various linux drivers. Logitech is very reasonable (at least compared to other vendors) but even there newer hardware rarely works with the best of a given feature set, until the product has been out for a while. If not, Logitech should have a published interface specification so and to make reverse engineering not necessary? Dunno know the specifics on the model your listing, as I've been out of that 'game' for a while now, but all those tigers still have the same stripes Good hunting! hth, James Hi, I've git somethiong working for me: With vlc Capture device and a lot of setting I am able to wath and record if wanted the stream of the c920. BUT There is big delay between audio and video (audio delayed) and a smaller delay between reality and strem (which doesn't matter in my case). How can I fix the delay between video and audio? Best regards, mcc
[gentoo-user] Logitech C920 HD Pro Webcamera ... view: YES record: NO ?
Hi, the Logitech c920 HD Pro webcam is able to deliver 1920xq080x30fps (H.264). Now I am trying to display (watch) and record the video stream. Currently I am using guvcview. Most of the time watching is not an problem: no video delays, no frame drops, no ultra low fps...wonderful! But beware of pressing the record botton... KABOOM! guvcview ends with an error message, which does not say anythong to me...: (guvcview:19104): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed initiating video file context STREAM: add stream 0 to stream list I tried cheese which interestingly dies similiarily... Since there a zillions of things to tweak with the video and audio setting I still hope that someone got this nice camera running and recording with full hd and audio ? Any ide to fix that? Best regards, mcc
Re: [gentoo-user] Re: Logitech C920 HD Pro Webcamera ... view: YES record: NO ?
James wirel...@tampabay.rr.com [14-06-07 17:40]: meino.cramer at gmx.de writes: the Logitech c920 HD Pro webcam is able to deliver 1920xq080x30fps (H.264). Now I am trying to display (watch) and record the video stream. Currently I am using guvcview. This 'gstreamer tidbit' might be useful to you: http://www.oz9aec.net/index.php/gstreamer/473-using-the-logitech-c920-webcam-with-gstreamer hth, James hie James, Thanks! :) I found it before...this is the updated, more recent version: http://www.oz9aec.net/index.php/gstreamer/487-using-the-logitech-c920-webcam-with-gstreamer-12 It works so far as I can view the stream...but cannot trigger a record. (Background: I am watching crows with this cam, and if anything interesting happens I want to press REC to capture everything to disk) Bets regards, mcc
Re: [gentoo-user] OT: Mapping random numbers (PRNG)
Canek Peláez Valdés can...@gmail.com [14-06-06 17:36]: On Thu, Jun 5, 2014 at 9:56 PM, meino.cra...@gmx.de wrote: Hi, I am experimenting with the C code of the ISAAC pseudo random number generator (http://burtleburtle.net/bob/rand/isaacafa.html). Currently the implementation creates (on my embedded linux) 32 bit hexadecimal output. So it's a 32 bit integer. From this I want to create random numbers in the range of [a-Za-z0-9] *without violating randomness* and (if possible) without throwing away bits of the output. You mean *characters* int the range [A-Za-z0-9]? How can I do this mathemtically (in concern of the quality of output) correct? The easiest thing to do would be: --- #include time.h #include stdio.h #include stdlib.h #define N (26+26+10) static char S[] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' }; int next_character() { // Use the correct call for ISAAC instead of rand() unsigned int idx = rand() % N; return S[idx]; } int main(int argc, char* argv[]) { // Use the correct call for initializing the ISAAC seed srand((unsigned int)time(NULL)); for (int i = 0; i 20; i++) // --std=c99 printf(%c\n, next_character()); return 0; } --- If the ISAAC RNG has a good distribution, then the next_character() function will give a good distribution among the set [A-Za-z0-9]. Unless I missunderstood what you meant with create random numbers in the range of [a-Za-z0-9]. Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México Hi, Thank you very much for the input! :) I have a question about the algorithm: Suppose rand() has an equal distribution of numbers and furthermore one has a count of 2^32 random numbers listed in numerical sort order. In this list each number would appear (nearly) with the same count: 1 To get an better imagination of that...suppose the rand() would only return numbers in the range of 1...12 and the alphabet has only 8 characters (as 2^32 is not devideable by 62) rand(): 1 2 3 4 5 6 7 8 9 10 11 12 rand()%N : rand()%7 1 2 3 4 5 6 7 0 1 2 3 4 or in other words: An even distribution of numbers of rand() would result in a unevenly distributed sequence of characters...or? This would break the quality of ISAACs output. I am sure I did something wrong here...but where is the logic trap? Thank you very much for any help in advance! Best regards, mcc
[gentoo-user] OT: Mapping random numbers (PRNG)
Hi, I am experimenting with the C code of the ISAAC pseudo random number generator (http://burtleburtle.net/bob/rand/isaacafa.html). Currently the implementation creates (on my embedded linux) 32 bit hexadecimal output. From this I want to create random numbers in the range of [a-Za-z0-9] *without violating randomness* and (if possible) without throwing away bits of the output. How can I do this mathemtically (in concern of the quality of output) correct? Thank you very much in advance for any help! Best regards, mcc
[gentoo-user] udev/systemd-blocker
Hi, while updateing I got this blocker: (sys-fs/udev-212-r1::gentoo, installed) pulled in by =sys-fs/udev-208-r1:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,gudev,introspection?,static-libs?] (=sys-fs/udev-208-r1:0/0[abi_x86_64(-),gudev]) required by (virtual/libgudev-208::gentoo, ebuild scheduled for merge) =sys-fs/udev-208 required by (virtual/udev-208-r2::gentoo, ebuild scheduled for merge) sys-fs/udev required by @selected =sys-fs/udev-208:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,static-libs?] (=sys-fs/udev-208:0/0[abi_x86_64(-)]) required by (virtual/libudev-208::gentoo, ebuild scheduled for merge) (sys-apps/systemd-212-r5::gentoo, ebuild scheduled for merge) pulled in by =sys-apps/systemd-200 required by (sys-power/upower-0.9.23-r3::gentoo, ebuild scheduled for merge) =sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-4::gentoo, ebuild scheduled for merge) Since both udev and systemd seem to me vitalimportant fo rthe health of the system I better want to ask how to proceed in this case...?? Best regards, mcc
Re: [gentoo-user] udev/systemd-blocker
wraeth wra...@wraeth.id.au [14-06-04 04:24]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/04/2014 12:21 PM, wraeth wrote: If you prefer, you could install systemd (note that having it installed doesn't necessarily mean you use systemd as your init system) - see [1]. May help if I include my reference links... :| [1] - https://wiki.gentoo.org/wiki/Systemd - -wraeth -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlOOgxsACgkQXcRKerLZ91n73QD/Wg/SmdpNSRV++lBSqs73FjjN CtqWMPgbSXmyMD50w8sA/0Dpv6nyPqf8r/1Q8z87fzOm26HfK6IMCFbaAe0d2azc =Ffy/ -END PGP SIGNATURE- Hi, thanks to you all! :) I overlocked the 'upower'-thingy in the blockers list...sorry... Have a nice day! Best regards, mcc
Re: [gentoo-user] Copying data efficiently
Mick michaelkintz...@gmail.com [14-05-17 09:48]: On Saturday 17 May 2014 04:33:57 meino.cra...@gmx.de wrote: Hi, is there any tool in the Gentoo portage which may speed up (make it mopre efficient) the following task: On my HD there are data I want to copy to two identical external HDs. These HDs are of the same type/model and each is separately connectable via USB to my PC (...these two of the typical mobile external USB-HDs). Instead of copying the data twice from my PC to eah of the HDs I want to do it once...like I would be able to give the cp-command two instead of one target where to copy two. The result should be two identically populated external HDs, each of them useable/readable without the need to the other one. What tool of the portage tree I able to accomplish this task? Best regards, mcc 1. You could set up the two ext drives as a mirrored RAID and use your copying/tar-ing/dd tool of choice. 2. Or you could use pipe and tee to split the feed into any devices you want, e.g.: pv /dev/sda1 | tee (dd of=/dev/sdb1) (dd of=/dev/sdc1) 3. Or you could use a sequential copy: cp -a /home /dev/sdb1/ cp -a /home /dev/sdc1 NOTES: a) Unlike other commands, pv will give you a progress bar so that you know how long your back up is taking. b) The 3rd example above will copy sequentially, but depending on the size of the file(s) the second copy may be read from cache. c) If you're doing this over the network then you can use nc in listening mode at the receiving end, or ssh if the network is untrusted. I'm interested to see what other ways will be suggested for this task. -- Regards, Mick Hi Mick, thank your reply! :) From your numbering of the possibilities... 1.) ...I am no RAID guru and would try this later with data, which are not valuable... 2.) That looks interesting! Unfortunately it seems to copy device contents on low level instead of files. The source are directory structure -- not whole devices... Or did I overlook an option mentioned in the manpage...? 3.) The files I want to copy are in the size of some GB each. So the cache isnt big enough to hold ALL files for the second part. Best regards, mcc
Re: [gentoo-user] Copying data efficiently
Daniel Troeder dan...@admin-box.com [14-05-17 16:36]: Am 17.05.2014 11:58, schrieb Neil Bothwick: On Sat, 17 May 2014 09:59:08 +0200, meino.cra...@gmx.de wrote: 3. Or you could use a sequential copy: cp -a /home /dev/sdb1/ cp -a /home /dev/sdc1 3.) The files I want to copy are in the size of some GB each. So the cache isnt big enough to hold ALL files for the second part. Run the two copies simultaneously, start the first, switch to another tab, start the second. That way the data for the second copy is always the most recently cached. However, I expect the speed limit here may be the USB bus unless you are using USB 3.0 drives on different buses. I was thinking about how to make sure cache is used, and that two simultanious cp won't work, because the progress for the two cp will quickly diverge. But then I realized: there is no need to think about the read cache - the limiting factor is always the writing side, especially with USB! So IMO it doesn't matter at all how you do it! I guess two simultaneous cp will be the same as two sequential cp, except if you have two separate USB-buses. Usually you have just one externally connectible, use lsusb -t to check. If you have less that 2 times the size of your files, IMO simultaneous cp will be worse, because Linux (don't know if USB-subsystem or cp) creates big buffers when cp'ing (check with free -m), and you'll probably get into memory trouble. Greetings, Daniel PS: Quickest way is always to open USB-case and plug SATA cable from motherboard into drive. With 80GB it's always worth the trouble. -- Get my PGP key at: * http://keyserver.ubuntu.com:11371/pks/lookup?op=getsearch=0x837FB8B5BB9D4887 * $ gpg --recv-keys --keyserver keyserver.ubuntu.com 0xBB9D4887 Hi, thank you /.*/ for /.*/ replies ! :) ...one aspect is missing: The load (that is the I/O on the source hd). If this hd is busy spitting out the data twice, it cannot serve outhe jobs twice as long... H Best regards, mcc PS: On the source system # lsusb -t /: Bus 09.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/4p, 12M /: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M /: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M |__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 2: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/5p, 12M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 3: Dev 3, If 0, Class=Audio, Driver=snd-usb-audio, 12M |__ Port 3: Dev 3, If 1, Class=Audio, Driver=snd-usb-audio, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/6p, 480M
[gentoo-user] Copying data efficiently
Hi, is there any tool in the Gentoo portage which may speed up (make it mopre efficient) the following task: On my HD there are data I want to copy to two identical external HDs. These HDs are of the same type/model and each is separately connectable via USB to my PC (...these two of the typical mobile external USB-HDs). Instead of copying the data twice from my PC to eah of the HDs I want to do it once...like I would be able to give the cp-command two instead of one target where to copy two. The result should be two identically populated external HDs, each of them useable/readable without the need to the other one. What tool of the portage tree I able to accomplish this task? Best regards, mcc
Re: [gentoo-user] Re: [OT]: Is that (filesystem-)logic vald?
walt w41...@gmail.com [14-05-13 03:00]: On 05/11/2014 08:25 PM, meino.cra...@gmx.de wrote: Hi, I have an embedded system with internal flash memory. The internal flash memory contains some static files, which are only be read and others, which get written from time to time. The internal flash has a FAT32-formatted filesystem and no real partiton (the device is directly fomratted as so often with this kind of lash memories. From time to time the software crashes while updateing some files (writing to them) leaving a unclean filesystem behind. Often -- after fscking the filesystem -- files named FSCKnumber.REC are left in the root of the filesystem. Is it correct to assume, that only those files are affected by correcting the filesysten which were written/updated before or is there any chance, that other, only read files are also affected? I don't know the answer so I'll ask a question instead :) How long was the embedded system working correctly before the crashes started? Did it ever work correctly? Yes, it works fine...as long it does not touch files, which may be involved with those filesystem problems... Best regards, mcc
Re: [gentoo-user] Re: [OT]: Is that (filesystem-)logic vald?
James wirel...@tampabay.rr.com [14-05-13 05:12]: meino.cramer at gmx.de writes: I have an embedded system with internal flash memory. The internal flash memory contains some static files, which are only be read and others, which get written from time to time. Embedded systems vary wildly. If you can you need to be as specific as possilble on which embedded system, processor model, vendor, version etc. The internal flash has a FAT32-formatted filesystem and no real partiton (the device is directly fomratted as so often with this kind of lash memories. From time to time the software crashes while updateing some files (writing to them) leaving a unclean filesystem behind. Often -- after fscking the filesystem -- files named FSCKnumber.REC are left in the root of the filesystem. Have you sought out help from the vendor/manufacture? Can the embedded OS be updated and maintained? Can you install another, better supported embedded OS like openWRT https://openwrt.org/ Is it correct to assume, that only those files are affected by correcting the filesysten which were written/updated before or is there any chance, that other, only read files are also affected? You've got to get really specific on the details of the embedded OS and such details. hth, James Hi, The embedded system is a Sansa Clip ZIP mp3 player. The OS is rockbox (www.rockbox.org). I think I cannot expect help from the manufacturer as the manufacturer will not support another OS as his own firmware...which is more limited in compare to rockbox. In the meanwhile it looks like that there are two sources of trouble: The sdcard, which acts as addtional flash memory extension. I changed the sdcard I used to use with a another one, which work much better -- with rockbox. The original firmware does not have a problem with either card. Since such firmware - neither the original one nor rockbox - has the abilities of a fully fledged OS like linux for example I am looking for a simple method to revert a somehow corrupted filesystem on either flash memory back to a valid one. I think it is better to loose some files (which can be regenerated) for the benefit of a sane filesystem than to insist of using a invalid one (and screw it up beyond repair with each new write to it). Rockbox supports the execution of lua scripts (somehow limited...no floating point, limited OS lib etc...). So, when the player needs to be hard resetted which lead to a not-so-valid state of the filesystem it would be nice, if a lua script would be able to revert the filesystem back to a valid state. If (see initial question) this would be possible by simply delete all files which were altered since last execution of the script and rebbot the play than...that would be nice. But: I dont know, whether the logic behind my initial question is valid and reasonable...or simply as corrupted as the filesystem i want to repair... Any further idea is heartly appreciated! Best regards, mcc
[gentoo-user] [OT]: Is that (filesystem-)logic vald?
Hi, I have an embedded system with internal flash memory. The internal flash memory contains some static files, which are only be read and others, which get written from time to time. The internal flash has a FAT32-formatted filesystem and no real partiton (the device is directly fomratted as so often with this kind of lash memories. From time to time the software crashes while updateing some files (writing to them) leaving a unclean filesystem behind. Often -- after fscking the filesystem -- files named FSCKnumber.REC are left in the root of the filesystem. Is it correct to assume, that only those files are affected by correcting the filesysten which were written/updated before or is there any chance, that other, only read files are also affected? Thank you very much for any help in advance! Best regards, mcc
Re: [gentoo-user] Weird Screen-Overlay problems after update
Walter Dnes waltd...@waltdnes.org [14-04-14 17:23]: On Mon, Apr 14, 2014 at 05:20:12AM +0200, meino.cra...@gmx.de wrote was updated and I installed Linux 3.12.17 (vanilla) and recompiled the nvidia-drivers and finally the X11-modules, a really annoying thing happened: When a program uses the screen overlay technique (right word???) to display (mainly) videos (me-tv, flashplayer, Blender while rendering) ANY and everything on any desktop, which has a black background (mutt, urxvt to only name a few) displays the video even the video application runs on a different desktop. Handling the desktops then becomes a masterpieces of focus and counting ;) I am using openbox, nvidia-drivers, linux 3.12.17 vanilla, me-tv, flashplayer, blender (daily build taken from blenders buildbot). What can I do to get rid of this effect? This seems to be a common problem with nvidia video cards using the nvidia binary blobs. I ran into it some time ago. If you don't want to get rid of the nvidia card, try the Nouveau open-source drivers. You won't get all the acceleration that the Nvidia binaries provide, but at least you probably won't get the problems you have now. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications Hi, after a reasonable count of up- and downgrades of a handful of software and drivers I sorted out x11-base/xorg-server-1.15.0 that causes the problems. Everything is now at the newest state. After downgrading to x11-base/xorg-server-1.14.5 and its modules everything works fine again. Only mentioned, everyone else searches here for the same and got the impression it is better to buy a new card / new PC / other OS. Best regards, mcc
[gentoo-user] xdriinfo: libGL is too old
Hi, in search of the reason for the overlay problem reported previously I cam across this: solfire:/home/usersudo xdriinfo libGL is too old. [1]23732 exit 1 sudo xdriinfo solfire:/home/user and solfire:/home/userl /usr/lib64/libGL.so lrwxrwxrwx 1 root root 33 2014-04-19 11:23 /usr/lib64/libGL.so - opengl/nvidia/lib/libGL.so.337.12 Why ist libGL too old if installed today (xdriinfo was recompiled after installation of the nvidia-drivers...). Best regards, mcc
Re: [gentoo-user] Weird Screen-Overlay problems after update
Alan McKinnon alan.mckin...@gmail.com [14-04-15 17:33]: On 15/04/2014 09:14, Mick wrote: On Monday 14 Apr 2014 15:35:00 Alan McKinnon wrote: The nvidia blobs do work well as long as you use them the way they were intended to be used. The way they were intended to be used is the same way Windows uses them, the Linux and Windows drivers share the bulk of the internal code and Linux feature set most definitely is not the driving force here :-) Which means some awesome things the X server can do simply do not work with the blob. The blob also rips out most of the OpenGL and framebuffer code and replaces it with it's own mysterious black magic, this can add more wrinkles. And finally, the Nvidia blob is not at all integrated with the kernel in any meaningful way, so your running kernel usually ends up 2-4 versions behind current. Would I be wrong to deduce from this that I would be better off with Radeon cards instead of moving to NVidia? Out of coincidence I have been using Radeon for ever it seems and I have had no problem that I recall with the free radeon drivers. No need to align suitable kernel versions with new video card drivers, or skip any driver versions, or much else. The only thing that I had to think about was how to sort out suitable firmware, but even this was relatively easy. Many people slate Radeon cards and this had me thinking that I should consciously make an effort to buy NVidia, but I am not as sure at this moment in time that this would not bring more problems than its worth? Would you be better off with a Toyota or a Nissan? Same answer: I don't see much difference. Both work, both have free and blob drivers, both are better at some things and worse at others. I really don't see any clear cut reason to choose one over the other for the general case. Never mind that some people will not touch one or the other with a barge pole no matter how much you pay them, I think they just have human bias. I've used both over the years, with free and blob drivers, and they always did what I need them to do - display a desktop and play movies. There will always be cases where some specific range of GPU and/or drivers just isn't up to snuff but I don't think that applies overall. You should go with the option that maximizes your own personal warm and fuzzy feelings :-) -- Alan McKinnon alan.mckin...@gmail.com To exegrate the whole discussion: Help! I have a problem with Linux! ...I have some heard of Linux...bad things...use windows instead! So: Due to the already mentioned reasons I cannot use other hardware/ other software. I need to get THIS running. Next question: How can I downgrade to the previous version of nvidia-drivers/nvidia-settings/nvidia-cude-toolkit, which works nice for me? Best regards, mcc
Re: [gentoo-user] Weird Screen-Overlay problems after update
Tom Wijsman tom...@gentoo.org [14-04-15 19:36]: On Tue, 15 Apr 2014 17:59:19 +0200 meino.cra...@gmx.de wrote: Alan McKinnon alan.mckin...@gmail.com [14-04-15 17:33]: To exegrate the whole discussion: Help! I have a problem with Linux! ...I have some heard of Linux...bad things...use windows instead! So: Due to the already mentioned reasons I cannot use other hardware/ other software. I need to get THIS running. Next question: How can I downgrade to the previous version of nvidia-drivers/nvidia-settings/nvidia-cude-toolkit, which works nice for me? Put the version you don't want in /etc/portage/package.mask; see `man portage` for details, but for example if you don't want 337.12 or newer, you would do something like this: /etc/portage/package.mask: =x11-drivers/nvidia-drivers-337.12 Then doing `emerge -u x11-drivers/nvidia-drivers` will downgrade it. -- With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : tom...@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D ...problem here is, that the emerge process already killed all ebuilds except the newest one of nvidie-cuda-toolkit and nvidia-settings... And the emerge detects a mismatch between the nvidia-drivers to downgrade and the (still newest) nvidie-cuda-toolkit and nvidia-settings and refuses to do anything... lost? Best regards, mcc
Re: [gentoo-user] Weird Screen-Overlay problems after update
Alan McKinnon alan.mckin...@gmail.com [14-04-14 17:23]: On 14/04/2014 15:50, Walter Dnes wrote: On Mon, Apr 14, 2014 at 05:20:12AM +0200, meino.cra...@gmx.de wrote was updated and I installed Linux 3.12.17 (vanilla) and recompiled the nvidia-drivers and finally the X11-modules, a really annoying thing happened: When a program uses the screen overlay technique (right word???) to display (mainly) videos (me-tv, flashplayer, Blender while rendering) ANY and everything on any desktop, which has a black background (mutt, urxvt to only name a few) displays the video even the video application runs on a different desktop. Handling the desktops then becomes a masterpieces of focus and counting ;) I am using openbox, nvidia-drivers, linux 3.12.17 vanilla, me-tv, flashplayer, blender (daily build taken from blenders buildbot). What can I do to get rid of this effect? This seems to be a common problem with nvidia video cards using the nvidia binary blobs. I ran into it some time ago. If you don't want to get rid of the nvidia card, try the Nouveau open-source drivers. You won't get all the acceleration that the Nvidia binaries provide, but at least you probably won't get the problems you have now. +1 to this The nvidia blobs do work well as long as you use them the way they were intended to be used. The way they were intended to be used is the same way Windows uses them, the Linux and Windows drivers share the bulk of the internal code and Linux feature set most definitely is not the driving force here :-) Which means some awesome things the X server can do simply do not work with the blob. The blob also rips out most of the OpenGL and framebuffer code and replaces it with it's own mysterious black magic, this can add more wrinkles. And finally, the Nvidia blob is not at all integrated with the kernel in any meaningful way, so your running kernel usually ends up 2-4 versions behind current. -- Alan McKinnon alan.mckin...@gmail.com Hi, thanks for the advice. Sine Blender is heavily using CUDA and the nvidia card to render (cycles), I have to use nvidia-drivers, nvidia-settings and the nvidia-cuda-toolkit. So I want to step back one release of the drivers, because that had worked fine for me. Older ebuilds fo nvidia-drivers are provided...but why all older ebuilds except for the newest one of nvidia-settings and nvidia-cuda-toolkit are wiped off my harddisc as soon I have upgraded to a (for me) not wirking nvidia-driver-ebuild? Any chance to go back or ma I urged to live with described features or to quit blender and use the noveau-drivers? Best regards, mcc
Re: [gentoo-user] Compiling errors while updateing
Volker Armin Hemmann volkerar...@googlemail.com [14-04-13 14:36]: Am 13.04.2014 05:42, schrieb meino.cra...@gmx.de: Hi, since some time seven package wont compile anymore: * * The following 7 packages have failed to build or install: * * (media-libs/mesa-10.0.4::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/media-libs/mesa-10.0.4/temp/build.log' * (virtual/glu-9.0-r1::gentoo, ebuild scheduled for merge) * (x11-base/xorg-server-1.15.0::gentoo, ebuild scheduled for merge) * (virtual/opengl-7.0-r1::gentoo, ebuild scheduled for merge) * (media-libs/freeglut-2.8.1-r1::gentoo, ebuild scheduled for merge) * (media-libs/glu-9.0.0-r1::gentoo, ebuild scheduled for merge) * (media-libs/xine-lib-1.2.5::gentoo, ebuild scheduled for merge) * Is there any workaround for that problem? Anything I can do to get the stuff compile again? Thanks a lot fpr any help in advance! Best regards mcc . before you spam the list with megabytes of logs and info: first check bugzilla. I see build failures with xine-lib too. So there might be a bug already. No need to flood people's mailboxes. Yes the bug is in bugzilla. And yes it is unsolved according to my last visit there. This was the reason I asked for a workaround to compile the stuff... not a solution of the problem itsself. And it was the reason I did not provide any logs, because I didnt want to spam the mailinglist. So...is there a recent workaround for this problem? Best regards, mcc
Re: [gentoo-user] Compiling errors while updateing
Tom Wijsman tom...@gentoo.org [14-04-13 15:52]: On Sun, 13 Apr 2014 14:47:05 +0200 meino.cra...@gmx.de wrote: So...is there a recent workaround for this problem? Which problem is this? Can you link us to the specific bug? -- With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : tom...@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D This one is the one I think to be guilty: https://bugs.freedesktop.org/show_bug.cgi?id=73999 Best regards, mcc
Re: [gentoo-user] Compiling errors while updateing
Tom Wijsman tom...@gentoo.org [14-04-13 15:52]: On Sun, 13 Apr 2014 14:47:05 +0200 meino.cra...@gmx.de wrote: So...is there a recent workaround for this problem? Which problem is this? Can you link us to the specific bug? -- With kind regards, Tom Wijsman (TomWij) Gentoo Developer E-mail address : tom...@gentoo.org GPG Public Key : 6D34E57D GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D Ok, I fixed that. It was a leftover in the environment. SRCDIR was defined and this screws up the whole build process. I am happy again. Best regards, mcc
[gentoo-user] Weird Screen-Overlay problems after update
Hi, after the mesa-compile failure could be fixed and this: * * The following 7 packages have failed to build or install: * * (media-libs/mesa-10.0.4::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/media-libs/mesa-10.0.4/temp/build.log' * (virtual/glu-9.0-r1::gentoo, ebuild scheduled for merge) * (x11-base/xorg-server-1.15.0::gentoo, ebuild scheduled for merge) * (virtual/opengl-7.0-r1::gentoo, ebuild scheduled for merge) * (media-libs/freeglut-2.8.1-r1::gentoo, ebuild scheduled for merge) * (media-libs/glu-9.0.0-r1::gentoo, ebuild scheduled for merge) * (media-libs/xine-lib-1.2.5::gentoo, ebuild scheduled for merge) (this is pasted from my mail reporting the compilation problem...so all that does recompile fine and was updated) was updated and I installed Linux 3.12.17 (vanilla) and recompiled the nvidia-drivers and finally the X11-modules, a really annoying thing happened: When a program uses the screen overlay technique (right word???) to display (mainly) videos (me-tv, flashplayer, Blender while rendering) ANY and everything on any desktop, which has a black background (mutt, urxvt to only name a few) displays the video even the video application runs on a different desktop. Handling the desktops then becomes a masterpieces of focus and counting ;) I am using openbox, nvidia-drivers, linux 3.12.17 vanilla, me-tv, flashplayer, blender (daily build taken from blenders buildbot). What can I do to get rid of this effect? Best regards, mcc
[gentoo-user] Compiling errors while updateing
Hi, since some time seven package wont compile anymore: * * The following 7 packages have failed to build or install: * * (media-libs/mesa-10.0.4::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/media-libs/mesa-10.0.4/temp/build.log' * (virtual/glu-9.0-r1::gentoo, ebuild scheduled for merge) * (x11-base/xorg-server-1.15.0::gentoo, ebuild scheduled for merge) * (virtual/opengl-7.0-r1::gentoo, ebuild scheduled for merge) * (media-libs/freeglut-2.8.1-r1::gentoo, ebuild scheduled for merge) * (media-libs/glu-9.0.0-r1::gentoo, ebuild scheduled for merge) * (media-libs/xine-lib-1.2.5::gentoo, ebuild scheduled for merge) * Is there any workaround for that problem? Anything I can do to get the stuff compile again? Thanks a lot fpr any help in advance! Best regards mcc
[gentoo-user] slim/X11 : waiting for X server to begin accepting connections.
Hi, it seems the powerfail this moring while I was updateing my Linux box has killed / screwed up something. The effect: Slim login manager starts and presents the login screen. It is possible to login but openbox seems not to start - I get the typical cross-cursor in the middle of the screen (but the grey background is replaced by plain black) The last entry in the slim.log is: slim: waiting for X server to begin accepting connections. slim: open_session: Unable to open session: Unable to get information about the calling process I resumed the interrupted update process, I did: emerge xf86-input-evdev xf86-input-keyboard xf86-input-mouse nvidia-drivers I recompiled the X-server. Nothing helps. What can I try else to get X working again? Thank you very much for any (quick;) help in advance! Best regards, mcc