SliTaz SliTaz Forum

You are not logged in.

#1 2012-10-14 21:11:07

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

SliTaz 3.0, which packages to compile?

My ethernet controller is an Intel Corporation 82579V Gigabit Network Connection. I'd like to use it with SliTaz 3.0. I need module e1000e. I've downladed the source file on the Intel site and tried to compile it but make returns the following message:

root@slitaz:/lib/firmware/e1000e-2.0.0/src# make install

makefile:71: *** Kernel header files not in any of the expected locations.

makefile:72: *** Install the appropriate kernel developement package, e. G.

makefile:73: *** kerrnel-devel, for building kernel modules and try again. Arrêt.

root@slitaz:/lib/firmware/e1000e-2.0.0/src#

I've downloaded slitaz-toolchain and linux-source packages but same message. Here is an extract of the makefile file

39 ifeq (,$(BUILD_KERNEL))

40 BUILD_KERNEL=$(shell uname -r)

41 endif

42

43 DRIVER_NAME = e1000e

44

45 ###########################################################################

46 # Environment tests

47

48 # Kernel Search Path

49 # All the places we look for kernel source

50 KSP :=  /lib/modules/$(BUILD_KERNEL)/build \

51         /lib/modules/$(BUILD_KERNEL)/source \

52         /lib/modules/$(BUILD_KERNEL)-default/build \

53         /usr/src/linux-$(BUILD_KERNEL) \

54         /usr/src/linux-$($(BUILD_KERNEL) | sed 's/-.*//') \

55         /usr/src/kernel-headers-$(BUILD_KERNEL) \

56         /usr/src/kernel-source-$(BUILD_KERNEL) \

57         /usr/src/linux-$($(BUILD_KERNEL) | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \

58         /usr/src/linux

59

60 # prune the list down to only values that exist

61 # and have an include/linux sub-directory

62 test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))

63 KSP := $(foreach dir, $(KSP), $(test_dir))

64

65 # we will use this first valid entry in the search path

66 ifeq (,$(KSRC))

67   KSRC := $(firstword $(KSP))

68 endif

69

70 ifeq (,$(KSRC))

71   $(warning *** Kernel header files not in any of the expected locations.)

72   $(warning *** Install the appropriate kernel development package, e.g.)

73   $(error kernel-devel, for building kernel modules and try again)

74 else

I understand make don't find files. Do I have to download another package?

Offline

#2 2012-10-14 22:27:16

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: SliTaz 3.0, which packages to compile?

Slitaz-3.0 has e1000e driver built into the kernel

tux@slitaz:~$ uname -a

Linux slitaz 2.6.30.6-slitaz #1 SMP Thu Apr 8 21:19:10 CEST 2010 i686 unknown

zcat /proc/config.gz | grep -i e1000e

CONFIG_E1000E=y

Post output:

[c]lspci -nn[/c]

[c]ls /sys/class/net[/c]

[c]ifconfig[/c]

Offline

#3 2012-10-15 19:33:38

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: SliTaz 3.0, which packages to compile?

Hi mojo,

lscpi -nn

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:0104] (rev 09)

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:0116] (rev 09)

00:14.0 USB Controller [0c03]: Intel Corporation Device [8086:1e31] (rev 04)

00:16.0 Communication controller [0780]: Intel Corporation Device [8086:1e3a] (rev 04)

00:19.0 Ethernet controller [0200]: Intel Corporation Device [8086:1503] (rev 04)

00:1a.0 USB Controller [0c03]: Intel Corporation Device [8086:1e2d] (rev 04)

00:1b.0 Audio device [0403]: Intel Corporation Device [8086:1e20] (rev 04)

00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:1e10] (rev c4)

00:1c.2 PCI bridge [0604]: Intel Corporation Device [8086:1e14] (rev c4)

00:1c.7 PCI bridge [0604]: Intel Corporation Device [8086:1e1e] (rev c4)

00:1d.0 USB Controller [0c03]: Intel Corporation Device [8086:1e26] (rev 04)

00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:1e59] (rev 04)

00:1f.2 SATA controller [0106]: Intel Corporation Device [8086:1e03] (rev 04)

00:1f.3 SMBus [0c05]: Intel Corporation Device [8086:1e22] (rev 04)

0a:00.0 Network controller [0280]: Intel Corporation Device [8086:0890] (rev c4)

0b:00.0 Class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:5229] (rev 01)

ls /sys/class/net

dummy0  lo

ifconfig

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Offline

#4 2012-10-16 22:51:56

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: SliTaz 3.0, which packages to compile?

Did you install slitaz-toolchain and linux-source from the 3.0 repo?

Make script can't find linux-source which when installed would be found.

Linux-source has to be installed while connected to the internet,it is a script that downloads,extracts,and patch's linux-2.6.30.6.tar.bz2 which is 60MB.

Linux-source for 3.0 should be installed here=>  /usr/src/linux-2.6.30.6-slitaz

tux@slitaz:~$ ls -la /usr/src/linux

lrwxrwxrwx    1 root     root           21 Mar 18  2011 /usr/src/linux -> linux-2.6.30.6-slitaz/

Offline

#5 2012-10-18 20:57:50

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: SliTaz 3.0, which packages to compile?

Your're right mojo. I've downloaded slitaz-toolchain + linux-source and their dependencies from 3.0 repo with windows explorer and then installed them. I didn't pay attention during installation and didn't see the error messages.

I tried from a liveCD on my old MSNet but I run out of memory (only 512 Mb) when unpacking linux-2.6.30.6.tar.bz2. I'll try with SliTaz-base flavor or find an other way this week end when I'll have more time.

Thank you.

Offline

#6 2012-10-21 20:32:55

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: SliTaz 3.0, which packages to compile?

That's OK. I can compile now; I finally managed to install linux-source without internet connection. I close this topic since I have the answer to my question.

But I still have no internet connection... SliTaz 3.0 doesn't see my ethernet controller (and of course mojo you were right again : e1000e driver is built into the kernel, I'd have saw it if I had a look in the log files. I'm a stupid boy)

Offline

#7 2012-10-21 22:23:28

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: SliTaz 3.0, which packages to compile?

Your instincts were correct about compiling the e1000e driver.

The e1000e in Slitaz 3.0 (2.6.30.6 kernel) is too old to work with Intel 82579V gigabit ethernet

http://sourceforge.net/projects/e1000/files/e1000e%20stable/

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.024 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]