Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Nov 29, 2005 12:51 am 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
Im stuck!
Can anyone help?

What could possibly cause this error?

Calculating world dependencies ...done!
>>> emerge (1 of 94) net-misc/e100-3.4.8 to /
>>> md5 files ;-) e100-3.2.3.ebuild
>>> md5 files ;-) e100-2.3.40.ebuild
>>> md5 files ;-) e100-2.3.43.ebuild
>>> md5 files ;-) e100-3.0.27.ebuild
>>> md5 files ;-) e100-3.1.4.ebuild
>>> md5 files ;-) e100-3.3.6.ebuild
>>> md5 files ;-) e100-3.4.8.ebuild
>>> md5 files ;-) files/digest-e100-3.2.3
>>> md5 files ;-) files/digest-e100-2.3.40
>>> md5 files ;-) files/digest-e100-2.3.43
>>> md5 files ;-) files/digest-e100-3.0.27
>>> md5 files ;-) files/digest-e100-3.1.4
>>> md5 files ;-) files/digest-e100-3.3.6
>>> md5 files ;-) files/digest-e100-3.4.8
>>> md5 src_uri ;-) e100-3.4.8.tar.gz
>>> Unpacking source...
>>> Unpacking e100-3.4.8.tar.gz to /var/tmp/portage/e100-3.4.8/work
>>> Source unpacked.
rm -rf e100.ko e100.o e100.mod.c e100.mod.o e100.o e100.7.gz .*cmd .tmp_versionsgcc -O2 -mcpu=i686 -fomit-frame-pointer -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/usr/src/linux/include -I. -D__SMP__ -c -o e100.o e100.c
In file included from /usr/src/linux/include/asm/processor.h:18,
from /usr/src/linux/include/asm/thread_info.h:17,
from /usr/src/linux/include/linux/thread_info.h:21,
from /usr/src/linux/include/linux/spinlock.h:12,
from /usr/src/linux/include/linux/capability.h:45,
from /usr/src/linux/include/linux/sched.h:7,
from /usr/src/linux/include/linux/module.h:10,
from e100.c:138:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/src/linux/include/asm/smp.h:18,
from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from e100.c:138:
/usr/src/linux/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/src/linux/include/asm/smp.h:18,
from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from e100.c:138:
/usr/src/linux/include/asm/mpspec.h: At top level:
/usr/src/linux/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/src/linux/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/src/linux/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/src/linux/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
In file included from /usr/src/linux/include/asm/smp.h:20,
from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from e100.c:138:
/usr/src/linux/include/asm/io_apic.h:158: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux/include/asm/io_apic.h:158: error: conflicting types for `mp_irqs'/usr/src/linux/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'In file included from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from e100.c:138:
/usr/src/linux/include/asm/smp.h:72:26: mach_apicdef.h: No such file or directory
In file included from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from e100.c:138:
/usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id':
/usr/src/linux/include/asm/smp.h:76: warning: implicit declaration of function `GET_APIC_ID'
In file included from /usr/src/linux/include/linux/irq.h:21,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/netdevice.h:518,
from e100.c:145:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directoryIn file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/netdevice.h:518,
from e100.c:145:
/usr/src/linux/include/linux/irq.h: At top level:
/usr/src/linux/include/linux/irq.h:71: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:73,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/netdevice.h:518,
from e100.c:145:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/netdevice.h:518,
from e100.c:145:
/usr/src/linux/include/linux/irq.h:78: error: `NR_IRQS' undeclared here (not in a function)
make: *** [e100.o] Error 1

!!! ERROR: net-misc/e100-3.4.8 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Top
   
 Post subject:
PostPosted: Wed Nov 30, 2005 10:48 am 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
[meta]Why are you trying to build kernel modules on your Linode?[/meta]

Guessing: it almost looks like the linux source tree hasn't been configured.

You might have better luck asking on a Gentoo forum...

Steve

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject:
PostPosted: Wed Nov 30, 2005 6:19 pm 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
its actually not for my linode :( but I tried on the gentoo forums and got no answer.


Top
   
 Post subject:
PostPosted: Wed Nov 30, 2005 11:10 pm 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
I'm a Gentoo user on my Linode.

Some questions:

1. Is this for a Linode at all (even if not yours), or is this for a non-Linode Gentoo system? Knowing which is the case is very important.

2. Does this mysterious machine run Xen?

3. Is kernel sources currently present AND configured? Ie:

cd /usr/src/linux
make prepare

Does that work?

It's not really a Gentoo-specific problem per se, sounds like. Just simply that you don't have kernel sources or the symlinks for it aren't set up.

I did a quick 'emerge e100' on my non-Linode Gentoo box, and that built and was done within about 10-15 seconds without issues. Nothing special there. So I really think you've got some kind of kernel sources setup issue.


Top
   
 Post subject:
PostPosted: Thu Dec 01, 2005 9:52 am 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
Thanks for the help in advance.

Im only semi familiar with linux so if I write something that doesnt make sence please correct me.

1. The problem lies on my personal box (it is a non-linode gentoo system).

2. I have never compiled Xen so I guess not Im not even sure what thats for.

3.Yes that make worked here is the output

make prepare

CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h

Still have the same problem though

Im not sure but does this have anything to do with my network card configuration?


Top
   
 Post subject:
PostPosted: Thu Dec 01, 2005 6:28 pm 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
If you don't know what Xen is, then you don't have it. :) All good there.

Can you do 'emerge gentoolkit' then post the output of:

Code:
# equery list \*sources
# uname -a
# ls -l /usr/src/linux/include/asm

Also, what kind of hardware is it? (Processor) How many processors? Does it use hyperthreading?


Top
   
 Post subject:
PostPosted: Thu Dec 01, 2005 7:50 pm 
Offline
Senior Member

Joined: Thu Sep 29, 2005 9:52 pm
Posts: 79
Website: http://www.hectorg.net
Location: Miami, Florida
# equery list \*sources
[ Searching for package '*sources' in all categories among: ]
* installed packages

# uname -a
Linux shark 2.6.10-gentoo-r4 #36 SMP Wed Jan 19 18:21:10 EST 2005 i686 AMD Athlon(tm) Processor AuthenticAMD GNU/Linux

# ls -l /usr/src/linux/include/asm
lrwxr-xr-x 1 root root 8 Jan 13 2005 /usr/src/linux/include/asm -> asm-i386

I have only 1CPU AMD XP1800 on an asus board equivalent to id say a 1.5 Ghz CPU Nothing fancy no hyperthreading.


Top
   
 Post subject:
PostPosted: Thu Dec 01, 2005 8:19 pm 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
Hmm. That's a very strange Gentoo system to not have any kernel sources ebuild installed, and yet you have kernel sources...hmm.

I might suggest installing Gentoo sources ('emerge gentoo-sources') which is basically the plain vanilla official kernel sources + various patches integrated. If you do, don't forget to update the symlink for /usr/src/linux to point to the latest kernel sources delivered.

Then configure the kernel (be sure to turn off SMP and HyperThreading support), compile it, save old kernel (so you can boot off it in case of emergency), install new kernel and modules, and boot off new kernel.

Then retry the 'emerge e100' again.

If you built your current kernel from sources, then you can copy /usr/src/linux-<version>/.config to your new kernel version directory, and do 'make oldconfig' before adjusting options via 'make menuconfig'.

That would import your existing kernel options and update it to include newer options, so that you can at least tweak a known good setup.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group