Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: Max.irkut on February 17, 2022, 09:15:07 PM

Title: Tinycore 8 and lan
Post by: Max.irkut on February 17, 2022, 09:15:07 PM
Hello
I have TinyCore8 and PC (on MB Gigabyte H410M H v3/rev1.3). OS not found LAN. Help me installthe driver. I know that Lan it's INTEL GbE. Dowloaded Intel driver for Linux OS. But if I read "Readme" on this driver, I see: "4. Compile the driver module:  # make install"

Tiny core 8 don't know command "make". If I'll write in term "make install" - OS will answer "-sh: make: not found". What should I do?
Title: Re: Tinycore 8 and lan
Post by: Rich on February 17, 2022, 09:39:11 PM
Hi Max.irkut
You need to install the compiler package:
Code: [Select]
tce-load -wi compiletc
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 18, 2022, 03:29:55 AM
Thank you very much.

But. my tinycore swears:

"Kernel header files not in any of the expected lication. Install the apportoriate kernel develope package, kernek-devel, for building kernel modules and try again."  :o



Title: Re: Tinycore 8 and lan
Post by: curaga on February 18, 2022, 03:41:28 AM
Try a newer TC? That's a 2021 mobo, TC 8 is really old.
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 18, 2022, 03:56:42 AM
I can't to use newer TC. I know that TC-8 it's VERY OLD. I have programm product, which is based on TC-8.  :'( 
Title: Re: Tinycore 8 and lan
Post by: Juanito on February 18, 2022, 05:02:35 AM
Did you make a symlink to the prepared kernel source like this (for example):
Code: [Select]
cd /lib/modules/4.8.17-tinycore
sudo ln -s /usr/src/linux-4.8.17 build
Title: Re: Tinycore 8 and lan
Post by: Rich on February 18, 2022, 10:54:59 AM
Hi Max.irkut
It's possible the kernel already supports your network card. The kernel config file shows these are enabled:
Code: [Select]
CONFIG_I40E=m
CONFIG_I40EVF=m

Install  pciutils.tcz:
Code: [Select]
tce-load -wi pciutilsThen run:
Code: [Select]
lspci -nn > lspci.txtAttach the file  lspci.txt  to your next post so we can see what kind of hardware is involved.
Also, run:
Code: [Select]
dmesg > dmesg.txtAttach the file  dmesg.txt  to your next post so we can see what the kernel is doing.
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 20, 2022, 09:55:02 AM
What do this command do?

CONFIG_I40E=m
CONFIG_I40EVF=m
Title: Re: Tinycore 8 and lan
Post by: Juanito on February 20, 2022, 09:57:41 AM
It means I40E and I40EVF will be compiled as kernel modules.
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 27, 2022, 12:24:13 AM
Now in my PC has installed two LAN: int Intel GbE (maybe on i219-v chip) and discrete RTL controller. RTL is working.
Title: Re: Tinycore 8 and lan
Post by: Rich on February 27, 2022, 01:20:04 AM
Hi Max.irkut
Your  dmesg  attachment is riddled with warnings and errors. It also shows you are not booting an officially
released Tinycore kernel version:
Code: [Select]
Linux version 4.14.62-tinycore (root@csi-builder-template) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)) #1 SMP Mon Oct 11 20:04:44 MSK 2021
Tinycore 8 uses kernel 4.8.17.  Your kernel version 4.14.62 does not match anything we have released.

Your Intel network device is detected, but your kernel doesn't know what to do with it.
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 27, 2022, 02:39:49 AM
It's not very good  :(
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 27, 2022, 02:43:00 AM
What can you advise in this situation?
Title: Re: Tinycore 8 and lan
Post by: Juanito on February 27, 2022, 02:44:53 AM
Install the official version of Tinycorelinux from here:

32-bit http://tinycorelinux.net/13.x/x86/release/
64-bit http://tinycorelinux.net/13.x/x86_64/release/
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 27, 2022, 02:54:49 AM
How to update kernel TC?
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 27, 2022, 03:08:41 AM
I have programm product, which is based on TC-8. Can I update the kernel?
Title: Re: Tinycore 8 and lan
Post by: Juanito on February 27, 2022, 03:31:58 AM
Yes, but you would need to know what you are doing.
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 27, 2022, 03:54:21 AM
Do you have instruction how do it?
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 27, 2022, 05:26:40 AM
If kernel doesn't know what to do with it. Why driver don't install? If I will install driver, Kerner will know, what will to do with it. Or am I wrong?
Title: Re: Tinycore 8 and lan
Post by: Rich on February 27, 2022, 08:35:39 AM
Hi Max.irkut
According to your  lspci  attachment, your device is 8086:15fa. That device uses the  e1000e  driver. According
to this, support for your device was not added to the driver until kernel version 5.5:
Code: [Select]
lkddb pci 8086 15fa .... .... ...... : CONFIG_E1000E CONFIG_ETHERNET CONFIG_NET_VENDOR_INTEL : drivers/net/ethernet/intel/e1000e/netdev.c # in 5.5-5.16, 5.17-rc+HEADfound here:
https://cateee.net/lkddb/web-lkddb/E1000E.html
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 28, 2022, 09:20:03 AM
If I want to use this LAN I'll must to update kernel TC. Will I not be able to use this LAN on this kernel?
Title: Re: Tinycore 8 and lan
Post by: Rich on February 28, 2022, 09:27:06 AM
Hi Max.irkut
I think it's unlikely you'll be able to use the Intel adapter with your current kernel.
Title: Re: Tinycore 8 and lan
Post by: Max.irkut on February 28, 2022, 09:45:59 AM
This is very bad news.
Thanky very much for the consultation.