View previous topic :: View next topic |
Author |
Message |
LocustPlague n00b
Joined: 14 Sep 2007 Posts: 18
|
Posted: Fri Sep 21, 2007 3:07 pm Post subject: |
|
|
I too use the Code: | genkernel --menuconfig all | method with great amounts of success. However, I don't believe that xorg is causing this complaint. The .c extension is just used for files containing code written in C (and their headers go in a .h file).
What those errors are saying to me is that there is a problem with the encryption methods etc. I would try to compile without encryption support, just to see if that works. Just a suggestion, though. |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 3:45 pm Post subject: |
|
|
LocustPlague wrote: | I too use the Code: | genkernel --menuconfig all | method with great amounts of success. However, I don't believe that xorg is causing this complaint. The .c extension is just used for files containing code written in C (and their headers go in a .h file).
What those errors are saying to me is that there is a problem with the encryption methods etc. I would try to compile without encryption support, just to see if that works. Just a suggestion, though. |
I was pointing that all these errors with .c files indicate of a more serious problem. In my case back then it was other .c file. Definitely xorg doesn't belong to the specific error posted here.
About the encryption methods it may be correct but I am not sure. That's why I suggested either use genkernel which proved to compile the kernel every time I tried. And regarding make & make install etc, I suspect that maybe the kernel is tainted ( I saw one of the posts regarding ipw2200-firmware) and that's why I suggested to use first make clean and then compile with the rest of the commands. Once a friend helped me with ipw2200 and he did make clean. In that attempt he even succeeded to compile with ipw2200 built in the kernel. After few months when I had to install new gentoo I managed to make it work only as module. I don't care as long as it works. |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 4:02 pm Post subject: |
|
|
i think you are right about the xorg.i think mine is in really bad condition and i have to fix it.you think i should do that first?and then try to start all over the kernel compilation?
thanks for the replies |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 4:03 pm Post subject: |
|
|
_nightw0lf wrote: | Dude Thanks alot! I've tried so many things to make it work, and nothing actually helped me till I've found your post! |
First, I am a woman. And from Israel like you.
Quote: |
P.S - It was a little hard for me to understand what to make and what to unmark in the kernel configuration because I didn't knew where those settings located in. I've found it ofcource, but it would be nicer if you guide trough the people who ain't so good with kernel compilation and guide them to get to the right menus and submenus.
Thanks again! |
You are welcome. About menus and sub menus, I posted in my first post. Networking is in the main menu and all the settings are sub menu. The same holds for Device drivers and all the sub [/quote]menus. Perhaps, few more tabs would have clarified more. I"ll keep it in my mind for my next howto. |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 4:06 pm Post subject: |
|
|
zoe wrote: | i think you are right about the xorg.i think mine is in really bad condition and i have to fix it.you think i should do that first?and then try to start all over the kernel compilation?
thanks for the replies |
ipw2200 is not related to xorg. first solve the ipw2200 issue with make clean, make, make modules_install, etc or . If your kernel is already set as I mentioned in the first post (you don't need to use --menuconfig anymore) , just clean it or use genkernel. |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 4:22 pm Post subject: |
|
|
sorry to ask that but with all this posts that i read about this ipw2200 i'm really confused.i don't know which are the steps and what to do first |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 5:12 pm Post subject: |
|
|
zoe wrote: | sorry to ask that but with all this posts that i read about this ipw2200 i'm really confused.i don't know which are the steps and what to do first |
No Problem. Will try to do my best to help.
1. Either use Code: | make clean
make menuconfig and set the kernel options as I posted in the first post
and then
make modules_install make install etc (I don't know exactly the order, so it's up to you to compile it correctly) |
OR
Code: | genkernel --menuconfig all and set everything as in first post | then do everything as posted in the first post |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 5:30 pm Post subject: |
|
|
For sure you are a queen...i will try it directly and i will post again
thanks --one --more --time
Last edited by zoe on Fri Sep 21, 2007 5:44 pm; edited 1 time in total |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 5:44 pm Post subject: |
|
|
nop,i did as you said
cd /usr/src/linux && make clean
make menuconfig ->and enabled/disabled as you said in your first post
and it seems that i get the same messages
any ideas? |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 6:05 pm Post subject: |
|
|
zoe wrote: | nop,i did as you said
cd /usr/src/linux && make clean
make menuconfig ->and enabled/disabled as you said in your first post
and it seems that i get the same messages
any ideas? |
TRY this:
Code: | emerge -C ipw2200-firmware
genkernel --menuconfig all (here check that everything is ok as I mentioned in the first post
emerge ipw2200-firmware
|
check that you have it added to modules autoload /etc/modules.autoload/kernel-2.6
reboot
and then see if everything works. |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 6:25 pm Post subject: |
|
|
# emerge -C ipw2200-firmware
--- Couldn't find 'ipw2200-firmware' to unmerge.
>>> No packages selected for removal by unmerge
#genkernel --menuconfig all
(some options that i had them built in my kernel now they were changed like modules,i don't know if this is good)
* >> Compiling 2.6.22-gentoo-r5 bzImage...
and stops there..(i don't know if this takes long time so i will wait) |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 6:41 pm Post subject: |
|
|
zoe wrote: | # emerge -C ipw2200-firmware
--- Couldn't find 'ipw2200-firmware' to unmerge.
>>> No packages selected for removal by unmerge
#genkernel --menuconfig all
(some options that i had them built in my kernel now they were changed like modules,i don't know if this is good)
* >> Compiling 2.6.22-gentoo-r5 bzImage...
and stops there..(i don't know if this takes long time so i will wait) |
Yes, wait. it takes some time. ~20-30 min.
so you didn't have ipw2200-firmware. after it will compile emerge ipw2200-firmware. The modules where changed because in the first place your kernel didn't compile. Now that you arranged as it should and hopefully the kernel will compile you will get it done |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 6:47 pm Post subject: |
|
|
#$$@#$@#%#$@%^#$
* ERROR: Failed to compile the "modules" target...
there is a huge log in /var/log/genkernel.log that says what happened but i don't know what is the message that will help you....i'm really sad,maybe the problem is really big |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 6:52 pm Post subject: |
|
|
zoe wrote: | #$$@#$@#%#$@%^#$
* ERROR: Failed to compile the "modules" target...
there is a huge log in /var/log/genkernel.log that says what happened but i don't know what is the message that will help you....i'm really sad,maybe the problem is really big |
Code: | grep -i ipw2200 /var/log/genkernel.log | or Code: | tail -n 50 /var/log/genkernel.log |
you have the latest kernel? |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 6:56 pm Post subject: |
|
|
you mean this?
* Gentoo Linux Genkernel; Version 3.4.8 |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 6:57 pm Post subject: |
|
|
[quote="zoe"]you mean this?
no.
and post the grep and tail command of genkernel from above |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 6:59 pm Post subject: |
|
|
one more thing,i tried to make menuconfig and everything is changed,options that i added aren't there and other options cannot be removed,it gives you the choice of <*> built in or <M> module(maybe because i used genkernel?)!i'm telling you anything that i see in order to help you,if you don't like tell me to stop it,ok? |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 7:04 pm Post subject: |
|
|
sorry you must leave me alone..i don't understand
Quote: | eix gentoo-sources and post the grep and tail command of genkernel from above |
Last edited by zoe on Fri Sep 21, 2007 7:09 pm; edited 2 times in total |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 7:05 pm Post subject: |
|
|
zoe wrote: | one more thing,i tried to make menuconfig and everything is changed,options that i added aren't there and other options cannot be removed,it gives you the choice of <*> built in or <M> module(maybe because i used genkernel?)!i'm telling you anything that i see in order to help you,if you don't like tell me to stop it,ok? |
It's not a problem about your questions. your settings changed to default because the kernel didn't compile.
Still I want to see output of grep and tail. I can send you my configuration of the kernel, but I need to see lspci output and cat /proc/cpuinfo.
If I send you my configuration and my hardware, cpu is similar to yours you won't need to compile the kernel anymore.
Alternatively try to emerge gentoo-sources and configure kernel again. |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 7:08 pm Post subject: |
|
|
Quote: | cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : Intel(R) Pentium(R) M processor 2.00GHz
stepping : 8
cpu MHz : 800.000
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx est tm2
bogomips : 1597.05
clflush size : 64 |
Quote: | lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700 (PCIE)
06:01.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:01.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:01.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:02.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d1)
06:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
06:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03) |
Quote: |
eix gentoo-sources |
eix: command not found
Quote: |
grep -i ipw2200 /var/log/genkernel.log |
does nothing and
Quote: | tail -n 50 /var/log/genkernel.log |
Quote: | LD [M] net/atm/atm.o
CC [M] net/bridge/br.o
CC [M] net/bluetooth/bnep/core.o
CC [M] net/bridge/br_device.o
CC [M] net/bluetooth/bnep/sock.o
CC [M] net/bridge/br_fdb.o
CC [M] net/bluetooth/bnep/netdev.o
CC [M] net/bridge/br_forward.o
LD [M] net/bluetooth/bnep/bnep.o
CC [M] net/bluetooth/hidp/core.o
CC [M] net/bridge/br_if.o
CC [M] net/bridge/br_input.o
CC [M] net/bridge/br_ioctl.o
CC [M] net/bluetooth/hidp/sock.o
CC [M] net/bridge/br_notify.o
LD [M] net/bluetooth/hidp/hidp.o
CC [M] net/bluetooth/rfcomm/core.o
CC [M] net/bridge/br_stp.o
CC [M] net/bridge/br_stp_bpdu.o
CC [M] net/bluetooth/rfcomm/sock.o
CC [M] net/bridge/br_stp_if.o
CC [M] net/bridge/br_stp_timer.o
CC [M] net/bluetooth/rfcomm/tty.o
CC [M] net/bridge/br_netlink.o
CC [M] net/bridge/br_sysfs_if.o
LD [M] net/bluetooth/rfcomm/rfcomm.o
CC [M] net/bridge/br_sysfs_br.o
LD [M] net/bluetooth/bluetooth.o
CC [M] net/core/pktgen.o
CC [M] net/bridge/br_netfilter.o
LD [M] net/bridge/bridge.o
make[2]: *** No rule to make target `net/ieee80211/ieee80211_module.o', needed by `net/ieee80211/ieee80211.o'. Stop.
make[1]: *** [net/ieee80211] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [net] Error 2
* Gentoo Linux Genkernel; Version 3.4.8
* Running with options: --menuconfig all
* ERROR: Failed to compile the "modules" target...
* -- Grepping log... --
* -- End log... --
* Please consult /var/log/genkernel.log for more information and any
* errors that were reported above.
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* /var/log/genkernel.log so that your issue can be dealt with effectively.
*
* Please do *not* report compilation failures as genkernel bugs!
|
|
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 7:22 pm Post subject: |
|
|
eix gentoo-sources
Quote: | Available versions:
(2.6.16-r13) 2.6.16-r13
(2.6.1 ~2.6.18
(2.6.18-r7) ~2.6.18-r7
(2.6.19-r5) 2.6.19-r5
(2.6.19-r7) ~2.6.19-r7
(2.6.20) ~2.6.20
(2.6.20-r1) ~2.6.20-r1
(2.6.20-r2) ~2.6.20-r2
(2.6.20-r3) ~2.6.20-r3
(2.6.20-r4) ~2.6.20-r4
(2.6.20-r5) ~2.6.20-r5
(2.6.20-r6) 2.6.20-r6
(2.6.20-r7) 2.6.20-r7
(2.6.20-r 2.6.20-r8
(2.6.20-r9) ~2.6.20-r9
(2.6.20-r10) ~2.6.20-r10
(2.6.21) ~2.6.21
(2.6.21-r1) ~2.6.21-r1
(2.6.21-r2) ~2.6.21-r2
(2.6.21-r3) ~2.6.21-r3
(2.6.21-r4) 2.6.21-r4
(2.6.22) ~2.6.22
(2.6.22-r1) ~2.6.22-r1
(2.6.22-r2) 2.6.22-r2
(2.6.22-r3) ~2.6.22-r3
(2.6.22-r4) ~2.6.22-r4
(2.6.22-r5) 2.6.22-r5
(2.6.22-r6) ~2.6.22-r6
{build symlink ultra1}
Installed versions: 2.6.22-r2(2.6.22-r2)(02:09:54 μμ 20/08/2007)(-build symlink)
2.6.22-r5(2.6.22-r5)(02:43:44 μμ 01/09/2007)(-build -symlink)
Homepage: http://dev.gentoo.org/~dsd/genpatches
Description: Full sources including the Gentoo patchset for the 2.6 kernel tree |
Probably you needed "Installed versions: 2.6.22-r2" and not all of this... |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 7:34 pm Post subject: |
|
|
you are quite lucky
I have almost similar hardware as yours. I can send you my .config and you can put it in /usr/src/linux directory.
After you copy my .config file you will have to do
Code: | genkernel --menuconfig all
check that everything is ok in terms of those settings
|
where would you like to get my .config file? here or by email or private message?
Also can you post now Code: | grep -i ieee802 /usr/src/linux/.config |
about eix it's quite a useful program Code: | emerge eix
update-eix
eix gentoo-sources |
|
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 7:56 pm Post subject: |
|
|
grep -i ieee802 /usr/src/linux/.config
Quote: | CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
CONFIG_IEEE80211_SOFTMAC=m
# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set |
about the eix thanks,i searched a little and gave you the info you asked
ok,about your .config but it won't have any problem doing this?of course if you say it,i have to trust you.i don't mind wherever it's easier for you |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Sep 21, 2007 8:01 pm Post subject: |
|
|
zoe wrote: | grep -i ieee802 /usr/src/linux/.config
Quote: | CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
CONFIG_IEEE80211_SOFTMAC=m
# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set |
about the eix thanks,i searched a little and gave you the info you asked
ok,about your .config but it won't have any problem doing this?of course if you say it,i have to trust you.i don't mind wherever it's easier for you |
In my case i have Code: | CONFIG_IEEE80211=y
CONFIG_IEEE80211_DEBUG=y
CONFIG_IEEE80211_CRYPT_WEP=y
CONFIG_IEEE80211_CRYPT_CCMP=y
CONFIG_IEEE80211_CRYPT_TKIP=y
CONFIG_IEEE80211_SOFTMAC=y
CONFIG_IEEE80211_SOFTMAC_DEBUG=y |
and maybe this could have caused the problem.
where do you want me to send you my .config?
I have some extra settings regarding video for linux which you won't need. you may choose to leave it or delete it. |
|
Back to top |
|
|
zoe Guru
Joined: 10 Jun 2007 Posts: 324 Location: Greece
|
Posted: Fri Sep 21, 2007 8:01 pm Post subject: |
|
|
one more question(you have a lot of patience)
when i was using the normal steps for kernel compilation i was
Quote: | mount /boot
cp /usr/src/linux/arch/i386/boot/bzimage /boot/gentoo-kernel
umount /boot
reboot |
now with
Quote: | genkernel --menuconfig all |
all the above are done automatically? |
|
Back to top |
|
|
|