[gentoo-user] Subdirs with mutt
For mutt, I'm using a maildir. How do I get subdirs created by maildirmake -f subfolder ~/.mail to show up in mutt's sidebar and how do I switch between the top-level folder and subfolders without qLFmuttLF.. ? -- 001100 Andrey m05hbear Vul 010010 00 andrey at moshbear dot net 11 andrey dot vul at gmail 101101 4163039923 110011
Re: [gentoo-user] Another Install Issue
On 16 October 2011, at 00:05, CJoeB wrote: ... However, when I boot, eth0 does not start. I can start it manually by doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' However, I would like to have my network started automatically. List broadcom and tg3 in /etc/conf.d/modules as per section 7.e. of the install guide. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=7#doc_chap5 Stroller.
Re: [gentoo-user] Another Install Issue
Am 16.10.2011 01:05, schrieb CJoeB: Hi everyone, Well, thanks to the help I got from the list, I finally have Gentoo installed on my new desktop and booting to a command prompt. However, now I have a networking issue. In past, when I booted to the install CD and my ethernet connection was not active, I typed net-setup eth0 and was able to set it up. This time, when I booted to the install CD and typed net-setup eth0, the network card was not recognized. I googled and found a post where someone said that they had to 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run net-setup. I did this and then ifconfig returned my eth0 connection. Of course, later you have to do the cp -L /etc/resolv.conf /mnt/gentoo/etc/ which I did and dhcpcd has been added to my default runlevel. However, when I boot, eth0 does not start. I can start it manually by doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' However, I would like to have my network started automatically. I do have config_eth0=dhcp in my /etc/conf.d/net file Any suggestions? Colleen Hmm, a workaround would be a custom init script. Copy the following code into a new file in /etc/init.d (let's say /etc/init.d/broadcom-fix): #!/sbin/runscript description=Reload broadcom and tg3 modules to work around kernel bug depend() { before net after modules } start() { ebegin Reloading broadcom and tg3 modules modprobe -r broadcom tg3 modprobe broadcom modprobe tg3 eend $? Failed to reload modules } Make it executable (chmod 755) and add it to the default run level (rc-update add broadcom-fix default). Better try to start it manually before rebooting so you can be sure it works as expected. Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Another Install Issue
On Sunday 16 Oct 2011 11:05:55 Florian Philipp wrote: Am 16.10.2011 01:05, schrieb CJoeB: Hi everyone, Well, thanks to the help I got from the list, I finally have Gentoo installed on my new desktop and booting to a command prompt. However, now I have a networking issue. In past, when I booted to the install CD and my ethernet connection was not active, I typed net-setup eth0 and was able to set it up. This time, when I booted to the install CD and typed net-setup eth0, the network card was not recognized. I googled and found a post where someone said that they had to 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run net-setup. I did this and then ifconfig returned my eth0 connection. Of course, later you have to do the cp -L /etc/resolv.conf /mnt/gentoo/etc/ which I did and dhcpcd has been added to my default runlevel. However, when I boot, eth0 does not start. I can start it manually by doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' However, I would like to have my network started automatically. I do have config_eth0=dhcp in my /etc/conf.d/net file Any suggestions? Colleen Hmm, a workaround would be a custom init script. Copy the following code into a new file in /etc/init.d (let's say /etc/init.d/broadcom-fix): #!/sbin/runscript description=Reload broadcom and tg3 modules to work around kernel bug depend() { before net after modules } start() { ebegin Reloading broadcom and tg3 modules modprobe -r broadcom tg3 modprobe broadcom modprobe tg3 eend $? Failed to reload modules } Make it executable (chmod 755) and add it to the default run level (rc-update add broadcom-fix default). Better try to start it manually before rebooting so you can be sure it works as expected. Hope this helps, Florian Philipp This would be a workaround - the question is why does the module need to be removed and reinstalled manually? Why isn't the kernel loading it at boot time? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] My X11 mouse icons have acquired unwanted borders. Help!
Hello, Gentoo! I'm using Gnome 2.32.1 in X11. My mouse pointers have all acquired unwanted borders. That is to say, where there used just to be a solid black arrow, it is now surrounded by a black outline enclosing a white outline around the arrow. I don't like this! I didn't ask for it! I first noticed this problem while starting Firefox. It seemed to hiccup a bit (I think), and then all pointers (in all applications) went bad. I've looked inside Gnome preferences, but can't find a way to change the pointers back. I suspect this is an X setting rather than a Gnome one. Can anybody point me at a solution? TIA, -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Another Install Issue
On Sunday 16 Oct 2011 00:05:01 CJoeB wrote: Hi everyone, Well, thanks to the help I got from the list, I finally have Gentoo installed on my new desktop and booting to a command prompt. However, now I have a networking issue. In past, when I booted to the install CD and my ethernet connection was not active, I typed net-setup eth0 and was able to set it up. This time, when I booted to the install CD and typed net-setup eth0, the network card was not recognized. This means that your kernel is not configured with the corresponding modules for your network card, or that there is some other configuration problem with e.g. firmware loading (if such a thing is necessary for your card). I googled and found a post where someone said that they had to 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run net-setup. I did this and then ifconfig returned my eth0 connection. Of course, later you have to do the cp -L /etc/resolv.conf /mnt/gentoo/etc/ which I did and dhcpcd has been added to my default runlevel. However, when I boot, eth0 does not start. What does dmesg show? What does cat /var/log/syslog | grep -i tg3 show I can start it manually by doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' So the question is why when you remove and install the module manually your NIC driver loads, but at boot time it does not ... However, I would like to have my network started automatically. I do have config_eth0=dhcp in my /etc/conf.d/net file Please show: grep ^[^#] /etc/conf.d/net ifconfig and ifconfig -a (before and after you modprobe the driver) It may also help to know what is your card (lshw and lspci -v). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] My X11 mouse icons have acquired unwanted borders. Help!
Does this happen on other WMs as well? To me, this sounds like a driver issue. Some drivers (the binary nvidia one, namely) do have some options to control the aspect of the pointer. I never played with them so I don't know if this is one of the available options. If you are using effects, try to disable them and see what happens. Also, did you update the driver (whatever it is) recently? -- Jesús Guerrero Botella
Re: [gentoo-user] How to cross compile Perl for ARM?
i have managed to cross-compile a pretty complete stage3 for arm i believe with perl-5.10.1 from http://git.overlays.gentoo.org/gitweb/?p=proj/embedded-cross.git;a=tree;f=dev-lang/perl overall the cross-compile experience was a nightmare, esp. re perl and python. many packages obscurely fail, but not enough for you to immediately give up. so it keeps sucking you back in and waste even more time. at the time i discovered that embedded-cross overlay had mostly done all the difficult work for me, but it seems it is no longer updated for recent stuff. i think guys in #gentoo-embedded told me it is a lot of effort to patch these large packages like perl and python to sanely cross-compile, and since i think their product thing didn't work out too well, they weren't going to sink any more time into maintaining for newer versions. but jude pereira i believe is doing something with arm stages at least semi-actively http://judepereira.com/blog/gentoo-linux-uclibc-stage3-2010-for-embedded/ and it is definitely a lot of fun booting pretty much full blown gentoo on things like Nokia N8x0 internet tablets https://github.com/slonopotamus/n8x0-overlay
Re: [gentoo-user] Gentoo Install Issue
On 15 October 2011 23:44, CJoeB colleen.bea...@gmail.com wrote: (...) If this is your first install, is FrameBuffer (pretty consoles) really a vital component of getting your machine up and running? If not, then you should not have any fb driver in your grub.conf (and perhaps add 'nofb' to your kernel options line. If it is, then by far the easiest way of getting it to work is by using the same driver for X as you do for the framebuffer (allowing Kernel Modeswitching, or KMS). In the case of radeon cards, this can be done with the open-source driver, as described by others. Take a look at en.gentoo-wiki.com/wiki/Radeon for a pretty comprehensive guide. I maintain it, so if you find anything hard to follow, please edit the page or post here describing what should be improved. Good luck - JB
[gentoo-user] Re: My X11 mouse icons have acquired unwanted borders. Help!
On 10/16/2011 03:15 AM, Alan Mackenzie wrote: Hello, Gentoo! I'm using Gnome 2.32.1 in X11. My mouse pointers have all acquired unwanted borders. That is to say, where there used just to be a solid black arrow, it is now surrounded by a black outline enclosing a white outline around the arrow. I don't like this! I didn't ask for it! I first noticed this problem while starting Firefox. It seemed to hiccup a bit (I think), and then all pointers (in all applications) went bad. I've looked inside Gnome preferences, but can't find a way to change the pointers back. I suspect this is an X setting rather than a Gnome one. Have a look at gnome-extra/gcursor.
Re: [gentoo-user] My X11 mouse icons have acquired unwanted borders. Help!
Hi, Jesús. On Sun, Oct 16, 2011 at 01:41:21PM +0200, Jesús J. Guerrero Botella wrote: Does this happen on other WMs as well? Yes, it happens on xfce, too. To me, this sounds like a driver issue. Some drivers (the binary nvidia one, namely) do have some options to control the aspect of the pointer. I never played with them so I don't know if this is one of the available options. If you are using effects, try to disable them and see what happens. I'm not using effects, as far as I know. Also, did you update the driver (whatever it is) recently? Ah. I synched yesterday, and a massive number of packages were updated, among them xorg-drivers. That'll be it, I suppose. Presumably I can configure these drivers somewhere, perhaps in ~/.xinitrc? Is there any documentation for this? -- Jesús Guerrero Botella -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] pam-1.1.4 emerge error on x86
Am Sat, 15 Oct 2011 19:50:23 +0100 schrieb Mick michaelkintz...@gmail.com: [snip snip] [snip...] Thank you! :-) you're welcome ;) its really easy to help you because you provide the right information =) To save me asking next time ... how did you know that pax-utils was to blame? i saw this error: /var/tmp/portage/sys-libs/pam-1.1.4/temp/environment: line 2226: scanelf: command not found * ERROR: sys-libs/pam-1.1.4 failed (install phase): and with % equery b scanelf * Searching for scanelf ... app-misc/pax-utils-0.2.2 (/usr/bin/scanelf) i knew that it belonged to pax-utils. that only works, if a package owning that binary is installed. if there wasn't, i would have used a web search engine. the results normally contain man pages saying which package the command belongs to. that means either /usr/bin/scanelf is missing or /usr/bin is not in the path (at least not in the environment of portage). i thought the latter would be unlikely :)
Re: [gentoo-user] Another Install Issue
Am 16.10.2011 12:43, schrieb Mick: On Sunday 16 Oct 2011 00:05:01 CJoeB wrote: Hi everyone, Well, thanks to the help I got from the list, I finally have Gentoo installed on my new desktop and booting to a command prompt. However, now I have a networking issue. In past, when I booted to the install CD and my ethernet connection was not active, I typed net-setup eth0 and was able to set it up. This time, when I booted to the install CD and typed net-setup eth0, the network card was not recognized. This means that your kernel is not configured with the corresponding modules for your network card, or that there is some other configuration problem with e.g. firmware loading (if such a thing is necessary for your card). [...] Also: Are the modules actually loaded before you unload them? Use `modprobe -vr broadcom tg3`. If there is no output, the module was not loaded. Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Another Install Issue
On 10/16/11 05:59, Stroller wrote: On 16 October 2011, at 00:05, CJoeB wrote: ... However, when I boot, eth0 does not start. I can start it manually by doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' However, I would like to have my network started automatically. List broadcom and tg3 in /etc/conf.d/modules as per section 7.e. of the install guide. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=7#doc_chap5 I did from the beginning (i.e. before I posted to the list) - it didn't resolve the issue. Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] My X11 mouse icons have acquired unwanted borders. Help!
2011/10/16 Alan Mackenzie a...@muc.de: Hi, Jesús. On Sun, Oct 16, 2011 at 01:41:21PM +0200, Jesús J. Guerrero Botella wrote: Does this happen on other WMs as well? Yes, it happens on xfce, too. That probably confirms it's not a gnome issue. The cursor is an X thing, in any case. Also, did you update the driver (whatever it is) recently? Ah. I synched yesterday, and a massive number of packages were updated, among them xorg-drivers. That'll be it, I suppose. That package is kind of a wrapper around the driver packages, which are many. You install xorg-drivers as a dependency of xorg-server, and depending on your VIDEO_CARDS settings in make.conf the relevant driver packages are also pushed as dependencies into your system. Presumably I can configure these drivers somewhere, perhaps in ~/.xinitrc? Is there any documentation for this? Let us know what your driver is so we can give more concrete details. But video drivers, just like any other thing that's part of X, can be configured at /etc/X11/xorg.conf or, more recently, in separate files under /etc/X11/xorg.conf.d/. Some drivers (like, again, the nvidia binary one) do ship tools that can help you configure the driver by writing to these files via a GUI frontend. The concrete options that you can put into this files depend on the concrete driver. For example, the man page for my driver (xf86-video-ati) can be seen by using # man radeon There I can see all the available options. If you let us know what driver are you using, then maybe someone who's familiar with your driver can provide you with more accurate help. -- Jesús Guerrero Botella
Re: [gentoo-user] Another Install Issue
On 10/16/11 06:43, Mick wrote: On Sunday 16 Oct 2011 00:05:01 CJoeB wrote: Hi everyone, However, now I have a networking issue. In past, when I booted to the install CD and my ethernet connection was not active, I typed net-setup eth0 and was able to set it up. This time, when I booted to the install CD and typed net-setup eth0, the network card was not recognized. This means that your kernel is not configured with the corresponding modules for your network card, or that there is some other configuration problem with e.g. firmware loading (if such a thing is necessary for your card). I use genkernel. Granted, rather than just running genkernel all, I run genkernel --menuconfig all because I remove stuff that I know I won't need. However, in the network section, everything related to broadcom and tg3 is built as a module. I even tried building tg3 directly into the kernel and it didn't help. I had to do the 'modprobe -r broadcom' and 'modprobe -r tg3' and then, 'modprobe broadcom' and 'modprobe tg3' prior to running net-setup even when booted to the install CD. I googled and found a post where someone said that they had to 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run net-setup. I did this and then ifconfig returned my eth0 connection. Of course, later you have to do the cp -L /etc/resolv.conf /mnt/gentoo/etc/ which I did and dhcpcd has been added to my default runlevel. However, when I boot, eth0 does not start. What does dmesg show? On line states: tg3 :03:00.0: Problem fetching invariants of chip, aborting What does cat /var/log/syslog | grep -i tg3 show Don't have a syslog file however, 'cat /var/log/rc.log | grep -i tg3' shows: *Loading modul tg3 ... The line is repeated a total of 7 times. I can start it manually by doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' So the question is why when you remove and install the module manually your NIC driver loads, but at boot time it does not ... Good question and I have no idea! :-) However, I would like to have my network started automatically. I do have config_eth0=dhcp in my /etc/conf.d/net file Please show: grep ^[^#] /etc/conf.d/net Prior to loading: config_eth0=dhcp Note, that this is the format listed in the Handbook. Previously, in the Handbook, the format was config_eth0=( dhcp ). I've tried it both ways ifconfig and ifconfig -a (before and after you modprobe the driver) Before loading: ifconfig just lists: loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:11 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:198 (198.0 B) TX bytes:198 (198.0 B) ifconfig -a lists: loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:324 (324.0 B) TX bytes:324 (324.0 B) After doing ''modprobe -r broadcom' and 'modprobe -r tg3' and then, 'modprobe broadcom' and 'modprobe tg3' ifconfig lists: eth0Link encap:Ethernet HWaddr 78:2b:cb:ad:9e:47 inet addr:192.168.2.15 Bcast:192:168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1727 errors:0 dropped:0 overruns:0 frame:0 TX packets:908 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1826702 (1.7 MiB) TX bytes:67525 (65.9 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:46 errors:0 dropped:0 overruns:0 frame:0 TX packets:46 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:828 (828.0 B) TX bytes:828 (828.0 B) ifconfig -a lists eth0Link encap:Ethernet HWaddr 78:2b:cb:ad:9e:47 inet addr:192.168.2.15 Bcast:192:168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2024 errors:0 dropped:0 overruns:0 frame:0 TX packets:958 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1846649 (1.7 MiB) TX bytes:70725 (69.0 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:50 errors:0 dropped:0 overruns:0 frame:0 TX packets:50 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1062 (1.0 KiB) TX
Re: [gentoo-user] Gentoo Install Issue
On 10/16/11 08:06, James Broadhead wrote: Thanks for the input. This issue is somewhat resolved. On 15 October 2011 23:44, CJoeB colleen.bea...@gmail.com wrote: (...) If this is your first install, is FrameBuffer (pretty consoles) really a vital component of getting your machine up and running? Not my first install - I've been running Gentoo exclusively since 2004. Framebuffer is not absolutely necessary I guess, but I really would like those penguins! What can I say? I'm female and I like animals! LOL Anyway, I got past the issue I was having where the boot hung. Now, I'm on to another issue. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Another Install Issue
On 10/16/11 08:59, Florian Philipp wrote: Am 16.10.2011 12:43, schrieb Mick: On Sunday 16 Oct 2011 00:05:01 CJoeB wrote: Hi everyone, Well, thanks to the help I got from the list, I finally have Gentoo installed on my new desktop and booting to a command prompt. However, now I have a networking issue. In past, when I booted to the install CD and my ethernet connection was not active, I typed net-setup eth0 and was able to set it up. This time, when I booted to the install CD and typed net-setup eth0, the network card was not recognized. This means that your kernel is not configured with the corresponding modules for your network card, or that there is some other configuration problem with e.g. firmware loading (if such a thing is necessary for your card). [...] Also: Are the modules actually loaded before you unload them? Use `modprobe -vr broadcom tg3`. If there is no output, the module was not loaded. Prior to unloading the modules, output from 'modprobe -vr broadcom tg3' is rmmod /lib/modules/2.6.39-gentoo-r3/kernel/drivers/net/tg3.ko Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
[gentoo-user] Re: My X11 mouse icons have acquired unwanted borders. Help!
On 10/16/2011 04:41 PM, Jesús J. Guerrero Botella wrote: 2011/10/16 Alan Mackenziea...@muc.de: Hi, Jesús. On Sun, Oct 16, 2011 at 01:41:21PM +0200, Jesús J. Guerrero Botella wrote: Does this happen on other WMs as well? Yes, it happens on xfce, too. That probably confirms it's not a gnome issue. The cursor is an X thing, in any case. Er, the used mouse pointer can be configured by almost any DE. You don't need to mess with X config files. And I'm pretty sure it's not just KDE that offers a GUI config dialog for this.
Re: [gentoo-user] Another Install Issue
On Sun, Oct 16, 2011 at 11:05 AM, CJoeB colleen.bea...@gmail.com wrote: Also: Are the modules actually loaded before you unload them? Use `modprobe -vr broadcom tg3`. If there is no output, the module was not loaded. Prior to unloading the modules, output from 'modprobe -vr broadcom tg3' is rmmod /lib/modules/2.6.39-gentoo-r3/kernel/drivers/net/tg3.ko Hi Colleen, Looks like broadcom isn't loading at boot. Also, I'm not too familiar with broadcom, but why must you load two modules? I found [1] which sound like your problem (possibly the site you mentioned earlier) which references a similar problem when tg3 is loaded before broadcom. You may have already tried this, but have you tested changing the order in /etc/conf.d/modules? [1] https://bbs.archlinux.org/viewtopic.php?id=110026 - Matt -- Matthew Finkel
Re: [gentoo-user] Another Install Issue
On Sunday 16 Oct 2011 15:52:51 CJoeB wrote: On 10/16/11 06:43, Mick wrote: On Sunday 16 Oct 2011 00:05:01 CJoeB wrote: Hi everyone, However, now I have a networking issue. In past, when I booted to the install CD and my ethernet connection was not active, I typed net-setup eth0 and was able to set it up. This time, when I booted to the install CD and typed net-setup eth0, the network card was not recognized. This means that your kernel is not configured with the corresponding modules for your network card, or that there is some other configuration problem with e.g. firmware loading (if such a thing is necessary for your card). I use genkernel. Granted, rather than just running genkernel all, I run genkernel --menuconfig all because I remove stuff that I know I won't need. However, in the network section, everything related to broadcom and tg3 is built as a module. I even tried building tg3 directly into the kernel and it didn't help. I had to do the 'modprobe -r broadcom' and 'modprobe -r tg3' and then, 'modprobe broadcom' and 'modprobe tg3' prior to running net-setup even when booted to the install CD. From what your dmesg shows tg3 fails to load. So there should not be a need to remove it. I googled and found a post where someone said that they had to 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run net-setup. I did this and then ifconfig returned my eth0 connection. Of course, later you have to do the cp -L /etc/resolv.conf /mnt/gentoo/etc/ which I did and dhcpcd has been added to my default runlevel. However, when I boot, eth0 does not start. What does dmesg show? On line states: tg3 :03:00.0: Problem fetching invariants of chip, aborting It fails to load. Something is blocking it from accessing the NIC chipset. What does cat /var/log/syslog | grep -i tg3 show Don't have a syslog file however, 'cat /var/log/rc.log | grep -i tg3' shows: *Loading modul tg3 ... The line is repeated a total of 7 times. It should only be there once, unless you tried to load it 7 times? I can start it manually by doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' So the question is why when you remove and install the module manually your NIC driver loads, but at boot time it does not ... Good question and I have no idea! :-) I looked into it and the answer seems to be a bug in the kernel (there are patches out which fix this) that does not make sure that broadcom is loaded before tg3. ifconfig and ifconfig -a (before and after you modprobe the driver) Before loading: ifconfig just lists: loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:11 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:198 (198.0 B) TX bytes:198 (198.0 B) ifconfig -a lists: loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:324 (324.0 B) TX bytes:324 (324.0 B) The module is not loaded and the kernel has not seen the NIC. After doing ''modprobe -r broadcom' and 'modprobe -r tg3' and then, 'modprobe broadcom' and 'modprobe tg3' ifconfig lists: eth0Link encap:Ethernet HWaddr 78:2b:cb:ad:9e:47 inet addr:192.168.2.15 Bcast:192:168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1727 errors:0 dropped:0 overruns:0 frame:0 TX packets:908 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1826702 (1.7 MiB) TX bytes:67525 (65.9 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:46 errors:0 dropped:0 overruns:0 frame:0 TX packets:46 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:828 (828.0 B) TX bytes:828 (828.0 B) ifconfig -a lists eth0Link encap:Ethernet HWaddr 78:2b:cb:ad:9e:47 inet addr:192.168.2.15 Bcast:192:168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2024 errors:0 dropped:0 overruns:0 frame:0 TX packets:958 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1846649 (1.7 MiB) TX bytes:70725 (69.0 KiB) lo Link encap:Local Loopback inet
Re: [gentoo-user] Another Install Issue
On 10/16/11 11:29, Matthew Finkel wrote: On Sun, Oct 16, 2011 at 11:05 AM, CJoeB colleen.bea...@gmail.com mailto:colleen.bea...@gmail.com wrote: Also: Are the modules actually loaded before you unload them? Use `modprobe -vr broadcom tg3`. If there is no output, the module was not loaded. Prior to unloading the modules, output from 'modprobe -vr broadcom tg3' is rmmod /lib/modules/2.6.39-gentoo-r3/kernel/drivers/net/tg3.ko Hi Colleen, Looks like broadcom isn't loading at boot. Also, I'm not too familiar with broadcom, but why must you load two modules? I found [1] which sound like your problem (possibly the site you mentioned earlier) which references a similar problem when tg3 is loaded before broadcom. You may have already tried this, but have you tested changing the order in /etc/conf.d/modules? [1] https://bbs.archlinux.org/viewtopic.php?id=110026 - Matt -- Matthew Finkel Tried changing the order of module loading. Didn't change anything! :-( But this was a good idea that I never thought of! Colleen. -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
[gentoo-user]
...Together we can do much more! Lets try this stuff! Please! http://advaita.ad.ohost.de/com.friend.php?otayahoo=95ip1
Re: [gentoo-user] How to cross compile Perl for ARM?
Hi Leho! Thanks for many links, Jude Pereira's work totally missed my search results. In fact I focused on playing with Qemu. First approach was to emulate whole board (using qemu-system-arm) which works so far best of all, but is painfully slow (but not more than other options). As for chrooted environment, I used armv5tel stage3 tarballs available at my university site: http://ftp.fi.muni.cz/pub/linux/gentoo/releases/arm/autobuilds/current-stage3-armv5tel/- it is one of official gentoo mirrors and stage3 tarball contains everything necessary already compiled, including fully operational perl 5.12.3. I had no problems emerging any other packages, but as I said, compilation takes ages. Then I tried to move contents of my emulated folder to my ARM target machine and on the machine try to chroot inside it. No problem with compiling/emerging in chrooted environment directly on target machine, but speed is maybe even lower. The last approach I tried was using binfmt support to be able to run arm binaries on my x64 box without the necessity to emulate whole board - I hoped to have much better performance than when using qemu-system-arm. Unfortunately it seems that qemu-arm does not support some system calls or whatever. I untared stage3 on my x64 machine, chrooted into the folder and tried running emerge - simple arm binaries were running fine, but emerge ended with errors like qemu: Unsupported syscall: 242... And last of all, I started documenting my approach on google sites: https://sites.google.com/site/czernitko/cross-compilation/cross-compiling-perl-for-arm-architecture Peter 2011/10/16 Leho Kraav l...@kraav.com i have managed to cross-compile a pretty complete stage3 for arm i believe with perl-5.10.1 from http://git.overlays.gentoo.org/gitweb/?p=proj/embedded-cross.git;a=tree;f=dev-lang/perl overall the cross-compile experience was a nightmare, esp. re perl and python. many packages obscurely fail, but not enough for you to immediately give up. so it keeps sucking you back in and waste even more time. at the time i discovered that embedded-cross overlay had mostly done all the difficult work for me, but it seems it is no longer updated for recent stuff. i think guys in #gentoo-embedded told me it is a lot of effort to patch these large packages like perl and python to sanely cross-compile, and since i think their product thing didn't work out too well, they weren't going to sink any more time into maintaining for newer versions. but jude pereira i believe is doing something with arm stages at least semi-actively http://judepereira.com/blog/gentoo-linux-uclibc-stage3-2010-for-embedded/and it is definitely a lot of fun booting pretty much full blown gentoo on things like Nokia N8x0 internet tablets https://github.com/slonopotamus/n8x0-overlay
[gentoo-user] Allowable characters for routing table name?
I'm curious: what are the allowable characters for routing tables aliases in /etc/iproute2/rt_tables ? Rgds,
Re: [gentoo-user] Another Install Issue
On Sunday 16 Oct 2011 17:08:45 CJoeB wrote: On 10/16/11 11:29, Matthew Finkel wrote: On Sun, Oct 16, 2011 at 11:05 AM, CJoeB colleen.bea...@gmail.com mailto:colleen.bea...@gmail.com wrote: Also: Are the modules actually loaded before you unload them? Use `modprobe -vr broadcom tg3`. If there is no output, the module was not loaded. Prior to unloading the modules, output from 'modprobe -vr broadcom tg3' is rmmod /lib/modules/2.6.39-gentoo-r3/kernel/drivers/net/tg3.ko Hi Colleen, Looks like broadcom isn't loading at boot. Also, I'm not too familiar with broadcom, but why must you load two modules? I found [1] which sound like your problem (possibly the site you mentioned earlier) which references a similar problem when tg3 is loaded before broadcom. You may have already tried this, but have you tested changing the order in /etc/conf.d/modules? [1] https://bbs.archlinux.org/viewtopic.php?id=110026 - Matt Tried changing the order of module loading. Didn't change anything! :-( But this was a good idea that I never thought of! OK, that leaves the other 2 options I suggested in earlier message. BTW have you tried the latest stable kernel? It may have been patched by now. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Another Install Issue
On 10/16/11 13:37, Mick wrote: On Sunday 16 Oct 2011 17:08:45 CJoeB wrote: On 10/16/11 11:29, Matthew Finkel wrote: On Sun, Oct 16, 2011 at 11:05 AM, CJoeB colleen.bea...@gmail.com mailto:colleen.bea...@gmail.com wrote: Also: Are the modules actually loaded before you unload them? Use `modprobe -vr broadcom tg3`. If there is no output, the module was not loaded. Prior to unloading the modules, output from 'modprobe -vr broadcom tg3' is rmmod /lib/modules/2.6.39-gentoo-r3/kernel/drivers/net/tg3.ko Hi Colleen, Looks like broadcom isn't loading at boot. Also, I'm not too familiar with broadcom, but why must you load two modules? I found [1] which sound like your problem (possibly the site you mentioned earlier) which references a similar problem when tg3 is loaded before broadcom. You may have already tried this, but have you tested changing the order in /etc/conf.d/modules? [1] https://bbs.archlinux.org/viewtopic.php?id=110026 - Matt Tried changing the order of module loading. Didn't change anything! :-( But this was a good idea that I never thought of! OK, that leaves the other 2 options I suggested in earlier message. BTW have you tried the latest stable kernel? It may have been patched by now. My head is starting to spin. I have the latest stable kernel. Someone said that since tg3 is not loading at boot then, I shouldn't have to remove it. However, if I just do 'modprobe tg3', ifconfig just returns the lo interface. If I do 'modprobe -r broadcom' 'modprobe broadcom' and 'modprobe tg3', I still only get the lo interface. The only thing that works is removing both modules and adding them again. I also tried following the openrc document. The only thing that seems to suggest a solution is to add arguments for my modules. I have no idea what those arguments might be and although I tried googling, I didn't really find anything that would point me in the right direction. Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Dennis Ritchie
luis jure writes: hello boys [1], [...] [1] sorry if there are any girls out there, but i think i have never seen any female names on this list... I see one :) Wonko
Re: [gentoo-user] Gentoo Install Issue
CJoeB wrote: On 10/16/11 08:06, James Broadhead wrote: Thanks for the input. This issue is somewhat resolved. On 15 October 2011 23:44, CJoeBcolleen.bea...@gmail.com wrote: (...) If this is your first install, is FrameBuffer (pretty consoles) really a vital component of getting your machine up and running? Not my first install - I've been running Gentoo exclusively since 2004. Framebuffer is not absolutely necessary I guess, but I really would like those penguins! What can I say? I'm female and I like animals! LOL Anyway, I got past the issue I was having where the boot hung. Now, I'm on to another issue. Regards, Colleen Wow, there is a Gentoo lady here. Howdy. tips hat I thought I remembered there being one here but wasn't sure. Dale :-) :-)
Re: [gentoo-user] Gentoo Install Issue
On Sun, 16 Oct 2011 15:14:45 -0500 Dale rdalek1...@gmail.com wrote: CJoeB wrote: On 10/16/11 08:06, James Broadhead wrote: Thanks for the input. This issue is somewhat resolved. On 15 October 2011 23:44, CJoeBcolleen.bea...@gmail.com wrote: (...) If this is your first install, is FrameBuffer (pretty consoles) really a vital component of getting your machine up and running? Not my first install - I've been running Gentoo exclusively since 2004. Framebuffer is not absolutely necessary I guess, but I really would like those penguins! What can I say? I'm female and I like animals! LOL Anyway, I got past the issue I was having where the boot hung. Now, I'm on to another issue. Regards, Colleen Wow, there is a Gentoo lady here. Howdy. tips hat I thought I remembered there being one here but wasn't sure. Colleen's been here longer than I have :-) -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Another Install Issue
Am 16.10.2011 21:19, schrieb CJoeB: On 10/16/11 13:37, Mick wrote: On Sunday 16 Oct 2011 17:08:45 CJoeB wrote: On 10/16/11 11:29, Matthew Finkel wrote: On Sun, Oct 16, 2011 at 11:05 AM, CJoeB colleen.bea...@gmail.com mailto:colleen.bea...@gmail.com wrote: Also: Are the modules actually loaded before you unload them? Use `modprobe -vr broadcom tg3`. If there is no output, the module was not loaded. Prior to unloading the modules, output from 'modprobe -vr broadcom tg3' is rmmod /lib/modules/2.6.39-gentoo-r3/kernel/drivers/net/tg3.ko Hi Colleen, Looks like broadcom isn't loading at boot. Also, I'm not too familiar with broadcom, but why must you load two modules? I found [1] which sound like your problem (possibly the site you mentioned earlier) which references a similar problem when tg3 is loaded before broadcom. You may have already tried this, but have you tested changing the order in /etc/conf.d/modules? [1] https://bbs.archlinux.org/viewtopic.php?id=110026 - Matt Tried changing the order of module loading. Didn't change anything! :-( But this was a good idea that I never thought of! OK, that leaves the other 2 options I suggested in earlier message. BTW have you tried the latest stable kernel? It may have been patched by now. My head is starting to spin. I have the latest stable kernel. Someone said that since tg3 is not loading at boot then, I shouldn't have to remove it. However, if I just do 'modprobe tg3', ifconfig just returns the lo interface. If I do 'modprobe -r broadcom' 'modprobe broadcom' and 'modprobe tg3', I still only get the lo interface. The only thing that works is removing both modules and adding them again. If it is still this bug [1], then it makes sense that the order in which the modules are loaded is important. I can't say I really understand what is going, though. I've also checked the mainline kernel sources. Neither module was updated since 2007. I also tried following the openrc document. The only thing that seems to suggest a solution is to add arguments for my modules. I have no idea what those arguments might be and although I tried googling, I didn't really find anything that would point me in the right direction. You can find out available options using /sbin/modinfo. [1] https://bugzilla.redhat.com/show_bug.cgi?id=525966 Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] My X11 mouse icons have acquired unwanted borders. Help!
On Sun, Oct 16, 2011 at 03:41:32PM +0200, Jesús J. Guerrero Botella wrote: 2011/10/16 Alan Mackenzie a...@muc.de: On Sun, Oct 16, 2011 at 01:41:21PM +0200, Jesús J. Guerrero Botella wrote: That probably confirms it's not a gnome issue. The cursor is an X thing, in any case. Also, did you update the driver (whatever it is) recently? Ah. I synched yesterday, and a massive number of packages were updated, among them xorg-drivers. That'll be it, I suppose. That package is kind of a wrapper around the driver packages, which are many. You install xorg-drivers as a dependency of xorg-server, and depending on your VIDEO_CARDS settings in make.conf the relevant driver packages are also pushed as dependencies into your system. My setting is 'VIDEO_CARDS=radeonhd radeon'. I've got two there because I was never sure which one was the right one. I've got a card based on a Radeon HD4550 ;-( Presumably I can configure these drivers somewhere, perhaps in ~/.xinitrc? Is there any documentation for this? Let us know what your driver is ... Not quite sure what you mean here. Do you mean my VIDEO_CARDS? Other than that, I've got two binary blobs in my kernel, radeon/R600_rlc.bin and radeon/R700_rlc.bin. (Again, I'm not sure which is the correct one.) ... so we can give more concrete details. But video drivers, just like any other thing that's part of X, can be configured at /etc/X11/xorg.conf or, more recently, in separate files under /etc/X11/xorg.conf.d/. I'll go for a monolithic config rather than a fragmented one. :-) Some drivers (like, again, the nvidia binary one) do ship tools that can help you configure the driver by writing to these files via a GUI frontend. The concrete options that you can put into this files depend on the concrete driver. For example, the man page for my driver (xf86-video-ati) can be seen by using # man radeon There I can see all the available options. If you let us know what driver are you using, then maybe someone who's familiar with your driver can provide you with more accurate help. -- Jesús Guerrero Botella -- Alan Mackenzie (Nuremberg, Germany).
Re: [gentoo-user] Gentoo Install Issue
On 10/16/11 16:19, Alan McKinnon wrote: On Sun, 16 Oct 2011 15:14:45 -0500 Dale rdalek1...@gmail.com wrote: CJoeB wrote: On 10/16/11 08:06, James Broadhead wrote: Thanks for the input. This issue is somewhat resolved. On 15 October 2011 23:44, CJoeBcolleen.bea...@gmail.com wrote: (...) If this is your first install, is FrameBuffer (pretty consoles) really a vital component of getting your machine up and running? Not my first install - I've been running Gentoo exclusively since 2004. Framebuffer is not absolutely necessary I guess, but I really would like those penguins! What can I say? I'm female and I like animals! LOL Anyway, I got past the issue I was having where the boot hung. Now, I'm on to another issue. Regards, Colleen Wow, there is a Gentoo lady here. Howdy. tips hat I thought I remembered there being one here but wasn't sure. Colleen's been here longer than I have :-) Maybe, but I'm not as technical as some of you guys. I just have an affection for computers and I'm a control freak - that's why I like Gentoo! :-) -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
[gentoo-user] Re: How to cross compile Perl for ARM?
czernitko czernitko at gmail.com writes: Hello!I started playing a little bit with cross compilation for ARM architecture. Using crossdev I created a toolchain for arm-none-linux-gnueabi tuple.Now I'd like to emerge some more packages, but perl constantly refuses to emerge and it is needed by many packages. You have the right idea using the gentoo embedded handbook as your guide. http://www.gentoo.org/proj/en/base/embedded/handbook/ You may want to join/post to the gentoo-embedded list where you'll find much more expertise on ARM and cross-compiling issues. hth, James
Re: [gentoo-user] Gentoo Install Issue
On Sun, 16 Oct 2011 22:19:27 +0200, Alan McKinnon wrote: Colleen's been here longer than I have :-) You shouldn't make such statements about a lady :P -- Neil Bothwick Lottery: A tax on people who are bad at math. signature.asc Description: PGP signature
Re: [gentoo-user] Another Install Issue
On Sun, 16 Oct 2011 10:52:51 -0400, CJoeB wrote: I couldn't do lshw because I had to install it and there was an error during the build. Something about a gui and I don't have x installed yet. USE=-gtk emerge -1 lshw -- Neil Bothwick Top Oxymorons Number 32: Living dead signature.asc Description: PGP signature
Re: [gentoo-user] Another Install Issue
On Sun, 16 Oct 2011 17:02:08 +0100, Mick wrote: As I said above the kernel ought to manage the order in which the modules and dependencies are loaded. Would building one modules into the kernel and the other as a module solve (well, kludge) the loading order problem? -- Neil Bothwick Every time I jump on the bandwagon all its wheels fall off. signature.asc Description: PGP signature
Re: [gentoo-user] Gentoo Install Issue
On Sun, 16 Oct 2011 22:22:30 +0100 Neil Bothwick n...@digimed.co.uk wrote: On Sun, 16 Oct 2011 22:19:27 +0200, Alan McKinnon wrote: Colleen's been here longer than I have :-) You shouldn't make such statements about a lady :P True, but I'm a geek :-) Social subtleties (and even manners as a whole) is something that goes right over my head -- Alan McKinnnon alan.mckin...@gmail.com
Re: [gentoo-user] Dennis Ritchie
on 2011-10-16 at 22:03 Alex Schuster wrote: [1] sorry if there are any girls out there, but i think i have never seen any female names on this list... I see one :) yes, so do i, now, after sending my last message... sorry, colleen, i hadn't noticed you before. are you new on the list?
Re: [gentoo-user] Gentoo Install Issue
On 10/16/11 17:22, Neil Bothwick wrote: On Sun, 16 Oct 2011 22:19:27 +0200, Alan McKinnon wrote: Colleen's been here longer than I have :-) You shouldn't make such statements about a lady :P That gave me a huge laugh! Good considering the trials and tribulations I've gone through with my networking issue. However, Alan could possibly be right! I ain't no spring chicken! LOL Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Dennis Ritchie
luis jure writes: on 2011-10-16 at 22:03 Alex Schuster wrote: [1] sorry if there are any girls out there, but i think i have never seen any female names on this list... I see one :) yes, so do i, now, after sending my last message... sorry, colleen, i hadn't noticed you before. are you new on the list? You'd be surprised :-) Wonko
Re: [gentoo-user] Another Install Issue
On 10/16/11 17:24, Neil Bothwick wrote: On Sun, 16 Oct 2011 17:02:08 +0100, Mick wrote: As I said above the kernel ought to manage the order in which the modules and dependencies are loaded. Would building one modules into the kernel and the other as a module solve (well, kludge) the loading order problem? Tried building tg3 directly into the kernel. It didn't help. :-( Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Another Install Issue
On Sunday 16 Oct 2011 22:24:17 Neil Bothwick wrote: On Sun, 16 Oct 2011 17:02:08 +0100, Mick wrote: As I said above the kernel ought to manage the order in which the modules and dependencies are loaded. Would building one modules into the kernel and the other as a module solve (well, kludge) the loading order problem? I don't know really - but it would be something that I would try if I had this problem. The only other thing is a local init script to do the deed. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: My X11 mouse icons have acquired unwanted borders. Help!
2011/10/16 Nikos Chantziaras rea...@arcor.de: On 10/16/2011 04:41 PM, Jesús J. Guerrero Botella wrote: 2011/10/16 Alan Mackenziea...@muc.de: Hi, Jesús. On Sun, Oct 16, 2011 at 01:41:21PM +0200, Jesús J. Guerrero Botella wrote: Does this happen on other WMs as well? Yes, it happens on xfce, too. That probably confirms it's not a gnome issue. The cursor is an X thing, in any case. Er, the used mouse pointer can be configured by almost any DE. You don't need to mess with X config files. And I'm pretty sure it's not just KDE that offers a GUI config dialog for this. I assumed that the problem of the OP is not that s/he's not able to set a pointer theme. Maybe I was wrong in that assumption. If that's the case then this can be easily sorted out by opening the gnome control center as you said, and setting the mouse theme. There are many themes in the portage tree as well. It can be set manually in ~/.Xdefaults as well. OR just by putting the theme in /usr/share/icons/default/ or ~/.icons/default/, if my memory serves correctly. You can pick any mouse pointer theme from {gnome,kde}-look as well and install it as described. I have no idea if the default X pointer theme has changed lately. -- Jesús Guerrero Botella
Re: [gentoo-user] Dennis Ritchie
on 2011-10-16 at 23:54 Alex Schuster wrote: luis jure writes: sorry, colleen, i hadn't noticed you before. are you new on the list? You'd be surprised :-) oops, i see! sorry again!
Re: [gentoo-user] My X11 mouse icons have acquired unwanted borders. Help!
2011/10/16 Alan Mackenzie a...@muc.de: On Sun, Oct 16, 2011 at 03:41:32PM +0200, Jesús J. Guerrero Botella wrote: 2011/10/16 Alan Mackenzie a...@muc.de: Your doubts come to an end. radeonhd is dead, completely, unless some necromancy has happened secretly in the last months. You should by all means be using radeon, not radeonhd. But don't take my word for it, just read their home page: http://www.x.org/wiki/radeonhd Not quite sure what you mean here. Do you mean my VIDEO_CARDS? Other than that, I've got two binary blobs in my kernel, radeon/R600_rlc.bin and radeon/R700_rlc.bin. (Again, I'm not sure which is the correct one.) That's firmware, other than having it installed, you don't need to worry about that. Your driver will be picked by X if you don't have an Xorg.conf file. I am not sure what the order of precedence is when looking for drivers, but I'd expect radeon to take over radeonhd. Your log file (usually at /var/log/Xorg.0.log) should clear everything up. But before continuing this way, please, read the other mail I just sent as response to Nikos above. Maybe all you need is to find how to set the mouse pointer theme. Did you try changing it? Since I didn't see your problem myself I have no idea if there's something unusual in the way that X is displaying your pointer or if it's just that you don't like the look of it. -- Jesús Guerrero Botella
Re: [gentoo-user] Gentoo Install Issue
On Sunday 16 Oct 2011 22:56:36 CJoeB wrote: On 10/16/11 17:22, Neil Bothwick wrote: On Sun, 16 Oct 2011 22:19:27 +0200, Alan McKinnon wrote: Colleen's been here longer than I have :-) You shouldn't make such statements about a lady :P That gave me a huge laugh! Good considering the trials and tribulations I've gone through with my networking issue. However, Alan could possibly be right! I ain't no spring chicken! LOL Colleen There were two women still active on the list on the last count, Colleen being one of them. There were a couple more back in 2004/05 but have dropped off since and so has my memory! Can't recall their names. :-( -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Another Install Issue
On Sunday 16 Oct 2011 23:04:00 CJoeB wrote: On 10/16/11 17:24, Neil Bothwick wrote: On Sun, 16 Oct 2011 17:02:08 +0100, Mick wrote: As I said above the kernel ought to manage the order in which the modules and dependencies are loaded. Would building one modules into the kernel and the other as a module solve (well, kludge) the loading order problem? Tried building tg3 directly into the kernel. It didn't help. :-( Try building both broadcom and tg3 directly into the kernel. If upon reboot that doesn't work build broadcom in the kernel and tg3 as a module. If nothing else works, set up Florian's recommended init.d script and that should sort it out. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Another Install Issue
Am 16.10.2011 12:18, schrieb Mick: On Sunday 16 Oct 2011 11:05:55 Florian Philipp wrote: Am 16.10.2011 01:05, schrieb CJoeB: Hi everyone, Well, thanks to the help I got from the list, I finally have Gentoo installed on my new desktop and booting to a command prompt. However, now I have a networking issue. In past, when I booted to the install CD and my ethernet connection was not active, I typed net-setup eth0 and was able to set it up. This time, when I booted to the install CD and typed net-setup eth0, the network card was not recognized. I googled and found a post where someone said that they had to 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run net-setup. I did this and then ifconfig returned my eth0 connection. Of course, later you have to do the cp -L /etc/resolv.conf /mnt/gentoo/etc/ which I did and dhcpcd has been added to my default runlevel. However, when I boot, eth0 does not start. I can start it manually by doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe broadcom' and 'modprobe tg3' However, I would like to have my network started automatically. I do have config_eth0=dhcp in my /etc/conf.d/net file Any suggestions? Colleen Hmm, a workaround would be a custom init script. Copy the following code into a new file in /etc/init.d (let's say /etc/init.d/broadcom-fix): #!/sbin/runscript description=Reload broadcom and tg3 modules to work around kernel bug depend() { before net after modules } start() { ebegin Reloading broadcom and tg3 modules modprobe -r broadcom tg3 modprobe broadcom modprobe tg3 eend $? Failed to reload modules } Make it executable (chmod 755) and add it to the default run level (rc-update add broadcom-fix default). Better try to start it manually before rebooting so you can be sure it works as expected. Hope this helps, Florian Philipp This would be a workaround - the question is why does the module need to be removed and reinstalled manually? Why isn't the kernel loading it at boot time? I agree that the problem should be solved but just in case Colleen wants to continue with his installation (I know, he is installing Gentoo for the first time so I doubt he values his time very high ;-) ), I suggest he either implements my proposal outlined above or adds similar code to /etc/conf.d/net: preup() { if [ $IFACE = eth0 ]; then ebegin Reloading broadcom and tg3 modules modprobe -r foo bar modprobe broadcom modprobe tg3 ewend $? Failed to reload modules fi return 0 } signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Another Install Issue
Florian Philipp is not up to date yet: I agree that the problem should be solved but just in case Colleen wants to continue with his installation (I know, he is installing Gentoo for ~~~ ~~~ the first time so I doubt he values his time very high ;-) ), I suggest ~~~~~~~ Read the rest of this thread, you'll be quite surprised :-) Wonko
Re: [gentoo-user] Gentoo Install Issue
On 10/16/11 16:19, Alan McKinnon wrote: On Sun, 16 Oct 2011 15:14:45 -0500 Dale rdalek1...@gmail.com wrote: CJoeB wrote: On 10/16/11 08:06, James Broadhead wrote: Thanks for the input. This issue is somewhat resolved. On 15 October 2011 23:44, CJoeBcolleen.bea...@gmail.com wrote: (...) Not my first install - I've been running Gentoo exclusively since 2004. Framebuffer is not absolutely necessary I guess, but I really would like those penguins! What can I say? I'm female and I like animals! LOL Well, still no penguins, but I won't belabour that issue. However, something is still screwy, methinks! I got X installed and kdebase-meta (haven't gone farther than that) without much of an issue. However, now when I exit my xsession, the screen goes fuzzy coloured before the scrolling of the services shutting down starts. I can live with this, but if anyone has any ideas, let me know. BTW, I had forgotten to run 'eselect opengl set ati' which I've always done when configuring X. However, when I do this, it returns 'Unrecognized option: ati' You all are probably thinking I'm nuts now, but I thought this my solve the issue as stated about. I've checked an rechecked the Gentoo ATI Guide and I've done everything it says. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Another Install Issue
On 10/16/11 18:23, Mick wrote: On Sunday 16 Oct 2011 23:04:00 CJoeB wrote: On 10/16/11 17:24, Neil Bothwick wrote: On Sun, 16 Oct 2011 17:02:08 +0100, Mick wrote: As I said above the kernel ought to manage the order in which the modules and dependencies are loaded. Would building one modules into the kernel and the other as a module solve (well, kludge) the loading order problem? Tried building tg3 directly into the kernel. It didn't help. :-( Try building both broadcom and tg3 directly into the kernel. If upon reboot that doesn't work build broadcom in the kernel and tg3 as a module. If nothing else works, set up Florian's recommended init.d script and that should sort it out. I'll try the initscript. Hopefully, the issue will be solved when I can get another kernel. Thanks for all the help, guys! :-) Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Gentoo Install Issue
BTW, I had forgotten to run 'eselect opengl set ati' which I've always done when configuring X. However, when I do this, it returns 'Unrecognized option: ati' You all are probably thinking I'm nuts now, but I thought this my solve the issue as stated about. I've checked an rechecked the Gentoo ATI Guide and I've done everything it says. Try eselect opengl list to show what's available. IIRC ati will use fglrx. There may be an option called radeon, which you can used instead.
Re: [gentoo-user] Gentoo Install Issue
On 10/16/11 20:38, Adam Carter wrote: BTW, I had forgotten to run 'eselect opengl set ati' which I've always done when configuring X. However, when I do this, it returns 'Unrecognized option: ati' You all are probably thinking I'm nuts now, but I thought this my solve the issue as stated about. I've checked an rechecked the Gentoo ATI Guide and I've done everything it says. Try eselect opengl list to show what's available. IIRC ati will use fglrx. There may be an option called radeon, which you can used instead. I had already done this and the only option that is listed is 'xorg-x11 *' The * is actually included in the output and I was too chicken to try this. I don't understand why ati or radeon isn't listed 'cause I followed the Gentoo ATI Guide and X Configuration Guide. Regards, Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Gentoo Install Issue
On Sun, Oct 16, 2011 at 21:46, CJoeB colleen.bea...@gmail.com wrote: On 10/16/11 20:38, Adam Carter wrote: BTW, I had forgotten to run 'eselect opengl set ati' which I've always done when configuring X. However, when I do this, it returns 'Unrecognized option: ati' You all are probably thinking I'm nuts now, but I thought this my solve the issue as stated about. I've checked an rechecked the Gentoo ATI Guide and I've done everything it says. Try eselect opengl list to show what's available. IIRC ati will use fglrx. There may be an option called radeon, which you can used instead. I had already done this and the only option that is listed is 'xorg-x11 *' The * is actually included in the output and I was too chicken to try this. I don't understand why ati or radeon isn't listed 'cause I followed the Gentoo ATI Guide and X Configuration Guide. Is your ati card covered under radeon (classic) or radeonhd? Unless you need hardware 3d, fglrx is too much effort. More bitchy than nvidia, too. (Unselect 'Use OpenGL' v2 in Destkop Effects-Advanced to keep kwin from crashing). Also, LXDE looks prettier than KDE4 without OpenGL, and XRender disables half the plugins because they require OpenGL. A prime example of this is the desktop cube. -- m0shbear
Re: [gentoo-user] Gentoo Install Issue
The * is actually included in the output and I was too chicken to try this. I don't understand why ati or radeon isn't listed 'cause I followed the Gentoo ATI Guide and X Configuration Guide. Do you have the opengl USE flag set? SNIP, fglrx is too much effort. fglrx is no trouble at all, but you need to be running a recent card as it doesn't support the older chipsets.
[gentoo-user] libpng15: fltk graphicsmagick failed to build
Hi, after updating to lipng15 and rebuilding all needed stuff, fltk and graphicsmagick exhibit build failures: === FLTK === Compiling FileIcon2.cxx... Compiling Fl_Guess_Image.cxx... Compiling fl_jpeg.cxx... Compiling fl_png.cxx... fl_png.cxx: In member function ‘virtual bool fltk::pngImage::fetch()’: fl_png.cxx:114:7: error: invalid use of incomplete type ‘struct png_struct’ /usr/include/png.h:830:16: error: forward declaration of ‘struct png_struct’ make[1]: *** [fl_png.o] Error 1 make: *** [all] Error 2 emake failed * ERROR: x11-libs/fltk-2.0_pre6970 failed (compile phase): * make failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3146: Called die * The specific snippet of code: * emake || die make failed; * === GRAPHICSMAGICK === mv -f coders/.deps/coders_jp2_la-jp2.Tpo coders/.deps/coders_jp2_la-jp2.Plo /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 -march=native -O2 -pipe -msse3 -Wall -no-undefined -export-symbols-regex .* -shared -module -avoid-version -Wl,-O1 -Wl,--as-needed -o coders/jp2.la -rpath /usr/lib64/GraphicsMagick-1.3.12/modules-Q8/coders coders/coders_jp2_la-jp2.lo magick/libGraphicsMagick.la -ljasper -ljpeg -lm libtool: link: /usr/bin/nm -B coders/.libs/coders_jp2_la-jp2.o | sed -n -e 's/^.*[]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq coders/.libs/jp2.exp libtool: link: /bin/grep -E -e .* coders/.libs/jp2.exp coders/.libs/jp2.expT libtool: link: mv -f coders/.libs/jp2.expT coders/.libs/jp2.exp libtool: link: echo { global: coders/.libs/jp2.ver libtool: link: cat coders/.libs/jp2.exp | sed -e s/\(.*\)/\1;/ coders/.libs/jp2.ver libtool: link: echo local: *; }; coders/.libs/jp2.ver libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared coders/.libs/coders_jp2_la-jp2.o -Wl,-rpath -Wl,/var/tmp/portage/media-gfx/graphicsmagick-1.3.12/work/GraphicsMagick-1.3.12/magick/.libs magick/.libs/libGraphicsMagick.so -L/usr/lib64 -lXext /usr/lib64/libSM.so -luuid /usr/lib64/libICE.so -lX11 -lbz2 -lz /usr/lib64/libltdl.so -ldl -ljasper -ljpeg -lm -march=native -msse3 -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,jp2.so -Wl,-version-script -Wl,coders/.libs/jp2.ver -o coders/.libs/jp2.so libtool: link: ( cd coders/.libs rm -f jp2.la ln -s ../jp2.la jp2.la ) /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./magick -march=native -O2 -pipe -msse3 -Wall -MT coders/coders_png_la-png.lo -MD -MP -MF coders/.deps/coders_png_la-png.Tpo -c -o coders/coders_png_la-png.lo `test -f 'coders/png.c' || echo './'`coders/png.c libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./magick -march=native -O2 -pipe -msse3 -Wall -MT coders/coders_png_la-png.lo -MD -MP -MF coders/.deps/coders_png_la-png.Tpo -c coders/png.c -fPIC -DPIC -o coders/.libs/coders_png_la-png.o coders/png.c: In function ‘PNGErrorHandler’: coders/png.c:1354:15: error: dereferencing pointer to incomplete type coders/png.c: In function ‘ReadOnePNGImage’: coders/png.c:1668:7: error: dereferencing pointer to incomplete type coders/png.c:1752:16: error: dereferencing pointer to incomplete type coders/png.c:1754:21: error: dereferencing pointer to incomplete type coders/png.c:1764:53: error: dereferencing pointer to incomplete type coders/png.c:1765:53: error: dereferencing pointer to incomplete type coders/png.c:1768:38: error: dereferencing pointer to incomplete type coders/png.c:1768:61: error: dereferencing pointer to incomplete type coders/png.c:1771:38: error: dereferencing pointer to incomplete type coders/png.c:1774:38: error: dereferencing pointer to incomplete type coders/png.c:1774:64: error: dereferencing pointer to incomplete type coders/png.c:1778:16: error: dereferencing pointer to incomplete type coders/png.c:1791:27: warning: passing argument 5 of ‘png_get_iCCP’ from incompatible pointer type /usr/include/png.h:2235:1: note: expected ‘png_bytepp’ but argument is of type ‘char **’ coders/png.c:1843:16: error: dereferencing pointer to incomplete type coders/png.c:1871:14: error: dereferencing pointer to incomplete type coders/png.c:1873:14: error: dereferencing pointer to incomplete type coders/png.c:1875:44: error: dereferencing pointer to incomplete type coders/png.c:1888:16: error: dereferencing pointer to incomplete type coders/png.c:1932:20: error: dereferencing pointer to incomplete type coders/png.c:1936:16: error: dereferencing pointer to incomplete type coders/png.c:1945:42: error: dereferencing pointer to incomplete type coders/png.c:1952:30: error: dereferencing pointer to incomplete type coders/png.c:1969:28: error: dereferencing pointer to incomplete type coders/png.c:1979:47: error: dereferencing pointer to incomplete type coders/png.c:1998:48: error: dereferencing pointer to incomplete type coders/png.c:2000:16: error:
Re: [gentoo-user] Gentoo Install Issue
CJoeB wrote: On 10/16/11 16:19, Alan McKinnon wrote: On Sun, 16 Oct 2011 15:14:45 -0500 Dalerdalek1...@gmail.com wrote: CJoeB wrote: On 10/16/11 08:06, James Broadhead wrote: Thanks for the input. This issue is somewhat resolved. On 15 October 2011 23:44, CJoeBcolleen.bea...@gmail.com wrote: (...) If this is your first install, is FrameBuffer (pretty consoles) really a vital component of getting your machine up and running? Not my first install - I've been running Gentoo exclusively since 2004. Framebuffer is not absolutely necessary I guess, but I really would like those penguins! What can I say? I'm female and I like animals! LOL Anyway, I got past the issue I was having where the boot hung. Now, I'm on to another issue. Regards, Colleen Wow, there is a Gentoo lady here. Howdy. tips hat I thought I remembered there being one here but wasn't sure. Colleen's been here longer than I have :-) Maybe, but I'm not as technical as some of you guys. I just have an affection for computers and I'm a control freak - that's why I like Gentoo! :-) That's funny. Sort of the same here. First time that init thingy fails tho, I may be cured of my control issues. Then I can go back to a binary distro. lol Dale :-) :-)
Re: [gentoo-user] Gentoo Install Issue
On Sun, Oct 16, 2011 at 22:06, Adam Carter adamcart...@gmail.com wrote: The * is actually included in the output and I was too chicken to try this. I don't understand why ati or radeon isn't listed 'cause I followed the Gentoo ATI Guide and X Configuration Guide. Do you have the opengl USE flag set? SNIP, fglrx is too much effort. fglrx is no trouble at all, but you need to be running a recent card as it doesn't support the older chipsets. It was too buggy for my tastes.