1 (edytowany przez tipsntrix 2014-09-11 14:48:43)

Temat: debian+ioconnect -unsuportet platform

Mam problem z instalacją pakietów,W /et system jest na pendrive. Co ciekawe jeszcze wczoraj działało poprawnie dziś lipa.
Miał ktoś podobny problem , może zna rozwiązanie?

:~/htop-1.0.2# apt-get install wireless-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
wireless-tools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up initramfs-tools (0.109.1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-kirkwood
Unsupported platform.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

2

Odp: debian+ioconnect -unsuportet platform

To wynika z tego że nie skończyłeś konfiguracji poprzednich pakietów: 1 not fully installed or removed.

Zobacz sobie co jest w /etc/initramfs/post-update.d/flash-kernel (ew uruchom ręcznie i zobacz na czym się wykłada), zrób żeby się nie wywalało i wtedy rób dalej.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: debian+ioconnect -unsuportet platform

hmm, w flash-kernel jest:

#!/bin/sh

set -e

# conffile still present, but flash-kernel removed
if ! which flash-kernel >/dev/null 2>&1; then
    exit 0
fi

abi="$1"
# ignored
_initrd="$2"

exec flash-kernel "$abi"

nie potrafie tego zinterpretować

4

Odp: debian+ioconnect -unsuportet platform

Dwa parametry potrzebuje jeszcze. Czy masz program flash-kernel? Jeżeli tak to na chwilę zmień jego nazwę, jak go nie znajdzie to ładnie wyjdzie ze skryptu i tyle.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: debian+ioconnect -unsuportet platform

mam ten sam błąd.
flash-kernel mam zainstalowany.
Zminilem nazwer flash-kernel na flash-kernel1 i:
Reading package lists... Done
Building dependency tree
Reading state information... Done
flash-kernel is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up initramfs-tools (0.115~bpo70+1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-kirkwood
/etc/initramfs/post-update.d//flash-kernel: 14: exec: flash-kernel1: not found
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 127
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1

nie moge sobie z tym poradzic. prosze o pomoc

6

Odp: debian+ioconnect -unsuportet platform

Wyżej w poście to napisałem. Nie tu zmieniłeś tą nazwę - w warunku który sprawdza obecność a nie w ostatniej linii która to wykonuje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7 (edytowany przez zdt 2014-09-14 18:06:58)

Odp: debian+ioconnect -unsuportet platform

dziekuje pomoglo.
W jaki sposob zaktualizowac kernel w iconnect mam:
root@debian:~# uname -r
3.1.2-iconnect

przy probie:
root@debian:~# apt-cache search linux-image
alsa-base - ALSA driver configuration files
linux-headers-3.2.0-4-iop32x - Header files for Linux 3.2.0-4-iop32x
linux-headers-3.2.0-4-ixp4xx - Header files for Linux 3.2.0-4-ixp4xx
linux-headers-3.2.0-4-kirkwood - Header files for Linux 3.2.0-4-kirkwood
linux-headers-3.2.0-4-mv78xx0 - Header files for Linux 3.2.0-4-mv78xx0
linux-headers-3.2.0-4-orion5x - Header files for Linux 3.2.0-4-orion5x
linux-headers-3.2.0-4-versatile - Header files for Linux 3.2.0-4-versatile
linux-image-3.2.0-4-iop32x - Linux 3.2 for IOP32x
linux-image-3.2.0-4-ixp4xx - Linux 3.2 for IXP4xx
linux-image-3.2.0-4-kirkwood - Linux 3.2 for Marvell Kirkwood
linux-image-3.2.0-4-mv78xx0 - Linux 3.2 for Marvell 78xx0
linux-image-3.2.0-4-orion5x - Linux 3.2 for Marvell Orion
linux-image-3.2.0-4-versatile - Linux 3.2 for Versatile
linux-image-2.6-iop32x - Linux for IOP32x (dummy package)
linux-image-2.6-ixp4xx - Linux for IXP4xx (dummy package)
linux-image-2.6-kirkwood - Linux for Marvell Kirkwood (dummy package)
linux-image-2.6-orion5x - Linux for Marvell Orion (dummy package)
linux-image-2.6-versatile - Linux for Versatile (dummy package)
linux-image-iop32x - Linux for IOP32x (meta-package)
linux-image-ixp4xx - Linux for IXP4xx (meta-package)
linux-image-kirkwood - Linux for Marvell Kirkwood (meta-package)
linux-image-mv78xx0 - Linux for Marvell 78xx0 (meta-package)
linux-image-orion5x - Linux for Marvell Orion (meta-package)
linux-image-versatile - Linux for Versatile (meta-package)

root@debian:/etc# apt-get install linux-image-3.2.0-4-kirkwood
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-3.2.0-4-kirkwood is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@debian:/etc#

po co mi nowszy kernel?
probowale przekompilowac v4l z sterownikami do do dvb-t (it913x)
i przy kompilacji build_media dostalem komunikat ze kernel jest za stary
jezeli temat jest trywialny to przepraszam

8

Odp: debian+ioconnect -unsuportet platform

No to wgraj nowszy kernel, podczas instalacji jakoś go wgrałeś przecież.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: debian+ioconnect -unsuportet platform

wgrywal go kolega z tego forum, kilka lat temu. Nie robilem tego samodzielnie.
Mozesz napisac jak to zrobic do iconnect (aby go nie uwalic) lub odeslac mnie do jakiegos tutoriala?

10

Odp: debian+ioconnect -unsuportet platform

Kernel masz we flash czy ciągniesz z dysku?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: debian+ioconnect -unsuportet platform

na pendrive
root@debian:/etc# df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          6.6G  3.4G  2.9G  54% /
/dev/root       6.6G  3.4G  2.9G  54% /
tmpfs            25M  148K   25M   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            10M     0   10M   0% /dev
tmpfs           123M     0  123M   0% /run/shm
/dev/sda1       228M   30M  187M  14% /boot
root@debian:/etc#

12

Odp: debian+ioconnect -unsuportet platform

Po prostu podmień plik z którego startuje system na pendrive.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13 (edytowany przez zdt 2014-09-14 18:58:17)

Odp: debian+ioconnect -unsuportet platform

jak sprawdzic ktory to plik, i skad wziac nowy plik z kernelem?
jezeli mozesz to napisz co i jak zrobic, prosze

14

Odp: debian+ioconnect -unsuportet platform

Bootloader go ładuje. Który - ten jaki masz w zmiennych środowiskowych, ty już to wiesz.

A skąd nowy? Zrobiłeś przecież aktualizację to masz w głównym katalogu link do niego, leży też w /boot

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.