7170 -> 3170 Alien A-CH/Int. Build failed

K

kiubiq

Guest
Also, hab mal wieder probiert eine Alien FW zu kompilieren um genau zu sein eine 7170 für die 3170 und als Basis die A-CH bzw. die International fw verwendet. Beide varianten kommen aber nicht weiter als STEP 2. An Konfiguration habe ich jetzt nichts besonderes, einfach nur die Alien 3170 mit A-CH fw und ist der aktuellste freetz trunk. Vorschläge?
Code:
STEP 1: UNPACK
unpacking firmware image
splitting kernel image
unpacking filesystem image
    1938 inodes (2117 blocks) to write
    created 1388 files
    created 98 directories
    created 242 symlinks
    created 308 devices
    created 0 fifos
unpacking var.tar
unpacking tk image
done.

STEP 2: MODIFY
applying symlinks, deleting additional webinterfaces
applying patches
  applying patches (7170-a-ch)
    applying patch file ./patches/100-profile.patch
    patching file etc/profile
    ----------------------------------------------------------------------
    applying patch file ./patches/110-multid-wait.patch
    patching file etc/init.d/rc.net
    ----------------------------------------------------------------------
    applying patch file ./patches/110-system_status.patch
    patching file usr/bin/system_status
    ----------------------------------------------------------------------
    applying patch file ./patches/130-fstab.patch
    patching file etc/fstab
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/100-rc.net-dnsmasq.patch
    patching file etc/init.d/rc.net
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/110-rc.S-mknod.patch
    patching file etc/init.d/rc.S
    Hunk #1 succeeded at 195 (offset -1 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/120-rc.S-dev.patch
    patching file etc/init.d/rc.S
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/130-rc.S-logging.patch
    patching file etc/init.d/rc.S
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/140-rc.S-no_avm_exit.patch
    patching file etc/init.d/rc.S
    Hunk #1 succeeded at 1490 (offset -87 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/290-replace_websrv-remove_igdd.patch
    patching file etc/init.d/rc.net
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/301-remove_smbd.patch
    patching file etc/init.d/rc.net
    Hunk #2 succeeded at 325 (offset 11 lines).
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/400_remove_ftpd.patch
    patching file etc/hotplug/storage
    Hunk #1 succeeded at 13 (offset -8 lines).
    Hunk #2 succeeded at 186 (offset -8 lines).
    Hunk #3 succeeded at 203 (offset -8 lines).
    patching file etc/hotplug/run_mount
    ----------------------------------------------------------------------
    applying patch file ./patches/7170/a-ch/190-webmenu.patch
    patching file usr/www/all/html/de/menus/menu2_homehome.html
    patching file usr/www/all/html/de/menus/menu2_konfig.html
    ----------------------------------------------------------------------
  creating symlinks /tmp, /mod and /home
  creating /mnt and /opt
  setting freetz-version 'freetz-devel-4833'
  setting subversion 'freetz-devel-4833'
    applying patch file ./patches/100-3170_7170.sh
  adapt firmware for 3170
    copying 3170 files
    deleting obsolete files
    rm build/modified/filesystem/lib/modules/microvoip_isdn_top.bit1
    rm build/modified/filesystem/bin/mini*
    rm build/modified/filesystem/bin/reinit_jffs2
    rm build/modified/filesystem/bin/showvoipdstat
    rm build/modified/filesystem/bin/telephon.plugin
    rm build/modified/filesystem/bin/voip*
    rm build/modified/filesystem/etc/init.d/rc.voip
    rm build/modified/filesystem/etc/minid
    rm build/modified/filesystem/lib/libcapi*
    rm build/modified/filesystem/lib/libfon*
    rm build/modified/filesystem/lib/libmscodex*
    rm build/modified/filesystem/lib/libosip*
    rm build/modified/filesystem/lib/libphone*
    rm build/modified/filesystem/lib/librtp*
    rm build/modified/filesystem/lib/libsip*
    rm build/modified/filesystem/lib/libspeex*
    rm build/modified/filesystem/lib/libavmaudio*
    rm build/modified/filesystem/lib/libconverttopdf*
    rm build/modified/filesystem/lib/libavcodec*
    rm build/modified/filesystem/lib/libavformat*
    rm build/modified/filesystem/lib/libmedia*
    rm build/modified/filesystem/lib/libpop3*
    rm build/modified/filesystem/lib/modules/2.6.13.1-ohio/kernel/drivers/char/audio
    rm build/modified/filesystem/lib/modules/2.6.13.1-ohio/kernel/drivers/isdn
    rm build/modified/filesystem/lib/modules/2.6.13.1-ohio/kernel/drivers/net/rfcntl
    rm build/modified/filesystem/lib/modules/2.6.13.1-ohio/kernel/fs/jffs2
    rm build/modified/filesystem/lib/modules/2.6.13.1-ohio/kernel/fs/isofs
    rm build/modified/filesystem/usr/bin/capiotcp_server
    rm build/modified/filesystem/usr/bin/faxd
    rm build/modified/filesystem/usr/bin/pbd
    rm build/modified/filesystem/usr/bin/resettam
    rm build/modified/filesystem/usr/share/tam
    rm build/modified/filesystem/usr/share/telefon
    rm build/modified/filesystem/usr/share/ctlmgr/libfon.so
    rm build/modified/filesystem/usr/share/ctlmgr/libmini.so
    rm build/modified/filesystem/usr/share/ctlmgr/libtamconf.so
    rm build/modified/filesystem/usr/share/ctlmgr/libtelcfg.so
    moving default config dir
mv: Aufruf von stat für âbuild/modified/filesystem/etc/default.Fritz_Box_7170â nicht möglich: No such file or directory
    patching rc.S and rc.conf
    applying patch file ./patches/cond/rc.S-3170_7170.patch
    patching file etc/init.d/rc.S
    Hunk #3 FAILED at 1258.
    1 out of 3 hunks FAILED -- saving rejects to file etc/init.d/rc.S.rej
    ----------------------------------------------------------------------
ERROR: modpatch: Error in patch-file ./patches/cond/rc.S-3170_7170.patch
make: *** [firmware-nocompile] Fehler 2
 
Brauchst du wirklich die Annex A-Firmware auf der 3170? Ansonsten würde ich die Möglichkeit einfach deaktivieren.

MfG Oliver
 
Naja "brauchen" eigentlich nicht, aber ich wollte probieren ob es mit der Annex A besser geht als nur mit den kernel_args bei einer B, wäre schon irgendwie nett ein bischen mehr speed über die leitung zu bringen... und außerdem: warum gibts die option wenn sie eh nicht geht?
 
Weil ich sie letztens als Nebeneffekt einer anderen Änderung aktiviert hab. Ohne zu schauen, ob sie wirklich funktioniert...

MfG Oliver
 
Also sowas wie replace kernel bei der 3170, das geht nämlich auch nicht, zumindest muss man nach dem fw upgrade die box recovern. Gibt es demnach keine Möglichkeit eine 3170 mit einem Annex A treiber zu betreiben?
 
Bei mir geht "replace kernel" auf der 3170.

MfG Oliver
 
Ja, wie gesagt, es kompiliert aber meine box bootet nicht mehr so ganz wenn ich das mache, einzig die power led leuchtet, ich bekomme aber weder eine ip noch reagiert sie sonst wie. Ich hab mal meine .config attached.
 

Anhänge

  • config.txt
    19.9 KB · Aufrufe: 7
Vor dem Firmware-Upgrade zu Freetz muss im WebInterface die Kindersicherung aktiviert sein.
 
Okay, man sollte vielleicht auch noch sagen, dass man noch eine Regel bei der Kindersicherung erstellen sollte, bei mir hats sonst nicht funktioniert, aber danke an alle!
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,695
Beiträge
2,216,694
Mitglieder
371,315
Neuestes Mitglied
jack-mack
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.