Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge e100 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
themightychris
n00b
n00b


Joined: 26 Apr 2005
Posts: 9
Location: Philadelphia, PA

PostPosted: Tue Apr 26, 2005 6:30 am    Post subject: emerge e100 failed Reply with quote

Sorry for posting so much, I do not know what is significant. I am trying to setup gentoo from the latest stage2 sources and live cd on an AMD Duron machine.

Quote:
livecd linux # emerge e100
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/e100-2.3.43 to /
>>> md5 files ;-) e100-3.1.4.ebuild
>>> md5 files ;-) e100-2.3.43.ebuild
>>> md5 files ;-) e100-2.3.40.ebuild
>>> md5 files ;-) e100-3.0.27.ebuild
>>> md5 files ;-) e100-3.2.3.ebuild
>>> md5 files ;-) ChangeLog
>>> md5 files ;-) metadata.xml
>>> md5 files ;-) files/digest-e100-3.1.4
>>> 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 src_uri ;-) e100-2.3.43.tar.gz
>>> Unpacking source...
>>> Unpacking e100-2.3.43.tar.gz to /var/tmp/portage/e100-2.3.43/work
>>> Source unpacked.
Makefile:174: ***
Makefile:175: *** Warning: kernel source version (2.6.11-gentoo-r6)
Makefile:176: *** does not match running kernel (2.6.11-gentoo-r3)
Makefile:177: *** Continuing with build,
Makefile:178: *** resulting driver may not be what you want
Makefile:179: ***
rm -rf e100.o e100_main.o e100_eeprom.o e100_config.o e100_phy.o e100_kcompat.o e100_test.o e100.7.gz
gcc -pipe -O2 -march=i686 -fomit-frame-pointer -Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ -O2 -pipe -I/usr/src
/linux/include -I. -Wstrict-prototypes -fomit-frame-pointer -D__SMP__ -DKBUILD_MODNAME=e100 -I/usr/src/linux/arch/i386/mach-generic -I
/usr/src/linux/include/asm-i386/mach-default -c -o e100_main.o e100_main.c
gcc -pipe -O2 -march=i686 -fomit-frame-pointer -Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ -O2 -pipe -I/usr/src
/linux/include -I. -Wstrict-prototypes -fomit-frame-pointer -D__SMP__ -DKBUILD_MODNAME=e100 -I/usr/src/linux/arch/i386/mach-generic -I
/usr/src/linux/include/asm-i386/mach-default -c -o e100_eeprom.o e100_eeprom.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/asm/uaccess.h:9,
from /usr/src/linux/include/net/checksum.h:25,
from e100_main.c:71:
/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/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.h:31,
from e100_eeprom.c:45:
/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
e100_main.c: In function `e100_add_skb_to_end':
e100_main.c:356: warning: implicit declaration of function `pci_dma_sync_single'
gcc -pipe -O2 -march=i686 -fomit-frame-pointer -Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ -O2 -pipe -I/usr/src
/linux/include -I. -Wstrict-prototypes -fomit-frame-pointer -D__SMP__ -DKBUILD_MODNAME=e100 -I/usr/src/linux/arch/i386/mach-generic -I
/usr/src/linux/include/asm-i386/mach-default -c -o e100_config.o e100_config.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.h:31,
from e100_config.h:31,
from e100_config.c:44:
/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
e100_main.c: In function `e100_suspend':
e100_main.c:4521: error: too many arguments to function `pci_save_state'
e100_main.c: In function `e100_resume':
e100_main.c:4546: error: too many arguments to function `pci_restore_state'
gcc -pipe -O2 -march=i686 -fomit-frame-pointer -Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ -O2 -pipe -I/usr/src
/linux/include -I. -Wstrict-prototypes -fomit-frame-pointer -D__SMP__ -DKBUILD_MODNAME=e100 -I/usr/src/linux/arch/i386/mach-generic -I
/usr/src/linux/include/asm-i386/mach-default -c -o e100_phy.o e100_phy.c
make: *** [e100_main.o] Error 1
make: *** Waiting for unfinished jobs....
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.h:31,
from e100_phy.h:31,
from e100_phy.c:28:
/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

!!! ERROR: net-misc/e100-2.3.43 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Tue Apr 26, 2005 7:02 am    Post subject: Reply with quote

First, make sure your /usr/src/linux symlink always points to the source of the kernel you're actually using. You should have it pointing to the 2.6.11-gentoo-r3 instead of -r6.

Second, you don't really need to emerge the e100 ebuild. e100 support comes with the 2.6 series kernels already.


Håkan
Back to top
View user's profile Send private message
bkunlimited
l33t
l33t


Joined: 18 Jun 2004
Posts: 672

PostPosted: Tue Apr 26, 2005 7:02 am    Post subject: Reply with quote

why don't you use the e100 driver which comes with the kernel sources?
Back to top
View user's profile Send private message
themightychris
n00b
n00b


Joined: 26 Apr 2005
Posts: 9
Location: Philadelphia, PA

PostPosted: Tue Apr 26, 2005 7:42 am    Post subject: Reply with quote

I am using r6. The handbook said to install it. That was being run from the liveCD which i guess was running r3.

I ran emerge --fetchonly e100 and finished up the install, now running it from my installation i get the same error.

I can't bring up eth0

Quote:

#/etc/init.d/net.eth0 start
* Bringing eth0 up (192.168.1.102)...
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SCIOCSIFBRDADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device [!!]
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Tue Apr 26, 2005 8:44 am    Post subject: Reply with quote

I also suggest usin ghte kernel-version of e100.


I followed the handbook a few years back and used the d/l driver. However I then at another time cleared my /usr/portage/distfiles and compiled a new kernel. I forgot to re-merge e100 and booted the new kernel - no net!!! since no driver. I couldn't emerge it since you need net to d/l and I dont hav ethe driver.

After that point NIC alwaysa get compiled from the kernel
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Tue Apr 26, 2005 2:29 pm    Post subject: Reply with quote

themightychris, is the driver loaded? lsmod will tell you what drivers are loaded. modprobe e100 will load the e100 driver. Try starting the net.eth0 init script after typing that.

You can have modules loaded automatically by adding the name of the module on a line of its own to /etc/modules.autoload.d/kernel-2.6.


Håkan
Back to top
View user's profile Send private message
themightychris
n00b
n00b


Joined: 26 Apr 2005
Posts: 9
Location: Philadelphia, PA

PostPosted: Tue Apr 26, 2005 5:25 pm    Post subject: Reply with quote

module e100 doesn't exist. lsmod reveals no drivers loaded

I used manual configuration when i compiled my kernel. In the device drivers section a Realtek driver had been automatically enabled so i left that be and assumed it was the proper one for my onboard nic.

I'm looking and the config right now, Ethernet (10 or 100Mbit) is selected as built-in and under it RealTex RTL 8139 PCI Fast Ethernet Adapter Support is built-in under EISA, VLB, PCI and on board controllers section


UPDATE:
----------
I dug through dmesg and found sis900 and disabled the realtek driver being built in and enabled sis900 as a module and loaded it and everything works. Thanks for your help, I couldn't have figured it out without your clues.


Last edited by themightychris on Tue Apr 26, 2005 5:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
bkunlimited
l33t
l33t


Joined: 18 Jun 2004
Posts: 672

PostPosted: Tue Apr 26, 2005 5:51 pm    Post subject: Reply with quote

@hw-tph: he is not able to compile the module. therefore he can't load it ;)
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Wed Apr 27, 2005 4:35 pm    Post subject: Reply with quote

bkunlimited wrote:
@hw-tph: he is not able to compile the module. therefore he can't load it ;)

He was having problems with the module from the e100 ebuild. The in-kernel e100 module should be good to go if selected during compilation (it's in the default config, IIRC).

chris, good to hear you got it working!


Håkan
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum