[gentoo-user] Re: Network configuration - Two ips one from dhcp other static
On Sat 07 Jan 2012 01:27:45 PM IST, Nilesh Govindarajan wrote: Well, the title tells the question clearly; how do I configure network such that the first ip is obtained via dhcpcd and other is static? config_eth0=dhcp static doesn't work. As a solution I wrote a dhcpcd hook containing /sbin/ifconfig eth0:0 ip netmask netmask Is there a direct way? Yikes! It works now :O -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] Re: Network configuration - Two ips one from dhcp other static
On Jan 7, 2012 3:13 PM, Nilesh Govindarajan cont...@nileshgr.com wrote: On Sat 07 Jan 2012 01:27:45 PM IST, Nilesh Govindarajan wrote: Well, the title tells the question clearly; how do I configure network such that the first ip is obtained via dhcpcd and other is static? config_eth0=dhcp static doesn't work. As a solution I wrote a dhcpcd hook containing /sbin/ifconfig eth0:0 ip netmask netmask Is there a direct way? Yikes! It works now :O AFAIK dhcpcd will remove all IP addresses on an interface (i.e., all addresses listed by 'ip addr sh dev eth0') before it sets the interface's address using the values provided by the DHCP server. Thus, your configuration will work only if dhcpcd receives an address soon enough before the static address(es) gets assigned. If the dynamic address assignment is delayed, then the static addresses will be removed by dhcpcd, resulting in just one address on the interface. Of course, this is pure conjecture on my part. If there's anyone more familiar with how addresses gets assigned in Gentoo, feel free to correct me. Rgds,
Re: [gentoo-user] Re: Network configuration - Two ips one from dhcp other static
On Sat 07 Jan 2012 01:53:18 PM IST, Pandu Poluan wrote: On Jan 7, 2012 3:13 PM, Nilesh Govindarajan cont...@nileshgr.com mailto:cont...@nileshgr.com wrote: On Sat 07 Jan 2012 01:27:45 PM IST, Nilesh Govindarajan wrote: Well, the title tells the question clearly; how do I configure network such that the first ip is obtained via dhcpcd and other is static? config_eth0=dhcp static doesn't work. As a solution I wrote a dhcpcd hook containing /sbin/ifconfig eth0:0 ip netmask netmask Is there a direct way? Yikes! It works now :O AFAIK dhcpcd will remove all IP addresses on an interface (i.e., all addresses listed by 'ip addr sh dev eth0') before it sets the interface's address using the values provided by the DHCP server. Thus, your configuration will work only if dhcpcd receives an address soon enough before the static address(es) gets assigned. If the dynamic address assignment is delayed, then the static addresses will be removed by dhcpcd, resulting in just one address on the interface. Of course, this is pure conjecture on my part. If there's anyone more familiar with how addresses gets assigned in Gentoo, feel free to correct me. Rgds, The hook was working. Before I discovered it myself that using with config_eth0 it works. May be I was little sleepy or so when I tried the first time. :/ -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] No access to encfs-encrypted directory
On Saturday 07 Jan 2012 05:59:23 meino.cra...@gmx.de wrote: Hi, On a extf4 formatted partition I have two directories (beside others, non encrypted ones): .crypt crypt .crypt contains the encrypted data. I then mount the encrypted partionas as root with mount -t ecryptfs /home/user/.crypt /home/user/crypt -o ecryptfs_cipher=blowfish,ecryptfs_key_bytes=56,ecryptfs_passthrough=n,ecry ptfs_sig=,ecryptfs_fnek_sig=,ecryptfs_unlin k_sigs,key=passphrase (I blanked the sigs before posting) This worked like a charmbut... A local power fail switches my PC off while the encrypted directory was mounted. After rebooting I still was abler to execute the command given above successfully, but two diorectorie below the directory 'crypt' show like this: drwxr-xr-x 6 mccramer users 4096 2012-01-07 05:05 . drwxr-xr-x 11 mccramer users 4096 2012-01-07 06:47 .. d? ? ?? ?? .process drwxr-xr-x 2 mccramer users 4096 2008-09-07 03:41 BlenderLostAndFound drwxr-xr-x 2 mccramer users 12288 2011-10-31 04:16 NEWARCS -rw-r--r-- 1 mccramer users 0 2006-01-01 07:00 RENDER d? ? ?? ?? logdata Trying to cd into logdata or .process fail. Is there any chance to recover from this and if yes: how ??? Thank you very much for any help in advance! This looks like fs corruption. Boot a LiveCD if you need to and run fsck.ext4 -c /dev/sdX. If it comes up with errors you'll probably need to rerun fsck with additional options and hope that it fixes the corruption. You may lose some data. Good luck. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3
On 2012-01-07 02:17, Walter Dnes wrote: I think I've found one item so far that requires udev. My laptop's graphics chip needs a binary blob from radeon-ucode. That binary blob, in turn, requires the presence of /usr/lib/libudev.so.0 which is a symlink to /usr/lib/libudev.so.0.9.3 (which is also required). I can emerge udev move or copy the 2 files over to /root unmerge udev move or copy the 2 files from /root to /usr/lib/ and it still works. Note that /usr/lib/ is a symlink to /usr/lib64 on my 64-bit gentoo. Hm... I also use a radeon (w/ KMS) and needs this binary blob but I compile that into the kernel*. *Device Drivers --- Generic Driver Options --- [*] Include in-kernel firmware blobs in kernel binary If you don't have it compiled in I can see why you would need udev... Disclaimer: I assume it's not needed in my case - haven't tested though but fail to see any technical reason for calling libudev, in this case. Also, this work around... I'm not so sure it's a good solution to require a pseudo need for udev which is placed on / before mounting /usr but then again we (can) have a static /dev before {u,m}dev takes over... Best regards Peter K
[gentoo-user] gentoo-sources and xen blktap driver?
Hi, since xen got into the mainstream kernel the way to go is to use gentoo-sources for dom0 and the domUs. However the blktap modules are not there. Is there any way to get this to work? Konstantin -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185 Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
Re: [gentoo-user] gentoo-sources and xen blktap driver?
Konstantinos Agouros wrote, at 01/07/2012 03:51 PM: since xen got into the mainstream kernel the way to go is to use gentoo-sources for dom0 and the domUs. However the blktap modules are not there. Is there any way to get this to work? blktap drivers were excluded from kernel mainline since 3.x, these two threads from xen-users mailing list might put some light in that context: http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html the latest sys-kernel/xen-sources containing working blktap (not blktap2) is 2.6.38 (this is buggy from my point of view; i'm still sitting on 2.6.34-r5 for production installations) victor
[gentoo-user] Data corruption wise: Encfs or Ecryptfs ?
Hi, since I lost some data due to a local power fail on a encrypted directory I would like to ask, what kind of encrypted directory (NOT partition) on a ext4 filesystem may be easier to recover or less prone to such kind of interrupts: Exryptfs or Encfs? Are there additonal things to pay attention to for choosing 'the right' way of encryption? Thank you very much fo rany help in advance! Best regards, mcc
Re: [gentoo-user] How to get raid
What am I missing? have you set the type to linux raid autodetect? have you tried mdadm --assemble? mdadm --assemble /dev/md0 didn't make any difference. Where do I set the type? after assembling, results of cat/proc/mdstat personalities : [linear] [raid0] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] md0 : inactive sdb1[0](S) sdd1[3](S) sdc1[1](S) 4395409608 blocks super 1.2 unused devices: none results of mdadm --detail /dev/md0 mdadm: md device /dev/md0 does not appear to be active. results of /etc/init.d/mdadm status * status: started fstab line /dev/md0 /data xfs noatime 0 0 Is there a raid option I need to add to the fstab entry? Is there another service that needs to run, other than mdam? Thanks Jeff
[gentoo-user] Managing rDNS with BIND
Hello mates, I have a problem, my provider does not want to set rDNS to my IP's since I have 5 IP's rotating for my server, I don't know why. So he told me I can do this manually. So I've added this as a master zone: $ttl 38400 80.236.109.in-addr.arpa. IN SOA dominio.dominio.com. abuse.dominio.com. (notice that last digits are miss) 1325905990 10800 3600 604800 38400 ) 80.236.109.in-addr.arpa. IN NS dominio.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns1.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns2.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. But it does not reflect any change in any machine, just in the local machine I get the answer, when I try in any other machine, it still showing me the rDNS of my provider. Any help? Thanks. -- Carlos Sura.- www.carlossura.com
Re: [gentoo-user] Managing rDNS with BIND
On Saturday, January 07, 2012 at 15:45:44 UTC, carlos.su...@googlemail.com confabulated: Hello mates, I have a problem, my provider does not want to set rDNS to my IP's since I have 5 IP's rotating for my server, I don't know why. So he told me I can do this manually. So I've added this as a master zone: $ttl 38400 80.236.109.in-addr.arpa. IN SOA dominio.dominio.com. abuse.dominio.com. (notice that last digits are miss) 1325905990 10800 3600 604800 38400 ) 80.236.109.in-addr.arpa. IN NS dominio.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns1.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns2.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. But it does not reflect any change in any machine, just in the local machine I get the answer, when I try in any other machine, it still showing me the rDNS of my provider. Any help? The setting up rDNS on the one server would only be for that local server. All other servers that are not using the one local server for DNS resolution would look to your provider. You would either have to 1) get your provider to delegate rDNS to you, 2) duplicate the rDNS setup on the additional servers, or 3) point DNS (resolv.conf) to the one server that is working locally. Without your provider delegating rDNS to you, the rest of the world would still be looking to your provider for rDNS, regardless. -- If at first you don't succeed... ...so much for skydiving.
Re: [gentoo-user] Managing rDNS with BIND
On 7 January 2012 10:08, Duane Hill duih...@gmail.com wrote: On Saturday, January 07, 2012 at 15:45:44 UTC, carlos.sura1@googlemail.comconfabulated: Hello mates, I have a problem, my provider does not want to set rDNS to my IP's since I have 5 IP's rotating for my server, I don't know why. So he told me I can do this manually. So I've added this as a master zone: $ttl 38400 80.236.109.in-addr.arpa. IN SOA dominio.dominio.com. abuse.dominio.com. (notice that last digits are miss) 1325905990 10800 3600 604800 38400 ) 80.236.109.in-addr.arpa. IN NS dominio.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns1.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns2.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. But it does not reflect any change in any machine, just in the local machine I get the answer, when I try in any other machine, it still showing me the rDNS of my provider. Any help? The setting up rDNS on the one server would only be for that local server. All other servers that are not using the one local server for DNS resolution would look to your provider. You would either have to 1) get your provider to delegate rDNS to you, 2) duplicate the rDNS setup on the additional servers, or 3) point DNS (resolv.conf) to the one server that is working locally. Without your provider delegating rDNS to you, the rest of the world would still be looking to your provider for rDNS, regardless. -- If at first you don't succeed... ...so much for skydiving. Hello Duane, Thank your for answer. I just have one question: What you mean that my provider has to delegate rDNS to me? I have the resolv.conf with my own nameservers. Locally it shows as I want, but not on the Internet. What would I need to ask to my provider? Thanks! -- Carlos Sura.- www.carlossura.com
Re: [gentoo-user] Managing rDNS with BIND
On Saturday, January 07, 2012 at 16:15:47 UTC, carlos.su...@googlemail.com confabulated: On 7 January 2012 10:08, Duane Hill duih...@gmail.com wrote: On Saturday, January 07, 2012 at 15:45:44 UTC, carlos.sura1@googlemail.comconfabulated: Hello mates, I have a problem, my provider does not want to set rDNS to my IP's since I have 5 IP's rotating for my server, I don't know why. So he told me I can do this manually. So I've added this as a master zone: $ttl 38400 80.236.109.in-addr.arpa. IN SOA dominio.dominio.com. abuse.dominio.com. (notice that last digits are miss) 1325905990 10800 3600 604800 38400 ) 80.236.109.in-addr.arpa. IN NS dominio.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns1.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns2.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. But it does not reflect any change in any machine, just in the local machine I get the answer, when I try in any other machine, it still showing me the rDNS of my provider. Any help? The setting up rDNS on the one server would only be for that local server. All other servers that are not using the one local server for DNS resolution would look to your provider. You would either have to 1) get your provider to delegate rDNS to you, 2) duplicate the rDNS setup on the additional servers, or 3) point DNS (resolv.conf) to the one server that is working locally. Without your provider delegating rDNS to you, the rest of the world would still be looking to your provider for rDNS, regardless. -- If at first you don't succeed... ...so much for skydiving. Hello Duane, Thank your for answer. I just have one question: What you mean that my provider has to delegate rDNS to me? I have the resolv.conf with my own nameservers. Locally it shows as I want, but not on the Internet. What would I need to ask to my provider? Thanks! You would have to find out if your provider would delegate rDNS for the IP address range to you. You would have to provide them with the name server IP addresses that would be serving rDNS. I can only assume if they will not set up the rDNS for you, they may not delegate rDNS either. If you are trying to set up an email server and your provider will not delegate or set up the rDNS, just set up your email server to relay outbound messages through your provider. That is exactly what I am doing here and have been for 5+ years without any issues. -- If at first you don't succeed... ...so much for skydiving.
Re: [gentoo-user] Managing rDNS with BIND
Thank your for answer. I just have one question: What you mean that my provider has to delegate rDNS to me? I have the resolv.conf with my own nameservers. Locally it shows as I want, but not on the Internet. What would I need to ask to my provider? You have to set the rdns entries on the 'authoritative name server' of your domain (it's the nameserver that manages your domain).
Re: [gentoo-user] gentoo-sources and xen blktap driver?
On Jan 7, 2012 8:44 PM, victor romanchuk r...@persimplex.net wrote: Konstantinos Agouros wrote, at 01/07/2012 03:51 PM: since xen got into the mainstream kernel the way to go is to use gentoo-sources for dom0 and the domUs. However the blktap modules are not there. Is there any way to get this to work? blktap drivers were excluded from kernel mainline since 3.x, these two threads from xen-users mailing list might put some light in that context: http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html the latest sys-kernel/xen-sources containing working blktap (not blktap2) is 2.6.38 (this is buggy from my point of view; i'm still sitting on 2.6.34-r5 for production installations) Can someone shed a light on the importance of blktap, i.e., why one would want to use it when -- as someone explained in the first email thread you gave -- blkfront+blkend is enough for paravirtualization? Rgds,
Re: [gentoo-user] Managing rDNS with BIND
On 7 January 2012 10:28, Duane Hill duih...@gmail.com wrote: On Saturday, January 07, 2012 at 16:15:47 UTC, carlos.sura1@googlemail.comconfabulated: On 7 January 2012 10:08, Duane Hill duih...@gmail.com wrote: On Saturday, January 07, 2012 at 15:45:44 UTC, carlos.sura1@googlemail.comconfabulated: Hello mates, I have a problem, my provider does not want to set rDNS to my IP's since I have 5 IP's rotating for my server, I don't know why. So he told me I can do this manually. So I've added this as a master zone: $ttl 38400 80.236.109.in-addr.arpa. IN SOA dominio.dominio.com. abuse.dominio.com. (notice that last digits are miss) 1325905990 10800 3600 604800 38400 ) 80.236.109.in-addr.arpa. IN NS dominio.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns1.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR ns2.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR dominio.com. xx.xx.xxx.xxx.in-addr.arpa. IN PTR mail.dominio.com. But it does not reflect any change in any machine, just in the local machine I get the answer, when I try in any other machine, it still showing me the rDNS of my provider. Any help? The setting up rDNS on the one server would only be for that local server. All other servers that are not using the one local server for DNS resolution would look to your provider. You would either have to 1) get your provider to delegate rDNS to you, 2) duplicate the rDNS setup on the additional servers, or 3) point DNS (resolv.conf) to the one server that is working locally. Without your provider delegating rDNS to you, the rest of the world would still be looking to your provider for rDNS, regardless. -- If at first you don't succeed... ...so much for skydiving. Hello Duane, Thank your for answer. I just have one question: What you mean that my provider has to delegate rDNS to me? I have the resolv.conf with my own nameservers. Locally it shows as I want, but not on the Internet. What would I need to ask to my provider? Thanks! You would have to find out if your provider would delegate rDNS for the IP address range to you. You would have to provide them with the name server IP addresses that would be serving rDNS. I can only assume if they will not set up the rDNS for you, they may not delegate rDNS either. If you are trying to set up an email server and your provider will not delegate or set up the rDNS, just set up your email server to relay outbound messages through your provider. That is exactly what I am doing here and have been for 5+ years without any issues. -- If at first you don't succeed... ...so much for skydiving. This is quite interesting. Yes, what I'm trying to set up is a email server. But I'm not sure how to set that configuration, can you send me a link or resource? because I'm having emails issue because rDNS. In any case, I will do a research. Thanks. -- Carlos Sura.- www.carlossura.com
Re: [gentoo-user] Managing rDNS with BIND
On 7 January 2012 10:30, Michael Hampicke gentoo-u...@hadt.biz wrote: Thank your for answer. I just have one question: What you mean that my provider has to delegate rDNS to me? I have the resolv.conf with my own nameservers. Locally it shows as I want, but not on the Internet. What would I need to ask to my provider? You have to set the rdns entries on the 'authoritative name server' of your domain (it's the nameserver that manages your domain). Well, I think I did, but it only works or shows that it's working on the same machine. In any other machine, rDNS not working it shows my provider's configuration. -- Carlos Sura.- www.carlossura.com
Re: [gentoo-user] Managing rDNS with BIND
On Saturday, January 07, 2012 at 16:30:47 UTC, gentoo-u...@hadt.biz confabulated: Thank your for answer. I just have one question: What you mean that my provider has to delegate rDNS to me? I have the resolv.conf with my own nameservers. Locally it shows as I want, but not on the Internet. What would I need to ask to my provider? You have to set the rdns entries on the 'authoritative name server' of your domain (it's the nameserver that manages your domain). Not necessarily. The two are completely separate zone files. Having authority to provide DNS for a domain name to the Internet just sets up the forward lookup (not the reverse IP). For reverse DNS you either 1) have to have been directly allocated the IP space, 2) been delegated rDNS from the upstream IP provider, or 3) have the upstream IP provider set up the rDNS for you. -- If at first you don't succeed... ...so much for skydiving.
Re: [gentoo-user] How to get raid
On Sat, 2012-01-07 at 10:11 -0500, Jeff Cranmer wrote: What am I missing? have you set the type to linux raid autodetect? have you tried mdadm --assemble? mdadm --assemble /dev/md0 didn't make any difference. Where do I set the type? after assembling, results of cat/proc/mdstat personalities : [linear] [raid0] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] md0 : inactive sdb1[0](S) sdd1[3](S) sdc1[1](S) 4395409608 blocks super 1.2 unused devices: none results of mdadm --detail /dev/md0 mdadm: md device /dev/md0 does not appear to be active. results of /etc/init.d/mdadm status * status: started fstab line /dev/md0 /data xfs noatime 0 0 Is there a raid option I need to add to the fstab entry? Is there another service that needs to run, other than mdam? Thanks Jeff I tried changing the type of each array element in fdisk to fd (linux raid autodetect. The array is still not being recognised at boot, with the same 'cannot read superblock' error. I also tried re-running mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1 I get the error mdadm: device /dev/sdb1 not suitable for any style of array. What is going on here?
Re: [gentoo-user] gentoo-sources and xen blktap driver?
On Sat, Jan 7, 2012 at 11:35 AM, Pandu Poluan pa...@poluan.info wrote: On Jan 7, 2012 8:44 PM, victor romanchuk r...@persimplex.net wrote: Konstantinos Agouros wrote, at 01/07/2012 03:51 PM: since xen got into the mainstream kernel the way to go is to use gentoo-sources for dom0 and the domUs. However the blktap modules are not there. Is there any way to get this to work? blktap drivers were excluded from kernel mainline since 3.x, these two threads from xen-users mailing list might put some light in that context: http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html the latest sys-kernel/xen-sources containing working blktap (not blktap2) is 2.6.38 (this is buggy from my point of view; i'm still sitting on 2.6.34-r5 for production installations) Can someone shed a light on the importance of blktap, i.e., why one would want to use it when -- as someone explained in the first email thread you gave -- blkfront+blkend is enough for paravirtualization? Reading through the linked threads, it sounds like the benefit stems from being able to shim things in between the front and back ends. You might want that for any number of reasons: * a block encryption layer * a metering layer * a read/write masking layer * an intercept to have the block device exist on (or be mirrored to) on another system. etc. -- :wq
Re: [gentoo-user] How to get raid
Am Samstag, 7. Januar 2012, 12:20:08 schrieb Jeff Cranmer: On Sat, 2012-01-07 at 10:11 -0500, Jeff Cranmer wrote: What am I missing? have you set the type to linux raid autodetect? have you tried mdadm --assemble? mdadm --assemble /dev/md0 didn't make any difference. Where do I set the type? after assembling, results of cat/proc/mdstat personalities : [linear] [raid0] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty] md0 : inactive sdb1[0](S) sdd1[3](S) sdc1[1](S) 4395409608 blocks super 1.2 unused devices: none results of mdadm --detail /dev/md0 mdadm: md device /dev/md0 does not appear to be active. results of /etc/init.d/mdadm status * status: started fstab line /dev/md0 /data xfs noatime 0 0 Is there a raid option I need to add to the fstab entry? Is there another service that needs to run, other than mdam? Thanks Jeff I tried changing the type of each array element in fdisk to fd (linux raid autodetect. The array is still not being recognised at boot, with the same 'cannot read superblock' error. I also tried re-running mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1 I get the error mdadm: device /dev/sdb1 not suitable for any style of array. What is going on here? I am thinking ;) -- #163933
[gentoo-user] Anyone that use OVH here ?
Hello I'm a bit in trouble with the OVH version 2 of gentoo If anyone use it here I would be grateful to talk with Thanks
Re: [gentoo-user] black console w/ 3.2.0-rc7
Am 2012-01-06 20:53, schrieb Johannes Kimmel: try to disable intel hardware iommu, if you have it selected. Unfortunately no: # grep -i iomm .config # CONFIG_CALGARY_IOMMU is not set CONFIG_IOMMU_HELPER=y CONFIG_IOMMU_SUPPORT=y # CONFIG_AMD_IOMMU is not set # CONFIG_INTEL_IOMMU is not set # CONFIG_IOMMU_STRESS is not set Thanks for your suggestion, Stefan
Re: [gentoo-user] Anyone that use OVH here ?
Hi, I used OVH release 2. Maybe I could help you. Regards 2012/1/7 Frank Bonnet f.bon...@esiee.fr Hello I'm a bit in trouble with the OVH version 2 of gentoo If anyone use it here I would be grateful to talk with Thanks
Re: [gentoo-user] How to get raid
I tried changing the type of each array element in fdisk to fd (linux raid autodetect. The array is still not being recognised at boot, with the same 'cannot read superblock' error. I also tried re-running mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1 I get the error mdadm: device /dev/sdb1 not suitable for any style of array. What is going on here? I am thinking ;) LOL! Me too. mdadm --detail /dev/md0 thinks that /dev/sdc1 is faulty. I'm not sure whether it's really faulty, or just that my setup for RAID is screwed up. How do I get rid of an existing /dev/md0? I'm thinking that I can try creating a RAID1 array using the two allegedly good disks and see if I can make that work. If that works, I'll get rid of it and try recreating the RAID1 with one good disk and the one that mdadm thinks is faulty. Hopefully that will show me whether I have a hardware problem or a software one. Jeff
Re: [gentoo-user] How to get raid
Am Samstag, 7. Januar 2012, 13:27:04 schrieb Jeff Cranmer: I tried changing the type of each array element in fdisk to fd (linux raid autodetect. The array is still not being recognised at boot, with the same 'cannot read superblock' error. I also tried re-running mdadm --create /dev/md0 --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1 I get the error mdadm: device /dev/sdb1 not suitable for any style of array. What is going on here? I am thinking ;) LOL! Me too. mdadm --detail /dev/md0 thinks that /dev/sdc1 is faulty. I'm not sure whether it's really faulty, or just that my setup for RAID is screwed up. How do I get rid of an existing /dev/md0? you stop it. Override the superblock with dd.. and lose all data on the disks. I'm thinking that I can try creating a RAID1 array using the two allegedly good disks and see if I can make that work. yeah If that works, I'll get rid of it and try recreating the RAID1 with one good disk and the one that mdadm thinks is faulty. you don't have to. You can migrate a 2 disk raid1 to a 3 disk raid5. Howtos are availble via google. just saying - box in suspend to ram. I change the cable (and connector on mobo) on a disk with two raid 1 partitions on it. One came back after starting the box. The other? Nothing I tried worked. At the end I dd'ed the partition.. and did a complete 'faulty disk/replacement' resync argl. -- #163933
[gentoo-user] XFCE4 keyboard shortcuts not working
I have the following (default) keyboard shortcuts in xfce4: XF86Display Superp ControlEscape ControlAltDelete AltF2 AltF2 works, but ControlEscape and ControlAltDelete don't work. I don't know what keys correspond to XF86Display and Superp so I haven't tested those. The commands associated with the two shortcuts that don't work do execute successfully so I'm not sure what the problem is. Does anyone know how to fix this? - Grant
Re: [gentoo-user] How to get raid
How do I get rid of an existing /dev/md0? you stop it. Override the superblock with dd.. and lose all data on the disks. I'm thinking that I can try creating a RAID1 array using the two allegedly good disks and see if I can make that work. yeah If that works, I'll get rid of it and try recreating the RAID1 with one good disk and the one that mdadm thinks is faulty. you don't have to. You can migrate a 2 disk raid1 to a 3 disk raid5. Howtos are availble via google. just saying - box in suspend to ram. I change the cable (and connector on mobo) on a disk with two raid 1 partitions on it. One came back after starting the box. The other? Nothing I tried worked. At the end I dd'ed the partition.. and did a complete 'faulty disk/replacement' resync argl. You're assuming I have more knowledge that I do. Can you explain the steps more in layman's terms. I've never used dd before. Jeff
Re: [gentoo-user] gentoo-sources and xen blktap driver?
On Jan 8, 2012 12:43 AM, Michael Mol mike...@gmail.com wrote: On Sat, Jan 7, 2012 at 11:35 AM, Pandu Poluan pa...@poluan.info wrote: On Jan 7, 2012 8:44 PM, victor romanchuk r...@persimplex.net wrote: Konstantinos Agouros wrote, at 01/07/2012 03:51 PM: since xen got into the mainstream kernel the way to go is to use gentoo-sources for dom0 and the domUs. However the blktap modules are not there. Is there any way to get this to work? blktap drivers were excluded from kernel mainline since 3.x, these two threads from xen-users mailing list might put some light in that context: http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html the latest sys-kernel/xen-sources containing working blktap (not blktap2) is 2.6.38 (this is buggy from my point of view; i'm still sitting on 2.6.34-r5 for production installations) Can someone shed a light on the importance of blktap, i.e., why one would want to use it when -- as someone explained in the first email thread you gave -- blkfront+blkend is enough for paravirtualization? Reading through the linked threads, it sounds like the benefit stems from being able to shim things in between the front and back ends. You might want that for any number of reasons: * a block encryption layer * a metering layer * a read/write masking layer * an intercept to have the block device exist on (or be mirrored to) on another system. etc. Ah yes, of course. One of the threads also mentioned that blktap might be better implemented in userspace. Rgds,
Re: [gentoo-user] gentoo-sources and xen blktap driver?
On Sat, Jan 7, 2012 at 7:36 PM, Pandu Poluan pa...@poluan.info wrote: On Jan 8, 2012 12:43 AM, Michael Mol mike...@gmail.com wrote: On Sat, Jan 7, 2012 at 11:35 AM, Pandu Poluan pa...@poluan.info wrote: On Jan 7, 2012 8:44 PM, victor romanchuk r...@persimplex.net wrote: Konstantinos Agouros wrote, at 01/07/2012 03:51 PM: since xen got into the mainstream kernel the way to go is to use gentoo-sources for dom0 and the domUs. However the blktap modules are not there. Is there any way to get this to work? blktap drivers were excluded from kernel mainline since 3.x, these two threads from xen-users mailing list might put some light in that context: http://old-list-archives.xen.org/archives/html/xen-users/2011-07/msg00637.html http://old-list-archives.xen.org/archives/html/xen-users/2011-10/msg00065.html the latest sys-kernel/xen-sources containing working blktap (not blktap2) is 2.6.38 (this is buggy from my point of view; i'm still sitting on 2.6.34-r5 for production installations) Can someone shed a light on the importance of blktap, i.e., why one would want to use it when -- as someone explained in the first email thread you gave -- blkfront+blkend is enough for paravirtualization? Reading through the linked threads, it sounds like the benefit stems from being able to shim things in between the front and back ends. You might want that for any number of reasons: * a block encryption layer * a metering layer * a read/write masking layer * an intercept to have the block device exist on (or be mirrored to) on another system. etc. Ah yes, of course. One of the threads also mentioned that blktap might be better implemented in userspace. Well, there's that, too. For a while, there's been a long push in Linux to get anything that could remotely reasonably be done in userspace out of kernelspace. -- :wq
Re: [gentoo-user] openrc 0.9.4 : opaque warnings
30 Mick wrote: On Tuesday 29 Nov 2011 11:41:57 Philip Webb wrote: A further question: since I had previously updated /etc/conf.d/net , I was given a router by my ISP therefore started to use DHCP. The new net.example file suggests I might make further changes in 'net' simplify my configuration files. What I have now in 'net' is : # For a static configuration use eg : config_eth0=192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 # You need to create the PPP net script yourself: # do it via 'cd /etc/init.d ; ln -s net.lo net.ppp0' # We have to instruct ppp0 to actually use ppp # Each PPP interface requires an interface to use as a Link link_ppp0=eth0 # PPPoE requires an ethernet interface config_ppp0=ppp # Specify what pppd plugins you want to use: available are: # pppoe, pppoa, capi, dhcpc, minconn, radius, radattr, radrealms, winbind plugins_ppp0=pppoe # PPP requires at least a username. # It will use the password specified in /etc/ppp/*-secrets username_ppp0='@***' #pppd_ppp0=( debug updetach noauth defaultroute usepeerdns persist ) pppd_ppp0=( updetach defaultroute ) why do you need PPP, unless this is a router that also authenticates into your ISP's adsl radius server? your new router does this now. Don't need these at all. Thanks! I finally got around to testing leaving that stuff out you are quite correct: there's no need for any of it nor for the symlink 'net.ppp0' in /etc/init.d . -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
[gentoo-user] Linux Kernel 3.2.0 USB Mouse
Hi all, I'm trying to upgrade the kernel on my desktop from 3.1.6 to 3.2.0(-r1). Unfortunately, my Logitech USB trackball does not work in 3.2.0. It is listed in the lsusb output so it is being recognized but neither GPM nor X responds to it. I have tried to make sure that the .config files are as identical as possible. The differences that I see do not seem relevant to my problem. Any ideas? Cheers, Hilco
Re: [gentoo-user] [SOLVED] Init Scripts Not Starting
Alright, so... I haven't mentioned it up until now because I didn't feel it would have any bearing on the problem, but the installation in question is a VirtualBox guest operating system running on a Windows host. Since I didn't have any particular attachment to the installation, I decided to fdisk and start from scratch. I did this and got the barest most basic Gentoo installation up and running. After I had done this, I realized that I had forgotten to add net.eth0 to default. I did so, rebooted, and sure enough, net.eth0 did not start. I then went and meditated under a tree for a while, because it seemed the world had finally turned its back on me. After this, I said 'what the hell' and tried out a few things. One of the things I tried was to rebuild openrc. For whatever reason, this worked. I'm going to try this on another installation of VirtualBox on another machine and try to reproduce it, but I'm still a little in the dark. This installation was built using the latest minimal install iso, latest stage3 and latest portage snapshot.