Re: [gentoo-user] seq24 fails to comoile
Walter Dnes [10-10-07 07:32]: > On Thu, Oct 07, 2010 at 04:43:55AM +0200, meino.cra...@gmx.de wrote > > > = > > System Settings > > = > > > > CFLAGS="-march=amdfam10 -O2 -pipe -msse3" > > Let the compiler figure out the CPU. Change that line to... > CFLAGS="-march=native -O2 -pipe" > > > CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3" > > The recommended way of doing things here is... > > CXXFLAGS="${CFLAGS}" > > ...which exactly copies whatever settings you have there. > Synchronization between CFLAGS and CXXFLAGS becomes automatic this way. > > > MAKEOPTS="-j 12" > > Agh No!!! That's probably your problem right there. > The recommendation in the manual is N+1, where N == number of cores. Do > you have 11 or more cores? I find that even that isn't always safe. I > set... > > MAKEOPTS="-j 1" > > and it solves quite a few problems. Note that the final binary is just > as fast, regardless of that setting. The compile speed is somewhat > faster with a higher number. But you quickly lose any "time savings" > from that, the first time you waste several hours trying to figure out > why something isn't compiling. MAKEOPTS="-j 1" should be mandatory. > > -- > Walter Dnes > Hi Walter, thank you for your help, I made the changes you suggested and now got an different error ... it still does not compile. Here is the output: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.-pthread -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -Wall -march=native -O2 -pipe -msse3 -MT mainwnd.o -MD -MP -MF .deps/mainwnd.Tpo -c -o mainwnd.o mainwnd.cpp mainwnd.cpp: In member function 'void mainwnd::file_import_dialog()': mainwnd.cpp:531: error: invalid conversion from 'Gtk::ButtonBox*' to 'Gtk::HButtonBox*' make[2]: *** [mainwnd.o] Error 1 To not to pollute the mailing list again with a dozen of outputs and logs I haven't attached those to this different posting. If you need a certain file/log/output or whatever to fix this, please let me now! :) Best regards, mcc
Re: [gentoo-user] seq24 fails to comoile
On Thu, Oct 07, 2010 at 04:43:55AM +0200, meino.cra...@gmx.de wrote > = > System Settings > = > CFLAGS="-march=amdfam10 -O2 -pipe -msse3" Let the compiler figure out the CPU. Change that line to... CFLAGS="-march=native -O2 -pipe" > CXXFLAGS="-march=amdfam10 -O2 -pipe -msse3" The recommended way of doing things here is... CXXFLAGS="${CFLAGS}" ...which exactly copies whatever settings you have there. Synchronization between CFLAGS and CXXFLAGS becomes automatic this way. > MAKEOPTS="-j 12" Agh No!!! That's probably your problem right there. The recommendation in the manual is N+1, where N == number of cores. Do you have 11 or more cores? I find that even that isn't always safe. I set... MAKEOPTS="-j 1" and it solves quite a few problems. Note that the final binary is just as fast, regardless of that setting. The compile speed is somewhat faster with a higher number. But you quickly lose any "time savings" from that, the first time you waste several hours trying to figure out why something isn't compiling. MAKEOPTS="-j 1" should be mandatory. -- Walter Dnes
Re: [gentoo-user] Re: firefox-bin optimizations?
On Tue, Oct 05, 2010 at 11:27:54PM -0400, Walter Dnes wrote > Looks like I can tweak stuff in the ebuild via "mozconfig_annotate" > lines, and then... > > ebuild firefox-3.6.9.ebuild manifest > emerge firefox Something isn't working. I put in mozconfig_annotate '' --disable-pango mozconfig_annotate '' --disable-oji --disable-mathml into the ebuild (a copy in my local overlay) and ebuild-manifested it. Portage said it was building from the overlay, but "about:buildconfig" shows them as being enabled. I have been able to --disable-necko-wifi (WTF is *THAT* in a browser, fercryingoutloud?). Any ideas? A long time ago, in a place far away, I used to build Mozilla 0.9x "the hard way", because the downloadable binary was painfully slow on my machine. And later on Phoenix 0.9x (remember that?). I've forgotten most of what I learned, but I can follow the instructions at https://developer.mozilla.org/En/Simple_Firefox_build I have a couple of questions before proceeding... 1) what do I have to set to force all files to be installed in /opt or in /usr/local ? 2) I've got 8 gigs of ram. How do I force the compiler to use /dev/shm as the scratch directory ? -- Walter Dnes
[gentoo-user] Re: Firefox and Thunderbird spell-checker is offering too many languages
On 10/06/2010 09:58 PM, Dale wrote: Nikos Chantziaras wrote: The list of spell-check languages offered by Firefox and Thunderbird looks like this: English (AU) English (CA) English (GB) English (GB-oed) English (NZ) English (US) English (ZA) German (DE) Greek (GR) All this English stuff needs to do away, I only want English (US). Is there a way to do that? I have this set in my make.conf. LINGUAS="en_US en" LANG="en_US" LC_ALL="en_US.utf8" Do you have something close to this as well? I can't think of anything else at the moment. Maybe someone else will post a different idea. No, that's not it. I have LINGUAS="en_US en" in my make.conf too. I found out that Firefox now uses hunspell for spell checking. Maybe that has something to do with it. So I guess the question now should be how to tell hunspell to only offer the US-English dictionary.
Re: [gentoo-user] text in xterm
On Thu, Oct 7, 2010 at 5:57 AM, James wrote: > Folks, > > I have an interesting problem -- not sure what's causing it. > > Using xfce4 + compiz -- nothing too fancy. When I open an xterm and > start typing, I start getting 'artifacts' (specifically green lines > between the various letters I'm trying) in my xterm. > What video hardware and driver are you using?
Re: [gentoo-user] IP aliasing problem
>> I'm confused because I have in apache2 config: >> >> >> ... >> SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt >> SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key >> ... >> >> >> ... >> SSLCertificateFile /etc/apache2/ssl/www.example2.com.crt >> SSLCertificateKeyFile /etc/apache2/ssl/www.example2.com.key >> ... >> >> >> But if I request https://1.2.3.2 or https://1.2.3.2:443, I'm presented >> with an SSL cert that has www.example1.com for the Common Name. I >> used openssl to verify that the Common Name for www.example2.com.crt >> is www.example2.com. > > Make sure you don't have SSLCertificateFile/SSLCertificateKeyFile > defined anywhere outside of the virtual hosts. It was ServerName. I had ServerName defined as www.example1.com in /etc/apache2/vhosts.d/default_vhost.include. I removed it from there and added it to each of my SSL VirtualHost blocks and now everything works. I noticed that removing ServerName entirely works for Firefox, but in that case SSL wouldn't work for either domain in Opera. I thought ServerName was just a label like ServerAdmin. Should I be OK only having it defined in each of my SSL VirtualHost blocks? Thanks a lot for everyone's help with this. You helped me realize it was an apache2 config problem. - Grant
[gentoo-user] seq24 fails to comoile
Hi, The application seq24 fails to compile on my recent Gentoo AMD64 system. The screen says: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.-pthread -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -Wall -march=amdfam10 -O2 -pipe -msse3 -MT seqevent.o -MD -MP -MF .deps/seqevent.Tpo -c -o seqevent.o seqevent.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.-pthread -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -Wall -march=amdfam10 -O2 -pipe -msse3 -MT seqkeys.o -MD -MP -MF .deps/seqkeys.Tpo -c -o seqkeys.o seqkeys.cpp make[2]: *** [mainwnd.o] Error 1 make[2]: *** Waiting for unfinished jobs perform.cpp: In member function 'void perform::output_func()': perform.cpp:1152: warning: unused variable 'jack_ticks_converted' perform.cpp:1153: warning: unused variable 'jack_ticks_converted_last' perform.cpp:1154: warning: unused variable 'jack_ticks_delta' perform.cpp: In member function 'void perform::add_sequence(sequence*, int)': perform.cpp:353: warning: array subscript is below array bounds mv -f .deps/options.Tpo .deps/options.Po mv -f .deps/perform.Tpo .deps/perform.Po mv -f .deps/perftime.Tpo .deps/perftime.Po mv -f .deps/perfnames.Tpo .deps/perfnames.Po mv -f .deps/seqdata.Tpo .deps/seqdata.Po mv -f .deps/seqkeys.Tpo .deps/seqkeys.Po mv -f .deps/seqevent.Tpo .deps/seqevent.Po mv -f .deps/perfroll.Tpo .deps/perfroll.Po mv -f .deps/seq24.Tpo .deps/seq24.Po mv -f .deps/perfedit.Tpo .deps/perfedit.Po mv -f .deps/seqedit.Tpo .deps/seqedit.Po make[2]: Leaving directory `/var/tmp/portage/media-sound/seq24-0.9.0/work/seq24-0.9.0/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/media-sound/seq24-0.9.0/work/seq24-0.9.0/src' make: *** [all-recursive] Error 1 * ERROR: media-sound/seq24-0.9.0 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2312: Called _eapi2_src_compile * ebuild.sh, line 646: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =media-sound/seq24-0.9.0', * the complete build log and the output of 'emerge -pqv =media-sound/seq24-0.9.0'. * The complete build log is located at '/var/tmp/portage/media-sound/seq24-0.9.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/seq24-0.9.0/temp/environment'. * S: '/var/tmp/portage/media-sound/seq24-0.9.0/work/seq24-0.9.0' >>> Failed to emerge media-sound/seq24-0.9.0, Log file: >>> '/var/tmp/portage/media-sound/seq24-0.9.0/temp/build.log' solfire:/home/mccramer>emerge --info =media-sound/seq24-0.9.0 zsh: media-sound/seq24-0.9.0 not found emerge -pqv =media-sound/seq24-0.9.0'. * The complete build log is located at '/var/tmp/portage/media-sound/seq24-0.9.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/seq24-0.9.0/temp/environment'. * S: '/var/tmp/portage/media-sound/seq24-0.9.0/work/seq24-0.9.0' >>> Failed to emerge media-sound/seq24-0.9.0, Log file: >>> '/var/tmp/portage/media-sound/seq24-0.9.0/temp/build.log' solfire:/home/mccramer>emerge -pqv "=media-sound/seq24-0.9.0" [ebuild N] media-sound/seq24-0.9.0 USE="-jack -lash" solfire:/home/mccramer>emerge --info "=media-sound/seq24-0.9.0" Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35.7 x86_64) = System Settings = System uname: Linux-2.6.35.7-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-1.12.13 Timestamp of tree: Thu, 07 Oct 2010 01
Re: [gentoo-user] IP aliasing problem
On 10/06/2010 06:17 PM, Grant wrote: > I'm confused because I have in apache2 config: > > > ... > SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt > SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key > ... > > > ... > SSLCertificateFile /etc/apache2/ssl/www.example2.com.crt > SSLCertificateKeyFile /etc/apache2/ssl/www.example2.com.key > ... > > > But if I request https://1.2.3.2 or https://1.2.3.2:443, I'm presented > with an SSL cert that has www.example1.com for the Common Name. I > used openssl to verify that the Common Name for www.example2.com.crt > is www.example2.com. Make sure you don't have SSLCertificateFile/SSLCertificateKeyFile defined anywhere outside of the virtual hosts.
Re: [gentoo-user] Finalizing my backup system
On 10/06/2010 05:43 PM, Grant wrote: > > I see what you're saying but don't I need to use the ssh command in > order to use the rdiff-backup command? > > - Grant > You shouldn't have to, rdiff-backup does it on its own. When you execute e.g., rdiff-backup /home usern...@backup.example.com::home rdiff-backup will connect via SSH and launch that command specified in the authorized keys file. For that to work, you'll need password-less SSH to be the default when connecting to the backup server. Here's what I have in my ~/.ssh/config to force public key auth to backup.example.com: Host backup.example.com Hostname backup.example.com IdentityFile ~/.ssh/backup_rsa IdentitiesOnly yes
Re: [gentoo-user] iwl5000 firmware fails to load
On Thu, Oct 7, 2010 at 5:59 AM, James wrote: > Bump -- just wondering if anyone else has any thoughts or has seen > this in recent system updates. > > Have you verified the permissions on iwlwifi-5000-2.ucode are sensible? Do you want to see my .config? I agree with your reasoning on HAL, and that suggests its a kernel problem. Are you sure you are using the same kernel as before the software updates? If you are then something we think we know to be true, is not. Can you boot from a DVD to verify that the hardware hasnt died? What can you see with lspci or lshw?
[gentoo-user] Re: IP aliasing problem
On 10/06/2010 03:17 PM, Grant wrote: The server is remote and hosted so I don't have any control over the router or network. I've gone back and forth with the host but they insist that everything is fine on their end. Hi Grant. I know less than you about networking, but I am curious about the way you use the word 'host'. I'm guessing that you are paying a third party (maybe some company similar to rackspace.com) to serve your (two?) websites on their hardware? I'm also guessing that the third party is running apache on their own servers, right? These are newbie questions, but I'm hoping to focus our thoughts on the parts of your questions that seem sorta vague to me. I'm also hoping to learn something along the way, of course :)
Re: [gentoo-user] Re: Normal disk speed?
WOW! Those differences are crazy! > > Please - I know benchmarking takes a lot of time - but could you check > something: the behavior those fs have at what time they flush data from > cache to disk is very different. Have you made sure that you measured > the time it really needs? I mean the difference between: > > $ sync; time cp source dest > and > $ sync; time (cp source dest; sync) > > Only the last measures somewhat correctly. > I had noticed that there was, say, 5 seconds of disk activity after the cp command complete which I assumed was buffers getting flushed, but 5 seconds didnt seem that significant overall. I will run the tests as you suggest and post back. Do you think btrfs (with or without compression) would be faster than reiser? If so I will try that as well.
Re: [gentoo-user] IP aliasing problem
- Original Message > Thank you for taking the time to write Stroller. This has really got > my head spinning. First of all, you're right about the netmask. It > is 255.255.255.248. I didn't have a good understanding of what a > netmask is so I thought it would be smart to change it for a public > message. > > The server is remote and hosted so I don't have any control over the > router or network. I've gone back and forth with the host but they > insist that everything is fine on their end. > > I'm confused because I have in apache2 config: > > > ... > SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt > SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key > ... > > > ... > SSLCertificateFile /etc/apache2/ssl/www.example2.com.crt > SSLCertificateKeyFile /etc/apache2/ssl/www.example2.com.key > ... > > > But if I request https://1.2.3.2 or https://1.2.3.2:443, I'm presented > with an SSL cert that has www.example1.com for the Common Name. I > used openssl to verify that the Common Name for www.example2.com.crt > is www.example2.com. > I would suggest setting up separate access and error logs for each virtual host so you can see who is actually getting the connection, and then going from there. That will probably point out your real problem. Ben
Re: [gentoo-user] IP aliasing problem
>> ...I have 5 usable IPs from my host and I've defined 2 of them in >> /etc/conf.d/net like this: > >> >> config_eth0=( >> "1.2.3.1 netmask 255.255.255.0" >> "1.2.3.2 netmask 255.255.255.0" >> ) >> >> My apache2 config is not working as expected and I think its due to a >> networking problem because eth0:1 reports no RX or TX stats: >> >> # ifconfig >> eth0 Link encap:Ethernet HWaddr [removed] >> inet addr:1.2.3.1 Bcast:[removed] Mask:255.255.255.0 >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> RX packets:46047 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:65703 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:6131194 (5.8 MiB) TX bytes:82568335 (78.7 MiB) >> Interrupt:40 >> >> eth0:1 Link encap:Ethernet HWaddr [removed] >> inet addr:1.2.3.2 Bcast:[removed] Mask:255.255.255.0 >> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 >> Interrupt:40 > > It's frustrating that you must conceal the IP addresses during a question > like this, because it makes it harder to know whether you've misconfigured > your host or just made a typo in transcription. It's probably clearer if you > alter only the second octet of your IPs, and leave everything else otherwise > intact. > > However... if you have 5 usable IPs then your subnet mask will not be > 255.255.255.0 - it'll be 255.255.255.248. See http://krow.net/dict/subnet.html > The broadcast address will also be affected. This is also known as a /29 > subnet - IIRC you actually have 8 IPs assigned to you - one of them is used > by the router, one of them is the broadcast, and the other is unused (the way > 192.168.0.0 or 0.0.0.0 is normally unused). > > Since your router has an IP in the same subnet, you'll know this is all > working when you can ping the addresses of your webserver (1.2.3.1 & 1.2.3.2) > from the router. > > Alternatively, set up a second PC - e.g. your laptop - on the > globally-addressable subnet, and try pinging from there. > > The normal situation with a home router is that it has a globally-addressable > IP on it's "WAN" interface and a private IP (192.168.x.y) on its LAN > interface. When you start using your globally-addressable IPs behind the > router you usually need to tell it so, and I'm guessing you haven't done that. > > If your laptop is currently using 192.168.a.b with a default gateway of > 192.168.0.1, then the packets will be sent to the router for routing. And if > the router is in the default configuration usual for home users, it won't > know there's a 1.2.3.z subnet on your LAN, and it'll be trying to route the > packets out into the internet (and those poor little packets will probably > get very confused when they reach your ISP and it sends them back again!). > > You can triple-home by setting eth0:2 to 192.168.c.d, and can (depending on > your bridge/router configuration) continue to use private addresses for > additional machines if you have more hosts on the LAN than you have > globally-addressable IPs. Watch out for default gateway and DNS stuff! You'll > probably want to give your laptop 1 private + 1 global IP whilst you're > testing. > > If your router is a fully-configurable Linux box then say so, and someone > will be able to point you in the right direction for this. It's been a long > time since I messed with this. I'm still using an old Draytek Vigor here, and > this is all done by checking a radio button and pasting IP addressy stuff > into boxes in the web-based configurator. The router has to operate in > bridging mode to do this - on a Linux router you need configure as a bridge > and NOT as a router (or, I think, as both). > http://www.google.com/search?q=bridge+5+usable+ips > > My initial reaction to your question was, "Oh, Grant, this is simple network > stuff", but whilst writing this my memory has been roughly refreshed, and I > realise it's really not terribly simple at all. I'm extremely rusty at all > this, and I'm also very tired, so I'm not going to write any more right now. > > Stroller. Thank you for taking the time to write Stroller. This has really got my head spinning. First of all, you're right about the netmask. It is 255.255.255.248. I didn't have a good understanding of what a netmask is so I thought it would be smart to change it for a public message. The server is remote and hosted so I don't have any control over the router or network. I've gone back and forth with the host but they insist that everything is fine on their end. I'm confused because I have in apache2 config: ... SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key ... ... SSLCertificateFile /etc/apache2/ssl/www.example2.com.crt SSLCertificateKeyFile /etc/apache2/ssl/www.example2.com.key ... But if I request https://1.2.3.2 or https://1.2.3.2:443, I
Re: [gentoo-user] IP aliasing problem
On 6 Oct 2010, at 19:02, Grant wrote: > ...I have 5 usable IPs from my host and I've defined 2 of them in > /etc/conf.d/net like this: > > config_eth0=( >"1.2.3.1 netmask 255.255.255.0" >"1.2.3.2 netmask 255.255.255.0" > ) > > My apache2 config is not working as expected and I think its due to a > networking problem because eth0:1 reports no RX or TX stats: > > # ifconfig > eth0 Link encap:Ethernet HWaddr [removed] > inet addr:1.2.3.1 Bcast:[removed] Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:46047 errors:0 dropped:0 overruns:0 frame:0 > TX packets:65703 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:6131194 (5.8 MiB) TX bytes:82568335 (78.7 MiB) > Interrupt:40 > > eth0:1Link encap:Ethernet HWaddr [removed] > inet addr:1.2.3.2 Bcast:[removed] Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Interrupt:40 It's frustrating that you must conceal the IP addresses during a question like this, because it makes it harder to know whether you've misconfigured your host or just made a typo in transcription. It's probably clearer if you alter only the second octet of your IPs, and leave everything else otherwise intact. However... if you have 5 usable IPs then your subnet mask will not be 255.255.255.0 - it'll be 255.255.255.248. See http://krow.net/dict/subnet.html The broadcast address will also be affected. This is also known as a /29 subnet - IIRC you actually have 8 IPs assigned to you - one of them is used by the router, one of them is the broadcast, and the other is unused (the way 192.168.0.0 or 0.0.0.0 is normally unused). Since your router has an IP in the same subnet, you'll know this is all working when you can ping the addresses of your webserver (1.2.3.1 & 1.2.3.2) from the router. Alternatively, set up a second PC - e.g. your laptop - on the globally-addressable subnet, and try pinging from there. The normal situation with a home router is that it has a globally-addressable IP on it's "WAN" interface and a private IP (192.168.x.y) on its LAN interface. When you start using your globally-addressable IPs behind the router you usually need to tell it so, and I'm guessing you haven't done that. If your laptop is currently using 192.168.a.b with a default gateway of 192.168.0.1, then the packets will be sent to the router for routing. And if the router is in the default configuration usual for home users, it won't know there's a 1.2.3.z subnet on your LAN, and it'll be trying to route the packets out into the internet (and those poor little packets will probably get very confused when they reach your ISP and it sends them back again!). You can triple-home by setting eth0:2 to 192.168.c.d, and can (depending on your bridge/router configuration) continue to use private addresses for additional machines if you have more hosts on the LAN than you have globally-addressable IPs. Watch out for default gateway and DNS stuff! You'll probably want to give your laptop 1 private + 1 global IP whilst you're testing. If your router is a fully-configurable Linux box then say so, and someone will be able to point you in the right direction for this. It's been a long time since I messed with this. I'm still using an old Draytek Vigor here, and this is all done by checking a radio button and pasting IP addressy stuff into boxes in the web-based configurator. The router has to operate in bridging mode to do this - on a Linux router you need configure as a bridge and NOT as a router (or, I think, as both). http://www.google.com/search?q=bridge+5+usable+ips My initial reaction to your question was, "Oh, Grant, this is simple network stuff", but whilst writing this my memory has been roughly refreshed, and I realise it's really not terribly simple at all. I'm extremely rusty at all this, and I'm also very tired, so I'm not going to write any more right now. Stroller.
Re: [gentoo-user] Finalizing my backup system
I'm using backupninja to backup data from my laptop, desktop, and remote server onto a remote desktop system. backupninja is very simple and is really just an interface to a few other programs including rdiff-backup. I'm not worried about a good restore method for now, I want to focus on keeping it simple and protecting my data. This is the first time I've set up a real backup system and I'd love to get some advice from you guys. I've got a few questions. 1. This is the first time I've used passwordless SSH keys. root on each system being backed up logs into the remote desktop as a normal user to store the backups. Is this pretty safe? I suppose if root is compromised on any of the three systems being backed up (via physical access or otherwise), the remote desktop will also be compromised as a normal user. Maybe that normal user should be extraordinarily unprivileged? >>> >>> You can limit SSH access to only certain commands. On the remote desktop >>> machine, you probably had to add an entry to the SSH authorized_keys >>> file. You can prefix that line with the command that the user is allowed >>> to run. For example (I use rdiff-backup too): >>> >>> command="/usr/bin/rdiff-backup --server",no-pty,no-port-forwarding >>> ssh-rsa >> >> I tried both that and simplified versions of it but it seems to >> prevent the login from working. It hangs on the following command, >> which works if I don't add the above: >> >> ssh -o PasswordAuthentication=no 1.2.3.4 -l user 'echo -n 1' > > That's the point? You can't log in (run /bin/bash) or do anything except > the command listed in the authorized_keys file. I see what you're saying but don't I need to use the ssh command in order to use the rdiff-backup command? - Grant
Re: [gentoo-user] Finalizing my backup system
On 10/06/2010 01:40 PM, Grant wrote: >>> I'm using backupninja to backup data from my laptop, desktop, and >>> remote server onto a remote desktop system. backupninja is very >>> simple and is really just an interface to a few other programs >>> including rdiff-backup. I'm not worried about a good restore method >>> for now, I want to focus on keeping it simple and protecting my data. >>> This is the first time I've set up a real backup system and I'd love >>> to get some advice from you guys. I've got a few questions. >>> >>> 1. This is the first time I've used passwordless SSH keys. root on >>> each system being backed up logs into the remote desktop as a normal >>> user to store the backups. Is this pretty safe? I suppose if root is >>> compromised on any of the three systems being backed up (via physical >>> access or otherwise), the remote desktop will also be compromised as a >>> normal user. Maybe that normal user should be extraordinarily >>> unprivileged? >> >> You can limit SSH access to only certain commands. On the remote desktop >> machine, you probably had to add an entry to the SSH authorized_keys >> file. You can prefix that line with the command that the user is allowed >> to run. For example (I use rdiff-backup too): >> >> command="/usr/bin/rdiff-backup --server",no-pty,no-port-forwarding >> ssh-rsa > > I tried both that and simplified versions of it but it seems to > prevent the login from working. It hangs on the following command, > which works if I don't add the above: > > ssh -o PasswordAuthentication=no 1.2.3.4 -l user 'echo -n 1' That's the point? You can't log in (run /bin/bash) or do anything except the command listed in the authorized_keys file. > Should it be working? I noticed I have ssh-dss instead of your ssh-rsa. That's just the key type, doesn't matter.
Re: [gentoo-user] Firefox and Thunderbird spell-checker is offering too many languages
Nikos Chantziaras wrote: The list of spell-check languages offered by Firefox and Thunderbird looks like this: English (AU) English (CA) English (GB) English (GB-oed) English (NZ) English (US) English (ZA) German (DE) Greek (GR) All this English stuff needs to do away, I only want English (US). Is there a way to do that? I have this set in my make.conf. LINGUAS="en_US en" LANG="en_US" LC_ALL="en_US.utf8" Do you have something close to this as well? I can't think of anything else at the moment. Maybe someone else will post a different idea. Dale :-) :-)
Re: [gentoo-user] iwl5000 firmware fails to load
Bump -- just wondering if anyone else has any thoughts or has seen this in recent system updates. -james On Sun, Sep 26, 2010 at 1:50 PM, James wrote: > Running 2.6.35-r8. I suspected hal, as well. > > If I look through my /var/log/dmesg output, the load messages are > almost identical to yours before I emerge the set. > > Unfortunately unmerging and re-emerging hal didn't seem to do anything. > > Then again -- would hal really have anything to do with the kernel > loading the firmware? Hal shouldn't even be started by that point. > > -j > > On Sun, Sep 26, 2010 at 4:23 AM, Adam Carter wrote: >> For reference here's mine >> iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree: >> iwlagn: Copyright(c) 2003-2010 Intel Corporation >> iwlagn :04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 >> iwlagn :04:00.0: setting latency timer to 64 >> iwlagn :04:00.0: Detected Intel Wireless WiFi Link 5100AGN REV=0x54 >> iwlagn :04:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels >> iwlagn :04:00.0: irq 32 for MSI/MSI-X >> iwlagn :04:00.0: firmware: requesting iwlwifi-5000-2.ucode >> iwlagn :04:00.0: loaded firmware version 8.24.2.12 >> >> Side note - If your system is pcie then you should turn on the MSI kernel >> options. >> >> I have no idea really - tho out of the software you installed before the >> breakage, Hal would have to be the biggest suspect. Maybe stop it form >> starting at boot and reboot to see what happens?? (FWIW im running hald) I >> assume you've added the hal use flag and done an emerge with newuse? >> >> What kernel are you running? >> >> >> >
[gentoo-user] text in xterm
Folks, I have an interesting problem -- not sure what's causing it. Using xfce4 + compiz -- nothing too fancy. When I open an xterm and start typing, I start getting 'artifacts' (specifically green lines between the various letters I'm trying) in my xterm. The only way to "fix" this is to either: (a) move the window (doesn't solve the problem if I start typing again in the terminal) (b) resize the window (this will solve the problem for all text present and future entered in terminal) (c) ...uhmm, nothing else I thought it was a font size problem -- my Xdefaults is configured to have some pretty tiny fonts. XTerm*faceName: Monospace XTerm*faceSize: 10 !XTerm*faceSize: 9 Modifying the font size, however, did not resolve the issue. The problem persists. Thoughts / ideas? This is happening on all the computers I've recently built, not just this one. -j
Re: [gentoo-user] Re: Normal disk speed?
On 10/06/2010 10:04 AM, Adam Carter wrote: > FYI some braindead benchmarking, reiserfs vs ext4, kernel 2.6.35-gentoo-r8 > > Copy same DVD image from internal reiserfs drive to freshly formatted > external drive; > reiserfs1m37.530s > ext43m15.074s > > Then image copy on that external drive; > # time cp CentOS-5.3-x86_64-bin-DVD.iso CentOS-5.3-x86_64-bin-DVD.iso2 > # time cp CentOS-5.3-x86_64-bin-DVD.iso CentOS-5.3-x86_64-bin-DVD.iso3 > reiser1m44.719s and 1m51.441s > ext43m24.337s and 4m30.534s > > Not that is matters, but create filesystem on 2TB drive; > reiserfs1m17.373s > ext46m3.421s > > Didnt see that coming, I guess i'll stick with reiser3 WOW! Those differences are crazy! Please - I know benchmarking takes a lot of time - but could you check something: the behavior those fs have at what time they flush data from cache to disk is very different. Have you made sure that you measured the time it really needs? I mean the difference between: $ sync; time cp source dest and $ sync; time (cp source dest; sync) Only the last measures somewhat correctly. I'm irritated, because ext4 is extends based, and should behave much better with big files than reiser3... not only less fragmentation, but should also be faster... Bye, Daniel -- PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887 signature.asc Description: OpenPGP digital signature
[gentoo-user] Firefox and Thunderbird spell-checker is offering too many languages
The list of spell-check languages offered by Firefox and Thunderbird looks like this: English (AU) English (CA) English (GB) English (GB-oed) English (NZ) English (US) English (ZA) German (DE) Greek (GR) All this English stuff needs to do away, I only want English (US). Is there a way to do that?
[gentoo-user] IP aliasing problem
I'm trying to use a different SSL cert in apache2 for each of the two domains on my server. I don't want to use SNI or subjectAltName because of lacking browser support and I want to use port 443 for both domains. I think this means I need to use separate IP addresses for each of my domains. I have 5 usable IPs from my host and I've defined 2 of them in /etc/conf.d/net like this: config_eth0=( "1.2.3.1 netmask 255.255.255.0" "1.2.3.2 netmask 255.255.255.0" ) My apache2 config is not working as expected and I think its due to a networking problem because eth0:1 reports no RX or TX stats: # ifconfig eth0 Link encap:Ethernet HWaddr [removed] inet addr:1.2.3.1 Bcast:[removed] Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:46047 errors:0 dropped:0 overruns:0 frame:0 TX packets:65703 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6131194 (5.8 MiB) TX bytes:82568335 (78.7 MiB) Interrupt:40 eth0:1Link encap:Ethernet HWaddr [removed] inet addr:1.2.3.2 Bcast:[removed] Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:40 Does anyone know how to get this working? - Grant
Re: [gentoo-user] Finalizing my backup system
>> I'm using backupninja to backup data from my laptop, desktop, and >> remote server onto a remote desktop system. backupninja is very >> simple and is really just an interface to a few other programs >> including rdiff-backup. I'm not worried about a good restore method >> for now, I want to focus on keeping it simple and protecting my data. >> This is the first time I've set up a real backup system and I'd love >> to get some advice from you guys. I've got a few questions. >> >> 1. This is the first time I've used passwordless SSH keys. root on >> each system being backed up logs into the remote desktop as a normal >> user to store the backups. Is this pretty safe? I suppose if root is >> compromised on any of the three systems being backed up (via physical >> access or otherwise), the remote desktop will also be compromised as a >> normal user. Maybe that normal user should be extraordinarily >> unprivileged? > > You can limit SSH access to only certain commands. On the remote desktop > machine, you probably had to add an entry to the SSH authorized_keys > file. You can prefix that line with the command that the user is allowed > to run. For example (I use rdiff-backup too): > > command="/usr/bin/rdiff-backup --server",no-pty,no-port-forwarding > ssh-rsa I tried both that and simplified versions of it but it seems to prevent the login from working. It hangs on the following command, which works if I don't add the above: ssh -o PasswordAuthentication=no 1.2.3.4 -l user 'echo -n 1' Should it be working? I noticed I have ssh-dss instead of your ssh-rsa. - Grant
[gentoo-user] Zynaddsubfx with keyboard input
Hi, I am currently experimenting with ZynAddSubFX. This synth has a virtual keyboard, which is accessible via clicks of the mouse and via the keyboard of my computer. When tuning parameters of the synth it is often of help to hear, what the current parameter does with the sound. All parameters of ZynAddSubFX are altered via the computer mouse. Doing so will change the window focus of the virtual keyboard to the parameter window and hitting the keyboad of the computer then will have no effect (the keypress is directed to the window with the parameter knobs, which has the focus now). Zynaddsubfx will accept input from midi devices also. I am no midi expert at all. :) Is there any "Virtual keyboard" or anything else, which can be used to interpret keyboard (computer) events to midi somthing and send them to ZynAddSubFX? Thank you very much in advance for any help! Best regards, mcc
Re: [gentoo-user] Where should i ask Gentoo/Xen/hardware questions?
于 2010-10-6 17:40, Olaf Krause 写道: Hello, first: where should I ask the following question? We successfully operate some HP Proliant DL380 G3, using Gentoo Xen-kernels as Dom0 and DomU. Now i tried to upgrade to Generation 4 and 6: * HP Proliant DL380 G4 * HP Proliant DL380 G6 Grub works fine. After selecting a kernel to boot, it is loaded and starts operating and fails some lines later with a kernel panic. The kernel seems not to find the HP SCSI controller (/dev/cciss/...). I made sure, that the kernel has build in the needed drivers as described here: http://en.gentoo-wiki.com/wiki/HP_ProLiant_DL380_G5 Funny is, that the Gentoo boot images do work, for example install-x86-minimal-20100216.iso. I use the iso images to boot the system initially, initialize the SCSI disks with fdsik and mkfs... and then mount the SCSI drives (/dev/cciss/...), copy a working tarball-image, populate the filsystem and then use the grub shell make it bootable. Attached is a screen shot with the error message. Best regards Olaf I think you have write the name of (/dev/cciss/...)uncorrectly。when I install Gentoo today, I have a problem,the grub is ok,but when i want to log in Gentoo,the system says:"the filesystem is not fixed",and "cannot open device"/dev/hda7" or unknown-block(3,0)",and that the Gentoo boot images do work,using install-x86-minimal-20100928.iso. what's wrong with it ,because when i modify fstab,i write /dev/hda7 instead of sda7,however when i using fdisk -l , it is /dev/hda7. i suggest you to check the name of the new device I am chinese,my English is poor,speak it in chinese followed 我认为你把(/dev/cciss/...)的名字写错了,今天我刚装的Gentoo,我遇到了相 似的问题,当我重启系统的时候,能够进入 Grub,但是,却进不了Gentoo,错误 信息就是"the filesystem is not fixed",and "cannot open device"/dev/hda7" or unknown-block(3,0),后来我仔细检查,改了一下fstab,刚开始写的/dev /hda7 改成了/dev/sda7,结果没问题了,可是,用fsdisk -l显示的是/dev /hda7,在这之前我也是用minicd能够正常进入系统,希望对你有用
Re: [gentoo-user] Where should i ask Gentoo/Xen/hardware questions?
> If /proc/config.gz exists when you boot from that image you could >> compare that to the .config file that you're using to see what the >> differences are. >> >> > I tried it. I spend much time on it. For me the only way is to use a GUI diff program like Meld, otherwise i find it too difficult to notice the differences. :) > I also tried to use the config of the allround boot disks (in > /proc/config.gz of the running livecd system). I tried to figure out > differences and also tried to copy it to the Xen-Kernel and then started > 'make menuconfig' for the Xen kernel to fix dependencies cleared in 'make > menuconfig'. It leads to kernels that > * cannot be build due to compile errors, > * or kernels that run perfectly on G3 (generation 3 HP hardware) but not on > G4 or G6. > > Maybe this is an driver version issue for the 'Compaq SMART2 support' > and the 'Compaq Smart Array 5xxx support'. > But fixing a kernel, delivered by portage, is completly new to me. So i > tried to ship around this... > > Would you suggest to try this way? Should I try to fix the Xen-Kernel from > Gentoo with some HP driver source code? Or could it be a completly other > issue? > > I'd be very confident that the driver code will be identical in xen kernel to regular kernels of the same version. You could verify this by running md5sum against the modules source codes. If they are the same there's no need to worry about the driver code. Put your xen .config and the config from the boot disk that works up somewhere public - maybe we can spot the problem?
Re: [gentoo-user] Where should i ask Gentoo/Xen/hardware questions?
2010/10/6 Olaf Krause : >>> Hello, >>> >>> first: where should I ask the following question? >>> >>> We successfully operate some HP Proliant DL380 G3, using Gentoo >>> Xen-kernels >>> as Dom0 and DomU. >>> Now i tried to upgrade to Generation 4 and 6: >>> * HP Proliant DL380 G4 >>> * HP Proliant DL380 G6 >>> >>> Grub works fine. After selecting a kernel to boot, it is loaded and >>> starts >>> operating and fails some lines later with a kernel panic. The kernel >>> seems >>> not to find the HP SCSI controller (/dev/cciss/...). >>> >>> I made sure, that the kernel has build in the needed drivers as described >>> here: >>> http://en.gentoo-wiki.com/wiki/HP_ProLiant_DL380_G5 >>> >>> Funny is, that the Gentoo boot images do work, for example >>> install-x86-minimal-20100216.iso. >>> >>> I use the iso images to boot the system initially, initialize the SCSI >>> disks >>> with fdsik and mkfs... and then mount the SCSI drives (/dev/cciss/...), >>> copy >>> a working tarball-image, populate the filsystem and then use the grub >>> shell >>> make it bootable. >>> >>> Attached is a screen shot with the error message. >>> >> >> Is this screenshot from a domU or dom0 ? If it's from a domU then I >> think that in Xen you have a different driver than cciss for the >> disks. >> >> If it's from a dom0, are you sure that you have the cciss driver >> built-in instead of a module ? From the screenshot it seems that it's >> not present at the point the kernel is booting. > > It is the screenshot of the Dom0. And yes - also for me the driver seems not > to be available during boot time. But i am sure to have it build in. And on > older hardware (G3 - generation 3 HP hardware) the same kernel seems to > work, mounting the cciss devices. > > Here is what mount says in the same kernel on a G3 hardware (sorry for the > linebreaks): > > orion ~ # mount > /dev/cciss/c0d0p1 on / type ext3 (rw,noatime) > proc on /proc type proc (rw,nosuid,nodev,noexec) > sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) > udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755) > devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620) > /dev/cciss/c0d1p1 on /mnt/xen2 type ext3 (rw,noatime) > shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) > usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) > --- > Maybe the cciss driver doesn't have your controller on the PCI devices list. This is unlikely but would give the symptoms you are describing. Please post the output of 'lspci -k' and 'lspci -n' commands. Which kernel version are you trying to run ? -- Maciej Grela
Re: [gentoo-user] Where should i ask Gentoo/Xen/hardware questions?
We successfully operate some HP Proliant DL380 G3, using Gentoo Xen-kernels as Dom0 and DomU. Now i tried to upgrade to Generation 4 and 6: * HP Proliant DL380 G4 * HP Proliant DL380 G6 Grub works fine. After selecting a kernel to boot, it is loaded and starts operating and fails some lines later with a kernel panic. The kernel seems not to find the HP SCSI controller (/dev/cciss/...). I made sure, that the kernel has build in the needed drivers as described here: http://en.gentoo-wiki.com/wiki/HP_ProLiant_DL380_G5 Did you remember to build the filesystem drivers into the kernel (ie not as a module) and follow the directions on building the hardware drivers into the kernel as well? Yes. It is build into the kernel - not as modules. Funny is, that the Gentoo boot images do work, for example install-x86-minimal-20100216.iso. If /proc/config.gz exists when you boot from that image you could compare that to the .config file that you're using to see what the differences are. I tried it. I spend much time on it. I also tried to use the config of the allround boot disks (in /proc/config.gz of the running livecd system). I tried to figure out differences and also tried to copy it to the Xen-Kernel and then started 'make menuconfig' for the Xen kernel to fix dependencies cleared in 'make menuconfig'. It leads to kernels that * cannot be build due to compile errors, * or kernels that run perfectly on G3 (generation 3 HP hardware) but not on G4 or G6. Maybe this is an driver version issue for the 'Compaq SMART2 support' and the 'Compaq Smart Array 5xxx support'. But fixing a kernel, delivered by portage, is completly new to me. So i tried to ship around this... Would you suggest to try this way? Should I try to fix the Xen-Kernel from Gentoo with some HP driver source code? Or could it be a completly other issue?
Re: [gentoo-user] Where should i ask Gentoo/Xen/hardware questions?
Hello, first: where should I ask the following question? We successfully operate some HP Proliant DL380 G3, using Gentoo Xen-kernels as Dom0 and DomU. Now i tried to upgrade to Generation 4 and 6: * HP Proliant DL380 G4 * HP Proliant DL380 G6 Grub works fine. After selecting a kernel to boot, it is loaded and starts operating and fails some lines later with a kernel panic. The kernel seems not to find the HP SCSI controller (/dev/cciss/...). I made sure, that the kernel has build in the needed drivers as described here: http://en.gentoo-wiki.com/wiki/HP_ProLiant_DL380_G5 Funny is, that the Gentoo boot images do work, for example install-x86-minimal-20100216.iso. I use the iso images to boot the system initially, initialize the SCSI disks with fdsik and mkfs... and then mount the SCSI drives (/dev/cciss/...), copy a working tarball-image, populate the filsystem and then use the grub shell make it bootable. Attached is a screen shot with the error message. Is this screenshot from a domU or dom0 ? If it's from a domU then I think that in Xen you have a different driver than cciss for the disks. If it's from a dom0, are you sure that you have the cciss driver built-in instead of a module ? From the screenshot it seems that it's not present at the point the kernel is booting. It is the screenshot of the Dom0. And yes - also for me the driver seems not to be available during boot time. But i am sure to have it build in. And on older hardware (G3 - generation 3 HP hardware) the same kernel seems to work, mounting the cciss devices. Here is what mount says in the same kernel on a G3 hardware (sorry for the linebreaks): orion ~ # mount /dev/cciss/c0d0p1 on / type ext3 (rw,noatime) proc on /proc type proc (rw,nosuid,nodev,noexec) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620) /dev/cciss/c0d1p1 on /mnt/xen2 type ext3 (rw,noatime) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) --- Should I try to fix the Xen-Kernel from Gentoo with some HP driver source code? Or could it be a completly other issue?
Re: [gentoo-user] Where should i ask Gentoo/Xen/hardware questions?
> > We successfully operate some HP Proliant DL380 G3, using Gentoo Xen-kernels > as Dom0 and DomU. > Now i tried to upgrade to Generation 4 and 6: > * HP Proliant DL380 G4 > * HP Proliant DL380 G6 > > Grub works fine. After selecting a kernel to boot, it is loaded and starts > operating and fails some lines later with a kernel panic. The kernel seems > not to find the HP SCSI controller (/dev/cciss/...). > > I made sure, that the kernel has build in the needed drivers as described > here: > http://en.gentoo-wiki.com/wiki/HP_ProLiant_DL380_G5 > Did you remember to build the filesystem drivers into the kernel (ie not as a module) and follow the directions on building the hardware drivers into the kernel as well? > Funny is, that the Gentoo boot images do work, for example > install-x86-minimal-20100216.iso. > > If /proc/config.gz exists when you boot from that image you could compare that to the .config file that you're using to see what the differences are.
Re: [gentoo-user] Where should i ask Gentoo/Xen/hardware questions?
2010/10/6 Olaf Krause : > Hello, > > first: where should I ask the following question? > > We successfully operate some HP Proliant DL380 G3, using Gentoo Xen-kernels > as Dom0 and DomU. > Now i tried to upgrade to Generation 4 and 6: > * HP Proliant DL380 G4 > * HP Proliant DL380 G6 > > Grub works fine. After selecting a kernel to boot, it is loaded and starts > operating and fails some lines later with a kernel panic. The kernel seems > not to find the HP SCSI controller (/dev/cciss/...). > > I made sure, that the kernel has build in the needed drivers as described > here: > http://en.gentoo-wiki.com/wiki/HP_ProLiant_DL380_G5 > > Funny is, that the Gentoo boot images do work, for example > install-x86-minimal-20100216.iso. > > I use the iso images to boot the system initially, initialize the SCSI disks > with fdsik and mkfs... and then mount the SCSI drives (/dev/cciss/...), copy > a working tarball-image, populate the filsystem and then use the grub shell > make it bootable. > > Attached is a screen shot with the error message. > Is this screenshot from a domU or dom0 ? If it's from a domU then I think that in Xen you have a different driver than cciss for the disks. If it's from a dom0, are you sure that you have the cciss driver built-in instead of a module ? From the screenshot it seems that it's not present at the point the kernel is booting. -- Maciej Grela
[gentoo-user] Where should i ask Gentoo/Xen/hardware questions?
Hello, first: where should I ask the following question? We successfully operate some HP Proliant DL380 G3, using Gentoo Xen-kernels as Dom0 and DomU. Now i tried to upgrade to Generation 4 and 6: * HP Proliant DL380 G4 * HP Proliant DL380 G6 Grub works fine. After selecting a kernel to boot, it is loaded and starts operating and fails some lines later with a kernel panic. The kernel seems not to find the HP SCSI controller (/dev/cciss/...). I made sure, that the kernel has build in the needed drivers as described here: http://en.gentoo-wiki.com/wiki/HP_ProLiant_DL380_G5 Funny is, that the Gentoo boot images do work, for example install-x86-minimal-20100216.iso. I use the iso images to boot the system initially, initialize the SCSI disks with fdsik and mkfs... and then mount the SCSI drives (/dev/cciss/...), copy a working tarball-image, populate the filsystem and then use the grub shell make it bootable. Attached is a screen shot with the error message. Best regards Olaf <>
Re: [gentoo-user] Filesystem couldn't be fixed
于 2010-10-6 15:57, Maciej Grela 写道: 2010/10/6 Gaston: hello everyone,I have installed Gentoo,but,when I reboot it,the filesystem is readonly, Filesystem couldn't be fixed how can I solve it,thanks very much Did you have a power failure ? Have you tried to run fsck on the filesystem after booting from some livecd linux (I'd suggest System Rescue CD) ? Have you checked your RAM (with memtest86) and HDD (with badblocks) ? Best regards, Maciej Grela thanks everyone,I have resolve it,when I midify fstab,I write hda7 instead of sda7,now it's ok
Re: [gentoo-user] Filesystem couldn't be fixed
On 10/06/10 17:57, Maciej Grela wrote: > 2010/10/6 Gaston : >> hello everyone,I have installed Gentoo,but,when I reboot it,the >> filesystem is readonly, >> Filesystem couldn't be fixed >> how can I solve it,thanks very much >> >> > Did you have a power failure ? > Have you tried to run fsck on the filesystem after booting from some > livecd linux (I'd suggest System Rescue CD) ? > Have you checked your RAM (with memtest86) and HDD (with badblocks) ? > > Best regards, > Maciej Grela > Can you give the full error text? Jake Moe
Re: [gentoo-user] Re: Normal disk speed?
FYI some braindead benchmarking, reiserfs vs ext4, kernel 2.6.35-gentoo-r8 Copy same DVD image from internal reiserfs drive to freshly formatted external drive; reiserfs1m37.530s ext43m15.074s Then image copy on that external drive; # time cp CentOS-5.3-x86_64-bin-DVD.iso CentOS-5.3-x86_64-bin-DVD.iso2 # time cp CentOS-5.3-x86_64-bin-DVD.iso CentOS-5.3-x86_64-bin-DVD.iso3 reiser1m44.719s and 1m51.441s ext43m24.337s and 4m30.534s Not that is matters, but create filesystem on 2TB drive; reiserfs1m17.373s ext46m3.421s Didnt see that coming, I guess i'll stick with reiser3
Re: [gentoo-user] Filesystem couldn't be fixed
2010/10/6 Gaston : > hello everyone,I have installed Gentoo,but,when I reboot it,the > filesystem is readonly, > Filesystem couldn't be fixed > how can I solve it,thanks very much > > Did you have a power failure ? Have you tried to run fsck on the filesystem after booting from some livecd linux (I'd suggest System Rescue CD) ? Have you checked your RAM (with memtest86) and HDD (with badblocks) ? Best regards, Maciej Grela
[gentoo-user] Filesystem couldn't be fixed
hello everyone,I have installed Gentoo,but,when I reboot it,the filesystem is readonly, Filesystem couldn't be fixed how can I solve it,thanks very much