[gentoo-user] Re: LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)
On Sat, Sep 21, 2013 at 4:49 PM, Canek Peláez Valdés wrote: [...] > The problem, that I believe Stefan and Frank hinted, is that the > encrypted swap did not activated properly, sometimes resulting in huge > boot times (in the order of 1 minute). But only if you specify the > swap partition in fstab. > > The problem is, I think, that systemd tries to activate as soon as > possible the swap partitions, even before > systemd-cryptsetup activates the devices in /dev/mapper. > > The solution is to move the swap partition from fstab, and create a > system unit for it which has to wait until systemd-cryptsetup does its > job: I was a little too quick to reach that conclusion: the problem is a little more complex, but it has a clean solution. Following the reports in [1] and [2], I discovered that I had missed two kernel options required by LVM2: CONFIG_UEVENT_HELPER_PATH="" CONFIG_DM_UEVENT=y Also, the system where I am doing my experiments is a virtual machine with almost nothing installed; therefore, I forgot to set USE=udev, and cryptsetup needs it. With those things out of the way, everything works as expected; there is no need for an explicit unit for the swap partition, and I can set it in fstab: /dev/mapper/swap none swap sw 0 0 I would like to use a label for the swap partition, but when the swap is encrypted systemd does mkswap in the partition without any parameter [3]. I could wrote a patch, I guess; but I don't think is worth it. Anyhow, I can get a Gentoo install with mdraid+LVM2+LUKS+systemd working as intended, and without hacks nor workarounds. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:01 1024M 0 rom vda 253:005G 0 disk └─vda1 253:105G 0 part └─md127 9:127 0 15G 0 raid5 ├─vg-vol1 (dm-0) 254:00 200M 0 lvm /boot ├─vg-vol3 (dm-1) 254:102G 0 lvm / ├─vg-vol4 (dm-2) 254:208G 0 lvm /usr ├─vg-vol2 (dm-3) 254:302G 0 lvm │ └─swap (dm-5) 254:502G 0 crypt [SWAP] └─vg-vol5 (dm-4) 254:40 2.8G 0 lvm └─home (dm-6) 254:60 2.8G 0 crypt /home vdb 253:16 05G 0 disk └─vdb1 253:17 05G 0 part └─md127 9:127 0 15G 0 raid5 ├─vg-vol1 (dm-0) 254:00 200M 0 lvm /boot ├─vg-vol3 (dm-1) 254:102G 0 lvm / ├─vg-vol4 (dm-2) 254:208G 0 lvm /usr ├─vg-vol2 (dm-3) 254:302G 0 lvm │ └─swap (dm-5) 254:502G 0 crypt [SWAP] └─vg-vol5 (dm-4) 254:40 2.8G 0 lvm └─home (dm-6) 254:60 2.8G 0 crypt /home vdc 253:32 05G 0 disk └─vdc1 253:33 05G 0 part └─md127 9:127 0 15G 0 raid5 ├─vg-vol1 (dm-0) 254:00 200M 0 lvm /boot ├─vg-vol3 (dm-1) 254:102G 0 lvm / ├─vg-vol4 (dm-2) 254:208G 0 lvm /usr ├─vg-vol2 (dm-3) 254:302G 0 lvm │ └─swap (dm-5) 254:502G 0 crypt [SWAP] └─vg-vol5 (dm-4) 254:40 2.8G 0 lvm └─home (dm-6) 254:60 2.8G 0 crypt /home vdd 253:48 05G 0 disk └─vdd1 253:49 05G 0 part └─md127 9:127 0 15G 0 raid5 ├─vg-vol1 (dm-0) 254:00 200M 0 lvm /boot ├─vg-vol3 (dm-1) 254:102G 0 lvm / ├─vg-vol4 (dm-2) 254:208G 0 lvm /usr ├─vg-vol2 (dm-3) 254:302G 0 lvm │ └─swap (dm-5) 254:502G 0 crypt [SWAP] └─vg-vol5 (dm-4) 254:40 2.8G 0 lvm └─home (dm-6) 254:60 2.8G 0 crypt /home lvm ~ # systemd-analyze blame 2.948s systemd-cryptsetup@home.service 765ms systemd-udev-settle.service 199ms systemd-cryptsetup@swap.service 170ms systemd-fsck-root.service 154ms systemd-udev-trigger.service 145ms systemd-logind.service 136ms dhcpcd@enp0s3.service 129ms sshd.service 108ms systemd-modules-load.service 100ms systemd-fsck@dev-disk-by\x2dlabel-Home.service 99ms lvm2-activation-early.service 99ms lvm2-activation.service 75ms dev-mqueue.mount 74ms mdadm.service 72ms systemd-sysctl.service 67ms systemd-fsck@dev-disk-by\x2dlabel-Boot.service 61ms systemd-ask-password-wall.service 60ms dev-hugepages.mount 58ms systemd-vconsole-setup.service 57ms systemd-tmpfiles-clean.service 51ms systemd-tmpfiles-setup-dev.service 47ms systemd-random-seed-load.service 47ms sys-kernel-debug.mount 45ms systemd-remount-fs.service 44ms systemd-user-sessions.service 43ms systemd-tmpfiles-setup.service 37ms boot.mount 33ms systemd-udevd.service 27ms systemd-journal-flush.service 22ms tm
Re: [gentoo-user] ZFS
Joerg Schilling wrote: > Dale wrote: > >>> Why do you believe it has forked? >>> This project does not even has a source code repository and the fact that >>> they refer to illumos for sources makes me wonder whether it is open for >>> contributing. >>> >>> Jörg >>> >> Well, it seemed to me that it either changed its name or forked or >> something. I was hoping that whatever the reason for this, it would >> eventually be in the kernel like ext* and others. It seems that is not >> the case. That's why I was asking questions. > It is in the Kernel... > > It may not be in the Linux kernel ;-) > > It seems that they just came out of their caves and created a web page. > Note that until recently, they used secret mailing lists. > > Jörg > Well, I only use the Linux kernel. When I mention the kernel, I'm only concerned with the Linux one which I use. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
[gentoo-user] LVM2+mdraid5+LUKS+systemd (was Re: LVM2+mdraid+systemd)
OK, so I conducted another experiment, to see if I was able to make systemd *not* to work with an exotic combination of underlying storage. I did the following: - 4 drives, all of them in RAID5. - The resulting /dev/md127 was put in a Physical Volume, that in a Volume Group, and that split into 5 Logical Volumes: 1. /boot (unnecessary, but why not) 2. swap 3. / (root) 4. /usr 5. /home - The /home partition was encrypted, and so was the swap. Everything works, but now I did had to do something not intuitive. First the intuitive changes from my previous experiment: 1. I had to put this in /etc/default/grub: GRUB_PRELOAD_MODULES="lvm mdraid1x" Basically that's it. The partitions again use labels, so I didn't had to touch fstab, except for the not intuitive change. The problem, that I believe Stefan and Frank hinted, is that the encrypted swap did not activated properly, sometimes resulting in huge boot times (in the order of 1 minute). But only if you specify the swap partition in fstab. The problem is, I think, that systemd tries to activate as soon as possible the swap partitions, even before systemd-cryptsetup activates the devices in /dev/mapper. The solution is to move the swap partition from fstab, and create a system unit for it which has to wait until systemd-cryptsetup does its job: lvm ~ # cat /etc/systemd/system/dev-disk-by\\x2did-dm\\x2dname\\x2dswap.swap [Unit] After=systemd-cryptsetup@swap.service [Swap] What=/dev/disk/by-id/dm-name-swap lvm ~ # cat /etc/crypttab home /dev/vg/vol5 swap /dev/vg/vol2 /dev/urandom swap lvm ~ # cat /etc/fstab LABEL=Boot /boot ext2 acl,noatime 0 2 LABEL=Root / ext4 acl,noatime 0 1 LABEL=User /usr ext4 acl,noatime 0 2 LABEL=Home /home ext4 acl,noatime 0 2 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 tmpfs /tmp tmpfs defaults,nosuid,size=100% 0 0 Everything works; at boot time systemd asks for the passphrase for /home, and after a timeout continues the boot without mounting it. I haven't tried pam_mount. lvm ~ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:01 1024M 0 rom vda 253:005G 0 disk └─vda1 253:105G 0 part └─md127 9:127 0 15G 0 raid5 ├─vg-vol1 (dm-0) 254:00 200M 0 lvm /boot ├─vg-vol3 (dm-1) 254:102G 0 lvm / ├─vg-vol4 (dm-2) 254:208G 0 lvm /usr ├─vg-vol2 (dm-3) 254:302G 0 lvm │ └─swap (dm-5) 254:502G 0 crypt └─vg-vol5 (dm-4) 254:40 2.8G 0 lvm └─home (dm-6) 254:60 2.8G 0 crypt /home vdb 253:16 05G 0 disk └─vdb1 253:17 05G 0 part └─md127 9:127 0 15G 0 raid5 ├─vg-vol1 (dm-0) 254:00 200M 0 lvm /boot ├─vg-vol3 (dm-1) 254:102G 0 lvm / ├─vg-vol4 (dm-2) 254:208G 0 lvm /usr ├─vg-vol2 (dm-3) 254:302G 0 lvm │ └─swap (dm-5) 254:502G 0 crypt └─vg-vol5 (dm-4) 254:40 2.8G 0 lvm └─home (dm-6) 254:60 2.8G 0 crypt /home vdc 253:32 05G 0 disk └─vdc1 253:33 05G 0 part └─md127 9:127 0 15G 0 raid5 ├─vg-vol1 (dm-0) 254:00 200M 0 lvm /boot ├─vg-vol3 (dm-1) 254:102G 0 lvm / ├─vg-vol4 (dm-2) 254:208G 0 lvm /usr ├─vg-vol2 (dm-3) 254:302G 0 lvm │ └─swap (dm-5) 254:502G 0 crypt └─vg-vol5 (dm-4) 254:40 2.8G 0 lvm └─home (dm-6) 254:60 2.8G 0 crypt /home vdd 253:48 05G 0 disk └─vdd1 253:49 05G 0 part └─md127 9:127 0 15G 0 raid5 ├─vg-vol1 (dm-0) 254:00 200M 0 lvm /boot ├─vg-vol3 (dm-1) 254:102G 0 lvm / ├─vg-vol4 (dm-2) 254:208G 0 lvm /usr ├─vg-vol2 (dm-3) 254:302G 0 lvm │ └─swap (dm-5) 254:502G 0 crypt └─vg-vol5 (dm-4) 254:40 2.8G 0 lvm └─home (dm-6) 254:60 2.8G 0 crypt /home lvm ~ # systemd-analyze blame 3.314s systemd-cryptsetup@home.service 803ms systemd-udev-trigger.service 198ms systemd-cryptsetup@swap.service 134ms systemd-fsck-root.service 123ms dhcpcd@enp0s3.service 121ms systemd-udev-settle.service 114ms systemd-logind.service 111ms sshd.service 109ms lvm2-activation-early.service 100ms systemd-modules-load.service 60ms lvm2-activation.service 58ms systemd-sysctl.service 58ms systemd-vconsole-setup.service 56ms mdadm.service 55ms dev-mqueue.mount 55ms dev-hugepages.mount 48ms sys-kernel-debug.mount 48ms systemd-random-seed-load.service 47ms systemd-fsck@dev-disk-by\x2dlabel-Boot.service 45ms systemd-tmpfiles-setup-dev.service 44ms systemd-ask-password-wall.s
Re: [gentoo-user] re: alternating between wired and wireless interfaces
Just thought I'd give the other popular alternative of the Redhat backed NetworkManager. Also, if you don't wait for the interface to come up I don't think the service can bind to the interface (and it obviously can't bind to an IP). Probably not an issue for ssh but possibly one for MySQL or Apache. Torben Hensgens Mailer wrote: >Am 21.09.2013 12:47, schrieb Alexander Kapshuk: >> I have both wired and wireless network interfaces configured: >> box0 log # rc-update show|egrep 'enp3s0|wlp2s0' >> net.enp3s0 | default >> net.wlp2s0 | default >> >> (1). Is there a way to instruct the system as to which network >interface >> to use, so it doesn't try to bring up the one not intended to be used >at >> boot time: >> box0 log # egrep 'enp3s0|wlp2s0' messages >> --- >> Sep 21 12:30:18 localhost kernel: [ 12.268209] r8169 :03:00.0 >> enp3s0: link down >> Sep 21 12:30:18 localhost kernel: [ 12.268236] IPv6: >> ADDRCONF(NETDEV_UP): enp3s0: link is not ready >> Sep 21 12:30:18 localhost /etc/init.d/net.enp3s0[1888]: No >configuration >> specified; defaulting to DHCP >> Sep 21 12:30:18 localhost dhcpcd[1896]: enp3s0: waiting for carrier >> Sep 21 12:30:56 localhost /etc/init.d/net.enp3s0[1801]: ERROR: >> net.enp3s0 failed to start >> Sep 21 12:30:56 localhost kernel: [ 50.595278] IPv6: >> ADDRCONF(NETDEV_UP): wlp2s0: link is not ready >> Sep 21 12:30:56 localhost /etc/init.d/net.wlp2s0[1917]: WARNING: >> net.wlp2s0 has started, but is inactive >> Sep 21 12:30:56 localhost /etc/init.d/netmount[2007]: ERROR: cannot >> start netmount as net.enp3s0 would not start >> Sep 21 12:30:56 localhost /etc/init.d/sshd[2008]: ERROR: cannot start >> sshd as net.enp3s0 would not start >> Sep 21 12:30:57 localhost kernel: [ 51.817387] wlp2s0: authenticate >> with f4:ec:38:b9:59:a7 >> Sep 21 12:30:57 localhost kernel: [ 51.825344] wlp2s0: send auth to >> f4:ec:38:b9:59:a7 (try 1/3) >> Sep 21 12:30:57 localhost kernel: [ 51.826811] wlp2s0: >authenticated >> Sep 21 12:30:57 localhost kernel: [ 51.827059] wlp2s0: associate >with >> f4:ec:38:b9:59:a7 (try 1/3) >> Sep 21 12:30:57 localhost kernel: [ 51.829316] wlp2s0: RX AssocResp >> from f4:ec:38:b9:59:a7 (capab=0x411 status=0 aid=2) >> Sep 21 12:30:57 localhost kernel: [ 51.829586] wlp2s0: associated >> Sep 21 12:30:57 localhost kernel: [ 51.829598] IPv6: >> ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready >> Sep 21 12:30:59 localhost wpa_cli: interface wlp2s0 CONNECTED >> Sep 21 12:30:59 localhost /etc/init.d/net.wlp2s0[2130]: No >configuration >> specified; defaulting to DHCP >> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router >> Solicitation >> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sendmsg: Cannot >assign >> requested address >> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: rebinding lease of >> 192.168.1.5 >> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: acknowledged >192.168.1.5 >> from 192.168.1.1 `TP-LINK' >> Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: checking for >192.168.1.5 >> Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router >> Solicitation >> Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: leased 192.168.1.5 >for >> 259200 seconds >> Sep 21 12:31:07 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router >> Solicitation >> Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router >> Solicitation >> Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: no IPv6 Routers >available >> --- >> (2). sshd seems to start only if the wired interface is up. How do I >> tell it start when the wireless interface is running? >> box0 log # rc-status|egrep 'enp3s0|wlp2s0|sshd' >> net.enp3s0[ >> stopped ] >> net.wlp2s0[ >> started ] >> sshd [ >> stopped ] >> >> >> Thanks. >> >> > >Yeh, same advice here, try wicd first. If you don't want a GUI (or you >don't have corresponding UI toolkits installed), there's also the >option >to configure and use wicd via the ncurses interface.
Re: [gentoo-user] Comparing RAID5/6 rebuild times, SATA vs SAS vs SSD
On 2013-09-20 6:43 PM, Paul Hartman wrote: A couple weeks ago one of the drives died. I hot-swap replaced it with a new one (with no down-time) and the rebuild took exactly 10 hours. Under normal operation, the speed of the array for contiguous read/writes is about 600MB/sec, which is faster than my SSD (single drive, not RAIDed). Thanks... But... RAID read/writes under normal operating conditions has nothing whatsoever to do with REBUILD speeds/times. Again, the reason I'm interested in this is, if the rebuild times are 'blindingly fast' (as compared to the times for SATA or even fast SAS drives - ie, 1 hour vs your 10 hours)), then maybe a RAID6 with SSDs is back in the realm of doable, since you don't lose 50% of available storage with RAID6...
Re: [gentoo-user] ZFS
On Sep 21, 2013 7:54 PM, "thegeezer" wrote: > > On 09/17/2013 08:20 AM, Grant wrote: > > I'm convinced I need 3-disk RAID1 so I can lose 2 drives and keep > > running. I'd also like to stripe for performance, resulting in > > RAID10. It sounds like most hardware controllers do not support > > 6-disk RAID10 so ZFS looks very interesting. > > > > Can I operate ZFS RAID without a hardware RAID controller? > > > > From a RAID perspective only, is ZFS a better choice than conventional > > software RAID? > > > > ZFS seems to have many excellent features and I'd like to ease into > > them slowly (like an old man into a nice warm bath). Does ZFS allow > > you to set up additional features later (e.g. snapshots, encryption, > > deduplication, compression) or is some forethought required when first > > making the filesystem? > > > > It looks like there are comprehensive ZFS Gentoo docs > > (http://wiki.gentoo.org/wiki/ZFS) but can anyone tell me from the real > > world about how much extra difficulty/complexity is added to > > installation and ongoing administration when choosing ZFS over ext4? > > > > Performance doesn't seem to be one of ZFS's strong points. Is it > > considered suitable for a high-performance server? > > > > http://www.phoronix.com/scan.php?page=news_item&px=MTM1NTA > > > > Besides performance, are there any drawbacks to ZFS compared to ext4? > > > > - Grant > > > Howdy, > been reading this thread and am pretty intrigued, ZFS is much more than > i thought it was. > I was wondering though does ZFS work as a multiple client single storage > cluster such as GFS/OCFS/VMFS/OrangeFS ? Well... not really. Of course you could run ZFS over DRBD, or run any of those filesystems on top a zvol... But I'll say, ZFS is not (yet?) a clustered filesystem. > I was also wondering if anyone could share their experience with ZFS on > iscsi - especially considering the readahead /proc changes required on > same system ? > thanks! > Although I have no experience of ZFS over iSCSI, I don't think that's any problem. As long as ZFS can 'see' the block device comes time for it to mount the pool and all 'child' datasets (or zvols), all should be well. In this case, however, you would want the iSCSI target to not perform a readahead. Let ZFS 'instructs' the iSCSI target on which sectors to read. Rgds, --
Re: [gentoo-user] wifi connection problem
I can't see anything out of place, but here's some suggestions. On Saturday 21 Sep 2013 16:08:36 Bruce Hill wrote: > peter ~ # cat /etc/wpa_supplicant/wpa_supplicant.conf > ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel > #ap_scan=0 > #update_config=1 > > network={ > ssid="0024A5F5271E" > #psk="" > psk= > scan_ssid=1 > proto=WPA2 Change this to: proto=RSN > key_mgmt=WPA-PSK > group=CCMP TKIP If your access point can do CCMP, your don't need TKIP > pairwise=CCMP TKIP Ditto. > 3: wlan0: mtu 1500 qdisc pfifo_fast state > UP group default qlen 1000 link/ether 94:44:52:de:38:44 brd > ff:ff:ff:ff:ff:ff I know that this says wlan0 is up, but could the error below be because it is disabled at the hardware? > NB: To ssh into peter from baruch and get this info, I had to del net.wlan0 > from the default runlevel. Otherwise, I couldn't get sshd to start: > > Sep 21 10:01:05 peter kernel:4.598076] systemd-udevd[1214]: starting > version 204 Sep 21 10:01:05 peter kernel: [5.211658] r8712u: module is > from the staging directory, the quality is unknown, you have been warned. > Sep 21 10:01:05 peter kernel: [5.211965] r8712u: Staging version Sep > 21 10:01:05 peter kernel: [5.211976] r8712u: register > rtl8712_netdev_ops to netdev_ops Sep 21 10:01:05 peter kernel: [ > 5.211980] usb 1-2: r8712u: USB_SPEED_HIGH with 4 endpoints Sep 21 10:01:05 > peter kernel: [5.212463] usb 1-2: r8712u: Boot from EFUSE: Autoload OK > Sep 21 10:01:05 peter kernel: [5.933140] usb 1-2: r8712u: CustomerID = > 0x Sep 21 10:01:05 peter kernel: [5.933145] usb 1-2: r8712u: MAC > Address from efuse = 94:44:52:de:38:44 Sep 21 10:01:05 peter kernel: [ > 5.933147] usb 1-2: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin" > Sep 21 10:01:05 peter kernel: [5.933232] usbcore: registered new > interface driver r8712u Sep 21 10:01:05 peter kernel: [7.116650] > Adding 1951860k swap on /dev/sda5. Priority:-1 extents:1 across:1951860k > Sep 21 10:01:05 peter kernel: [7.153107] XFS (sda2): Mounting > Filesystem Sep 21 10:01:05 peter kernel: [7.295342] XFS (sda2): Ending > clean mount Sep 21 10:01:05 peter kernel: [7.330984] XFS (sda3): > Mounting Filesystem Sep 21 10:01:05 peter kernel: [7.469806] XFS > (sda3): Ending clean mount Sep 21 10:01:05 peter crond[1681]: > /usr/sbin/crond 4.5 dillon's cron daemon, started with loglevel notice Sep > 21 10:01:05 peter /usr/sbin/gpm[1694]: *** info [daemon/startup.c(136)]: > Sep 21 10:01:05 peter /usr/sbin/gpm[1694]: Started gpm successfully. > Entered daemon mode. Sep 21 10:01:06 peter kernel: [ 10.118645] r8712u > 1-2:1.0 wlan0: 1 RCR=0x153f00e Sep 21 10:01:06 peter kernel: [ > 10.119365] r8712u 1-2:1.0 wlan0: 2 RCR=0x553f00e Sep 21 10:01:06 peter > kernel: [ 10.469578] r8169 :01:00.0 eth0: link down Sep 21 10:01:06 > peter kernel: [ 10.469589] r8169 :01:00.0 eth0: link down Sep 21 > 10:01:06 peter /etc/init.d/net.wlan0[1925]: start-stop-daemon: failed to > start `/usr/sbin/wpa_supplicant' Sep 21 10:01:06 peter > /etc/init.d/net.wlan0[1850]: ERROR: net.wlan0 failed to start Sep 21 Does 'rfkill list' confirm that the wlan0 hardware is switched on? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: scrolling not seamless in firefox/thunderbird
On 21/09/13 15:39, Alexander Kapshuk wrote: I've noticed that when I am scrolling up/down a page in Firefox, or scrolling up/down an email body in Thunderbird, it's not seamless. Not sure how to best describe what I mean by 'not seamless'. A screenshot would speak a thousand words :-)
Re: [gentoo-user] re: scrolling not seamless in firefox/thunderbird
Bruce Hill wrote: I have "Use smooth scrolling" checked and no such wavy line anywhere. Hmmm I just tried Firefox, and get the wavy line when "Use smooth scolling is checked (scrolling with the mouse wheel). It goes away when unchecked. Did the same in Thunderbird, and I don't see the wavy line, no matter what the setting. Al
Re: [gentoo-user] re: scrolling not seamless in firefox/thunderbird
On Sat, Sep 21, 2013 at 08:03:10AM -0700, Al wrote: > Alexander Kapshuk wrote: > > I've noticed that when I am scrolling up/down a page in Firefox, or > > scrolling up/down an email body in Thunderbird, it's not seamless. Not > > sure how to best describe what I mean by 'not seamless'. It's kind of > > wavy. The text is. > > Uncheck "Use smooth scrolling" in preferences/advanced/general and the > wavy line will go away. I have "Use smooth scrolling" checked and no such wavy line anywhere. -- 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
[gentoo-user] wifi connection problem
After moving from one location to another, changing ISPs from Metrocast to Comcast, we're having connectivity issues. But let me just state the problem with the wife's PC, peter. (My laptop, baruch, works with a static IP using wicd...nothing has worked using DHCP in Gentoo since moving to Comcast.) It can connect with a wire, but not wireless, using /etc/conf.d/net and wpa_supplicant.conf dmesg output: [4.598076] systemd-udevd[1214]: starting version 204 [5.211658] r8712u: module is from the staging directory, the quality is unknown, you have been warned. [5.211965] r8712u: Staging version [5.211976] r8712u: register rtl8712_netdev_ops to netdev_ops [5.211980] usb 1-2: r8712u: USB_SPEED_HIGH with 4 endpoints [5.212463] usb 1-2: r8712u: Boot from EFUSE: Autoload OK [5.933140] usb 1-2: r8712u: CustomerID = 0x [5.933145] usb 1-2: r8712u: MAC Address from efuse = 94:44:52:de:38:44 [5.933147] usb 1-2: r8712u: Loading firmware from "rtlwifi/rtl8712u.bin" [5.933232] usbcore: registered new interface driver r8712u [7.116650] Adding 1951860k swap on /dev/sda5. Priority:-1 extents:1 across:1951860k [7.153107] XFS (sda2): Mounting Filesystem [7.295342] XFS (sda2): Ending clean mount [7.330984] XFS (sda3): Mounting Filesystem [7.469806] XFS (sda3): Ending clean mount [ 10.118645] r8712u 1-2:1.0 wlan0: 1 RCR=0x153f00e [ 10.119365] r8712u 1-2:1.0 wlan0: 2 RCR=0x553f00e [ 10.469578] r8169 :01:00.0 eth0: link down [ 10.469589] r8169 :01:00.0 eth0: link down [ 12.615465] r8169 :01:00.0 eth0: link up peter ~ # egrep -v "(^#|^ *$)" /etc/conf.d/net config_wlan0="192.168.11.75 netmask 255.255.255.0" modules_wlan0="wpa_supplicant" wpa_supplicant_wlan0="-Dwext" dns_servers_wlan0="4.2.2.1 4.2.2.2 8.8.8.8 192.168.11.1" routes_wlan0="default via 192.168.11.1" config_eth0="192.168.11.55 netmask 255.255.255.0" dns_servers_eth0="4.2.2.1 4.2.2.2 8.8.8.8 192.168.11.1" routes_eth0="default via 192.168.11.1" peter ~ # cat /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel #ap_scan=0 #update_config=1 network={ ssid="0024A5F5271E" #psk="" psk= scan_ssid=1 proto=WPA2 key_mgmt=WPA-PSK group=CCMP TKIP pairwise=CCMP TKIP #priority=5 } peter ~ # ls -l /etc/init.d/net.* lrwxrwxrwx 1 root root 6 Sep 16 09:35 /etc/init.d/net.eth0 -> net.lo -rwxr-xr-x 1 root root 16919 Dec 9 2012 /etc/init.d/net.lo lrwxrwxrwx 1 root root 6 Sep 21 07:05 /etc/init.d/net.wlan0 -> net.lo peter ~ # rc-update show bootmisc | boot dcron | default devfs | sysinit dmesg | sysinit fsck | boot gpm | default hostname | boot hwclock | boot keymaps | boot killprocs | shutdown local | default localmount | boot modules | boot mount-ro | shutdown mtab | boot net.eth0 | default net.lo | boot net.wlan0 | default netmount | default procfs | boot root | boot savecache | shutdown sshd | default swap | boot swapfiles | boot sysctl | boot sysfs | sysinit syslog-ng | default teamviewerd8 | default termencoding | boot tmpfiles.setup | boot udev | sysinit udev-mount | sysinit urandom | boot wpa_supplicant | default peter ~ # ip addr 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether bc:ae:c5:48:27:ef brd ff:ff:ff:ff:ff:ff inet 192.168.11.55/24 brd 192.168.11.255 scope global eth0 valid_lft forever preferred_lft forever 3: wlan0: mtu 1500 qdisc pfifo_fast state UP grou
Re: [gentoo-user] re: scrolling not seamless in firefox/thunderbird
Alexander Kapshuk wrote: I've noticed that when I am scrolling up/down a page in Firefox, or scrolling up/down an email body in Thunderbird, it's not seamless. Not sure how to best describe what I mean by 'not seamless'. It's kind of wavy. The text is. Uncheck "Use smooth scrolling" in preferences/advanced/general and the wavy line will go away. Al
Re: [gentoo-user] re: alternating between wired and wireless interfaces
Am 21.09.2013 12:47, schrieb Alexander Kapshuk: I have both wired and wireless network interfaces configured: box0 log # rc-update show|egrep 'enp3s0|wlp2s0' net.enp3s0 | default net.wlp2s0 | default (1). Is there a way to instruct the system as to which network interface to use, so it doesn't try to bring up the one not intended to be used at boot time: box0 log # egrep 'enp3s0|wlp2s0' messages --- Sep 21 12:30:18 localhost kernel: [ 12.268209] r8169 :03:00.0 enp3s0: link down Sep 21 12:30:18 localhost kernel: [ 12.268236] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready Sep 21 12:30:18 localhost /etc/init.d/net.enp3s0[1888]: No configuration specified; defaulting to DHCP Sep 21 12:30:18 localhost dhcpcd[1896]: enp3s0: waiting for carrier Sep 21 12:30:56 localhost /etc/init.d/net.enp3s0[1801]: ERROR: net.enp3s0 failed to start Sep 21 12:30:56 localhost kernel: [ 50.595278] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready Sep 21 12:30:56 localhost /etc/init.d/net.wlp2s0[1917]: WARNING: net.wlp2s0 has started, but is inactive Sep 21 12:30:56 localhost /etc/init.d/netmount[2007]: ERROR: cannot start netmount as net.enp3s0 would not start Sep 21 12:30:56 localhost /etc/init.d/sshd[2008]: ERROR: cannot start sshd as net.enp3s0 would not start Sep 21 12:30:57 localhost kernel: [ 51.817387] wlp2s0: authenticate with f4:ec:38:b9:59:a7 Sep 21 12:30:57 localhost kernel: [ 51.825344] wlp2s0: send auth to f4:ec:38:b9:59:a7 (try 1/3) Sep 21 12:30:57 localhost kernel: [ 51.826811] wlp2s0: authenticated Sep 21 12:30:57 localhost kernel: [ 51.827059] wlp2s0: associate with f4:ec:38:b9:59:a7 (try 1/3) Sep 21 12:30:57 localhost kernel: [ 51.829316] wlp2s0: RX AssocResp from f4:ec:38:b9:59:a7 (capab=0x411 status=0 aid=2) Sep 21 12:30:57 localhost kernel: [ 51.829586] wlp2s0: associated Sep 21 12:30:57 localhost kernel: [ 51.829598] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready Sep 21 12:30:59 localhost wpa_cli: interface wlp2s0 CONNECTED Sep 21 12:30:59 localhost /etc/init.d/net.wlp2s0[2130]: No configuration specified; defaulting to DHCP Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router Solicitation Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sendmsg: Cannot assign requested address Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: rebinding lease of 192.168.1.5 Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: acknowledged 192.168.1.5 from 192.168.1.1 `TP-LINK' Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: checking for 192.168.1.5 Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router Solicitation Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: leased 192.168.1.5 for 259200 seconds Sep 21 12:31:07 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router Solicitation Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router Solicitation Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: no IPv6 Routers available --- (2). sshd seems to start only if the wired interface is up. How do I tell it start when the wireless interface is running? box0 log # rc-status|egrep 'enp3s0|wlp2s0|sshd' net.enp3s0[ stopped ] net.wlp2s0[ started ] sshd [ stopped ] Thanks. Yeh, same advice here, try wicd first. If you don't want a GUI (or you don't have corresponding UI toolkits installed), there's also the option to configure and use wicd via the ncurses interface.
Re: [gentoo-user] re: alternating between wired and wireless interfaces
On 09/21/2013 03:56 PM, Frank Steinmetzger wrote: > On Sat, Sep 21, 2013 at 01:47:24PM +0300, Alexander Kapshuk wrote: > >> I have both wired and wireless network interfaces configured: >> box0 log # rc-update show|egrep 'enp3s0|wlp2s0' >>net.enp3s0 | default >>net.wlp2s0 | default >> >> (1). Is there a way to instruct the system as to which network interface >> to use, so it doesn't try to bring up the one not intended to be used at >> boot time: >> box0 log # egrep 'enp3s0|wlp2s0' messages >> --- >> […] >> /etc/init.d/net.enp3s0[1801]: ERROR: net.enp3s0 failed to start >> […] >> /etc/init.d/netmount[2007]: ERROR: cannot start netmount as net.enp3s0 would >> not start >> […] >> /etc/init.d/sshd[2008]: ERROR: cannot start sshd as net.enp3s0 would not >> start >> […] >> --- >> (2). sshd seems to start only if the wired interface is up. How do I >> tell it start when the wireless interface is running? >> box0 log # rc-status|egrep 'enp3s0|wlp2s0|sshd' >> net.enp3s0 [ stopped ] >> net.wlp2s0 [ started ] >> sshd [ stopped ] > It seems to me that your problem is that you’re not always connected > with both interfaces at the same time. In the default configuration, > network-dependent services only start if all network services are up > and running. This is most annyoing for laptop users who might not be > connected at all at times. > > The solution is to not have network services depend on all interfaces. > Please look at /etc/rc.conf for rc_depend_strict; if you set it to "NO", > then services are satisfied with any net.* service, even net.lo. > > I suppose there is a way to set up something more fine-tuned in > /etc/conf.d/net, but that must be explained by someone else as I > lack that knowledge. ;) Thanks for your input. I am running gentoo on a laptop, as you have rightly guessed. It was suggested to me by somebody else on this list that using Wicd might be a viable option.
Re: [gentoo-user] re: alternating between wired and wireless interfaces
On Sat, Sep 21, 2013 at 01:47:24PM +0300, Alexander Kapshuk wrote: > I have both wired and wireless network interfaces configured: > box0 log # rc-update show|egrep 'enp3s0|wlp2s0' >net.enp3s0 | default >net.wlp2s0 | default > > (1). Is there a way to instruct the system as to which network interface > to use, so it doesn't try to bring up the one not intended to be used at > boot time: > box0 log # egrep 'enp3s0|wlp2s0' messages > --- > […] > /etc/init.d/net.enp3s0[1801]: ERROR: net.enp3s0 failed to start > […] > /etc/init.d/netmount[2007]: ERROR: cannot start netmount as net.enp3s0 would > not start > […] > /etc/init.d/sshd[2008]: ERROR: cannot start sshd as net.enp3s0 would not start > […] > --- > (2). sshd seems to start only if the wired interface is up. How do I > tell it start when the wireless interface is running? > box0 log # rc-status|egrep 'enp3s0|wlp2s0|sshd' > net.enp3s0 [ stopped ] > net.wlp2s0 [ started ] > sshd [ stopped ] It seems to me that your problem is that you’re not always connected with both interfaces at the same time. In the default configuration, network-dependent services only start if all network services are up and running. This is most annyoing for laptop users who might not be connected at all at times. The solution is to not have network services depend on all interfaces. Please look at /etc/rc.conf for rc_depend_strict; if you set it to "NO", then services are satisfied with any net.* service, even net.lo. I suppose there is a way to set up something more fine-tuned in /etc/conf.d/net, but that must be explained by someone else as I lack that knowledge. ;) -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any Facebook service. I am to teach him reason? I could just as well try to blow out a light bulb! signature.asc Description: Digital signature
Re: [gentoo-user] ZFS
On 09/17/2013 08:20 AM, Grant wrote: > I'm convinced I need 3-disk RAID1 so I can lose 2 drives and keep > running. I'd also like to stripe for performance, resulting in > RAID10. It sounds like most hardware controllers do not support > 6-disk RAID10 so ZFS looks very interesting. > > Can I operate ZFS RAID without a hardware RAID controller? > > From a RAID perspective only, is ZFS a better choice than conventional > software RAID? > > ZFS seems to have many excellent features and I'd like to ease into > them slowly (like an old man into a nice warm bath). Does ZFS allow > you to set up additional features later (e.g. snapshots, encryption, > deduplication, compression) or is some forethought required when first > making the filesystem? > > It looks like there are comprehensive ZFS Gentoo docs > (http://wiki.gentoo.org/wiki/ZFS) but can anyone tell me from the real > world about how much extra difficulty/complexity is added to > installation and ongoing administration when choosing ZFS over ext4? > > Performance doesn't seem to be one of ZFS's strong points. Is it > considered suitable for a high-performance server? > > http://www.phoronix.com/scan.php?page=news_item&px=MTM1NTA > > Besides performance, are there any drawbacks to ZFS compared to ext4? > > - Grant > Howdy, been reading this thread and am pretty intrigued, ZFS is much more than i thought it was. I was wondering though does ZFS work as a multiple client single storage cluster such as GFS/OCFS/VMFS/OrangeFS ? I was also wondering if anyone could share their experience with ZFS on iscsi - especially considering the readahead /proc changes required on same system ? thanks!
[gentoo-user] re: scrolling not seamless in firefox/thunderbird
I've noticed that when I am scrolling up/down a page in Firefox, or scrolling up/down an email body in Thunderbird, it's not seamless. Not sure how to best describe what I mean by 'not seamless'. It's kind of wavy. The text is. Is this kind of behaviour a result of something missing in the kernel I'm using, or in the graphics driver, or something else. Here's some details about my system setup. box0=; uname -a Linux box0 3.10.7-gentoo #4 SMP Mon Sep 9 21:53:26 EEST 2013 i686 Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux box0 ~ # lspci|grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce G 103M] (rev a1) box0=; equery list x11-drivers/nvidia-drivers * Searching for nvidia-drivers in x11-drivers ... [IP-] [ ] x11-drivers/nvidia-drivers-319.49:0 box0=; lsmod|grep nvidia nvidia 8473585 32 box0=; equery list '*firefox*' * Searching for *firefox* ... [IP-] [ ] www-client/firefox-17.0.8:0 box0=; equery list '*thunderbird*' * Searching for *thunderbird* ... [IP-] [ ] mail-client/thunderbird-17.0.8:0 Thanks.
Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
On 09/21/2013 03:08 PM, Neil Bothwick wrote: > On Sat, 21 Sep 2013 14:45:59 +0300, Alexander Kapshuk wrote: > >> box0=; grep sources /var/lib/portage/world >> sys-kernel/gentoo-sources >> sys-kernel/gentoo-sources:3.8.13 >> >> Once I decide I no longer need 'gentoo-sources-3.8.13', would it be >> enough just to remove the corresponding line from >> '/var/lib/portage/world', or is there a better way of doing it? > emerge -Ca sys-kernel/gentoo-sources:3.8.13 > > Thanks.
Re: [gentoo-user] re: alternating between wired and wireless interfaces
On Sat, 21 Sep 2013 13:47:24 +0300, Alexander Kapshuk wrote: > I have both wired and wireless network interfaces configured: > box0 log # rc-update show|egrep 'enp3s0|wlp2s0' >net.enp3s0 | default >net.wlp2s0 | default > > (1). Is there a way to instruct the system as to which network interface > to use, so it doesn't try to bring up the one not intended to be used at > boot time: Yes, use a network manager like Wicd. Wicd has an option to use the wired interface if a cable is connected, falling back to wireless otherwise. -- Neil Bothwick Top Oxymorons Number 34: Silent scream signature.asc Description: PGP signature
Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
On Sat, 21 Sep 2013 14:45:59 +0300, Alexander Kapshuk wrote: > box0=; grep sources /var/lib/portage/world > sys-kernel/gentoo-sources > sys-kernel/gentoo-sources:3.8.13 > > Once I decide I no longer need 'gentoo-sources-3.8.13', would it be > enough just to remove the corresponding line from > '/var/lib/portage/world', or is there a better way of doing it? emerge -Ca sys-kernel/gentoo-sources:3.8.13 -- Neil Bothwick Bagpipe for free: Stuff cat under arm. Pull legs, chew tail. signature.asc Description: PGP signature
Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
On 09/21/2013 02:51 PM, Randolph Maaßen wrote: > 2013/9/21 Alexander Kapshuk : >> On 09/21/2013 01:36 PM, Neil Bothwick wrote: >>> On Sat, 21 Sep 2013 13:27:28 +0300, Alexander Kapshuk wrote: >>> If I understood the instruction above, 'emerge --noreplace sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to /var/lib/portage/world_sets, which it didn't seem to do. box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. !!! Please check ebuild(5) for full details. >>> emerge --noreplace =sys-kernel/gentoo-sources-3.8.13 >>> >>> >> Thanks. That did it. >> box0=; grep sources /var/lib/portage/world >> sys-kernel/gentoo-sources >> sys-kernel/gentoo-sources:3.8.13 >> >> Once I decide I no longer need 'gentoo-sources-3.8.13', would it be >> enough just to remove the corresponding line from >> '/var/lib/portage/world', or is there a better way of doing it? >> >> Thanks. >> >> > emerge --deselect > and > emerge --depclean --ask > should be more elegant > Thanks.
Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
2013/9/21 Alexander Kapshuk : > On 09/21/2013 01:36 PM, Neil Bothwick wrote: >> On Sat, 21 Sep 2013 13:27:28 +0300, Alexander Kapshuk wrote: >> >>> If I understood the instruction above, 'emerge --noreplace >>> sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to >>> /var/lib/portage/world_sets, which it didn't seem to do. >>> >>> box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 >>> !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. >>> !!! Please check ebuild(5) for full details. >> emerge --noreplace =sys-kernel/gentoo-sources-3.8.13 >> >> > Thanks. That did it. > box0=; grep sources /var/lib/portage/world > sys-kernel/gentoo-sources > sys-kernel/gentoo-sources:3.8.13 > > Once I decide I no longer need 'gentoo-sources-3.8.13', would it be > enough just to remove the corresponding line from > '/var/lib/portage/world', or is there a better way of doing it? > > Thanks. > > emerge --deselect and emerge --depclean --ask should be more elegant -- Mit freundlichen Grüßen / Best regards Randolph Maaßen
Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
On 09/21/2013 02:02 PM, Randolph Maaßen wrote: > Hi, > > 2013/9/21 Alexander Kapshuk : >> emerge --depclean wants to remove the gentoo-sources for my old kernel >> [sys-kernel/gentoo-sources-3.8.13] which I want to hang on to for the >> time being. >> >> Is there a way to instruct emerge not to remove them? >> >> emerge(1) >> Packages that are part of the world set will always be kept. They can be >> manually added to this set with emerge --noreplace . >> >> If I understood the instruction above, 'emerge --noreplace >> sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to >> /var/lib/portage/world_sets, which it didn't seem to do. > No, this it the wrong file. the file /var/lib/portage/world is THE > world set, it contains all packages you emerged manually (and with > --noreplace). > The file /var/lib/portage/world_sets can contain the name of other > sets that should be included into the world. > >> box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 >> !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. >> !!! Please check ebuild(5) for full details. >> >> >> box0=; ls -l `pwd`/world* >> -rw-r--r-- 1 root portage 920 Sep 20 20:45 /var/lib/portage/world >> -rw-r--r-- 1 root portage 0 Sep 20 20:45 /var/lib/portage/world_sets >> >> Or is it a matter of defining something like this: >> CONFIG_PROTECT_MASK="/usr/src/linux-3.8.13-gentoo" >> in /etc/portage/make.conf? >> >> >> Any pointers would be much appreciated. >> > > Understood. Thanks.
Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
On 09/21/2013 01:36 PM, Neil Bothwick wrote: > On Sat, 21 Sep 2013 13:27:28 +0300, Alexander Kapshuk wrote: > >> If I understood the instruction above, 'emerge --noreplace >> sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to >> /var/lib/portage/world_sets, which it didn't seem to do. >> >> box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 >> !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. >> !!! Please check ebuild(5) for full details. > emerge --noreplace =sys-kernel/gentoo-sources-3.8.13 > > Thanks. That did it. box0=; grep sources /var/lib/portage/world sys-kernel/gentoo-sources sys-kernel/gentoo-sources:3.8.13 Once I decide I no longer need 'gentoo-sources-3.8.13', would it be enough just to remove the corresponding line from '/var/lib/portage/world', or is there a better way of doing it? Thanks.
Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
On Sat, Sep 21, 2013 at 11:36:21AM +0100, Neil Bothwick wrote: > On Sat, 21 Sep 2013 13:27:28 +0300, Alexander Kapshuk wrote: > > > If I understood the instruction above, 'emerge --noreplace > > sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to > > /var/lib/portage/world_sets, which it didn't seem to do. > > > > box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 > > !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. > > !!! Please check ebuild(5) for full details. > > emerge --noreplace =sys-kernel/gentoo-sources-3.8.13 You should also note, that you actually can depclean the sources. The unmerge process leaves any temporary files from the compilation process intact (unless you manually delete them). If you later reemerge that version you'll start right of where you were. signature.asc Description: Digital signature
Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
Hi, 2013/9/21 Alexander Kapshuk : > emerge --depclean wants to remove the gentoo-sources for my old kernel > [sys-kernel/gentoo-sources-3.8.13] which I want to hang on to for the > time being. > > Is there a way to instruct emerge not to remove them? > > emerge(1) > Packages that are part of the world set will always be kept. They can be > manually added to this set with emerge --noreplace . > > If I understood the instruction above, 'emerge --noreplace > sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to > /var/lib/portage/world_sets, which it didn't seem to do. No, this it the wrong file. the file /var/lib/portage/world is THE world set, it contains all packages you emerged manually (and with --noreplace). The file /var/lib/portage/world_sets can contain the name of other sets that should be included into the world. > > box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 > !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. > !!! Please check ebuild(5) for full details. > > > box0=; ls -l `pwd`/world* > -rw-r--r-- 1 root portage 920 Sep 20 20:45 /var/lib/portage/world > -rw-r--r-- 1 root portage 0 Sep 20 20:45 /var/lib/portage/world_sets > > Or is it a matter of defining something like this: > CONFIG_PROTECT_MASK="/usr/src/linux-3.8.13-gentoo" > in /etc/portage/make.conf? > > > Any pointers would be much appreciated. > -- Mit freundlichen Grüßen / Best regards Randolph Maaßen
[gentoo-user] re: alternating between wired and wireless interfaces
I have both wired and wireless network interfaces configured: box0 log # rc-update show|egrep 'enp3s0|wlp2s0' net.enp3s0 | default net.wlp2s0 | default (1). Is there a way to instruct the system as to which network interface to use, so it doesn't try to bring up the one not intended to be used at boot time: box0 log # egrep 'enp3s0|wlp2s0' messages --- Sep 21 12:30:18 localhost kernel: [ 12.268209] r8169 :03:00.0 enp3s0: link down Sep 21 12:30:18 localhost kernel: [ 12.268236] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready Sep 21 12:30:18 localhost /etc/init.d/net.enp3s0[1888]: No configuration specified; defaulting to DHCP Sep 21 12:30:18 localhost dhcpcd[1896]: enp3s0: waiting for carrier Sep 21 12:30:56 localhost /etc/init.d/net.enp3s0[1801]: ERROR: net.enp3s0 failed to start Sep 21 12:30:56 localhost kernel: [ 50.595278] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready Sep 21 12:30:56 localhost /etc/init.d/net.wlp2s0[1917]: WARNING: net.wlp2s0 has started, but is inactive Sep 21 12:30:56 localhost /etc/init.d/netmount[2007]: ERROR: cannot start netmount as net.enp3s0 would not start Sep 21 12:30:56 localhost /etc/init.d/sshd[2008]: ERROR: cannot start sshd as net.enp3s0 would not start Sep 21 12:30:57 localhost kernel: [ 51.817387] wlp2s0: authenticate with f4:ec:38:b9:59:a7 Sep 21 12:30:57 localhost kernel: [ 51.825344] wlp2s0: send auth to f4:ec:38:b9:59:a7 (try 1/3) Sep 21 12:30:57 localhost kernel: [ 51.826811] wlp2s0: authenticated Sep 21 12:30:57 localhost kernel: [ 51.827059] wlp2s0: associate with f4:ec:38:b9:59:a7 (try 1/3) Sep 21 12:30:57 localhost kernel: [ 51.829316] wlp2s0: RX AssocResp from f4:ec:38:b9:59:a7 (capab=0x411 status=0 aid=2) Sep 21 12:30:57 localhost kernel: [ 51.829586] wlp2s0: associated Sep 21 12:30:57 localhost kernel: [ 51.829598] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready Sep 21 12:30:59 localhost wpa_cli: interface wlp2s0 CONNECTED Sep 21 12:30:59 localhost /etc/init.d/net.wlp2s0[2130]: No configuration specified; defaulting to DHCP Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router Solicitation Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: sendmsg: Cannot assign requested address Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: rebinding lease of 192.168.1.5 Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: acknowledged 192.168.1.5 from 192.168.1.1 `TP-LINK' Sep 21 12:30:59 localhost dhcpcd[2138]: wlp2s0: checking for 192.168.1.5 Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: sending IPv6 Router Solicitation Sep 21 12:31:03 localhost dhcpcd[2138]: wlp2s0: leased 192.168.1.5 for 259200 seconds Sep 21 12:31:07 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router Solicitation Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: sending IPv6 Router Solicitation Sep 21 12:31:11 localhost dhcpcd[2167]: wlp2s0: no IPv6 Routers available --- (2). sshd seems to start only if the wired interface is up. How do I tell it start when the wireless interface is running? box0 log # rc-status|egrep 'enp3s0|wlp2s0|sshd' net.enp3s0[ stopped ] net.wlp2s0[ started ] sshd [ stopped ] Thanks.
Re: [gentoo-user] re: emerge --depclean [gentoo-sources]
On Sat, 21 Sep 2013 13:27:28 +0300, Alexander Kapshuk wrote: > If I understood the instruction above, 'emerge --noreplace > sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to > /var/lib/portage/world_sets, which it didn't seem to do. > > box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 > !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. > !!! Please check ebuild(5) for full details. emerge --noreplace =sys-kernel/gentoo-sources-3.8.13 -- Neil Bothwick Mr. bullfrog says: "time's fun when you're having flies." signature.asc Description: PGP signature
[gentoo-user] re: emerge --depclean [gentoo-sources]
emerge --depclean wants to remove the gentoo-sources for my old kernel [sys-kernel/gentoo-sources-3.8.13] which I want to hang on to for the time being. Is there a way to instruct emerge not to remove them? emerge(1) Packages that are part of the world set will always be kept. They can be manually added to this set with emerge --noreplace . If I understood the instruction above, 'emerge --noreplace sys-kernel/gentoo-sources-3.8.13' should have added 'gentoo-sources' to /var/lib/portage/world_sets, which it didn't seem to do. box0 src # emerge --noreplace sys-kernel/gentoo-sources-3.8.13 !!! 'sys-kernel/gentoo-sources-3.8.13' is not a valid package atom. !!! Please check ebuild(5) for full details. box0=; ls -l `pwd`/world* -rw-r--r-- 1 root portage 920 Sep 20 20:45 /var/lib/portage/world -rw-r--r-- 1 root portage 0 Sep 20 20:45 /var/lib/portage/world_sets Or is it a matter of defining something like this: CONFIG_PROTECT_MASK="/usr/src/linux-3.8.13-gentoo" in /etc/portage/make.conf? Any pointers would be much appreciated.