[gentoo-user] What cpu type in make.conf for E4600

2008-06-26 Thread waltdnes
  A computer of mine died, and I'm now setting up the replacement.  What
do I set -march= to in /etc/make.conf?  Below is cpuinfo data for one of
the cores...

livecd gentoo # cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 Duo CPU E4600  @ 2.40GHz
stepping: 13
cpu MHz : 2394.034
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16
xtpr lahf_lm
bogomips: 4790.94
clflush size: 64

-- 
Walter Dnes [EMAIL PROTECTED]
Stop the Squeegee Kids in Pinstripe Suits
Fight Canadian internet taxes http://walterdnes.wordpress.com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] What cpu type in make.conf for E4600

2008-06-26 Thread waltdnes
On Thu, Jun 26, 2008 at 11:13:37PM +0100, Neil Bothwick wrote

 core2 if you use GCC 4.3, nocona for earlier, or set it to native if you
 don't use distcc.

  any idea which gcc version is installed by stage3-i686-2008.0_beta2
(along with portage-2008.0_beta2 snapshot)?  that makes a difference.
I'll be staying with 32-bit for now,  That's why I ordered only 3 gigs
of ram on this machine.

-- 
Walter Dnes [EMAIL PROTECTED]
Stop the Squeegee Kids in Pinstripe Suits
Fight Canadian internet taxes http://walterdnes.wordpress.com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] What cpu type in make.conf for E4600

2008-06-26 Thread waltdnes
On Thu, Jun 26, 2008 at 03:16:59PM -0700, Brian Johnson wrote
 http://gentoo-wiki.com/Safe_Cflags suggests using:

 -march=prescott for 32-bit
 -march=nocona for 64-bit.

  Thanks for the link; it looks like prescott in my case.

-- 
Walter Dnes [EMAIL PROTECTED]
Stop the Squeegee Kids in Pinstripe Suits
Fight Canadian internet taxes http://walterdnes.wordpress.com
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] stage3-i686-2008.0_beta2 builds kernel in x86 directory

2008-06-26 Thread waltdnes
  Is this a problem, or simply a name change?  The filename says i686
and I have 'CHOST=i686-pc-linux-gnu' in /etc/make.conf, but the kernel
ends up as /usr/src/linux/arch/x86/boot/bzImage

  I noticed this when I tried running a couple of scripts that I use to
organize my production and experimental kernels, so that lilo finds
them.  No problem changing the scripts to copy from a different
directory, but inquiring minds want to know.

-- 
Walter Dnes [EMAIL PROTECTED]
Stop the Squeegee Kids in Pinstripe Suits
Fight Canadian internet taxes http://walterdnes.wordpress.com
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] rsync problem with local rsync server

2008-07-04 Thread waltdnes
  Trying to be kinder and gentler to the Gentoo mirrors, I set up my
hot backup machine to emerge --rsync from my main machine.  I
followed the instructions in
http://gentoo-wiki.com/HOWTO_Local_Rsync_Mirror#Official_Gentoo_Linux_rsync_Mirrors_Policy_and_Guide

main machine is d530 192.168.123.250
hot backup   is d531 192.168.123.251

  So I
  - emerge --synce on my main machine (d530)
  - ssh into d531
  - su to root
  - run emerge --sync

  The client machine (d531) sees the following error 3 times and gives up...


 Starting retry 3 of 3 with rsync://192.168.123.250
 Checking server timestamp ...
@ERROR: Unknown module 'metadata'
rsync error: error starting client-server protocol (code 5) at main.c(1386) 
[receiver=2.6.9]
 Exceeded PORTAGE_RSYNC_RETRIES: 3


  The host machine says the following in /var/log/messages
The connect and unknown module messages are repeated 3 times


Jul  4 20:43:01 d530 rsyncd[21988]: rsyncd version 3.0.2 starting, listening on 
port 873
Jul  4 20:46:13 d530 rsyncd[22028]: connect from d531.waltdnes.org 
(192.168.123.251)
Jul  4 20:46:13 d530 rsyncd[22028]: unknown module 'metadata' tried from 
d531.waltdnes.org (192.168.123.251)


  I'm running 32-bit i686 on an Intel Core2 duo on a pair of Dell d530
desktops.

-- 
Walter Dnes [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] [Solved] rsync problem with local rsync server

2008-07-05 Thread waltdnes
On Sat, Jul 05, 2008 at 09:20:26AM +0400, Vladimir Rusinov wrote

 It seems you have rsync://yourhost/ instead of
 rsync://yourhost/gentoo-portage/ on your make.conf

  Thank you very much.  That was the exact mistake I made.  It's working
properly now after I corrected it.

-- 
Walter Dnes [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Dell Linux desktop

2008-07-08 Thread waltdnes
On Tue, Jul 08, 2008 at 09:12:53AM -0400, Matthew R. Lee wrote
 I'm thinking of buying a dell Ubuntu desktop (Inspiron 530MT) for my lab. The 
 university has an arrangement that can get me a discount. I have a question, 
 has anyone bought one of these and installed gentoo on it?  I sure it will 
 work, I'm just wondering if there are any tweaks that dell have made to the 
 Ubuntu install to make certain components work, that may be more difficult to 
 replicate with the gentoo install.  I'm going for the default set-up plus 
 extra memory, that's a Pentium dual-core processor E2180 1MB 2GHz, 2GB RAM, 
 250GB SATA, 20 widescreen, Integrated Intel Graphics Media Accelerator 3100, 
 Integrated 7.1 Channel Audio
 Any comments would be appreciated

  I have a couple of Inspiron 530 machines.  Both came with Vista.  One
major tweak was necessary, namely the BIOS boot setup.  Out of the box,
Windows ran, but the Gentoo install CD couldn't figure out any of the
CD/DVD/harddrive, and the keyboard doubled each character *LITERALLY*,
so that you could not type in any recognizable commands.  Both of these
problems were solved with the following actions which I cut-n-paste from
a post I made to this list last summer...

***WARNING***
You will *NOT* be able to boot Windows Vista in the following setup
(One... Two... Three... aww)

- reboot and go into BIOS setup ({F2} key)
- go to integrated peripherals
- change sata mode from IDE to RAID
- save and reboot ({F10} key)
- go into BIOS setup ({F2} key). Yes again.
- comment; if you watch carefully during the boot, you may notice the
  AHCI BIOS installed message.
- go into boot device configuration.  It will behave slightly differently
  thanks to AHCI BIOS being installed.
- set boot device priority.  Note; if you have more than 1 CD/DVD, you need
  to specify them separately, if you want to be able to boot off both of
  them. There are only 3 available slots, so I sacrificed the floppy.  This
  left me with the 2 CD/DVD drives and the hard drive as the boot order
- save and reboot ({F10} key)

  Now run the usual install.  One thing to note in kernel settings (I
use make menuconfig).

Device Drivers  ---
  ATA/ATAPI/MFM/RLL support  ---
* Serial ATA (prod) and Parallel ATA (experimental) drivers  ---
*   AHCI SATA support

  The 3 items above
  1) turn off ATA/ATAPI/MFM/RLL support, which is no longer needed
  2) open up the ability to select SATA support
  3) supports the AHCI BIOS that is installed in RAID mode

  The most recent Inspiron 530's are OK for their built-in ethernet
chip.  My newest Dell 530 uses the e1000e driver.  You may notice a
thread by me about some problems with eth0.  Ignore that thread, it's
for the older Dell machines.

-- 
Walter Dnes [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Network chip always comes up eth1 on 1-year-old Dell Inspiron 530

2008-07-08 Thread waltdnes
  I got a Dell last summer, in which I couldn't get the network chip
running, so I bought a cheap Via Rhine PCI network card and used that
for almost a year.  I finally got the built-in chip working today on the
older 530.  This post is being sent on it.  It's a bastardized Intel
chip that shows up as Intel Corporation 82562V-2 10/100 Network
Connection (rev 02) under lspci, but uses gigabit driver (e1000e).  Go
figure.

  I finally stumbled across the *REAL* reason I couldn't get it working.
I always tried configuring eth0 for it... silly me.  Apparently, the
chip *ALWAYS* comes up as eth1.  Here are a couple of excerpts from
dmesg.  The 1st one is about halfway through dmesg...

e1000e: Intel(R) PRO/1000 Network Driver - 0.2.0
e1000e: Copyright (c) 1999-2007 Intel Corporation.
ACPI: PCI Interrupt :00:19.0[A] - GSI 20 (level, low) - IRQ 17
PCI: Setting latency timer of device :00:19.0 to 64
Switched to high resolution mode on CPU 1
Switched to high resolution mode on CPU 0
:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:1a:a0:8c:0d:b2
:00:19.0: eth0: Intel(R) PRO/10/100 Network Connection
:00:19.0: eth0: MAC: 5, PHY: 7, PBA No: ff-0ff

  The next one is at the very end...
:00:19.0: eth1: Link is Up 100 Mbps Full Duplex, Flow Control: RX
:00:19.0: eth1: 10/100 speed: disabling TSO
:00:19.0: eth1: changing MTU from 1500 to 1452
:00:19.0: eth1: Link is Up 100 Mbps Full Duplex, Flow Control: RX
:00:19.0: eth1: 10/100 speed: disabling TSO

  Here's /etc/conf.d/net I left in the eth0 entry.  It generates an
error message, but doesn't cause any problems.  And yes, *THE NETMASK
IS CORRECT*

config_eth1=192.168.123.250 broadcast 192.168.123.255 netmask 255.255.255.248 
mtu 1452
routes_eth1=(default via 192.168.123.254)
config_eth0=192.168.123.250 broadcast 192.168.123.255 netmask 255.255.255.248 
mtu 1452
routes_eth0=(default via 192.168.123.254)

  I've made 4 changes in iptables to accomadate the change, but I'd
really like to know what's going on, and revert to eth0 if possible.
I've appended nofirewire to the boot paramters in lilo, but it doesn't
help.

-- 
Walter Dnes [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Useless error messages from iptables-restore

2007-05-01 Thread waltdnes
  I apologize if this is a duplicate.  I've just done a re-install and
I don't think my first attempt got out.

  I tried Xubuntu on a 1999 Dell with a 450 mhz PIII and 128 megs of
ram.  The install was excruciatingly slow, and once installed it was
only painfully slow.  So I went back to Gentoo, re-installed fresh, and
copied over various config-files from my main machine (also Gentoo),
incluting the iptables ruleset (/var/lib/iptables/rules-save).  The Dell
can't load them...

[m450][root][~] iptables-restore  /var/lib/iptables/rules-save
iptables-restore: line 66 failed

  Line 66 is the COMMIT line.  If I get rid of the COMMIT line, the
complaint is...

[m450][root][~] iptables-restore  /var/lib/iptables/rules-save
iptables-restore: COMMIT expected at line 67

  RTFM didn't find anything useful and I know the rules worked before.
Help.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Useless error messages from iptables-restore

2007-05-01 Thread waltdnes
On Tue, May 01, 2007 at 04:50:54PM -0400, [EMAIL PROTECTED] wrote

   RTFM didn't find anything useful and I know the rules worked before.
 Help.

  For what it's worth, I'm running linux-2.6.20-gentoo-r7 on the Dell.

  I went and did it the hard way.  I started by commenting out almost
everything.  Then I uncommented one chain at a time until I ran into an
error.  Then I commented out one rule at the end until the error
disappeared.  I found two sets of problems...

1) The working ruleset (on my main machine), starts off with...
*filter
:INPUT DROP
:FORWARD DROP
:OUTPUT DROP
:DROP_LOG
:ICMP_IN
:PRIVATE
:PRIVATE_LOG
:TCP_IN
:UDP_IN
:UNSOLICITED

  Seems that the latest version does not like my own chains being
declared this way.  I got rid of the first batch of errors by switching
the rules to...
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
-F
-X
-N DROP_LOG
-N ICMP_IN
-N PRIVATE
-N PRIVATE_LOG
-N TCP_IN
-N UDP_IN
-N UNSOLICITED

   The final remaining problem is with the 3 statements scattered
through the rules...

-A ICMP_IN -p icmp -m state --state NEW -j UNSOLICITED
-A TCP_IN -p tcp -m state --state NEW -m tcp -j UNSOLICITED
-A UDP_IN -p udp -m state --state NEW -j UNSOLICITED

   This works on the main system, with a slightly older kernel.  On the
Dell, running 2.6.20-r7, I have a whole bunch of stuff enabled in the
kernel, including...

[*] Network packet filtering framework (Netfilter)  ---
* Netfilter Xtables support (required for ip_tables)

Core Netfilter Configuration  ---
* Netfilter Xtables support (required for ip_tables)
*   conntrack connection tracking match support
*   state match support 

IP: Netfilter Configuration  ---
* IP tables support (required for filtering/masq/NAT)
*   Packet filtering

   In case someone's wondering... I don't want/need router
functionality.  I don't want/need NATing functionality.  I don't
want/need mangling or QOS or other fancy stuff.  I just want a stinking
firewall.  What is the minimum I need to enable to get the above 3
statements to work?

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Useless error messages [solved]

2007-05-02 Thread waltdnes
On Wed, May 02, 2007 at 10:43:44AM +0200, Benno Schulenberg wrote
 [EMAIL PROTECTED] wrote:
 The final remaining problem is with the 3 statements scattered
  through the rules...
 
  -A ICMP_IN -p icmp -m state --state NEW -j UNSOLICITED
  -A TCP_IN -p tcp -m state --state NEW -m tcp -j UNSOLICITED
  -A UDP_IN -p udp -m state --state NEW -j UNSOLICITED
 
 The -m tcp is a typo, yes?

  That's the way I had it.  It doesn't hurt, but it comes from the
Department of Superfluous Redundancy Department.  This rule is part of
the chain that handles only TCP packets, so there's no point in checking
again whether it's a TCP packet.  I've gotten rid of it now.  Thanks for
pointing it out.

 The setting you might me missing is CONFIG_NF_CONNTRACK_IPV4=y.

  You were right again.  I did have CONFIG_NF_CONNTRACK, which
apparently isn't enough.  It said something about being required for
NATing, which my machine doesn't do.  So I thought it was unnecessary.

  The rules work fine now, thanks to your help.  Here's
/var/lib/iptables/rules-save in its full glory.  A few notes...
  - I have a 5-port switch behind an ADSL router/modem.
  - I've set my little LAN to 192.168.123.248/29
  - for some obscure reason, the ADSL router/modem needs to use
address 192.168.200.1

*filter
:INPUT DROP
:FORWARD DROP
:OUTPUT DROP
-F
-X
-N DROP_LOG
-N ICMP_IN
-N PRIVATE
-N PRIVATE_LOG
-N TCP_IN
-N UDP_IN
-N UNSOLICITED
-A INPUT -s 192.168.123.248/255.255.255.248 -i eth0 -j ACCEPT
-A INPUT -s 192.168.200.1 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 53 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 53 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -f -j LOG --log-prefix FRAGMENTS: --log-level 6
-A INPUT -f -j DROP
-A INPUT -p tcp -j TCP_IN
-A INPUT -p udp -j UDP_IN
-A INPUT -p icmp -j ICMP_IN
-A INPUT -j LOG --log-prefix BAD_PROTOCOL: --log-level 6
-A INPUT -j DROP
-A OUTPUT -d 192.168.123.248/255.255.255.248 -o eth0 -j ACCEPT
-A OUTPUT -s 127.0.0.1 -d 127.0.0.1 -o lo -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 3 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 30 -j ACCEPT
-A OUTPUT -p tcp -m tcp --sport 0:1023 -j DROP_LOG
-A OUTPUT -p udp -m udp --sport 0:1023 -j DROP_LOG
-A OUTPUT -p tcp -m tcp --sport 6000:6063 -j DROP_LOG
-A OUTPUT -p udp -m udp --sport 6000:6063 -j DROP_LOG
-A OUTPUT -j ACCEPT
-A DROP_LOG -j LOG --log-level 6
-A DROP_LOG -j DROP
-A ICMP_IN -p icmp -m state --state NEW -j UNSOLICITED
-A ICMP_IN -p icmp -m icmp --icmp-type 0 -j PRIVATE
-A ICMP_IN -p icmp -m icmp --icmp-type 3 -j PRIVATE
-A ICMP_IN -p icmp -m icmp --icmp-type 4 -j PRIVATE
-A ICMP_IN -p icmp -m icmp --icmp-type 11 -j PRIVATE
-A ICMP_IN -p icmp -m icmp --icmp-type 12 -j PRIVATE
-A ICMP_IN -j LOG --log-prefix IN_BAD_ICMP: --log-level 6
-A ICMP_IN -j DROP
-A PRIVATE -s 10.0.0.0/255.0.0.0 -j PRIVATE_LOG
-A PRIVATE -s 127.0.0.0/255.0.0.0 -j PRIVATE_LOG
-A PRIVATE -s 169.254.0.0/255.255.0.0 -j PRIVATE_LOG
-A PRIVATE -s 172.16.0.0/255.240.0.0 -j PRIVATE_LOG
-A PRIVATE -s 192.168.0.0/255.255.0.0 -j PRIVATE_LOG
-A PRIVATE -j ACCEPT
-A PRIVATE_LOG -j LOG --log-prefix IN_BAD_ADDR: --log-level 6
-A PRIVATE_LOG -j DROP
-A TCP_IN -p tcp -m tcp --dport 0:1023 -j DROP_LOG
-A TCP_IN -p tcp -m tcp --dport 6000:6063 -j DROP_LOG
-A TCP_IN -p tcp -m tcp --sport 53 -j PRIVATE
-A TCP_IN -p tcp -m tcp --sport 80 -j PRIVATE
-A TCP_IN -p tcp -m state --state NEW -j UNSOLICITED
-A TCP_IN -p tcp -j PRIVATE
-A UDP_IN -p udp -m udp --dport 0:1023 -j DROP_LOG
-A UDP_IN -p udp -m udp --dport 6000:6063 -j DROP_LOG
-A UDP_IN -p udp -m udp --sport 53 -j PRIVATE
-A UDP_IN -p udp -m udp --sport 80 -j PRIVATE
-A UDP_IN -p udp -m state --state NEW -j UNSOLICITED
-A UDP_IN -p udp -j PRIVATE
-A UNSOLICITED -j LOG --log-prefix UNSOLICITED: --log-level 6
-A UNSOLICITED -j DROP
COMMIT

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Reducing disk usage

2007-05-04 Thread waltdnes
On Fri, May 04, 2007 at 09:15:47AM +0200, Alan McKinnon wrote
 On Friday 04 May 2007, [EMAIL PROTECTED] wrote:
  I accomplish this by moving /tmp /usr and /var to the /home
  partition.
 
 Surely you meant move the /tmp, /usr and /var to the / partition?

  Let me rephrase myself...
  - *PHYSICALLY* moving /tmp /usr and /var to the /home partition.
  - bind mount (or symlink) these directories to the / partition

 It won't work moving them to /home unless you put symlinks in and
 that would just be ... odd

  It may be odd, but it gets the job done.  The files end up
*PHYSICALLY* residing in the /home partition, but *LOGICALLY* on /tmp,
/usr and /var.  Here's how I implement it.  I set up /tmp /usr and /var
in /home/bindmounts/ (note the permissions on /home/bindmounts/tmp).

[m450][root][~] ll /home/bindmounts/
total 20
drwxr-xr-x  5 root root 4096 Apr 29 13:36 .
drwxr-xr-x  7 root root 4096 May  1 00:08 ..
drwxrwxrwt 10 root root 4096 May  4 22:00 tmp
drwxr-xr-x 15 root root 4096 Apr 29 03:53 usr
drwxr-xr-x 14 root root 4096 Apr 28 20:36 var


I create *EMPTY* directories named /tmp /usr and /var on /.  And then I
bind mount the directories.  Here's a snippet from /etc/fstab

/home/bindmounts/var/varautobind 0 0
/home/bindmounts/usr/usrautobind 0 0
/home/bindmounts/tmp/tmpautobind 0 0

  Symlinks would normally work, too.  However, if for some reason, the
/home partition is unavailable at bootup, the system would complain
about symlinks.  With empty directories, you at least get a basic system
booting up with fewer complaints.

  Let me repeat the reason for the oddness.  The stripped-down /
partition is going to be pretty constant, so I don't have to allow lots
of empty space as a safety margin.  The wildcards, in terms of filespace
are...
  - /var (logs and other stuff)
  - /usr (/usr/bin for all my apps, and /usr (share, portage, libs))
  - /tmp (this is where big temporary files go)

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Don't get a /etc/resolv.conf on dhcpcd ethx - Get /etc/resolv.conf-eth2.sv instead which doesn't work unless copy to /etc/resolv.conf

2007-05-05 Thread waltdnes
On Sun, May 06, 2007 at 05:36:13AM +1000, Richard Watson wrote

 However it completes OK and seems to work OK other than having to
 manually create the correct DNS in /etc/resolv.conf.
 
 Anyone any ideas. Thanks, Richard

  A bit heavy-handed...
ln -f /etc/resolv.conf /etc/resolv.conf-eth2.sv

  Next time the system tries overwriting /etc/resolv.conf-eth2.sv, it
will also overwrite /etc/resolv.conf

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] pppconfig can't find internal modem.

2007-05-13 Thread waltdnes
  My ADSL connection had a short outage yesterday.  I discovered, to my
consternation, that my machine's internal modem wasn't being picked up.
This is a 1999 Dell PIII that refuses to die.  The PCI modem has worked
in the past under Redhat and Gentoo.  I am aware that I have to allocate
more than 4 serial ports in make menuconfig.  lspci -v shows...

00:10.0 Serial controller: 3Com Corp, Modem Division 56K FaxModem Model 5610 
(rev 01) (prog-if 02 [16550])
Subsystem: 3Com Corp, Modem Division Unknown device baba
Flags: medium devsel, IRQ 9
I/O ports at 1430 [size=8]
Capabilities: [dc] Power Management version 2

  I'm file-attaching a copy of .config.  Any ideas?


-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
Q. Mr. Ghandi, what do you think of Microsoft security?
A. I think it would be a good idea.
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.20-gentoo-r7
# Sun May 13 15:06:04 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST=/lib/modules/$UNAME_RELEASE/.config

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=
CONFIG_LOCALVERSION_AUTO=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_IPC_NS is not set
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Block layer
#
CONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED=anticipatory

#
# Processor type and features
#
# CONFIG_SMP is not set
# CONFIG_X86_PC is not set
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
CONFIG_X86_GENERICARCH=y
# CONFIG_X86_ES7000 is not set
# CONFIG_PARAVIRT is not set
CONFIG_X86_CYCLONE_TIMER=y
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUMM is not set
# CONFIG_MCORE2 is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
CONFIG_X86_GENERIC=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCE_NONFATAL is not set
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
CONFIG_MICROCODE=y
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_PAGE_OFFSET=0xC000

Re: [gentoo-user] Which drivers to use for audio and video?

2005-09-03 Thread waltdnes
On Sat, Sep 03, 2005 at 04:44:42AM +0100, Ian Hastie wrote

 Walter Dnes [EMAIL PROTECTED] wrote:

 Notice there is no sse3 support.

  I got carried away there.  It only goes up to sse2.  Another goof on
my part was referring to the gcc 3.4.4 docs.  I think we're still on
3.3.5.

  Now I just need to get the sound chip working.
 
 Which chip is it you have?  My emu10k1 based Audigy 2 works well with
 the in kernel driver.  I'd expect most of the other OSS kernel
 supported chips to work in 64 bit mode too.

  I finally got it going.  My Google-fu hasn't been as good as it could
be.  I tried earlier searching on my motherboard and k8, and got
buried in a gazillion results, consisting mostly of people listing off
their system components, or else computer stores selling systems with
that motherboard.  I tried a few more times and finally found someone
saying how he got his sound working.  First, in make menuconfig ...

M Intel/SiS/nVidia/AMD/ALi AC97 Controller

  And then at bootup...

modprobe snd-intel8x0

  I could put the modprobe

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Which drivers to use for audio and video?

2005-09-03 Thread waltdnes
On Thu, Sep 01, 2005 at 10:28:27PM -0700, Mark Knecht wrote

 Note that 3dnow and mmx are disabled even though I have them enabled
 in my make.conf file:

  What about your CFLAGS line?  I assume that you're using -march=k8.
It's supposed to implicitly include mmx and sse and sse2, but maybe the
mplayer make file gets cute, and tries reading CFLAGS.  Here's my 32-bit
mode CFLAGS line...
CFLAGS=-O2 -pipe -fomit-frame-pointer -march=athlon -m3dnow -mmmx -msse -msse2 
-msse3 -mfpmath=sse

  My emerge seems to have everything I asked for

[m3000][root][~] emerge -pv mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-video/mplayer-1.0_pre7-r1  -3dfx +3dnow +3dnowext
+X +aac -aalib +alsa (-altivec) -arts -bidi -bl -cdparanoia +cpudetection
-custom-cflags -debug +dga -directfb +divx4linux -doc -dts -dv -dvb +dvd
+dvdread -edl +encode -esd -fbcon -ggi +gif -gtk -i8x0 -ipv6 -jack
-joystick +jpeg -libcaca -lirc -live -lzo -mad -matroska -matrox +mmx
+mmxext -mythtv -nas -nls -nvidia +opengl -oss +png +real -rtc -samba
+sdl +sse +sse2 -svga -tga +theora +truetype -v4l -v4l2 +vorbis
+win32codecs -xanim -xinerama -xmms +xv -xvid -xvmc 0 kB


  Try the following command, and see what local flags it allows...
grep /mplayer: /usr/portage/profiles/use.local.desc

  I think that local flags are supposed to be entered in
/etc/portage/package.use.  Here's my entry...

media-video/mplayer cpudetection real sse2 3dnowext mmxext

  My flags line is almost identical to yours.  I'm missing lahf_lm.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Slightly OT: favorite window manager/desktop environ?

2005-09-03 Thread waltdnes
On Thu, Sep 01, 2005 at 11:31:28AM -0400, Charles Marcus wrote
 IceWM (with ROXFiler if you want Desktop icons, etc)
 
 lightening fast, easy to configure

  Blackbox WM here.  This goes back to when my 6-year-old Dell, 450 mhz
PIII, 128 megs of RAM, was still my main machine.  The GNOME and KDE
people write some great apps (Gimp, Gnumeric, AbiWord, KDE Office), but
their desktop environments are huge, bloated, resource hogs.  With
Blackbox, I can still run the apps, without the desktop.  Put it this way

  I don't run desktops, I run applications.

  I think lightweight WM's will be important.  Linux in general will
have a great window of Opportunity when Vista is released.  A lot of
current machines will not be able to run it well (crawl != run).  If
people are faced with a choice of throwing out their old W2K, and XP
machines, and buying new ones, versus keeping their machines and
switching to linux, I think we could see quite a few converts.  We can
also pound away on the TCO angle at Microsoft's expense.  Running the
latest version of linux doesn't require you to buy a new desktop.  On
the other hand, that may explain why some PC hardware companies are so
lukewarm (in some cases hostile) about linux support.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cpu flags / USE flags / compiler flags

2005-09-03 Thread waltdnes
On Wed, Aug 31, 2005 at 09:04:21AM -0700, Mark Knecht wrote

 flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
 mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
 xtpr
  [...deletia...]
 I then looked for CPU flags that had an equivalent USE flag and that
 might be of use for faster graphics. On this machine I chose mmx, sse
  sse2. Armed with that I changed my make.conf file to look like this:

  There are CPU flags and there are USE flags.  Some of them have the
same names, and that may confuse you.  It works like this...
  1) Get a listing of your cpu's flags in /proc/cpuinfo
  2) Check against the list of supported flags in gcc for you cpu, and
 add them to CFLAGS
  3) Check http://www.gentoo.org/dyn/use-index.xml for a list of valid
 USE flags, and include any that show up in /proc/cpuinfo
  4) Repeat step 3) with /usr/portage/profiles/use.local.desc for any
 programs you're emerging.  There doesn't seem to be anything
 special on your pentium4, but my AMD64 not only has mmx and 3dnow,
 it also has mmxext and 3dnowext.  mplayer can take advantage of
 them.  I include them in the /etc/portage/package.use entry for
 media-video/mplayer.

 I'll assume that you're using gcc 3.3.5.  In that case, the place to
look for CPU flag options is...

http://gcc.gnu.org/onlinedocs/gcc-3.3.5/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options

  That list shows pentium4, mmx, sse, and sse2.  Also, if you have *ANY*
version of sse available, you can improve performance by running floating
point math via sse, rather than 387 instructions.  I recommend...

CFLAGS=-O2 -pipe -fomit-frame-pointer -march=pentium4 -mmmx -msse -msse2 
-mfpmath=sse

http://www.gentoo.org/dyn/use-index.xml shows mmx and sse as valid USE
flags, so you can include them in USE.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Network timeout, eth0 stopped

2005-09-04 Thread waltdnes
  Approx a week ago, I got a new computer, AMD64 on a K8 Triton Gigabyte
Triton Nforce 4 motherboard.  Today, ethernet stopped functioning.  I
couldn't even get it to work with the Gentoo minimal install CD.  It was
running OK the past week with...
*   Reverse Engineered nForce Ethernet support (EXPERIMENTAL) built
into the kernel (would be forcedeth as a module).  I looks like it has
died on me.  My old backup machine, hooked up to the same 4-port
ADSL-modem/router connects to the net just fine.  I swapped the ethernet
cables to check if it was a bad router port or cable.  The old machine
works, the new one doesn't.  m3000 is the machine's hostname.  The
following message shows up in my logs (and on tty12) when I try to
access a web site...

NETDEV WATCHDOG: eth0: transmit timed out
Sep  4 11:47:31 m3000 nv_stop_tx: TransmitterStatus remained busy7eth0: 
tx_timeout: dead entries!

lspci -vv shows the following...

:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a2)
Subsystem: Giga-byte Technology: Unknown device e000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0 (250ns min, 5000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at ea104000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at e000 [size=8]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable+ DSel=0 DScale=0 PME-


  It's Sunday afternoon, and tomorrow's a holiday.  Any last-minute ideas
or tweaks before I take it back to the shop on Tuesday?

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cpu flags / USE flags / compiler flags

2005-09-04 Thread waltdnes
On Sun, Sep 04, 2005 at 08:21:47AM +0200, Volker Armin Hemmann wrote
 On Sunday 04 September 2005 05:27, [EMAIL PROTECTED] wrote:

  CFLAGS=-O2 -pipe -fomit-frame-pointer -march=pentium4 -mmmx -msse -msse2
  -mfpmath=sse
 
 emm. I would not do this.
 
 
 -mfpmath=sse seems to be slower than -fpmath=387
 
 http://www.anandtech.com/mac/showdoc.aspx?i=2436p=5
 
 has the numbers/made the experience.
 
 It seems, that gcc is not he best optimizer in the world ;)

  I've read through the article, and there are a couple of interesting
items in it...

  1) The bit about sse being slower than 387 only applies to the brand
 new Xeon Irwindale.

  2) The brand new 3.6 ghz Xeon Irwindale ran slower than the older 3.06
 ghz Xeon Galatin.

  That leads to one of two possible conclusions...
  Really Bad) The Irwindale is at least lame if not totally b0rk3n.
  Not so Bad) The Irwindale is so new that the gcc developers haven't
  had an opportunity to implement optimizations for it.

  In either case, I wouldn't want to extrapolate Xeon Irwindale results
to all Intel X86 chips, let alone AMD.  /usr/portage/app-benchmarks has
several items in it.  Does anybody know which ones have floating-point
tests?

  Tinfoil-hat-theory... have you noticed that Microsoft just loves to
use Xeons, especially dual-Xeons, in their get the facts propaganda?
I wonder if they've found a problem with gcc's optimizations for Xeon,
and are exploiting that problem to bias all their comparisons.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mplayer and/or X optimization

2005-09-06 Thread waltdnes
  I'm running an AMD64 3000+ with 2 gigs of ram and an ATI Radeon X300.
It's dropping frames on internet TV sites where it should easily be able
to keep up.  I've built mplayer with mmx/mmxext/3dnow/3dnowext/sse/sse2
so I don't see any room for speedup there.  I can get -vo sdl and
-vo xv to work, but not -vo radeon_vid.  As a matter of fact, I
can't find any vidix modules at all.  They're simply not being built.
Here's the output of emerge -pv mplayer.

[ebuild   R   ] media-video/mplayer-1.0_pre7-r1  -3dfx +3dnow +3dnowext
+X +aac -aalib +alsa (-altivec) -arts -bidi -bl -cdparanoia -cpudetection
+custom-cflags -debug +dga -directfb +divx4linux -doc -dts -dv -dvb +dvd
+dvdread -edl +encode -esd -fbcon -ggi +gif -gtk +i8x0 -ipv6 -jack
-joystick +jpeg -libcaca -lirc -live -lzo -mad -matroska -matrox +mmx
+mmxext -mythtv -nas -nls -nvidia +opengl -oss +png +real -rtc -samba
+sdl +sse +sse2 -svga -tga +theora +truetype -v4l -v4l2 +vorbis
+win32codecs -xanim -xinerama -xmms +xv -xvid -xvmc 7,397 kB

  For some reason the video card shows up twice in hardware detection.
Does this have any affect on X Window speed?  Here's output from cat
/proc/pci...

VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 
(PCIE)] (rev 0).
  IRQ 5.
  Prefetchable 32 bit memory at 0xe000 [0xe7ff].
  I/O at 0x9000 [0x90ff].
  Non-prefetchable 32 bit memory at 0xe900 [0xe900].
  Bus  5, device   0, function  1:
Display controller: PCI device 1002:5b70 (ATI Technologies Inc) (rev 0).
  Non-prefetchable 32 bit memory at 0xe901 [0xe901].


and here's what lspci -v shows...

:05:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon 
X300 (PCIE)] (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 1b60
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at e000 (32-bit, prefetchable) [size=128M]
I/O ports at 9000 [size=256]
Memory at e900 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #10 [0001]
Capabilities: [80] Message Signalled Interrupts: 64bit+ Queue=0/0 
Enable-

:05:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
Subsystem: ATI Technologies Inc: Unknown device 1b61
Flags: bus master, fast devsel, latency 0
Memory at e901 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
Capabilities: [58] #10 [0001]

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-06 Thread waltdnes
On Thu, Sep 01, 2005 at 06:31:50PM -0700, Bob Sanders wrote

  1. Beat head on wall for not thinking to buy a UPS.
 
 Most UPSs below about US$400 are junk.  You'd be served just as well
 with a decent surge suppressor power strip.  Don't waste your money
 on a UPS.

  Not if all you want is to give your home system 5 minutes to shut down
in a power failure, or to handle the occasional 30-second outage, of
which my area seems to have more than its fair share.  The saying about
Horses for courses is especially true here.  I don't get business DSL
with a horrendeously expensive SLA for my home ADSL service either.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/input/mouse0 Doesn't Exist

2005-09-06 Thread waltdnes
On Tue, Sep 06, 2005 at 01:11:44PM -0700, Drew Tomlinson wrote
 I can't start xorg as /dev/input/mouse0 doesn't exist.  I used to
 have this working with the same hardware and don't recall making any
 changes.  What things must be loaded or what should I check to get
 my mouse detected?  I'm using 2.6.11 kernel with udev.  Nudges to
 an appropriate web page are welcome.  I have been unsuccessful
 with Google.

  Plan a) Does gpm work in text mode?  If yes, cat /etc/conf.d/gpm
  and see what device it lists as being used.

  Plan b) Start off with the command ls -al -R /dev  list.txt and
  view list.txt with your favourite editor or file-viewer.
  Look under /dev/input.  Also check for /dev/mouse or
  /dev/mice or /dev/psaux or /dev/misc/.  You should find
  something somewhere.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Slightly OT: favorite window manager/desktop environ?

2005-09-06 Thread waltdnes
On Sun, Sep 04, 2005 at 02:11:51PM -0700, Mark Knecht wrote

 My 'disagreement', if there is one, is that a savings of $300 for a
 new computer and a $99 Windows upgrade won't convince many people to
 learn to do it themselves using Linux. It takes a much stronger reason
 than that, at least in my limited part of the planet.

  How about the hard truth...

Admiinistering Linux is hard.
Keeping a Windows machine free of spyware is harder.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/input/mouse0 Doesn't Exist

2005-09-06 Thread waltdnes
On Tue, Sep 06, 2005 at 08:31:32PM -0700, Drew Tomlinson wrote

 Here's the items I have from your suggestions:
 
 drwxr-xr-x  2 root root 0 Sep  6 06:16 /dev/misc
 crw-rw  1 root root 10,   1 Sep  6 06:16 psaux
 
 drwxr-xr-x  2 root root 0 Sep  6 06:16 /dev/input
 crw-r--r--  1 root root 13, 63 Sep  6 06:16 mice
 
 lrwxrwxrwx  1 root root 10 Sep  6 06:16 /dev/psaux - misc/psaux
 
 Does any of this make sense?

  You can replace /dev/input/mouse0 in xorg.conf with any one of...
  /dev/input/mice or /dev/psaux or dev/misc/psaux.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mplayer and/or X optimization

2005-09-07 Thread waltdnes
On Wed, Sep 07, 2005 at 03:15:51AM +0200, Volker Armin Hemmann wrote

 does xine also have a speed problem?
 If yes:

  I don't have xine loaded.  I've had problems building it in the past.
mplayer has been trouble-free.

 could you please post xorg.conf/Xorg.0.log?
 
 Maybe they contain somethin obvious...

  To avoid cluttering up the list, I've posted them on my webpage; see
http://www.waltdnes.org/xorg.conf.txt
http://www.waltdnes.org/Xorg.0.log.txt

  According to the box, the card is a PowerColor X300 SE, with PCI
Express and full DirectX 9 support.

  One thing I notice is at the very end of xorg.conf...

# Section DRI
#Mode 0666
# EndSection

According to man radeon

   Option BusType string
  Used to replace previous ForcePCIMode option.   Should  only  be
  used  when  driver's  bus  detection is incorrect or you want to
  force a AGP card to PCI mode. Should NEVER force a PCI  card  to
  AGP bus.
  PCI-- PCI bus
  AGP-- AGP bus
  PCIE   -- PCI Express (falls back to PCI at present)
  (used only when DRI is enabled)
  The default is auto detect.

  I uncommented the 3 lines and in the video card section I added...

Option  BusType   PCIE

  but it looks like it's not enabled.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Anyone have experience with Acer netbooks ?

2009-10-19 Thread waltdnes
  Specifically the 11.6 screen Acer Aspireone AO751h-1505 Netbook at
http://canadacomputers.com/index.php?do=ShowProductcmd=pdpid=024766cid=NBK.862.670

  I intend to install Gentoo on it.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Wine users backup libjpeg.so.62.0.0

2009-10-19 Thread waltdnes
  MAKE SURE TO BACKUP libjpeg.so.62.0.0 and libjpeg.so.62 (a symlink to
libjpeg.so.62.0.0)

  My older machine was getting flakey so I migrated to my newer machine.
I updated the new machine to the latest everything, and got a message
that I could delete libjpeg.so.62 (a symlink to libjpeg.so.62.0.0) in
/usr/lib (that's where it is on my Gentoo system).  Bad move... Wine no
longer ran. Fortunately, I had not updated my older machine, so I was
able to copy the files over from it, and Wine is now running. The weird
part is that I followed instructions, and ran the revdep-rebuild. It
claimed there were no dynamic links to libjpeg.so.62

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] distcc for upgrading software on netbooks

2009-10-19 Thread waltdnes
On Mon, Oct 19, 2009 at 11:59:07PM -0400, Philip Webb wrote

 Does anyone know how far it's feasible to compile pkgs on a desktop
 -- I have a powerful machine with upto-date Gentoo for everyday use -- ,
 then copy the results via USB stick into a netbook ?

  See http://www.gentoo.org/doc/en/distcc.xml A USB stick is OK for
rescue, but forget about using it for package transfer.  It's a lot
easier and faster to hook both machines up to a cheap router or switch
and let them talk directly to each other.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Machine reboots immediately when suspended-to-disk

2009-10-20 Thread waltdnes
  I've enabled suspend-to-disk in the kernel.  When I issue the command
echo disk  /sys/power/state, it suspends but *IMMEDIATELY* reboots
and comes back up again.  The session restores properly from the swap
drive, so at least that part works.  What can I do to keep it sleeping
until I power up again?

  The major non-standard items with my system are that

1) I've set the short button-press on the power-button as a panic escape
to kick me to VT1, rather than reboot.
2) I've disabled {CTRL-ALT-DEL}, because I've hit it once too often at
home after becoming used to it on Windows at work... gr

  A relatively minor nuisance is due to the fact I combine vga=6 in
/etc/lilo.conf with CONSOLEFONT=lat1-10 in /etc/conf.d/consolefont.
vga=6 defaults to 8-pixel-high font on 640 pixels across by 480 pixels
high.  This gives 60 rows of text, but is unreadable.  Switching over to
a 10-pixel-high font gives a nicer, more readable, 48-row display.
 
  After coming back from its very short suspend, the machine comes back
up with a 640 pixel x 480 scanline display as per vga=6.  It also
remembers that I have 48 lines on my text consoles.  But it gives the
full 60 row display, with the bottom dozen rows not being used.  I can
straighten this out by manually issuing the command...
setfont /usr/share/consolefonts/lat1-10.  Is there a script file that
can be set up to execute only after a resume?

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Colors corrupted in X after returning from text console

2009-10-20 Thread waltdnes
  Some people like the nice crisp text of true console mode.  Many can't
stand surfing with a textmode browser.  Count me in both groups.  So I
switch back and forth a lot.  This email is being composed in a true
text console (80 columns x 48 rows; but that's another story).  I flip
to X for surfing/spreadsheets/etc.  When I do, I find that the colours
on my current machine's display are corrupted.  Clicking on a window
will reset most of the colours, but the window title-bar still looks
like colour confetti.

  Background info... I'm running 32-bit X86 Gentoo on an Intel Core2
Duo cpu.  lspci -v shows the integrated video controller twice, as
both 00:00.0 and as 00:02.0, like so...


00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM
Controller (rev 02)
Subsystem: Dell Device 020d
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information ?
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express
Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Subsystem: Dell Device 020d
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at fdf0 (32-bit, non-prefetchable) [size=512K]
I/O ports at ff00 [size=8]
Memory at d000 (32-bit, prefetchable) [size=256M]
Memory at fdc0 (32-bit, non-prefetchable) [size=1M]
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Count=1/1
Enable-
Capabilities: [d0] Power Management version 2


-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Colors corrupted in X after returning from text console

2009-10-20 Thread waltdnes
On Tue, Oct 20, 2009 at 09:30:06PM -0400, Albert Hopkins wrote

 If you are using the Intel graphics I think you should try KMS.
 Switching back and forth between X and a vt is both fast and
 flicker-free and I haven't seen any artifacts switching between
 the two.

  From looking at Google, I think you're referring to kernel mode
switching.  I have looked all over make menuconfig and can't find it.
What is the reference I should be looking for?  I'm running the
latest stable kernel as near as I can tell...

[d531][waltdnes][~] uname -sr
Linux 2.6.30-gentoo-r7

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Machine reboots immediately when suspended-to-disk

2009-10-21 Thread waltdnes
On Tue, Oct 20, 2009 at 08:54:02PM -0400, Albert Hopkins wrote

 Ok the echo trick isn't the recommended way to suspend to disk.  A
 better way is to use pm-hibernate --quirks (pm-hibernate is from the
 pm-utils packages).  The --quirks option will try to handle any, well,
 quirks that are known with your hardware.  echo'ing to /sys/power/state
 is a little more low-level and could be iffy on some types of hardware.

  I ended up emerging hibernate-script and it runs great.  I added a few
tweaks to hibernate.conf.  Here's what it looks like...

TryMethod disk.conf
Distribution gentoo
OnResume 00 setfont lat1-10
DownInterfaces auto
UpInterfaces auto
UseSysfsPowerState disk
PowerdownMethod shutdown

  As for pm-utils...
RANT
Why the bleep can't some programmers go to the bathroom without invoking
hal and dbus?  They're hard-coded dependancies for pm-utils.  I've
managed to keep hal and dbus (and java and pam) off my machine, and will
continue doing so.  If I had a bunch of money lying around, I'd hire some
programmers to seriously slim down Firefox while I was at it.  There is
no reason a browser should need an SQL database.
/RANT

 You should also check dmesg.  More than likely there is a kernel error
 that explains why it failed to suspend completely.

  Nothing obvious in dmesg when I tried manually shutting down.  The
listing showed the system shutting down, and then starting up.  No
warnings, let alone errors.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Colors corrupted in X after returning from text console

2009-10-21 Thread waltdnes
On Wed, Oct 21, 2009 at 06:16:46AM -0400, Albert Hopkins wrote

 http://en.gentoo-wiki.com/wiki/Intel_GMA#Kernel_Modesetting

  Thanks.  I'll read that over and try it out.  From the looks of it,
I'll have to go into my backups and dig up a working xorg.conf.  And
save a text copy of the xorg.conf man page while I'm at it.  The xorg
configuration tools are nowhere to be seen.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Colors corrupted in X after returning from text console

2009-10-21 Thread waltdnes
On Wed, Oct 21, 2009 at 06:55:50PM -0400, Albert Hopkins wrote

 You may not have do that.  All 3 of my systems with Intel graphics run
 KMS with X with no xorg.conf at all.  But since you're running stable
 YMMV.

  Fortunately I've set up lilo to boot up from separate Production and
Experimental kernels.  This allows me to reboot and flee to a sane
config if things go wrong.  It appears that nothing is simple.  The Intel
driver works great in X, without an xorg.conf.  However, it insists on
running framebuffer in text console mode.  I *CANNOT* turn off framebuffer.
Passing parameters to lilo via...

append = noexec=on noexec32=on nofb

doesn't help.  In make menuconfig graphics/console, I see

-*- Framebuffer Console support

there is no box to uncheck.  Could it be related to my /etc/make.conf

VIDEO_CARDS=intel vga

  Would changing that to VIDEO_CARDS=intel (and re-emerging xorg) help?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Colors corrupted in X after returning from text console

2009-10-22 Thread waltdnes
On Wed, Oct 21, 2009 at 10:59:12PM -0400, Albert Hopkins wrote

 KMS drivers and framebuffer console drivers are different and AFAIK
 mutually exclusive.  The boot parameter to disable KMS would be, e.g.,
 i915.modeset=0

  I don't want to disable KMS, I want to disable framebuffer, and I
simply cannot do so with the i915 driver enabled... period. end of
story.  It is automatically enable in make menuconfig.  The option is
-*- rather than [*].

  I've tried nofb in the lilo append line, and manually unsetting all
the FB_CONFIG* parameters in .config with vim and rebuilding, but it
still comes up in framebuffer mode.  I'll have to wait for the next
kernel updates, I suppose.  I don't want to play with ~x86.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Has MySQL become compulsory?

2009-10-23 Thread waltdnes
On Sat, Oct 24, 2009 at 02:02:16AM +0200, Dave Jones wrote

 My question concerns an apparent new requirement for mysql. Your
 asides about xorg-1.6, libxcb, dbus/hal do not seem to be relevant
 in any way.
 
 Any (helpful) takers out there?

  It looks like yes, MySql is compulsory now.  See...
http://techbase.kde.org/Projects/PIM/Akonadi#Which_DBMS_does_Akonadi_use.3F
read it and weep.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-28 Thread waltdnes
On Mon, Oct 26, 2009 at 09:10:33AM +, Neil Bothwick wrote

 That's a correct assumption. The assumption about which options you don't
 need may not have been so correct. It's safer to start with a bloated but
 working kernel and whittle it down gradually.

  And keep backup copies of each working .config file as you go merrily
whittling away, so you can fall back to something other than back to
square 1.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] What's the latest install-from-USB-key procedure?

2009-11-04 Thread waltdnes
  What's the latest install-from-USB-key procedure?  The stuff I've
found on Google and the Gentoo wiki references obsolete versions of
Gentoo, and I don't know if it would work.  I've got an Acer Aspire One,
with no CD/DVD.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] [SOLVED] gcc build fails during emerge system on new 64-bit install

2010-06-26 Thread waltdnes
On Fri, Jun 25, 2010 at 12:44:47AM -0500, Dale wrote

 For future reference, after you switch gcc, you should run env-update 
 and source /etc/profile.  Then you don't have to log out and back in 
 again.  One could argue that one is easier than the other tho.  ;-)  

  I knew I had to do a couple of things if I wanted to avoid logout and
login, but I couldn't remember off the top of my head.  It was easier to
just log out+in rather than look it up.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] XServer hal useflag

2010-06-26 Thread waltdnes
On Sat, Jun 26, 2010 at 08:54:07PM +0200, Stefan G. Weichinger wrote

 Is it time already to set -hal in make.conf and get rid of hal?

  Even better, put it in /etc/portage/package.mask.  Here's mine...

sys-apps/dbus
sys-apps/hal
sys-libs/pam

 I could simply try, yes ;-)

  Try it, you'll like it.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] X Windows setup questions on my new machine

2010-06-26 Thread waltdnes
1) Text sucks on webpages, and other GUI apps.  For a sample, see...
http://clients.teksavvy.com/~walterdnes/misc/webtext.png where I snipped
2 sentences from the CNN webpage.  How can I fix it?

2) Back in 2000, one of the things that drove me to linux was the
availability of true console text mode, and also true console text mode
apps.  Up till now, I've used text mode when possible, because it's a
lot easier on my eyes.  I'm realistic about using X for web browsing and
spreadsheets, and other GUI-oriented stuff.  But email and text files
should be textmode, dammit.

  However, my new machine's Intel integrated graphics chip doesn't agree.
X will *NOT* work unless I enable i915 DRM driver in make menuconfig,
like so...

*   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  ---

  This results in framebuffer being *FORCED* on.

* Direct Rendering Manager (XFree86 4.1.0 and higher DRI support
-*- Lowlevel video output switch controls
-*- Support for frame buffer devices  ---

  Let's just say that framebuffer video on a 1920x1200 24 LCD sucketh
to the max.  I get 74 rows by some ridiculous number of columns of
miniscule, virtually unreadable font.  This is with the default VGA
boot, not with VGA=6.  Is there any way I can get rid of framebuffer
mode, while retaining X functionality?  Why the bleep does X Windows
require framebuffer, anyways?  The lspci -vv output for my video card
is listed below...

00:02.0 VGA compatible controller: Intel Corporation Clarkdale
Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. Device 7636
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort-
TAbort- MAbort- SERR- PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 31
Region 0: Memory at fb80 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at d000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at cc00 [size=8]
Expansion ROM at unassigned [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0f00c  Data: 4199
Capabilities: [d0] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a4] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: i915

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Hibernate script trying to bring down non-existant sit0

2010-06-26 Thread waltdnes
  Another little glitch on my new machine.  I have hibernate enabled for
my regular user account via /etc/sudoers.  The command fails due to an
error in NetworkStop.  Switching to root, and running hibernate with the
verbose -v3 option, I see the following...

hibernate: [60] Executing NetworkStop ...
Bringing down interface eth0
 * Stopping eth0
 *   Bringing down eth0
 * Shutting down eth0 ... [ ok ]
Bringing down interface sit0
hibernate: Aborting suspend due to errors in NetworkStop (use --force to 
override).

  Hibernate dies trying to bring down sit0.  Huh???  I've checked...
- no /etc/init.d/net.sit0
- only eth0 is mentioned in /etc/conf.d/net
- ifconfig only shows eth0 and lo
- lspci only shows one ethernet controller

  For now, I've enabled hibernate with the --force option in sudoers,
but I'm not comfortable with it.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Hibernate script trying to bring down non-existant sit0

2010-06-27 Thread waltdnes
On Sun, Jun 27, 2010 at 12:21:06AM +0100, Mick wrote

 Check again using 'iconfig -a'.
 
 You should see a IPv6-in-IPv4 interface there.  Normally, this would
 not be up unless you have set up some fancy tunnel with your ISP
 who would be terminating your IPv6 link.  My ISP offers this but
 have not as yet found a use for it.

  Thanks for pointing out IPV6 to me.  Since this is a brand new machine
with different components from my other system, I couldn't copy over
.config, so I had to configure the kernel manually.  In the process, I
forgot to disable IPV6.  The presence of IPV6 causes sit0 to show up.  I
removed IPV6, and a regular hibernate works OK now.  Thanks again.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] X Windows setup questions on my new machine

2010-06-28 Thread waltdnes
On Sun, Jun 27, 2010 at 08:26:25AM -0400, Willie Wong wrote

 Also, have you tried just using larger fonts on the console? If you
 emerge sys-apps/kbd, there should be some fonts in
 /usr/share/consolefonts. You can use setfont name to test which
 one you want to use (some of them are bigger fonts). You may also want
 to try media-fonts/terminus-font (what I use), it claims to have a
 16x32 variant which is twice as large as the default console fonts. 

  Thanks for the idea.  I'm now using sun12x22.  It gives me 160 columns
by 54 rows.  It's perfectly readable, although the right half of the
text console screen is blank most of the time.  Oh well, I'll probably
be using vsplit in vim a lot more now.

 After finding a font you like you can set it in
 /etc/conf.d/consolefont to automatically load at boot time. 

  I used to do that with vga=6 in /etc/lilo.conf and lat1-10 in
/etc/conf.d/consolefont which combined to give me a nice crisp 48 row
display.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] VM experiences and faqs?

2010-06-28 Thread waltdnes
  I have a 4-core Intel i3 (/proc/cpuinfo dump below) running 64 bit
Gentoo.  I want to try hosting 32-bit Gentoo and also OS/2 Warp 4 on it.
What are people's experiences with different VM environments?  Google
searching turns up a lot of out-of-date blogs/wikis.  My CPU...

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model   : 37
model name  : Intel(R) Core(TM) i3 CPU 530  @ 2.93GHz
stepping: 2
cpu MHz : 2933.000
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 2
cpu cores   : 2
apicid  : 5
initial apicid  : 5
fpu : yes
fpu_exception   : yes
cpuid level : 11
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good
xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2
ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat tpr_shadow vnmi
flexpriority ept vpid
bogomips: 5851.93
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] slow x

2010-06-28 Thread waltdnes
On Mon, Jun 28, 2010 at 09:26:13PM +0200, mailinglist...@gmail.com wrote

 My x is a bit slow. Lets say I have a minimized web browser with a
 page with pictures and text.  If I maximize it, the drawing of the
 page and the widgets doesn't happen instantly, but it takes a moment.

  Is this for all X apps, or just Firefox.  If it's just text-rendering,
try compiling Firefox with moznopango flag , either in /etc/make.conf
or /etc/package.use.  Note that this may disable non-English fonts.

 I have a radeon 7500 , 512MB of RAM, 1,5GHz AMD
 and fluxbox, 1.6.5-r1 x server.

  Is that 512MB the video card or your system ram?  If it's 512MB system
ram, that's probably your problem right there.  Firefox will strain your
system just by itself.  Firefox is getting too bloated for its own good.
SQL database and spell-check built in... what was the old joke about
Mozilla 0.9... about:kitchen sink.  Firefox is a mediocre operating
system that lacks a lightweight web-browser.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] VM experiences and faqs?

2010-06-29 Thread waltdnes
On Mon, Jun 28, 2010 at 05:56:45PM +0700, Robin Atwood wrote

 I installed OS/2 Warp 4 with KVM and it just worked (TM)! It is also 
 incredibly fast (on a Core2 Duo).

  Thanks for that report.  I'll try it out.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: KDE? Get me out of here!

2010-06-29 Thread waltdnes
On Tue, Jun 29, 2010 at 06:04:59PM -0700, walt wrote

 When companies that rich and powerful push web-only services as the
 answer to their revenue prayers, I suspect they may be able to win.

  The answer to that is Gnumeric/Abiword, unless MS/Google get them
outlawed.  OpenOffice (Bleagh) and KOffice (Bleagh) are bloated, but
some people still use them.

 If the trend continues, only port 80 will be in use in a few years.
 Will the black hat hackers be unhappy about that?  Dunno, but I'd
 guess not.

  Hackers will be very happy and clients will be very vulnerable...
du, nice profitable company youse got there Mr. CEO.  It would be a
shame if something terrible should happen to your cashflow, like your
internet connection was killed by a backhoe, or a DDOS attack.  Now, for
only a few thousand dollars per month in protection, wese can see to it
that nothing terrible happens to your beautiful cashflow.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: VM experiences and faqs?

2010-06-29 Thread waltdnes
On Tue, Jun 29, 2010 at 06:20:08PM -0700, walt wrote

 But my real reason for replying is to ask you why you're interested
 in OS/2.  I thought IBM lost interest in it ages ago.  Am I wrong?

  I have Galactic Civilizations V2.5, an OS/2-only game, on a 400 mhz
PII running Warp 4.  I still love it after all these years.  That
machine has lasted a lot longer than it should've, and it's damn loud.
Virtualize that, and I'll be one happy camper.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Can we please get a USB-stick install boot image?

2010-06-30 Thread waltdnes
  I don't know if this is the proper list to post this request to.  I've
been using linux for a dozen years, and am capable of reading and
following instructions.  But, after a lot of dicking around, I still
haven't been able to modify a CD boot image get Gentoo to boot from a
USB stick.  For my netbook (look ma, no CD) I ended up booting Knoppix
from a USB-stick, and installing Gentoo from there.

  There are quite a few machines without CD drives being sold today, but
none that I'm aware of that won't boot from a USB stick.  I believe that
USB-stick images, rather than CD images, should be the default
distributed boot images on the mirrors.  And think of all the CD's that
won't end up in the landfill, after an install image is used once.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] qemu-kvm setup questions

2010-07-01 Thread waltdnes
  qemu-kvm apparently expects a couple of options in /etc/make.conf,
namely QEMU_SOFTMMU_TARGETS and QEMU_USER_TARGETS.  The documentation
that I could find in Google is underwhelming, to say the least.  I could
guess from the names alone that they define targets...dohhh.  It could
use an example.

  For instance, my physical machine (i.e. the host) is x86_64, running
64-bit Gentoo.  I would like to emulate a 32-bit x86 (i386 ?).  I will
be trying to run 32-bit Gentoo and OS/2 Warp 4.  My uneducated guess is
QEMU_SOFTMMU_TARGETS=i386
QEMU_USER_TARGETS=x86_64

  Is this correct?  If not, what should I be using?

  Also, are there any gotcha's for file access from the guest to the
host?  Rather than re-downloading stuff all the time, I'm thinking of
giving the guest read-only access to the host's /usr/portage.  That
should cover both syncing and distfiles.  My only concern is how the
different profiles are handled, i.e. 64-bit versus 32-bit.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Can we please get a USB-stick install boot image?

2010-07-02 Thread waltdnes
On Wed, Jun 30, 2010 at 07:56:31PM -0300, Cr??stian Viana wrote
 use UNetbootin (http://unetbootin.sf.net) to create a bootable USB stick.

  According to http://unetbootin.sourceforge.net/#other

 The Linux version is compiled using g++, while the Windows version
 is cross-compiled using mingw32. Both use a statically linked version
 of qt4 (to eliminate external library dependencies).

...but, thanks to its fancy-schmancy GUI...

waltd...@i3 ~ $ emerge -pv unetbootin

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] sys-fs/mtools-3.9.11  USE=-X 267 kB
[ebuild  N] app-arch/p7zip-4.65-r1  USE=-doc -kde -rar (-static) 
-wxwidgets 2,443 kB
[ebuild  N] x11-libs/qt-core-4.6.2-r1  USE=(-aqua) -debug -doc -exceptions 
-glib -iconv -optimized-qmake -pch -qt3support -ssl 156,838 kB
[ebuild  N] dev-lang/nasm-2.08.01  USE=-doc 765 kB
[ebuild  N] dev-perl/Crypt-PasswdMD5-1.3  5 kB
[ebuild  N] perl-core/MIME-Base64-3.08  17 kB
[ebuild  N] x11-libs/qt-script-4.6.2  USE=(-aqua) -debug -exceptions 
-iconv -pch 0 kB
[ebuild  N] virtual/perl-MIME-Base64-3.08  0 kB
[ebuild  N] x11-libs/qt-gui-4.6.2  USE=mng tiff -accessibility
(-aqua) -cups -dbus -debug -exceptions -glib -gtk -nas -nis -pch
-qt3support -raster -xinerama 0 kB
[ebuild  N] perl-core/digest-base-1.16  9 kB
[ebuild  N] virtual/perl-digest-base-1.16  0 kB
[ebuild  N] dev-perl/Digest-SHA1-2.12  39 kB
[ebuild  N] sys-boot/syslinux-3.86  USE=-custom-cflags 3,649 kB
[ebuild  N] sys-boot/unetbootin-442  465 kB

Total: 14 packages (14 new), Size of downloads: 164,491 kB

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: how to get rid of kernel modules?

2011-11-14 Thread waltdnes
On Sat, Nov 12, 2011 at 04:50:29AM +0200, Nikos Chantziaras wrote
 On 11/11/2011 08:14 AM, Pandu Poluan wrote:
 
  On Nov 11, 2011 11:02 AM, Nikos Chantziaras rea...@arcor.de
  mailto:rea...@arcor.de wrote:
 
  Isn't there a selection in make menuconfig asynchronous scsi scan (or
  something like that)?
 
 There is.  But scsi_wait_scan.ko will still be built.

  Thanks.  I'm always learning something new on this list.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] XEmacs from Outer Space...is it Plan 9 or what ? ;)

2011-11-14 Thread waltdnes
On Sat, Nov 12, 2011 at 05:39:54PM +0100, meino.cra...@gmx.de wrote
 Fredric Johansson fredric.miscm...@gmail.com [11-11-12 17:32]:
 
 But: Now and when I may did install it accidently it is/was true, that
 Xemacs was needed and would be installed. Why was it pulled in now,
 if it would have been installed when I installed app-xemacs/emerge
 accidently?

  Here's what you may have done ***WITHOUT*** the -

waltdnes@d531 ~ $ emerge -p emerge vim

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N ] app-admin/eselect-emacs-1.13 
[ebuild  N ] media-libs/audiofile-0.3.1  USE=-static-libs 
[ebuild   R] app-editors/vim-7.3.266 
[ebuild  N ] app-editors/xemacs-21.4.22-r2  USE=X gif jpeg png tiff -Xaw3d 
-athena -berkdb -canna -dnd -eolconv -esd -freewnn -gdbm -gpm -ldap -motif 
-mule -nas -neXt -pop -postgres -xface -xim 
[ebuild  N ] app-xemacs/xemacs-base-2.27 
[ebuild  N ] app-xemacs/emerge-1.11

  Pulls in emacs.  Talk about an accident waiting to happen...

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?

2011-11-14 Thread waltdnes
  After a recent thread, about udev developers wanting /usr on the same
partition as / (or else requiring initramfs), it was pretty obvious
that 90%+ of the users here strongly disliked the idea.  I went around
asking on various lists if it was possible to run Gentoo without udev.
After some research, and various unrelated delays, I've come up with a
working Gentoo without udev.  It turns out that busybox's mdev
implementation is sufficient for my needs.  I do the usual email, web
surfing, including Youtube.  I'm listening to Live365.com as I type this
email, so Flash works just fine.  Contrary to the FUD I've heard, X
works just fine, thank you, without an xorg.conf.  Modern flatscreens
with EDID info are set up automatically.  I suppose that old CRT
monitors without EDID info might require xorg.conf, but that's exotic
hardware nowadays.  The only change I notice is somewhat faster bootup.

  The purpose of this email is to ask adventurous people here to beta
test my approach to a udev-less Gentoo.  If we don't find any
showstopper problems, we can think about requesting Gentoo developers to
support an mdev-based profile.  It would help the cause if a large
number of testers can report that it works for them.  The instructions
for a udev-ectomy follow below.  Thanks to Zac Medico and others on the
Gentoo developers' list for their helpful hints and pointers on how to
do this.  I couldn't have figured this out by myself.

  The usual warnings apply...
* this is a beta
* use a spare test machine
* if you don't follow the instructions correctly, the result might be
  an unbootable linux
* even if you do follow instructions, the result might be an unbootable
  linux


1) Set up your kernel to support and automount a devtmpfs filesystem at
   /dev

* If you prefer to edit .config directly, set
  CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y

* If you prefer make menuconfig, the route is as shown below.  Note
  that the Autount devtmpfs... option won't appear until you enable
  Maintain a devtmpf... option.

make menuconfig
  Device Drivers  ---
Generic Driver Options  ---
  [*] Maintain a devtmpfs filesystem to mount at /dev
  [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs

  Once you've made the changes, rebuild the kernel.


2) Set up for emerging busybox, there are 2 items to change

A) It appears that there may be an mdev bug in older versions of
   busybox.  To avoid that bug, keyword busybox-1.19.2 in
   /etc/portage/package.keywords  E.g. if you're using 32-bit Gentoo on
   Intel, the incantation is...

=sys-apps/busybox-1.19.2 ~x86

   Change the ~x86 to reflect your architecture, etc.

B) busybox requires the mdev flag in this situation.  The static
flag is probably also a good idea.  In file /etc/portage/package.use
add the line

sys-apps/busybox static mdev

   Now, emerge busybox


3) In the bootloader append line, include init=/sbin/linuxrc where
   the file /sbin/linuxrc consists of *AT LEAST*...

#!/sbin/busybox ash
mount -t proc proc /proc
mount -t sysfs sysfs /sys
exec /sbin/init

   This should be enough for most users.  If you have an unusual setup,
   you may need additional stuff in there.  If you're using lilo remember
   to re-run lilo to implement the changes.

4) Remove udev from the services list, and replace it with mdev.  Type
   the following 2 commands at the command line
rc-update del udev sysinit
rc-update add mdev sysinit


5) reboot to your new kernel.  You're now running without using udev.


6) ***THIS STEP IS OPTIONAL***  This is only to alay any suspicion that
   udev is still in use.  udev is pulled in by virtual/dev-manager,
   which in turn is pulled in by the kernel.
* cd /usr/portage/virtual/dev-manager
* Make a backup copy of dev-manager-0.ebuild
* Edit dev-manager-0.ebuild to include sys-apps/busybox as one option
  in RDEPEND, like so...

RDEPEND=|| ( sys-fs/udev
sys-fs/devfsd
sys-apps/busybox
sys-fs/static-dev
sys-freebsd/freebsd-sbin )

  I had really wanted to use sys-apps/busybox[mdev], but an EAPI-0
  ebuild can't handle that syntax.

* execute the following 3 commands at the commandline
ebuild dev-manager-0.ebuild digest
emerge -1 dev-manager
emerge --unmerge sys-fs/udev

* In file /atc/portage/package.mask, append the line
sys-fs/udev
  Create the file if it doesn't already exist.  You now have a totally
  udev-free machine

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?

2011-11-15 Thread waltdnes
On Tue, Nov 15, 2011 at 02:44:58PM +0700, Pandu Poluan wrote

 However, my Gentoo systems are all virtual servers (DomU VMs on XenServer).
 So, the hardware devices are static. Will switching over to mdev give any
 benefits?
 
 I even am toying around with the idea of having a completely static /dev,
 but still can't find any guide/pointers yet.
 
 (Apologies if my email is OOT)

  The more scenarios we can test, the better.  mdev might shave a second
  or two off the VM's bootup time, versus udev.

-- 
Walter Dnes waltd...@waltdnes.org



Re: CRTs and EDID (was: Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?

2011-11-16 Thread waltdnes
On Tue, Nov 15, 2011 at 09:53:47AM -0500, Michael Mol wrote

 Just an FYI, EDID blocks have been part of CRT tech since the mid to
 late 90s; it's the basis of plug  play monitors.
 
 IIRC, the EDID block is transported via DDC, which is essentially I2C
 implemented on top of your VGA cable. I've got three EDID-supporting,
 19 1600x1200 CRTs staring me in the face right now.
 
 https://plus.google.com/108080062547354628132/posts/ZLLw66eL4We

  Maybe X has learned how to read them without udev's help.  The xorg
logfile shows the EDID block, max/min horizontal/vertical scan rates,
supported modes, etc.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Progress on s/udev/mdev/

2011-11-18 Thread waltdnes
On Sat, Nov 19, 2011 at 08:41:43AM +0700, Pandu Poluan wrote
 On Nov 19, 2011 6:56 AM, Neil Bothwick n...@digimed.co.uk wrote:
 
  On Sat, 19 Nov 2011 09:38:42 +1100, Paul Colquhoun wrote:
 
   You can copy the ebuild to your own private overlay
   ( /usr/local/portage ) make your changes there, and bump the version
   number slightly.
 
  No need to bump the version number, overlays take priority over the
  standard tree when there are equal version numbers.
 
 
 I knew I forgot something so simple .
 
 Thanks!
 
 Hmmm... so, @waltdnes, you should modify the procedure a bit, there...

  Will do.  This is what beta tests are for G.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] What provides font 7x14-ISO8859-1.pcf.gz in Gentoo?

2011-11-19 Thread waltdnes
  Specifically, -Misc-Fixed-Medium-R-Normal--14-130-75-75-C-70-ISO8859-1,
is loaded from that file.  Here's what lead me to ask...

- I installed xfreecell on a fresh system

- I couldn't get it to start, it complained about not being able to open
  a font, but didn't specify which one (thanks !NOT)

- I did some spelunking in the xfreecell tarball in distfiles.  Right
  near the top of the README file is a statement that says...
  Make sure there is a font named 7x14.

- xlsfonts | grep 7x14 didn't find anything

- in Google, I found other occurences of the same error message as I got
  and then asking how to get the 7x14 font

- there were several people reporting that font-misc-misc did the trick
  for them.  But it didn't work for me.

- file /usr/share/fonts/misc/fonts.alias showed that 7x14 was an alias
  for -Misc-Fixed-Medium-R-Normal--14-130-75-75-C-70-ISO8859-1

- The font-misc-misc ebuild appears to install 7x14.pcf.gz, which
  contains Misc-Fixed-Medium-R-Normal--14-130-75-75-C-70-ISO10646-1, a
  unicode font

- Out of sheer desperation, I dug through *.pcf.gz files on another
  machine, and copied over 7x14-ISO8859-1.pcf.gz, which finally got
  xfreecell working.

  I'd still like to know which ebuild I should've used, rather than
copying over a binary file.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Help; ISO8859-1 fonts not being installed

2011-11-20 Thread waltdnes
  At least I know what the problem is, so I'm changing the subject to
more appropriate title.  Thanks to Peter K for confirming that the font
I wanted should have been installed by font-misc-misc.  Just to confirm
my problem...

The only uncommented entry in /etc/locale.gen is en_US ISO-8859-1

[d531][root][~] locale-gen 
* Generating 1 locales (this might take a while) with 1 jobs
*  (1/1) Generating en_US.ISO-8859-1 ... [ ok ]
* Generation complete

When I emerge font-misc-misc, ISO8859-1 fonts do not get built.  See
attached build.log.gz.  Note...

 checking whether to build ISO8859-1 fonts... no ### What ?!?!?!
 checking whether to build ISO8859-2 fonts... no
 checking whether to build ISO8859-3 fonts... no
 checking whether to build ISO8859-4 fonts... no
 checking whether to build ISO8859-5 fonts... no
 checking whether to build ISO8859-7 fonts... no
 checking whether to build ISO8859-8 fonts... no
 checking whether to build ISO8859-9 fonts... no
 checking whether to build ISO8859-10 fonts... no
 checking whether to build ISO8859-11 fonts... no
 checking whether to build ISO8859-13 fonts... no
 checking whether to build ISO8859-14 fonts... no
 checking whether to build ISO8859-15 fonts... no
 checking whether to build ISO8859-16 fonts... no
 checking whether to build KOI8-R fonts... no
 checking whether to build JISX0201 fonts... no

  What's going on???

-- 
Walter Dnes waltd...@waltdnes.org


build.log.gz
Description: Binary data


[gentoo-user] Re: [SOLVED] Help; ISO8859-1 fonts not being installed

2011-11-21 Thread waltdnes
On Sun, Nov 20, 2011 at 03:57:02PM -0500, waltd...@waltdnes.org wrote

 When I emerge font-misc-misc, ISO8859-1 fonts do not get built.  See
 attached build.log.gz.  Note...
 
  checking whether to build ISO8859-1 fonts... no ### What ?!?!?!
  checking whether to build ISO8859-2 fonts... no
  checking whether to build ISO8859-3 fonts... no
  checking whether to build ISO8859-4 fonts... no
  checking whether to build ISO8859-5 fonts... no
  checking whether to build ISO8859-7 fonts... no
  checking whether to build ISO8859-8 fonts... no
  checking whether to build ISO8859-9 fonts... no
  checking whether to build ISO8859-10 fonts... no
  checking whether to build ISO8859-11 fonts... no
  checking whether to build ISO8859-13 fonts... no
  checking whether to build ISO8859-14 fonts... no
  checking whether to build ISO8859-15 fonts... no
  checking whether to build ISO8859-16 fonts... no
  checking whether to build KOI8-R fonts... no
  checking whether to build JISX0201 fonts... no

  See https://bugs.gentoo.org/show_bug.cgi?id=368335 for the bug and the
work-around.  It is a heavy-handed hack, but at least the font installs,
and xfreecell works.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Progress on s/udev/mdev/

2011-11-21 Thread waltdnes
On Sat, Nov 19, 2011 at 09:53:50PM -0600, Dale wrote

 Question:  Is this going to be added to the shiney new Gentoo wiki at 
 some point?  The wiki needs some more content for sure.  ;-)
 
 I didn't know if ya'll had thought of this before or not.

  Actually, I was hoping to convince the devs to accept a patched ebuild
that would accept busybox with the +mdev flag, in addition to the other
options in RDEPEND.  If this gets accepted by the devs, it would imply
changes in the Gentoo docs, plus an additional new profile, etc, etc.

  Right now, it has to be manually maintained, because it's off the
beaten path, and beta-testing, etc.  I'm not looking to fork Gentoo.  I
want this to become another optional profile, not a hack-job that has to
be manually maintained by the user.

  IANACP (I Am Not A C Programmer).  I'm willing to help out in the
documentation, or where ever else I can.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 2

2011-11-21 Thread waltdnes
  Based on feedback, I've changed step 6, to get a modified ebuild for
virtual/dev-manager to properly check for busybox with the mdev USE
flag.  Steps 1-through-5 are unchanged.

  The usual warnings apply...
* this is a beta
* use a spare test machine
* if you don't follow the instructions correctly, the result might be
  an unbootable linux
* even if you do follow instructions, the result might be an unbootable
  linux


1) Set up your kernel to support and automount a devtmpfs filesystem at
   /dev

* If you prefer to edit .config directly, set
  CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y

* If you prefer make menuconfig, the route is as shown below.  Note
  that the Autount devtmpfs... option won't appear until you enable
  Maintain a devtmpf... option.

make menuconfig
  Device Drivers  ---
Generic Driver Options  ---
  [*] Maintain a devtmpfs filesystem to mount at /dev
  [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs

  Once you've made the changes, rebuild the kernel.


2) Set up for emerging busybox, there are 2 items to change

A) It appears that there may be an mdev bug in older versions of
   busybox.  To avoid that bug, keyword busybox-1.19.2 in
   /etc/portage/package.keywords  E.g. if you're using 32-bit Gentoo on
   Intel, the incantation is...

=sys-apps/busybox-1.19.2 ~x86

   Change the ~x86 to reflect your architecture, etc.

B) busybox requires the mdev flag in this situation.  The static
flag is probably also a good idea.  In file /etc/portage/package.use
add the line

sys-apps/busybox static mdev

   Now, emerge busybox


3) In the bootloader append line, include init=/sbin/linuxrc where
   the file /sbin/linuxrc consists of *AT LEAST*...

#!/sbin/busybox ash
mount -t proc proc /proc
mount -t sysfs sysfs /sys
exec /sbin/init

   This should be enough for most users.  If you have an unusual setup,
   you may need additional stuff in there.  If you're using lilo remember
   to re-run lilo to implement the changes.

4) Remove udev from the services list, and replace it with mdev.  Type
   the following 2 commands at the command line
rc-update del udev sysinit
rc-update add mdev sysinit


5) reboot to your new kernel.  You're now running without using udev.


6) ***THIS STEP IS OPTIONAL***  This is only to alay any suspicion that
   udev is still in use.  udev is pulled in by virtual/dev-manager,
   which in turn is pulled in by the kernel.

* If you don't already have an overlay, create one, and implement it in
  /etc/make.conf.  In the following example, I'll use my setup, which has
  the overlay in /usr/local/portage

* copy the contents of /usr/portage/virtual/dev-manager/ to
  /usr/local/portage/virtual/dev-manager/

* cd /usr/local/portage/virtual/dev-manager/

* Edit the dev-manager-0.ebuild in the overlay to include
  sys-apps/busybox[mdev] as one option in RDEPEND.  And also include
  EAPI=2 at the top of the ebuild, which is required for this syntax.
  The revised ebuild is shown below.


EAPI=2

DESCRIPTION=Virtual for the device filesystem manager
HOMEPAGE=
SRC_URI=

LICENSE=
SLOT=0
KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~spar
c-fbsd ~x86-fbsd
IUSE=

DEPEND=
RDEPEND=|| ( sys-fs/udev
sys-apps/busybox[mdev]
sys-fs/devfsd
sys-fs/static-dev
sys-freebsd/freebsd-sbin )


* execute the following 3 commands at the commandline
ebuild dev-manager-0.ebuild digest
emerge -1 dev-manager
emerge --unmerge sys-fs/udev

* In file /atc/portage/package.mask, append the line
sys-fs/udev
  Create the file if it doesn't already exist.  You now have a totally
  udev-free machine


-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Error message for several ebuilds when updating world.

2011-11-24 Thread waltdnes
  I just ran a sync and update on my laptop.  The builds for...

gnome-extra/libgsf-1.14.21
x11-libs/gdk-pixbuf-2.24.0-r1
gnome-base/librsvg-2.34.1-r1
www-client/firefox-7.0.1-r1
app-text/ghostscript-gpl-9.04-r4
app-office/abiword-2.8.6-r1

...all came up with the same warning in /var/log/portage/elog

WARN: prepare
  We've already been run in this tree; you should
  avoid this if possible (perhaps by filing a bug)

Any ideas what this is all about?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] new machine : (1) which CPU ?

2012-07-21 Thread waltdnes
On Fri, Jul 20, 2012 at 08:49:32PM -0500, Alecks Gates wrote

 I'd pick AMD, and very likely one of their APUs if you don't need
 intense graphics, as they seem to be able to handle most things well
 and even some light gaming.

  How do AMD's and Intel's open source video drivers compare?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] gnome not working

2013-05-15 Thread waltdnes
On Mon, May 13, 2013 at 07:06:02AM -0400, cov...@ccs.covici.com wrote
 When I start gdm, I get a message on the screen which says oh no,
 something has gone wrong.  The log file is at
 http://pastebin.com/qwNE7ee6   -- I would appreciate any help.
 
 I am running gentoo testing with the 3.8 unmasked.

  Direct from the Making systemd more accessible to normal users
flamewar on gentoo-dev...

 And now that GNOME 3.8 is out, the game starts over again: logind
 is a hard requirement, logind is part of systemd, starting logind
 (which replaces consolekit) is not that trivial as you may think
 (and is the thing I started to work on anyway).
 
 And if this wasn't enough, it means that if you want GNOME 3.8,
 you need to get logind, which may or not may get included in our
 udev ebuild and if it won't, it means that you will be forced to use
 systemd as device manager if you want GNOME 3.8, which is believe
 it or not, the thing that Ubuntu did.

  Do you have systemd/logind installed?

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



[gentoo-user] Font problems on new install

2013-05-15 Thread waltdnes
  A new install 64-bit Dell.  I noted all the font files in my old
machine's /var/lib/world file and installed them on the new machine.
Notwithstanding that I had mysterious problems.  One of the icons on my
ICEWM toolbar launches the command...
 
xterm -bg black -fg cyan -geometry 80x58 -fn lucidasanstypewriter-12

  I got error messages about not being able to find the font,
notwithstanding that I have both
media-fonts/font-bh-lucidatypewriter-100dpi and
media-fonts/font-bh-lucidatypewriter-75dpi installed.  This had 3
unpleasant side-effects...

1) xterm went to a smallish default font that was rather hard to read

2) I figured no problem; I'll go {CTRL-RIGHTCLICK} and select a larger
font.  However, as soon as I did that, the xterm shut down!

3) xfreecell wouldn't start due to a font-not-found error.  Now it's
getting really serious.

  After a bunch of futile screwing around including a reprise of my
http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg123858.html
I exited X and performed a font transplant.  I.e. I renamed
/usr/share/fonts and copied over the /usr/share/fonts directory from the
older machine.  And it works beautifully.  I've backed up the directory
to a tarball on USB stick, just in case.  And I will be monitoring any
updates with an eagle eye.

  Anyone have any ideas?

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Re: Font problems on new install

2013-05-16 Thread waltdnes
On Thu, May 16, 2013 at 12:27:13PM -0700, walt wrote
 On 05/15/2013 04:09 PM, waltd...@waltdnes.org wrote:
   A new install 64-bit Dell.  I noted all the font files in my old
  machine's /var/lib/world file and installed them on the new machine.
  Notwithstanding that I had mysterious problems.  One of the icons on my
  ICEWM toolbar launches the command...
   
  xterm -bg black -fg cyan -geometry 80x58 -fn lucidasanstypewriter-12
  
I got error messages about not being able to find the font,
 
 Did you install the font-alias package?

  Yes.  That was one of the packages I installed.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



[gentoo-user] boot-time message about nic firmware patch

2013-05-17 Thread waltdnes
  The last 4 lines from dmesg...

[4.299946] r8169 :04:00.0 eth0: unable to load firmware patch 
rtl_nic/rtl8168e-3.fw (-2)
[4.312766] r8169 :04:00.0 eth0: link down
[4.312784] r8169 :04:00.0 eth0: link down
[6.019910] r8169 :04:00.0 eth0: link up

  It works.  I'm sending this email via that nic, but I wonder if it
could cause problems down the road.  Here's what lspci -v shows for
the nic.

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI 
Express Gigabit Ethernet controller (rev 07)
Subsystem: Dell Device 0581
Flags: bus master, fast devsel, latency 0, IRQ 43
I/O ports at e000 [size=256]
Memory at f0004000 (64-bit, prefetchable) [size=4K]
Memory at f000 (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 **-**-**-**-**-**-**-**
Kernel driver in use: r8169

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Console fonts revisited

2015-12-04 Thread waltdnes
On Fri, Dec 04, 2015 at 08:45:43PM +0100, waben...@gmail.com wrote

> Try consolefont="ter-124n". But as Peter said, the terminus-font
> needs some X libraries. I never noticed that, because on my system
> X was already installed before I installed media-fonts/terminus-font.

  I couldn't get anything less than 120 columns across.  Here's the
scriptlet "listres" I used to check all the terminal fonts.  Note that
it does *NOT* begin with #!/bin/bash and is not chmod'ed executable.
That's because COLUMNS and LINES are not environment variables, but are
shell variables.  So they are not inherited by a deeper script.

cd /usr/share/consolefonts
for cfont in ter-*
do
   setfont ${cfont}
   echo "${cfont} ${COLUMNS} ${LINES}"
done
cd

  I had to "source" it to stay within the same shell level...

 . listres > /dev/shm/screensize.txt

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] resolving names of local hosts locally

2015-12-03 Thread waltdnes
On Thu, Dec 03, 2015 at 11:20:57PM +0100, lee wrote

> Then how do you solve the problem of being unable to even resolve the
> names of hosts on the LAN when the connection goes down?

  Do the machines on the LAN have static IP addresses?  If so, try hosts
files on the LAN machines (No, my initials are not "apk").  If they get
random addresses via dhcp, that won't work.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Console fonts revisited

2015-12-04 Thread waltdnes
On Fri, Dec 04, 2015 at 10:02:59AM +, Peter Humphrey wrote

> A question for Wabe: are you talking about X fonts? I've been working
> on console fonts on a machine that has no X or other GUI. It's bad
> enough that terminus-font needs a few X libraries, without going
> the whole hog.

  Speaking of console fonts, is there a 24 pixel-wide font available, or
are there font-editors that can easily double or triple the width of a
font?  I have a 1920x1080 monitor, and 8-pixel-wide fonts are unreadable
with a 240-column-wide display.  I currently have...

consolefont="sun12x22"

...in /etc/conf.d/consolefont.  Remember to run...

rc-update add consolefont boot

...to make it take effect.  That's 160 columns across, and readable, but
still too much.  A 24-pixel-wide font would give me 80 columns across.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] OT: i7-6700, anyone already?

2015-12-09 Thread waltdnes
On Wed, Dec 09, 2015 at 11:03:23PM +0100, Stefan G. Weichinger wrote
> Am 2015-12-09 um 22:49 schrieb Alan McKinnon:
> 
> > Sounds like you're all set to use that i7 to it's fullest :-)
> 
> most of my work is terminal stuff ... and email
> 
> the i7-2600 does that as well, if we are honest!
> 
> I will give the i7-2xxx to someone with a way older CPU ... so it all
> works out in a way ;-)
> 
> the i7-6700 should be more snappy in a way. And I think, some fitting
> CFLAGS will help as well.

  You can't get beat...

CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-unwind-tables 
-fno-asynchronous-unwind-tables"

  That's what I use, except for cross-compiling.  For an explanation of
the "unwind" flags, see thread...
http://comments.gmane.org/gmane.linux.busybox/36695  from the busybox
mailing list.  And don't forget CPU_FLAGS_X86.  Emerge and run
app-portage/cpuinfo2cpuflags as soon as you can during the install
process.  I believe that's right after running "eselect profile".  And
then run "emerge system && emerge world".  It's a lot quicker when you
don't have very much installed on the machine.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] [SOLVED] What package provides gstreamer-app?

2015-12-11 Thread waltdnes
On Fri, Dec 11, 2015 at 02:20:43AM -0500, waltd...@waltdnes.org wrote
>   I've successfully manually compiled Pale Moon (a Firefox fork), but it
> doesn't play h264 files.  Apparently, I have to enable gstreamer for
> that.  OK, I did it.  This time the build fails with...
> 
> configure:20206: checking for gstreamer-0.10 >= 0.10.25
>   gstreamer-app-0.10
>   gstreamer-plugins-base-0.10
> *** Fix above errors and then restart with "make -f client.mk build"
> 
>   I built libgstreamer and the base plugins package.  It still fails.
> I can't find which package provides gstreamer-app.  Searching Google
> reveals that a lot of other people have the same problem.
> http://www.portagefilelist.de/ doesn't have any results.  Any ideas?

  That error message is rather cryptic.  Apparently, it means that it
needs specifically the 0.10-X series.  Searching through old threads in
the Pale Moon support forum revealed that there are "major issues" with
gstreamer-1.X support, so the build only supports the 0.10-X series of
gstreamer and plugins.  This is also a problem in Firefox, from which
Pale Moon is forked.  Fortunately, there are still 0.10-X series ebuilds
in the tree.  Just to be safe, I set up a local overlay with only the
0.10-X series versions of media-libs/

gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gst-rtsp-server
gstreamer

  I unmerged the version 1.X gstreamer and plugins, masked out >= 0.11
versions and emerged gst-plugins-base, which also pulled in gstreamer.
The Pale Moon build is churning along now, and I'll find out in a couple
of hours how it works with h264.  The web site...
http://www.quirksmode.org/html5/tests/video.html has h264, webm, and
ogg/theora test videos.  I currently have webm and ogg/theora working.
The gstreamer-enabled build will hopefully also run the h264 video.
This will also be useful for Youtube in HTML5 mode.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] blocking facebook

2015-12-11 Thread waltdnes
On Fri, Dec 11, 2015 at 08:03:14PM -0700, the...@sys-concept.com wrote
> Does anybody have an idea how to block facebook?
> 
> I'm using dd-wrt.  The "access restriction" can block http but not https
> and I'm not good in iptables :-/
> In addition users are using VirtualBox on the network as well.

  An excerpt from my /var/lib/iptables/rules-save ruleset...

[0:0] -A INPUT -s 31.13.24.0/21 -j FECESBOOK
[154:11168] -A INPUT -s 31.13.64.0/18 -j FECESBOOK
[0:0] -A INPUT -s 66.220.144.0/20 -j FECESBOOK
[0:0] -A INPUT -s 69.63.176.0/20 -j FECESBOOK
[0:0] -A INPUT -s 69.171.224.0/19 -j FECESBOOK
[0:0] -A INPUT -s 74.119.76.0/22 -j FECESBOOK
[0:0] -A INPUT -s 103.4.96.0/22 -j FECESBOOK
[0:0] -A INPUT -s 173.252.64.0/18 -j FECESBOOK
[0:0] -A INPUT -s 204.15.20.0/22 -j FECESBOOK

[0:0] -A OUTPUT -d 31.13.24.0/21 -j FECESBOOK
[3763325:225839770] -A OUTPUT -d 31.13.64.0/18 -j FECESBOOK
[56:3360] -A OUTPUT -d 66.220.144.0/20 -j FECESBOOK
[0:0] -A OUTPUT -d 69.63.176.0/20 -j FECESBOOK
[874:52440] -A OUTPUT -d 69.171.224.0/19 -j FECESBOOK
[0:0] -A OUTPUT -d 74.119.76.0/22 -j FECESBOOK
[0:0] -A OUTPUT -d 103.4.96.0/22 -j FECESBOOK
[3306:198360] -A OUTPUT -d 173.252.64.0/18 -j FECESBOOK
[0:0] -A OUTPUT -d 204.15.20.0/22 -j FECESBOOK

[3767715:226105098] -A FECESBOOK -j LOG --log-prefix "FECESBOOK:" --log-level 6
[3767715:226105098] -A FECESBOOK -j DROP

  It's OK to change the numbers in brackets to [0:0].  They represent
the number of [packets:bytes] since the rule was last updated.  Which
block has the most traffic depends on which part of the planet you're
on.  Here in Toronto, Canada outbound traffic to the 31.13.64.0/18
block, specifically 31.13.80.3, is the most common hit.  This comes from
websites with Facebook beacons trying to track every man and his dog.

  You'll notice the occasional website with a small rectangle that says
"...can't establish a connection to the server at...".  Insert your
browser's name at the left, and the website name (Facebook,
ad.doubleclick.net, etc) at the right.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Re: [SOLVED] What package provides gstreamer-app?

2015-12-13 Thread waltdnes
On Fri, Dec 11, 2015 at 06:32:48PM -0500, Jonathan Callen wrote

> > I unmerged the version 1.X gstreamer and plugins, masked out >=
> > 0.11 versions and emerged gst-plugins-base, which also pulled in
> > gstreamer. The Pale Moon build is churning along now, and I'll find
> > out in a couple of hours how it works with h264.  The web site... 
> > http://www.quirksmode.org/html5/tests/video.html has h264, webm,
> > and ogg/theora test videos.  I currently have webm and ogg/theora
> > working. The gstreamer-enabled build will hopefully also run the
> > h264 video. This will also be useful for Youtube in HTML5 mode.

  Success.  After a bit of experimenting I've gotten h.264 working at
the quirksmode website, and on Youtube.  Pale Moon browser requires...

gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-ffmpeg

  A confusing item is that gst-plugins-base and gst-plugins-good are in
media-libs/ but gst-plugins-ffmpeg and 77 others are in media-plugins/
Go figure.

> There is no need to remove the 1.x version of gstreamer (unless you
> just don't need it anymore).  The 0.8, 0.10, and 1.x branches of
> gstreamer are each slotted (well, the ancient 0.8 release is gone from
> the tree as nothing uses it any more) specifically so that they can be
> installed in parallel, and upstream actually supports doing so (which
> is why the ABI version number is in the name of every library, plugin
> directory, and executable).

  Nothing on my system requires 1.X and I prefer a lean system.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] OT: i7-6700, anyone already?

2015-12-10 Thread waltdnes
On Thu, Dec 10, 2015 at 07:46:51AM +0100, Stefan G. Weichinger wrote
> Am 10.12.2015 um 05:50 schrieb waltd...@waltdnes.org:
> 
> > CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-unwind-tables 
> > -fno-asynchronous-unwind-tables"
> > 
> >   That's what I use, except for cross-compiling.  For an explanation of
> > the "unwind" flags, see thread...
> > http://comments.gmane.org/gmane.linux.busybox/36695  from the busybox
> > mailing list.  And don't forget CPU_FLAGS_X86.  Emerge and run
> > app-portage/cpuinfo2cpuflags as soon as you can during the install
> > process.  I believe that's right after running "eselect profile".  And
> > then run "emerge system && emerge world".  It's a lot quicker when you
> > don't have very much installed on the machine.
> 
> did not know that tool, thanks.
> Will try on my existing box already.
> 
> Do I have to set that variable then (in make.conf?) ?

  Yes, you should.  While you're at it, you can remove the corresponding
flags from the USE= variable.  I don't know if they're honored by
portage any longer.  I assume you missed the news item back in January.
It's archived and you can read it at...
https://www.gentoo.org/support/news-items/2015-01-28-cpu_flags_x86-introduction.html

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] What package provides gstreamer-app?

2015-12-10 Thread waltdnes
  I've successfully manually compiled Pale Moon (a Firefox fork), but it
doesn't play h264 files.  Apparently, I have to enable gstreamer for
that.  OK, I did it.  This time the build fails with...

configure:20206: checking for gstreamer-0.10 >= 0.10.25
  gstreamer-app-0.10
  gstreamer-plugins-base-0.10
*** Fix above errors and then restart with "make -f client.mk build"

  I built libgstreamer and the base plugins package.  It still fails.
I can't find which package provides gstreamer-app.  Searching Google
reveals that a lot of other people have the same problem.
http://www.portagefilelist.de/ doesn't have any results.  Any ideas?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] What package provides gstreamer-app?

2015-12-11 Thread waltdnes
On Fri, Dec 11, 2015 at 09:02:53AM +, Neil Bothwick wrote
> On Fri, 11 Dec 2015 02:20:43 -0500, waltd...@waltdnes.org wrote:
> 
> >   I built libgstreamer and the base plugins package.  It still fails.
> > I can't find which package provides gstreamer-app.
> 
> % locate gstreamer-app 
> /usr/lib64/pkgconfig/gstreamer-app-0.10.pc
> /usr/lib64/pkgconfig/gstreamer-app-1.0.pc
> 
> % qfile /usr/lib64/pkgconfig/gstreamer-app-0.10.pc
> media-libs/gst-plugins-base (/usr/lib64/pkgconfig/gstreamer-app-0.10.pc)
> 
> % eix media-libs/gst-plugins-base
> [I] media-libs/gst-plugins-base
>  Available versions:  
>  (0.10) 0.10.36-r1 0.10.36-r2
>  (1.0)  1.2.4-r1 1.4.5 (~)1.6.0{tbz2} (~)1.6.1{tbz2}
>{X alsa +introspection ivorbis nls +ogg +orc +pango theora +vorbis 
> ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
>  Installed versions:  0.10.36-r2(0.10)(14:30:57 03/08/15)(introspection 
> nls orc ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" 
> ABI_X86="64 -32 -x32") 1.6.1(1.0){tbz2}(09:58:51 09/11/15)(X alsa 
> introspection nls ogg orc theora vorbis -ivorbis -pango ABI_MIPS="-n32 -n64 
> -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
> 
> Are you using the same versions with the same USE flags?

  "find" finds /usr/lib/pkgconfig/gstreamer-app-1.0.pc and
/usr/lib/pkgconfig/gstreamer-plugins-base-1.0.pc on my 32-bit install.
I don't know if the Pale Moon build is looking specifically for version
0.10.  I'll check further on the Pale Moon support forum.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Re: Difficulty fixing GLSA 201512-07 (gstreamer-0.10)

2016-01-04 Thread waltdnes
On Mon, Jan 04, 2016 at 11:20:57AM -0600, »Q« wrote

> AFAICT, details of the gstreamer bug itself haven't been made public
> yet, and nobody is sure whether the unmaintained 0.10 branch needs a
> patch.  See  and
> the following comment.

  As pointed out in comment 12 of that bug, 1.x broke the 0.10.x ABI/API
and causes problems on Firefox.  I use Pale Moon, a Firefox fork, and it
too will only build with gstreamer 0.10.x.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] QEMU/distcc combination question.

2016-01-01 Thread waltdnes
  First, basic definitions.

  distcc ==> compile on machine A for machine B.  No mention of whether
 the processors are different architectures.

  cross-compile ==> compile under architecture A for architecture B

  I'm trying to run a distccserver in a 32-bit VM on a 64-bit host, for
the benefit of my ancient 32-bit-only netbook.  Yeah, "it'll work" using
the native 64-bit host OS.  But any stuff that links against 32-bit
libraries is going to be sent back to the netbook to compile locally.
That defeats the whole purpose of distcc.  This is why I want the 32-bit
VM to compile for the 32-bit Atom.  Here's the launch script for the
32-bit VM on the i3 machine...

#!/bin/bash
qemu-system-i386 -enable-kvm \
   -cpu host -display gtk \
   -drive file=gentoo32.img,format=raw \
   -drive file=linuxswap.img,format=raw \
   -net nic,model=virtio \
   -rtc base=localtime,clock=host \
   -net 
user,hostname=gentoovm,hostfwd=tcp::2022-:22,hostfwd=tcp::3632-:3632,hostfwd=udp::3632-:3632
 \
   -m 3G -name "Gentoo VM" \
   -parallel none \
   ${@}

  Amongst other things, it forwards port 3632 destined for the host, to
the VM.  "ssh -p 2022 root@192.168.123.249" works from the Atom to the
VM.  I get an ssh teminal.  There's no iptables blocking things, and
distccd is running on the VM (it's in the default rc-update level).  Yet
the Atom spits out stuff like...

distcc[8248] (dcc_pump_sendfile) ERROR: sendfile failed: Broken pipe
distcc[8248] (dcc_writex) ERROR: failed to write: Broken pipe
distcc[8248] Warning: failed to distribute shell.c to 
192.168.123.249/6,lzo,cpp, running locally instead

...when trying to outsource the compile.  What am I doing wrong?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] QEMU/distcc combination question64-

2016-01-02 Thread waltdnes
On Sat, Jan 02, 2016 at 02:56:58PM +0300, Andrew Savchenko wrote

> For 32-bit distcc on 64-bit host there is no need to chroot or
> create VM (hey, they're hellishly slow!). Just add -m32 to your
> *FLAGS to force 32-bit arch. (In some rare cases ebuild ignores
> {C,CXX,F,FC}FLAGS, while this is a bug and should be fixed, this
> can be worked around on distcc server by forcing -m32 for each
> gcc call.

  -m32 in a 64-environment works for "Hello World".  More complex code
that requires arch-specific headers and libs will have problems.  It
"works" with Gentoo distcc.  Rather than erroring out, it sends the work
back to my Atom netbook, and says "Sorry, you have to do this yourself".
This defeats the point of distcc.  Outside of Gentoo distcc, the errors
stop the build.  So yes, I do need a 32-bit environment.

  I ran into this, trying to manually build Pale Moon (a Firefox fork)
for my Atom netbook from a 64-bit environment.  It doesn't work.
Mozilla and its derivatives all use the same weird build scripts.
See...https://forum.palemoon.org/viewtopic.php?f=37=10002

  I eventually re-installed 32-bit Gentoo on my ancient Core2 machine.
Since it only has 3 gigs of RAM, it's not losing anything.  It
successfully built the Atom-specific branch (a bunch of "web-developer"
stuff removed) for my netbook.  My netbook is actually "-march=bonnell"
https://en.wikipedia.org/wiki/Bonnell_%28microarchitecture%29
I selected that instead of the generic "-march=atom".

  By the way, Atom-specific-source Pale Moon builds are really snappy on
a newer machine when built with "-march=native".  On the other hand, the
Firefox developers have utterly gone off the deep end.  The
Atrocious^H^H^H^H^H^H^H^H^H Australis GUI was the final straw that drove
me away.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] QEMU/distcc combination question64-

2016-01-02 Thread waltdnes
On Sat, Jan 02, 2016 at 12:55:56PM -0600, Jc García wrote

> Then why the recently introuced  multilib method of bulding 32bit
> libraries for packages that need it on 64 bit works? I don't think the
> devs would have bothered to introudce the variable ABI_X86 and a
> mulitib eclass just to compile a  32bit Hello World.
> 
> I'm not trying to make a flame here, but don't blame the compiler,
> when in this case is more likely you the user are doing something
> wrong.
> My guess is you are blaming the effects of  CPU_FLAGS_X86 on CFLAGS.

  The fact that I use "no-multilib" profiles on my 64-bit machines
probably doesn't help.  The example I was using involved a manual build
of Pale Moon from source.  I manually specified in the build script...

ac_add_options --enable-optimize="-O2 -march=bonnell -mfpmath=sse -pipe \
-fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables \
-mmmx -msse -msse2 -mssse3 -mmovbe -mfxsr"

...which are the options I use on my netbook client for outsourcing the
build process.  So the host's CPU_FLAGS_X86 setting should not be a
problem.

  I'd love to be proven wrong in my contention.  If you can run the
Mozilla-like build on a 64-bit OS, and produce a 32-bit binary, that's
the ultimate "torture-test".

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Re: Difficulty fixing GLSA 201512-07 (gstreamer-0.10)

2016-01-05 Thread waltdnes
On Tue, Jan 05, 2016 at 06:36:06AM -0600, »Q« wrote

> I couldn't follow everything in the bug linked from c12;  I've been
> using Firefox latest with gstreamer-1.0 for a while without problems,
> but maybe that's because I don't use libav.
> 
> This probably won't affect Pale Moon at all, but Mozilla has gotten rid
> of gstreamer support in Firefox (not yet in released versions):
> 

  When I go to https://www.youtube.com/html5 it shows that my browser
(i.e. Pale Moon) supports HTMLVideoElement, H.264, and WebM VP8.  What
will removal of Gstreamer support from Firefox do?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] OT - Midnight Commander and hiding terminal output

2015-12-29 Thread waltdnes
On Tue, Dec 29, 2015 at 10:00:10AM -0700, Skippy wrote
> Greetings all;
> 
> I've been googling to no avail on this one.
> 
> When using Midnight Commander, I'll select a file and hit "enter" thus
> opening that file with it's associated program.
> 
> Let's say a mp3 file with VLC as that's one I have set up.
> 
> It runs, but any error messages from VLC appear in the MC terminal
> window and force the MC display up the screen, thus rendering it unreadable.
> 
> I can fix this by exiting VLC and entering "clear" on the command line.
> 
> Question is, can I hide all terminal messages when MC is running?  Does
> my question & description make sense?


  Another MC user here.  Here are a couple of entries I've inserted at
the top of my ~/.config/mc/mc.ext file.  The first entry in mc.ext that
matches the extension takes precedence, so you want your custom entries
at the top.  What these entries do is to launch an xterm.  The xterm is
what actually launches mplayer.  All the spew from mplayer appears in
the xterm, not in MC.  If I want to kill the player part way through a
song/video, I can do it from the small xterm.  The xterm automatically
disappears as soon as the song/video finishes.

#
#FLAC and WAV and MP3 files (to free up mc console) 
regex/i/\.(wav|flac|mp3)$
 Open=/usr/bin/xterm -e /usr/bin/mplayer %d/%p &
#
# Videos
regex/i/\.(avi|mov|mp4|mpeg)$
 Open=/usr/bin/xterm -e /usr/bin/mplayer %d/%p &

  This should also work for you with VLC.  Substitute "vlc", or
whatever, for "mplayer".  This "indirection" method is useful for *ANY*
program that spews diagnostics/whatever to the console that launched it.
E.g. I get dignostics/etc with abiword.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] [SOLVED] QEMU/distcc combination question.

2016-01-09 Thread waltdnes
  The problem was not the bolt behind the case; it was the nut behind
the keyboard .  In my defense, I will say that I did RTFM, and
"man distccd" states...

> distccd does not have a configuration file; it's behaviour is con-
> trolled only by command-line options and requests from clients.

  Notwithstanding the above statement, /etc/conf.d/distccd does exist.
On my 32-bit Gentoo machine, I had gone out of my way to add...

DISTCCD_OPTS="--port 3632 --log-level notice --log-file /var/log/distccd.log -N 
15 --allow 192.168.123.253"

...as the last line of the file.  This machine works as a distccd host.
In the VM, I had not bothered, and the default --allow range is
192.168.0.0/24, which rejects 192.168.123.253, my netbook's address.  I
changed it to 192.16.123.0/24, and it now works.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Recommended pseudo-hardware for QEMU guest machine?

2015-12-20 Thread waltdnes
On Sun, Dec 20, 2015 at 04:47:35AM +0100, waben...@gmail.com wrote
> waltd...@waltdnes.org wrote:
> 
> >   I'm now at the configuring-the-kernel stage of the Gentoo guest
> > install.  I had originally expected to pull in the .config from the
> > host machine, make a few tweaks, and get going.  However, it appears
> > that multiple video and sound and network cards are supported, none
> > of which match those on the host.  Which ones do people recommend
> > selecting?
> > 
> 
> That's what I'm using to start qemu:
> 
> qemu-system-x86_64 -machine accel=kvm -cpu host -m 4096 -enable-kvm -name 
> vm-01 -net nic,model=virtio -net user,hostfwd=tcp::2022-:22 -localtime -hda 
> /path/to/image.qcow2 -display gtk -vga vmware

  I can't get X to work on the guest.  Text console is OK, but no X.  I
ticked support for cirrus, bochs, qxl, and vmware emulation in the guest
kernel.  I wonder if I missed something.  I also emerged the
corresponding X drivers.  vmware was a pain because I had to rebuild mesa
and other stuff to emerge the vmware video driver.

  File-attached are Xorg logs for failed attempts with vga=
cirrus/std/vmware.  QEMU refused to start when I specified -vga qxl.
The vmware log looks like it started X properly, but it immediately
dumped me out, and gave an all-red QEMU window.  I ssh'd in from the
host to set up the next card.  I know that the all-red window was a text
console.  To reboot, I blindly typed "su -", followed by root password,
followed by "halt -p", and the QEMU session halted.

  I use the following script to boot up Gentoo on the guest.  I cycled
through all 4 cards...

#!/bin/bash
qemu-system-i386 -enable-kvm \
   -cpu host -display gtk -vga cirrus \
   -drive file=gentoo32.img,format=raw \
   -drive file=linuxswap.img,format=raw \
   -net nic,model=virtio \
   -rtc base=localtime,clock=host \
   -net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \
   -m 3G -monitor stdio -name "Gentoo VM" \
   -parallel none \
   ${@

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications


cirrus.txt.gz
Description: Binary data


std.txt.gz
Description: Binary data


vmware.txt.gz
Description: Binary data


Re: [gentoo-user] Re: Problem with openrc-0.18.4 and ifplugd

2015-12-21 Thread waltdnes
On Mon, Dec 21, 2015 at 02:06:25PM +, James wrote

> From what I read/understand openrc is in the process of removal from
> @system, for all profiles?

  In Lennart's dreams... and many peoples' nightmares.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] [Sort of solved] Recommended pseudo-hardware for QEMU guest machine?

2015-12-22 Thread waltdnes
On Tue, Dec 22, 2015 at 08:59:47PM +0100, waben...@gmail.com wrote
> waltd...@waltdnes.org wrote:
> 
> These options are depending on CONFIG_HAS_IOMEM, CONFIG_DRM and 
> CONFIG_PCI. You must activate all of these options too.

  All set in the guest kernel.

> > >   I think that you also need x11-drivers/xf86-video-vmware installed
> > > on the guest if you want to use "-vga vmware".
> > 
> >   I've tried that earlier, when things weren't working.  Maybe it'll
> > work this time.
> 
> Good luck.

  "-vga vmware" started off OK in the text console today, but two major
problems...

1) No mouse or text cursor once I fired up X.  A Google search indicates
that no-cursor-in-graphics-mode is a common problem with Vmware across
all platforms.  The QEMU "-show-cursor" option did not help.  Otherwise X
looked OK, and xrandr listed some ridiculously high resolutions, higher
than my 1920x1080 monitor.

2) The mouse still worked, despite being invisible.  I was able to
blindly execute the mouse-click sequence to bring up the menu that
included logoff.  Once I returned to the text console, it was all red.
Again, the keyboard still worked, and I was able to blindly shut down
the guest.

  For now I'll stick with "-vga cirrus" or "-vga std".  Looking at the
Xorg logs, I noticed that in "-vga std" X was looking for the "fbdev"
module, not finding it, and giving up.  I emerged xf86-video-fbdev and X
now works in "-vga std", although xrandr reports only 1024x768 is
available.  I intend to use it in linux mostly for distcc, so limited X
Window size options aren't a problem.

  I didn't get much linux computing done today.  I picked up a cheap
external USB floppy drive at Canada Computers and transferred Galactic
Civilizations v2.5 for OS/2 from my ancient relic 450 mhz Pentium 3 (128
megs of RAM) to my QEMU machine.  The P3 has a built-in floppy drive; my
other computers don't.  The next challenge is to get OS/2 Warp 4 running
in QEMU as per http://sites.mpc.com.br/ric/qemu/

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] QEMU unable to initialize audio

2015-12-24 Thread waltdnes
On Thu, Dec 24, 2015 at 10:48:28PM +, Ian Bloss wrote
> Libsdl and libsdl2 built with sound use flag on host?

  I didn't bother enabling alsa except for packages that actually need
it.  I've enabled it for libsdl, but not for sdl2, because I didn't
realize libsdl2 even existed.  According to equery, the only package
pulling in libsdl2 is qemu, and that's because I set the flag.  If I
remove the "alsa2" flag from qemu, will it work properly with "alsa"
alone?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] QEMU unable to initialize audio

2015-12-24 Thread waltdnes
  Any ideas?  The error message is...

sdl: SDL failed to initialize audio subsystem
sdl: Reason: No available audio device
audio: Could not init `sdl' audio driver

  I get this both with a Gentoo guest...

#!/bin/bash
qemu-system-i386 -enable-kvm \
   -cpu host -display gtk \
   -drive file=gentoo32.img,format=raw \
   -drive file=linuxswap.img,format=raw \
   -net nic,model=virtio \
   -rtc base=localtime,clock=host \
   -net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \
   -m 3G -name "Gentoo VM" \
   -soundhw sb16 -parallel none \
   ${@}

...and an OS/2 Warp 4 guest...

#!/bin/bash
qemu-system-i386 -enable-kvm \
   -cpu coreduo -monitor vc \
   -drive file=os2.img,format=raw \
   -net nic,model=pcnet \
   -m size=64 -name "OS/2 VM" \
   -soundhw sb16 -vga std \
   ${@}

  On the host, from "emerge -pv qemu"...

app-emulation/qemu-2.4.1-r2::gentoo USE="aio alsa curl fdt gtk gtk2 jpeg 
ncurses opengl pin-upstream-blobs png sdl sdl2 ssh threads usb vhost-net vnc 
-accessibility -bluetooth -caps -debug -filecaps (-glusterfs) -infiniband 
-iscsi -lzo -nfs -nls -numa -pulseaudio -python -rbd -sasl -seccomp (-selinux) 
-smartcard -snappy -spice -static -static-softmmu -static-user -systemtap -tci 
{-test} -tls -usbredir -uuid -vde -virtfs -vte -xattr -xen -xfs"
PYTHON_TARGETS="python2_7"
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] QEMU unable to initialize audio

2015-12-25 Thread waltdnes
On Fri, Dec 25, 2015 at 04:10:40AM +, Ian Bloss wrote
> I was saying the libsdl packages have a USE flag "sound" which builds the
> sound module for sdl. So if qemu makes any calls to the sound module not
> pure alsa calls, that might be causing your issue.
> 
> Wabes USE flag output shows he's building sdl with the "sound" use flag
> enabled and not just alsa alone.

  "sound" is a default USE flag for libalsa and libalsa2.  I.e. "+sound"
in IUSE in the ebuilds.  It shows up in the emerge, and both libsdl's
had it.  Apparently QEMU prefers libsdl2 over libsdl when both USE flags
are set.  I removed the "sdl2" flag from qemu, and re-emerged qemu.  I
no longer get the error message, apparently because the libsdl version
that qemu now uses does have "alsa" enabled.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] Make QEMU guest visible to other machines on LAN

2015-12-19 Thread waltdnes
  Apologies if this is a duplicate/triplicate.  I don't think the first
attempts got through.  Going through my backup provider (dialup) this
time.

  I have QEMU installed on a 64-bit Gentoo machine.  I'm now installing
a 32-bit Gentoo guest.  The "cdrom" (actually the minimal install ISO
file) boots, and dhcpcd hands out IP address 10.0.2.15 and gateway
10.0.2.2.  The install can connect to the outside world via the "links"
browser and it can ssh into the host machine 192.168.123.249 and visa
versa.  But the host ssh's into the guest install session via a port
redirection into itself. ( ssh -p  localhost ) 

  For various reasons, I need another physical machine on my small home
LAN to be able to talk directly to the 32-bit guest.  I've read the
"Network setup" at http://www.linux-kvm.org/page/KvmOnGentooIs the
/etc/conf.d/net being reffered to, the one on the host or on the guest?
The webpage doesn't say explicitly.

  I also don't understand how other machines will be able to
differentiate between the host and the guest.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Recommended pseudo-hardware for QEMU guest machine?

2015-12-19 Thread waltdnes
On Sun, Dec 20, 2015 at 04:47:35AM +0100, waben...@gmail.com wrote
> waltd...@waltdnes.org wrote:
> 
> >   I'm now at the configuring-the-kernel stage of the Gentoo guest
> > install.  I had originally expected to pull in the .config from the
> > host machine, make a few tweaks, and get going.  However, it appears
> > that multiple video and sound and network cards are supported, none
> > of which match those on the host.  Which ones do people recommend
> > selecting?
> > 
> 
> That's what I'm using to start qemu:
> 
> qemu-system-x86_64 -machine accel=kvm -cpu host -m 4096 -enable-kvm -name 
> vm-01 -net nic,model=virtio -net user,hostfwd=tcp::2022-:22 -localtime -hda 
> /path/to/image.qcow2 -display gtk -vga vmware
> 
> Since upgrade to >=qemu-2.4 I cannot use sound card emulation any more
> because it either doesn't work at all (e.g. sb16, gus) or it freezes
> the guest (e.g. ac97, hda).
> 
> Before I did the upgrade yesterday I used -soundhw ac97 and it worked
> very well. Till now I have not found a solution for this problem.
> 
> I'm using a gtk window and not spice or vnc because this gives me the
> best performance. And I'm using vmware as VGA card emulation because 
> it gives me the highest resolution (2368x1770).
> 
> Performance is not super snappy but it's good enough for regular use
> like browsing the net and so on.

  I intend to use it mostly for distcc.  I still have an ancient OS/2
machine with Galactic Civilizations on it.  Since I still have the CD
images,  I'll also try to get that going in QEMU one of these days.  My
LCD is 1920x1080, so performance is more important than humoungous
display size.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Make QEMU guest visible to other machines on LAN

2015-12-19 Thread waltdnes
On Sat, Dec 19, 2015 at 08:31:35PM +0100, Simon Thelen wrote
> On 15-12-19 at 14:21, waltd...@waltdnes.org wrote:
> >   Apologies if this is a duplicate/triplicate.  I don't think the first
> > attempts got through.  Going through my backup provider (dialup) this
> > time.
> [..]
> >   For various reasons, I need another physical machine on my small home
> > LAN to be able to talk directly to the 32-bit guest.  I've read the
> > "Network setup" at http://www.linux-kvm.org/page/KvmOnGentooIs the
> > /etc/conf.d/net being reffered to, the one on the host or on the guest?
> > The webpage doesn't say explicitly.
> host
> > 
> >   I also don't understand how other machines will be able to
> > differentiate between the host and the guest.
> The idea is to create a bridge device, and then bridge the guests
> tun/tap device with the bridge and your ethernet device. This way they
> all appear transparently on the network.
> 
> The net config on that website should be fine for the host, and then
> pass these command options to qemu
> -device virtio-net-pci,netdev=hn0,mac="52:54:00:12:34:56" -netdev 
> bridge,id=hn0,br=brkvm
> 
> You can change the mac address to your liking.

  Thanks.  I'll try that as soon as I get the guest booting by itself.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] Recommended pseudo-hardware for QEMU guest machine?

2015-12-19 Thread waltdnes
  I'm now at the configuring-the-kernel stage of the Gentoo guest
install.  I had originally expected to pull in the .config from the host
machine, make a few tweaks, and get going.  However, it appears that
multiple video and sound and network cards are supported, none of which
match those on the host.  Which ones do people recommend selecting?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] Syntax to exclude entire folders from emerge --sync?

2015-12-28 Thread waltdnes
  I have an ancient Atom netbook.  I use distcc to do builds for it, but
"emerge --sync" is done locally.  It's painfull.  Anything to reduce
the amount of unneeded stuff would help.  I want to confirm that I have
the syntax right.  In /etc/portage.make.conf I put...

PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"

...and in /etc/portage/rsync_excludes I put stuff like...

app-leechcraft/
app-pda/
app-xemacs/
dev-dotnet/
dev-embedded/
dev-java/
dev-ruby/
mate-extra/
www-apache/
www-servers/
xfce-base/
xfce-extra/
metadata/md5-cache/app-leechcraft/
metadata/md5-cache/app-pda/
metadata/md5-cache/app-xemacs/
metadata/md5-cache/dev-dotnet/
metadata/md5-cache/dev-embedded/
metadata/md5-cache/dev-java/
metadata/md5-cache/dev-ruby/
metadata/md5-cache/mate-extra/
metadata/md5-cache/www-apache/
metadata/md5-cache/www-servers/
metadata/md5-cache/xfce-base/
metadata/md5-cache/xfce-extra/

  Is this correct?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



[gentoo-user] [Sort of solved] Recommended pseudo-hardware for QEMU guest machine?

2015-12-21 Thread waltdnes
On Mon, Dec 21, 2015 at 06:26:18PM +0100, waben...@gmail.com wrote

  My Google search turned up
https://forums.gentoo.org/viewtopic-p-7456850.html which suggested
VIDEO_CARDS="cirrus modesetting vesa", emerging world, and setting and
running CIRRUS in the guest.  I did that.  With "-vga cirrus" I get a
framebuffer X display in the Gentoo guest, which looks half-decent.
xrandr reports...

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 
0mm
   1024x768  60.00*+
   1280x1024 60.02  
   1280x960  60.00  
   1280x800  59.8159.91  
   1280x768  59.8759.99  
   800x600   60.3256.25  
   848x480   60.00  
   640x480   59.94


  There is no documentation for "video_cards_modesetting" or
"modesetting" flags.  I filed bug report...

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

...asking for it to be documented.  "emerge -pv xorg-drivers" doesn't
show it, and there's nothing in /usr/portage/profiles/*.desc

  File-attached is the X log.  It complains about not finding the cirrus
driver.  But when I emerged xf86-video-cirrus, the log complained that
the cirrus driver couldn't be loaded because it conflicted with a
"kernel module" (actually built in).  With "-vga std" X doesn't start up
at all.

  Any suggestions for improvement?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications


log.txt.gz
Description: Binary data


Re: [gentoo-user] [Sort of solved] Recommended pseudo-hardware for QEMU guest machine?

2015-12-21 Thread waltdnes
On Tue, Dec 22, 2015 at 05:43:17AM +0100, waben...@gmail.com wrote

> Have you installed x11-drivers/xf86-video-modesetting on the guest?

  Cannot be done on my machines.  On 2 physical machines, and on the
Gentoo guest, I get...

> emerge -pv xf86-video-modesetting
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N ] x11-drivers/xf86-video-modesetting-0.9.0::gentoo  298 KiB
> [blocks B  ] x11-drivers/xf86-video-modesetting
> ("x11-drivers/xf86-video-modesetting" is blocking x11-base/xorg-server-1.17.4)
> 
> Total: 1 package (1 new), Size of downloads: 298 KiB
> Conflict: 1 block (1 unsatisfied)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.

  On the guest, I unmerged xorg-server and tried emerging
xf86-video-modesetting.  The result was that it would've pulled in
xorg-server, which would again have blocked xf86-video-modesetting.
Wierd.

> Have you compiled the guest kernel with CONFIG_DRM_CIRRUS_QEMU?
> 
> If yes, then I guess that you don't need xf86-video-cirrus at all.
> 
> > With "-vga
> > std" X doesn't start up at all.
> 
> You probably need to compile the guest kernel with CONFIG_DRM_BOCHS
> for "-vga std".
>  
> >   Any suggestions for improvement?
> 
> There is also a kernel option for a KMS enabled DRM driver for the 
> VMware SVGA virtual hardware (CONFIG_DRM_VMWGFX). I think that the 
> performance of this driver is better than the performance of the
> cirrus driver.

  As I mentioned earlier vmware, cirrus, and bochs all ticked off in
"make menuconfig".  Now that I have something working, I think I'll make
a copy of the 10-gig guest disk image before any further tweaking that
might render it inoperative again.

>   I think that you also need x11-drivers/xf86-video-vmware installed
> on the guest if you want to use "-vga vmware".

  I've tried that earlier, when things weren't working.  Maybe it'll
work this time.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



  1   2   >