AGIB bloccato, ma non trovo soluzione. Scusate.

  • 12 Risposte
  • 7463 Visite

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline pentium2

  • Nuovo Iscritto
  • *
  • 7
AGIB bloccato, ma non trovo soluzione. Scusate.
« il: 26 Aprile 2009, 13:16 »
Prima di tutto buona domenica a tutti. Questo è il mio primo post, e come molti l'ho scritto per chiedervi aiuto.
Ho provato a sbloccare l'AGIB con il seguente comando javascript:mimic.... ecc e a modificare la stringa Telecom, e dopo il reboot del router sembrava tutto andare bene se non chè dopo un pò non mi è più comparsa la pagina all'indirizzo 192.168.1.1 per cui, letti tutti gli articoli qua sul forum, con interfaccia seriale mi sono collegato come da istruzioni ed ho ottenuto questo:

Version 1.0.1
Read EEPROM
Jump to Flash

Version 1.0.1
Read EEPROM
Jump to Flash
Head : Amazon Version 1.0.0
DRAM:  16 MB

 Head : relocate_code start
Head: relocate code finish.
   Image Name:   u-boot image
   Image Type:   MIPS Linux Firmware (lzma compressed)
   Data Size:    40668 Bytes = 39.7 kB
   Load Address: 80100000
   Entry Point:  80100000
Disabling all the interrupts
   Uncompressing UBoot Image ...
   Uncompression completed successfully with destLen 124144.
 Head: Jumping to u-boot in the ram at 0x80100000
Infineon Amazon
U-Boot 2.0.16-16 (Mar 30 2007 - 09:11:18)
In env_init : env_ptr = 0xb37c0000
For enviornment CRC32 is OK
Board: AMAZON Yangtse Version, Chip V1.3, CPU Speed 235 MHz
IDF LED fix ... done
DRAM:  16 MB
USB support: 48Mhz clock enabled

 relocate_code start
 relocate code finish

Entering flash_init()
detected SAMSUNG K8D6x16UBM

IDF-FLASH fix...done
Flash:  8 MB
env_relocate[228] malloced ENV at 80aa0008

Initialize devices...
In:    serial
Out:   serial
Err:   serial
Net:   AMAZON Switch

Type "run flash_nfs" to mount root filesystem over NFS

Press enter key to stop autoboot:  2  1  0
getting active image...
active image seems to be 1
## Booting image at b33b0094 ...
Bad Magic Number

AMAZON-DIALFACE #



qua si blocca tutto e le lucette  rimangono rosse all'infinito. Se digito jboot 0 continua il boot, ma comunque non visualizza la pagine 192.168.1.1 nel browser e se spengo e riaccendo luci rosse.

Che faccio, lo distruggo a martellate ?
Scusate la domanda, ma non mi sembra di aver letto soluzioni in merito al problema sul forum. Graie a tutti in anticipo.
« Ultima modifica: 26 Aprile 2009, 13:42 da pentium2 »

Offline zdnko

  • Esperto
  • ****
  • 1750
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #1 il: 26 Aprile 2009, 17:24 »
Hai già provato a dargli un bel erase alla configurazione?
https://www.ilpuntotecnico.com/forum/index.php/topic,8890.msg63530.html#msg63530

bye
Non rispondo a chi usa cappa ed abbreviazioni inutili.
Cestino immediatamente i PM riguardanti argomenti trattabili nel forum (nessuna deroga).

Offline pentium2

  • Nuovo Iscritto
  • *
  • 7
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #2 il: 26 Aprile 2009, 17:56 »
Ciao e grazie per la risposta. Ho già provato a dargli l'erase, ma rimane tutto come già descritto. Ho omesso di specificarlo prima.

Offline zdnko

  • Esperto
  • ****
  • 1750
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #3 il: 26 Aprile 2009, 21:17 »
Quindi il fw normale si pianta e quello lanciato da jboot 0 comunque non gira.
Forse è stata cancellata anche la configurazione di default per cui non riesce a ripartire dopo un erase perché non sa come configurarsi.

Prova a mettere un tftp server all'indirizzo 192.168.1.10 con l'rg_factory dell'agib e lanciare da telnet questo comando (tutto insieme):
run update_factory; protect off all;  run reset_uboot_config;  saveenv ; reset

bye

PS: Se puoi riporta qui il log dopo il jboot 0 che magari capiamo meglio cosa non va.
Non rispondo a chi usa cappa ed abbreviazioni inutili.
Cestino immediatamente i PM riguardanti argomenti trattabili nel forum (nessuna deroga).

Offline pentium2

  • Nuovo Iscritto
  • *
  • 7
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #4 il: 26 Aprile 2009, 21:45 »
Prova a mettere un tftp server all'indirizzo 192.168.1.10 con l'rg_factory dell'agib


Questo passaggio non so proprio come metterlo in pratica. Scusami per l'ignoranza ma sono un pò a digiuno in materia.



Comunque dopo il jboot 0 esce questo:

jboot 0
boot image at section 0
bad magic number (0x0) on section 0: defaulting on the active image
## Booting image at b3020094 ...
   Image Name:   openrg_AGIB_1.1.6-t
   Created:      2007-05-10  20:42:58 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2836044 Bytes =  2.7 MB
   Load Address: 80002000
   Entry Point:  80003d90
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... Uncompression time : 1160163/117500000
Uncompression length is 4296704
OK

Starting kernel ...

Yangtse Version
memsize=16l
CPU revision is: 00019064
Primary instruction cache 8kb, linesize 16 bytes (4 ways)
Primary data cache 4kb, linesize 16 bytes (2 ways)
Linux version 2.4.21openrg-rmk1 #1 Thu May 10 22:39:41 CEST 2007
Determined physical RAM map:
User-defined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
(saved)  kernel command line:  mem=16M
(actual) kernel command line:root=/dev/ram0 rw console=ttyS0,115200 panic=1 countrycode=380
kernel command line: root=/dev/ram0 rw console=ttyS0,115200 panic=1 countrycode=380
mips_counter_frequency:117500000
r4k_offset: 0011edd8(1175000)
registering amazon console...
Calibrating delay loop... 234.29 BogoMIPS
Memory: 11820k/16384k available (1274k kernel code, 4564k reserved, 2896k data, 4k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
+++ RX interrupt mitigation patch +++
Amazon LED engine ok
LSP Revision 1
Starting kswapd
ttyS0 at MMIO 0xb0100400 (irq = 144) is a AMAZONASC

Random: 0x56286b84
pty: 256 Unix98 ptys configured
loop: loaded (max 8 devices)
switch_init: ok
switch_init: ok
oamk: init_module() called.
Opening oam kernel socket
oamk: init_module() returned.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Amazon Port Initialization
VFS: Mounted root (tmpfs filesystem).
Mount of initial cramfs successful
Freeing init cramfs memory: 64k freed
Freeing unused kernel memory: 4k freed
Mounting cramfs image atAlgorithmics/MIPS FPU Emulator v1.5
insmod: add-symbol-file build/debug/kos_lib.o 0xc0000060 -s .data 0xc000e390 -s .bss 0xc000f010
loading license key: DIALFACE
insmod: add-symbol Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Using predefined MTD partitions.
Creating 1 MTD partitions on "AMAZON Flash Bank 0":
0x00000000-0x00800000 : "openrg"
-file build/debug/amazon_mtd.o 0xc0011060 -s .data 0xc00117b0 -s .bss 0xc0011870
Press ESC to enter BOOT MENU mode.
Can't load valid rg_conf - using defaults
Unable to read from the factory settings area
read failed from section 3
insmod: add-symbol-file build/debug/igmp_proxy_mod.o 0xc0024060 -s .data 0xc00258e0 -s .bss 0xc0025970
insmod: add-symbol-file build/debug/rg_bridge.o 0xc0027060 -s .data 0xc002dca0 -s .bss 0xc002dcd0
insmod: add-symbol-file build/debug/tcp_mss.o 0xc0030060 -s .data 0xc00304a0 -s .bss 0xc00304d0
insmod: add-symbol-file build/debug/frag_cache_mod.o 0xc0032060 -s .data 0xc0033920 -s .bss 0xc0033920
insmod: add-symbol-file build/debug/jfw.o 0xc0035060 -s .data 0xc005ba50 -s .bss 0xc005dc10
insmod: add-symbol-file build/debug/rg_dhcp_pktfil.o 0xc0091060 -s .data 0xc0091cf0 -s .bss 0xc0091df0
insmod: add-symboIPV4 device driver registered
l-file build/debug/rg_ipv4.o 0xc0093060 -s .data 0xc0093290 -s .bss 0xc00932e0
insmod: add-symbol-file build/debug/pppoe_relay.o 0xc0095060 -s .data 0xc0097ca0 -s .bss 0xc0097cb0
insmod: add-symbol-file build/debug/rg_pppoe_relay.o 0xc00ac060 -s .data 0xc00ac7b0 -s .bss 0xc00ac840
insmod: add-symbol-file build/debug/ppp.o 0xc00ae060 -s .data 0xc00b7910 -s .bss 0xc00b7a70
insmod: add-symbol-file build/debug/be_pppoa_mod.o 0xc00b9060 -s .data 0xc00b9ce0 -s .bss 0xc00b9cf0
insmod: add-symbol-file build/debug/qos_ingress.o 0xc00bb060 -s .data 0xc00bb310 -s .bss 0xc00bb390
insmod: add-symbol-file build/debug/adm_mod.o 0xcLoading ADM6996 driver...
00bd060 -s .data 0xc00bf9c0 -s .bss 0xc00bfc50
insmod: add-symbol-file build/debug/user_intf.o 0xc00c1060 -s .data 0xc00c16d0 -s .bss 0xc00c1720
**************************************************
*         Factory settings are not set.          *
*         OpenRG load is stopped.                *
*         Burn factory settings and reboot.      *
**************************************************
detected ADM6996FC
setting switch mode to IPTV
IPTV port is now DISABLED while dev is disabled
openrg runs in BOOT MENU mode.
Telnet server open on port 23.
R-2P boot> cannot find list of routing tables!
cannot find list of routing tables!
cannot find list of routing tables!
eth1: link up, device will be up



A questo punto i led tornano verdi ma non risponde a 192.168.1.1

Offline zdnko

  • Esperto
  • ****
  • 1750
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #5 il: 26 Aprile 2009, 23:43 »
Prova a mettere un tftp server all'indirizzo 192.168.1.10 con l'rg_factory dell'agib
Questo passaggio non so proprio come metterlo in pratica. Scusami per l'ignoranza ma sono un pò a digiuno in materia.
Imposti l'ip del pc a 192.168.1.10, installi un server tftp (io uso TFTPD32) e metti il file di configurazione di default (rinominandolo rg_factory) nella cartella dei dati del server tftp (in TFTPD32 è indicata come Current Directory).

**************************************************
*         Factory settings are not set.          *
*         OpenRG load is stopped.                *
*         Burn factory settings and reboot.      *
**************************************************
La diagnosi sembra confermata.

bye
Non rispondo a chi usa cappa ed abbreviazioni inutili.
Cestino immediatamente i PM riguardanti argomenti trattabili nel forum (nessuna deroga).

Offline pentium2

  • Nuovo Iscritto
  • *
  • 7
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #6 il: 27 Aprile 2009, 15:18 »
Ciao e grazie per l'aiuto. Allora, ho avviato il router e quando mi ha dato l'errore su hyperterminal
Type "run flash_nfs" to mount root filesystem over NFS

Press enter key to stop autoboot:  2  1  0
getting active image...
active image seems to be 1
## Booting image at b33b0094 ...
Bad Magic Number

AMAZON-DIALFACE #


ho lanciato il comando jboot 0.

Una volta diventati verdi i led ho collegato il cavo di rete e ho provato a fare come mi hai detto tu con TFTPD32, ma ottengo sempre un errore ecco cosa visualizzo:





Ho lanciato anche il comando RG_CONF_PRINT / per visualizzare la mia attuale configurazione ed ho ottenuto questo:

rg_conf_print /
(rg_conf
  (dev
    (eth1
      (enabled(1))
      (logical_network(2))
      (route_level(1))
      (metric(4))
      (is_trusted(1))
      (is_sync(1))
      (has_ip(1))
      (static
        (ip(192.168.1.1))
        (netmask(255.255.255.0))
      )
      (type(amazon_sw))
      (id(1))
      (description(LAN Ethernet))
      (mac(24:3a:77:f0:df:7d))
      (alias)
    )
  )
  (system
    (mac_cur(24:3a:77:f0:df:7e))
  )
  (internal
    (last_device_id(1))
  )
)

Returned 0
R-2P boot>

« Ultima modifica: 27 Aprile 2009, 17:25 da pentium2 »

Offline zdnko

  • Esperto
  • ****
  • 1750
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #7 il: 27 Aprile 2009, 18:16 »
Ciao e grazie per l'aiuto. Allora, ho avviato il router e quando mi ha dato l'errore su hyperterminal
Type "run flash_nfs" to mount root filesystem over NFS

Press enter key to stop autoboot:  2  1  0
getting active image...
active image seems to be 1
## Booting image at b33b0094 ...
Bad Magic Number

AMAZON-DIALFACE #


ho lanciato il comando jboot 0.
Non devi dare jboot 0 ma la fila di comandi che ti ho indicato più su (e comunque dopo avver avviato il server tftp sul pc e collegato il cavo di rete).

ho provato a fare come mi hai detto tu con TFTPD32, ma ottengo sempre un errore ecco cosa visualizzo
Ti serve il server (prima linguetta), non il client.

Ho lanciato anche il comando RG_CONF_PRINT / per visualizzare la mia attuale configurazione ed ho ottenuto questo:
L'rg_conf che ottieni è quello che riesce a ricreare, praticamente solo i dati delle interfacce eth connesse.

bye
Non rispondo a chi usa cappa ed abbreviazioni inutili.
Cestino immediatamente i PM riguardanti argomenti trattabili nel forum (nessuna deroga).

Offline pentium2

  • Nuovo Iscritto
  • *
  • 7
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #8 il: 27 Aprile 2009, 18:33 »
Ciao. guarda non so proprio come ringraziarti per tutto l'aiuto che mi stai dando.
Ora ho capito come fare, ma nonostante ciò pur sembrando tutto ok si blocca sempre. Ecco il log:

run update_factory; protect off all;  run reset_uboot_config;  saveenv ; reset
ARP broadcast 1
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename 'rg_factory'.
Load address: 0x80500000
Loading: *#######################
done
Bytes transferred = 115720 (1c408 hex)
Partial erased from 0xb37a0000 to 0x0001c49c
program_img : the srcAddr is 0x80500000, length is 115720 while destAddr is 0xb37a0094
Un-Protected 2 sectors
Erase Flash from 0xb37a0094 to 0xb37bc49b

 done

 done
Partial erased from 0xb37a0094 to 0xb37bc49b
Writing to Flash... Image at 0x80500000 with size 115720 is programmed at 0xb37a0094 successfully
Saving Environment ...
Protected 2 sectors
program_img : the srcAddr is 0x80a7f8b0, length is 148 while destAddr is 0xb37a0000
Un-Protected 1 sectors
Erase Flash from 0xb37a0000 to 0xb37a0093

 done
Partial erased from 0xb37a0000 to 0xb37a0093
Writing to Flash... Image at 0x80a7f8b0 with size 148 is programmed at 0xb37a0000 successfully
Saving Environment ...
Protected 1 sectors
Un-Protect Flash Bank # 1
Erase Flash from 0xb37c0000 to 0xb37dffff
 done
Erased 2 sectors
Saving Environment to Flash...
Un-Protected 2 sectors
Erasing Flash...
 done
Partial erased from 0xb37c0000 to 0xb37dffff
Writing to Flash... done
Protected 2 sectors
Un-Protected 120 sectors

 done
Partial erased from 0xb377ffef to 0xb377ffff

 done

 done

 done
Partial erased from 0xb377ffef to 0xb379fffe
Protected 120 sectors
saved copy of the en€
Version 1.0.1
Read EEPROM
Jump to Flash
Head : Amazon Version 1.0.0
DRAM:  16 MB

 Head : relocate_code start
Head: relocate code finish.
   Image Name:   u-boot image
   Image Type:   MIPS Linux Firmware (lzma compressed)
   Data Size:    40668 Bytes = 39.7 kB
   Load Address: 80100000
   Entry Point:  80100000
Disabling all the interrupts
   Uncompressing UBoot Image ...
   Uncompression completed successfully with destLen 124144.
 Head: Jumping to u-boot in the ram at 0x80100000
Infineon Amazon
U-Boot 2.0.16-16 (Mar 30 2007 - 09:11:18)
In env_init : env_ptr = 0xb37c0000
For enviornment CRC32 is OK
Board: AMAZON Yangtse Version, Chip V1.3, CPU Speed 235 MHz
IDF LED fix ... done
DRAM:  16 MB
USB support: 48Mhz clock enabled

 relocate_code start
 relocate code finish

Entering flash_init()
detected SAMSUNG K8D6x16UBM

IDF-FLASH fix...done
Flash:  8 MB
env_relocate[228] malloced ENV at 80aa0008

Initialize devices...
In:    serial
Out:   serial
Err:   serial
Net:   AMAZON Switch

Type "run flash_nfs" to mount root filesystem over NFS

Press enter key to stop autoboot:  2  1  0
getting active image...
active image seems to be 1
## Booting image at b33b0094 ...
Bad Magic Number

AMAZON-DIALFACE #


Da qua se digito jboot 0 mi compare tutto come prima e la configurazione  è quella che esce con rg_conf_print /

il file rg_factory che ho inviato è quello che preventivamente avevo salvato prima di effettuare la modifica della strinda da Telecom a Dialface ed è di questo tipo:

(rg_conf
  (dev
    (ethoa0
      (type(ethoa))
      (logical_network(1))
      (is_sync(0))
      (enabled(1))
      (route_level(1))
      (metric(2))
      (mtu_mode(1))
      (has_ip(0))


ecc. ecc. ecc.


Comunque nella schermata tftp server di tftpd32 non riesco a settare nulla se non, con il tasto browse, la directory in cui si trova il file rg_factory mentre, con show dir, anche se clicco sul file rg_factory  non succede nulla. sarà questo l'errore ?
« Ultima modifica: 27 Aprile 2009, 21:56 da pentium2 »

Offline zdnko

  • Esperto
  • ****
  • 1750
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #9 il: 28 Aprile 2009, 00:56 »
Comunque nella schermata tftp server di tftpd32 non riesco a settare nulla se non, con il tasto browse, la directory in cui si trova il file rg_factory mentre, con show dir, anche se clicco sul file rg_factory  non succede nulla. sarà questo l'errore ?
E' giusto cosi, non deve succedere niente, solo rendere disponibile il file.

Infatti funziona:
TFTP from server 192.168.1.10; our IP address is 192.168.1.1
Filename 'rg_factory'.
Load address: 0x80500000
Loading: *#######################
done
Bytes transferred = 115720 (1c408 hex)

Forse è sputtanato anche il fw, scaricalo da qui http://rapidshare.com/files/214237879/agib.zip.html, rinominalo da agib.img a openrg.img e il file default_config.txt in rg_factory, metti i 2 file nella dir del tftp server e dai il seguente comando (è più lungo di prima):
run update_openrg; run update_factory; protect off all;  run reset_uboot_config;  saveenv ; reset .

bye
Non rispondo a chi usa cappa ed abbreviazioni inutili.
Cestino immediatamente i PM riguardanti argomenti trattabili nel forum (nessuna deroga).

Offline pentium2

  • Nuovo Iscritto
  • *
  • 7
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #10 il: 28 Aprile 2009, 20:49 »
Ehhhh! La classe non è acqua!!  Non so proprio come ringraziarti. Grazie a quest'ultimo suggerimento tutto è tornato alla normalità. Grazie, grazie mille. Ho solo un'altra piccola domanda: ma è possibile navigare con altro abbonamento che non sia alice ?  Non sono sicuro che si possa fare. Grazie ancora.

Offline vikingo80

  • Nuovo Iscritto
  • *
  • 30
  • Sesso: Maschio
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #11 il: 28 Aprile 2009, 22:47 »
Ciao pentium2!
Finalmente ho trovato qlc nelle mie stesse condizioni!
Ho provato a chiedere sui vari topic, ma sembra che ti snobbino!!!

Anche io ho seguito la procedura -avendo un AGIB- scrivendo javascript......ecc. Tutto funzionava. Poi non sò cosa gli è preso, e adesso anch'io se faccio 192.168.1.1 non mi dice niente, pagina bianca.
Come seriale cosa hai utilizzato?
« Ultima modifica: 28 Aprile 2009, 23:06 da vikingo80 »

Offline pentium2

  • Nuovo Iscritto
  • *
  • 7
Re:AGIB bloccato, ma non trovo soluzione. Scusate.
« Risposta #12 il: 29 Aprile 2009, 07:51 »
Ciao. Grazie alle istruzioni che mi ha dato il grandissimo zdnko sono riuscito a resuscitarlo ed è una procedura facile (una volta che ti viene spiegata  ;D).
Per quel che riguarda la seriale ho usato il cavo di un cellulare sony ericsson con il max232 all'interno, ma da qua https://www.ilpuntotecnico.com/forum/index.php/topic,2820.0.html puoi ricavare maggiori informazioni. Se ti procuri il cavo e segui le istruzioni di questo post, il tuo fermacarte tornerà in vita. Ciao