?>/script>'; } ?> [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518) Widgets Magazine

Autor Tema: [Desarrollo] OpenWRT para routers Astoria de ya.com (ARV4518/ARV7518)  (Leído 653285 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Noltari

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #220 en: 30-09-2012, 12:44 (Domingo) »
Teneis algún link a alguna compilación trunk para el 7518 que tenga la compatibilidad con el wifi?. He bajado el paquete de dani17 en que parece reconocer el wifi pero no soy capaz de hacer funcionar la tarjeta de red. En la pagina de openwrt no se porqué en la rama trunk no hay ninguna compilación.

Edito para no monopolizar esta página :-)

He bajado la compilación Attitude adjustement ya que no encuentro la compilación de la rama trunk. Me he bajado el archivo http://downloads.openwrt.org/attitude_adjustment/12.09-beta/lantiq/danube/openwrt-lantiq-danube-ARV7518PW-squashfs.image

La he cargado al router pero parece que tiene algun problema. Alguien sabria decirme si esto es un bug o es algo que se pueda arreglar?

[spoiler]   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2012-09-04  19:43:24 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1012019 Bytes = 988.3 kB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc ve   rsion 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #4 Fri Aug 31 16:20   :51 UTC 2012
[    0.000000] SoC: Danube rev 1.5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag   es: 16256
[    0.000000] Kernel command line: console=ttyLTQ1,115200 rootfstype=squashfs,j   ffs2 machtype=ARV7518PW
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 byt   es
[    0.000000] Writing ErrCtl register=0006f828
[    0.000000] Readback ErrCtl register=0006f828
[    0.000000] Memory: 61832k/65536k available (2399k kernel code, 3704k reserve   d, 403k data, 176k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.044000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.060000] gpiochip_add: registered GPIOs 0 to 15 on device: ltq_gpio
[    0.064000] gpiochip_add: registered GPIOs 16 to 31 on device: ltq_gpio
[    0.068000] MIPS: machine is ARV7518PW - ASTORIA
[    0.072000] gpiochip_add: registered GPIOs 100 to 115 on device: ltq_ebu
[    0.112000] bio: create slab <bio-0> at 0
[    0.120000] PCI host bridge to bus 0000:00
[    0.124000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.128000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.132000] pci 0000:00:0e.0: fixup device configuration
[    0.136000] pci 0000:00:0e.0: fixup info: [168c:0029] revision 01 class 0x028   000
[    0.140000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.144000] pci 0000:00:0e.0: SLOT:14 PIN:1 IRQ:30
[    0.148000] Switching to clocksource MIPS
[    0.156000] NET: Registered protocol family 2
[    0.164000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.168000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.176000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.184000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.188000] TCP reno registered
[    0.192000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.200000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.204000] NET: Registered protocol family 1
[    0.212000] gptu: totally 6 16-bit timers/counters
[    0.216000] gptu: misc_register on minor 63
[    0.220000] gptu: succeeded to request irq 126
[    0.224000] gptu: succeeded to request irq 127
[    0.228000] gptu: succeeded to request irq 128
[    0.232000] gptu: succeeded to request irq 129
[    0.240000] gptu: succeeded to request irq 130
[    0.244000] gptu: succeeded to request irq 131
[    0.252000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.256000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY   ) (c) 2001-2006 Red Hat, Inc.
[    0.268000] msgmni has been set to 120
[    0.272000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2   54)
[    0.280000] io scheduler noop registered
[    0.284000] io scheduler deadline registered (default)
[    0.288000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc
[    0.296000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.296000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.312000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer    ID 0x0000c2 Chip ID 0x0022cb
[    0.320000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.324000]   Amd/Fujitsu Extended Query version 1.1.
[    0.328000] number of CFI chips: 1
[    0.332000] Creating 4 MTD partitions on "ltq_nor":
[    0.336000] 0x000000000000-0x000000010000 : "uboot"
[    0.344000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.352000] 0x000000020000-0x0000007f0000 : "linux"
[    0.360000] found squashfs behind kernel
[    0.360000] Creating 2 MTD partitions on "ltq_nor":
[    0.364000] 0x000000020000-0x000000117173 : "kernel"
[    0.372000] mtd: partition "kernel" must either start or end on erase block b   oundary or be smaller than an erase block -- forcing read-only
[    0.384000] 0x000000117173-0x0000007f0000 : "rootfs"
[    0.388000] mtd: partition "rootfs" must either start or end on erase block b   oundary or be smaller than an erase block -- forcing read-only
[    0.404000] mtd: partition "rootfs" set to be root filesystem
[    0.408000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, l   en=510000
[    0.416000] 0x0000002e0000-0x0000007f0000 : "rootfs_data"
[    0.424000] 0x0000007f0000-0x000000800000 : "board_config"
[    0.580000] ltq_mii: probed
[    0.604000] eth0: Atheros AR8216 switch driver attached.
[    0.704000] eth0: attached PHY [Atheros AR8216/AR8236/AR8316] (phy_addr=ltq_e   top-fffffff:00, irq=-1)
[    0.724000] TCP cubic registered
[    0.728000] NET: Registered protocol family 17
[    0.732000] 8021q: 802.1Q VLAN Support[    0.748000] VFS: Mounted root (squas   hfs filesystem) readonly on device 31:4.
[    0.756000] Freeing unused kernel memory: 176k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    7.032000] JFFS2 notice: (412) jffs2_build_xattr_subsystem: complete buildin   g xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0    orphan) found.
switching to jffs2
- init -
[    7.520000] JFFS2 compression type 0x06 not available.
[    7.524000] Error: jffs2_decompress returned -5
[    7.528000] JFFS2 compression type 0x06 not available.
[    7.532000] Error: jffs2_decompress returned -5
[    7.536000] JFFS2 compression type 0x06 not available.
[    7.544000] Error: jffs2_decompress returned -5
[    7.548000] JFFS2 compression type 0x06 not available.
[    7.552000] Error: jffs2_decompress returned -5
[    7.556000] JFFS2 compression type 0x06 not available.
[    7.560000] Error: jffs2_decompress returned -5
[    7.568000] JFFS2 compression type 0x06 not available.
[    7.572000] Error: jffs2_decompress returned -5
[    7.576000] JFFS2 compression type 0x06 not available.
[    7.580000] Error: jffs2_decompress returned -5
[    7.588000] JFFS2 compression type 0x06 not available.
[    7.592000] Error: jffs2_decompress returned -5
[    7.596000] JFFS2 compression type 0x06 not available.
[    7.600000] Error: jffs2_decompress returned -5
[    7.604000] JFFS2 compression type 0x06 not available.
[    7.608000] Error: jffs2_decompress returned -5
[    7.616000] JFFS2 compression type 0x06 not available.
[    7.620000] Error: jffs2_decompress returned -5
[    7.624000] JFFS2 compression type 0x06 not available.
[    7.628000] Error: jffs2_decompress returned -5
[    7.632000] JFFS2 compression type 0x06 not available.
[    7.636000] Error: jffs2_decompress returned -5
[    7.644000] JFFS2 compression type 0x06 not available.
[    7.648000] Error: jffs2_decompress returned -5
[    7.652000] JFFS2 compression type 0x06 not available.
[    7.656000] Error: jffs2_decompress returned -5
[    7.660000] JFFS2 compression type 0x06 not available.
[    7.664000] Error: jffs2_decompress returned -5
[    7.672000] JFFS2 compression type 0x06 not available.
[    7.676000] Error: jffs2_decompress returned -5
[    7.680000] JFFS2 compression type 0x06 not available.
[    7.684000] Error: jffs2_decompress returned -5
[    7.692000] JFFS2 compression type 0x06 not available.
[    7.696000] Error: jffs2_decompress returned -5
[    7.700000] JFFS2 compression type 0x06 not available.
[    7.704000] Error: jffs2_decompress returned -5
[    7.708000] JFFS2 compression type 0x06 not available.
[    7.712000] Error: jffs2_decompress returned -5
[    7.716000] JFFS2 compression type 0x06 not available.
[    7.724000] Error: jffs2_decompress returned -5
[    7.728000] JFFS2 compression type 0x06 not available.
[    7.732000] Error: jffs2_decompress returned -5
[    7.736000] JFFS2 compression type 0x06 not available.
[    7.740000] Error: jffs2_decompress returned -5
[    7.744000] JFFS2 compression type 0x06 not available.
[    7.752000] Error: jffs2_decompress returned -5
[    7.756000] JFFS2 compression type 0x06 not available.
[    7.760000] Error: jffs2_decompress returned -5
[    7.764000] JFFS2 compression type 0x06 not available.
[    7.768000] Error: jffs2_decompress returned -5
[    7.772000] JFFS2 compression type 0x06 not available.
[    7.780000] Error: jffs2_decompress returned -5
[    7.784000] JFFS2 compression type 0x06 not available.
[    7.788000] Error: jffs2_decompress returned -5
[    7.792000] JFFS2 compression type 0x06 not available.
[    7.800000] Error: jffs2_decompress returned -5
[    7.804000] JFFS2 compression type 0x06 not available.
[    7.808000] Error: jffs2_decompress returned -5
[    7.812000] JFFS2 compression type 0x06 not available.
[    7.816000] Error: jffs2_decompress returned -5
[    7.820000] JFFS2 compression type 0x06 not available.
[    7.828000] Error: jffs2_decompress returned -5
[    7.832000] JFFS2 compression type 0x06 not available.
[    7.836000] Error: jffs2_decompress returned -5
[    7.840000] JFFS2 compression type 0x06 not available.
[    7.844000] Error: jffs2_decompress returned -5
[    7.848000] JFFS2 compression type 0x06 not available.
[    7.856000] Error: jffs2_decompress returned -5
[    7.860000] JFFS2 compression type 0x06 not available.
[    7.864000] Error: jffs2_decompress returned -5
[    7.868000] JFFS2 compression type 0x06 not available.
[    7.872000] Error: jffs2_decompress returned -5
[    7.880000] JFFS2 compression type 0x06 not available.
[    7.884000] Error: jffs2_decompress returned -5
[    7.888000] JFFS2 compression type 0x06 not available.
[    7.892000] Error: jffs2_decompress returned -5
[    7.900000] JFFS2 compression type 0x06 not available.
[    7.900000] Error: jffs2_decompress returned -5
[    7.908000] JFFS2 compression type 0x06 not available.
[    7.912000] Error: jffs2_decompress returned -5
[    7.916000] JFFS2 compression type 0x06 not available.
[    7.920000] Error: jffs2_decompress returned -5
[    7.924000] JFFS2 compression type 0x06 not available.
[    7.928000] Error: jffs2_decompress returned -5
[    7.936000] JFFS2 compression type 0x06 not available.
[    7.940000] Error: jffs2_decompress returned -5
[    7.944000] JFFS2 compression type 0x06 not available.
[    7.948000] Error: jffs2_decompress returned -5
[    7.956000] JFFS2 compression type 0x06 not available.
[    7.960000] Error: jffs2_decompress returned -5
[    7.964000] JFFS2 compression type 0x06 not available.
[    7.968000] Error: jffs2_decompress returned -5
[    7.972000] JFFS2 compression type 0x06 not available.
[    7.976000] Err

Y ahí se queda en un bucle. No para de repetir lo mismo.
[/spoiler]

Parece un fallo de la partición rootfs_data.

Prueba a borrarla (de esta forma se elimina la configuración. No hay otra forma :$):
Código: [Seleccionar]
mtd -r erase rootfs_data
Veo que tienes acceso vía serial, así que cuando te pregunta si quieres entrar en modo failsafe pulsa enter e introduce el comando anterior.
El router se reiniciará sólo y ya debería funcionar sin problemas.

Saludos!

elmasvital

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #221 en: 30-09-2012, 13:26 (Domingo) »
Teneis algún link a alguna compilación trunk para el 7518 que tenga la compatibilidad con el wifi?. He bajado el paquete de dani17 en que parece reconocer el wifi pero no soy capaz de hacer funcionar la tarjeta de red. En la pagina de openwrt no se porqué en la rama trunk no hay ninguna compilación.

Edito para no monopolizar esta página :-)

He bajado la compilación Attitude adjustement ya que no encuentro la compilación de la rama trunk. Me he bajado el archivo http://downloads.openwrt.org/attitude_adjustment/12.09-beta/lantiq/danube/openwrt-lantiq-danube-ARV7518PW-squashfs.image

La he cargado al router pero parece que tiene algun problema. Alguien sabria decirme si esto es un bug o es algo que se pueda arreglar?

[spoiler]   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2012-09-04  19:43:24 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1012019 Bytes = 988.3 kB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc ve   rsion 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #4 Fri Aug 31 16:20   :51 UTC 2012
[    0.000000] SoC: Danube rev 1.5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag   es: 16256
[    0.000000] Kernel command line: console=ttyLTQ1,115200 rootfstype=squashfs,j   ffs2 machtype=ARV7518PW
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 byt   es
[    0.000000] Writing ErrCtl register=0006f828
[    0.000000] Readback ErrCtl register=0006f828
[    0.000000] Memory: 61832k/65536k available (2399k kernel code, 3704k reserve   d, 403k data, 176k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.044000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.060000] gpiochip_add: registered GPIOs 0 to 15 on device: ltq_gpio
[    0.064000] gpiochip_add: registered GPIOs 16 to 31 on device: ltq_gpio
[    0.068000] MIPS: machine is ARV7518PW - ASTORIA
[    0.072000] gpiochip_add: registered GPIOs 100 to 115 on device: ltq_ebu
[    0.112000] bio: create slab <bio-0> at 0
[    0.120000] PCI host bridge to bus 0000:00
[    0.124000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.128000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.132000] pci 0000:00:0e.0: fixup device configuration
[    0.136000] pci 0000:00:0e.0: fixup info: [168c:0029] revision 01 class 0x028   000
[    0.140000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.144000] pci 0000:00:0e.0: SLOT:14 PIN:1 IRQ:30
[    0.148000] Switching to clocksource MIPS
[    0.156000] NET: Registered protocol family 2
[    0.164000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.168000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.176000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.184000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.188000] TCP reno registered
[    0.192000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.200000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.204000] NET: Registered protocol family 1
[    0.212000] gptu: totally 6 16-bit timers/counters
[    0.216000] gptu: misc_register on minor 63
[    0.220000] gptu: succeeded to request irq 126
[    0.224000] gptu: succeeded to request irq 127
[    0.228000] gptu: succeeded to request irq 128
[    0.232000] gptu: succeeded to request irq 129
[    0.240000] gptu: succeeded to request irq 130
[    0.244000] gptu: succeeded to request irq 131
[    0.252000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.256000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY   ) (c) 2001-2006 Red Hat, Inc.
[    0.268000] msgmni has been set to 120
[    0.272000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2   54)
[    0.280000] io scheduler noop registered
[    0.284000] io scheduler deadline registered (default)
[    0.288000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc
[    0.296000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.296000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.312000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer    ID 0x0000c2 Chip ID 0x0022cb
[    0.320000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.324000]   Amd/Fujitsu Extended Query version 1.1.
[    0.328000] number of CFI chips: 1
[    0.332000] Creating 4 MTD partitions on "ltq_nor":
[    0.336000] 0x000000000000-0x000000010000 : "uboot"
[    0.344000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.352000] 0x000000020000-0x0000007f0000 : "linux"
[    0.360000] found squashfs behind kernel
[    0.360000] Creating 2 MTD partitions on "ltq_nor":
[    0.364000] 0x000000020000-0x000000117173 : "kernel"
[    0.372000] mtd: partition "kernel" must either start or end on erase block b   oundary or be smaller than an erase block -- forcing read-only
[    0.384000] 0x000000117173-0x0000007f0000 : "rootfs"
[    0.388000] mtd: partition "rootfs" must either start or end on erase block b   oundary or be smaller than an erase block -- forcing read-only
[    0.404000] mtd: partition "rootfs" set to be root filesystem
[    0.408000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, l   en=510000
[    0.416000] 0x0000002e0000-0x0000007f0000 : "rootfs_data"
[    0.424000] 0x0000007f0000-0x000000800000 : "board_config"
[    0.580000] ltq_mii: probed
[    0.604000] eth0: Atheros AR8216 switch driver attached.
[    0.704000] eth0: attached PHY [Atheros AR8216/AR8236/AR8316] (phy_addr=ltq_e   top-fffffff:00, irq=-1)
[    0.724000] TCP cubic registered
[    0.728000] NET: Registered protocol family 17
[    0.732000] 8021q: 802.1Q VLAN Support[    0.748000] VFS: Mounted root (squas   hfs filesystem) readonly on device 31:4.
[    0.756000] Freeing unused kernel memory: 176k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    7.032000] JFFS2 notice: (412) jffs2_build_xattr_subsystem: complete buildin   g xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0    orphan) found.
switching to jffs2
- init -
[    7.520000] JFFS2 compression type 0x06 not available.
[    7.524000] Error: jffs2_decompress returned -5
[    7.528000] JFFS2 compression type 0x06 not available.
[    7.532000] Error: jffs2_decompress returned -5
[    7.536000] JFFS2 compression type 0x06 not available.
[    7.544000] Error: jffs2_decompress returned -5
[    7.548000] JFFS2 compression type 0x06 not available.
[    7.552000] Error: jffs2_decompress returned -5
[    7.556000] JFFS2 compression type 0x06 not available.
[    7.560000] Error: jffs2_decompress returned -5
[    7.568000] JFFS2 compression type 0x06 not available.
[    7.572000] Error: jffs2_decompress returned -5
[    7.576000] JFFS2 compression type 0x06 not available.
[    7.580000] Error: jffs2_decompress returned -5
[    7.588000] JFFS2 compression type 0x06 not available.
[    7.592000] Error: jffs2_decompress returned -5
[    7.596000] JFFS2 compression type 0x06 not available.
[    7.600000] Error: jffs2_decompress returned -5
[    7.604000] JFFS2 compression type 0x06 not available.
[    7.608000] Error: jffs2_decompress returned -5
[    7.616000] JFFS2 compression type 0x06 not available.
[    7.620000] Error: jffs2_decompress returned -5
[    7.624000] JFFS2 compression type 0x06 not available.
[    7.628000] Error: jffs2_decompress returned -5
[    7.632000] JFFS2 compression type 0x06 not available.
[    7.636000] Error: jffs2_decompress returned -5
[    7.644000] JFFS2 compression type 0x06 not available.
[    7.648000] Error: jffs2_decompress returned -5
[    7.652000] JFFS2 compression type 0x06 not available.
[    7.656000] Error: jffs2_decompress returned -5
[    7.660000] JFFS2 compression type 0x06 not available.
[    7.664000] Error: jffs2_decompress returned -5
[    7.672000] JFFS2 compression type 0x06 not available.
[    7.676000] Error: jffs2_decompress returned -5
[    7.680000] JFFS2 compression type 0x06 not available.
[    7.684000] Error: jffs2_decompress returned -5
[    7.692000] JFFS2 compression type 0x06 not available.
[    7.696000] Error: jffs2_decompress returned -5
[    7.700000] JFFS2 compression type 0x06 not available.
[    7.704000] Error: jffs2_decompress returned -5
[    7.708000] JFFS2 compression type 0x06 not available.
[    7.712000] Error: jffs2_decompress returned -5
[    7.716000] JFFS2 compression type 0x06 not available.
[    7.724000] Error: jffs2_decompress returned -5
[    7.728000] JFFS2 compression type 0x06 not available.
[    7.732000] Error: jffs2_decompress returned -5
[    7.736000] JFFS2 compression type 0x06 not available.
[    7.740000] Error: jffs2_decompress returned -5
[    7.744000] JFFS2 compression type 0x06 not available.
[    7.752000] Error: jffs2_decompress returned -5
[    7.756000] JFFS2 compression type 0x06 not available.
[    7.760000] Error: jffs2_decompress returned -5
[    7.764000] JFFS2 compression type 0x06 not available.
[    7.768000] Error: jffs2_decompress returned -5
[    7.772000] JFFS2 compression type 0x06 not available.
[    7.780000] Error: jffs2_decompress returned -5
[    7.784000] JFFS2 compression type 0x06 not available.
[    7.788000] Error: jffs2_decompress returned -5
[    7.792000] JFFS2 compression type 0x06 not available.
[    7.800000] Error: jffs2_decompress returned -5
[    7.804000] JFFS2 compression type 0x06 not available.
[    7.808000] Error: jffs2_decompress returned -5
[    7.812000] JFFS2 compression type 0x06 not available.
[    7.816000] Error: jffs2_decompress returned -5
[    7.820000] JFFS2 compression type 0x06 not available.
[    7.828000] Error: jffs2_decompress returned -5
[    7.832000] JFFS2 compression type 0x06 not available.
[    7.836000] Error: jffs2_decompress returned -5
[    7.840000] JFFS2 compression type 0x06 not available.
[    7.844000] Error: jffs2_decompress returned -5
[    7.848000] JFFS2 compression type 0x06 not available.
[    7.856000] Error: jffs2_decompress returned -5
[    7.860000] JFFS2 compression type 0x06 not available.
[    7.864000] Error: jffs2_decompress returned -5
[    7.868000] JFFS2 compression type 0x06 not available.
[    7.872000] Error: jffs2_decompress returned -5
[    7.880000] JFFS2 compression type 0x06 not available.
[    7.884000] Error: jffs2_decompress returned -5
[    7.888000] JFFS2 compression type 0x06 not available.
[    7.892000] Error: jffs2_decompress returned -5
[    7.900000] JFFS2 compression type 0x06 not available.
[    7.900000] Error: jffs2_decompress returned -5
[    7.908000] JFFS2 compression type 0x06 not available.
[    7.912000] Error: jffs2_decompress returned -5
[    7.916000] JFFS2 compression type 0x06 not available.
[    7.920000] Error: jffs2_decompress returned -5
[    7.924000] JFFS2 compression type 0x06 not available.
[    7.928000] Error: jffs2_decompress returned -5
[    7.936000] JFFS2 compression type 0x06 not available.
[    7.940000] Error: jffs2_decompress returned -5
[    7.944000] JFFS2 compression type 0x06 not available.
[    7.948000] Error: jffs2_decompress returned -5
[    7.956000] JFFS2 compression type 0x06 not available.
[    7.960000] Error: jffs2_decompress returned -5
[    7.964000] JFFS2 compression type 0x06 not available.
[    7.968000] Error: jffs2_decompress returned -5
[    7.972000] JFFS2 compression type 0x06 not available.
[    7.976000] Err

Y ahí se queda en un bucle. No para de repetir lo mismo.
[/spoiler]

Parece un fallo de la partición rootfs_data.

Prueba a borrarla (de esta forma se elimina la configuración. No hay otra forma :$):
Código: [Seleccionar]
mtd -r erase rootfs_data
Veo que tienes acceso vía serial, así que cuando te pregunta si quieres entrar en modo failsafe pulsa enter e introduce el comando anterior.
El router se reiniciará sólo y ya debería funcionar sin problemas.

Saludos!

Dicho y hecho... ya lo tengo funcionando gracias al comando que me indicas :-). Si no es mucho pregunta que es lo que había ocurrido?

Edito: Estoy intentando aprender un poco de todo esto... viene el wifi desactivado en el archivo /etc/config/wireless. Porqué hacen esto porque creen que todavía no estable? o porque tradicionalmente viene así en linux.
« Última modificación: 30-09-2012, 13:29 (Domingo) por elmasvital »

Noltari

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #222 en: 30-09-2012, 13:31 (Domingo) »
Teneis algún link a alguna compilación trunk para el 7518 que tenga la compatibilidad con el wifi?. He bajado el paquete de dani17 en que parece reconocer el wifi pero no soy capaz de hacer funcionar la tarjeta de red. En la pagina de openwrt no se porqué en la rama trunk no hay ninguna compilación.

Edito para no monopolizar esta página :-)

He bajado la compilación Attitude adjustement ya que no encuentro la compilación de la rama trunk. Me he bajado el archivo http://downloads.openwrt.org/attitude_adjustment/12.09-beta/lantiq/danube/openwrt-lantiq-danube-ARV7518PW-squashfs.image

La he cargado al router pero parece que tiene algun problema. Alguien sabria decirme si esto es un bug o es algo que se pueda arreglar?

[spoiler]   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2012-09-04  19:43:24 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1012019 Bytes = 988.3 kB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc ve   rsion 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #4 Fri Aug 31 16:20   :51 UTC 2012
[    0.000000] SoC: Danube rev 1.5
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag   es: 16256
[    0.000000] Kernel command line: console=ttyLTQ1,115200 rootfstype=squashfs,j   ffs2 machtype=ARV7518PW
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 byt   es
[    0.000000] Writing ErrCtl register=0006f828
[    0.000000] Readback ErrCtl register=0006f828
[    0.000000] Memory: 61832k/65536k available (2399k kernel code, 3704k reserve   d, 403k data, 176k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.044000] Mount-cache hash table entries: 512
[    0.052000] NET: Registered protocol family 16
[    0.060000] gpiochip_add: registered GPIOs 0 to 15 on device: ltq_gpio
[    0.064000] gpiochip_add: registered GPIOs 16 to 31 on device: ltq_gpio
[    0.068000] MIPS: machine is ARV7518PW - ASTORIA
[    0.072000] gpiochip_add: registered GPIOs 100 to 115 on device: ltq_ebu
[    0.112000] bio: create slab <bio-0> at 0
[    0.120000] PCI host bridge to bus 0000:00
[    0.124000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.128000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.132000] pci 0000:00:0e.0: fixup device configuration
[    0.136000] pci 0000:00:0e.0: fixup info: [168c:0029] revision 01 class 0x028   000
[    0.140000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.144000] pci 0000:00:0e.0: SLOT:14 PIN:1 IRQ:30
[    0.148000] Switching to clocksource MIPS
[    0.156000] NET: Registered protocol family 2
[    0.164000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.168000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.176000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.184000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.188000] TCP reno registered
[    0.192000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.200000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.204000] NET: Registered protocol family 1
[    0.212000] gptu: totally 6 16-bit timers/counters
[    0.216000] gptu: misc_register on minor 63
[    0.220000] gptu: succeeded to request irq 126
[    0.224000] gptu: succeeded to request irq 127
[    0.228000] gptu: succeeded to request irq 128
[    0.232000] gptu: succeeded to request irq 129
[    0.240000] gptu: succeeded to request irq 130
[    0.244000] gptu: succeeded to request irq 131
[    0.252000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.256000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY   ) (c) 2001-2006 Red Hat, Inc.
[    0.268000] msgmni has been set to 120
[    0.272000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2   54)
[    0.280000] io scheduler noop registered
[    0.284000] io scheduler deadline registered (default)
[    0.288000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc
[    0.296000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.296000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.312000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer    ID 0x0000c2 Chip ID 0x0022cb
[    0.320000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.324000]   Amd/Fujitsu Extended Query version 1.1.
[    0.328000] number of CFI chips: 1
[    0.332000] Creating 4 MTD partitions on "ltq_nor":
[    0.336000] 0x000000000000-0x000000010000 : "uboot"
[    0.344000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.352000] 0x000000020000-0x0000007f0000 : "linux"
[    0.360000] found squashfs behind kernel
[    0.360000] Creating 2 MTD partitions on "ltq_nor":
[    0.364000] 0x000000020000-0x000000117173 : "kernel"
[    0.372000] mtd: partition "kernel" must either start or end on erase block b   oundary or be smaller than an erase block -- forcing read-only
[    0.384000] 0x000000117173-0x0000007f0000 : "rootfs"
[    0.388000] mtd: partition "rootfs" must either start or end on erase block b   oundary or be smaller than an erase block -- forcing read-only
[    0.404000] mtd: partition "rootfs" set to be root filesystem
[    0.408000] mtd: partition "rootfs_data" created automatically, ofs=2E0000, l   en=510000
[    0.416000] 0x0000002e0000-0x0000007f0000 : "rootfs_data"
[    0.424000] 0x0000007f0000-0x000000800000 : "board_config"
[    0.580000] ltq_mii: probed
[    0.604000] eth0: Atheros AR8216 switch driver attached.
[    0.704000] eth0: attached PHY [Atheros AR8216/AR8236/AR8316] (phy_addr=ltq_e   top-fffffff:00, irq=-1)
[    0.724000] TCP cubic registered
[    0.728000] NET: Registered protocol family 17
[    0.732000] 8021q: 802.1Q VLAN Support[    0.748000] VFS: Mounted root (squas   hfs filesystem) readonly on device 31:4.
[    0.756000] Freeing unused kernel memory: 176k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    7.032000] JFFS2 notice: (412) jffs2_build_xattr_subsystem: complete buildin   g xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0    orphan) found.
switching to jffs2
- init -
[    7.520000] JFFS2 compression type 0x06 not available.
[    7.524000] Error: jffs2_decompress returned -5
[    7.528000] JFFS2 compression type 0x06 not available.
[    7.532000] Error: jffs2_decompress returned -5
[    7.536000] JFFS2 compression type 0x06 not available.
[    7.544000] Error: jffs2_decompress returned -5
[    7.548000] JFFS2 compression type 0x06 not available.
[    7.552000] Error: jffs2_decompress returned -5
[    7.556000] JFFS2 compression type 0x06 not available.
[    7.560000] Error: jffs2_decompress returned -5
[    7.568000] JFFS2 compression type 0x06 not available.
[    7.572000] Error: jffs2_decompress returned -5
[    7.576000] JFFS2 compression type 0x06 not available.
[    7.580000] Error: jffs2_decompress returned -5
[    7.588000] JFFS2 compression type 0x06 not available.
[    7.592000] Error: jffs2_decompress returned -5
[    7.596000] JFFS2 compression type 0x06 not available.
[    7.600000] Error: jffs2_decompress returned -5
[    7.604000] JFFS2 compression type 0x06 not available.
[    7.608000] Error: jffs2_decompress returned -5
[    7.616000] JFFS2 compression type 0x06 not available.
[    7.620000] Error: jffs2_decompress returned -5
[    7.624000] JFFS2 compression type 0x06 not available.
[    7.628000] Error: jffs2_decompress returned -5
[    7.632000] JFFS2 compression type 0x06 not available.
[    7.636000] Error: jffs2_decompress returned -5
[    7.644000] JFFS2 compression type 0x06 not available.
[    7.648000] Error: jffs2_decompress returned -5
[    7.652000] JFFS2 compression type 0x06 not available.
[    7.656000] Error: jffs2_decompress returned -5
[    7.660000] JFFS2 compression type 0x06 not available.
[    7.664000] Error: jffs2_decompress returned -5
[    7.672000] JFFS2 compression type 0x06 not available.
[    7.676000] Error: jffs2_decompress returned -5
[    7.680000] JFFS2 compression type 0x06 not available.
[    7.684000] Error: jffs2_decompress returned -5
[    7.692000] JFFS2 compression type 0x06 not available.
[    7.696000] Error: jffs2_decompress returned -5
[    7.700000] JFFS2 compression type 0x06 not available.
[    7.704000] Error: jffs2_decompress returned -5
[    7.708000] JFFS2 compression type 0x06 not available.
[    7.712000] Error: jffs2_decompress returned -5
[    7.716000] JFFS2 compression type 0x06 not available.
[    7.724000] Error: jffs2_decompress returned -5
[    7.728000] JFFS2 compression type 0x06 not available.
[    7.732000] Error: jffs2_decompress returned -5
[    7.736000] JFFS2 compression type 0x06 not available.
[    7.740000] Error: jffs2_decompress returned -5
[    7.744000] JFFS2 compression type 0x06 not available.
[    7.752000] Error: jffs2_decompress returned -5
[    7.756000] JFFS2 compression type 0x06 not available.
[    7.760000] Error: jffs2_decompress returned -5
[    7.764000] JFFS2 compression type 0x06 not available.
[    7.768000] Error: jffs2_decompress returned -5
[    7.772000] JFFS2 compression type 0x06 not available.
[    7.780000] Error: jffs2_decompress returned -5
[    7.784000] JFFS2 compression type 0x06 not available.
[    7.788000] Error: jffs2_decompress returned -5
[    7.792000] JFFS2 compression type 0x06 not available.
[    7.800000] Error: jffs2_decompress returned -5
[    7.804000] JFFS2 compression type 0x06 not available.
[    7.808000] Error: jffs2_decompress returned -5
[    7.812000] JFFS2 compression type 0x06 not available.
[    7.816000] Error: jffs2_decompress returned -5
[    7.820000] JFFS2 compression type 0x06 not available.
[    7.828000] Error: jffs2_decompress returned -5
[    7.832000] JFFS2 compression type 0x06 not available.
[    7.836000] Error: jffs2_decompress returned -5
[    7.840000] JFFS2 compression type 0x06 not available.
[    7.844000] Error: jffs2_decompress returned -5
[    7.848000] JFFS2 compression type 0x06 not available.
[    7.856000] Error: jffs2_decompress returned -5
[    7.860000] JFFS2 compression type 0x06 not available.
[    7.864000] Error: jffs2_decompress returned -5
[    7.868000] JFFS2 compression type 0x06 not available.
[    7.872000] Error: jffs2_decompress returned -5
[    7.880000] JFFS2 compression type 0x06 not available.
[    7.884000] Error: jffs2_decompress returned -5
[    7.888000] JFFS2 compression type 0x06 not available.
[    7.892000] Error: jffs2_decompress returned -5
[    7.900000] JFFS2 compression type 0x06 not available.
[    7.900000] Error: jffs2_decompress returned -5
[    7.908000] JFFS2 compression type 0x06 not available.
[    7.912000] Error: jffs2_decompress returned -5
[    7.916000] JFFS2 compression type 0x06 not available.
[    7.920000] Error: jffs2_decompress returned -5
[    7.924000] JFFS2 compression type 0x06 not available.
[    7.928000] Error: jffs2_decompress returned -5
[    7.936000] JFFS2 compression type 0x06 not available.
[    7.940000] Error: jffs2_decompress returned -5
[    7.944000] JFFS2 compression type 0x06 not available.
[    7.948000] Error: jffs2_decompress returned -5
[    7.956000] JFFS2 compression type 0x06 not available.
[    7.960000] Error: jffs2_decompress returned -5
[    7.964000] JFFS2 compression type 0x06 not available.
[    7.968000] Error: jffs2_decompress returned -5
[    7.972000] JFFS2 compression type 0x06 not available.
[    7.976000] Err

Y ahí se queda en un bucle. No para de repetir lo mismo.
[/spoiler]

Parece un fallo de la partición rootfs_data.

Prueba a borrarla (de esta forma se elimina la configuración. No hay otra forma :$):
Código: [Seleccionar]
mtd -r erase rootfs_data
Veo que tienes acceso vía serial, así que cuando te pregunta si quieres entrar en modo failsafe pulsa enter e introduce el comando anterior.
El router se reiniciará sólo y ya debería funcionar sin problemas.

Saludos!

Dicho y hecho... ya lo tengo funcionando gracias al comando que me indicas :-). Si no es mucho pregunta que es lo que había ocurrido?

Edito: Estoy intentando aprender un poco de todo esto... viene el wifi desactivado en el archivo /etc/config/wireless. Porqué hacen esto porque creen que todavía no estable? o porque tradicionalmente viene así en linux.
Simplemente se había corrompido la partición donde se guarda la configuración/ficheros adicionales. Puede pasar por varios motivos. Por eso te recomiendo guardar un backup de la configuración hecho a través de LuCI siempre que alteres la configuración.

El wifi viene desactivado porque así lo han decidido los de Openwrt. En realidad es una cuestion de seguridad, ya que cualquier configuración que establezcan por defecto sería pública y cualquiera tendría acceso a ella.

Saludos.

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #223 en: 08-10-2012, 08:12 (Lunes) »
Sobre el tema del ADSL ... a ver si los que lo tienes instalado te comentan algo.
Mientras, yo empezaría instalando LuCi (que para algunas cosas es poco menos que imprescindible, al menos para mí).
Conéctalo por una de las bocas LAN al router que tienes conectado al ADSL, y configúralo en el mismo rango de ip's para que tenga acceso a internet.

Código: [Seleccionar]
opkg update
opkg install luci-mod-admin-full
opkg install luci-lib-fastindex
opkg install luci-theme-base
opkg install luci-theme-openwrt
opkg install uhttpd
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd reload

Con esto ya tendrás LuCi  y podrás 'ver' algún detalle más sobre la sincronización del ADSL  ;)

Es posible, que tengas problemas al hacer el uptade. Y es que los directorios de los repositorios de OpenWrt han cambiado en los últimos días.

Edita el fichero /etc/opkg.conf y cambia la ruta antigua por esta:
http://downloads.openwrt.org/attitude_adjustment/12.09-beta/lantiq/danube/packages/

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #224 en: 09-10-2012, 08:04 (Martes) »
hibernando siento que te hayas rendido tan pronto ...  >:D

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: Re: OpenWRT para routers Astoria de ya.com
« Respuesta #225 en: 09-10-2012, 19:05 (Martes) »
Espera a ver si los que lo usan con el ADSL te dan alguna pista...
No puedes forzar a mano, a que  levante el interfaz nas0 ?

La semana que viene, a ver si saco tiempo y saco de un cajón un dlink 624t al que se le puede instalar OpenWrt y que tiene soporte para el módulo de ADSL.


Enviado desde mi U30GT-H usando Tapatalk 2
« Última modificación: 09-10-2012, 19:17 (Martes) por jar229 »

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #226 en: 11-10-2012, 17:21 (Jueves) »
Si haces un ping a goole te resuelve la ip ?

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #227 en: 11-10-2012, 17:44 (Jueves) »
 ;D ;D
Te he arreglado un par de mensajes para que no descuadraran el foro   ;)

SERASER

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #228 en: 11-10-2012, 23:04 (Jueves) »
Hola a todos.

¿alguien me podria indicar segun bootlog que pasa con esta compilacion que he realizado que no me detecta ningun pen usb?

[spoiler]
Código: [Seleccionar]
root@OpenWrt:/# dmesg
[    0.000000] Linux version 3.3.8 (seraser@seraser-laptop) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Thu Oct 11 22:40:58 CEST 2012
[    0.000000] SoC: Danube rev 1.3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802e7430, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyLTQ1,115200 rootfstype=squashfs,jffs2 machtype=ARV7518PW
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00043d28
[    0.000000] Readback ErrCtl register=00043d28
[    0.000000] Memory: 61560k/65536k available (2546k kernel code, 3976k reserved, 420k data, 172k init, 0k highmem)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.000000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.056000] gpiochip_add: registered GPIOs 0 to 15 on device: ltq_gpio
[    0.060000] gpiochip_add: registered GPIOs 16 to 31 on device: ltq_gpio
[    0.064000] MIPS: machine is ARV7518PW - ASTORIA
[    0.068000] gpiochip_add: registered GPIOs 100 to 115 on device: ltq_ebu
[    0.112000] bio: create slab <bio-0> at 0
[    0.120000] PCI host bridge to bus 0000:00
[    0.124000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.128000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.132000] pci 0000:00:0e.0: [168c:ff1d] type 0 class 0x000200
[    0.132000] pci 0000:00:0e.0: fixup device configuration
[    0.136000] pci 0000:00:0e.0: fixup info: [168c:0029] revision 01 class 0x028000
[    0.140000] pci 0000:00:0e.0: reg 10: [mem 0x00000000-0x0000ffff]
[    0.140000] pci 0000:00:0e.0: PME# supported from D0 D3hot
[    0.140000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.144000] pci 0000:00:0e.0: SLOT:14 PIN:1 IRQ:30
[    0.148000] Switching to clocksource MIPS
[    0.156000] NET: Registered protocol family 2
[    0.164000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.168000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.176000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.184000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.188000] TCP reno registered
[    0.192000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.200000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.204000] NET: Registered protocol family 1
[    0.208000] PCI: CLS 0 bytes, default 32
[    0.212000] gptu: totally 6 16-bit timers/counters
[    0.216000] gptu: misc_register on minor 63
[    0.220000] gptu: succeeded to request irq 126
[    0.224000] gptu: succeeded to request irq 127
[    0.228000] gptu: succeeded to request irq 128
[    0.232000] gptu: succeeded to request irq 129
[    0.236000] gptu: succeeded to request irq 130
[    0.244000] gptu: succeeded to request irq 131
[    0.252000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.256000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.268000] msgmni has been set to 120
[    0.272000] io scheduler noop registered
[    0.276000] io scheduler deadline registered (default)
[    0.280000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc
[    0.288000] console [ttyLTQ1] enabled, bootconsole disabled
[    0.304000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.312000] ltq_nor: Found an alias at 0x800000 for the chip at 0x0
[    0.312000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.316000]   Amd/Fujitsu Extended Query version 1.1.
[    0.320000] number of CFI chips: 1
[    0.324000] Creating 4 MTD partitions on "ltq_nor":
[    0.328000] 0x000000000000-0x000000010000 : "uboot"
[    0.336000] 0x000000010000-0x000000020000 : "uboot_env"
[    0.344000] 0x000000020000-0x0000007f0000 : "linux"
[    0.352000] found squashfs behind kernel
[    0.352000] Creating 2 MTD partitions on "ltq_nor":
[    0.356000] 0x000000020000-0x0000001265c4 : "kernel"
[    0.364000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.376000] 0x0000001265c4-0x0000007f0000 : "rootfs"
[    0.380000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.396000] mtd: partition "rootfs" set to be root filesystem
[    0.400000] mtd: partition "rootfs_data" created automatically, ofs=370000, len=480000
[    0.408000] 0x000000370000-0x0000007f0000 : "rootfs_data"
[    0.416000] 0x0000007f0000-0x000000800000 : "board_config"
[    0.572000] ltq_mii: probed
[    0.596000] eth0: Atheros AR8216 switch driver attached.
[    0.696000] eth0: attached PHY [Atheros AR8216/AR8236/AR8316] (phy_addr=ltq_etop-fffffff:00, irq=-1)
[    0.708000] Registered led device: soc:red:power
[    0.708000] Registered led device: soc:green:power
[    0.708000] Registered led device: soc:green:wifi
[    0.708000] Registered led device: soc:green:adsl
[    0.712000] Registered led device: soc:green:internet
[    0.712000] Registered led device: soc:red:internet
[    0.712000] Registered led device: soc:green:voip
[    0.712000] Registered led device: soc:green:phone1
[    0.712000] Registered led device: soc:green:phone2
[    0.712000] Registered led device: soc:orange:fail
[    0.716000] Registered led device: soc:green:usb
[    0.716000] Registered led device: soc:orange:wps
[    0.716000] Registered led device: soc:green:wps
[    0.716000] Registered led device: soc:red:wps
[    0.716000] TCP cubic registered
[    0.720000] NET: Registered protocol family 17
[    0.724000] 8021q: 802.1Q VLAN Support v1.8
[    0.740000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.748000] Freeing unused kernel memory: 172k freed
[    7.380000] JFFS2 notice: (408) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 2 orphan) found.
[   10.404000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH
[   10.404000]
[   10.432000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   10.440000] Backport based on wireless-testing.git master-2012-09-07
[   10.444000] compat.git: wireless-testing.git
[   10.492000] cfg80211: Calling CRDA to update world regulatory domain
[   10.496000] cfg80211: World regulatory domain updated:
[   10.500000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.508000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.516000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.524000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.532000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.536000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   11.040000] SCSI subsystem initialized
[   11.476000] usbcore: registered new interface driver usbfs
[   11.480000] usbcore: registered new interface driver hub
[   11.488000] usbcore: registered new device driver usb
[   12.220000] NET: Registered protocol family 8
[   12.220000] NET: Registered protocol family 20
[   12.272000] Button Hotplug driver version 0.4.1
[   12.564000] RPC: Registered named UNIX socket transport module.
[   12.568000] RPC: Registered udp transport module.
[   12.572000] RPC: Registered tcp transport module.
[   12.576000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   13.068000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   13.764000] PPP generic driver version 2.4.2
[   14.356000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.700000] NET: Registered protocol family 24
[   14.956000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   15.108000] nf_conntrack version 0.5.0 (964 buckets, 3856 max)
[   16.436000] IFX MEI Version 5.00.00
[   16.580000]
[   16.580000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[   16.620000]     ATM (A1) firmware version 1.0.19
[   16.624000] ifxmips_atm: ATM init succeed
[   16.772000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   16.940000] uhci_hcd: USB Universal Host Controller Interface driver
[   17.108000] usbcore: registered new interface driver usblp
[   17.216000] Initializing USB Mass Storage driver...
[   17.220000] usbcore: registered new interface driver usb-storage
[   17.224000] USB Mass Storage support registered.
[   17.252000] usbcore: registered new interface driver ums-alauda
[   17.280000] usbcore: registered new interface driver ums-cypress
[   17.308000] usbcore: registered new interface driver ums-datafab
[   17.340000] usbcore: registered new interface driver ums-freecom
[   17.368000] usbcore: registered new interface driver ums-isd200
[   17.396000] usbcore: registered new interface driver ums-jumpshot
[   17.424000] usbcore: registered new interface driver ums-karma
[   17.452000] usbcore: registered new interface driver ums-sddr09
[   17.480000] usbcore: registered new interface driver ums-sddr55
[   17.512000] usbcore: registered new interface driver ums-usbat
[   17.616000] usbcore: registered new interface driver zd1211rw
[   17.784000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[   17.816000] usbcore: registered new interface driver yealink
[   17.852000] fuse init (API version 7.18)
[   18.016000] usbip_core: module is from the staging directory, the quality is unknown, you have been warned.
[   18.028000] usbip_core: USB/IP Core v1.0.0
[   18.052000] vhci_hcd: module is from the staging directory, the quality is unknown, you have been warned.
[   18.064000] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[   18.068000] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 1
[   18.080000] hub 1-0:1.0: USB hub found
[   18.080000] hub 1-0:1.0: 8 ports detected
[   18.084000] vhci_hcd: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0
[   18.144000] usbip_host: module is from the staging directory, the quality is unknown, you have been warned.
[   18.156000] usbcore: registered new interface driver usbip-host
[   18.160000] usbip_host: USB/IP Host Driver v1.0.0
[   22.624000] device eth0.1 entered promiscuous mode
[   22.628000] device eth0 entered promiscuous mode
[   22.636000] br-lan: port 1(eth0.1) entered forwarding state
[   22.640000] br-lan: port 1(eth0.1) entered forwarding state
[   24.644000] br-lan: port 1(eth0.1) entered forwarding state
root@OpenWrt:/#
[/spoiler]

¿Quizas exceso de modulos usb que dan conflicto?

Salud.
« Última modificación: 12-10-2012, 00:31 (Viernes) por jar229 »

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #229 en: 12-10-2012, 00:34 (Viernes) »
Te he editado el post, que descuadraba el foro  ;)

Has instalado los módulos para los sistemas de ficheros (kmod-fs-ext4, kmod-fs-vfat, etc. ) ?

Lista el directorio /dev y pon por aquí el resultado.

elmasvital

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #230 en: 12-10-2012, 13:42 (Viernes) »
Enciende el router sin un pendrive deja que arranque y metele el pendrive. Aporta el dmesg de lo que hace el pendrive.

A mi me daba error pero ahora no puedo reproducirlo. Tengo los siguientes modulos relacionados para un pendrive formateado con ext4

   kmod-scsi-core
   kmod-usb-core
   kmod-usb-dwc-otg
   kmod-usb-storage
   kmod-usb2
   kmod-fs-ext4




Te dejo un volcado del serie del montaje de un pendrive

Código: [Seleccionar]
[  957.200000] usb 1-1: USB disconnect, device number 14
[  957.220000] DISCONNECTED PORT
[  957.256000] DISCONNECTED PORT
[  957.288000] DISCONNECTED PORT
[  957.320000] DISCONNECTED PORT
[  957.352000] DISCONNECTED PORT
[  959.484000] usb 1-1: new high-speed USB device number 15 using dwc_otg
[  959.688000] scsi5 : usb-storage 1-1:1.0
[  960.688000] scsi 5:0:0:0: Direct-Access     ChipsBnk Flash Disk       4082 PQ: 0 ANSI: 2
[  960.712000] sd 5:0:0:0: [sdd] Attached SCSI removable disk

root@OpenWrt:/# mount /dev/sdd /mnt
[  970.112000] sd 5:0:0:0: [sdd] 3987456 512-byte logical blocks: (2.04 GB/1.90 GiB)
[  970.120000] sd 5:0:0:0: [sdd] No Caching mode page present
[  970.124000] sd 5:0:0:0: [sdd] Assuming drive cache: write through
[  970.132000] sd 5:0:0:0: [sdd] No Caching mode page present
[  970.136000] sd 5:0:0:0: [sdd] Assuming drive cache: write through
[  970.148000]  sdd: unknown partition table
[  970.156000] EXT4-fs (sdd): couldn't mount as ext3 due to feature incompatibilities
[  970.164000] EXT4-fs (sdd): couldn't mount as ext2 due to feature incompatibilities
[  970.208000] EXT4-fs (sdd): recovery complete
[  970.212000] EXT4-fs (sdd): mounted filesystem with ordered data mode. Opts: (null)

imagino que podras verlo con dmesg si no estas comunicado con serial

SERASER

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #231 en: 12-10-2012, 21:23 (Viernes) »
Muchas gracias por vuestras respuestas jar229 y el masvital, finalmente he vuelto a compilar marcando lo que indica jar y lo indicado por elmasvital y ya bien.

Pero yo tambien he intentado ver si sincroniza el router con adsl anexo a y mi conexion timo y nada, no hay manera, una pena, lo compre por poder tener en un mismo router adsl y openwrt y me parece a mi que no va a ser posible.

Saludos.

elmasvital

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #232 en: 14-10-2012, 18:04 (Domingo) »
Muchas gracias por vuestras respuestas jar229 y el masvital, finalmente he vuelto a compilar marcando lo que indica jar y lo indicado por elmasvital y ya bien.

Pero yo tambien he intentado ver si sincroniza el router con adsl anexo a y mi conexion timo y nada, no hay manera, una pena, lo compre por poder tener en un mismo router adsl y openwrt y me parece a mi que no va a ser posible.

Saludos.

Si es un compilacion que estas haciendo tu te faltaría el modulo  kmod-usb-dwc-otg que es especifico para esta arquitectura

Desconectado jar229

  • Moderador
  • *
  • Mensajes: 4607
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #233 en: 15-10-2012, 18:37 (Lunes) »
La verdad, me resulta raro que ninguno de los que usan este router con el ADSL te de alguna pista sobre el problema que tienes, sERASEr ...  :(

SERASER

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #234 en: 15-10-2012, 20:08 (Lunes) »
De nuevo millon de gracias a elmasvital y jar229 por sus respuestas;)

El problema es que creo que solo Pteridium ha usado de los que andan por aqui el router como suministro adsl y el hombre seguro que tiene mejores cosas que hacer, suele pasar.

El router lleva en el sotano dentro de su caja ya unos pocos dias, no hay problema, ya lo he superado. >:D >:(

Salud.

Pteridium

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #235 en: 16-10-2012, 00:39 (Martes) »
Pues sí, algo liadillo ando.  >:D

Hace bastantes meses puse uno a funcionar con la versión Backfire y me daba ADSL, aunque la línea que tengo en casa es tan mala que sólo consigo un sincronismo "decente" con un Livebox2 o con el Zyxel 660HW-D1 (mi proveedor es Movistar).

Ahora mismo tengo un 7518 que me han regalado y voy a probar el detalle del ADSL.
Hay que tener en cuenta la modulación (¿se dice así?) g.dmt, T1.413, ADSL2 y ADSL2+. En mi caso puedo elegir las dos primeras porque sólo tengo ADSL a secas.

En cuanto eche un vistazo al código edito con algunos datos más.

Edito: https://dev.openwrt.org/browser/trunk/package/ltq-dsl-app/files/dsl_control

A partir de la línea 261 vienen las diferentes "modulaciones". Para mi línea creo que serían admt o at1.

De todas maneras brunorro sí que tenía el router dando ADSL, creo que con ya.com.

Edito2: para que funcione el puerto USB sólo hace falta el módulo "kmod-usb-dwc-otg"; los de OHCI, UHCI y USB2 son inútiles y sólo ocupan espacio en flash.
Dwc-otg da USB 2.0
« Última modificación: 16-10-2012, 02:34 (Martes) por Pteridium »

SERASER

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #236 en: 16-10-2012, 14:54 (Martes) »
Hola, gracias Pteridium, y no sabes cuanto me alegra saber que no tienes tiempo para foros >:( >:(

Yo gasto ADSL2+

« Última modificación: 22-10-2012, 22:28 (Lunes) por sERASEr »

Pteridium

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #237 en: 17-10-2012, 13:47 (Miércoles) »
Bueno, aquí hay una pequeña pista (sacado de este post https://foro.seguridadwireless.net/openwrt/openwrt-para-roters-astoria-de-ya-com/msg246595/#msg246595):
Código: [Seleccionar]
Please press Enter to activate this console. [    7.864000] NET: Registered protocol family 8
[    7.868000] NET: Registered protocol family 20
[    7.908000] Button Hotplug driver version 0.4.1
[    8.264000] PPP generic driver version 2.4.2
[    8.544000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.724000] NET: Registered protocol family 24
[    8.768000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
[    9.036000] IFX MEI Version 5.00.00
[    9.064000]
[    9.064000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[    9.100000]     ATM (A1) firmware version 1.0.19
[    9.100000] ifxmips_atm: ATM init succeed
[    9.124000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[   15.052000] device eth0 entered promiscuous mode
[   15.060000] br-lan: port 1(eth0) entered forwarding state
[   15.064000] br-lan: port 1(eth0) entered forwarding state
[   17.068000] br-lan: port 1(eth0) entered forwarding state

BusyBox v1.19.4 (2012-05-15 00:44:30 PDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r31732)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------

Parece que en la revisión 31732 el ADSL funciona; además, a brunorro también le funcionaba.
Esta noche estuve probando con la última versión de trunk y nada (error en pppd y no levantaba nas0, y de " Infineon CPE API Driver" ni rastro). En cuanto https://dev.openwrt.org/ vuelva a funcionar le meto un repaso a los cambios en lantiq y los paquetes asociados a ver dónde estamos metiendo la pata (a este paso vamos a acabar controlando esto casi tan bien como blogic).  >:D
También he encontrado esto, que algo ayuda:
https://lists.openwrt.org/pipermail/openwrt-devel/2012-May/015368.html
https://lists.openwrt.org/pipermail/openwrt-devel/2012-May/015436.html

Cambiando un poco de tema, estoy haciendo pruebas para un pequeño proyecto empresarial y la CPU del Danube (MIPS 24kec), comparada con la del bcm6358 (MIPS 4kc) y el AMD Geode GX a 333MHz va como un tiro  usando -mtune=24kec y -mdsp (exagero un pelín): examiné el proceso con top y aguantó como un campeón. Sólo le falta tener 16MB de flash y sería un router redondo para mi gusto y para lo que lo quiero usar (y resolver los problemas del ADSL).  :-\
« Última modificación: 17-10-2012, 22:10 (Miércoles) por Pteridium »

Noltari

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #238 en: 17-10-2012, 14:00 (Miércoles) »
Bueno, aquí hay una pequeña pista (sacado de este post https://foro.seguridadwireless.net/openwrt/openwrt-para-roters-astoria-de-ya-com/msg246595/#msg246595):
Código: [Seleccionar]
Please press Enter to activate this console. [    7.864000] NET: Registered protocol family 8
[    7.868000] NET: Registered protocol family 20
[    7.908000] Button Hotplug driver version 0.4.1
[    8.264000] PPP generic driver version 2.4.2
[    8.544000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.724000] NET: Registered protocol family 24
[    8.768000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
[    9.036000] IFX MEI Version 5.00.00
[    9.064000]
[    9.064000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[    9.100000]     ATM (A1) firmware version 1.0.19
[    9.100000] ifxmips_atm: ATM init succeed
[    9.124000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[   15.052000] device eth0 entered promiscuous mode
[   15.060000] br-lan: port 1(eth0) entered forwarding state
[   15.064000] br-lan: port 1(eth0) entered forwarding state
[   17.068000] br-lan: port 1(eth0) entered forwarding state

BusyBox v1.19.4 (2012-05-15 00:44:30 PDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r31732)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------

Parece que en la revisión 31732 el ADSL funciona; además, a brunorro también le funcionaba.
Esta noche estuve probando con la última versión de trunk y nada (error en pppd y no levantaba nas0, y de " Infineon CPE API Driver" ni rastro). En cuanto https://dev.openwrt.org/ vuelva a funcionar le meto un repaso a los cambios en lantiq y los paquetes asociados a ver dónde estamos metiendo la pata (a este paso vamos a acabar controlando esto casi tan bien como blogic).  >:D
También he encontrado esto, que algo ayuda:
https://lists.openwrt.org/pipermail/openwrt-devel/2012-May/015368.html
https://lists.openwrt.org/pipermail/openwrt-devel/2012-May/015436.html

Cambiando un poco de tema, estoy haciendo pruebas para un pequeño proyecto empresarial y la CPU del Danube (MIPS 24kec), comparada con la del bcm6328 (MIPS 4kc) y el AMD Geode GX a 333MHz va como un tiro  usando -mtune=24kec y -mdsp (exagero un pelín): examiné el proceso con top y aguantó como un campeón. Sólo le falta tener 16MB de flash y sería un router redondo para mi gusto y para lo que lo quiero usar (y resolver los problemas del ADSL).  :-\
Aquí te facilito un par de mirrors por si lo quieres ir mirando (dev.openwrt.org puede tardar bastante en volver a estar operativo):
La más actualizada: http://git.mirror.nanl.de/?p=openwrt/trunk.git;a=history;f=target/linux/lantiq;hb=HEAD
Menos actualizada, pero en Github (para lo que necesitas también te vale): https://github.com/mirrors/openwrt/commits/master/target/linux/lantiq

Saludos y espero que te sirva de ayuda.

SERASER

  • Visitante
Re: OpenWRT para routers Astoria de ya.com
« Respuesta #239 en: 17-10-2012, 14:08 (Miércoles) »
Hola, gracias por tu esfuerzo Pteridium y a Noltari por las fuentes.

En el tema de adaptar una memoria flash de 16MB o 32MB no tendria problema en volver a cambiarsela por tal de ayudarte.

Yo la electronica y tu el codigo, incluso si te hace falta te cambio yo la memoria.

Salud.