Hi everyone, I've been struggling to get the built-in wireless on RB411UAHR to work with OpenWRT, and as a result have been jumping around in SVN a lot between trunk and various tagged releases.
Today, I'm having trouble where I can successfully net-boot, and then successfully use wget2nand to install my rootfs and elf files (of trunk r27153), but when I reboot, I get a spew of Bad eraseblock errors followed by a kernel panic. This exact rootfs+elf pair works great on another Mikrotik device (and RB433), so I'm assuming this is a hardware failure of some kind. Is there some way that I can fix this from software, or is the unit toast? I'm wondering if I can edit target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c to avoid partitioning space in the problematic area? If the unit is indeed toast, have I done anything to it that would prevent Mikrotik from replacing it? Here's the error, with a chunk of the eraseblock errors removed for brevity: Creating 4 MTD partitions on "spi0.0": 0x000000000000-0x00000000b000 : "routerboot" 0x00000000b000-0x00000000c000 : "hard_config" 0x00000000d000-0x00000000f000 : "bios" 0x00000000f000-0x000000010000 : "soft_config" NAND flash driver for RouterBoard 4xx series version 0.2.0 ONFI flash detected ONFI param page 0 valid NAND device: Manufacturer ID: 0x20, Chip ID: 0xf1 (ST Micro NAND 128MiB 3,3V 8-bit) Scanning device for bad blocks Bad eraseblock 2 at 0x000000040000 Bad eraseblock 3 at 0x000000060000 Bad eraseblock 4 at 0x000000080000 Bad eraseblock 5 at 0x0000000a0000 ..... Bad eraseblock 155 at 0x000001360000 Bad eraseblock 156 at 0x000001380000 Bad eraseblock 157 at 0x0000013a0000 Bad eraseblock 158 at 0x0000013c0000 Creating 3 MTD partitions on "NAND01GW3B2CN6": 0x000000000000-0x000000040000 : "booter" 0x000000040000-0x000000600000 : "kernel" 0x000000600000-0x000008000000 : "rootfs" mtd: partition "rootfs" set to be root filesystem split_squashfs: no squashfs found in "NAND01GW3B2CN6" ag71xx_mdio: probed eth0: Atheros AG71xx at 0xb9000000, irq 4 Atheros AR71xx hardware watchdog driver version 0.1.0 TCP westwood registered NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear <[email protected]> All bugs added by David S. Miller <[email protected]> yaffs: dev is 32505862 name is "mtdblock6" ro yaffs: passed flags "" VFS: Mounted root (yaffs filesystem) readonly on device 31:6. Freeing unused kernel memory: 180k freed Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. Thanks very much for any help or suggestions!
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
