WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Download links for x86 Pure 64 ...  (Read 3373 times)

Offline emmi

  • Newbie
  • *
  • Posts: 29
Download links for x86 Pure 64 ...
« on: January 10, 2015, 09:10:39 AM »
[I'm new to this forum, so please forgive me if this is not the right place for reporting these problems and point me to the right one, thanks.]

... need to be adjusted. On http://tinycorelinux.net/ports.html they point to 4.x and 5.x.

The same old 5.x is the 6.x's linux-kernel-sources-env.sh (tcz). Also, this script looks for mod_core=Module.symvers-${kerver}-tinycore in the 6.x tree, but there is only a file with extension .gz. On the other hand, there is no corresponding kernel subdirectory in 6.x/x86_64/release/src/ which - as far as I understand - is needed. (Anyway, isn't there a simpler way to compile kernel modules rather than copying and patching the kernel sources?)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Download links for x86 Pure 64 ...
« Reply #1 on: January 10, 2015, 10:29:11 AM »
Thanks - the ports page was adjusted a couple of days back and looks OK to me?

There's no corresponding kernel subdirectory in 6.x/x86_64/release/src/, but the 64-bit stuff is in 6.x/x86/release/src/kernel.

The patched kernel source is available (linux-3.16.6-patched.txz) or is that not what was meant?

Offline emmi

  • Newbie
  • *
  • Posts: 29
Re: Download links for x86 Pure 64 ...
« Reply #2 on: January 10, 2015, 10:41:45 AM »
On http://distro.ibiblio.org/tinycorelinux/ports.html the links are still wrong.

To compile a kernel module I don't think one needs the full and patched kernel sources, but I can't find anything in the TCZ directory related to compiling kernel modules.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Download links for x86 Pure 64 ...
« Reply #3 on: January 10, 2015, 11:43:32 AM »
Mirrors may take a day or few to refresh.
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Download links for x86 Pure 64 ...
« Reply #4 on: January 10, 2015, 12:29:16 PM »
Ah, you mean the equivalent of the linux-headers-3.0.21-tinycore extension - you'll need to pm the maintainer for that...

Offline emmi

  • Newbie
  • *
  • Posts: 29
Re: Download links for x86 Pure 64 ...
« Reply #5 on: January 13, 2015, 04:23:36 PM »
Code: [Select]
--- /tmp/tcloop/linux-kernel-sources-env/usr/local/bin/linux-kernel-sources-env.sh
+++ ./linux-kernel-sources-env.sh
@@ -7,7 +7,7 @@
 ##############################################
 ##############################################
 ## script to prepare kernel sources for
-## tc-5; (full sources in lieu of headers)
+## tc-6; (full sources in lieu of headers)
 ## (kernel 3.x.xx)
 ## required src/deps will be loaded 
 ## locally or downloaded as needed
@@ -40,12 +40,12 @@
 ## Module.symvers-3.x.xx-tinycore(64)
 ## linux-3.x.xx-patched.txz
 
-src_http="http://www.tinycorelinux.net/5.x/x86/release/src/kernel"
+src_http="http://www.tinycorelinux.net/6.x/x86/release/src/kernel"
 
 echo -e "\nScript will download (if required) then \
 \nprepare kernel sources and deps in lieu \
 \nof headers in preparation of a compile \
-\nenvironment for TinyCore-5.x x86 & x86_64"
+\nenvironment for TinyCore-6.x x86 & x86_64"
 f_div
 echo "Continuing shortly..."
 sleep 10
@@ -133,11 +133,11 @@
 case $kerarch in
        tinycore)
        k_config=config-${kerver}-tinycore
-       k_symbols=Module.symvers-${kerver}-tinycore
+       k_symbols=Module.symvers-${kerver}-tinycore.gz
        ;;
        tinycore64)
        k_config=config-${kerver}-tinycore64
-       k_symbols=Module.symvers-${kerver}-tinycore64
+       k_symbols=Module.symvers-${kerver}-tinycore64.gz
        ;;
 esac
 
@@ -188,7 +188,7 @@
        echo "${GREEN}$k ready${NORMAL}"
 fi
 done
-
+gunzip -d /tmp/Module.symvers-${kerver}-tinycore.gz
 
 ##############################################
 ## prepare kernel src files

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Download links for x86 Pure 64 ...
« Reply #6 on: January 27, 2015, 12:22:20 AM »
linux-kernel-sources-env.tcz has been updated to support tc6