Re: [gentoo-user] Wiki-viewer anyone?

2017-10-06 Thread Randolph Maaßen
You might be interested in got hooks [1], especially the post-checkout hook.

I would try to automatically recompile the md-> HTML on every checkout, so
the HTML is up to date after pulling

[1] https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks

Am Sa., 7. Okt. 2017, 00:58 schrieb Anton Molyboha <
anton.stay.connec...@gmail.com>:

> On Fri, Oct 6, 2017 at 6:49 PM, R0b0t1  wrote:
>
>> On Fri, Oct 6, 2017 at 5:41 PM,   wrote:
>> > On 10/06 05:49, Andrew Tselischev wrote:
>> >> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tu...@posteo.de wrote:
>> >> > Hi,
>> >> >
>> >> > The u8g8lib, which contains libraries to drive a great amount of
>> >> > displays for mainly embedded electronics has a wiki on github, which
>> >> > can be oficially git-pulled as a local copy...which I did.
>> >> >
>> >> > Now I have tons of *.md (markdown) -files instead of html and I
>> >> > dont know of any handy viewer for these.
>> >> >
>> >> >  Since I want to update the repo from time to time
>> >> > I dont want to convert them.
>> >> >
>> >> > Is there any recommended quick and clean way to view these files on
>> the fly as
>> >> > they would be html?
>> >> >
>> >> > Thanks a lot for any help in advance!
>> >> > Cheers
>> >> > Meino
>> >> >
>> >>
>> >> Markdown is a markup language that was specifically designed to be
>> readable in the source.
>> >>
>> >> However, if you still find it hard to read, perhaps syntax
>> highlighting in a fancy
>> >> text editor can help approximate the intended effects of the markup.
>> >>
>> >> Also, there are markdown-to-HTML translators. Some are even included
>> in portage tree.
>> >>
>> >
>> >
>> > I dont want to convert the md-files to html, since I want to update
>> > the repo later (see above).
>> > The problem are files referencing other files. Reading the md-files
>> > via vim (for example) would imply to grab all references by hand.
>> > Fortheremore, tne docs are filled with graphics (for example images
>> > of the fonts, which can be used), which cannot be displayed with an
>> > ASCII-editor.
>> > Formatting is necassary with this docs...
>> >
>>
>> Typically what is done is you render the whole Wiki to HTML, and then
>> view it in a browser. You don't edit the HTML directly. It should be
>> possible to generate it incrementally.
>>
>> The one catch is that they might be relying on GitHub's integrated
>> Wiki system. If they are, you might need to install Gollum to process
>> the markdown files to HTML.
>>
>> Cheers,
>>  R0b0t1
>>
>>
> This is a definite overkill, but I'm using JetBrains' IntelliJ Idea
> (actually PyCharm) with the markdown plugin. It shows markdown and html
> side-to-side in the editor.
>
> Anton
>
>


Re: [gentoo-user] clang <<==>> gcc ?

2017-04-30 Thread Randolph Maaßen
Rasmus.thomsen  schrieb am So., 30. Apr.
2017, 12:19:

> Hello,
>
> it's entirely possible to replace gcc for clang for *most* packages,
> however some will not build currently and will require you to set up a
> package.env file with entries for those packages (like described on clang's
> wiki entry). Clang usually compiles faster than GCC does, but produces
> slower binaries (at least for me). Also, clang offers flto=thin, which
> doesn't require as much ram as gcc's lto
>
> Regards,
> Rasmus
>
>
> Sent from ProtonMail mobile
>
>
>
>  Original Message 
> On 30 Apr 2017, 12:11, < tu...@posteo.de> wrote:
>
>
> Hi,
>
> before I do a lot of reconfiguring, recompiling and finally
> do the same thing again in the opposite direction:
>
> What are the experiences to replace gcc with clang for either
> only userland tools or the whole system (with haveing gcc as
> fallback)?
> Is it worth the effort?
> What are the benefits and the drawbacks?
>
> Thanks for any input in advance!
> Cheers
> Meino
>
> Hi,

There is a tracking bug about what does not compile with clang.

https://bugs.gentoo.org/show_bug.cgi?id=408963

>


Re: [gentoo-user] question/feature request: First fetch, then compile...

2014-12-16 Thread Randolph Maaßen
On Dec 17, 2014 7:28 AM,  wrote:
>
> Dale  [14-12-17 07:20]:
> > meino.cra...@gmx.de wrote:
> > > Hi,
> > >
> > > On my embedded systems (beaglebone black, 2 x Arietta G25) I installed
> > > Gentoo (of course!:).
> > > Since these systems and especially the Ariettas are not as fast as a
> > > PC the greater update, which additionally includes C++ sources to
> > > compile takes time (read: hours) to finish. Often I run this over
> > > night.
> > >
> > > Since my PC do the forwarding of requests to the internet, it has to
> > > run the whole time also.
> > >
> > > To circumvent this I access the embedded systems via abduco/dvtm, so
> > > I can log out while the process keeps running.
> > >
> > > The current (shorted decription) workflow is
> > >
> > > eix-sync
> > > emerge ... -f (fetching all items, so the connection to the internet
is
> > >no longer needed)
> > > emerge ...(starting the compilation, logout and shutdown the PC)
> > >
> > >
> > > This includes "Calculating dependencies" twice of the same set of
> > > data, which also takes a longer time. This is -- technically -- not
> > > needed.
> > >
> > > Is it possible, to do ONE call to emerge, which asks (according
> > > to option -a, if set ) and given a yes first fetches ALL necessary
> > > files and data and compiles then everything?
> > >
> > > This would save one "Calculating dependencies" and also reduces writes
> > > to the flash memory.
> > >
> > > Is it currently possible somehow and if not: I would like to have it
> > > included as new feature into an upcoming release of emerge?!?!
> > >
> > > Thanks a lot in advance! 8)
> > > Best regards,
> > > Meino
> > >
> > >
> > >
> > >
> >
> >
> > You may want to set this in your make.conf file:
> >
> > FEATURES="parallel-fetch"
> >
> > What that does, as soon as you start the emerge process, it starts to
> > download the needed files.  It doesn't wait until it is ready to work on
> > the package to download it.  I've had that set for so long, no idea if
> > anything has changed as far as defaults.  I just know it works that way
> > here.
> >
> > If you set that, you should be able to sync, start emerge and when it
> > downloads the last files/tarballs it needs, you can then remove your
> > internet connection.  You can monitor that with this command.
> >
> > tail -f /var/log/emerge-fetch.log
> >
> > Hope that helps.
> >
> > Dale
> >
> > :-)  :-)
>
> Hi Dale,
>
> thanks for your reply ! :)
>
> I know of that flag, but it does not exaclty what I want.
> It parallelizes compilation and downloading.
>
> How can I exactly determine, that the last file has been
> downloaded without watching the monitor all the (because
> these are embedded systems: "long") time?
>
> Best regards,
> Meino
>
>
>
>
>
>
>
>
You can disable this feature, so compiling will start when everything is
fetched. I'm not sure weather portage has some post-fetch or pre-build
hook, with one of these you could send a shutdown message from the embedded
system to your PC.


Re: [gentoo-user] hibernation

2014-12-04 Thread Randolph Maaßen
2014-12-04 17:58 GMT+01:00 Michael Vetter :
>> Did you try suspending using the echo command I mentioned earlier?
> Yes, it seemed to work (just starting up again didn't).
>
>> You can set the resume partition in the kernel. Might be an option.
> Okay, so I changed my kernel command string from "root=/dev/sdb2" to
> "root=/dev/sdb2,resume=/dev/mapper/g-SWAP".

In my menuconfig I have a space separated list, not comma separated.
So I guess the boot failure is, that the kernel can't find the root
partition /dev/sdb2,resume...

>
> Then typed your suspension command again, now the system isn't booting
> up anymore: kernel prints trace.
>
> --
> Michael
>



-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] hibernation

2014-12-03 Thread Randolph Maaßen
On Dec 3, 2014 11:33 AM, "Michael Vetter" 
wrote:
>
> Hello there,
>
> I use i3 as my window manager and use xfce4-power-manager for saving
> battery and stuff on my laptop. Today I tried "hibernation" for the
> first time and realized: it does not work.
>
> All I did so far was installing fce4-power-manager selecting some
> sections in kernel config that seemed necessary and installed polkit.
>
> However when I close my notebook's lid (I configured xfce4-power-manager
> to switch into hibernation in this case) it shuts down, but when i press
> the start button, it just does a normal restart.
> What am I missing?
>
> Michael
>

Maybe you need to pass the resume-partition parameter to the kernel in the
bootloader. Point it to your swap device.

You can boot normal with this parameter set and not hibernated


Re: [gentoo-user] VB - login from one Windows XP to another XP

2014-10-07 Thread Randolph Maaßen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 07.10.2014 um 07:17 schrieb Joseph:
> On 10/06/14 21:22, Jc García wrote:
>> 2014-10-06 19:52 GMT-06:00 Joseph :
>>> I'm running Windows XP in VirtualBox.
>>> I can NX to the running VB - Windows XP as (shadow or new) session.
>>> But that doesn't help me.
>>> Via "Shadow session" I would disturb the current user if I try to start
>>> another program.
>>> Via "New" session I can not see Windows XP session as it is running.
>>>
>>> So I think I have to start VB - Windows XP on my box and try to login to
>>> another (remote) VB - Windows XP Is it possible?.
>>>
>>> The user is running certain program, that uses database.  I'm trying to
>>> login to the remote Windows XP session and start the same program as an
>>> administrator (that uses that same database).
>>>
>>> How to log-in from one windows XP to another over the network?
>>>
>>
>> You search in google and do a ton of clicks, this is so OT. and there
>> are many answers out here, even the unix-style one works.
> 
> Windows XP has a build in Remote Desktop but:
> http://www.wikihow.com/Use-Windows-XP%27s-Built-in-Remote-Desktop-Utility
> 
> But I think it only works on the same subnet.
> 

If you want to use Windows RDP you can try freerdp, which is a Linux
client for the build in Remote Desktop, no need for a second VM


- -- 
Mit freundlichen Grüßen / With Kind Regards
Randolph Maaßen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBAgAGBQJUM6ZmAAoJEG/4L2gXg7VWFwoQAMsa7Nb7TQ4XSwbLjwpRIuz5
U32YtRMFWniKioTFpEc7ftOyN7SHV0/Mp/fQxZO+1A/E5b19vrRct54r8Uo1RzMO
9RD7uTagLHvYk6kRjrRjcSyRVG52+r9gWLQ527WTgYIaXDudgNL8c33VYMaJ/RMP
jqAhh8RtQRp+B0rgV7TsyF8ylbl9etU4rXkJ1QOKvTXCDMaxhP7FD3uIdep7gXn+
vqjhBFs3Aa+afaTmVFBbgjtCXfOdjxbYUDr+U9noc2FZ7nT0PlvXvZVmY/jLxKl/
8Xe3d1O7bM5Sqrb6ayoHzv7GFkz14FJA8B9Rb69Un/a9h78eDujkHAG2WUQOHaQ8
4pJaTOAc9hvbPEf/JHW6ZrO0WTYS+rKRGrq1rYJa1IljX5JLSKJskX7ILrHxaodK
kdw1yrpZWgsu5y/DZB80pTap4rzRz2evzy4XYr2Vy+Mmz43h6xMrB1gkiA986Zht
tUU6TZ/T3virquhr+9Xi5A1+T2z+pCXHp/7Gutjyb9CGODhWWqWzEuPgTHa9d8WL
FKmsUITpJIrYauKv6ihYL0IgcdQXPhPjWMhnKi4W36eq/N0TAfZeIrbzrZ2D3Uof
jGERqH+6Qzl7XcAsChsgyOGZz5XNmecAZMXCOBtQYnIysQPl82QRCLELpv7dye0/
uBCgRnTNCsqbUwYCUU6q
=UyO+
-END PGP SIGNATURE-



Re: [gentoo-user] Running a program on a headless computer ?

2014-09-28 Thread Randolph Maaßen
2014-09-28 18:08 GMT+02:00  :
>
> Randolph Maaßen  [14-09-28 16:24]:
>> On Sep 28, 2014 4:14 PM,  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 &2>&1 &
>> >
>> > 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...

This is possilble with screen. yust start a screen session in your script
screen -dmS "SessionName"
and run the program you want
screen -S "SessionName" -p 0 -X stuff "$program\n"
where -p gives the screen window number

>
> Best regards,
> mcc
>
>
>



-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] Running a program on a headless computer ?

2014-09-28 Thread Randolph Maaßen
On Sep 28, 2014 4:14 PM,  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 &2>&1 &
>
> 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


Re: [gentoo-user] 'Heartbleed' bug

2014-04-10 Thread Randolph Maaßen
The Heartbleed bug is in the Heartbeat function of TSL (a second keep
alive). OpenSSL does not use TLS for transport security, it uses its
own Protokoll for security.

2014-04-10 12:51 GMT+02:00 Nilesh Govindrajan :
> On Thu, Apr 10, 2014 at 4:22 PM, Matthew Finkel
>  wrote:
>> On Thu, Apr 10, 2014 at 05:53:44PM +0800, J?n Zahornadsk? wrote:
>>> On 04/10/2014 05:03 PM, Adam Carter wrote:
>>> >
>>> > What surprises me here is OpenSSH. It's not supposed to use OpenSSL
>>> > but Debian update process suggests to restart it after updating
>>> > OpenSSL to a fixed version. Is it an overkill on their part? It
>>> > might confuse admins.
>>> >
>>> >
>>> > adam@proxy ~ $ ldd /usr/sbin/sshd
>>> > linux-vdso.so.1 (0x7fffb068e000)
>>> > libwrap.so.0 => /lib64/libwrap.so.0 (0x7f68db1e6000)
>>> > libpam.so.0 => /lib64/libpam.so.0 (0x7f68dafd8000)
>>> > libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 
>>> > (0x7f68dabf5000)
>>> > libutil.so.1 => /lib64/libutil.so.1 (0x7f68da9f2000)
>>> > libz.so.1 => /lib64/libz.so.1 (0x7f68da7db000)
>>> > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x7f68da5a4000)
>>> > libpthread.so.0 => /lib64/libpthread.so.0 (0x7f68da387000)
>>> > libc.so.6 => /lib64/libc.so.6 (0x7f68d9fd7000)
>>> > libgcc_s.so.1 =>
>>> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/libgcc_s.so.1 (0x7f68d9dc)
>>> > libdl.so.2 => /lib64/libdl.so.2 (0x7f68d9bbc000)
>>> > /lib64/ld-linux-x86-64.so.2 (0x7f68db3f1000)
>>> > adam@proxy ~ $ qfile /usr/lib64/libcrypto.so.1.0.0
>>> > dev-libs/openssl (/usr/lib64/libcrypto.so.1.0.0)
>>> > adam@proxy ~ $
>>> >
>>> > So OpenSSH clearly IS using OpenSSL, and you need to restart sshd after
>>> > upgrading OpenSSL.
>>>
>>> As far as I know, it doesn't use it for the communication itself, just
>>> some key generations, so it shouldn't be affected by this bug. But I
>>> guess better safe than sorry...
>>>
>>
>> Right. heartbleed does not directly affect openssh, but openssh uses
>> openssl and it's good practice to keep the shared libraries on-disk and
>> the shared libraries in-memory in sync.
>>
>
>
> How is OpenSSH not affected?
>



-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] emerge all packages which depend on P : how to

2014-02-20 Thread Randolph Maaßen
2014-02-20 13:38 GMT+01:00 Helmut Jarausch :
> Hi,
>
> I have a very simple question. How to emerge (update) all packages which
> depend on some
> given package P.
>
> I've tried
>
> emerge -uv1 `equery -q d P`
>
> or  emerge -uv1 `qdepends -q -Q P`
>
> but both commands (equery and qdepends) generate a list with the version
> attached like
>   app-editors/kile-2.1.3
> which emerge doesn't like (unless there is an '= in front of each name)
>
> Is there an easy way to do so without resorting to shell/python scripting?
>
> Many thanks for a hint,
> Helmut
>

Hi, I just had a look on eix and figured out that "eix --deps -# -I P"
lists all packages in short for that are installed and have P in their
dependency variables plus the package itself.

Hope to help



-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] [OT] easy to use proxy server

2014-02-17 Thread Randolph Maaßen
On Feb 17, 2014 11:46 AM, "pat"  wrote:
>
> Hi,
>
> Please, could someone suggest easy to use proxy server which supports SSL?
>
> Thanks
>
>  Pat
>
>
> 
> Freehosting PIPNI - http://www.pipni.cz/
>
>

Have a look at squid (http://wiki.squid-cache.org/Features/HTTPS).

As far as I remember it was just emerge -av squid, start the service and
configure your browser to use the proxy on your server port 3128.


Re: [gentoo-user] USB permission/owner - change not allowed as root

2013-12-30 Thread Randolph Maaßen
2013/12/30 Joseph :
> On 12/30/13 10:38, Alan McKinnon wrote:
>
> [snip]
>
>>> I too ran the chown command on my USB flash and got the same
>>> response as you did:
>>>
>>> localhost001 media # chown cru:users flash-drive1/
>>>   chown: changing ownership of ‘flash-drive1/’: Operation not
>>> permitted
>>>
>>>   drwxr-xr-x 7 root root 16384 Dec 31  1969 flash-drive1
>>>
>>>   Don't know what to tell you. interestingmy says Dec 31 1969.
>>
>>
>>
>>
>> Read the man page for mount, section vfat.
>>
>>
>> You can't change the owner as FAT doesn't have a concept of owner, so
>> it's simulated at mount time. You can't change it at runtime.
>>
>> To change it you have to umount the device and remount it using the
>> appropriate option, all in the man page
>
>
> I don't think it has anything to do with FAT.
> Everything was working just find on my system before upgrade.
>
> With the line in fstab:
>
> /dev/sdb1   /media/stickautonoauto,rw,users
> 0  0
>
> Some USB stick are mounted as root:root and I can not change that even as
> root.
> When I remove this like from fstab.
> The USB stick are mounting correctly as joseph:users owner except they have
> different mounting location which I don't like.
>
> --
> Joseph
>

You can specify the user/group that mounts a device with some mount
options. I think they are uid=/gid= but I'm not
sure and unfortunatly not on my Linux box at the moment.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] how to create a multi-page PDF

2013-12-25 Thread Randolph Maaßen
2013/12/26 Philip Webb :
> I have a set of images of pages of a printed article, which I scanned ;
> there are jpg & pdf versions .  I want to concatenate them into  1  pdf .
> I used to use 'pdftk', but it required Java, which I don't want.
> I can import the jpg's into LO Impress & create a slide-show pdf,
> but is there any simpler method ?
>
Have a look at pdfunite, which is available in app-text/poppler. If
you already have LO installed you may have poppler installed.

from the man page:
Description
pdfunite merges several PDF files in order of their occurence on
command line to one PDF result file.

> --
> ,,
> SUPPORT ___//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT`-O--O---'   purslowatchassdotutorontodotca
>
>

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] Wifi, problem, problem, problem

2013-12-18 Thread Randolph Maaßen
On Dec 18, 2013 9:27 AM, "Florian HEGRON"  wrote:
>
>
>
> On 2013-12-17 11:48, Neil Bothwick wrote:
>>
>> On Tue, 17 Dec 2013 10:44:46 +0100, Florian HEGRON wrote:
>>
>> In fact I have the Inter Pro/Wirelles 2200BG and the kernel support
>> Intel Pro/Wireless 2100.
>>
>> The kernel has a separate option for IPW2200.
>
>
> I don't find the ipw2200 option (nano .config, ^W ipw2200).
Don't edit .config directly, that leads to breakage in dependencies.
ipw2200 in kernel 3.12.0 at device drivers > networking support > wireless
lan > intel pro/wireless 2200bf and 2915abg network connection, direct
beneeth ipw 2100. If you don't see it, search for ipw2200 (using /) and
have a look for missing dependencies.
> I find ipw2200-firmware with emerge.
>
> I don't really understand what do the kernel support, and what do the
firmware. So I am a little disappointed.
The kernel provides the funcionality for tou operating system to run this
hardware and the firmware is the software that runs on the chip. Like in a
car, you as operating system must know what each button does and the car
must know what it has to do when you press a button.
>
> Thanks for help.
>
>
>
hth
Randolph Maaßen


Re: [gentoo-user] emerge --depclean - entire portage tree scrolling by

2013-10-21 Thread Randolph Maaßen
On Oct 21, 2013 6:59 PM, "Joseph"  wrote:
>
> When I run: emerge --depclean entire portage tree scrolling by what is
causing it?
>
> It should be something like this:
> emerge --depclean -p
>
> * Always study the list of packages to be cleaned for any obvious
> * mistakes. Packages that are part of the world set will always
> * be kept.  They can be manually added to this set with
> * `emerge --noreplace `.  Packages that are listed in
> * package.provided (see portage(5)) will be removed by
> * depclean, even if they are part of the world set.
> * * As a safety measure, depclean will not remove any packages
> * unless *all* required dependencies have been resolved.  As a
> * consequence, it is often necessary to run `emerge --update
> * --newuse --deep @world` prior to depclean.
>
> Calculating dependencies... done!

 No packages selected for removal by depclean
 To see reverse dependencies, use --verbose
>
> Packages installed:   778
> Packages in world:173
> Packages in system:   43
> Required packages:778
> Number to remove: 0
>
> --
> Joseph
>

Have you set --verbose (-v) in make.conf as emerge default opts?


Re: [gentoo-user] wlan0 failed to start

2013-10-02 Thread Randolph Maaßen
 Express Root Port (Slot-), MSI 00
> Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [b0] Subsystem: Advanced Micro Devices [AMD] nee ATI
> Device 
> Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
> Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
> 
> Kernel driver in use: pcieport
>
> 00:15.3 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI
> bridge (PCIE port 3) (prog-if 00 [Normal decode])
> Flags: bus master, fast devsel, latency 0
> Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
> I/O behind bridge: e000-efff
> Prefetchable memory behind bridge: d000-d00f
> Capabilities: [50] Power Management version 3
> Capabilities: [58] Express Root Port (Slot-), MSI 00
> Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [b0] Subsystem: Advanced Micro Devices [AMD] nee ATI
> Device 
> Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
> Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
> 
> Kernel driver in use: pcieport
>
> 00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI
> SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
> Subsystem: ASUSTeK Computer Inc. Device 103b
> Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
> Memory at feb49000 (32-bit, non-prefetchable) [size=4K]
> Kernel driver in use: ohci_hcd
>
> 00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI
> SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
> Subsystem: ASUSTeK Computer Inc. Device 103b
> Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
> Memory at feb48000 (32-bit, non-prefetchable) [size=256]
> Capabilities: [c0] Power Management version 2
> Capabilities: [e4] Debug port: BAR=1 offset=00e0
> Kernel driver in use: ehci_hcd
>
> 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor
> Function 0 (rev 43)
> Flags: fast devsel
>
> 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor
> Function 1
> Flags: fast devsel
>
> 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor
> Function 2
> Flags: fast devsel
>
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor
> Function 3
> Flags: fast devsel
> Capabilities: [f0] Secure device 
> Kernel driver in use: k10temp
>
> 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor
> Function 4
> Flags: fast devsel
>
> 00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor
> Function 6
> Flags: fast devsel
>
> 00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor
> Function 5
> Flags: fast devsel
>
> 00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor
> Function 7
> Flags: fast devsel
>
> 04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n
> Wireless LAN Controller (rev 01)
> Subsystem: AzureWave Device 2047
> Flags: bus master, fast devsel, latency 0, IRQ 17
> Memory at fea0 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [40] Power Management version 3
> Capabilities: [58] Vendor Specific Information: Len=78 
> Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [d0] Express Endpoint, MSI 00
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [13c] Virtual Channel
> Capabilities: [160] Device Serial Number 00-00-ca-ff-ff-66-00-08
> Capabilities: [16c] Power Budgeting 
> Kernel driver in use: bcma-pci-bridge
>
> 05:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host
> Controller (prog-if 30 [XHCI])
> Subsystem: ASUSTeK Computer Inc. Device 103b
> Flags: bus master, fast devsel, latency 0, IRQ 18
> Memory at fe90 (64-bit, non-prefetchable) [size=32K]
> Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
> Capabilities: [68] MSI-X: Enable+ Count=8 Masked-
> Capabilities: [78] Power Management version 3
> Capabilities: [80] Express Legacy Endpoint, MSI 00
> Capabilities: [100] Virtual Channel
> Kernel driver in use: xhci_hcd
>
> 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
> Subsystem: ASUSTeK Computer Inc. Device 103b
> Flags: bus master, fast devsel, latency 0, IRQ 44
> I/O ports at e000 [size=256]
> Memory at d0004000 (64-bit, prefetchable) [size=4K]
> Memory at d000 (64-bit, prefetchable) [size=16K]
> Capabilities: [40] Power Management version 3
> Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
> Capabilities: [70] Express Endpoint, MSI 01
> Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
> Capabilities: [d0] Vital Product Data
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [140] Virtual Channel
> Capabilities: [160] Device Serial Number 0d-00-00-00-36-4c-e0-00
> Kernel driver in use: r8169
>
> As I said, I'm out of ideas and appreciate any help.
> Thanks
> ---
> Tomas Hajek
> CZE

Hi,

my first guess would be that the firmware for this device was not
loaded. try running "dmesg | grep -i firmware" and if you find
something like could not find firmware, try installing linux-firmware
and reboot.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] re: emerge --depclean [gentoo-sources]

2013-09-21 Thread Randolph Maaßen
2013/9/21 Alexander Kapshuk :
> On 09/21/2013 01:36 PM, Neil Bothwick wrote:
>> On Sat, 21 Sep 2013 13:27:28 +0300, Alexander Kapshuk wrote:
>>
>>> If I understood the instruction above, 'emerge --noreplace
>>> sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to
>>> /var/lib/portage/world_sets, which it didn't seem to do.
>>>
>>> box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13
>>> !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom.
>>> !!! Please check ebuild(5) for full details.
>> emerge --noreplace =sys-kernel/gentoo-sources-3.8.13
>>
>>
> Thanks. That did it.
> box0=; grep sources /var/lib/portage/world
> sys-kernel/gentoo-sources
> sys-kernel/gentoo-sources:3.8.13
>
> Once I decide I no longer need 'gentoo-sources-3.8.13', would it be
> enough just to remove the corresponding line from
> '/var/lib/portage/world', or is there a better way of doing it?
>
> Thanks.
>
>

emerge --deselect 
and
emerge --depclean --ask
should be more elegant

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] re: emerge --depclean [gentoo-sources]

2013-09-21 Thread Randolph Maaßen
Hi,

2013/9/21 Alexander Kapshuk :
> emerge --depclean wants to remove the gentoo-sources for my old kernel
> [sys-kernel/gentoo-sources-3.8.13] which I want to hang on to for the
> time being.
>
> Is there a way to instruct emerge not to remove them?
>
> emerge(1)
> Packages that are part of the world set will always be kept. They can be
> manually added to this  set  with  emerge --noreplace .
>
> If I understood the instruction above, 'emerge --noreplace
> sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to
> /var/lib/portage/world_sets, which it didn't seem to do.

No, this it the wrong file. the file /var/lib/portage/world is THE
world set, it contains all packages you emerged manually (and with
--noreplace).
The file /var/lib/portage/world_sets can contain the name of other
sets that should be included into the world.

>
> box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13
> !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom.
> !!! Please check ebuild(5) for full details.
>
>
> box0=; ls -l `pwd`/world*
> -rw-r--r-- 1 root portage 920 Sep 20 20:45 /var/lib/portage/world
> -rw-r--r-- 1 root portage   0 Sep 20 20:45 /var/lib/portage/world_sets
>
> Or is it a matter of defining something like this:
> CONFIG_PROTECT_MASK="/usr/src/linux-3.8.13-gentoo"
> in /etc/portage/make.conf?
>
>
> Any pointers would be much appreciated.
>



-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] Complete list of USE flags?

2013-08-04 Thread Randolph Maaßen
On Aug 4, 2013 8:46 PM, "Mick"  wrote:
>
> On Sunday 04 Aug 2013 19:35:12 Canek Peláez Valdés wrote:
> > On Sun, Aug 4, 2013 at 1:31 PM, Pandu Poluan  wrote:
> > > Hello guys,
> > >
> > > I'm a bit ashamed to ask this question, as it belies how long I
haven't
> > > actually installed a 'lightweight' Gentoo system...
> > >
> > > But I digress. On to my question:
> > >
> > > Anyone knows an exhaustive list of USE flags?
> > >
> > > And a related subquestion:
> > >
> > > Is the USE flags list at znurt.org up-to-date?
> > >
> > > The reason I'm asking, is because I'm planning on building *very*
> > > lightweight systems with as small attack surface as possible.
> >
> > Supposedly, in the tree all global USE flags are listed in:
> >
> > /usr/portage/profiles/use.desc
> >
> > The local USE flags are listed in:
> >
> > /usr/portage/profiles/use.local.desc
>
>
> Also, you should be able to list them all, with flags showing if they are
in
> the environment (E), in make.conf (C), in make defaults (D), in make
globals
> (G), by using:
>
>   euse -i
>
> If it is a specific flag you want to check then just add it at the end of
the
> above incantation.  More details in man euse.
>
> --
> Regards,
> Mick

If you prefere an online list visit http://www.gentoo.org/dyn/use-index.xml
There are the global use flags and some local ones with a description.

Mit freundlichen grüßen / Best regads

Randolph Maaßen


Re: [gentoo-user] which VM do you recommend?

2013-07-30 Thread Randolph Maaßen
2013/7/30 Helmut Jarausch :
> On 07/30/2013 10:11:54 AM, Randolph Maaßen wrote:
>>
>> Hi,
>>
>> I'm using qemu-kvm for hoisting a Windows 7, but always typing the
>> long commandline is anoying, so I wrote a little script to start the
>> VM. I recently switched to libvirt and virt-manager, which do the
>> commandline work for me, and creatting new VMs or starting them is
>> quiet easy. This system also supports running the VM in background, if
>> this is important to you. It needs a couple of kernel modules to work,
>> but emerge will promt to you what it needs.
>>
>> I'm not on my gentoo machine at the moment, so I can't provide you
>> details on USE-flags, but I can say I have the QUEM_TAGET varables set
>> to i386, x86_64
>>
>
> Is it possible to convert the VirtualBox VDI file to one used by qemu-kvm?

If youn want to give qemu a try, you can open the VDI directly, or
convert it as described here http://en.wikibooks.org/wiki/QEMU/Images

>
> Thanks,
> Helmut
>
>



-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] which VM do you recommend?

2013-07-30 Thread Randolph Maaßen
2013/7/30 Helmut Jarausch :
> Hi,
>
> I've been running a Windows 7 (professional)guest  with Virtualbox on my
> GenToo system for some years.
> But recently I have a broken network either due to Virtualbox or due to some
> (automatic) Windows updates.
>
> The situation is more than strange.
>
> Sometime using a backed up Virtualbox image the network seems to work but
> only for
> a very short time (some minutes?)
>
> Windows error analyzing tools don't see any network problems but it does not
> work.
>
> Trying ping -n 100   only a few packets come back but with a large delay
> (40-50 times
> larger delay compared to ping on the GenToo host)
>
> I've tried the most recent Virtualbox 4.2.16 as well the oldest one (in the
> tree) which is 4.1.26
>
> So probably it looks best to me to change to a different (free) VM.
> What do you recommend?
>
> Many thanks for a hint,
> Helmut

Hi,

I'm using qemu-kvm for hoisting a Windows 7, but always typing the
long commandline is anoying, so I wrote a little script to start the
VM. I recently switched to libvirt and virt-manager, which do the
commandline work for me, and creatting new VMs or starting them is
quiet easy. This system also supports running the VM in background, if
this is important to you. It needs a couple of kernel modules to work,
but emerge will promt to you what it needs.

I'm not on my gentoo machine at the moment, so I can't provide you
details on USE-flags, but I can say I have the QUEM_TAGET varables set
to i386, x86_64

HTH

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] SSD partitioning and migration

2013-07-19 Thread Randolph Maaßen
2013/7/19 Dale 
>
> Neil Bothwick wrote:
>>
>> On Fri, 19 Jul 2013 03:22:11 -0500, Dale wrote:
>>
>>>>> Do you really want to put /home on a SSD?
>>>>
>>>> Why not?
>>>>
>>>> /home is the most frequently-read directory on most systems, and SSD
>>>> is ideal for that.
>>>>
>>>> If you are concerned about wear-levelling, /home is not the danger
>>>> point
>>>
>>> Interesting.  I'm not sure I would want mine on a SSD even if it would
>>> fit on one.  The only part that might help would be my .kde
>>> and .mozilla directory.
>>
>> SSDs are not like USB flash drives, and it's been years since I managed
>> to wear one of those out (mainly due to a kernel bug). They have
>> lifetimes similar to spinny disks these days.
>>
>>
>
> Now I really feel about better getting one.  That was my concern and reason 
> for the question.  I'm sure /home gets its share of reads and writes and was 
> thinking the writes would cause a problem over time. Maybe they are better 
> now than they was a while back.
>
> Thanks for the update.
>
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or how 
> you interpreted my words!
>
>

I came across the topic of SSD writes when setting up my laptop with
an ssd and the question, is a tmpfs vor /var/tmp/portage or swapfile
on SSD a good idea? At some point I found this at ArchWiki page about
SSDs[1], but I don't know how up to date or correct this is.

"A 32GB SSD with a mediocre 10x write amplification factor, a standard
1 write/erase cycle, and 10GB of data written per day, would get
an 8 years life expectancy. It gets better with bigger SSDs and modern
controllers with less write amplification."

Now I have /var/tmp/portage on tmpfs and a swapfile on the SSD, but I
think the drive will last for the next years so i don't have to worry
much about it.

[1] https://wiki.archlinux.org/index.php/Solid_State_Drives

--
Mit freundlichen Grüßen / Best regards

Randolph Maaßen



Re: [gentoo-user] Disable Screen Blanking

2013-07-08 Thread Randolph Maaßen
2013/7/8 Norman Rieß 

> Hi,
>
> i am trying to disable Screen Blanking but have been unsuccessful so far.
>
> I used various methods:
>
> * installed gnome-power-manager and disabled screen power saving
> * setterm -blank 0
> * echoing "setterm -blank 0" to the dev/ttyXs
> * xset s off
> * Kernel parameter in Grub consoleblank=0
>
> A kernelsetting for this seem to have existed in older kernels, but
> seems to have vanished in recent ones.
>
> All methods have failed.
>
> Does anyone know of a way to just keep the screen on?
>
> Thanks,
> Norman
>
>
I have in my openbox autostart.sh "xset -dpms s off". this disables the
sceensaver (as you tried), but also turns Energy Star (DPMS) features off.
So no power management turns off the screen.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Linux viruses

2013-07-06 Thread Randolph Maaßen
On Jul 6, 2013 11:13 AM, "Peter Humphrey"  wrote:
>
> On Friday 05 Jul 2013 22:46:10 Paul Hartman wrote:
>
> > ... but the person sitting at the keyboard is usually capable of
screwing
> > it up more than any virus. :)
>
> Hah! Tell me about it. :-(
>
> --
> Peter
>
>
What I did recently: format an USB drive. I was happily typing mkfs.vfat
/dev/sda1. ... why was this so fast? And why wasn't the usb device
blinking? FU! This was sda, so goodbye windows7 boot partiton... luky me


Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Randolph Maaßen
2013/7/2 Grant Edwards 

> On 2013-07-02, Neil Bothwick  wrote:
> > On Tue, 2 Jul 2013 15:16:15 + (UTC), Grant Edwards wrote:
> >
> >> The PARTUUID= parition specifier format is handled directly by kernel
> >> code, so I don't see why it should require an initrd (unless the UUID
> >> values for MBR partitions aren't actually something the kernel knows
> >> about and are something made up from whole cloth by the blkid program)
> >
> > MBRs don't have PARTUUIDs do they? Don't confuse them with filesystem
> > UUIDs as used in fstab.
>
> No, blkid does not print a "PARTUUID" value with an MBR. In only prints
> "UUID" values, which as you noted, are _filesystem_ UUIDs.  If you
> want to use a filesystem UUID to locate the root partition, you need
> an initramfs/initrd which contains an 'init' program that finds the
> filesystem with the specified UUID, mounts that filesystem, and then
> does a root_pivot.
>
> --
> Grant Edwards   grant.b.edwardsYow! Hello.  Just walk
>   at   along and try NOT to
> think
>   gmail.comabout your INTESTINES
> being
>    almost FORTY YARDS
> LONG!!
>
>
>
SCREW ME! Still messing around with these IDs.

Sorry for disturbance.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Randolph Maaßen
2013/7/2 Grant Edwards 

> On 2013-07-02, Randolph Maa?en  wrote:
> > 2013/7/2 Grant Edwards 
>
> >> It looks like my options are:
> >>
> [...]
> >>
> >>  5) For the drive with the root parition on it switch from a DOS
> >> parition table to a GPT partition table and use the
> >> root=PARTUUID= kernel option.
> >
> > You don't need to switch to GPT for that. I have a DOS partitioned disk
> and
> > "blkid" prints the LABEL and UUID for each partition.
>
> And you can pass those values to the kernel via  the "root=" parameter?
>
>
Yep.
The G in GPT just means that the type of the partition is stored as
GUID/UUID. The partition ID is a separate value.


> --
> Grant Edwards   grant.b.edwardsYow! NEWARK has been
>   at   REZONED!!  DES MOINES
> has
>   gmail.combeen REZONED!!
>
>
>


-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Re: Can't find init due to inconsistent drive order

2013-07-02 Thread Randolph Maaßen
2013/7/2 Grant Edwards 

> On 2013-07-01, Grant Edwards  wrote:
>
> > I've just recently run into a problem where sometimes when a machine
> > boots, the kernel can't find init.  This appears to be because my grub
> > configuration line says "root=/dev/sda5" and _sometimes_ the drive
> > that contains my root partition is sdb instead of sda. AFAICT, for the
> > past 30 years the linux kernel was 100% consistent in the order that
> > hard drives were labelled -- but recently that has seems to have
> > changed.
>
> I still haven't figured out why my drives suddenly started getting
> discovered in varying orders.  I think that the SATA drives are always
> in the same order with respect to each other, but sometimes the
> external firewire drive gets discovered before the SATA drives and
> sometimes after the SATA drives.
>
> It looks like my options are:
>
>  1) Keep hitting the reset button until it works.
>
>  2) Unplug or power down the firewire drive when booting.
>
>  3) Set up an initrd for the sole purpose of finding the actual root
> parition via filesystem label.  [I find this idea rather offensive.]
>
>  4) Build the firewire drive as a module instead of building it into
> the kernel.  That would delay the discovery of the firewire drive
> until after root has been mounted.
>
>  5) For the drive with the root parition on it switch from a DOS
> parition table to a GPT partition table and use the
> root=PARTUUID= kernel option.
>
>
You don't need to switch to GPT for that. I have a DOS partitioned disk and
"blkid" prints the LABEL and UUID for each partition.


>  6) Fix the kernel so it can find root by looking at filesystem
> labels.
>
> Number 6 (fixing the kernel) is The Right Thing To Do(tm), but it's a
> bit out of scope for the momement.  The "early code" in the kernel
> obviously knows how to read partition tables and also knows about the
> relevent file system, so I'm a bit baffled why it can't look at the
> file system label.
>
> Changing the firewire driver to be a module is probably the simplest
> solution, but it's a kludgy work-around for what is, in my opinion, a
> kernel bug: if you are going to require people to specify an absolute
> disk drive index for the root partition, then you'd better index
> drives in a consistent order from one boot to the next.
>
> Switching to a GPT partition table sounds like the cleanest solution,
> but I need to figure out if the grub (legacy) ebuild includes GPT
> support or not.  I know it's supported by grub2, but I don't really
> feel like switching to grub2 ATM.
>
> --
> Grant Edwards   grant.b.edwardsYow! But was he mature
>   at   enough last night at the
>   gmail.comlesbian masquerade?
>
>
>


-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Gentoo installation, network adapter not supported

2013-06-29 Thread Randolph Maaßen
2013/6/29 Zind 

>
> On Sat, Jun 29, 2013 at 4:57 PM, Davide De Prisco <
> deprisco.dav...@gmail.com> wrote:
>
>> Can you search with dmesg and find if it's nead a firmware.
>
>
>
> Yes.
> At the bottom of the dmesg message, I can see these lines:
> request for firmware file 'iwlwifi-2030-6.ucode' failed.
> request for firmware file 'iwlwifi-2030-5.ucode' failed.
> no suitable firmware found!
>

You can try to fix this with emerging linux-firmware. I'm not sure if this
firmware is in there, or what else to configure to fit it exactly, but in
default the firmwares ware installed.

Ps: Welcome to Gentoo

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] emerge --depclean -p list all packages

2013-06-19 Thread Randolph Maaßen
On Jun 20, 2013 12:31 AM, "Joseph"  wrote:
>
> When I run: emerge --depclean -p
> The system lists all packages on my system (no it doesn't want to remove
them); they are just scrolling by eg:
>
>  xfce-extra/xfce4-screenshooter-1.8.1 pulled in by:
>@selected requires xfce-extra/xfce4-screenshooter
>
>  xfce-extra/xfce4-sensors-plugin-1.2.5 pulled in by:
>@selected requires xfce-extra/xfce4-sensors-plugin
>
>  xfce-extra/xfce4-taskmanager-1.0.0 pulled in by:
>@selected requires xfce-extra/xfce4-taskmanager
>
>  xfce-extra/xfce4-verve-plugin-1.0.0 pulled in by:
>@selected requires xfce-extra/xfce4-verve-plugin
>
>>>> No packages selected for removal by depclean
>
> Packages installed:   1081
> Packages in world:244
> Packages in system:   42
> Required packages:1081
> Number to remove: 0
>
> I think it has something to do with "verbose" set somewhere, I don't
remember.
> --
> Joseph
>

Have you set verbose in EMERGE_DEFAULT_OPTS or similar? I don't use it and
I don't remember it correctly.

Mit freundlichen Grüßen / Best Regards

Randolph Maaßen


Re: [gentoo-user] Annoying structure of /var/db/pkg// database

2013-05-08 Thread Randolph Maaßen
2013/5/8 Michael Hampicke 

> Am 08.05.2013 13:05, schrieb Thomas Mueller:
> > Having package data in /var/db/pkg// carries the
> nuisance factor that finding a package involves a fishing expedition
> through many possible categories.
> >
> > I am spoiled by having /var/db/pkg/ in NetBSD pkgsrc and
> FreeBSD ports, though FreeBSD is wsitching to a different structure nkwon
> as pkgng.
> >
> > Is there any way to configure so as to avoid this annoyance in Gentoo?
>  Like maybe making /var/db/pkg/?
> >
> > One can do
> > ls /var/db/pkg/*/ but this is still an annoyance.
> >
> > I have some limited experience with Gentoo Linux on my older computer.
>  Compiling the kernel took 130 minutes, and then the kernel failed to boot.
>
> What are you trying to accomplish? I mean, why do you need to navigate
> around /var/db/pkg? I'm pretty sure there's a better alternative for
> your needs.
>
>
>
Have a look at eix or equery, just match them for your needs

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Recover on SSD

2013-05-06 Thread Randolph Maaßen
2013/5/6 Alan McKinnon 

> On 06/05/2013 20:36, Hinnerk van Bruinehsen wrote:
> > On Mon, May 06, 2013 at 07:34:20PM +0200, Volker Armin Hemmann wrote:
> >> emm - no. Wear leveling does not need any spare blocks. A lot of drives
> >> do have spare blocks, but those are never the same size of the original
> >> size (at least not on drives you can buy for a sensible amount of
> >> money).  More like 120+8 or 160+16 or 256+16.
> >>
> >> The spare blocks are used like on a hdd: some block goes bad, another
> >> one is mapped in.
> >>
> >> Since the sdd firmware does not know if something was deleted or not* -
> >> it does know shit about filesystems**, you can of course dd an image, if
> >> you want to. Just like on a hdd.
> >>
> >> *there are drives that do garbage collection without TRIM for fat and or
> >> ntfs.. so they seem to know a bit about filesystems.
> >>
> >> ** and this is why TRIM exists in the first place. To tell the drive:
> >> yes, this data is gone. You don't need to care about it anymore.
> >
> >
> > The actual numbers were made up to make the point (maybe I should have
> > stated that in my OP). According to [1] they are normally between 7% -
> > 37%.
> > Linux supports TRIM since Kernel 2.6.28. It's supported for several
> > filesystems (Ext4, Btrfs, FAT, GFS2 and XFS) but must be enabled via the
> > discard mount option. I don't have definitive information for Windows
> > but it seems to be supported by at least Windows 7 (as far as I can tell
> > without any user interaction).
> > Since the "deletion" happened under Windows I made a guess that it is
> > not totally unreasonable that dd may not work (if the deleted data would
> > have been "TRIMed").
> >
> >
> >
> > [1]
> http://www.lsi.com/downloads/Public/Flash%20Storage%20Processors/LSI_PRS_FMS2012_TE21_Smith.pdf
> >
>
>
>
> A delete on an SSD is a very expensive operation, to my mind it seems
> completely unreasonable to think that Windows would try and clear many
> tens of GB just because it trashed a partition table. It would take
> _hours_ to clear those blocks.
>
> By far the easiest route would be to just do what is done for spinning
> disks - write the partition table, leave whatever junk is in the cells
> intact until the partition is formatted and actual data is written to
> the fs.
>
> As your results show, this is indeed what did happen.
>
> --
> Alan McKinnon
> alan.mckin...@gmail.com
>
>
>

Ok, let me sum up what I understood about the working of SSDs, please
correct me if I'm wrong at some point.

- The SSD stores what internal cell is allocated as a sector for the block
device representation on the SATA port.
- When a file is deleted the file system marks the block device sectors as
free and sends the TRIM command to the SSD and the SSD really frees the
underlying cell / breaks the cell - section allocation.
- Some SSDs have idle TRIM as described in http://en.wikipedia.org/wiki/TRIM to
use the advantage at systems that doesn't have the file system option
- A write operation can write to sectors which are not TRIMed jet

- When some program overwrites the partition table the sectors of the
partition aren't touched, so the SSD must be aware of the partition table
to trim these sectors
- A new partition can be formatted without trimming the sectors

- So when creating a new partition on the same sectors used before, the
sector cell allocation in the SSD is still the same, and no data is lost,
except the SSD is aware of the partition table to know which sectors can be
TRIMed



-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Randolph Maaßen
2013/5/5 Randolph Maaßen 

> 2013/5/5 Hinnerk van Bruinehsen 
>
>> On Sun, May 05, 2013 at 02:44:11PM +0000, Randolph Maaßen wrote:
>> > Hi,
>> >
>> > I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel.
>> for
>> > some purpose I needed several Partitions so my base system was lying on
>> > sda10, on an LVM-PV. Today my Windows refused to start and during
>> recovery
>> > its diskpart must have deleted the information about the 10th partition
>> on
>> > the disk, containing my main Gentoo system. Recovery failed, but
>> > sysrescuecd still works :)
>> >
>> > Now I'm concerned about the rescueing of the partition on the SSD, is it
>> > the same way as on HDDs and are the same memory-parts of the SSD used?
>> Or
>> > is the partiton gone forever? And when I recreate a partition, will the
>> PV
>> > with the data still be there and readable?
>>
>> You could try Testdisk[1]. It may help. The data on a SSD is not
>> necessarily stored linar so it's not said that a new partition is using
>> the same memory cells as the old one. Even if it is, you'd lose any
>> information about directories or files (names, dates, accessrights and
>> so on).
>> You should definitly try to minimize writes (ideally there would be
>> none) since they can corrupt data. For a HDD I'd advise to create a copy
>> using dd but from my understanding of SSD technology it's not
>> guaranteed to copy the right (now unused marked) blocks.
>> If you can't recover the old partition information I'd say you lost your
>> data unless you are willing (and there's no guarantees either) to pay
>> substantial amounts of money to specialised services (substantial as in
>> most likely >> 1000 EUR).
>>
>> WKR
>> Hinnerk
>>
>>
>> [1] http://www.cgsecurity.org/wiki/TestDisk
>>
>
>
> Thanks for the input. I ensured that there is no write after I noticed the
> partition was missing.
> I try what I can now, and I'm sure its gonna be a long night
>
>
>
> --
> Mit freundlichen Grüßen / Best regards
>
> Randolph Maaßen
>
>

I'm so damn lucky

I dd'ed the SSD onto an external drive and worked at first on the image
with qemu. A simple recreation of the partition brought the system back to
live on the image. I tried the same on the real machine and Gentoo works
again.


-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Recover on SSD

2013-05-05 Thread Randolph Maaßen
2013/5/5 Hinnerk van Bruinehsen 

> On Sun, May 05, 2013 at 02:44:11PM +0000, Randolph Maaßen wrote:
> > Hi,
> >
> > I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel.
> for
> > some purpose I needed several Partitions so my base system was lying on
> > sda10, on an LVM-PV. Today my Windows refused to start and during
> recovery
> > its diskpart must have deleted the information about the 10th partition
> on
> > the disk, containing my main Gentoo system. Recovery failed, but
> > sysrescuecd still works :)
> >
> > Now I'm concerned about the rescueing of the partition on the SSD, is it
> > the same way as on HDDs and are the same memory-parts of the SSD used? Or
> > is the partiton gone forever? And when I recreate a partition, will the
> PV
> > with the data still be there and readable?
>
> You could try Testdisk[1]. It may help. The data on a SSD is not
> necessarily stored linar so it's not said that a new partition is using
> the same memory cells as the old one. Even if it is, you'd lose any
> information about directories or files (names, dates, accessrights and
> so on).
> You should definitly try to minimize writes (ideally there would be
> none) since they can corrupt data. For a HDD I'd advise to create a copy
> using dd but from my understanding of SSD technology it's not
> guaranteed to copy the right (now unused marked) blocks.
> If you can't recover the old partition information I'd say you lost your
> data unless you are willing (and there's no guarantees either) to pay
> substantial amounts of money to specialised services (substantial as in
> most likely >> 1000 EUR).
>
> WKR
> Hinnerk
>
>
> [1] http://www.cgsecurity.org/wiki/TestDisk
>


Thanks for the input. I ensured that there is no write after I noticed the
partition was missing.
I try what I can now, and I'm sure its gonna be a long night


-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


[gentoo-user] Recover on SSD

2013-05-05 Thread Randolph Maaßen
Hi,

I have a SSD in my laptop and I am running Win7 and Gentoo in Parralel. for
some purpose I needed several Partitions so my base system was lying on
sda10, on an LVM-PV. Today my Windows refused to start and during recovery
its diskpart must have deleted the information about the 10th partition on
the disk, containing my main Gentoo system. Recovery failed, but
sysrescuecd still works :)

Now I'm concerned about the rescueing of the partition on the SSD, is it
the same way as on HDDs and are the same memory-parts of the SSD used? Or
is the partiton gone forever? And when I recreate a partition, will the PV
with the data still be there and readable?

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Randolph Maaßen
On Apr 17, 2013 7:19 PM, "Joseph"  wrote:
>
> On 04/17/13 18:45, Randolph Maaßen wrote:
>>
>>   2013/4/17 Joseph <[1]syscon...@gmail.com>
>>
>>
>>   On 04/17/13 16:27, Alan McKinnon wrote:
>>
>> On 17/04/2013 15:57, Joseph wrote:
>>
>> When I try to print from "evince" to pdf file I get an error:
>> Error printing - Operation not supported
>>
>> well, obviously your installed evince doesn't do pdf printing.
>> --
>> Alan McKinnon
>> [2]alan.mckin...@gmail.com
>>
>>
>> Well, it did print to pdf or ps file a week ago before upgrading, so
>> what did it change?
>> Why all of a sudden doesn't do pdf printing?
>> --
>> Joseph
>>
>>   So what packages have been updated/changed, what does your printing
>>   system look like, ...
>>   Without some information nobody can help you.
>>   --
>>   Mit freundlichen Grüßen / Best regards
>>
>>   Randolph Maaßen
>
>
> I'm using standard cups printing system.
> It is hard to find out which package are responsible for it, I usually
upgrade very second month so bunch of them got upgraded I did not get any
error messages. It is like looking for a needle in a haystack :-/
>
> --
> Joseph
>

Ok, so I would try running revdep-rebuild, to ensure that upgrading didn't
break any abi. This happened to me some time ago.


Re: [gentoo-user] evince - Error printing to PDF

2013-04-17 Thread Randolph Maaßen
2013/4/17 Joseph 

> On 04/17/13 16:27, Alan McKinnon wrote:
>
>> On 17/04/2013 15:57, Joseph wrote:
>>
>>> When I try to print from "evince" to pdf file I get an error:
>>>
>>> Error printing - Operation not supported
>>>
>>>
>>>
>>
>> well, obviously your installed evince doesn't do pdf printing.
>>
>>
>> --
>> Alan McKinnon
>> alan.mckin...@gmail.com
>>
>
> Well, it did print to pdf or ps file a week ago before upgrading, so what
> did it change?
> Why all of a sudden doesn't do pdf printing?
>
> --
> Joseph
>
>
So what packages have been updated/changed, what does your printing system
look like, ...
Without some information nobody can help you.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Big drive + UEFI boot questions

2013-04-03 Thread Randolph Maaßen
On Apr 4, 2013 4:27 AM, "Walter Dnes"  wrote:
>
>   I checked the Gentoo wiki http://en.gentoo-wiki.com/wiki/UEFI about
> handling UEFI boot.  I'm still a bit confused.  The way I read it, there
> are 2 separate issues...
> * UEFI boot
> * GPT versus MBR partitions
>
>   Apparently, I get to choose between unmasking ELILO or GRUB2 to do a
> UEFI boot.  As near as I can tell...
> * A separate EFI partition (FAT32) is required
> * The EFI partition needs to be mounted via /etc/fstab
>
>   Is that correct?
>
> --
> Walter Dnes 
> I don't run "desktop environments"; I run useful applications
>

For the partition:
Yes and no. You have to create a sepearate efi partition (type: ef; fs:
fat32) but there is no need to keep it mounted while th system is running.

For the boot loader:
I have no experience wit elilo, but grub 2 works well if you like the menu
and autoconfig it provides.
There is a 3. Way loading the kernel: efi_stub. If you compile the
commandline in the kernel and you don't use an initrd enable
CONFIG_EFI_STUB in the kernel and copy the bzimage to your efi partition as
an .efi file and announce the kernel image instead of grub2.

The arch linux wiki page was verry helpfull for me.

Ps: be sure to test your kernel before using efi, there are reports that
the firmware gets brickt in some cases. (It came out on samsung laptops)

HTH
Randolph


Re: [gentoo-user] ntfs-3g problem (I suppose) - locking system

2013-03-15 Thread Randolph Maaßen
2013/3/15 Francisco Ares 

> Hello.
>
> During some months now, this machine was (and still is, sometimes)
> suffering from a strange progressive lock down. It always has begun with
> the web browser, passing to the whole X environment, and finally I could
> not even use a console.
>
> After several trial and error actions, as no log entry could give any hint
> on what is going on, it seems that I found something consistent.
>
> This machine is a dual-boot Linux/Windows, as my wife once in a while
> needs to work on a Windows O.S. .  The lock down starts when she saves a
> file received by e-mail in a ntfs-3g mounted partition, so that file would
> also be accessible whenever she uses Windows.
>
> The reason why I suspect of ntfs-3g is that when the lock down starts,
> that is, if only the web browser locks, just unmounting (and mounting back
> later) that partition, recovers the web browser functionality. Sometimes,
> when the lock down has already affected the whole graphic environment, but
> I still may use a console, again unmounting that same partition also
> unlocks everithing.
>
> I have already tried to emerge ntfs-3g with different use flags, but the
> problem persists. Even built a new kernel and re-emerged ntfs-3g after
> that. Now ntfs-3g package is using its own "fuse".
>
> I would really appreciate any hints on what to do or where to look for any
> more information on this subject.  Perhaps I am still looking at an effect,
> and not the cause.
>
> Thanks
> Francisco
>
> --
> "If you have an apple and I have an apple and we exchange apples then you
> and I will still each have one apple. But if you have an idea and I have
> one idea and we exchange these ideas, then each of us will have two ideas."
> - George Bernard Shaw


Have you had a look at dmesg after lock / unlock?

driver oriented problems should show up here

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Re: Nvidia driver - blank screen not even console display

2013-02-23 Thread Randolph Maaßen
2013/2/23 Joseph 

> On 02/23/13 07:24, Nikos Chantziaras wrote:
>
>> On 22/02/13 08:14, Joseph wrote:
>>
>>> I just upgraded system including kernel to 3.5.7 because of udev-197
>>> Now I have a blank screen, not even console login (I can only access is
>>> via ssh)
>>>
>>
>> With NVidia, it is usually a good idea to at least use the latest stable
>> gentoo-sources. So you should use 3.7.9. Also, it *is* a good idea to
>> keyword the latest NVidia driver that's considered stable by NVidia, not
>> by Gentoo. That would be 313.18.
>>
>> So update to gentoo-sources-3.7.9 and nvidia-drivers-313.18. And make
>> sure you do (as root):
>>
>>   eselect opencl set nvidia
>>   eselect opengl set nvidia
>>
>
> According to nvidia the latest stable "certified" driver for my card:
> GeForce GTS 450 is: 310.32 (which is in portage)
>
> I tried it with kernel-3.6.11 it does not work but it works with 3.1.6
> I don't know why?
>
> --
> Joseph
>
>
Hi,

I have just read the thread and recognized that you have the same graphics
card as I have.

I updated my kernel this week to gentoo-sources 3.8.0. After that I tried
to install the 313.18 driver and compilation failed.
So I tried the 310.32  driver and it works perfectly with the new kernel.

HTH

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] gnustep-base/gnustep-base-1.24.0-r1 fails to merge.....

2013-01-11 Thread Randolph Maaßen
2013/1/11 Tamer Higazi 

> Hi people!
> After updating my entire "world" I have problems emergeing gnustep-base
> (revdep-rebuild).
>
>
> I get the error on the screen and I am not getting smart how to solve
> it, and ideas?!:
>
> checking whether objc really works... no
> I don't seem to be able to use your Objective-C compiler to produce
> working binaries!  Please check your Objective-C compiler installation.
> If you are using gcc-3.x make sure that your compiler's libgcc_s and
> libobjc
> can be found by the dynamic linker - usually that requires you to play
> with LD_LIBRARY_PATH or /etc/ld.so.conf.
> Please refer to your compiler installation instructions for more help.
> configure: error: The Objective-C compiler does not work or is not
> installed properly.
>
>
>
Can you compile other programs?
If you updated gcc don't forget to switch your version with gcc-config.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


[gentoo-user] Booting the Kernel as UEFI App

2012-12-28 Thread Randolph Maaßen
Hi Guys,

I just got my laptop back from repair, the main board and harddrive are
changed, so bye bye data. I haven't created any data on gentoo, i couldn't
even set up the system before it crashed.

So I'm going to setup a new install, and I have heard that you can set up
the kernel as UEFI application[1]. I have booted the system from UEFI grub2
before, so UEFI works and I know that the BIOS/UEFI has a boot manager.

Has anyone here did this before or is this a bad idea ?

[1]: http://en.gentoo-wiki.com/wiki/UEFI

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] gnome 3.6 ... and related thoughts

2012-12-27 Thread Randolph Maaßen
2012/12/28 Stefan G. Weichinger 

> Am 28.12.2012 00:45, schrieb Canek Peláez Valdés:
>
> > No, it works that way. You could changed in previous versions with
> > the /apps/metacity/general/mouse_button_modifier key in gconftool-2,
> > but now it's gone. I don't know if anyone is working on bring it
> > back.
>
> I *liked* the "old way" ... is there any explanation why removing this
> improves things? How is it supposed to work now?
>
> Sorry, I could browse docs, sure ...
>
>
I can't tell you how the window move works now. The "old way" of
configuring was removed and won't be included in the new 3.X branch
anymore, Somehow the GNOME people don't like that the user can configure
his/her GNOME experience. They want that every GNOME 3 looks and feels the
same.

Maybe interesting to read:
http://igurublog.wordpress.com/2012/11/05/gnome-et-al-rotting-in-threes/
I think we had this before in the list



>  > I started over with a clean $HOME, and I moved back the non-GNOME
> > stuff (.ssh, .gnupg, .bash*, etc). But maybe it was overkill.
>
> Thanks for sharing. I will maybe try that tomorrow (late here).
>
> usermod -l ... ? ;-)
>
> S
>
>
>


-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Re: OpenRC error message at boot

2012-12-18 Thread Randolph Maaßen
2012/12/18 Francesco Turco 

> On Tue, Dec 18, 2012, at 9:58, Randolph Maaßen wrote:
> > IIRC all possible settings should be documented in "man .conf"
>
> On my system:
>
> $ man rc.conf
> No manual entry for rc.conf
>
>
I'm  not on my system at the moment, so I can't check it, sorry for that.
Maybe it was
$man /etc/rc.conf
or it even doesn't exist. I found a man page for some config files.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Re: OpenRC error message at boot

2012-12-18 Thread Randolph Maaßen
On Dec 18, 2012 9:53 AM, "Dale"  wrote:
>
> Francesco Turco wrote:
> > On Mon, Dec 17, 2012, at 17:59, walt wrote:
> >> I'm drawing on ancient memories here, but I'd try setting RC_DEBUG=yes
> >> in /etc/rc.conf
> > Unfortunately there is no RC_DEBUG variable in my /etc/rc.conf file. The
> > following command returns nothing: grep -i debug /etc/rc.conf.
> >
> > Anyway I tried downgrading openrc from 0.11.8 to 0.11.6, and with the
> > older version there is no error message at boot. So perhaps it's a bug
> > that has been introduced with 0.11.8.
> >
> > ---
> >
> > Ok. I finally decided to report it:
> > https://bugs.gentoo.org/show_bug.cgi?id=447678
> >
> >
>
> If the RC_DEBUG setting is not there, add it.  There are lots of
> settings that are not in there by default but you can add them if you
> need to.

IIRC all possible settings should be documented in "man .conf"

>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!
>
>


Re: [gentoo-user] how to get data::util on gentoo

2012-12-15 Thread Randolph Maaßen
2012/12/15 

> Hi.  I was trying to install the JIRA-client from cpan, but it wants
> Data::Util and I can't find it in gentoo anywhere.  I tried to install
> that from cpan, but it, in turn wants a number of modules which I don't
> have and on we go.  Does gentoo have this or is there a way in cpan to
> get all the dependencies?
>
> Thanks in advance for any suggestions.
>
> --
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
>
>  John Covici
>  cov...@ccs.covici.com
>
>
Try to (re)emerge dev-pear/Data-Utilities.
Looks like what you want from eix.

Try to install the JIRA-Client after this.


-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] eix and bad colors.

2012-12-07 Thread Randolph Maaßen
2012/12/7 Volker Armin Hemmann 

> Am Freitag, 7. Dezember 2012, 13:52:03 schrieb Mark Knecht:
> > On Fri, Dec 7, 2012 at 3:01 AM, Dale  wrote:
> > > Howdy,
> > >
> > > I was using eix a bit ago and I noticed the colors have changed.  Since
> > > I like to have white text and a black background, this is not working
> to
> > > well for me.  It seems some of the output is black text.  Put black
> text
> > > on a black background and I have missing text, usually the very thing I
> > > am looking for.  I have looked for a config somewhere in /etc but can't
> > > find where this is set.  I found where other colors are set but not for
> > > eix.
> > >
> > > Anyone have a hint as to where this is set or is it hard coded into
> eix?
> > >
> > > Thanks much.
> > >
> > > Dale
> >
> > Dale,
> >If you (or someone else)  finds a nice concise setting for
> > terminals that are black background, white text, I hope you'll post if
> > back. I'm not going to have time to look at this right now but like
> > you hate the way black on black text is looking! ;-)
>
> is there really black-on-black? I saw dark grey on black, but I did not
> miss
> anything obvious... hm.. so when does it show/uses black-on-black?
> --
> #163933
>
>
I had the sameproblem acouple of days ago. I was wondering why I could not
read the package names. then I found out it was black on black and the text
of the names were realy there

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Unsuscribe

2012-11-10 Thread Randolph Maaßen
Just write a mail to gentoo-user+unsubscr...@lists.gentoo.org

As descried here: http://www.gentoo.org/main/en/lists.xml


2012/11/10 cesar diaz 

>  Does anybody knows how can I unsubscribe me of this Gentoo list?..
> Pleas help me because I cant do it.
> Thanks.
>
>
> * César Augusto Díaz Pomar*
>



-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] uefi gpt grub2

2012-11-10 Thread Randolph Maaßen
2012/11/9 微蔡 

> On Thursday 08 November 2012 13:53:22 Randolph Maaßen wrote:
> > 2012/11/8 
> >
> > > Over the last few days I have tried to set up using uefi gpt and
> grub2.
> > > After many hours of frustration I have gone back to grub legacy
> and mbr.
> > >
> > > I followed the Gentoo wiki  and Arch wiki and several other
> sources of
> > > which I failed miserably. Is this technology fairly unreliable? I
> booted
> > > from a uefi enabled usb stick but still fell over. Is this ready for
> > > mainstream or
> > >
> > >  still alpha like?
> > >
> > > Also does ufibootmgr change motherboard firmware? Somehow
> this feels
> > > wrong if the case.
> > >
> > > John D Maunder
> >
> > Hi,
> >
> > I tried installing UEFI GPT too a few months ago, but I had a semi
> success.
> > After some days of fiddeling around with parameters and variables I
> could
> > boot the system, but I can't see the kernel output or open-rc. But the
> X
>
> built-in efifb and add video=efifb to kernel command line.
>
>
Thanks for the advise, I'll try it when I'm back at the machine next week


>
> > loads and the system works after that like normal, but without the
> textual
> > ttys. terminal emulations like xterm or so work. So I would install it
> > again, but it isn't as easy as thought.
> --
>  __
> < gentoo rocks >
>  --
> \   ^__^
>  \  (oo)\___
> (__)\   )\/\
> ||w |
> || ||
>
>
>


-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] uefi gpt grub2

2012-11-08 Thread Randolph Maaßen
2012/11/8 

> Over the last few days I have tried to set up using uefi gpt and grub2.
> After many hours of frustration I have gone back to grub legacy and mbr.
>
> I followed the Gentoo wiki  and Arch wiki and several other sources of
> which I failed miserably. Is this technology fairly unreliable? I booted
> from a uefi enabled usb stick but still fell over. Is this ready for
> mainstream or
>  still alpha like?
>
> Also does ufibootmgr change motherboard firmware? Somehow this feels
> wrong if the case.
>
> John D Maunder
>
>
>
>
>
>
Hi,

I tried installing UEFI GPT too a few months ago, but I had a semi success.
After some days of fiddeling around with parameters and variables I could
boot the system, but I can't see the kernel output or open-rc. But the X
loads and the system works after that like normal, but without the textual
ttys. terminal emulations like xterm or so work. So I would install it
again, but it isn't as easy as thought.


-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] Re: Gnome3 haters: you should try the new cinnamon-1.6.1

2012-10-15 Thread Randolph Maaßen
On Oct 15, 2012 2:59 PM, "Neil Bothwick"  wrote:
>
> On Mon, 15 Oct 2012 05:23:44 -0700, walt wrote:
>
> > In fact, I blame all the new problems with both gnome3 and kde4
> > on video compositing.  All the whiz-bang kids doing desktop
> > development are determined to use compositing anywhere they can
> > possibly use it, even if it's silly.
>
> KDE has a checkbox to enable/disable it, and it is disabled by default if
> the system hardware is unsuitable. I agree about the unnecessary
> proliferation of hardware-hammering eye candy, but have no problems with
> it being there as long as it's optional.
>
>
> --
> Neil Bothwick
>
> The best antiques are old friends.

Hi,
I have always loved gnome more than kde or anything else. About 2 years ago
I had to use Windows till about 3 months ago, and I came back to gentoo and
used gnome again. But I didn't feel that comfortable and home, so I tried
kde and some other desktop environments, but these felt even worse. I found
cinnamon and used it with  gdm, what made me happy for a while. But I
couldn't find an easy way to configure this system to my needs. I found no
way to change the gdm background for example. I googled for a couple of
days. So I tried to get rid of gnome, but I have some programmms, that use
it. I use Openbox and slim now, I could configure it within half a day, and
I'm happy now.

By the way, I got used to tabbing terminal.in gnome-terminal, does someone
know a tabbing terminal without gnome or kde or something this big?

Mit freundlichen Grüßen / Best Regards

Randolph Maaßen


Re: [gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Randolph Maaßen
On Sep 16, 2012 1:05 PM, "Andrew Lowe"  wrote:
>
> Hi all,
> I've got a media server that I'm in the process of installing
Samba on. When I do:
>
> emerge -NuD --pretend samba
>
> I get a list of stuff that portage wants to install, including Python,
V2.7.3, even though the machine already has V3.2.3 installed. I've also
stripped down the USE variables to basically "server" and that's all and
still for some reason portage wants to bring in Python - the older version,
V2. I've even added a "-python" to packages.use and it still wants python,
V2. I've had a look at the USE variables for the packages that follow
Python in the emerge list and they either don't want python or already have
"-python" set.
>
> Having a play around with equery also didn't reveal anything.
Does anyone have any ideas as to what's causing old Python to be brought
in? I haven't posted the whole "emerge --info" stuff yet as hopefully
someone has come across this problem before.
>
> Any thoughts greatly appreciated,
>
> Andrew
>

Hi, when you are dealing with python always remember that the API has
changed between version 2 and 3 so python 3 can't handle python 2 scripts.

So what I think emerge is doing here is installing python 2.7 beside 3.2.

When you add the verbose flag to the emerge command, you will probably see
something like [ NS ] or [ uS ] at the beginning of the python line. The S
stands for new slot, so both version will be installedbecause samba or one
of it's dependency is using python 2 scripts.

Mit freundlichen Grüßen / Best Regards

Randolph Maaßen


Re: [gentoo-user] OT: python, accounting & gentoo

2012-08-24 Thread Randolph Maaßen
2012/8/24 James 

> Hello
>
> I'm looking to learn more about Python and it's capabilities.
> Since I have some "loose" requirements to integrate some financial
> accounting and data collection into an sql
> database, I figured I'd research relevant, existing software
> as well as writing some code in python, to see
> how well I like python. with web, graphics and database
> systems.
>
> So what I have found on Gentoo is "openERP"
> Other software (written in python is a requirement)
> not in portage, that I have found so far is:
> GNU Enterprise and Tryton. Any Others?
>
> So whether  it's a basic (python) based accounting system
> or a full blown Enterprise Resource Planning tool,
> I have one twist as to what the software must eventually do.
> I have  a myriad of embedded devices that provide all
> sorts of machine based data (literally pumps, valves, etc and
> all sorts of sensors) that will also be sending data into the
> database system. I also have a myriad of very questionable
> mathematical models that generate "simulated sensor data" also
> to be included, monitored and analyzed.
>
>
> So I want to find/develop/refine  software
> that is able to collect data from  all sorts of disparate
> sources. To then display it like a normal accounting  software
> package would, but also be able to display some (selective) data
> in some sort of separate, graphical display, so a particular
> parameter(s) could be displayed in a (real-time) graphical gui,
> much like a speedometer on the dashboard of a car, simultaneously too.
>
> Usually Java, qt4 etc are used to generate the graphical displays
> on a computer screen. Is python viable as a language/tool to also
> create these graphics? If not, what would be a good language,
> that works well with python,  to use to develop either web based
> or display graphics?
>
> This is an evolving, formative effort, so all input, particularly codes
> that exist, are welcome. Comments on using python, and other ideas
> are most appreciated.
>
>
>
> James
>
>
>
>
>
>
Hi,

I cant tell you much about accounting software, but what i know is that
there are python binding for qt and gtk, just look for PyQt4 and pygtk.
Another toolkit with bindings i I know about is wxWidgets with wxPython.

I'm sure, there are bindings for your preferred toolkit.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] My PC died. What should I try?q

2012-08-17 Thread Randolph Maaßen
2012/8/17 Alex Schuster 

> Randolph Maaßen writes:
>
>  Aaa aAaa aaa a
>> Am 17.08.2012 10:31 schrieb > <mailto:meino.cra...@gmx.de>>:
>>
>>  >
>>  > Hi Alex,
>>  >
>>  > ...shot in the dark:
>>  > Remove as much as possible of the cards,aadwqqqaaa www wpa www a
>> weißes www aa Array www www www a aaa aa aadwqqqaaa aaa w
>> aadwqqqaaa www aa aaa a aaa www Awaa aaa aa quattro
>> Aquarellw aaa aa aa Webauftritt aaa a aaa aA aaa
>> aAaAaAaq aaawa addons, connections etcwo
>>  > from the PC ... make ian as much "bare bone" aaa stwww wwwaaa www
>> qaaa wwwas a.
>>  > www www waslittle ones also) for dust. Removeaa wwwaa all
>>  > dust even if it is not completly covered with ait.
>>
>
> Woow! What is going on here?
>
> Wonko
>
>
Damn!!
Sorry for this bad post, somehow my phone unlocked in my pocket.

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


Re: [gentoo-user] My PC died. What should I try?q

2012-08-17 Thread Randolph Maaßen
Aaa aAaa aaa a
Am 17.08.2012 10:31 schrieb :
>
> Hi Alex,
>
> ...shot in the dark:
> Remove as much as possible of the cards,aadwqqqaaa www wpa www a weißes
www aa Array www www www a aaa aa aadwqqqaaa aaa w aadwqqqaaa www
aa aaa a aaa www Awaa aaa aa quattro Aquarellw aaa aa
aa Webauftritt aaa a aaa aA aaa aAaAaAaq aaawa addons,
connections etcwo
> from the PC ... make ian as much "bare bone" aaa stwww wwwaaa www
qaaa wwwas a.
> www www waslittle ones also) for dust. Removeaa wwwaa all
> dust even if it is not completly covered with ait.
>
> Dona www ot forget the internals of the power supply. Detach all cables.
> Remove the power supply. Go outside ;) and blow the dust inside away.
>
> Put the power supply back into the PC again an attach the cables.
>
> Remove all RAM, carefully clean the contacts, insert as less RAM as
> possible.
>
> Remove even the HD if it is possible to get into the BIOS
> without any HD attached.
>
> Remove the BIOS battery, wait at least a day and insert it again.
>
> Start the PC and go directly into the BIOS. Check the date/time.
> If it shows the current date/time, the battery wasn't removed
> long enough. Check the battery voltage. Reinsert the battery.
> If your board has a BIOS reset: Reset the BIOS.
>
> Then: In the BIOS enter a page which "does something"
> (reports continously temperatures for example).
>
> If this is possible, let the PC run for a
> while that BIOS page and see, whether it
> hangs again or not.
>
> If all went fine, add ONE component and try it again.
> Add the HD at last to sort out hardware from software bugs...
>
> May be one of the components and not the CPU or motherboard
> causes the problem and you will be able to identify it by
> this procedure...
>
> HTH!
>
> GOOD LUCK!
>
> Best regard,
> mcc
>
> Alex Schuster  [12-08-17 09:56]:
> > Hi there!
> >
> > Two days ago, my PC suddenly died, after working fine for half a year.
> > I used myrtcwake as usual to suspend to RAM, and it woke up in the
> > morning. But after two minutes, the screen went blank and nothing, even
> > SysRq, gave a reaction. I tried booting a couple of times again, and
> > sometimes it did not even reach KDM. Now, I cannot even run Grub (from
> > my USB stick) any more, I only see a "GRUB" string at the top right,
> > then nothing happens.
> >
> > Booting with SystemRescueCD also freezes sometimes. If not, I can make
> > it freeze after seconds by running 'memtester'.
> >
> > Booting good old memtest86 ran for an hour and only found one error,
> > then I aborted, removed three of my four memory modules (4GB each), and
> > tried different ones in the first bank. Memtest86 again did not find
> > much errors, but froze once. Running memtester after booting from
> > SystemrescueCD again makes the thing freeze in seconds. It once also
> > froze while being in the BIOs setup.
> >
> > What could be the problem? CPU, board, or even the PSU? I do not think
> > it has to do with bad memory. I removed most of the other stuff (hard
> > drives, PCI cards). I have no similar hardware so I cannot simply
> > exchange things, the question is what to buy and try. How would you
> > proceed?
> >
> > The fan is still working, the cooler does not become hot, and in the
> > BIOS there are not high temperatures begin reported. But one thing was
> > strange: I updated Calligra from 2.4 to 2.5 (I think), and it took
> > ages, at least 8 hours. I thought there may b something strange with
> > the build process of this new version, forcing MAKEOPTS=-j1 and such,
> > but still this is very long. But when working with it, I did not notice
> > anything strange like sluggish reactions, and videos played fine. But I
> > did not use it as much as I normally do, and maybe even when overheated
> > and throttled down it would have been fast enough for me to not notice
> > this. I watch the syslog normally, but maybe I just did not look
> > closely that day, I was busy doing other stuff.
> >
> > CPUs don't just die, do they? Even when overheating, I think these days
> > throttle down, so no permanent harm should be done? So maybe it's the
> > board? It looks okay, no bent or leaking capacitors.
> >
> > This is really annoying. Of course most of my passwords are in my KDE
> > wallet I cannot access. There's also Wiki, CVS and Git repositories,
> > not needed every day, but still important. And the timinig is very bad,
> > I just started my new job the day the problem happened, and I do not
> > have much time for this now. Before, I was working at home, so I would
> > have had all day to diagnose and try things.
> >
> > It's an AMD FX-4100 Quad-Core CPU, and an ASRock 880GMH/U3S3 board.
> >
> >   Wonko
> >
>
>

Am 17.08.2012 10:31 schrieb :
>
> Hi Alex,
>
> ...shot in the dark:
> Remove as much as possible of the cards, addons, connections etc
> from the PC ... make in as much "bare bone" as possible.
>
> Check All coolers (the little ones also) for dust. Remov

Re: [gentoo-user] Gentoo Installation, Kernel Panic

2012-07-19 Thread Randolph Maaßen
2012/7/19 Andrejs Igumenovs 

> Hi,
>
> After going over the installation instructions and performing the standard
> operations (genkernel etc.), the Kernel halts during the boot.
> http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1
>
> I'm attaching the screenshot of what happens…
>
> I'm not the Linux expert, so don't know how to fix.
>
> - Andrejs
>
>
>
Hi,

looks like the kernel can't find your root partition. (VFS: Cannot open
root device "sda3" or unknowen block(0,0)).

Please make sure that you configured your grub correctly (which version do
you use?).

On grub legacy (0.9)  edit the file /boot/grub/menu.lst and add the
"root=" parameter

it should look like this
title Gentoo
root (hd0,1)
kernel /boot/kernel* root=/dev/sda2

When you need further help, please post your partitioning and grub menu
entry, grub device names can be verry confusing for beginners.

The more complex idea in my mind is that your kernel is missing some device
drivers for the ide/sata controler.
This should not happen, because you used genkernel.

Randolph