View previous topic :: View next topic |
Author |
Message |
quickshiftin Guru
Joined: 27 Jul 2004 Posts: 345 Location: Denver, CO
|
Posted: Tue Oct 11, 2005 10:18 pm Post subject: |
|
|
i noticed from your output earlier
Quote: | Linux version 2.6.13-gentoo-r3 (root@livecd) (gcc version 3.3.6 (gentoo 3.3.6, sp-3.3.6-1.0, pie-8.7.) #1 SMP Mon Oct 10 16:55:04 CDT 2005 |
are you 100% sure you are booted into your installed version of linux or are you accidentally booting from the cd still?
notice when i run
less /proc/version | tail -n 1
you see the name of my current user and machine in the output
Linux version 2.6.13-gentoo (root@rarea51) (gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.) #6 Mon Oct 10 10:25:44 CDT 2005
the other thing that makes me think you are still running the live cd is the live cd 2.6 kernel supports smp, and you said you have a centrino laptop which is not hyperthreaded nor dual core so i dont know why you would have smp compiled in your kernel
yank that cd and reboot your machine... |
|
Back to top |
|
|
Aonoa Guru
Joined: 23 May 2002 Posts: 589
|
Posted: Tue Oct 11, 2005 10:37 pm Post subject: |
|
|
Here is my output: Code: | Linux version 2.6.12.6 (root@mister) (gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #2 Sun Oct 9 01:30:28 Local time zone must be set--see zic manua |
I also think you might not actually be running the new kernel, or the same kernel you've built from those sources. Did you remember to mount /boot before copying bzImage over? have you double checked your grub entries, that it points to the right kernel? |
|
Back to top |
|
|
koshia n00b
Joined: 22 Sep 2005 Posts: 38
|
Posted: Wed Oct 12, 2005 12:20 am Post subject: |
|
|
Okay I have no clue what you just said but ummm lol, let's just say I don't have the CD in the laptop when I boot my machine and yes, I realize the output states i'm booting root@livecd, i am not. I don't know why or how it would say that. About the SMP thing, I have no clue what that is nor did I want or knew that it was compiled. I'm a straight up noob so I wouldn't know what I had done. About the mounting, I followed the direction given on the 2005.1 gentoo x86 all in one manual to install it and i did step by step SEVERAL times before I got this right, so i'm quite positive that I mounted the /boot/ before i copied stuff into it.
I will try to reload GEntoo from scratch again since I have no clue where I am now and all my files seems to be invalid. This may give me more expierience solving this situation, but I very positive once I reload Gentoo again, I will have the same problem with this wifi mod. I will give it a try with the reload and tell you if it works or not, If you have any information on the SMP and what NOT TO DO, please do post it as I will check when I get to that stage.
thanks for the help eonic and quickshiftn.. |
|
Back to top |
|
|
Aonoa Guru
Joined: 23 May 2002 Posts: 589
|
Posted: Wed Oct 12, 2005 5:06 am Post subject: |
|
|
Well, re-install if you want but I'm not sure it's necessary yet. Did you install the kernel manually (make menuconfig etc..) or with "genkernel"? did you do grub manually (running grub and editing grub.conf yourself) or with "grub-install"? I've had students in my class using the automatic methods and ending up with problems, after they used the manual method instead things started working. |
|
Back to top |
|
|
koshia n00b
Joined: 22 Sep 2005 Posts: 38
|
Posted: Wed Oct 12, 2005 5:17 am Post subject: |
|
|
eonic wrote: | Well, re-install if you want but I'm not sure it's necessary yet. Did you install the kernel manually (make menuconfig etc..) or with "genkernel"? did you do grub manually (running grub and editing grub.conf yourself) or with "grub-install"? I've had students in my class using the automatic methods and ending up with problems, after they used the manual method instead things started working. |
I never do automatic unless its really ut-most sensitive that my eyes might miss something. But grub and menuconfig I did manually myself because i am not using some of the prescribed or suggested things in accordance with the x86 manual. |
|
Back to top |
|
|
Aonoa Guru
Joined: 23 May 2002 Posts: 589
|
Posted: Wed Oct 12, 2005 1:32 pm Post subject: |
|
|
Alright, what does your grub.conf look like and what contents do you have in /boot ? A reminder to do "mount /boot" first. |
|
Back to top |
|
|
quickshiftin Guru
Joined: 27 Jul 2004 Posts: 345 Location: Denver, CO
|
Posted: Wed Oct 12, 2005 1:45 pm Post subject: |
|
|
could it be that /boot was not mounted when a fresh version of the kernel was built? that is why his system is booting to an old kernel... im fairly sure the /etc/fstab in the installation manual does not have /boot mounting at boot time. i know my fstab is based on the config from the install doc and i have to mount it every time i recompile my kernel (bear in mind though im still a lilo guy w/ ambitions to migrate to grub ) but i still think the /boot partitions needs mounted for the fresh source to get copied over, no? |
|
Back to top |
|
|
Aonoa Guru
Joined: 23 May 2002 Posts: 589
|
Posted: Wed Oct 12, 2005 2:11 pm Post subject: |
|
|
Indeed, you have to mount /boot every time you make a new kernel before you can copy it over. That is unless you deviate from the install doc's /etc/fstab suggestion and make sure /boot is mounted automatically during startup. However, it's safer/more secure to keep it umounted normally. |
|
Back to top |
|
|
koshia n00b
Joined: 22 Sep 2005 Posts: 38
|
Posted: Wed Oct 12, 2005 5:48 pm Post subject: |
|
|
Okay so i reloaded and used an older kernel 2.6.12-r6 and ipw2200 works absolutely fine. I'm going to go and update my GCC + my system and see if it works that way. I will also be using xfce4 instead of gnome. Any hints or any suggestions before I start? Thanks
Also, just to be sure i dont screw up rebuilding kernel
i have to first emerge gentoo-sources then follow the procedures after that from the x86 manual until I copy arch/i386 etc... stuff. correct? |
|
Back to top |
|
|
Aonoa Guru
Joined: 23 May 2002 Posts: 589
|
Posted: Wed Oct 12, 2005 8:03 pm Post subject: |
|
|
Code: | emerge gentoo-sources && ln -sf /usr/src/gentoo-sources-2.6.13-r3 /usr/src/linux && cd /usr/src/linux && make menuconfig && make && make modules_install |
Then:
Code: | mount /boot && cp arch/i386/boot/bzImage /boot/kernel-2.6.13-r3 |
Finish off with editing grub.conf.
Xfce4 is a very nice WM, it's not as "loaded" as Gnome is and pretty. Since I don't use gnome or kde, I usually add "-gnome -kde" to USE flags in /etc/make.conf.
EDIT: Oh, and you'll again of course have to re-emerge ieee80211 and ipw2200. |
|
Back to top |
|
|
koshia n00b
Joined: 22 Sep 2005 Posts: 38
|
Posted: Wed Oct 12, 2005 9:18 pm Post subject: |
|
|
okay everything seems alright right now with gentoo kernel 2.6.13-gentoo-r3 and i'm in the process of upgrading my GCC to 3.4 from 3.3.4 I hope it doesn't crap out again, do i need to recompile kernel after i go gcc upgrade? |
|
Back to top |
|
|
quickshiftin Guru
Joined: 27 Jul 2004 Posts: 345 Location: Denver, CO
|
Posted: Wed Oct 12, 2005 9:36 pm Post subject: |
|
|
i was going to post a minute ago but hesitated...
it was unclear whether you were intending to upgrade the kernel before or after you upgraded the compiler.
just out of curiosity why do you want to upgrade in the first place? i think i ended up upgrading on my system during the install because gcc-3.3.x doesnt support the march=pentium-m compiler option
i think you can upgrade the compiler and youll be fine just going on compiling in new things, but the main point of the upgrade is to optimize compiled code. in the HOWTO Migrate to GCC 3.4 wiki page
http://gentoo-wiki.com/HOWTO_Migrate_to_GCC_3.4
users are given the following advice
Quote: | Re-emerge your System & World Packages
It is now adviseable to run the following commands to at least re-emerge the contents of system:
# emerge -e system
If you want to have all of your new packages compiled with the new 3.4 compiler, then use the below command. Note however that this command results in quite a time-consuming compilation, especially if you've got a lot of programs on your system; but, it will ensure all of your programs use the more optimized (hopefully code produced by the new gcc. If you want to go this route, you may as well leave the computer running overnight (and depending on your machine, over the weekend!).
# emerge -e system && emerge -e world
Again, at a bare minimum re-emerge your system packages (first command) which includes the very-important glibc, one of the libraries essential to your compiler. You could, if you wish, use the second command, but that's unnecessary; as you update packages the newer compiler will be used. |
|
|
Back to top |
|
|
koshia n00b
Joined: 22 Sep 2005 Posts: 38
|
Posted: Wed Oct 12, 2005 9:58 pm Post subject: |
|
|
I am doing it for the same reason you are, i am on centrino there for Pentium M and gcc 3.3 does not support p-M so i'm going to upgrade. I am currently doing th ermerge system and world and updating the stuff... Thanks.
EDIT: BTW, do i change the -march= .... in the /etc/make.conf to P-M after i merged gcc3.4 OR do i do it AFTER I emerge system and world update? |
|
Back to top |
|
|
Aonoa Guru
Joined: 23 May 2002 Posts: 589
|
Posted: Thu Oct 13, 2005 9:32 pm Post subject: |
|
|
You change the -march option after you have compiled gcc 3.4.4 and set it as the default compiler. Then "emerge -e system", I did emerge -e system twice but not really necessary if you do "emerge -e system && emerge -e world". |
|
Back to top |
|
|
koshia n00b
Joined: 22 Sep 2005 Posts: 38
|
Posted: Fri Oct 14, 2005 3:12 am Post subject: |
|
|
Okay I changed the -march after I upgraded gcc-3.4 twice before and this error came about. This time, I did it after i did the emerge -e system && world and then changed it. It works fine now and I recompiled the kernel as well. Everything is in order and seems to be working perfectly, except I don't know how to configure it and that will the next stage for me. I'd like to thank both of you guys for helping me out with this ordeal.
By the way, after succesfully getting ipw2200 and gentoo to work together, my window's PC HDD crashed... how ironic. so now only thing that works is my Gentoo .
Again, thanks you guys and I really appreciate it.
-Son |
|
Back to top |
|
|
quickshiftin Guru
Joined: 27 Jul 2004 Posts: 345 Location: Denver, CO
|
Posted: Fri Oct 14, 2005 2:44 pm Post subject: |
|
|
no prob man. if you need help w/ the kernel config read around and if you have questions start up another post.
also please take a minute to edit your first post on this thread making the title read IPW2200 (SOLVED)
so the other members in the community know this issue is no longer pending
also good luck and enjoy that gentoo box |
|
Back to top |
|
|
Aonoa Guru
Joined: 23 May 2002 Posts: 589
|
Posted: Fri Oct 14, 2005 5:23 pm Post subject: |
|
|
My pleasure, I'm just happy you're able to enjoy a working Gentoo box now. There is no better.
About kernel editing, never do too much at once before you get used to what is what. Do small changes, if you want a small kernel use modules instead of removing the features. However, some things can't be modulized, such as your root filesystem type. There's just too much to mention quickly here and now. I'd just try, try again, fail, learn, read, try again, succeed.
My best tip would be to find a naming system that you use for the kernels you keep in /boot, and also keep a copy of the same kernels .config file there as well.
Example: Code: | config-2.6.12.6
kernel-2.6.12.6 |
And never overwrite a working kernel. Keep several different kernel entries in grub if you start experimenting, so you know you always have at least one entry that works. |
|
Back to top |
|
|
koshia n00b
Joined: 22 Sep 2005 Posts: 38
|
Posted: Fri Oct 14, 2005 11:45 pm Post subject: |
|
|
quickshiftin wrote: | no prob man. if you need help w/ the kernel config read around and if you have questions start up another post.
also please take a minute to edit your first post on this thread making the title read IPW2200 (SOLVED)
so the other members in the community know this issue is no longer pending
also good luck and enjoy that gentoo box |
I tried putting [SOLVED] but i realized i'm not the original author of this thread. So a moderator/admin assistance is required. |
|
Back to top |
|
|
quickshiftin Guru
Joined: 27 Jul 2004 Posts: 345 Location: Denver, CO
|
Posted: Sat Oct 15, 2005 12:31 am Post subject: |
|
|
my bad man, i forgot myself. i wondered what happened to that guy... |
|
Back to top |
|
|
|