[gentoo-user] Re: WARNING: Crucial MX300 drives SUUUUUCK!!!!

2017-03-05 Thread Kai Krakow
Am Tue, 14 Feb 2017 16:14:23 -0500
schrieb "Poison BL." :

> On Tue, Feb 14, 2017 at 3:46 PM, Daniel Frey 
> wrote:
> 
> > On 02/13/2017 10:17 AM, Poison BL. wrote:  
> > >
> > > I've had more than one spinning rust drive fail hard over the
> > > years as well, though yes, you do usually have some chance of
> > > recovery from those. Gambling on that chance by leaving a given
> > > disk as a single point of failure is still a bad idea, spinning
> > > disk or not. The point that you went from single-disk SSD back to
> > > raid10 makes me question why, if your uptime requirements (even
> > > if only for your own desires on a personal machine) justify
> > > raid10, you weren't on at least raid1 with the SSD  
> > setup.
> >
> > I finally got tired and replaced my old laptop with a ThinkPad P70,
> > and boy is it so much faster than anything else I own. Compile
> > times are crazy fast on this new laptop of mine, but it came
> > equipped with an i7 with 8 threads and 16GB of RAM, which I'm sure
> > helps A LOT.
> >
> > I'm going to get an SSD (or maybe an NVMe drive) for the new laptop
> > and leave /home on ol' reliable rust disks.
> >
> > I do have backups. That's not the concern - the concern for me was
> > turning on the PC and having it completely crap out.
> >
> > I used to have an SSD on my mythtv backend server, and it started
> > behaving strangely one day. I could not log in to the console. X
> > froze. Logged in via ssh and files appeared to be missing on the
> > root partition. Rebooted the backend server and it was completely
> > dead, no warnings or anything.
> >
> > Dan
> >
> >
> >
> >  
> I actually see both sides of it... as nice as it is to have a chance
> to recover the information from between the last backup and the death
> of the drive, the reduced chance of corrupt data from a silently
> failing (spinning) disk making it into backups is a bit of a good
> balancing point for me.

I've seen bordbackup giving me good protection to this. First, it
doesn't backup files which are already in the backup. So if data
silently changed, it won't make it into the backup. Second, it does
incremental backups. Even if something broke and made it into the
backup, you can eventually go back weeks or months to get back the
file. The algorithm is very efficient. And every incremental backup is
a full backup at the same time - so you thin out backup history by
deleting any backup at any time (so it's not like traditional
incremental backup which always needs the parent backup).

OTOH, this means that every data block is only stored once. If silent
data corruption is hitting here, you loose the complete history of this
file (and maybe others using the same deduplicated block).

For the numbers, I'm storing my 1.7 TB system into a 3 TB disk which is
2.2 TB full now. But the backup history is almost 1 year now (daily
backups).

As a sort of protection against silent data corruption, you could rsync
borgbackup to a remote location. The differences are usually small, so
that should be a fast operation. Maybe to some cloud storage or RAID
protected NAS which can detect and correct silent data corruption (like
ZFS or btrfs based systems).


-- 
Regards,
Kai

Replies to list-only preferred.




[gentoo-user] Re: CIFS mounts started misbehaving

2017-03-05 Thread Kai Krakow
Am Sat, 4 Mar 2017 16:42:07 + (UTC)
schrieb Grant Edwards :

> On 2017-03-04, Kai Krakow  wrote:
> > Am Sat, 04 Mar 2017 08:02:11 + schrieb "J. Roeleveld"
> > : 
> >>  
>  [...]  
>  [...]  
>  [...]  
>  [...]  
>  [...]  
>  [...]  
>  [...]  
>  [...]  
>  [...]  
>  [...]  
>  [...]  
> >>  
>  [...]  
> >> 
> >> Are other hosts linux or windows?  
> 
> Other Linux and Windows clients don't seem to be having this problem.
> 
> >> Maybe a dodgy switch forgetting the correct path?  
> 
> I don't think so.  I can ping the host while the CIFS subsystem says
> "host is down".  If the switch is forgetting the path, who's sending
> back the SYN/ACK and the RST
> 
> > Or an MTU problem... Is there a router in the path?  
> 
> Nope.

The MTU idea was dumb anyways as you wrote that the problem occurs
after some idle time... Which could still be a router problem - but as
you wrote: no router. :-)

> I'm going to try to set up a Wireshark capture in ring-buffer mode and
> somehow detect the failure and stop the capture...

Did something on the Windows side change? Maybe force Windows down to a
lower SMB version or reduce/disable SMB client side caching?


-- 
Regards,
Kai

Replies to list-only preferred.




[gentoo-user] Re: No room left on /boot

2017-03-05 Thread Kai Krakow
Am Sun, 5 Mar 2017 14:33:03 -0700
schrieb the...@sys-concept.com:

> After upgrading my machine. I rebooted, everything went as planned.
> So I decided to upgrade to a newer kernel.  I was using:
> linux-3.10.7-gentoo-r1
> 
> and decided to switch to:
> linux-4.9.6-gentoo-r1
> 
> I've done kernel upgrade many, many times so it was a routine
> procedure. When I re-booted the last thing on the screen were letter:
> 
> "GRUB" and blank screen, not even a kernel selection.
> I scramble, boot strap the system and copied two file in /boot/ 
> kernel-old --> kernel-current
> System.map-old --> System.map-current
> 
> I was under impression that something is wrong with the current
> (newest kernel). But it seems to me I run out of room on the /boot
> partition.
> 
> ll -h /boot/
> total 17M
> lrwxrwxrwx 1 root root1 Dec 17  2011 boot -> .
> -rw-r--r-- 1 root root 109K Mar  5 10:20 config-current
> -rw-r--r-- 1 root root  90K Mar  5 10:13 config-old
> drwxr-xr-x 5 root root 1.0K Mar  5 11:48 grub
> -rw-r--r-- 1 root root 5.5M Mar  5 11:03 kernel-current
> -rw-r--r-- 1 root root 5.5M Mar  5 10:12 kernel-old
> drwx-- 2 root root  12K Dec 17  2011 lost+found
> -rw-r--r-- 1 root root 2.9M Mar  5 11:03 System.map-current
> -rw-r--r-- 1 root root 2.9M Mar  5 10:12 System.map-old
> 
> df -h
> /dev/sda130M   29M 0 100% /boot

Please have a look a lost+found and clear the contents. 12k size for a
directory node that should be empty looks a bit too big to me.

But I recommend to bump that size of the partition up, really. 32M is
so 1990s.

-- 
Regards,
Kai

Replies to list-only preferred.




Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Alan McKinnon
On 06/03/2017 01:35, the...@sys-concept.com wrote:
> On 03/05/2017 03:19 PM, Alan McKinnon wrote:
>> On 05/03/2017 23:33, the...@sys-concept.com wrote:
>>> After upgrading my machine. I rebooted, everything went as planned.
>>> So I decided to upgrade to a newer kernel.  I was using:
>>> linux-3.10.7-gentoo-r1
>>>
>>> and decided to switch to:
>>> linux-4.9.6-gentoo-r1
>>>
>>> I've done kernel upgrade many, many times so it was a routine procedure. 
>>> When I re-booted the last thing on the screen were letter:
>>>
>>> "GRUB" and blank screen, not even a kernel selection.
>>> I scramble, boot strap the system and copied two file in /boot/ 
>>> kernel-old --> kernel-current
>>> System.map-old --> System.map-current
>>
>> You could do this:
>>
>> Boot into the old kernel
>> Delete the new kernel from /boot
>> Fix space issues with /boot
>> Re-install new kernel. This goes quick, it's already built in /usr/src
>>
> [snip]
>>
>>
>> So, it is possible to grow /boot. I have done it many times. It is
>> tedious, boring and usually takes about 3 days longer than I have time
>> to spare and involves me using all spare samba shares and portable
>> drives I have


> Since this is the same box, same processor.
> Is it possible to "boot-strap" the current system, copy entire
> "/"-partition to another box over ssh.
> 
> Fix the partition sizes and copy back the entire "/"- back to current box.
> It would save me all the compiling time.


Yes, that will work.


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] lxde no Desktop Preferences can be set

2017-03-05 Thread Raffaele Belardi

Harry Putnam wrote:

Setup: VBox vm running gentoo(amd64) guest on a win-10 (64bit) host
 Hardware: HP xw8600 - 2x Xeon  CPU X5450 @ 3.00GHz - 32 GB ram

LXDE on the menu item Preferences ===> Desktop Preferences
Nothing can be set there and it does not even show a dialog
box... just an error messages that says:

Desktop manager is not active

All the lxde-base pkgs contained in lxde-meta are installed.

Openbox wm is installed.

Anyone know what that error message means or how to get around or fix
it?


Is pcmanfm running?

$ ps ax | grep pcmanfm
 2975 ?Sl 0:00 pcmanfm --desktop --profile LXDE
 2982 ?Sl 0:00 pcmanfm --desktop

If not, check if it specified in the lxsession configuration. On my system the (default) 
lxsession configuration file contains:


$ cat .config/lxsession/LXDE/autostart
@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash

You could also check the 'Autostart' tab in the 'Preferences->Default applications for 
LXSession' and verify that 'Disable autostarted applications' dropdown entry is set to 
'No'. You reach the same config window by issuing:


$ lxsession-default-apps

raffaele



Re: [gentoo-user] three quarter of network access with new root...

2017-03-05 Thread Mick
On Monday 06 Mar 2017 04:17:44 tu...@posteo.de wrote:
> Mick  [17-03-06 03:39]:
> > On Sunday 05 Mar 2017 15:51:37 tu...@posteo.de wrote:
> > > Hi,
> > > 
> > > The standard phrase:
> > > Still building...bla bla...new root...bla... :)
> > > 
> > > The copy of the udev rules of the old root into the
> > > new one...give me...hnetwork access...somehow...
> > > (In any case: THX A LOT FOR THAT HINT! 8)
> > 
> > I am sure there was an older news item explaining the persistent NIC
> > naming. You could also add an option on the kernel line which has the
> > same effect, but I can't recall (without googling) what the correct
> > stanza is.
> > 
> > > Several early services, which depend on network access fail
> > > while booting, but a ping right after login worked.
> > > 
> > > I am able to firefox the internet now...
> > > 
> > > Which an exception: www.startpage.com
> > > 
> > > :Server could not be found.
> > > 
> > > Same, if I try to ping that beauty.
> > > Other pages like www.heise.de worked
> > > fine ... so it is not a missing DNS
> > > configuration.
> > 
> > http://downforeveryoneorjustme.com/
> > 
> > traceroute startpage.com
> > 
> > ping -c 3 startpage.com
> > 
> > nslookup startpage.com
> > 
> > dig ANY startpage.com
> > 
> > should show if it is an IP address problem, or a DNS resolution problem.
> 
> Hi Mick,
> 
> Thanks for your help ! :)
> 
> since
> 
> ping startpage.com
> 
> results in "unknown host" all the commands
> will not be able to resolve startpage.com.
> 
> By the way:
> 
> dig ANY startpage.com
> 
> results in nothing even on my working old root.
> 
> Cheers
> Meino

OK, then you have a DNS problem.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Mick
On Sunday 05 Mar 2017 17:05:20 the...@sys-concept.com wrote:
> On 03/05/2017 04:51 PM, Neil Bothwick wrote:
> > On Sun, 05 Mar 2017 23:22:52 +, Mick wrote:
> >> 4. Do not create a new partition for boot, just copy the /boot
> >> filesystem into / and comment out the boot partition from fstab.
> >> You'll need to also edit your /boot/grub/grub.conf
> > 
> > You will also need to run the legacy equivalent of grub-install again to
> > point the MBR to the new location.
> > 
> > I'd say this was the best option for you, there are many reasons for
> > having a separate /boot but none of them are particularly compelling in
> > your situation.
> 
> I don't know how would it change.
> 
> Original instruction is:
> grub-install /dev/sda

Or, 

# grub
grub> root (hd0,2)
grub> setup (hd0)
grub> quit


> /dev/sda3 /boot   ext4noatime 0 1

You should comment out the above line because there will be no separate boot 
partition.  The /boot filesystem will now be on partition /dev/sda3 in / 
below:

> /dev/sda3 /   ext4noatime 0 1
> 
> --
> Thelma

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] No room left on /boot

2017-03-05 Thread J. Roeleveld
On March 6, 2017 12:43:50 AM GMT+01:00, Marc Joliet  wrote:
>On Sonntag, 5. März 2017 23:57:11 CET Dale wrote:
>> the...@sys-concept.com wrote:
>[...] 
>> > Can I remove System.map files from /boot partition?
>> > I don't have any reference to these files in grub.conf.
>[...]
>> I'm pretty sure grub uses that file.  I've never tested the theory.
>
>FTR: were this GRUB *2*, I'd say I'm pretty sure it doesn't, based on
>the fact 
>that "System.map" doesn't show up in the GRUB info manual (which
>mentions 
>"device map" files, which the System.map file is not) and the fact that
>I 
>stopped installing it into /boot/, so I know that my systems boot
>without it.  
>I don't know about the old GRUB, though, but I strongly suspect it
>doesn't use 
>it, either.
>
>Quite frankly, I don't know how it would be useful for booting (it
>looks 
>somewhat like objdump output).  A quick "ag System.map" in the kernel
>sources 
>leads me to believe that it is solely a debugging aid.
>
>[snip other stuff]
>
>Greetings

With grub legacy and grub2 I never bothered with the System.map file.

I only copied the kernel image and, when used, the initramfs...

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Miroslav Rovis
On 170305-16:56-0700, the...@sys-concept.com wrote:
> On 03/05/2017 03:57 PM, Dale wrote:
> > the...@sys-concept.com wrote:
> >> On 03/05/2017 02:33 PM, the...@sys-concept.com wrote:
...
> >>> "GRUB" and blank screen, not even a kernel selection.
> >>> I scramble, boot strap the system and copied two file in /boot/ 
> >>> kernel-old --> kernel-current
> >>> System.map-old --> System.map-current
> >>>
> >>> I was under impression that something is wrong with the current (newest 
> >>> kernel). But it seems to me I run out of room on the /boot partition.
> >>>
> >> [snip]
> >>> -rw-r--r-- 1 root root 2.9M Mar  5 11:03 System.map-current
> >>> -rw-r--r-- 1 root root 2.9M Mar  5 10:12 System.map-old
> >> [snip]
> [snip]
> > 
> > 
> > I'm pretty sure grub uses that file.  I've never tested the theory.

If it didn't use it, why would I have one for each kernel:

# ls -ltr /boot/
total 50387
-rw-r--r-- 1 root root 1550815 2016-09-15 11:16 initramfs.cpio.gz
-rw-r--r-- 1 root root 6908928 2017-01-23 17:14 
vmlinuz-4.8.17-hardened-r2-1701123_16
-rw-r--r-- 1 root root 5507056 2017-01-23 17:14 
System.map-4.8.17-hardened-r2-1701123_16
-rw-r--r-- 1 root root  120993 2017-01-23 17:14 
config-4.8.17-hardened-r2-1701123_16
-rw-r--r-- 1 root root 6767216 2017-02-03 11:55 
vmlinuz-4.7.10-hardened-170203_10
-rw-r--r-- 1 root root 5450387 2017-02-03 11:55 
System.map-4.7.10-hardened-170203_10
-rw-r--r-- 1 root root  120096 2017-02-03 11:55 config-4.7.10-hardened-170203_10
-rw-r--r-- 1 root root 6193104 2017-02-21 22:56 vmlinuz-4.10.0-170221_23
-rw-r--r-- 1 root root 4003287 2017-02-21 22:56 System.map-4.10.0-170221_23
-rw-r--r-- 1 root root  119499 2017-02-21 22:56 config-4.10.0-170221_23
-rw-r--r-- 1 root root 7561200 2017-02-21 23:25 
vmlinuz-4.9.11-hardened-170221_23
-rw-r--r-- 1 root root 6950390 2017-02-21 23:25 
System.map-4.9.11-hardened-170221_23
-rw-r--r-- 1 root root  121971 2017-02-21 23:25 config-4.9.11-hardened-170221_23
drwxr-xr-x 6 root root1024 2017-02-22 14:05 grub
#

grub2 here. most of the commands are now (testing ~amd64) named same as
grub old.

> > Why such a small /boot?  My OS is installed on a fairly small 160GB hard
Way too small!
> 
> The System.map is needed, especially by VirtualBox so getting rid of
> this file is not a good idea.
> Yes, now it the /boot partition is 128MB but back few years ago was 30MB
> 
> If I'll be redoing it I'll make it 1GB
> 
> --
> Thelma
> 

Regards!
-- 
Miroslav Rovis
Zagreb, Croatia
https://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature


Re: [gentoo-user] three quarter of network access with new root...

2017-03-05 Thread Adam Carter
> since
>
> ping startpage.com
>
> results in "unknown host" all the commands
> will not be able to resolve startpage.com.
>
> By the way:
>
> dig ANY startpage.com
>
> results in nothing even on my working old root.
>
>
> Try nslookup startpage.com 8.8.8.8

If it works, your DNS is not setup correctly. If it doesnt, you dont have
internet access (default route configured?) or there's a firewall dropping
it.


Re: [gentoo-user] three quarter of network access with new root...

2017-03-05 Thread tuxic
Mick  [17-03-06 03:39]:
> On Sunday 05 Mar 2017 15:51:37 tu...@posteo.de wrote:
> > Hi,
> > 
> > The standard phrase:
> > Still building...bla bla...new root...bla... :)
> > 
> > The copy of the udev rules of the old root into the
> > new one...give me...hnetwork access...somehow...
> > (In any case: THX A LOT FOR THAT HINT! 8)
> 
> I am sure there was an older news item explaining the persistent NIC naming.  
> You could also add an option on the kernel line which has the same effect, 
> but 
> I can't recall (without googling) what the correct stanza is.
> 
> 
> > Several early services, which depend on network access fail
> > while booting, but a ping right after login worked.
> > 
> > I am able to firefox the internet now...
> > 
> > Which an exception: www.startpage.com
> > 
> > :Server could not be found.
> > 
> > Same, if I try to ping that beauty.
> > Other pages like www.heise.de worked
> > fine ... so it is not a missing DNS
> > configuration.
> 
> http://downforeveryoneorjustme.com/
> 
> traceroute startpage.com
> 
> ping -c 3 startpage.com 
> 
> nslookup startpage.com
> 
> dig ANY startpage.com
> 
> should show if it is an IP address problem, or a DNS resolution problem. 
> 
> -- 
> Regards,
> Mick


Hi Mick,

Thanks for your help ! :)

since 

ping startpage.com

results in "unknown host" all the commands
will not be able to resolve startpage.com.

By the way:

dig ANY startpage.com

results in nothing even on my working old root.

Cheers
Meino







Re: [gentoo-user] Re: fonts mostly inaccessable to xterm

2017-03-05 Thread Corbin Bird
On 03/05/2017 06:52 PM, Harry Putnam wrote:
> Corbin Bird  writes:
> 
>>
>> Have you tried : xterm -fa "9x15B-ISO8859-1"?
> 
> I mentioned that the -fa switch was not working at all.
> 
> I've since discovered that the xterms I had were compiled with useflag
> truetype disabled .. so `-truetype' Which meant xterm was compiled
> without support for -fa
> 
>> Note : that works on XTerm v325 ( tested ).
> 
> I've recompiled xterm with useflag truetype enabled and now I have the
> -fa flag so I can run the command you mentioned above now.
> 
> That is a nice looking font... a little big on my view but
> 
> I see something a bit off here... trying to get a smaller font of the
> same type I went clear down to 4x6... but those all look just like
> the "9x15B-ISO8859-1"
> 
>   xterm -fa 4x6-ISO8859-1
> 
> Does not say anything by way of error or explanation just shows a
> terminal with the same font displayed as "9x15B-ISO8859-1"
> 
> That can't be a desirable outcome.
> 
> It must just be displaying the same size from 9x 8x 7x 6x 5x 4x. and
> doing so silently.
> 
> I'm not running a font server.
> 
>> The Xorg Xft font server docs specifically show how to set the "default"
>> font in Xterm. Look for the section 'Configuring applications'
>>
>> Reference Link :
>>
>>> https://www.x.org/releases/X11R7.7/doc/xorg-docs/fonts/fonts.html
> 
> Thanks for the link... much as I been googling I'm surprised I did not
> see that one already... it looks quite thorough.
> 
> 


The Xft server is really 'fontconfig'. No daemon running at all.

---

Compile with both USE flags "truetype unicode" and the local USE flag
"toolbar".

That will give you control of the font size.
( xterm -> VT Fonts, uxterm -> Unicode Fonts )

---

Reference Links :
( Use flags )
https://packages.gentoo.org/packages/x11-terms/xterm

( XTerm FAQ )
http://invisible-island.net/xterm/xterm.faq.html

( Frequent problems )
http://invisible-island.net/xterm/xterm.faq.html#frequent_problems

( Scaled Fonts )
http://invisible-island.net/xterm/xterm.faq.html#scaled_font

Corbin







Re: [gentoo-user] 32 bit firefox on 64 bit system

2017-03-05 Thread R0b0t1
On Sat, Mar 4, 2017 at 4:22 AM, Jorge Almeida  wrote:
> Is it possible?
>

Yes, the most straightforward way I know of is to use crossdev to
create an i[3456]86 GCC and compile it with the corresponding
cross-emerge executable. It will then install to /usr/$ARCH and you
should be able to copy it to your root.

> Background: some time ago I converted my atom 330 system (ASUS ION) to
> 64 bits. RAM is about 3.3GB, but usage never approaches the limit. My
> problem is that firefox went snail. chromium seems OK (I can't recall
> whether it was faster on 32 bits, but anyway the difference is small).
>
> Firefox runs OK on a faster computer (i3) in the same LAN (also 64
> bits). I assume the problem is CPU or MO specific.
>
> I thought of using a 32 bit firefox, while keeping a 64 bit system. I
> use a 64 bit custom kernel with support for 32 bit binaries. The
> question is, how to compile firefox? (It is OK if I have to recompile
> basic libraries, as long as this is stable...)
>
> TIA
>
> Jorge Almeida
>

I'm inclined to disagree with your determination that switching to a
64bit OS caused the slowdown, but, at the same time, you're the one
who was there to notice the correlation. If your determination is
correct it may be best to go back to a 32bit system - unlike ARM64
processors, which seem to suffer spectacularly when operating in 32bit
- early x86_64 processors may not have a penalty or be faster in the
more restricted mode.

When this kind of question comes up I tend to bring up the opportunity
to upgrade the computer as well. This tends to have many benefits in
regards to power usage and overall system responsiveness, but I
understand if it's not possible. I would point out that technology is
usually amortized over a 3 year period and conventional wisdom
dictates if you keep a computer longer than that as a business you are
losing money due to opportunity cost of using and maintaining older
and slower hardware.

R0b0t1.



[gentoo-user] Re: fonts mostly inaccessable to xterm

2017-03-05 Thread Harry Putnam
Corbin Bird  writes:

>
> Have you tried : xterm -fa "9x15B-ISO8859-1"?

I mentioned that the -fa switch was not working at all.

I've since discovered that the xterms I had were compiled with useflag
truetype disabled .. so `-truetype' Which meant xterm was compiled
without support for -fa

> Note : that works on XTerm v325 ( tested ).

I've recompiled xterm with useflag truetype enabled and now I have the
-fa flag so I can run the command you mentioned above now.

That is a nice looking font... a little big on my view but

I see something a bit off here... trying to get a smaller font of the
same type I went clear down to 4x6... but those all look just like
the "9x15B-ISO8859-1"

  xterm -fa 4x6-ISO8859-1

Does not say anything by way of error or explanation just shows a
terminal with the same font displayed as "9x15B-ISO8859-1"

That can't be a desirable outcome.

It must just be displaying the same size from 9x 8x 7x 6x 5x 4x. and
doing so silently.

I'm not running a font server.

> The Xorg Xft font server docs specifically show how to set the "default"
> font in Xterm. Look for the section 'Configuring applications'
>
> Reference Link :
>
>> https://www.x.org/releases/X11R7.7/doc/xorg-docs/fonts/fonts.html

Thanks for the link... much as I been googling I'm surprised I did not
see that one already... it looks quite thorough.




[gentoo-user] Re: fonts mostly inaccessable to xterm

2017-03-05 Thread Harry Putnam
Corbin Bird  writes:

[...]

Harry wrote:


[...]

>> googling for hours on this I find xterm can understand a different
>> switch  `xterm -fa bla-bla'
>> 
>> However, xterm as installed from portage does not understand that
>> switch at all.
>> 
>> Some of the googling mentioned that xterm has to have that ability
>> compiled in, so I wondered if our xterm is compiled for that option?

A very feeble light almost came on above...

[...]


Harry Putnam  writes:

> Corbin Bird  writes:
>
> [...]
>
>> Please clarify ...
>> ... if this is a console only boot ( in vm ),
>> ... if this is a GUI Desktop ( in vm ),
>> and/or specific xterm ( i.e "x11-terms/xterm" ).

Harry responds:
> This is a full X host running lxde for desktop
> The xterm I speak of is the real McCoy .. the one Thomas Dickey has
> maintained since mid to late 90s.
>
> In this case: x11-terms/xterm version 327 But I just noticed when
> pretend emerge just now to see what the use flags were... I see it
> defaults to -truetype use flag... which may be significant.
>
> I'm re-emerging with USE=truetype might make some difference.
>
> But still would not explain the fonts that are not true type failing
> to load.
>
> Do you know if some EXTRA_ECONF or something is needed to make xterm
> recognize its -fa switch?
>
> I've seen in several places that -fa font-name is used instead of -fn
> font-name

Hitting all around it ... finally I noticed that xterm compiles with
Use flag `-truetype'

That feeble light finally took on some strength,

I set [...] package.use/xterm
With contents: `x11-terms/xterm truetype'

re-emerged xterm.

And now I'm happily loading fonts with the -fa switch.

xterm -fa Inconsolata-Regular.ttf [...] and away it goes .. and a fine
looking font it is too.




Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Dale
Marc Joliet wrote:
> On Sonntag, 5. März 2017 23:57:11 CET Dale wrote:
>> the...@sys-concept.com wrote:
> [...] 
>>> Can I remove System.map files from /boot partition?
>>> I don't have any reference to these files in grub.conf.
> [...]
>> I'm pretty sure grub uses that file.  I've never tested the theory.
> FTR: were this GRUB *2*, I'd say I'm pretty sure it doesn't, based on the 
> fact 
> that "System.map" doesn't show up in the GRUB info manual (which mentions 
> "device map" files, which the System.map file is not) and the fact that I 
> stopped installing it into /boot/, so I know that my systems boot without it. 
>  
> I don't know about the old GRUB, though, but I strongly suspect it doesn't 
> use 
> it, either.
>
> Quite frankly, I don't know how it would be useful for booting (it looks 
> somewhat like objdump output).  A quick "ag System.map" in the kernel sources 
> leads me to believe that it is solely a debugging aid.
>
> [snip other stuff]
>
> Greetings

If it were grub2, I think you are right.  I think the old version of
grub does use that tho.  I think there is another file there that is
needed too.  It's been a while since I used the old grub and I don't see
it in my directory anymore.  I think those get installed when running
one of the grub commands. 

Dale

:-)  :-) 





Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Dale
the...@sys-concept.com wrote:
> On 03/05/2017 03:57 PM, Dale wrote:
>
>>
>> I'm pretty sure grub uses that file.  I've never tested the theory.
>>
>> Why such a small /boot?  My OS is installed on a fairly small 160GB hard
>> drive.  I made /boot about 400MBs and later wished it was bigger.  I
>> later wanted to put a ISO image there for sysrescue.  If I were to set
>> up a new system now with that same size or larger drive, I'd likely make
>> /boot 1GB and maybe even 2GBs in size.  The amount of space is not that
>> large compared to the size of the hard drive.  If one is pressed to save
>> space that bad on a system, maybe they need a larger drive?? 
>>
>> You mentioned following a guide on that size.  I have to ask, just how
>> old was that guide?  I looked at the Gentoo install guide, it suggests
>> 128MBs for /boot, which I think is to small.  Whatever guide you were
>> using, it must be old and need some updating.  I'm not sure I'd follow
>> that one until it was. 
>>
>> Dale
>>
>> :-)  :-) 
> The System.map is needed, especially by VirtualBox so getting rid of
> this file is not a good idea.
> Yes, now it the /boot partition is 128MB but back few years ago was 30MB
>
> If I'll be redoing it I'll make it 1GB
>
> --
> Thelma
>
>


I recall when I first installed Linux.  That was back in the Mandrake
days, 9.1 I think it was.  One thing I learned first, check the dates of
howtos.  If it is a year or two old, at least double check everything
before following it.  If it is more than a few years old, find something
newer if at all possible.  Linux is a moving target.  Howtos and other
docs can get outdated pretty fast. 

One thing about this, you have learned some things and know what to do
different.  Trust me, I've been there.  Every time I redo something, I
get closer to perfection.  I figure the day before I die, I'll get all
the way there.  ;-) 

Dale

:-)  :-) 



Re: [gentoo-user] No room left on /boot

2017-03-05 Thread thelma
On 03/05/2017 04:51 PM, Neil Bothwick wrote:
> On Sun, 05 Mar 2017 23:22:52 +, Mick wrote:
> 
>> 4. Do not create a new partition for boot, just copy the /boot
>> filesystem into / and comment out the boot partition from fstab.
>> You'll need to also edit your /boot/grub/grub.conf
> 
> You will also need to run the legacy equivalent of grub-install again to
> point the MBR to the new location.
> 
> I'd say this was the best option for you, there are many reasons for
> having a separate /boot but none of them are particularly compelling in
> your situation.

I don't know how would it change.

Original instruction is:
grub-install /dev/sda

/dev/sda3   /boot   ext4noatime 0 1
/dev/sda3   /   ext4noatime 0 1

--
Thelma
 
 



Re: [gentoo-user] No room left on /boot

2017-03-05 Thread thelma
On 03/05/2017 03:57 PM, Dale wrote:
> the...@sys-concept.com wrote:
>> On 03/05/2017 02:33 PM, the...@sys-concept.com wrote:
>>> After upgrading my machine. I rebooted, everything went as planned.
>>> So I decided to upgrade to a newer kernel.  I was using:
>>> linux-3.10.7-gentoo-r1
>>>
>>> and decided to switch to:
>>> linux-4.9.6-gentoo-r1
>>>
>>> I've done kernel upgrade many, many times so it was a routine procedure. 
>>> When I re-booted the last thing on the screen were letter:
>>>
>>> "GRUB" and blank screen, not even a kernel selection.
>>> I scramble, boot strap the system and copied two file in /boot/ 
>>> kernel-old --> kernel-current
>>> System.map-old --> System.map-current
>>>
>>> I was under impression that something is wrong with the current (newest 
>>> kernel). But it seems to me I run out of room on the /boot partition.
>>>
>> [snip]
>>> -rw-r--r-- 1 root root 2.9M Mar  5 11:03 System.map-current
>>> -rw-r--r-- 1 root root 2.9M Mar  5 10:12 System.map-old
>> [snip]
[snip]
> 
> 
> I'm pretty sure grub uses that file.  I've never tested the theory.
> 
> Why such a small /boot?  My OS is installed on a fairly small 160GB hard
> drive.  I made /boot about 400MBs and later wished it was bigger.  I
> later wanted to put a ISO image there for sysrescue.  If I were to set
> up a new system now with that same size or larger drive, I'd likely make
> /boot 1GB and maybe even 2GBs in size.  The amount of space is not that
> large compared to the size of the hard drive.  If one is pressed to save
> space that bad on a system, maybe they need a larger drive?? 
> 
> You mentioned following a guide on that size.  I have to ask, just how
> old was that guide?  I looked at the Gentoo install guide, it suggests
> 128MBs for /boot, which I think is to small.  Whatever guide you were
> using, it must be old and need some updating.  I'm not sure I'd follow
> that one until it was. 
> 
> Dale
> 
> :-)  :-) 

The System.map is needed, especially by VirtualBox so getting rid of
this file is not a good idea.
Yes, now it the /boot partition is 128MB but back few years ago was 30MB

If I'll be redoing it I'll make it 1GB

--
Thelma



Re: [gentoo-user] No room left on /boot

2017-03-05 Thread thelma
On 03/05/2017 04:22 PM, Mick wrote:
> On Sunday 05 Mar 2017 16:57:11 Dale wrote:
>> the...@sys-concept.com wrote:
>>> On 03/05/2017 02:33 PM, the...@sys-concept.com wrote:
[snip]
>>
>> I'm pretty sure grub uses that file.  I've never tested the theory.
>>
>> Why such a small /boot?  My OS is installed on a fairly small 160GB hard
>> drive.  I made /boot about 400MBs and later wished it was bigger.  I
>> later wanted to put a ISO image there for sysrescue.  If I were to set
>> up a new system now with that same size or larger drive, I'd likely make
>> /boot 1GB and maybe even 2GBs in size.  The amount of space is not that
>> large compared to the size of the hard drive.  If one is pressed to save
>> space that bad on a system, maybe they need a larger drive??
>>
>> You mentioned following a guide on that size.  I have to ask, just how
>> old was that guide?  I looked at the Gentoo install guide, it suggests
>> 128MBs for /boot, which I think is to small.  Whatever guide you were
>> using, it must be old and need some updating.  I'm not sure I'd follow
>> that one until it was.
>>
>> Dale
>>
>> :-)  :-)
> 
> Yes, back in the GRUB legacy days boot partition was suggested to be 
> something 
> like 30MB I recall.  However, things have moved on and kernels got bigger 
> since then.

Thanks for pointing it out. The box is several years old and as you pointing it 
out the guidelines those days were 30MB 

 
> Despite this, on an old box using GRUB legacy I have 2 kernel images, two 
> System files, two config files.  I also have installed memtest, which in an 
> isolinux directory on its own is taking up 11MB.  My boot partition is 46MB, 
> but only 33MB is used.  If I didn't have memtest installed, then my 2x 
> kernel, 
> System and config files would fit in less than 20MB.
> 
> Do you have anything else in there you have not accounted for?  For example 
> how large is this /boot/grub/splash.xpm.gz of yours?

That file is very small:
34K Mar  5 11:46 /boot/grub/splash.xpm.gz

> 
> There's different ways you can hack at this problem:
> 
> 1. What Alan said.
> 
> 2. Tar everything out of the whole installation, resize/delete/recreate 
> partitions, move everything back.  Not as slow and painful as Alan spoke of.
> 
> 3. Create a new partition at the end of the disk, large enough for boot, 
> after 
> you resize the last partition to free up some space.
> 
> 4. Do not create a new partition for boot, just copy the /boot filesystem 
> into 
> / and comment out the boot partition from fstab.  You'll need to also edit 
> your /boot/grub/grub.conf

I like your solution #4. Will it work?

Current fstab:
/dev/sda1   /boot   ext2noauto,noatime  1 2
/dev/sda3   /   ext4noatime 0 1

Change to:
/dev/sda3   /boot   ext4noatime 0 1
/dev/sda3   /   ext4noatime 0 1

Copy from /dev/sda1 "/boot" to /dev/sda3 /boot

grub.conf:
kernel /boot/kernel-current root=/dev/sda3 vga=normal

Since fstab is pointing to sda3 I don't think I need to change anything.


> 
> 5. Boot with a LiveCD, delete/move old kernel and/or any unnecessary files, 
> check /boot/grub/grub.conf, reboot.
> 
> Any of the above will work, but some make more sense than others depending on 
> your use case for this particular installation.
> 

--
Thelma



Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Neil Bothwick
On Sun, 05 Mar 2017 23:22:52 +, Mick wrote:

> 4. Do not create a new partition for boot, just copy the /boot
> filesystem into / and comment out the boot partition from fstab.
> You'll need to also edit your /boot/grub/grub.conf

You will also need to run the legacy equivalent of grub-install again to
point the MBR to the new location.

I'd say this was the best option for you, there are many reasons for
having a separate /boot but none of them are particularly compelling in
your situation.


-- 
Neil Bothwick

- How many surrealists does it take to change a light bulb?
- Two: one to hold the giraffe, the other to fill the bathtub with
  lots of brightly colored machine tools.


pgptzufVMJTMS.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Marc Joliet
On Sonntag, 5. März 2017 23:57:11 CET Dale wrote:
> the...@sys-concept.com wrote:
[...] 
> > Can I remove System.map files from /boot partition?
> > I don't have any reference to these files in grub.conf.
[...]
> I'm pretty sure grub uses that file.  I've never tested the theory.

FTR: were this GRUB *2*, I'd say I'm pretty sure it doesn't, based on the fact 
that "System.map" doesn't show up in the GRUB info manual (which mentions 
"device map" files, which the System.map file is not) and the fact that I 
stopped installing it into /boot/, so I know that my systems boot without it.  
I don't know about the old GRUB, though, but I strongly suspect it doesn't use 
it, either.

Quite frankly, I don't know how it would be useful for booting (it looks 
somewhat like objdump output).  A quick "ag System.map" in the kernel sources 
leads me to believe that it is solely a debugging aid.

[snip other stuff]

Greetings
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Sébastien Picavet
Hi,

Le dim 05 mar, 14:33:03 the...@sys-concept.com a écrit :
> What I my options to reduce kernel size or increase /boot partition?

You can use XZ compression:
config KERNEL_XZ
bool "XZ"
depends on HAVE_KERNEL_XZ
help
  XZ uses the LZMA2 algorithm and instruction set specific
  BCJ filters which can improve compression ratio of executable
  code. The size of the kernel is about 30% smaller with XZ in
  comparison to gzip. On architectures for which there is a BCJ
  filter (i386, x86_64, ARM, IA-64, PowerPC, and SPARC), XZ
  will create a few percent smaller kernel than plain LZMA.

> Can I remove System.map files from /boot partition?

I have never used this file. You need it for debugging purpose only (as I know).

You can achieve this with Grub2 ;)
# du -sh /boot/
9,6M/boot/

-- 
Cordialement,
Sébastien P.



Re: [gentoo-user] No room left on /boot

2017-03-05 Thread thelma
On 03/05/2017 03:19 PM, Alan McKinnon wrote:
> On 05/03/2017 23:33, the...@sys-concept.com wrote:
>> After upgrading my machine. I rebooted, everything went as planned.
>> So I decided to upgrade to a newer kernel.  I was using:
>> linux-3.10.7-gentoo-r1
>>
>> and decided to switch to:
>> linux-4.9.6-gentoo-r1
>>
>> I've done kernel upgrade many, many times so it was a routine procedure. 
>> When I re-booted the last thing on the screen were letter:
>>
>> "GRUB" and blank screen, not even a kernel selection.
>> I scramble, boot strap the system and copied two file in /boot/ 
>> kernel-old --> kernel-current
>> System.map-old --> System.map-current
> 
> You could do this:
> 
> Boot into the old kernel
> Delete the new kernel from /boot
> Fix space issues with /boot
> Re-install new kernel. This goes quick, it's already built in /usr/src
> 
[snip]
> 
> 
> So, it is possible to grow /boot. I have done it many times. It is
> tedious, boring and usually takes about 3 days longer than I have time
> to spare and involves me using all spare samba shares and portable
> drives I have
> 
> Considering your general state of knowledge and the sort of mistakes you
> are making, I would advise you to backup your world file and
> /etc/portage. Then trash that VM and start over, this time making
> sensible choices about things like space for /boot

1.)
At this point the only quick solution is to move the old kernel and
System.map to "/" partition.  In case I need it I can always boot-strap
the system and copy the old file to "/boot"

2.) A permanent fix would be as you suggested, backup:
"world"
/etc (complete folder) to a another box, and re-install.

Since this is the same box, same processor.
Is it possible to "boot-strap" the current system, copy entire
"/"-partition to another box over ssh.

Fix the partition sizes and copy back the entire "/"- back to current box.
It would save me all the compiling time.

--
Thelma





Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Mick
On Sunday 05 Mar 2017 16:57:11 Dale wrote:
> the...@sys-concept.com wrote:
> > On 03/05/2017 02:33 PM, the...@sys-concept.com wrote:
> >> After upgrading my machine. I rebooted, everything went as planned.
> >> So I decided to upgrade to a newer kernel.  I was using:
> >> linux-3.10.7-gentoo-r1
> >> 
> >> and decided to switch to:
> >> linux-4.9.6-gentoo-r1
> >> 
> >> I've done kernel upgrade many, many times so it was a routine procedure.
> >> When I re-booted the last thing on the screen were letter:
> >> 
> >> "GRUB" and blank screen, not even a kernel selection.
> >> I scramble, boot strap the system and copied two file in /boot/
> >> kernel-old --> kernel-current
> >> System.map-old --> System.map-current
> >> 
> >> I was under impression that something is wrong with the current (newest
> >> kernel). But it seems to me I run out of room on the /boot partition.> 
> > [snip]
> > 
> >> -rw-r--r-- 1 root root 2.9M Mar  5 11:03 System.map-current
> >> -rw-r--r-- 1 root root 2.9M Mar  5 10:12 System.map-old
> > 
> > [snip]
> > 
> > Can I remove System.map files from /boot partition?
> > I don't have any reference to these files in grub.conf.
> > 
> > default 0
> > timeout 30
> > splashimage=(hd0,0)/boot/grub/splash.xpm.gz
> > 
> > title Gentoo Current Kernel
> > root (hd0,0)
> > kernel /boot/kernel-current root=/dev/sda3 vga=normal
> > 
> > title Gentoo Old Kernel
> > root (hd0,0)
> > kernel /boot/kernel-old root=/dev/sda3
> > 
> > This would save me almost 6Mb
> > 
> > --
> > Thelma
> > 
> > .
> 
> I'm pretty sure grub uses that file.  I've never tested the theory.
> 
> Why such a small /boot?  My OS is installed on a fairly small 160GB hard
> drive.  I made /boot about 400MBs and later wished it was bigger.  I
> later wanted to put a ISO image there for sysrescue.  If I were to set
> up a new system now with that same size or larger drive, I'd likely make
> /boot 1GB and maybe even 2GBs in size.  The amount of space is not that
> large compared to the size of the hard drive.  If one is pressed to save
> space that bad on a system, maybe they need a larger drive??
> 
> You mentioned following a guide on that size.  I have to ask, just how
> old was that guide?  I looked at the Gentoo install guide, it suggests
> 128MBs for /boot, which I think is to small.  Whatever guide you were
> using, it must be old and need some updating.  I'm not sure I'd follow
> that one until it was.
> 
> Dale
> 
> :-)  :-)

Yes, back in the GRUB legacy days boot partition was suggested to be something 
like 30MB I recall.  However, things have moved on and kernels got bigger 
since then.

Despite this, on an old box using GRUB legacy I have 2 kernel images, two 
System files, two config files.  I also have installed memtest, which in an 
isolinux directory on its own is taking up 11MB.  My boot partition is 46MB, 
but only 33MB is used.  If I didn't have memtest installed, then my 2x kernel, 
System and config files would fit in less than 20MB.

Do you have anything else in there you have not accounted for?  For example 
how large is this /boot/grub/splash.xpm.gz of yours?

There's different ways you can hack at this problem:

1. What Alan said.

2. Tar everything out of the whole installation, resize/delete/recreate 
partitions, move everything back.  Not as slow and painful as Alan spoke of.

3. Create a new partition at the end of the disk, large enough for boot, after 
you resize the last partition to free up some space.

4. Do not create a new partition for boot, just copy the /boot filesystem into 
/ and comment out the boot partition from fstab.  You'll need to also edit 
your /boot/grub/grub.conf

5. Boot with a LiveCD, delete/move old kernel and/or any unnecessary files, 
check /boot/grub/grub.conf, reboot.

Any of the above will work, but some make more sense than others depending on 
your use case for this particular installation.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Dale
the...@sys-concept.com wrote:
> On 03/05/2017 02:33 PM, the...@sys-concept.com wrote:
>> After upgrading my machine. I rebooted, everything went as planned.
>> So I decided to upgrade to a newer kernel.  I was using:
>> linux-3.10.7-gentoo-r1
>>
>> and decided to switch to:
>> linux-4.9.6-gentoo-r1
>>
>> I've done kernel upgrade many, many times so it was a routine procedure. 
>> When I re-booted the last thing on the screen were letter:
>>
>> "GRUB" and blank screen, not even a kernel selection.
>> I scramble, boot strap the system and copied two file in /boot/ 
>> kernel-old --> kernel-current
>> System.map-old --> System.map-current
>>
>> I was under impression that something is wrong with the current (newest 
>> kernel). But it seems to me I run out of room on the /boot partition.
>>
> [snip]
>> -rw-r--r-- 1 root root 2.9M Mar  5 11:03 System.map-current
>> -rw-r--r-- 1 root root 2.9M Mar  5 10:12 System.map-old
> [snip]
>
> Can I remove System.map files from /boot partition?
> I don't have any reference to these files in grub.conf.
>
> default 0
> timeout 30
> splashimage=(hd0,0)/boot/grub/splash.xpm.gz
>
> title Gentoo Current Kernel
> root (hd0,0)
> kernel /boot/kernel-current root=/dev/sda3 vga=normal
>
> title Gentoo Old Kernel
> root (hd0,0)
> kernel /boot/kernel-old root=/dev/sda3
>
> This would save me almost 6Mb
>
> --
> Thelma
>
> .
>


I'm pretty sure grub uses that file.  I've never tested the theory.

Why such a small /boot?  My OS is installed on a fairly small 160GB hard
drive.  I made /boot about 400MBs and later wished it was bigger.  I
later wanted to put a ISO image there for sysrescue.  If I were to set
up a new system now with that same size or larger drive, I'd likely make
/boot 1GB and maybe even 2GBs in size.  The amount of space is not that
large compared to the size of the hard drive.  If one is pressed to save
space that bad on a system, maybe they need a larger drive?? 

You mentioned following a guide on that size.  I have to ask, just how
old was that guide?  I looked at the Gentoo install guide, it suggests
128MBs for /boot, which I think is to small.  Whatever guide you were
using, it must be old and need some updating.  I'm not sure I'd follow
that one until it was. 

Dale

:-)  :-) 



Re: [gentoo-user] No room left on /boot

2017-03-05 Thread Alan McKinnon
On 05/03/2017 23:33, the...@sys-concept.com wrote:
> After upgrading my machine. I rebooted, everything went as planned.
> So I decided to upgrade to a newer kernel.  I was using:
> linux-3.10.7-gentoo-r1
> 
> and decided to switch to:
> linux-4.9.6-gentoo-r1
> 
> I've done kernel upgrade many, many times so it was a routine procedure. When 
> I re-booted the last thing on the screen were letter:
> 
> "GRUB" and blank screen, not even a kernel selection.
> I scramble, boot strap the system and copied two file in /boot/ 
> kernel-old --> kernel-current
> System.map-old --> System.map-current

You could do this:

Boot into the old kernel
Delete the new kernel from /boot
Fix space issues with /boot
Re-install new kernel. This goes quick, it's already built in /usr/src

> 
> I was under impression that something is wrong with the current (newest 
> kernel). But it seems to me I run out of room on the /boot partition.
> 
> ll -h /boot/
> total 17M
> lrwxrwxrwx 1 root root1 Dec 17  2011 boot -> .
> -rw-r--r-- 1 root root 109K Mar  5 10:20 config-current
> -rw-r--r-- 1 root root  90K Mar  5 10:13 config-old
> drwxr-xr-x 5 root root 1.0K Mar  5 11:48 grub
> -rw-r--r-- 1 root root 5.5M Mar  5 11:03 kernel-current
> -rw-r--r-- 1 root root 5.5M Mar  5 10:12 kernel-old
> drwx-- 2 root root  12K Dec 17  2011 lost+found
> -rw-r--r-- 1 root root 2.9M Mar  5 11:03 System.map-current
> -rw-r--r-- 1 root root 2.9M Mar  5 10:12 System.map-old
> 
> df -h
> /dev/sda130M   29M 0 100% /boot
> 
> When I installed the system I followed standard, installation instructions, 
> and allocated disk space accordingly in Gentoo installation instruction 
> manual.  I think it wasn't enough.

30M is not enough unless you are building for an embedded device with
flash memory for disk.
I'd consider 128M the absolute MINIMUM for a modern machine, and that's
still only 0.02% of the smallest spinning rust disk you can buy nowadays...

> 
> What I my options to reduce kernel size or increase /boot partition?

increase /boot can be done, but it's hard work and you are mostly
screwed. You have to move the next partition in order (sda2) further up
the disk leaving room for /boot to be reasonable (see end)

> 
> Since I'm using VirtualBox the only module I'm rebuilding against kernel are:
>  modules="vboxdrv vboxnetflt vboxnetadp vboxpci"
> + some Nvidia driver modules.

Not really relevant. You have 2 out-of-tree modules and possibly a very
large number of in-tree modules and none of them are in /boot

> 
> But I've notice when new kernel was building where were a lot of other 
> modules: "M" which I don't use I think. How to find them and disable them?
> Maybe it will reduce the kernel size.

Modules do not go in /boot so completely irrelevant
Modules go in /lib/modules/

> 
> The current (linux-4.9.6-gentoo-r1) kernel size : 
> -rw-r--r-- 1 root root 6.6M Mar  5 10:11 arch/x86/boot/bzImage
> -rw-r--r-- 1 root root 3.6M Mar  5 10:11 System.map
> 
> I think when I copied the new kerenl size to /boot it didn't copied correctly 
> as /boot run out of room.
> What are my other options?

temporary solution:

Go into your kernel config in /usr/src and for each kernel:
- Configure as a module everything that can be a module
- save, recompile, reinstall kernel

That will reduce your kernel space consumption by about 20%

> 
> I'm using grub-0.97-r16


So, it is possible to grow /boot. I have done it many times. It is
tedious, boring and usually takes about 3 days longer than I have time
to spare and involves me using all spare samba shares and portable
drives I have

Considering your general state of knowledge and the sort of mistakes you
are making, I would advise you to backup your world file and
/etc/portage. Then trash that VM and start over, this time making
sensible choices about things like space for /boot


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] No room left on /boot

2017-03-05 Thread thelma
On 03/05/2017 02:33 PM, the...@sys-concept.com wrote:
> After upgrading my machine. I rebooted, everything went as planned.
> So I decided to upgrade to a newer kernel.  I was using:
> linux-3.10.7-gentoo-r1
> 
> and decided to switch to:
> linux-4.9.6-gentoo-r1
> 
> I've done kernel upgrade many, many times so it was a routine procedure. When 
> I re-booted the last thing on the screen were letter:
> 
> "GRUB" and blank screen, not even a kernel selection.
> I scramble, boot strap the system and copied two file in /boot/ 
> kernel-old --> kernel-current
> System.map-old --> System.map-current
> 
> I was under impression that something is wrong with the current (newest 
> kernel). But it seems to me I run out of room on the /boot partition.
> 
[snip]
> -rw-r--r-- 1 root root 2.9M Mar  5 11:03 System.map-current
> -rw-r--r-- 1 root root 2.9M Mar  5 10:12 System.map-old
[snip]

Can I remove System.map files from /boot partition?
I don't have any reference to these files in grub.conf.

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Current Kernel
root (hd0,0)
kernel /boot/kernel-current root=/dev/sda3 vga=normal

title Gentoo Old Kernel
root (hd0,0)
kernel /boot/kernel-old root=/dev/sda3

This would save me almost 6Mb

--
Thelma



Re: [gentoo-user] Re: fonts mostly inaccessable to xterm

2017-03-05 Thread Corbin Bird
On 03/05/2017 01:58 PM, Harry Putnam wrote:
> Corbin Bird  writes:
> 
> [...]
> 
>> Please clarify ... ... if this is a console only boot ( in vm ), 
>> ... if this is a GUI Desktop ( in vm ), and/or specific xterm ( i.e
>> "x11-terms/xterm" ).
> 
> This is a full X host running lxde for desktop The xterm I speak of
> is the real McCoy .. the one Thomas Dickey has maintained since mid
> to late 90s.
> 
> In this case: x11-terms/xterm version 327 But I just noticed when 
> pretend emerge just now to see what the use flags were... I see it 
> defaults to -truetype use flag... which may be significant.
> 
> I'm re-emerging with USE=truetype might make some difference.
> 
> But still would not explain the fonts that are not true type failing 
> to load.
> 
> Do you know if some EXTRA_ECONF or something is needed to make xterm 
> recognize its -fa switch?
> 
> I've seen in several places that -fa font-name is used instead of
> -fn font-name
> 
> Here xterm calls it a bad switch or something like and fails to load 
> the font.
> 
> xterm -fa "9x15B-ISO8859-1.pcf" xterm: bad command line option "-fa"
> 
> xterm -fn "9x15B-ISO8859-1.pcf" xterm: cannot load font
> '9x15B-ISO8859-1.pcf'
> 
> And without the quotes:
> 
> xterm -fn 9x15B-ISO8859-1.pcf xterm: cannot load font
> '9x15B-ISO8859-1.pcf'
> 
> 
> 

Have you tried : xterm -fa "9x15B-ISO8859-1"?

Note : that works on XTerm v325 ( tested ).

The Xorg Xft font server docs specifically show how to set the "default"
font in Xterm. Look for the section 'Configuring applications'

Reference Link :

> https://www.x.org/releases/X11R7.7/doc/xorg-docs/fonts/fonts.html

Font Directory :
/usr/share/fonts/misc/


Corbin











[gentoo-user] No room left on /boot

2017-03-05 Thread thelma
After upgrading my machine. I rebooted, everything went as planned.
So I decided to upgrade to a newer kernel.  I was using:
linux-3.10.7-gentoo-r1

and decided to switch to:
linux-4.9.6-gentoo-r1

I've done kernel upgrade many, many times so it was a routine procedure. When I 
re-booted the last thing on the screen were letter:

"GRUB" and blank screen, not even a kernel selection.
I scramble, boot strap the system and copied two file in /boot/ 
kernel-old --> kernel-current
System.map-old --> System.map-current

I was under impression that something is wrong with the current (newest 
kernel). But it seems to me I run out of room on the /boot partition.

ll -h /boot/
total 17M
lrwxrwxrwx 1 root root1 Dec 17  2011 boot -> .
-rw-r--r-- 1 root root 109K Mar  5 10:20 config-current
-rw-r--r-- 1 root root  90K Mar  5 10:13 config-old
drwxr-xr-x 5 root root 1.0K Mar  5 11:48 grub
-rw-r--r-- 1 root root 5.5M Mar  5 11:03 kernel-current
-rw-r--r-- 1 root root 5.5M Mar  5 10:12 kernel-old
drwx-- 2 root root  12K Dec 17  2011 lost+found
-rw-r--r-- 1 root root 2.9M Mar  5 11:03 System.map-current
-rw-r--r-- 1 root root 2.9M Mar  5 10:12 System.map-old

df -h
/dev/sda130M   29M 0 100% /boot

When I installed the system I followed standard, installation instructions, and 
allocated disk space accordingly in Gentoo installation instruction manual.  I 
think it wasn't enough.

What I my options to reduce kernel size or increase /boot partition?

Since I'm using VirtualBox the only module I'm rebuilding against kernel are:
 modules="vboxdrv vboxnetflt vboxnetadp vboxpci"
+ some Nvidia driver modules.

But I've notice when new kernel was building where were a lot of other modules: 
"M" which I don't use I think. How to find them and disable them?
Maybe it will reduce the kernel size.

The current (linux-4.9.6-gentoo-r1) kernel size : 
-rw-r--r-- 1 root root 6.6M Mar  5 10:11 arch/x86/boot/bzImage
-rw-r--r-- 1 root root 3.6M Mar  5 10:11 System.map

I think when I copied the new kerenl size to /boot it didn't copied correctly 
as /boot run out of room.
What are my other options?

I'm using grub-0.97-r16

-- 
Thelma



Re: [gentoo-user] Gpgme oddity

2017-03-05 Thread Peter Humphrey
On Sunday 05 Mar 2017 15:02:52 Alan McKinnon wrote:
> On 05/03/2017 13:45, Peter Humphrey wrote:
> > Now tell me why I should expect to be thrown a wobbler like a dependency
> > conflict that cannot be resolved, on the face of it, and not at all
> > without what look like significant system changes.
> 
> Peter, someone made an oversight. Can we get over it now and move on?

Okay.

> If you want reparations, you are of course entitled to claim your 100%
> money back guarantee that never expires.

Yes, I get that. Thanks.

-- 
Regards
Peter




[gentoo-user] Re: fonts mostly inaccessable to xterm

2017-03-05 Thread Harry Putnam
Corbin Bird  writes:

[...]

> Please clarify ...
> ... if this is a console only boot ( in vm ),
> ... if this is a GUI Desktop ( in vm ),
> and/or specific xterm ( i.e "x11-terms/xterm" ).

This is a full X host running lxde for desktop
The xterm I speak of is the real McCoy .. the one Thomas Dickey has
maintained since mid to late 90s.

In this case: x11-terms/xterm version 327 But I just noticed when
pretend emerge just now to see what the use flags were... I see it
defaults to -truetype use flag... which may be significant.

I'm re-emerging with USE=truetype might make some difference.

But still would not explain the fonts that are not true type failing
to load.

Do you know if some EXTRA_ECONF or something is needed to make xterm
recognize its -fa switch?

I've seen in several places that -fa font-name is used instead of -fn
font-name

Here xterm calls it a bad switch or something like and fails to load
the font.

   xterm -fa "9x15B-ISO8859-1.pcf"
xterm: bad command line option "-fa"

 xterm -fn "9x15B-ISO8859-1.pcf"
xterm: cannot load font '9x15B-ISO8859-1.pcf'

And without the quotes:

   xterm -fn 9x15B-ISO8859-1.pcf
 xterm: cannot load font '9x15B-ISO8859-1.pcf'





Re: [gentoo-user] three quarter of network access with new root...

2017-03-05 Thread Neil Bothwick
On Sun, 05 Mar 2017 18:48:39 +, Mick wrote:

> > The copy of the udev rules of the old root into the
> > new one...give me...hnetwork access...somehow...
> > (In any case: THX A LOT FOR THAT HINT! 8)  
> 
> I am sure there was an older news item explaining the persistent NIC
> naming. You could also add an option on the kernel line which has the
> same effect, but I can't recall (without googling) what the correct
> stanza is.

net.ifnames=0


-- 
Neil Bothwick

DCE seeks DTE for mutual exchange of data.


pgpaeisbjV1Td.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] three quarter of network access with new root...

2017-03-05 Thread Mick
On Sunday 05 Mar 2017 15:51:37 tu...@posteo.de wrote:
> Hi,
> 
> The standard phrase:
> Still building...bla bla...new root...bla... :)
> 
> The copy of the udev rules of the old root into the
> new one...give me...hnetwork access...somehow...
> (In any case: THX A LOT FOR THAT HINT! 8)

I am sure there was an older news item explaining the persistent NIC naming.  
You could also add an option on the kernel line which has the same effect, but 
I can't recall (without googling) what the correct stanza is.


> Several early services, which depend on network access fail
> while booting, but a ping right after login worked.
> 
> I am able to firefox the internet now...
> 
> Which an exception: www.startpage.com
> 
> :Server could not be found.
> 
> Same, if I try to ping that beauty.
> Other pages like www.heise.de worked
> fine ... so it is not a missing DNS
> configuration.

http://downforeveryoneorjustme.com/

traceroute startpage.com

ping -c 3 startpage.com 

nslookup startpage.com

dig ANY startpage.com

should show if it is an IP address problem, or a DNS resolution problem. 

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] fonts mostly inaccessable to xterm

2017-03-05 Thread Corbin Bird
On 03/05/2017 06:41 AM, Harry Putnam wrote:
> Setup: VBox vm running gentoo(amd64) guest on a win-10 (64bit) host
>  Hardware: HP xw8600 - 2x Xeon  CPU X5450 @ 3.00GHz - 32 GB ram
> 
> I've been trying to get fonts to load into xterm most of the day.
> 
> I'm not getting anywhere.
> 
> for example:
> /usr/share/fonts shows all these:
> 
> 100dpi  corefonts  encodingsinconsolata-hellenic  misc   util
> 75dpi   cyrillic   inconsolata  liberation-fonts  urw-fonts
> 
> Probably going at this ass backwards but it seems just about none of
> thes are accessabel to an xterm
> 
> xlsfonts shows many `misc fixed' fonts that can be loaded into xterm.
> 
> But I have not found how to load any of the others.
> 
> For example: fc-list shows a whole different list of fonts.
> I tried several and none of those were loadable into xterm.
> 
> Trying by there names inside the directories above I have found none
> are recognized by xterm
> 
> Looking at the fonts.dir files .. at least most of those names look
> familiar in the format I'm used to such as this:
> 
>-misc-fixed-bold-r-normal--15-120-100-100-c-90-iso8859-1
> That one is found with xlsfonts.
> 
> Something like this from inconsolata fonts.dir file:
> 
>-misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1
> 
>   xterm -fn -misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1
> xterm: cannot load font 
> '-misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1'
> xterm: cannot load font 
> '-misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1'
> 
> trying the other kind of names there:
> 
>xterm -fn Inconsolata-Regular.ttf
>  xterm: cannot load font 'Inconsolata-Regular.ttf'
>  xterm: cannot load font 'Inconsolata-Regular.ttf'
> 
> Leave it at that for the moment...
> 
> googling for hours on this I find xterm can understand a different
> switch  `xterm -fa bla-bla'
> 
> However, xterm as installed from portage does not understand that
> switch at all.
> 
> Some of the googling mentioned that xterm has to have that ability
> compiled in, so I wondered if our xterm is compiled for that option?
> 
> And further if anyone knows what that compile option might be?
> 
> Can anyone offer some guidance here...
> 
> How to get a few of those fonts to be loadable into an xterm?
> 
> 

Please clarify ...
... if this is a console only boot ( in vm ),
... if this is a GUI Desktop ( in vm ),
and/or specific xterm ( i.e "x11-terms/xterm" ).

Corbin



[gentoo-user] three quarter of network access with new root...

2017-03-05 Thread tuxic
Hi,

The standard phrase:
Still building...bla bla...new root...bla... :)

The copy of the udev rules of the old root into the
new one...give me...hnetwork access...somehow...
(In any case: THX A LOT FOR THAT HINT! 8) 

Several early services, which depend on network access fail
while booting, but a ping right after login worked.

I am able to firefox the internet now...

Which an exception: www.startpage.com
:Server could not be found. 
Same, if I try to ping that beauty.
Other pages like www.heise.de worked
fine ... so it is not a missing DNS
configuration.


I am buffled...

I didn't setup a firewall for now.

"Unfortunately no one can be told, what the
Gentoo is, Meino -- you have to see it for yourself..." ;)

I am interesting in all red pills I can get my hands
onbut please, only the sweet ones... ;)))

Cheers
Meino





Re: [gentoo-user] Gpgme oddity

2017-03-05 Thread Alan McKinnon
On 05/03/2017 13:45, Peter Humphrey wrote:
> Now tell me why I should expect to be thrown a wobbler like a dependency 
> conflict that cannot be resolved, on the face of it, and not at all without 
> what look like significant system changes.


Peter, someone made an oversight. Can we get over it now and move on?

If you want reparations, you are of course entitled to claim your 100%
money back guarantee that never expires.

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Gpgme oddity

2017-03-05 Thread Marc Joliet
On Samstag, 4. März 2017 17:37:54 CET Peter Humphrey wrote:
> > (I may actually attempt to upgrade to KDE PIM 16.12.2, but that pulls in a
> > long tail of other packages due to QT_MINIMAL="5.7.0".)
> 
> If you do that, you may find you lose all searching ability in KMail,
> according to a current discussion on kdepim-us...@kde.org.

Well, I caved and had my desktop upgrade overnight.  I had searched for the 
threads you mentioned, and they looked more like problems caused by Debian 
packaging issues and version mismatches, so that didn't deter me.  And what do 
you know?  Search works :) .  While there are other (minor) UI issues, they 
are not enough for me to want to downgrade.  I won't be upgrading my laptop, 
though, for now at least.

Oh, one more downside: if you use kopete, you'll have to uninstall it, because 
version 16.12.2 is still based on KF 4, and thus depends on kdepimlibs, which 
blocks the upgrade.  I was only launching it out of habit at this point, so I 
don't *really* mind (though that's one of the reasons I'm not upgrading the 
laptop, so that I still have on instance of kopete to rely on if need be).

Greetings
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] fonts mostly inaccessable to xterm

2017-03-05 Thread Harry Putnam
Setup: VBox vm running gentoo(amd64) guest on a win-10 (64bit) host
 Hardware: HP xw8600 - 2x Xeon  CPU X5450 @ 3.00GHz - 32 GB ram

I've been trying to get fonts to load into xterm most of the day.

I'm not getting anywhere.

for example:
/usr/share/fonts shows all these:

100dpi  corefonts  encodingsinconsolata-hellenic  misc   util
75dpi   cyrillic   inconsolata  liberation-fonts  urw-fonts

Probably going at this ass backwards but it seems just about none of
thes are accessabel to an xterm

xlsfonts shows many `misc fixed' fonts that can be loaded into xterm.

But I have not found how to load any of the others.

For example: fc-list shows a whole different list of fonts.
I tried several and none of those were loadable into xterm.

Trying by there names inside the directories above I have found none
are recognized by xterm

Looking at the fonts.dir files .. at least most of those names look
familiar in the format I'm used to such as this:

   -misc-fixed-bold-r-normal--15-120-100-100-c-90-iso8859-1
That one is found with xlsfonts.

Something like this from inconsolata fonts.dir file:

   -misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1

  xterm -fn -misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1
xterm: cannot load font 
'-misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1'
xterm: cannot load font 
'-misc-inconsolata-medium-r-normal--0-0-0-0-m-0-iso8859-1'

trying the other kind of names there:

   xterm -fn Inconsolata-Regular.ttf
 xterm: cannot load font 'Inconsolata-Regular.ttf'
 xterm: cannot load font 'Inconsolata-Regular.ttf'

Leave it at that for the moment...

googling for hours on this I find xterm can understand a different
switch  `xterm -fa bla-bla'

However, xterm as installed from portage does not understand that
switch at all.

Some of the googling mentioned that xterm has to have that ability
compiled in, so I wondered if our xterm is compiled for that option?

And further if anyone knows what that compile option might be?

Can anyone offer some guidance here...

How to get a few of those fonts to be loadable into an xterm?




Re: [gentoo-user] Gpgme oddity

2017-03-05 Thread Peter Humphrey
On Sunday 05 Mar 2017 02:10:09 Alon Bar-Lev wrote:

> It was tested, otherwise how could the conflict with kde-apps/gpgmepp
> and kde-apps/kdepimlibs:4 been known?

Think of it from my point of view. I followed the official guide to 
installing a stable KDE system on a plasma profile. I don't have any odd 
extras, omissions or other departures from the ordinary KDE experience. The 
only other program I run is BOINC (whence the wxGTK webkit USE flag below).  
I didn't make any USE changes except what was necessary to get the system 
working. Here is the entirety of my USE flags:

# make.conf: 
USE="-bluetooth -btrfs -fortran -gcj -geoloc -geolocation -gnome -iodbc 
   -ldap -lirc -nis -odbc -systemd -thin -wifi -wireless -xinerama 
   gpm handbook icu symlink" 

# package.use: 
app-emulation/virtualbox  additions extensions java python 
dev-lang/python   sqlite 
kde-apps/kdesu-handbook 
media-libs/libvpx svc 
media-libs/mesa   -vaapi 
net-misc/iputils  -caps -filecaps 
sys-devel/llvmclang video_cards_radeon 
sys-kernel/linux-firmware savedconfig 
x11-libs/libdrm   video_cards_radeon 
x11-libs/wxGTKwebkit

That must be as close as can be to "standard", surely.

I use KMail but not the rest of kde-pim.

Now tell me why I should expect to be thrown a wobbler like a dependency 
conflict that cannot be resolved, on the face of it, and not at all without 
what look like significant system changes.

By the way, I did check for bugs before posting the first time, but I didn't 
expect to find anything useful in a stabilisation request - I never have 
before - so I didn't look at it. Mea culpa to that extent.

-- 
Regards
Peter




Re: [gentoo-user] Gpgme oddity

2017-03-05 Thread Neil Bothwick
On Sun, 5 Mar 2017 02:10:09 +0200, Alon Bar-Lev wrote:

> > I just can't believe it. They're issuing a general-purpose tool, to
> > work everywhere, and they don't test it on a representative sample of
> > systems?  
> 
> It was tested, otherwise how could the conflict with kde-apps/gpgmepp
> and kde-apps/kdepimlibs:4 been known?
> 
> Upstream has merge some external libraries into its own code base and
> provided an option to disable these exactly for this use case.
> Adding USE="-cxx -qt5" or masking this package provides remedy for
> those who still use kdepimlibs:4, both are standard gentoo procedures.
> As apposed to what you present in previous messages, a "standard kde"
> system may or may not include kdepimlibs:4. We delayed too much
> stabilization of gpgme to allow proper resolution, however, no reason
> to delay any more as no issue for these that do not use kdepimlibs:4
> and for these who use a simple USE change or mask resolves the issue.

It seems to me that this should have been handled with a news item.


-- 
Neil Bothwick

Windows Error #05: Nonexisent error. This cannot really be happening


pgpwF1QjrhUfR.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Half of a network access with new root build...

2017-03-05 Thread Neil Bothwick
On Sun, 5 Mar 2017 09:59:29 +0100, tu...@posteo.de wrote:

> yepp...it is...since the big bang... :) : ))
> 
> Neil Bothwick  [17-03-05 09:56]:
> > If you can start the network manually, the modules message must
> > relate to something else. Is net.eth0 in you default runlevel? 

And is the interface called eth0?

What does /var/log/rc.log show? You may need to enable it in /etc/rc.conf.


-- 
Neil Bothwick

Top Oxymorons Number 7: Definite maybe


pgpJjkPsoptro.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Gpgme oddity

2017-03-05 Thread Mick
On Sunday 05 Mar 2017 03:28:46 Dale wrote:
> Mick wrote:
> > make[2]: *** No rule to make target '/usr/lib64/libgpgme-pthread.so'
> 
> Roach report filed here:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=600510
> 
> May want to follow that or figure out if there is a workaround.  I think
> based on a couple comments, a older package works.
> 
> Dale
> 
> :-)  :-)

Thank you both.  I must remember to search bugzilla before I post, but like 
others I thought if a package is released as stable, then dependent packages 
would have been tested as part of @preserved-rebuild at least.  Perhaps this 
box with no-multilib is an edge case, because other boxen I've updated did not 
have this problem.

The workaround I used is to symlink /usr/lib64/libgpgme-pthread.so to 
libgpgme.so as suggested in the bug report.  Masking the latest gpgme would 
also work, but then I'll be working against portage than with it.  Given that 
a lot of packages depend on gpgme and they are still in the tree as KDE-4, 
perhaps gpgme should not have been marked stable, or at least it could have 
been released with an enotice to advice users how to work around these bugs.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Gpgme oddity

2017-03-05 Thread Dale
Mick wrote:
> make[2]: *** No rule to make target '/usr/lib64/libgpgme-pthread.so'


Roach report filed here:

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

May want to follow that or figure out if there is a workaround.  I think
based on a couple comments, a older package works. 

Dale

:-)  :-) 



Re: [gentoo-user] Gpgme oddity

2017-03-05 Thread Alon Bar-Lev
On 5 March 2017 at 11:06, Mick  wrote:
> I guess it wasn't tested on a no-multilib as I'm running on a box here.  Kmail
> needs to be rebuilt, but it fails like so:

Can you please disable cxx and qt5 USE and use the old kde gpgme
library instead?

Thanks!



Re: [gentoo-user] Half of a network access with new root build...

2017-03-05 Thread Mick
On Sunday 05 Mar 2017 09:59:29 tu...@posteo.de wrote:

> Neil Bothwick  [17-03-05 09:56]:
> > If you can start the network manually, the modules message must relate to
> > something else. Is net.eth0 in you default runlevel?> 

> Hi Neil,
> 
> yepp...it is...since the big bang... :) : ))
> 

There was a thread-fest lately on the persistent/predictable interface naming 
of NICs.  Check what the kernel recognises your interface as and then create 
the necessary symlink to /etc/init.d/net.lo, or copy /etc/udev/rules.d/70-
persistent-net.rules from your old box to the new, or use some of the other 
tricks to make sure your interface is always set as eth0.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Gpgme oddity

2017-03-05 Thread Mick
On Sunday 05 Mar 2017 02:10:09 Alon Bar-Lev wrote:
> On 5 March 2017 at 00:59, Peter Humphrey  wrote:
> > I just can't believe it. They're issuing a general-purpose tool, to work
> > everywhere, and they don't test it on a representative sample of systems?
> 
> It was tested, otherwise how could the conflict with kde-apps/gpgmepp
> and kde-apps/kdepimlibs:4 been known?
> 
> Upstream has merge some external libraries into its own code base and
> provided an option to disable these exactly for this use case.
> Adding USE="-cxx -qt5" or masking this package provides remedy for
> those who still use kdepimlibs:4, both are standard gentoo procedures.
> As apposed to what you present in previous messages, a "standard kde"
> system may or may not include kdepimlibs:4. We delayed too much
> stabilization of gpgme to allow proper resolution, however, no reason
> to delay any more as no issue for these that do not use kdepimlibs:4
> and for these who use a simple USE change or mask resolves the issue.
> 
> > I just can't believe it. They're issuing a general-purpose tool, to work
> > everywhere, and they don't test it on a representative sample of systems?
> 
> Indeed, we provide general-proposed tool that with correct setup can
> work in most cases as supported as outlined by the designated
> upstreams, while bridging the gaps and permutations as much as we can.
> 
> Regards,
> Alon

I guess it wasn't tested on a no-multilib as I'm running on a box here.  Kmail 
needs to be rebuilt, but it fails like so:

cd /var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211_build/messageviewer
 
&& /usr/bin/x86_64-pc-linux-gnu-g++  -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=56 -
DKDEPIM_STORAGESERVICE_GDRIVE -DKDE_DEPRECATED_WARNINGS -
DMAKE_MESSAGEVIEWER_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -
DQT_NO_STL -DQT_USE_QSTRINGBUILDER -D_BSD_SOURCE -D_DEFAULT_SOURCE -
D_REENTRANT -D_XOPEN_SOURCE=500 -I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211_build/messageviewer
 
-I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211/messageviewer -
I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211 -
I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211_build -
I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211/grantleetheme -
I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211/messagecore -
I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211/pimcommon -
I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211/libkdepim -
I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211/libkleo -
I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211/kaddressbookgrantlee
 
-I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -
I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -
I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -
I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -
I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -
I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -
I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -
I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -
I/usr/share/qt4/mkspecs/default -I/usr/include/qt4   -DQT_NO_DEBUG -DNDEBUG -
march=native -O2 -pipe -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -
DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-
threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -
fexceptions -UQT_NO_EXCEPTIONS -fPIC   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o 
CMakeFiles/messageviewer.dir/adblock/adblockblockableitemswidget.cpp.o -c 
/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211/messageviewer/adblock/adblockblockableitemswidget.cpp
[ 55%] Building CXX object 
messageviewer/CMakeFiles/messageviewer.dir/globalsettings_base.cpp.o
cd /var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211_build/messageviewer
 
&& /usr/bin/x86_64-pc-linux-gnu-g++  -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=56 -
DKDEPIM_STORAGESERVICE_GDRIVE -DKDE_DEPRECATED_WARNINGS -
DMAKE_MESSAGEVIEWER_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -
DQT_NO_STL -DQT_USE_QSTRINGBUILDER -D_BSD_SOURCE -D_DEFAULT_SOURCE -
D_REENTRANT -D_XOPEN_SOURCE=500 -I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211_build/messageviewer
 
-I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211/messageviewer -
I/var/tmp/portage/kde-
apps/kmail-4.14.11_pre20160211/work/kmail-4.14.11_pre20160211 -
I/var/tmp/portage/kde-

Re: [gentoo-user] Half of a network access with new root build...

2017-03-05 Thread tuxic

Hi Neil,

yepp...it is...since the big bang... :) : ))

Neil Bothwick  [17-03-05 09:56]:
> If you can start the network manually, the modules message must relate to 
> something else. Is net.eth0 in you default runlevel? 
> 
> On 5 March 2017 08:05:31 GMT+00:00, tu...@posteo.de wrote:
> >Hi,
> >
> >I have sent this question previously but due to hickup with
> >my old mail address the sent message or a reply to it get 
> >lost in between somewhere...
> >
> >Robin helped me a lot to get out of this mail address trouble and
> >helped me to get subscribed to the list again with my new mail
> >address: tu...@posteo.de.  THX Robin! :)
> >
> >I am still building my new root (this mail is written
> >being in/at/on my old root).
> >
> >I am already able to boot (not only chroot to) into my new root, start
> >X11 automagically and have back my desktop as it was before.
> >
> >But the boot process alone does not connect me to the internet.
> >The output mumbles something of "missing modules" and such,
> >but the kernel is the same for my old and my new root. 
> >I build the kernel on both roots the same way with the same
> >config.
> >
> >I compared the output of lsmod on both roots and they
> >are identical in regards to network related stuff.
> >
> >To get network after boot I have to do
> >
> >ip link set 
> >
> >and start /etc/init.d/dhcpcd manually and TADA! there it
> >is.
> >
> >I copied /etc/conf.d/net from my old to my new root, so this
> >is also the same.
> >
> >I haven't been able to figure out, what is missing or wrong.
> >
> >If anyone have an idea, where to look for what -- I would
> >be happy for an advice... :)
> >
> >
> >Thanks a lot for any help in advance!
> >Cheers
> >Meino
> >
> >PS: Since I installed the new root via my old
> >root I started with stage3...if this is of any
> >importance.
> 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] Half of a network access with new root build...

2017-03-05 Thread Neil Bothwick
If you can start the network manually, the modules message must relate to 
something else. Is net.eth0 in you default runlevel? 

On 5 March 2017 08:05:31 GMT+00:00, tu...@posteo.de wrote:
>Hi,
>
>I have sent this question previously but due to hickup with
>my old mail address the sent message or a reply to it get 
>lost in between somewhere...
>
>Robin helped me a lot to get out of this mail address trouble and
>helped me to get subscribed to the list again with my new mail
>address: tu...@posteo.de.  THX Robin! :)
>
>I am still building my new root (this mail is written
>being in/at/on my old root).
>
>I am already able to boot (not only chroot to) into my new root, start
>X11 automagically and have back my desktop as it was before.
>
>But the boot process alone does not connect me to the internet.
>The output mumbles something of "missing modules" and such,
>but the kernel is the same for my old and my new root. 
>I build the kernel on both roots the same way with the same
>config.
>
>I compared the output of lsmod on both roots and they
>are identical in regards to network related stuff.
>
>To get network after boot I have to do
>
>ip link set 
>
>and start /etc/init.d/dhcpcd manually and TADA! there it
>is.
>
>I copied /etc/conf.d/net from my old to my new root, so this
>is also the same.
>
>I haven't been able to figure out, what is missing or wrong.
>
>If anyone have an idea, where to look for what -- I would
>be happy for an advice... :)
>
>
>Thanks a lot for any help in advance!
>Cheers
>Meino
>
>PS: Since I installed the new root via my old
>root I started with stage3...if this is of any
>importance.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

[gentoo-user] konsole: strange behaviour regarding profile

2017-03-05 Thread Alexander Puchmayr
Hi there,

I use to have several different KDE/plasma activities configured, each with 
different folder view widgets with desktop icons inside for the applications 
which I use on these activities. Especially, there are some icons with 

Exec=konsole -e slogin alex@server

to have quick access to my server; other icons have root@router, root@server, 
root@laptop, etc.

The strange behaviour is now, when I start konsole from the launcher (i.e. 
with no -e argument) , it opens a konsole with the last successful login and 
not, as I expect, on the local system as my current local user.

I could even reproduce it by opening the launcher and type 
konsole -e slogin alex@server
As expected, a konsole with login as alex@server is opened.
Next, start konsole without any arguments, and slogin alex@server is executed 
automatically. 

How can I turn this off and get the behaviour that konsole without -e 
arguments opens a window with a simple shell at the local machine?

Best regards
Alex





Re: [gentoo-user] Half of a network access with new root build...

2017-03-05 Thread Dale
tu...@posteo.de wrote:
> Hi,
>
> I have sent this question previously but due to hickup with
> my old mail address the sent message or a reply to it get 
> lost in between somewhere...
>
> Robin helped me a lot to get out of this mail address trouble and
> helped me to get subscribed to the list again with my new mail
> address: tu...@posteo.de.  THX Robin! :)
>
> I am still building my new root (this mail is written
> being in/at/on my old root).
>
> I am already able to boot (not only chroot to) into my new root, start
> X11 automagically and have back my desktop as it was before.
>
> But the boot process alone does not connect me to the internet.
> The output mumbles something of "missing modules" and such,
> but the kernel is the same for my old and my new root. 
> I build the kernel on both roots the same way with the same
> config.
>
> I compared the output of lsmod on both roots and they
> are identical in regards to network related stuff.
>
> To get network after boot I have to do
>
> ip link set 
>
> and start /etc/init.d/dhcpcd manually and TADA! there it
> is.
>
> I copied /etc/conf.d/net from my old to my new root, so this
> is also the same.
>
> I haven't been able to figure out, what is missing or wrong.
>
> If anyone have an idea, where to look for what -- I would
> be happy for an advice... :)
>
>
> Thanks a lot for any help in advance!
> Cheers
> Meino
>
> PS: Since I installed the new root via my old
> root I started with stage3...if this is of any
> importance.
>
>

I don't use modules in my kernel so I'm not sure how that works
exactly.  I recall reading about this somewhere a good while back.  In
the runlevels, there is some services that I think runs and loads the
modules.  They are named modules and modules-load.  Copy and pasting to
make sure I don't typo something:

root@fireball / # ls /etc/init.d/modules*
-rwxr-xr-x 1 root root 2211 Feb 26 18:50 /etc/init.d/modules
-rwxr-xr-x 1 root root 1639 Feb 26 18:50 /etc/init.d/modules-load
root@fireball / #


I notice that even tho I don't have kernel modules, both of those are
running here.  I have modules in the boot runlevel.  The modules-load
one isn't in any runlevel so I assume the plain modules requires the
other and starts it. 

You may want to see if yours is the same OR compare your old and new
install and see how the old one is set up. 

Hope that helps.  If not, worth checking I guess.

Dale

:-)  :-) 



[gentoo-user] Half of a network access with new root build...

2017-03-05 Thread tuxic
Hi,

I have sent this question previously but due to hickup with
my old mail address the sent message or a reply to it get 
lost in between somewhere...

Robin helped me a lot to get out of this mail address trouble and
helped me to get subscribed to the list again with my new mail
address: tu...@posteo.de.  THX Robin! :)

I am still building my new root (this mail is written
being in/at/on my old root).

I am already able to boot (not only chroot to) into my new root, start
X11 automagically and have back my desktop as it was before.

But the boot process alone does not connect me to the internet.
The output mumbles something of "missing modules" and such,
but the kernel is the same for my old and my new root. 
I build the kernel on both roots the same way with the same
config.

I compared the output of lsmod on both roots and they
are identical in regards to network related stuff.

To get network after boot I have to do

ip link set 

and start /etc/init.d/dhcpcd manually and TADA! there it
is.

I copied /etc/conf.d/net from my old to my new root, so this
is also the same.

I haven't been able to figure out, what is missing or wrong.

If anyone have an idea, where to look for what -- I would
be happy for an advice... :)


Thanks a lot for any help in advance!
Cheers
Meino

PS: Since I installed the new root via my old
root I started with stage3...if this is of any
importance.