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

2013-06-29 Thread Zind
hi all,
I am new to Gentoo. I came across some problems in the Gentoo installation
process.

I got a relatively new laptop: Lenovo IdeaPad Y400.
 The Gentoo iso I choose is: admincd-amd64-20130620.iso, from:
http://distfiles.gentoo.org/releases/amd64/autobuilds/20130620/hardened/
 After I made the LiveUSB, disabling the UEFI boot, I finally boot into the
Gentoo kernel. But I could not connect to the network.
 Using the `ifconfig -a` command, I can only see the loopback interface: lo.
Using the `lspci` command, I can see the two network adapters:
 (1) the Ethernet adapter
Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet
(2) the wireless adapter
 Network controller: Intel Corporation Centrino Wireless-N 2230
Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
 (The two network adapters both work well under Windows 8.)

After several times of STFW, I can confirm it's a network adapter driver
support issue: lacks of coresponding network adapter drivers.
 For the AR8161 network adapter, it requires the alx kernal module: alx.ko.
Previously, I thought I could at least compile this driver by myself, but
soon I found it lacks of build-essential packages, too. :-(

For the wireless network adapter, I can find
iwlwifi-2030-6.ucode(coresponding to Intel Centrino Wireless-N 2230 BGN
adapter) under /lib/firmware, I tried the `modprobe iwlwifi` command, still
doesn't work. Weird.

Uh... I don't know what to do next to continue the installation.
Any suggestion or advice is appreciated.

PS.
several links which I found useful:
http://askubuntu.com/questions/165192/how-do-i-install-drivers-for-the-atheros-ar8161-ethernet-controller
 http://ubuntuforums.org/showthread.php?t=2089512
http://wireless.kernel.org/en/users/Drivers/iwlwifi


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

2013-06-29 Thread the

On 06/29/13 12:16, Zind wrote:

hi all,
I am new to Gentoo. I came across some problems in the Gentoo
installation process.

I got a relatively new laptop: Lenovo IdeaPad Y400.
The Gentoo iso I choose is: admincd-amd64-20130620.iso, from:
http://distfiles.gentoo.org/releases/amd64/autobuilds/20130620/hardened/
After I made the LiveUSB, disabling the UEFI boot, I finally boot into
the Gentoo kernel. But I could not connect to the network.
Using the `ifconfig -a` command, I can only see the loopback interface: lo.
Using the `lspci` command, I can see the two network adapters:
(1) the Ethernet adapter
Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet
(2) the wireless adapter
Network controller: Intel Corporation Centrino Wireless-N 2230
Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
(The two network adapters both work well under Windows 8.)

After several times of STFW, I can confirm it's a network adapter driver
support issue: lacks of coresponding network adapter drivers.
For the AR8161 network adapter, it requires the alx kernal module: alx.ko.
Previously, I thought I could at least compile this driver by myself,
but soon I found it lacks of build-essential packages, too. :-(

For the wireless network adapter, I can find
iwlwifi-2030-6.ucode(coresponding to Intel Centrino Wireless-N 2230 BGN
adapter) under /lib/firmware, I tried the `modprobe iwlwifi` command,
still doesn't work. Weird.

Uh... I don't know what to do next to continue the installation.
Any suggestion or advice is appreciated.

PS.
several links which I found useful:
http://askubuntu.com/questions/165192/how-do-i-install-drivers-for-the-atheros-ar8161-ethernet-controller
http://ubuntuforums.org/showthread.php?t=2089512
http://wireless.kernel.org/en/users/Drivers/iwlwifi


Maybe this can be helpful in some way?
http://blechtog.wordpress.com/2012/08/06/gentoo-ethernet-atheros-ar8161-gigabit-ethernet-using-compat-wireless-module-alx/


--
Stop talking and start compiling.
Linux user #557897



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

2013-06-29 Thread Davide De Prisco
Can you search with dmesg and find if it's nead a firmware.
Davide
Il giorno 29/giu/2013 10:17, Zind wzmind...@gmail.com ha scritto:

 hi all,
 I am new to Gentoo. I came across some problems in the Gentoo installation
 process.

 I got a relatively new laptop: Lenovo IdeaPad Y400.
  The Gentoo iso I choose is: admincd-amd64-20130620.iso, from:
 http://distfiles.gentoo.org/releases/amd64/autobuilds/20130620/hardened/
  After I made the LiveUSB, disabling the UEFI boot, I finally boot into
 the Gentoo kernel. But I could not connect to the network.
  Using the `ifconfig -a` command, I can only see the loopback interface:
 lo.
 Using the `lspci` command, I can see the two network adapters:
  (1) the Ethernet adapter
 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet
 (2) the wireless adapter
  Network controller: Intel Corporation Centrino Wireless-N 2230
 Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
  (The two network adapters both work well under Windows 8.)

 After several times of STFW, I can confirm it's a network adapter driver
 support issue: lacks of coresponding network adapter drivers.
  For the AR8161 network adapter, it requires the alx kernal module:
 alx.ko.
 Previously, I thought I could at least compile this driver by myself, but
 soon I found it lacks of build-essential packages, too. :-(

 For the wireless network adapter, I can find
 iwlwifi-2030-6.ucode(coresponding to Intel Centrino Wireless-N 2230 BGN
 adapter) under /lib/firmware, I tried the `modprobe iwlwifi` command, still
 doesn't work. Weird.

 Uh... I don't know what to do next to continue the installation.
 Any suggestion or advice is appreciated.

 PS.
 several links which I found useful:

 http://askubuntu.com/questions/165192/how-do-i-install-drivers-for-the-atheros-ar8161-ethernet-controller
  http://ubuntuforums.org/showthread.php?t=2089512
 http://wireless.kernel.org/en/users/Drivers/iwlwifi




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

2013-06-29 Thread Zind
On Sat, Jun 29, 2013 at 4:57 PM, Davide De Prisco deprisco.dav...@gmail.com
 wrote:

 Can you search with dmesg and find if it's nead a firmware.



Yes.
At the bottom of the dmesg message, I can see these lines:
request for firmware file 'iwlwifi-2030-6.ucode' failed.
request for firmware file 'iwlwifi-2030-5.ucode' failed.
no suitable firmware found!


Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Neil Bothwick
On Fri, 28 Jun 2013 21:44:34 -0500, Dale wrote:

Other comments note that unsetting static allows it to build.  Try
  unsetting the static flag for lvm2 in package.use, i.e...
 
  sys-fs/lvm2 -static
 
Does that build for you?

 It might would but I can't recall WHY I set it to that.  If I set it
 that way in package.use, which is rare for me, then I had to have a good
 reason.  I need to start making notes on this stuff.  ;-) 

You need static if you are using lvm in an initramfs. Whatever the
reason, if you remove it the ebuild that told you to add it in the first
place will remind you next time you update @world.


-- 
Neil Bothwick

There's too much blood in my caffeine system.


signature.asc
Description: PGP signature


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

2013-06-29 Thread Randolph Maaßen
2013/6/29 Zind wzmind...@gmail.com


 On Sat, Jun 29, 2013 at 4:57 PM, Davide De Prisco 
 deprisco.dav...@gmail.com wrote:

 Can you search with dmesg and find if it's nead a firmware.



 Yes.
 At the bottom of the dmesg message, I can see these lines:
 request for firmware file 'iwlwifi-2030-6.ucode' failed.
 request for firmware file 'iwlwifi-2030-5.ucode' failed.
 no suitable firmware found!


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

Ps: Welcome to Gentoo

-- 
Mit freundlichen Grüßen / Best regards

Randolph Maaßen


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

2013-06-29 Thread Zind
On Sat, Jun 29, 2013 at 4:52 PM, the the.gu...@mail.ru wrote:

 Maybe this can be helpful in some way?
 http://blechtog.wordpress.com/**2012/08/06/gentoo-ethernet-**
 atheros-ar8161-gigabit-**ethernet-using-compat-**wireless-module-alx/http://blechtog.wordpress.com/2012/08/06/gentoo-ethernet-atheros-ar8161-gigabit-ethernet-using-compat-wireless-module-alx/


Thanks. It's useful.
But I didn't have Gentoo installed yet.   :-(


Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Dale
Neil Bothwick wrote:
 On Fri, 28 Jun 2013 21:44:34 -0500, Dale wrote:

   Other comments note that unsetting static allows it to build.  Try
 unsetting the static flag for lvm2 in package.use, i.e...

 sys-fs/lvm2 -static

   Does that build for you?

 It might would but I can't recall WHY I set it to that.  If I set it
 that way in package.use, which is rare for me, then I had to have a good
 reason.  I need to start making notes on this stuff.  ;-)

 You need static if you are using lvm in an initramfs. Whatever the
 reason, if you remove it the ebuild that told you to add it in the first
 place will remind you next time you update @world.



Now that you mention it, it may have been when the separate /usr init
thingy was going on that I had to add it.  That could be it.  Well, if I
have to upgrade before they have a fix, I'll give it a shot and see what
happens.  I suspect it will be fixed at some point and most likely in
the next update anyway.

Dale

:-)  :-)

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



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

2013-06-29 Thread the

On 06/29/13 13:30, Zind wrote:


On Sat, Jun 29, 2013 at 4:52 PM, the the.gu...@mail.ru
mailto:the.gu...@mail.ru wrote:

Maybe this can be helpful in some way?

http://blechtog.wordpress.com/__2012/08/06/gentoo-ethernet-__atheros-ar8161-gigabit-__ethernet-using-compat-__wireless-module-alx/

http://blechtog.wordpress.com/2012/08/06/gentoo-ethernet-atheros-ar8161-gigabit-ethernet-using-compat-wireless-module-alx/


Thanks. It's useful.
But I didn't have Gentoo installed yet.   :-(

 sorry I should have read the original post more thoroughly

--
Stop talking and start compiling.
Linux user #557897



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

2013-06-29 Thread Wang Xuerui
2013/6/29 Zind wzmind...@gmail.com:
 hi all,
 I am new to Gentoo. I came across some problems in the Gentoo installation
 process.

 I got a relatively new laptop: Lenovo IdeaPad Y400.
 The Gentoo iso I choose is: admincd-amd64-20130620.iso, from:
 http://distfiles.gentoo.org/releases/amd64/autobuilds/20130620/hardened/
I once failed to install Hardened Gentoo to a server using the
admincd, so I'm not sure if you can proceed much further even if the
network is working.

Since after chroot the environment of LiveCD is not important any more
(except the running kernel, of course), you could simply use the
installation CD and a hardened stage3. If you are not trying to use
SELinux, this should be enough.

 After I made the LiveUSB, disabling the UEFI boot, I finally boot into the
 Gentoo kernel. But I could not connect to the network.
 Using the `ifconfig -a` command, I can only see the loopback interface: lo.
 Using the `lspci` command, I can see the two network adapters:
 (1) the Ethernet adapter
 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet
 (2) the wireless adapter
 Network controller: Intel Corporation Centrino Wireless-N 2230
 Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
 (The two network adapters both work well under Windows 8.)

 After several times of STFW, I can confirm it's a network adapter driver
 support issue: lacks of coresponding network adapter drivers.
 For the AR8161 network adapter, it requires the alx kernal module: alx.ko.
 Previously, I thought I could at least compile this driver by myself, but
 soon I found it lacks of build-essential packages, too. :-(
The toolchain is present on the installation CD so it must be the admincd...

 For the wireless network adapter, I can find
 iwlwifi-2030-6.ucode(coresponding to Intel Centrino Wireless-N 2230 BGN
 adapter) under /lib/firmware, I tried the `modprobe iwlwifi` command, still
 doesn't work. Weird.

 Uh... I don't know what to do next to continue the installation.
 Any suggestion or advice is appreciated.
You can get the firmware files from the git tree of linux-firmware
project (browsable online). Then you can transfer them into the LiveCD
environment's /lib/firmware by means of a USB stick, for example,
after which you simply rmmod iwlagn  modprobe iwlagn.

Also, before you finally reboot to finish the installation make sure
you emerge linux-firmware, so that the required firmware files are
installed into the target system.

Hope this information helps~



Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Bruce Hill
On Fri, Jun 28, 2013 at 09:44:34PM -0500, Dale wrote:
 Walter Dnes wrote:
  On Thu, Jun 27, 2013 at 07:39:39AM -0500, Dale wrote
 
  Someone else ran into the same thing and it appears they use udev.  So
  switching wouldn't help anyway. 
 
  https://bugs.gentoo.org/show_bug.cgi?id=370217
Your bug-report comment shows...
  sys-fs/lvm2-2.02.97-r1  USE=lvm1 readline static thin udev (-clvm) (-cman) 
  (-selinux) -static-libs
 
Other comments note that unsetting static allows it to build.  Try
  unsetting the static flag for lvm2 in package.use, i.e...
 
  sys-fs/lvm2 -static
 
Does that build for you?
 
 
 
 It might would but I can't recall WHY I set it to that.  If I set it
 that way in package.use, which is rare for me, then I had to have a good
 reason.  I need to start making notes on this stuff.  ;-) 
 
 It will likely be fixed pretty soon so as long as I don't have to
 upgrade, I should be OK with the one installed now.  It was just a
 recompile from emerge -e world but I found it odd that it worked before
 but not the other day. 
 
 If I have to tho, I'll keep that in mind. 

You might want to run enalyze rebuild use to get an idea of what USE flags
you have which do not match the default settings. Over the course of time the
defaults change, and our need for certain options change, so it's good to run
this and check any USE flags for situations such as yours above, where one
would say, I can't recall WHY I set it to that. If you can't find a reason
then it's best to stick with the default settings most of the time. This is
all that command will do on your system:

mingdao@server ~ $ enalyze rebuild use

  -- Scanning installed packages for USE flag settings that
 do not match the default settings
  -- preparing pkgs for file entries
   - Saving file: /home/mingdao/package.use.test
   - Done

Bruce
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.   

   
Q: Why is top-posting such a bad thing? 

   
A: Top-posting. 

   
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Bruce Hill
On Sat, Jun 29, 2013 at 04:53:47AM -0500, Dale wrote:
 
 Now that you mention it, it may have been when the separate /usr init
 thingy was going on that I had to add it.  That could be it.  Well, if I
 have to upgrade before they have a fix, I'll give it a shot and see what
 happens.  I suspect it will be fixed at some point and most likely in
 the next update anyway.
 
 Dale

You need to get over that it will be fixed at some point, and believe it
when every one tells you that separate /usr without an initrd is working fine
with present stable udev. Here's proof on a wee fileserver, which has neavuh
had an initrd and always had a separate /usr:

mingdao@server ~ $ eix sys-fs/udev
[I] sys-fs/udev
 Available versions:  197-r8^t 200^t 204^t **^t {{acl doc 
+firmware-loader gudev hwdb introspection keymap +kmod +openrc selinux 
static-libs}}
 Installed versions:  204^t(02:40:22 PM 06/26/2013)(acl firmware-loader 
kmod openrc -doc -gudev -hwdb -introspection -keymap -selinux -static-libs)
 Homepage:http://www.freedesktop.org/wiki/Software/systemd
 Description: Linux dynamic and persistent device naming support 
(aka userspace devfs)

[I] sys-fs/udev-init-scripts
 Available versions:  23^t 25^t 26^t **^t
 Installed versions:  26^t(02:40:36 PM 06/26/2013)
 Homepage:http://www.gentoo.org
 Description: udev startup scripts for openrc

Found 2 matches.
mingdao@server ~ $ df -hT
Filesystem   Type  Size  Used Avail Use% Mounted on
rootfs   rootfs2.0G  109M  1.9G   6% /
/dev/rootxfs   2.0G  109M  1.9G   6% /
devtmpfs devtmpfs  3.0G  4.0K  3.0G   1% /dev
tmpfstmpfs 3.0G  592K  3.0G   1% /run
shm  tmpfs 3.0G 0  3.0G   0% /dev/shm
/dev/mapper/system-var   xfs10G  717M  9.3G   8% /var
/dev/mapper/system-usr   xfs10G  4.4G  5.7G  44% /usr
/dev/mapper/system-home  xfs   6.0G  5.8G  251M  96% /home
/dev/mapper/storage-photos   xfs   500G   19G  482G   4% /photos
/dev/mapper/storage-backups  xfs   500G  262G  239G  53% /backups
/dev/mapper/storage-offload  fuseblk   300G  234G   67G  78% /offload
/dev/mapper/storage-peterxfs25G  1.7G   24G   7% /peter
/dev/mapper/storage-jeremiah xfs10G  3.6G  6.5G  36% /jeremiah
mingdao@server ~ $ ls -l /boot/
total 25156
lrwxrwxrwx 1 root root  17 Jan 10 13:26 System.map - System.map-3.4.24
-rw-r--r-- 1 root root 2205716 Jan 10 13:25 System.map-3.4.24
-rw-r--r-- 1 root root 1812882 Sep  6  2012 System.map-3.4.9-gentoo
-rw-r--r-- 1 root root 1823240 Aug  9  2012 System.map-3.5.0
-rw-r--r-- 1 root root 1823619 Aug 16  2012 System.map-3.5.2
lrwxrwxrwx 1 root root  23 Dec 28  2012 System.map.old - 
System.map-3.4.9-gentoo
-rw-r--r-- 1 root root 512 Feb 21  2012 boot.0800
-rw-r--r-- 1 root root 512 Feb 21  2012 boot.0810
-rw-r--r-- 1 root root 512 Feb 21  2012 boot.0820
-rw-r--r-- 1 root root 512 Feb 21  2012 boot.0830
lrwxrwxrwx 1 root root  13 Jan 10 13:26 config - config-3.4.24
-rw-r--r-- 1 root root   62528 Jan 10 13:25 config-3.4.24
-rw-r--r-- 1 root root   63522 Sep  6  2012 config-3.4.9-gentoo
-rw-r--r-- 1 root root   64644 Aug  9  2012 config-3.5.0
-rw-r--r-- 1 root root   64644 Aug 16  2012 config-3.5.2
lrwxrwxrwx 1 root root  19 Dec 28  2012 config.old - config-3.4.9-gentoo
lrwxrwxrwx 1 root root  14 Jan 10 13:25 vmlinuz - vmlinuz-3.4.24
-rw-r--r-- 1 root root 4671120 Jan 10 13:24 vmlinuz-3.4.24
-rw-r--r-- 1 root root 4349568 Sep  6  2012 vmlinuz-3.4.9-gentoo
-rw-r--r-- 1 root root 4388464 Aug  9  2012 vmlinuz-3.5.0
-rw-r--r-- 1 root root 4390672 Aug 16  2012 vmlinuz-3.5.2
lrwxrwxrwx 1 root root  20 Dec 28  2012 vmlinuz.old - vmlinuz-3.4.9-gentoo
mingdao@server ~ $ cat /etc/lilo.conf
# Faster, but won't work on all systems:
compact
# Should work for most systems, and do not have the sector limit:
lba32
default = Gentoo 
# MBR to install LILO to:
boot = /dev/md0
raid-extra-boot = mbr-only
map = /boot/.map

install = /boot/boot-menu.b   # Note that for lilo-22.5.5 or later you
  # do not need boot-{text,menu,bmp}.b in
  # /boot, as they are linked into the lilo
  # binary.

menu-scheme=Wb
prompt
# If you always want to see the prompt with a 15 second timeout:
timeout=50
append=panic=10 nomce dolvm domdadm rootfstype=xfs

#
# End LILO global section
#

#
# Linux bootable partition config begins
#
image = /boot/vmlinuz
root = /dev/md0
label = Gentoo
read-only  # Partitions should be mounted read-only for checking
image = /boot/vmlinuz.old
root = /dev/md0
label = Gentoo-def
read-only  # Partitions should be mounted read-only for checking
#
# Linux bootable partition config ends
#

mingdao@server ~ $


Get over it and go back to udev :-)


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

2013-06-29 Thread Michael Orlitzky
On 06/29/2013 04:16 AM, Zind wrote:
 hi all,
 I am new to Gentoo. I came across some problems in the Gentoo
 installation process.
 
 ...
 
 After several times of STFW, I can confirm it's a network adapter driver
 support issue: lacks of coresponding network adapter drivers.
 For the AR8161 network adapter, it requires the alx kernal module: alx.ko.
 Previously, I thought I could at least compile this driver by myself,
 but soon I found it lacks of build-essential packages, too. :-(
 

You can try to use SystemRescueCD[1] (based on Gentoo) instead of the
minimum install CD. The instructions are identical, but sometimes the
SystemRescueCD is more up-to-date.


[1] http://www.sysresccd.org/




[gentoo-user] SMplayer: Update notification

2013-06-29 Thread meino . cramer
Hi,

I am using smplayer to play DVB-T, since Kaffeine stucks with some
channels.

This evening, smplayer notifies me, that a new version will be
available.

SMplayer is only able to know this by automonously accesing the
internet and its home site.

I dont like this.

How can I swith this off?

Best regards,
mcc





Re: [gentoo-user] SMplayer: Update notification

2013-06-29 Thread Mick
On Saturday 29 Jun 2013 17:45:31 meino.cra...@gmx.de wrote:
 Hi,
 
 I am using smplayer to play DVB-T, since Kaffeine stucks with some
 channels.
 
 This evening, smplayer notifies me, that a new version will be
 available.
 
 SMplayer is only able to know this by automonously accesing the
 internet and its home site.
 
 I dont like this.
 
 How can I swith this off?
 
 Best regards,
 mcc

In my ~/.config/smplayer/smplayer.ini, I have these lines:

[update_checker]
checked_date=@Variant(\0\0\0\xe\0%{\x99)
last_known_version=0.8.5.5487

[smplayer]
stable_version=0.8.5
check_for_new_version=true

You may want to try setting this to 'check_for_new_version=false' and restart 
it.

-- 
Regards,
Mick


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


[gentoo-user] {OT} backups... still backups....

2013-06-29 Thread Grant
Remote, automated, secure backups is the most difficult and
time-consuming Gentoo project I've undertaken.

Right now I'm pushing data from each of my systems to a backup server
via rdiff-backup.  The main problem with this is if a system is
compromised its backup is also vulnerable.  Also, you can't restrict
rdiff-backup to a particular directory in authorized_keys like you can
with rsync, and rdiff-backup isn't very good over the internet (I've
had trouble on sub-optimal connections) and it's recommended on the
mailing list to use rdiff-backup either before or after rsync'ing over
the internet.

We've discussed this vulnerability here before and it was suggested
that I use hard links to version the rdiff-backup repository on the
backup server in case it's tampered with.  I've been studying hard
links, cp -al, rsnapshot (which uses rsync and hard links), and rsync
--link-dest (which uses hard links) but I can't figure out how that
would work without the inevitable duplication of data on a large
scale.

Can anyone think of an automated method that remotely and securely
backs up data from one system to another, preserves permissions and
ownership, and keeps the backups safe even if the backed-up system is
compromised?

I did delve into bacula but decided it was overkill for just a few systems.

- Grant



Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Dale
Bruce Hill wrote:
 On Sat, Jun 29, 2013 at 04:53:47AM -0500, Dale wrote:
 Now that you mention it, it may have been when the separate /usr init
 thingy was going on that I had to add it.  That could be it.  Well, if I
 have to upgrade before they have a fix, I'll give it a shot and see what
 happens.  I suspect it will be fixed at some point and most likely in
 the next update anyway.

 Dale
 You need to get over that it will be fixed at some point, and believe it
 when every one tells you that separate /usr without an initrd is working fine
 with present stable udev. Here's proof on a wee fileserver, which has neavuh
 had an initrd and always had a separate /usr:

 mingdao@server ~ $ eix sys-fs/udev
 [I] sys-fs/udev
  Available versions:  197-r8^t 200^t 204^t **^t {{acl doc 
 +firmware-loader gudev hwdb introspection keymap +kmod +openrc selinux 
 static-libs}}
  Installed versions:  204^t(02:40:22 PM 06/26/2013)(acl firmware-loader 
 kmod openrc -doc -gudev -hwdb -introspection -keymap -selinux -static-libs)
  Homepage:http://www.freedesktop.org/wiki/Software/systemd
  Description: Linux dynamic and persistent device naming support 
 (aka userspace devfs)

 [I] sys-fs/udev-init-scripts
  Available versions:  23^t 25^t 26^t **^t
  Installed versions:  26^t(02:40:36 PM 06/26/2013)
  Homepage:http://www.gentoo.org
  Description: udev startup scripts for openrc

 Found 2 matches.
 mingdao@server ~ $ df -hT
 Filesystem   Type  Size  Used Avail Use% Mounted on
 rootfs   rootfs2.0G  109M  1.9G   6% /
 /dev/rootxfs   2.0G  109M  1.9G   6% /
 devtmpfs devtmpfs  3.0G  4.0K  3.0G   1% /dev
 tmpfstmpfs 3.0G  592K  3.0G   1% /run
 shm  tmpfs 3.0G 0  3.0G   0% /dev/shm
 /dev/mapper/system-var   xfs10G  717M  9.3G   8% /var
 /dev/mapper/system-usr   xfs10G  4.4G  5.7G  44% /usr
 /dev/mapper/system-home  xfs   6.0G  5.8G  251M  96% /home
 /dev/mapper/storage-photos   xfs   500G   19G  482G   4% /photos
 /dev/mapper/storage-backups  xfs   500G  262G  239G  53% /backups
 /dev/mapper/storage-offload  fuseblk   300G  234G   67G  78% /offload
 /dev/mapper/storage-peterxfs25G  1.7G   24G   7% /peter
 /dev/mapper/storage-jeremiah xfs10G  3.6G  6.5G  36% /jeremiah
 mingdao@server ~ $ ls -l /boot/
 total 25156
 lrwxrwxrwx 1 root root  17 Jan 10 13:26 System.map - System.map-3.4.24
 -rw-r--r-- 1 root root 2205716 Jan 10 13:25 System.map-3.4.24
 -rw-r--r-- 1 root root 1812882 Sep  6  2012 System.map-3.4.9-gentoo
 -rw-r--r-- 1 root root 1823240 Aug  9  2012 System.map-3.5.0
 -rw-r--r-- 1 root root 1823619 Aug 16  2012 System.map-3.5.2
 lrwxrwxrwx 1 root root  23 Dec 28  2012 System.map.old - 
 System.map-3.4.9-gentoo
 -rw-r--r-- 1 root root 512 Feb 21  2012 boot.0800
 -rw-r--r-- 1 root root 512 Feb 21  2012 boot.0810
 -rw-r--r-- 1 root root 512 Feb 21  2012 boot.0820
 -rw-r--r-- 1 root root 512 Feb 21  2012 boot.0830
 lrwxrwxrwx 1 root root  13 Jan 10 13:26 config - config-3.4.24
 -rw-r--r-- 1 root root   62528 Jan 10 13:25 config-3.4.24
 -rw-r--r-- 1 root root   63522 Sep  6  2012 config-3.4.9-gentoo
 -rw-r--r-- 1 root root   64644 Aug  9  2012 config-3.5.0
 -rw-r--r-- 1 root root   64644 Aug 16  2012 config-3.5.2
 lrwxrwxrwx 1 root root  19 Dec 28  2012 config.old - config-3.4.9-gentoo
 lrwxrwxrwx 1 root root  14 Jan 10 13:25 vmlinuz - vmlinuz-3.4.24
 -rw-r--r-- 1 root root 4671120 Jan 10 13:24 vmlinuz-3.4.24
 -rw-r--r-- 1 root root 4349568 Sep  6  2012 vmlinuz-3.4.9-gentoo
 -rw-r--r-- 1 root root 4388464 Aug  9  2012 vmlinuz-3.5.0
 -rw-r--r-- 1 root root 4390672 Aug 16  2012 vmlinuz-3.5.2
 lrwxrwxrwx 1 root root  20 Dec 28  2012 vmlinuz.old - 
 vmlinuz-3.4.9-gentoo
 mingdao@server ~ $ cat /etc/lilo.conf
 # Faster, but won't work on all systems:
 compact
 # Should work for most systems, and do not have the sector limit:
 lba32
 default = Gentoo 
 # MBR to install LILO to:
 boot = /dev/md0
 raid-extra-boot = mbr-only
 map = /boot/.map

 install = /boot/boot-menu.b   # Note that for lilo-22.5.5 or later you
   # do not need boot-{text,menu,bmp}.b in
   # /boot, as they are linked into the lilo
   # binary.

 menu-scheme=Wb
 prompt
 # If you always want to see the prompt with a 15 second timeout:
 timeout=50
 append=panic=10 nomce dolvm domdadm rootfstype=xfs

 #
 # End LILO global section
 #

 #
 # Linux bootable partition config begins
 #
 image = /boot/vmlinuz
 root = /dev/md0
 label = Gentoo
 read-only  # Partitions should be mounted read-only for checking
 image = /boot/vmlinuz.old
 root = /dev/md0
 label = Gentoo-def
 read-only  # Partitions should be mounted read-only for 

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

2013-06-29 Thread Stroller

On 29 June 2013, at 09:16, Zind wrote:
 
   After I made the LiveUSB, disabling the UEFI boot, I finally boot into 
 the Gentoo kernel. But I could not connect to the network. ...
 
   After several times of STFW, I can confirm it's a network adapter 
 driver support issue: lacks of coresponding network adapter drivers.
   For the AR8161 network adapter, it requires the alx kernal module: 
 alx.ko.

If I'm understanding correctly, that it's the LiveCD that can't connect to the 
network (rather than the installed system) then there are various ways to work 
around this.

Two alternatives that spring to mind are:

1. Many USB network adaptors are supported by LiveCDs, try one of those. Some 
wired USB ethernet are available new for as little as $10 or so, or you could 
probably find a secondhand wifi 802.11b or g adaptor that cheap. Or borrow one, 
or something.

2. For each emerge command in the installation guide, run `emerge -fp 
package-name` first, and redirect the output into a textfile. Then copy this 
textfile onto a USB key, take it to another machine with working internet 
access, use `wget -i file` to download the packages and then transfer them back 
to the machine on which you're installing Gentoo. 

Stroller.




Re: [gentoo-user] LVM2 compile error. Clock_gettime

2013-06-29 Thread Dale
Bruce Hill wrote:
 You might want to run enalyze rebuild use to get an idea of what USE
 flags you have which do not match the default settings. Over the
 course of time the defaults change, and our need for certain options
 change, so it's good to run this and check any USE flags for
 situations such as yours above, where one would say, I can't recall
 WHY I set it to that. If you can't find a reason then it's best to
 stick with the default settings most of the time. This is all that
 command will do on your system: mingdao@server ~ $ enalyze rebuild use
 -- Scanning installed packages for USE flag settings that do not match
 the default settings -- preparing pkgs for file entries - Saving file:
 /home/mingdao/package.use.test - Done Bruce 

Ran that and the list is actually pretty short.  I go with defaults
unless it is something that is specific to my setup.  Such as -gnome or
kde since I don't use the former but do use the later.  Sometimes when I
emerge something that conflicts, I have to pick one over the other and
portage lets me know that.  That usually goes in package.use which is
also a small file.

So, doesn't seem to help much here.  Did find a new command tho.  ;-)

Thanks

Dale

:-)  :-) 

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




Re: [gentoo-user] SMplayer: Update notification

2013-06-29 Thread meino . cramer
Mick michaelkintz...@gmail.com [13-06-30 05:53]:
 On Saturday 29 Jun 2013 17:45:31 meino.cra...@gmx.de wrote:
  Hi,
  
  I am using smplayer to play DVB-T, since Kaffeine stucks with some
  channels.
  
  This evening, smplayer notifies me, that a new version will be
  available.
  
  SMplayer is only able to know this by automonously accesing the
  internet and its home site.
  
  I dont like this.
  
  How can I swith this off?
  
  Best regards,
  mcc
 
 In my ~/.config/smplayer/smplayer.ini, I have these lines:
 
 [update_checker]
 checked_date=@Variant(\0\0\0\xe\0%{\x99)
 last_known_version=0.8.5.5487
 
 [smplayer]
 stable_version=0.8.5
 check_for_new_version=true
 
 You may want to try setting this to 'check_for_new_version=false' and restart 
 it.
 
 -- 
 Regards,
 Mick


Hi Mick,

thanks a lot for the info! :)

Wil check that.

Best regrads,
mcc