WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: not loading modules and not loading extension TC 9x x64  (Read 7404 times)

Offline halma

  • Full Member
  • ***
  • Posts: 164
not loading modules and not loading extension TC 9x x64
« on: April 25, 2018, 01:56:50 PM »
hi, i try to get TC 9x x64 working, i remaster the corepure64.gz to create an image that i put on an usb device to boot TC but now no modules where loaded and also no extension also are loaded... what can i do, pls help.

cat /var/log/messages
8< cut start:
Code: [Select]
Apr 25 18:42:54 xenbox user.notice kernel: sd 2:0:0:0: [sda] Attached SCSI removable disk
Apr 25 18:42:54 xenbox user.info kernel: EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
Apr 25 18:42:54 xenbox user.info kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Apr 25 18:42:54 xenbox auth.notice su: + none root:tc
Apr 25 18:42:54 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/mkdir -p /tmp/tcloop/attr
Apr 25 18:42:54 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/mount attr.tcz /tmp/tcloop/attr -t squashfs -o loop,ro,bs=4096
Apr 25 18:42:54 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/umount -d /tmp/tcloop/attr
Apr 25 18:42:54 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/mkdir -p /tmp/tcloop/ncursesw
Apr 25 18:42:54 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/mount ncursesw.tcz /tmp/tcloop/ncursesw -t squashfs -o loop,ro,6
Apr 25 18:42:54 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/umount -d /tmp/tcloop/ncursesw
Apr 25 18:42:55 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/mkdir -p /tmp/tcloop/iproute2
Apr 25 18:42:55 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/mount iproute2.tcz /tmp/tcloop/iproute2 -t squashfs -o loop,ro,6
Apr 25 18:42:55 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/mnt/sda1/tce/optional ; USER=root ; COMMAND=/bin/umount -d /tmp/tcloop/iproute2
Apr 25 18:42:55 xenbox authpriv.notice sudo:     root : TTY=console ; PWD=/ ; USER=root ; COMMAND=/bin/tar -C / -zxf /mnt/sda1/tce/mydata.tgz
Apr 25 18:42:55 xenbox daemon.info init: starting pid 1085, tty '/dev/tty1': '/sbin/getty 57600 tty1'
Apr 25 18:42:55 xenbox daemon.info init: starting pid 1086, tty '/dev/ttyS0': '/sbin/getty 57600 ttyS0'
Apr 25 18:44:04 xenbox authpriv.notice sudo:       tc : TTY=unknown ; PWD=/home/tc ; USER=root ; COMMAND=/usr/bin/tee /etc/sysconfig/backup
Apr 25 18:44:35 xenbox user.notice kernel: random: crng init done
8< cut end

Code: [Select]
ls -hal /usr/local/lib/modules/4.14.10-tinycore64/kernel/
total 0
drwxr-xr-x    2 root     root           0 Apr 25 17:21 ./
drwxr-xr-x    3 root     root           0 Apr 25 17:21 ../

Code: [Select]
ls -hal /lib/modules/4.14.10-tinycore64/
total 24
drwxr-xr-x    3 root     root           0 Apr 25 17:22 ./
drwxr-xr-x    3 root     root           0 Apr 25 17:21 ../
drwxr-xr-x    9 root     root           0 Apr 25 17:22 kernel/
lrwxrwxrwx    1 root     root          48 Apr 25 17:22 kernel.tclocal -> /usr/local/lib/modules/4.14.10-tinycore64/kernel/
-rw-r--r--    1 root     root           0 Apr 25 17:22 modules.alias
-rw-r--r--    1 root     root       13.0K Apr 25 17:21 modules.builtin
-rw-r--r--    1 root     root           0 Apr 25 17:22 modules.dep
-rw-r--r--    1 root     root           0 Apr 25 17:21 modules.order
-rw-r--r--    1 root     root           0 Apr 25 17:22 modules.symbols

8< cut start
Code: [Select]
tc@xenbox:~$ ls -hal /mnt/sda1/tce/optional/
total 134758
drwxrwxr-x    2 tc       staff       5.0K Apr 25 17:26 ./
drwxrwxr-x    4 tc       staff       1.0K Apr 25 17:26 ../
-rw-rw-r--    1 tc       staff      40.0K Apr 25 17:26 acl.tcz
-rw-rw-r--    1 tc       staff         11 Apr 25 17:26 acl.tcz.dep
-rw-rw-r--    1 tc       staff         42 Apr 25 17:26 acl.tcz.md5.txt
-rw-rw-r--    1 tc       staff      24.0K Apr 25 17:26 attr.tcz
-rw-rw-r--    1 tc       staff         43 Apr 25 17:26 attr.tcz.md5.txt
-rw-rw-r--    1 tc       staff     420.0K Apr 25 17:26 bash.tcz
-rw-rw-r--    1 tc       staff         13 Apr 25 17:26 bash.tcz.dep
-rw-rw-r--    1 tc       staff         43 Apr 25 17:26 bash.tcz.md5.txt
-rw-rw-r--    1 tc       staff      12.0K Apr 25 17:26 bridge-utils.tcz
-rw-rw-r--    1 tc       staff         24 Apr 25 17:26 bridge-utils.tcz.dep
-rw-rw-r--    1 tc       staff         51 Apr 25 17:26 bridge-utils.tcz.md5.txt
-rw-rw-r--    1 tc       staff      28.0K Apr 25 17:26 bzip2-lib.tcz
-rw-rw-r--    1 tc       staff         48 Apr 25 17:26 bzip2-lib.tcz.md5.txt
-rw-rw-r--    1 tc       staff       1.7M Apr 25 17:26 coreutils.tcz
-rw-rw-r--    1 tc       staff         27 Apr 25 17:26 coreutils.tcz.dep
-rw-rw-r--    1 tc       staff         48 Apr 25 17:26 coreutils.tcz.md5.txt
-rw-rw-r--    1 tc       staff       4.0M Apr 25 17:26 firmware-amdgpu.tcz
-rw-rw-r--    1 tc       staff         54 Apr 25 17:26 firmware-amdgpu.tcz.md5.txt
-rw-rw-r--    1 tc       staff       2.7M Apr 25 17:26 firmware-radeon.tcz
-rw-rw-r--    1 tc       staff         54 Apr 25 17:26 firmware-radeon.tcz.md5.txt
-rw-rw-r--    1 tc       staff      28.0K Apr 25 17:26 firmware-rtl_nic.tcz
-rw-rw-r--    1 tc       staff         55 Apr 25 17:26 firmware-rtl_nic.tcz.md5.txt
-rw-rw-r--    1 tc       staff       1.3M Apr 25 17:26 glib2.tcz
-rw-rw-r--    1 tc       staff         20 Apr 25 17:26 glib2.tcz.dep
-rw-rw-r--    1 tc       staff         44 Apr 25 17:26 glib2.tcz.md5.txt
8< cut end

Code: [Select]
mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda1 on /mnt/sda1 type ext3 (rw,relatime,data=ordered)


Code: [Select]
uname -a
Linux xenbox 4.14.10-tinycore64 #1 SMP Tue Apr 24 16:31:07 GMT 2018 x86_64 GNU/Linux

if i had forget some information, pls tell me, i will try to provide them.

Thanks
« Last Edit: April 25, 2018, 01:58:44 PM by halma »
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: not loading modules and not loading extension TC 9x x64
« Reply #1 on: April 25, 2018, 02:05:11 PM »
Hard to say with a remaster, but your sudo log at least looks like copy mode/copy2fs.
The only barriers that can stop you are the ones you create yourself.

Offline halma

  • Full Member
  • ***
  • Posts: 164
Re: not loading modules and not loading extension TC 9x x64
« Reply #2 on: April 25, 2018, 03:17:31 PM »
Hi Curaga,

copy2fs is not activated :


and thats my extlinux.conf boot line
Code: [Select]
DEFAULT tinycore
PROMPT 1
TIMEOUT 1

LABEL tinycore
MENU LABEL tinycore
KERNEL /boot/$(basename $BUILDDIR/fs_mount/boot/vmlinu*)
APPEND initrd=/boot/$(basename $BUILDDIR/fs_mount/boot/corepur*) console=tty0 console=ttyS0,57600n8 nozswap waitusb=5 root=$BLKID tce=$BLKID nodhcp noutc syslog tz=Europe/Berlin host=xenbox


and thats the screen output from my serial connection
8< cut start
Code: [Select]
Booting Core 9.0
Running Linux Kernel 4.14.10-tinycore64.
Checking boot options... Done.
Starting udev daemon for hotplug support... Done.
clocksource: Switched to clocksource tsc
scsi 2:0:0:0: Direct-Access     Sony     Storage Media    0100 PQ: 0 ANSI: 0 CCS
sd 2:0:0:0: Attached scsi generic sg0 type 0
sd 2:0:0:0: [sda] 7864320 512-byte logical blocks: (4.03 GB/3.75 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] No Caching mode page found
sd 2:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 2:0:0:0: [sda] Attached SCSI removable disk
Skipping compressed swap in ram as requested from the boot command line.
Scanning hard disk partitions to create /etc/fstab
Setting Language to C Done.
Setting Timezone to Europe/Berlin Done.
Setting hostname to xenbox Done.
syslog started.
klog started.
Possible swap partition(s) enabled.
Loading extensions...EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
 Done.
Setting keymap to us Done.
Restoring backup files from /mnt/sda1/tce/mydata.tgz /
Done.
Skipping DHCP broadcast/network detection as requested on boot commandline.
Setting hostname to xenbox Done.
fbset: can't open '/dev/fb0': No such device
ifconfig: SIOCSIFADDR: No such device
/opt/bootlocal.sh: line 18: brctl: not found
/opt/bootlocal.sh: line 19: brctl: not found
/opt/bootlocal.sh: line 20: brctl: not found
ifconfig: SIOCGIFFLAG
Core Linux
xenbox login:

8< cut end


copy2fs is not enabled at the moment ....
Code: [Select]
tc@xenbox:~$ sudo find / -name "copy2fs*"
tc@xenbox:~$


and here my complete minicom logfile
https://pastebin.com/7Egvb8y0
« Last Edit: April 25, 2018, 03:27:07 PM by halma »
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: not loading modules and not loading extension TC 9x x64
« Reply #3 on: April 25, 2018, 08:08:22 PM »
Hi Curaga,

copy2fs is not activated :


and thats my extlinux.conf boot line
Code: [Select]
DEFAULT tinycore
PROMPT 1
TIMEOUT 1

LABEL tinycore
MENU LABEL tinycore
KERNEL /boot/$(basename $BUILDDIR/fs_mount/boot/vmlinu*)
APPEND initrd=/boot/$(basename $BUILDDIR/fs_mount/boot/corepur*) console=tty0 console=ttyS0,57600n8 nozswap waitusb=5 root=$BLKID tce=$BLKID nodhcp noutc syslog tz=Europe/Berlin host=xenbox

hello Halma

  • I'm curious to know what "tce=$BLKID" resolves to?
  • Assuming you have a tce directory what is the outcome of "showapps" boot code?
  • While unrelated, do you really need both noutc and tz= bootcodes?
« Last Edit: April 25, 2018, 08:14:07 PM by coreplayer2 »

Offline halma

  • Full Member
  • ***
  • Posts: 164
Re: not loading modules and not loading extension TC 9x x64
« Reply #4 on: April 26, 2018, 02:21:53 PM »
Hi Curaga,

copy2fs is not activated :


and thats my extlinux.conf boot line
Code: [Select]
DEFAULT tinycore
PROMPT 1
TIMEOUT 1

LABEL tinycore
MENU LABEL tinycore
KERNEL /boot/$(basename $BUILDDIR/fs_mount/boot/vmlinu*)
APPEND initrd=/boot/$(basename $BUILDDIR/fs_mount/boot/corepur*) console=tty0 console=ttyS0,57600n8 nozswap waitusb=5 root=$BLKID tce=$BLKID nodhcp noutc syslog tz=Europe/Berlin host=xenbox

hello Halma

  • I'm curious to know what "tce=$BLKID" resolves to?
  • Assuming you have a tce directory what is the outcome of "showapps" boot code?
  • While unrelated, do you really need both noutc and tz= bootcodes?

hi coreplayer2
tce=$BLKID will generate a BlockID alias UUID for the Directory like this ->
Code: [Select]
Command line: BOOT_IMAGE=/boot/vmlinuz64_9.0_4.14.10_xen initrd=/boot/corepure64_9.0_4.14.10_xen.gz console=tty0 console=ttyS0,57600n8 nozswap waitusb=5 root=UUID="ecfb7bd6-79ba-47a0-ba2f-5589f75cf137" tce=UUID="ecfb7bd6-79ba-47a0-ba2f-5589f75cf137" nodhcp noutc syslog tz=Europe/Berlin host=xenbox
showapps is a very good hint, it shows :
Code: [Select]
Loading extensions...
EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/attr: Invalid argument
attr mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/ncursesw: Invalid argument
ncursesw mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/netfilter-4.14.10-tinycore64: Invalid argument
netfilter-4.14.10-tinycore64 mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/bzip2-lib: Invalid argument
bzip2-lib mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libcap: Invalid argument
libcap mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/firmware-amdgpu: Invalid argument
firmware-amdgpu mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/firmware-radeon: Invalid argument
firmware-radeon mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/firmware-rtl_nic: Invalid argument
firmware-rtl_nic mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/pcre: Invalid argument
pcre mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/gmp: Invalid argument
gmp mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/iasl: Invalid argument
iasl mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/iptables: Invalid argument
iptables mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/ipv6-4.14.10-tinycore64: Invalid argument
ipv6-4.14.10-tinycore64 mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libaio: Invalid argument
libaio mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libdb: Invalid argument
libdb mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libffi: Invalid argument
libffi mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libjpeg-turbo: Invalid argument
libjpeg-turbo mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/liblzma: Invalid argument
liblzma mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libpng: Invalid argument
libpng mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/openssl: Invalid argument
openssl mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libvncserver: Invalid argument
libvncserver mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libXdmcp: Invalid argument
libXdmcp mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libXau: Invalid argument
libXau mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libxcb: Invalid argument
libxcb mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libyajl: Invalid argument
libyajl mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/libssh2: Invalid argument
libssh2 mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/ncurses: Invalid argument
ncurses mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/net-bridging-4.14.10-tinycore64: Invalid argument
net-bridging-4.14.10-tinycore64 mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/openssh: Invalid argument
openssh mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/pciutils-dev: Invalid argument
pciutils-dev mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/perl5: Invalid argument
perl5 mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/pixman: Invalid argument
pixman mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/readline: Invalid argument
readline mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/sdl: Invalid argument
sdl mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/slang: Invalid argument
slang mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/udev-lib: Invalid argument
udev-lib mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/util-linux: Invalid argument
util-linux mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/xen4-kernel: Invalid argument
xen4-kernel mount: can't setup loop device: No such device or address
umount: can't unmount /tmp/tcloop/iproute2: Invalid argument
iproute2  Done.
Setting keymap to us Done.
Restoring backup files from /mnt/sda1/tce/mydata.tgz /
Done.
and so far

i will try to recompile the kernel with loop buildin support, something like this: CONFIG_BLK_DEV_LOOP=y
i removed noutc .... lets see that my local time is correct after that ...
thanks so far
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: not loading modules and not loading extension TC 9x x64
« Reply #5 on: April 27, 2018, 12:30:49 AM »
Quote
hi coreplayer2
tce=$BLKID will generate a BlockID alias UUID for the Directory like this ->
Code: [Select]
Command line: BOOT_IMAGE=/boot/vmlinuz64_9.0_4.14.10_xen initrd=/boot/corepure64_9.0_4.14.10_xen.gz console=tty0 console=ttyS0,57600n8 nozswap waitusb=5 root=UUID="ecfb7bd6-79ba-47a0-ba2f-5589f75cf137" tce=UUID="ecfb7bd6-79ba-47a0-ba2f-5589f75cf137" nodhcp noutc syslog tz=Europe/Berlin host=xenbox

Ok thanks,  I didn't realize BLKID was a builtin.  But how do you know the UUID is correct?   If it's the only device then why even use UUID?

"showapps" indicates an attempt to load extensions, but are we assuming it's looking at the correct device?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: not loading modules and not loading extension TC 9x x64
« Reply #6 on: April 27, 2018, 06:36:50 AM »
i will try to recompile the kernel with loop buildin support, something like this: CONFIG_BLK_DEV_LOOP=y

You would probably do better to start with the tinycore kernel config here:

http://tinycorelinux.net/9.x/x86_64/release/src/kernel/config-4.14.10-tinycore64

..and then make the changes you require.

Offline halma

  • Full Member
  • ***
  • Posts: 164
Re: not loading modules and not loading extension TC 9x x64
« Reply #7 on: April 27, 2018, 01:08:07 PM »
i will try to recompile the kernel with loop buildin support, something like this: CONFIG_BLK_DEV_LOOP=y

You would probably do better to start with the tinycore kernel config here:

http://tinycorelinux.net/9.x/x86_64/release/src/kernel/config-4.14.10-tinycore64

..and then make the changes you require.

Hi Juanito,
thats the .config which i allready are using atm for 4.14.10-tinycore64, but as seen in the posts above, i have problem with this .config, setting up from "CONFIG_BLK_DEV_LOOP=m" to "CONFIG_BLK_DEV_LOOP=y" works.
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol