WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Problem installing extensions in 7.0alpha6 for armv6  (Read 2250 times)

Offline johand

  • Newbie
  • *
  • Posts: 19
Problem installing extensions in 7.0alpha6 for armv6
« on: September 25, 2015, 06:09:04 AM »
Raspberry Pi 1 A

How to reproduce:
- New install on SD card.
- Expand the mmcblk0p2 partition following this instruction http://tinycorelinux.net/7.x/armv6/test_releases/README (BTW, resize2fs require sudo, not mentioned in the instruction).
- Install wifi.tcz (with tce-ab).

Result:
wifi.tcz.dep OK
wireless_tools.tcz.dep OK
wpa_supplicant.tcz.dep OK
readline.tcz.dep OK
Downloading: wireless-4.1.7-piCore+.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wireless-4.1.7-piCor 100% |*******************************|  2620k  0:00:00 ETA
wireless-4.1.7-piCore+.tcz: OK
Downloading: libiw.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
libiw.tcz            100% |*******************************| 16384   0:00:00 ETA
libiw.tcz: OK
mount: /mnt/mmcblk0p2/tce/optional/libiw.tcz: failed to setup loop device: No such file or directory


Everything seems OK if I manually add libiw.tcz to /mnt/mmcblk0p2/tce/onboot.lst and reboot.

Have seen this on multiple extensions. Have tried 3 or 4 times with same result. 7.0alpha3 is OK with same SD card in same Raspberry.

Johan

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Problem installing extensions in 7.0alpha6 for armv6
« Reply #1 on: September 25, 2015, 06:25:47 AM »
Hi Johan

thanks for reporting. I see it also randomly but only on the armv6 system, not on armv7. If you experience it with installing e.g. wifi.tcz try to install it again with

tce-load -iw wifi

It will install. If not, repeat till no error received. Once installed, it will be loaded correctly after reboot.

I'm investigating the cause.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Problem installing extensions in 7.0alpha6 for armv6
« Reply #2 on: September 25, 2015, 06:31:12 AM »
I've mentioned similar issue when installing gzip.tcz. It doesn't modify the simlink in the /bin directory and therefor doesn't use the installed extension, but busybox.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Problem installing extensions in 7.0alpha6 for armv6
« Reply #3 on: September 25, 2015, 06:41:20 AM »
I've mentioned similar issue when installing gzip.tcz. It doesn't modify the simlink in the /bin directory and therefor doesn't use the installed extension, but busybox.

gzip do not have to modify symlink in /bin, it is installed in /usr/local/bin as other extensions with command replacing BusyBox applets like in coreutils. They are installed in /usr/local/bin or /usr/local/sbin. In search order ($PATH) /usr/local/ has higher priority, system will use binary from /usr/local/bin instead of /usr/bin or /bin without any modification in base.

« Last Edit: September 25, 2015, 06:43:58 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Problem installing extensions in 7.0alpha6 for armv6
« Reply #4 on: September 25, 2015, 07:17:06 AM »
Yes, I know how it works, but the priority searching is not working until rebooted.

Offline jncl

  • Newbie
  • *
  • Posts: 38
Re: Problem installing extensions in 7.0alpha6 for armv6
« Reply #5 on: September 25, 2015, 11:30:37 AM »
Hi,

  You can update the shell's hash table of commands
Code: [Select]
hash -rThis will allow the newly loaded commands to found.