Re: [gentoo-user] ethernet dont use kernel module
Sorry, bad paste. I still don't recognize the error. What does lsmod | grep "816[89]" says? > > It says: [0.190299] pci :03:00.0: [10ec:8168] type 00 class 0x02 [0.816810] sd 0:0:0:0: [sda] 4096-byte physical blocks ^ I'm writing this by hand because I cant connect to lan. I need to boot from usb each time I want upload to bpaste lol. The first time I discarded the last line because the matching was a time label.
Re: [gentoo-user] ethernet dont use kernel module
2014-03-09 3:59 GMT-03:00 Canek Peláez Valdés : > On Sun, Mar 9, 2014 at 12:39 AM, Facundo Curti > wrote: > > [snip] > > > After install firmware, now I can see on my lspci -v > > > > http://bpaste.net/show/186693 > > Well, that's progress, I suppose. > > > > So, how you can see, now I have a kernel module. But I still cannot see > a eth0 device :/ > > If you are using systemd (and by your logs, I see you do), you will not > have an eth0 device. You will have something like enp3s2 or similar, unless > you used net.ifnames=0 in your kernel command line, or you followed the > steps from [1] to disable the predictable network interface names. > > Yes, Im using systemd. Also I have a UEFI motherboard and a SDD disk. > > > at first I througth it could be a misconfig, but: > > > > ifconfig -a: http://bpaste.net/show/186691/ > > I don't think that's the output from ifconfig. Could you please post it? > > lol. Im sorry. Bad paste jaja. http://bpaste.net/show/186692/ I just have loopback interface :P > > dmesg | grep 8168: > > > > [0.190299] pci :03:00.0: [10ec:8168] type 00 class 0x02 > > > > Any way modprobe r8168 still not work :/ > > I still don't recognize the error. What does lsmod | grep "816[89]" says? > > It says: [0.190299] pci :03:00.0: [10ec:8168] type 00 class 0x02 [0.818610] sd 0:0:0:0: [sda] 4096-byte physical blocks > Regards. > > [1] > http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ > > -- > Canek Peláez Valdés > Posgrado en Ciencia e Ingeniería de la Computación > Universidad Nacional Autónoma de México >
Re: [gentoo-user] ethernet dont use kernel module
On Sun, Mar 9, 2014 at 12:39 AM, Facundo Curti wrote: [snip] > After install firmware, now I can see on my lspci -v > > http://bpaste.net/show/186693 Well, that's progress, I suppose. > So, how you can see, now I have a kernel module. But I still cannot see a eth0 device :/ If you are using systemd (and by your logs, I see you do), you will not have an eth0 device. You will have something like enp3s2 or similar, unless you used net.ifnames=0 in your kernel command line, or you followed the steps from [1] to disable the predictable network interface names. > at first I througth it could be a misconfig, but: > > ifconfig -a: http://bpaste.net/show/186691/ I don't think that's the output from ifconfig. Could you please post it? > dmesg | grep 8168: > > [0.190299] pci :03:00.0: [10ec:8168] type 00 class 0x02 > > Any way modprobe r8168 still not work :/ I still don't recognize the error. What does lsmod | grep "816[89]" says? Regards. [1] http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] ethernet dont use kernel module
2014-03-09 3:25 GMT-03:00 Dale : > Facundo Curti wrote: > > But now I have the problem, when I do modprobe r8168 it says: > > > > Error: Could not insert 'r8168': Function not implemented > > Typo maybe? It should be r8169. > > Dale > > :-) :-) > > -- > I am only responsible for what I said ... Not for what you understood or > how you interpreted my words! > > > No, sorry. Was a mistake in the first place. The name of the module is r8168 :P 2014-03-09 3:12 GMT-03:00 Canek Peláez Valdés : > On Sun, Mar 9, 2014 at 12:08 AM, Facundo Curti > wrote: > [snip] > > Sorry about top posting, My bad. Gmail jaja. I need to find a email > client > > :P > > No prob. > > > Thank you for help. I'm trying to install firmware as you sugest. But > now I > > have the problem, when I do modprobe r8168 it says: > > > > Error: Could not insert 'r8168': Function not implemented > > If I'm reading your kernel config correctly, you cannot modprobe > r8168; you have it compiled in the kernel. If you set it up as a > module (CONFIG_R8169=m), then I don't understand the "Function not > implemented" message. > > Regards. > -- > Canek Peláez Valdés > Posgrado en Ciencia e Ingeniería de la Computación > Universidad Nacional Autónoma de México > > After install firmware, now I can see on my lspci -v http://bpaste.net/show/186693 So, how you can see, now I have a kernel module. But I still cannot see a eth0 device :/ at first I througth it could be a misconfig, but: ifconfig -a: http://bpaste.net/show/186691/ dmesg | grep 8168: [0.190299] pci :03:00.0: [10ec:8168] type 00 class 0x02 Any way modprobe r8168 still not work :/ Thank you! :)
Re: [gentoo-user] ethernet dont use kernel module
Facundo Curti wrote: > But now I have the problem, when I do modprobe r8168 it says: > > Error: Could not insert 'r8168': Function not implemented Typo maybe? It should be r8169. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] ethernet dont use kernel module
On Sun, Mar 9, 2014 at 12:08 AM, Facundo Curti wrote: [snip] > Sorry about top posting, My bad. Gmail jaja. I need to find a email client > :P No prob. > Thank you for help. I'm trying to install firmware as you sugest. But now I > have the problem, when I do modprobe r8168 it says: > > Error: Could not insert 'r8168': Function not implemented If I'm reading your kernel config correctly, you cannot modprobe r8168; you have it compiled in the kernel. If you set it up as a module (CONFIG_R8169=m), then I don't understand the "Function not implemented" message. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] ethernet dont use kernel module
2014-03-09 1:50 GMT-03:00 Canek Peláez Valdés : > On Sat, Mar 8, 2014 at 10:28 PM, Facundo Curti > wrote: > > This dont show anything ._. > > > > Here my dmseg complete: bpaste.net/show/186667 > > > > And my .config from kernel: http://bpaste.net/show/186668 > > Please don't top-post. > > You have the module compiled in the kernel. That should not be a > problem, but perhaps for debugging having it as a module would help > (to see what happens when you rmmod and modprobe it). > > From the kernel source code, it seems that the module requires some > firmware. Do you have linux-firmware installed? If not, install it and > see if now gets recognized. > > From the logs, the only acknowledgement of your network card I see are > the following lines: > > [0.191153] pci :03:00.0: [10ec:8168] type 00 class 0x02 > [0.191167] pci :03:00.0: reg 10: [io 0xe000-0xe0ff] > [0.191193] pci :03:00.0: reg 18: [mem 0xf0004000-0xf0004fff 64bit > pref] > [0.191211] pci :03:00.0: reg 20: [mem 0xf000-0xf0003fff 64bit > pref] > [0.191279] pci :03:00.0: supports D1 D2 > [0.191280] pci :03:00.0: PME# supported from D0 D1 D2 D3hot D3cold > [0.191305] pci :03:00.0: System wakeup disabled by ACPI > > That is weird, if it's a firmware problem, it should complain about it > in the logs. > > From your system, what does lspci says? > > Regards. > -- > Canek Peláez Valdés > Posgrado en Ciencia e Ingeniería de la Computación > Universidad Nacional Autónoma de México > > Sorry about top posting, My bad. Gmail jaja. I need to find a email client :P Thank you for help. I'm trying to install firmware as you sugest. But now I have the problem, when I do modprobe r8168 it says: Error: Could not insert 'r8168': Function not implemented
Re: [gentoo-user] ethernet dont use kernel module
On Sat, Mar 8, 2014 at 10:28 PM, Facundo Curti wrote: > This dont show anything ._. > > Here my dmseg complete: bpaste.net/show/186667 > > And my .config from kernel: http://bpaste.net/show/186668 Please don't top-post. You have the module compiled in the kernel. That should not be a problem, but perhaps for debugging having it as a module would help (to see what happens when you rmmod and modprobe it). >From the kernel source code, it seems that the module requires some firmware. Do you have linux-firmware installed? If not, install it and see if now gets recognized. >From the logs, the only acknowledgement of your network card I see are the following lines: [0.191153] pci :03:00.0: [10ec:8168] type 00 class 0x02 [0.191167] pci :03:00.0: reg 10: [io 0xe000-0xe0ff] [0.191193] pci :03:00.0: reg 18: [mem 0xf0004000-0xf0004fff 64bit pref] [0.191211] pci :03:00.0: reg 20: [mem 0xf000-0xf0003fff 64bit pref] [0.191279] pci :03:00.0: supports D1 D2 [0.191280] pci :03:00.0: PME# supported from D0 D1 D2 D3hot D3cold [0.191305] pci :03:00.0: System wakeup disabled by ACPI That is weird, if it's a firmware problem, it should complain about it in the logs. >From your system, what does lspci says? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] ethernet dont use kernel module
This dont show anything ._. Here my dmseg complete: bpaste.net/show/186667 And my .config from kernel: http://bpaste.net/show/186668 2014-03-08 21:53 GMT-03:00 Canek Peláez Valdés : > On Sat, Mar 8, 2014 at 6:12 PM, Facundo Curti > wrote: > > Hi all. I'm again :P (I'm becoming an annoying). > > > > I have a realtek 8111F ethernet. > > > > I boot from a live-usb, make an lspci -v and says ethernet uses r8169 > > module. > > > > I compiled my kernel with this module, and when I start the system eth0 > does > > not exist (Just lo), and a lspci -v says anything about modules. > > > > Also I tried doing modprobe r8169 with no errors, but I still with out > eth0. > > > > So, any ideas why it is happening? :/ > > > > As always.. I hope make me understand, my english is no too good > > > > Thank you list! Bytes! ;) > > In your system (booting directly, not with LiveCD), do: > > dmesg | grep -i 8169 > > I'm pretty sure you will need some kind of firmware for your card. The > logs in dmesg will tell. > > Regards. > -- > Canek Peláez Valdés > Posgrado en Ciencia e Ingeniería de la Computación > Universidad Nacional Autónoma de México > >
Re: [gentoo-user] [OT] LiveCDs for Uni students
On 03/09/2014 04:39 AM, Volker Armin Hemmann wrote: > Am 08.03.2014 02:57, schrieb Andrew Lowe: >> On 8/03/2014 9:01 AM, Volker Armin Hemmann wrote: >>> Am 08.03.2014 01:54, schrieb Andrew Lowe: Hi all, I'm doing some research on the topic of LiveCD's and was after any input the list may have. >> [snip] >> ... >> ... >> ... >> [snip] Any thoughts are greatly appreciated. Andrew >>> systemrescuecd? >>> >> "Too complicated". What I mean by this is that the user upon >> booting has options!!! Do you kick into a graphical environment, do >> you copy everything to memory, do you. you get the idea. The >> problem is that these are first year students in a common first year, >> they have not yet decided upon their stream, could be Civil, Chem, >> Mech etc and don't see any benefit in doing programming but have to >> pass the subject. >> >> My "requirement" is that it boots into a GUI, preferably straight >> into the environment, no username/password, has dhcp, a decent editor, >> a browser and gcc or clang. >> >> Andrew >> >> . >> > > they are students. They should have brains and at least average > intelligence. 'choose option two from the boot menu' should not overcook > their neurons. > Volker, Whilst I totally agree with your sentiment, it's obvious you've not taught any 1st year, Australian, Uni students lately. After 10 minutes of explaining mv and cp, "You have a source, that's the first parameter, and a destination, that's the second parameter", they still manage to get it wrong, usually because someone updated something on Facebook 3 minutes into the explanation, and they got distracted by it... Yes, I do feel old. Andrew
Re: [gentoo-user] ethernet dont use kernel module
On Sat, Mar 8, 2014 at 6:12 PM, Facundo Curti wrote: > Hi all. I'm again :P (I'm becoming an annoying). > > I have a realtek 8111F ethernet. > > I boot from a live-usb, make an lspci -v and says ethernet uses r8169 > module. > > I compiled my kernel with this module, and when I start the system eth0 does > not exist (Just lo), and a lspci -v says anything about modules. > > Also I tried doing modprobe r8169 with no errors, but I still with out eth0. > > So, any ideas why it is happening? :/ > > As always.. I hope make me understand, my english is no too good > > Thank you list! Bytes! ;) In your system (booting directly, not with LiveCD), do: dmesg | grep -i 8169 I'm pretty sure you will need some kind of firmware for your card. The logs in dmesg will tell. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
[gentoo-user] ethernet dont use kernel module
Hi all. I'm again :P (I'm becoming an annoying). I have a realtek 8111F ethernet. I boot from a live-usb, make an lspci -v and says ethernet uses r8169 module. I compiled my kernel with this module, and when I start the system eth0 does not exist (Just lo), and a lspci -v says anything about modules. Also I tried doing modprobe r8169 with no errors, but I still with out eth0. So, any ideas why it is happening? :/ As always.. I hope make me understand, my english is no too good Thank you list! Bytes! ;)
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
2014-03-08 6:46 GMT-03:00 Pavel Volkov : > On Saturday 08 March 2014 06:25:32 Facundo Curti wrote: > > So, I try to do the same, but in chroot. > > I mount everything (Including proc and sys), and: > >chroot /mnt/gentoo /bin/bash > >grub2-install --target x86_64-efi /dev/sdb //Without > > target gives another error > > > > And grub2-install says: > >Fatal: Couldn't open either sysfs or procfs directories for > > accesing EFI variables. > >Try `modprobe efivars` as root. > > (Same than before) > > > > I was searching on google and I find various similar topics [1]. It > > recomend to mount proc and sys, but I already do thath... (unless I do > that > > wrong) > > > > Somes ideas? :/ > > Is there any content in ls /sys/firmware/efi/vars/ directory? > > If not, are you sure you boot sysrescuecd in EFI mode? > It can boot in both EFI and legacy mode. > Check your boot menu again. > Finally!!! I on gentoo with out usb! jaja I just needed make some changes on BIOS, I was using a dual UEFI and Legacy (UEFI first) (Thank you Pavel): https://www.dropbox.com/s/rj9ul87kptzglrt/20140308_065958.jpg Thank you all for the help!! I spent all the night trying to fix that ._. I fell sleep on 7:40 am lol (I also had problems booting with rescue cd, with systemd, and a missconfig from fstab >.< lol). Thank you once more! Bytes! ;)
Re: [gentoo-user] [OT] LiveCDs for Uni students
Am 08.03.2014 02:57, schrieb Andrew Lowe: > On 8/03/2014 9:01 AM, Volker Armin Hemmann wrote: >> Am 08.03.2014 01:54, schrieb Andrew Lowe: >>> Hi all, I'm doing some research on the topic of LiveCD's and was >>> after any input the list may have. > [snip] > ... > ... > ... > [snip] >>> >>> Any thoughts are greatly appreciated. >>> >>> Andrew >>> >>> >> systemrescuecd? >> > "Too complicated". What I mean by this is that the user upon > booting has options!!! Do you kick into a graphical environment, do > you copy everything to memory, do you. you get the idea. The > problem is that these are first year students in a common first year, > they have not yet decided upon their stream, could be Civil, Chem, > Mech etc and don't see any benefit in doing programming but have to > pass the subject. > > My "requirement" is that it boots into a GUI, preferably straight > into the environment, no username/password, has dhcp, a decent editor, > a browser and gcc or clang. > > Andrew > > . > they are students. They should have brains and at least average intelligence. 'choose option two from the boot menu' should not overcook their neurons.
[gentoo-user] Re: [OT] LENOVO Z510 + Dual Boot + Gentoo == True ?
On Sat, 08 Mar 2014 08:23:21 +0100 Dan Johansson wrote: > I am considering buying a new Notebook and found that a "LENOVO > IdeaPad Z510" would fit into my budget and seems quite OK. > Does anyone here on the list have any experience with the Z510 running > dual-boot (Win8.x and Gentoo) that would like to share their > experience? I have an Ideapad y510p that's dual-booting Win8.x and Gentoo. It shipped with 8.0 and after I got it dual-booting I upgraded to 8.1. It's not quite the same model, but I guess it can't hurt to type what I remember. I didn't take notes, because if I ran into any trouble it was my plan just to wipe the drive and install only Gentoo. I just flew by the seat of my pants, so I'm sure this isn't the smartest way to do things. My model came with a smallish SSD meant for caching. The SSD is sda and the HDD is sdb. Here's the current state of sdb, from gdisk: Number Start (sector)End (sector) Size Code Name 12048 2050047 1000.0 MiB 2700 Basic data partition 2 2050048 2582527 260.0 MiB EF00 EFI system partition 3 2582528 4630527 1000.0 MiB Basic data partition 4 4630528 4892671 128.0 MiB 0C01 Microsoft reserved part 5 1563490304 1870690303 146.5 GiB 0700 Basic data partition 6 1870690304 1923119103 25.0 GiB0700 Basic data partition 7 1923119104 1953523711 14.5 GiB2700 Basic data partition 8 1562466304 1563490303 500.0 MiB 0700 9 4892672 5199871 150.0 MiB 0700 10 519987221583871 7.8 GiB 0700 1121583872 1562466303 734.8 GiB 0700 sdb1-sdb7 existed on the drive when I got it. sdb5 is where Windows is installed. To make room for Gentoo, I shrunk sdb5 it and slid it to the end of its space using the GUI partition tool on System Rescue CD, which I think is gparted. I also used System Rescue CD to install Gentoo. It's important to boot System Rescue CD in EFI mode, at least for installing the bootloader. sdb8 is meant for an installation of System Rescue CD, but I haven't gotten around to installing it. sdb9 is /boot, sdb10 is swap, and sdb 11 is Gentoo / I emerged grub in the chrooted environment. I mounted sdb2 at /boot/efi, installed grub on sdb9 (/boot), and ran grub-mkconfig to make a config file for grub. The output indicated that it had found both Gentoo and Windows. The bios (or whatever it's called now) setup recognized grub as a new EFI-booting option and let me move it to first priority, and I got to the grub menu. grub booted Gentoo just fine, but Windows booting failed, something about not finding partitions or files. Instead of troubleshooting that, I disabled os probing for grub (GRUB_DISABLE_OS_PROBER=true in /etc/default/grub) and added Windows via /etc/grub.d/40_custom , like so: menuentry "Windows 8.x" { set root='(hd1,gpt2)' chainloader /EFI/microsoft/BOOT/bootmgfw.efi } Running grub-mkconfig after that got me a grub.cfg which works to boot Gentoo and Windows, though I don't get any fancy options for Windows, such as safe mode.
[gentoo-user] Re: World update and dev-lang/python-exec weirdness...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/08/2014 11:24 AM, Tanstaafl wrote: > On 3/8/2014 10:12 AM, Todd Goodman wrote: >> * Tanstaafl [140308 09:46]: >>> If I do an emerge -pvuDN world, it tells me I only need to update (among a >>> few other >>> things) ONE version of dev-lang/python-exec: (2.0.1 to -r1). >>> >>> I then tried to selectively update just the kernel, and it complains about >>> python-exec-2.0.1 being masked, so I add that to the emerge command: >>> >>> emerge -pvuDN dev-lang/python-exec gentoo-sources >>> >>> This results in no blockers, BUT, NOW it wants to update TWO versions of >>> python-exec: >>> dev-lang/python-exec 2.0.1 AND dev-lang/python-exec-0.3.1 (to -r1). >>> >>> First question is, why does a plain emerge -pvuDN world NOT want to update >>> both of these? >>> >>> Second questions is, do I even NEED both of these? Or can (or more >>> importantly, SHOULD) I >>> just emerge -C dev-lang/python-exec-0.3.1? > >> dev-lang/python-exec is slotted (I have slot 0 and 2 on my system.) >> >> I assume when you do the emerge -pvuDN world it only tells you about slot 2 >> because there's >> only a dependency on slot 2. When you ask it to emerge dev-lang/python-exec >> it tries to >> emerge for all slots (I'm not sure, someone please correct me if that's not >> what's >> happening.) >> >> But I had a problem where something using python-exec needed to be rebuilt. >> Run an emerge >> -pvutDN world (add the -t option to see the tree of dependencies) and look >> for what wants the >> masked python-exec. Then rebuild that manually. > > Thanks... so, since it is slotted, I guess my question about needing them > both is, yes, I need > them both (ie, don't emerge -C the older 0.3.1 version)... > > You really shouldn't ever `emerge -C` anything, instead using `emerge -c`, which will refuse to remove anything that might break the system in the course of its removal (due to dependencies). In fact, if you want to see what you have that is keeping a particular package on the system, you can do `emerge -pvc the/package`, which will list the reasons why the package cannot be removed. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJTG2p3AAoJELHSF2kinlg445wP/0P8ji5HLOR1WOeSfjnOzhgF 1hjkjL7ciJrQkxWX6F4ZW/7b4VfiqCJM0RiKNZLlFyBjsINfnKZxGUHfm9ISE31p 4DbW8idMaf5RYETd4I1PFkhdDL1PptWFIK/2lkIWu38LwtbtBkgJqv/RbkayE72q lEkCKJgYRukiwsLbdkDc0LhLjcmbW6uteWvweClPxPPekvP3arFNiJBcoOoBFeA6 KQIli6GQlEEhs/Hf9tV4NA6tiikCI8al1/FWsqmOcoslpgaQBmTlbIKjRE6WYlVb tW59wLQskIcPJ6HQ3vscqu86m0DFPSvu1RbKYNK8dK20fW8AMjIl3cV/rsXsSPKr VphKCfyw4aD5ik9blVwTV3JHu4klh8z1V0w/UVJzt6pZmh7N5sXYdXmGys3wsJxd tyiwmxRi4k5OUAWq8e8ajVBzyJS4t4N9BFlBm2U+I2JYLytm1fszAwZrtRKmUAue 0Nd7dVEibuL7aVrXDQa4ztT5v/WMHP+gMeP3eKdDfkT2XBvPx+4C1A2An5eKaAHg zOJu6HjzFB56qajAoDqlcSOlkUJakW5xaluI+56MFWVEmmIx/ExX+UlNBmM+nAfm OfYCZ5DILphw69wJ0UfFwdVQHVr55WIJfr3tPEUC72u/RcGLvUQ8dFaqI37MhKn/ EUviJlPtENyeqGwX+EVZ =Scbb -END PGP SIGNATURE-
Re: [gentoo-user] GBP character in KDE
On Saturday 08 Mar 2014 18:10:21 Mick wrote: > On Saturday 08 Mar 2014 17:42:07 Pavel Volkov wrote: > > On Saturday 08 March 2014 15:50:27 Mick wrote: > > > I can't understand why a PC that uses the KDE desktop always sticks an > > > > > > accented capital "A" in front of the pound sign. It looks like this: > > > £ > > > > I don't have this problem in KDE (though I'm not using UK layout to type > > it). I use the additional X.Org layout called "typo" and type the pound > > sign with AltGr+F. > > > > What tool do you use to switch keyboard layouts and what are those > > layouts? > > This machine only has UK qwerty keyboard and UK locale. I don't switch > into any other layouts. > > I've just changed the default country in the KDE locale GUI from UK to 'No > Country' and will restart the desktop as soon as I can kick a Luser off it, > to see if it works. The user logged out of KDE and back in and the darn thing still shows up. :-/ Any ideas what might be causing this? There is no problem with typing the US dollar character key (Shift+4), but there is when pressing the GBP character (Shift+3). This is what xev shows when pressing and releasing Shift plus the key: == KeyPress event, serial 37, synthetic NO, window 0x4a1, root 0x15b, subw 0x4a2, time 125124784, (30,32), root:(3052,475), state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 40, synthetic NO, window 0x4a1, root 0x15b, subw 0x4a2, time 125128642, (30,32), root:(3052,475), state 0x11, keycode 12 (keysym 0xa3, sterling), same_screen YES, XLookupString gives 2 bytes: (c2 a3) "£" XmbLookupString gives 2 bytes: (c2 a3) "£" XFilterEvent returns: False KeyRelease event, serial 40, synthetic NO, window 0x4a1, root 0x15b, subw 0x4a2, time 125128772, (30,32), root:(3052,475), state 0x11, keycode 12 (keysym 0xa3, sterling), same_screen YES, XLookupString gives 2 bytes: (c2 a3) "£" XFilterEvent returns: False KeyRelease event, serial 40, synthetic NO, window 0x4a1, root 0x15b, subw 0x4a2, time 125128977, (30,32), root:(3052,475), state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False == -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] GBP character in KDE
On Saturday 08 Mar 2014 17:42:07 Pavel Volkov wrote: > On Saturday 08 March 2014 15:50:27 Mick wrote: > > I can't understand why a PC that uses the KDE desktop always sticks an > > > > accented capital "A" in front of the pound sign. It looks like this: > > £ > > I don't have this problem in KDE (though I'm not using UK layout to type > it). I use the additional X.Org layout called "typo" and type the pound > sign with AltGr+F. > > What tool do you use to switch keyboard layouts and what are those layouts? This machine only has UK qwerty keyboard and UK locale. I don't switch into any other layouts. I've just changed the default country in the KDE locale GUI from UK to 'No Country' and will restart the desktop as soon as I can kick a Luser off it, to see if it works. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: [OT] LiveCDs for Uni students
On 03/08/2014 09:24 PM, Thomas Mueller wrote: >>> systemrescuecd? > >> "Too complicated". What I mean by this is that the user upon booting >> has options!!! Do you kick into a graphical environment, do you copy >> everything to memory, do you. you get the idea. The problem is >> that these are first year students in a common first year, they have >> not yet decided upon their stream, could be Civil, Chem, Mech etc and >> don't see any benefit in doing programming but have to pass the >> subject. > >> My "requirement" is that it boots into a GUI, preferably straight >> into the environment, no username/password, has dhcp, a decent editor, >> a browser and gcc or clang. > >> Andrew > > System Rescue CD fulfils the above requirements. You can go straight to > XFCE, be root with no user/password, by default automatically configures > network with DHCP. Editor is vim (I believe), browser is Midori, and gcc is > present; I didn't think of looking for clang. > > Tom > Thanks everyone for your comments. In my research, I stumbled across sax, www.sax.org, and it does all that I need. I can either burn it to a cd or a stick, it has the apps I need and is quite small, just under 300MB. Andrew
Re: [gentoo-user] GBP character in KDE
On Saturday 08 March 2014 15:50:27 Mick wrote: > I can't understand why a PC that uses the KDE desktop always sticks an > accented capital "A" in front of the pound sign. It looks like this: > > £ I don't have this problem in KDE (though I'm not using UK layout to type it). I use the additional X.Org layout called "typo" and type the pound sign with AltGr+F. What tool do you use to switch keyboard layouts and what are those layouts?
Re: [gentoo-user] World update and dev-lang/python-exec weirdness...
On 3/8/2014 10:12 AM, Todd Goodman wrote: * Tanstaafl [140308 09:46]: If I do an emerge -pvuDN world, it tells me I only need to update (among a few other things) ONE version of dev-lang/python-exec: (2.0.1 to -r1). I then tried to selectively update just the kernel, and it complains about python-exec-2.0.1 being masked, so I add that to the emerge command: emerge -pvuDN dev-lang/python-exec gentoo-sources This results in no blockers, BUT, NOW it wants to update TWO versions of python-exec: dev-lang/python-exec 2.0.1 AND dev-lang/python-exec-0.3.1 (to -r1). First question is, why does a plain emerge -pvuDN world NOT want to update both of these? Second questions is, do I even NEED both of these? Or can (or more importantly, SHOULD) I just emerge -C dev-lang/python-exec-0.3.1? dev-lang/python-exec is slotted (I have slot 0 and 2 on my system.) I assume when you do the emerge -pvuDN world it only tells you about slot 2 because there's only a dependency on slot 2. When you ask it to emerge dev-lang/python-exec it tries to emerge for all slots (I'm not sure, someone please correct me if that's not what's happening.) But I had a problem where something using python-exec needed to be rebuilt. Run an emerge -pvutDN world (add the -t option to see the tree of dependencies) and look for what wants the masked python-exec. Then rebuild that manually. Thanks... so, since it is slotted, I guess my question about needing them both is, yes, I need them both (ie, don't emerge -C the older 0.3.1 version)...
[gentoo-user] GBP character in KDE
I can't understand why a PC that uses the KDE desktop always sticks an accented capital "A" in front of the pound sign. It looks like this: £ This is what /etc/env.d/02locale contains: LANG="en_GB.UTF-8" LC_COLLATE="C" All KDE applications suffer from this affliction, as well as LibreOffice. However, for some reason Thunderbird does not. Any idea how I can fix this? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Are the UK rsync mirrors down?
On Saturday 08 Mar 2014 11:33:15 Mick wrote: > On Saturday 08 Mar 2014 11:13:29 Peter Humphrey wrote: > > On Saturday 08 Mar 2014 10:42:08 Mick wrote: > > > I just tried my weekly rsync and it failed to find the server: > > ... > > > > > Have you come across the same problem recently? > > > > Yes, I get the same. It worked all right at 04:20 but not now. > > Thanks Peter, I get the same error with rsync.europe.gentoo.org too. > However, I just tried rsync.de.gentoo.org and it works fine. Perhaps > something is amiss with the DNS servers for the UK mirrors? All back up now. -- Regards Peter
Re: [gentoo-user] World update and dev-lang/python-exec weirdness...
* Tanstaafl [140308 09:46]: > Ok, I don't understand this... > > If I do an emerge -pvuDN world, it tells me I only need to update (among > a few other things) ONE version of dev-lang/python-exec: (2.0.1 to -r1). > > I then tried to selectively update just the kernel, and it complains > about python-exec-2.0.1 being masked, so I add that to the emerge command: > > emerge -pvuDN dev-lang/python-exec gentoo-sources > > This results in no blockers, BUT, NOW it wants to update TWO versions of > python-exec: dev-lang/python-exec 2.0.1 AND dev-lang/python-exec-0.3.1 > (to -r1). > > First question is, why does a plain emerge -pvuDN world NOT want to > update both of these? > > Second questions is, do I even NEED both of these? Or can (or more > importantly, SHOULD) I just emerge -C dev-lang/python-exec-0.3.1? > > Thanks, > > Charles Hi Charles, dev-lang/python-exec is slotted (I have slot 0 and 2 on my system.) I assume when you do the emerge -pvuDN world it only tells you about slot 2 because there's only a dependency on slot 2. When you ask it to emerge dev-lang/python-exec it tries to emerge for all slots (I'm not sure, someone please correct me if that's not what's happening.) But I had a problem where something using python-exec needed to be rebuilt. Run an emerge -pvutDN world (add the -t option to see the tree of dependencies) and look for what wants the masked python-exec. Then rebuild that manually. I'm running ~x86 btw. Regards, Todd
[gentoo-user] World update and dev-lang/python-exec weirdness...
Ok, I don't understand this... If I do an emerge -pvuDN world, it tells me I only need to update (among a few other things) ONE version of dev-lang/python-exec: (2.0.1 to -r1). I then tried to selectively update just the kernel, and it complains about python-exec-2.0.1 being masked, so I add that to the emerge command: emerge -pvuDN dev-lang/python-exec gentoo-sources This results in no blockers, BUT, NOW it wants to update TWO versions of python-exec: dev-lang/python-exec 2.0.1 AND dev-lang/python-exec-0.3.1 (to -r1). First question is, why does a plain emerge -pvuDN world NOT want to update both of these? Second questions is, do I even NEED both of these? Or can (or more importantly, SHOULD) I just emerge -C dev-lang/python-exec-0.3.1? Thanks, Charles
[gentoo-user] Re: [OT] LiveCDs for Uni students
> > systemrescuecd? > "Too complicated". What I mean by this is that the user upon booting > has options!!! Do you kick into a graphical environment, do you copy > everything to memory, do you. you get the idea. The problem is > that these are first year students in a common first year, they have > not yet decided upon their stream, could be Civil, Chem, Mech etc and > don't see any benefit in doing programming but have to pass the > subject. > My "requirement" is that it boots into a GUI, preferably straight > into the environment, no username/password, has dhcp, a decent editor, > a browser and gcc or clang. > Andrew System Rescue CD fulfils the above requirements. You can go straight to XFCE, be root with no user/password, by default automatically configures network with DHCP. Editor is vim (I believe), browser is Midori, and gcc is present; I didn't think of looking for clang. Tom
Re: [gentoo-user] [OT] LiveCDs for Uni students
On 08.03.2014 05:57, Andrew Lowe wrote: [ ... ] "Too complicated". What I mean by this is that the user upon booting has options!!! Do you kick into a graphical environment, do you copy everything to memory, do you. you get the idea. The problem is that these are first year students in a common first year, they have not yet decided upon their stream, could be Civil, Chem, Mech etc and don't see any benefit in doing programming but have to pass the subject. My "requirement" is that it boots into a GUI, preferably straight into the environment, no username/password, has dhcp, a decent editor, a browser and gcc or clang. Andrew Hi Andrew, I could suggest you create a virtual machine image for e.g. virtualbox, with all the stuff you need. This way you ensure the student has everything you expect him/her to have, and it may be more acceptable for layman to install an emulator with the image, while being able to use his/her own OS, than to reboot each time, and this setup allows to easily save configuration options/work results. -- Best wishes, Yuri K. Shatroff
Re: [gentoo-user] Are the UK rsync mirrors down?
On Saturday 08 Mar 2014 11:13:29 Peter Humphrey wrote: > On Saturday 08 Mar 2014 10:42:08 Mick wrote: > > I just tried my weekly rsync and it failed to find the server: > ... > > > Have you come across the same problem recently? > > Yes, I get the same. It worked all right at 04:20 but not now. Thanks Peter, I get the same error with rsync.europe.gentoo.org too. However, I just tried rsync.de.gentoo.org and it works fine. Perhaps something is amiss with the DNS servers for the UK mirrors? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: Fwd: Re: [gentoo-user] Two identical systems - different!
On Wednesday 05 Mar 2014 23:26:00 Mick wrote: > On Wednesday 05 Mar 2014 15:20:07 Peter Humphrey wrote: > > On Wednesday 05 Mar 2014 13:49:00 Mick wrote: > > > Have you manually disabled webDAV in your apache configuration? > > > > > > You will need to set 'Dav Off' under the entry for your > > /var/www/owncloud>. You will also need to check that you have *not* > > > enabled authentication at apache level because this is managed by the > > > php code and you have also set 'Satisfy Any' under 'Allow from all'. > > > > I've included this stanza in default_vhost.include: > > > > > > > > Options Indexes FollowSymLinks MultiViews > > AllowOverride All > > Order allow,deny > > allow from all > > Satisfy Any > > > > # Dav Off > > > > I tend to keep the entries you show above, except for Dav, in > /etc/apache2/modules.d/XX_mysite_mod.conf. Directives like ServerName, > DocumentRoot, etc. as well as 'Dav On|Off' I keep in > /etc/apache2/vhosts.d/XX_mysite.conf. I place Dav under ; e.g. > > > ServerName mysite.com > ServerAlias mysite > DocumentRoot /var/www/mysite/htdocs > > Dav Off > > > > > Try that approach because it seems to make a difference at what stage the > Dav directive is parsed. > > > I've just found something odd. It looks like Apache is not listing on > > IPv4, > > only IPv6: > > > > # netstat -tulpen | grep apache > > tcp6 0 0 :::80 :::*LISTEN > > 0 225562 29055/apache2 > > tcp6 0 0 :::443 :::*LISTEN > > 0 225558 29055/apache2 > > > > No mention of plain tcp. Eth0 has an IPv4 address, of course, so I have > > more detective work to do. > > Not sure why, but I don't see apache listening on IPv4 here either. My LAN > only has IPv4 configured and I know it works, but like yours I can't explain > why it is not shown ... could it be a bug? Thanks Mick. I'll make a start on setting up virtual hosts today. Meanwhile, after I'd finished an emerge -e world (no -K) and backed the whole system up, I ran an emerge -uaDvN world and it wanted to reinstall every package on the system! Leaving out the -D it just wanted to upgrade a couple of packages that had been updated while I was not watching. Once again, I checked minutely that nothing differed in my config of portage between the 32-bit chroot and the Atom target. Nothing. Looks like time to submit a bug report. -- Regards Peter
Re: [gentoo-user] Are the UK rsync mirrors down?
On Saturday 08 Mar 2014 10:42:08 Mick wrote: > I just tried my weekly rsync and it failed to find the server: ... > Have you come across the same problem recently? Yes, I get the same. It worked all right at 04:20 but not now. -- Regards Peter
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
Am 08.03.2014 10:40, schrieb Facundo Curti: > Yes. I press F8 (boot menu) and I choice UEFI:Sandisk :/ > Also, make sure, that you modprobe efivarfs before you enter the chroot. Then it sould work, you can verify that it works by using efibootmgr -v signature.asc Description: OpenPGP digital signature
[gentoo-user] Are the UK rsync mirrors down?
Hi All, I just tried my weekly rsync and it failed to find the server: * Running emerge --sync >>> Synchronization of repository 'gentoo' located in '/usr/portage'... !!! getaddrinfo failed for 'rsync.uk.gentoo.org': [Errno 110] Connection timed out >>> Starting rsync with rsync://rsync.uk.gentoo.org/gentoo-portage... >>> Checking server timestamp ... rsync: getaddrinfo: rsync.uk.gentoo.org 873: System error rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9] >>> Retrying... !!! Exhausted addresses for rsync.uk.gentoo.org * emerge --sync failed * Time statistics: 3 seconds for syncing 4 seconds total I can't ping it either: ping rsync.uk.gentoo.org ping: unknown host rsync.uk.gentoo.org nslookup rsync.uk.gentoo.org Server: 10.10.10.1 Address:10.10.10.1#53 ** server can't find rsync.uk.gentoo.org: SERVFAIL Have you come across the same problem recently? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
On Saturday 08 March 2014 06:25:32 Facundo Curti wrote: > So, I try to do the same, but in chroot. > I mount everything (Including proc and sys), and: >chroot /mnt/gentoo /bin/bash >grub2-install --target x86_64-efi /dev/sdb //Without > target gives another error > > And grub2-install says: >Fatal: Couldn't open either sysfs or procfs directories for > accesing EFI variables. >Try `modprobe efivars` as root. > (Same than before) > > I was searching on google and I find various similar topics [1]. It > recomend to mount proc and sys, but I already do thath... (unless I do that > wrong) > > Somes ideas? :/ Is there any content in ls /sys/firmware/efi/vars/ directory? If not, are you sure you boot sysrescuecd in EFI mode? It can boot in both EFI and legacy mode. Check your boot menu again.
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
On Sat, 8 Mar 2014 06:25:32 -0300, Facundo Curti wrote: > About boot... :/ It still not working. I boot from sysresccd, make a: > >grub2-install /dev/sdb > > And give me this output: >Path `/boot/grub` is not redeable by GRUB on boot. > Installation is impossible. Aborting You need to pass --boot-dir and --root-dir to grub2-install (check the man page for the exact syntax). If your gentoo install is mounted at /mnt/gentoo these should be /mnt/gentoo/boot and /mnt/gentoo. -- Neil Bothwick Why do kamikaze pilots wear helmets? signature.asc Description: PGP signature
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
Yes. I press F8 (boot menu) and I choice UEFI:Sandisk :/ 2014-03-08 6:37 GMT-03:00 Stefan G. Weichinger : > Am 08.03.2014 10:25, schrieb Facundo Curti: > > > About boot... :/ It still not working. I boot from sysresccd > > Did you boot via EFI or via BIOS? You have to choose (U)EFI in your BIOS > to enable the whole EFI-environment. > > If you boot sysresccd via BIOS you don't get the efi variables accessible. > >
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
Am 08.03.2014 10:25, schrieb Facundo Curti: > About boot... :/ It still not working. I boot from sysresccd Did you boot via EFI or via BIOS? You have to choose (U)EFI in your BIOS to enable the whole EFI-environment. If you boot sysresccd via BIOS you don't get the efi variables accessible.
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
2014-03-08 5:27 GMT-03:00 Neil Bothwick : > On Sat, 8 Mar 2014 02:31:35 -0300, Facundo Curti wrote: > > > Another - no related - problem I have is that I cant update my > > system ._. I do a > > emerge --newuse --deep --update world > > I dont get errors, but never starts to update. Emerge work as using a > > --pretend atribute, this say me all the packages to install/rebuild, but > > dont do anything... o.o > > > > The portage: http://bpaste.net/show/186359 > > > > Is a output of 16k lines and 1,1 mb. Watch out! :/ > > > > It rebuild almost everything because I added doc and X to USE flags, and > > almost all package uses docs ._. (I think that..) > > As previously stated, you should NOT enable the doc USE flag globally. > User docs are generated by default the flag controls the building of > developer docs, which no one needs for everything, and brings in some > heavy dependencies for some packages. > > % euses doc > doc - Add extra documentation (API, Javadoc, etc). It is recommended to > enable per package instead of globally > > > -- > Neil Bothwick > > I typed Format SER: and accidentally killed a telephone operator! > :O Thank you. I didn't know that. So i'm going to disable this :) About boot... :/ It still not working. I boot from sysresccd, make a: grub2-install /dev/sdb And give me this output: Path `/boot/grub` is not redeable by GRUB on boot. Installation is impossible. Aborting So, I try to do the same, but in chroot. I mount everything (Including proc and sys), and: chroot /mnt/gentoo /bin/bash grub2-install --target x86_64-efi /dev/sdb //Without target gives another error And grub2-install says: Fatal: Couldn't open either sysfs or procfs directories for accesing EFI variables. Try `modprobe efivars` as root. (Same than before) I was searching on google and I find various similar topics [1]. It recomend to mount proc and sys, but I already do thath... (unless I do that wrong) Somes ideas? :/ [1] https://bbs.archlinux.org/viewtopic.php?id=165516
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
On Sat, 8 Mar 2014 02:31:35 -0300, Facundo Curti wrote: > Another - no related - problem I have is that I cant update my > system ._. I do a > emerge --newuse --deep --update world > I dont get errors, but never starts to update. Emerge work as using a > --pretend atribute, this say me all the packages to install/rebuild, but > dont do anything... o.o > > The portage: http://bpaste.net/show/186359 > > Is a output of 16k lines and 1,1 mb. Watch out! :/ > > It rebuild almost everything because I added doc and X to USE flags, and > almost all package uses docs ._. (I think that..) As previously stated, you should NOT enable the doc USE flag globally. User docs are generated by default the flag controls the building of developer docs, which no one needs for everything, and brings in some heavy dependencies for some packages. % euses doc doc - Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally -- Neil Bothwick I typed Format SER: and accidentally killed a telephone operator! signature.asc Description: PGP signature
Re: [gentoo-user] Cant boot with SSD, GPT, GRUB2 and UEFI
Am 08.03.2014 08:18, schrieb Facundo Curti: > And this says me: > Fatal: Couldn't open either sysfs or procfs directories for > accesing EFI variables > Try "modprobe efivars" as root The system has to be booted via UEFI to be able to access the EFI system (and tell it about your new OS). So you have to boot from a live-system doing EFI boot. AFAI remember sysresccd is able to do that, for example.
Re: [gentoo-user] [OT] LiveCDs for Uni students
On Sat, 08 Mar 2014 08:54:38 +0800, Andrew Lowe wrote: > I'm looking for a lightweight LiveCD that includes a graphical > environment and gcc/clang so that we can make it available on our > internal network for the students to download/burn and use at home. > Does anyone have any ideas/experience in something like this? I've > looked at Lubuntu but it lacks gcc. Ubuntu has a tool called Ubuntu Construction Kit for creating custom live CDs. I've used it several times for creating custom Ubuntu and Mint DVDs for Linux Format. It works by unpacking an existing live CD insto a chroot, from where you can add and remove whatever you want, as well as tweaking boot options. Then it builds an ISO of the environment you created. This is probably much better for you than trying to find an off the peg solution, even if all you end up with is Lubuntu+GCC. You could do the same thing with system rescue CD but UCK is probably nearer your needs. -- Neil Bothwick Quantum leap: (adj.) literally, to move by the smallest amount theoretically possible. In advertising, to move by the largest leap imaginable (in the mind of the advertiser). There is no contradiction. signature.asc Description: PGP signature