OpenWrt Forum Archive

Topic: RB532 linux-2.6.27 status

The content of this topic has been archived on 11 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

the system boots fine.

RouterBOOT booter 2.18

RouterBoard 532A

CPU frequency: 399 MHz
  Memory size:  64 MB

Press any key within 5 seconds to enter setup.....
trying dhcp protocol... OK
resolved mac address 00:1C:C0:70:8E:8A
Gateway: 192.168.1.79
transfer started ........... transfer ok, time=0.45s
setting up elf image... OK
jumping to kernel code
Linux version 2.6.27.10 (alex@aifnis) (gcc version 4.2.4) #2 Mon Dec 22 12:03:59 EET 2008
CPU revision is: 0001800a (MIPS 4Kc)
Determined physical RAM map:
 memory: 47fe79fc @ b8018400 (usable)
User-defined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 gpio=16383 mem=64M kmac=00:0C:42:0E:5F:E8 board=500r5 boot=1
korina mac = 00:0C:42:0E:5F:E8
Primary instruction cache 8kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, VIPT, no aliases, linesize 16 bytes
Initializing IRQ's: 168 out of 256
PID hash table entries: 256 (order: 8, 1024 bytes)
calculating r4koff... 000c34f8(799992)
CPU frequency 400.00 MHz
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60632k/65536k available (1939k kernel code, 4832k reserved, 355k data, 836k init, 0k highmem)
SLUB: Genslabs=6, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 397.31 BogoMIPS (lpj=794624)
Mount-cache hash table entries: 512
net_namespace: 592 bytes
NET: Registered protocol family 16
PCI: Initializing PCI
SCSI subsystem initialized
pci 0000:00:02.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:03.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:03.0: PME# disabled
bus: 00 index 0 io port: [18800000, 188fffff]
bus: 00 index 1 mmio: [50000000, 5fffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 118
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
console [ttyS0] enabled
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
PCI: Enabling device 0000:00:02.0 (0080 -> 0083)
eth0: VIA Rhine III at 0xb8800000, 00:0c:42:0e:5f:e9, IRQ 142.
eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
PCI: Enabling device 0000:00:03.0 (0080 -> 0083)
eth1: VIA Rhine III at 0xb8800400, 00:0c:42:0e:5f:ea, IRQ 143.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
korina: registered eth2, IRQ 40 MAC 00:0c:42:0e:5f:e8
PATA driver for RouterBOARD 532 Compact Flash version 0.1.0
No set_type function for IRQ 149 (RB532)
scsi0 : pata-rb532-cf
ata1: PATA max PIO4 irq 149
Generic platform RAM MTD, (c) 2004 Simtec Electronics
No NAND device found!!!
rc32434_wdt: Watchdog Timer version 0.2, timer margin: 0 sec
TCP vegas registered
NET: Registered protocol family 17
Freeing unused kernel memory: 836k freed
Algorithmics/MIPS FPU Emulator v1.5
[sighandler]: No more events to be processed, quitting.
[cleanup]: Waiting for children.
[cleanup]: All children terminated.
- preinit -
Press CTRL-C for failsafe

Please press Enter to activate this console. eth0: link down
eth0: link down
eth1: link down
eth1: link down



BusyBox v1.11.3 (2008-12-22 00:14:48 EET) 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
 KAMIKAZE (bleeding edge, r13715) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/#

no Nand is detected
eth0 (korina driver) is not responding
when eth1 is pluged into the network I get the following:

eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
irq 142: nobody cared (try booting with the "irqpoll" option)
Call Trace:[<80110614>] 0x80110614
[<80110614>] 0x80110614
[<8014fff4>] 0x8014fff4
[<801502a8>] 0x801502a8
[<8014f314>] 0x8014f314
[<80151270>] 0x80151270
[<80151218>] 0x80151218
[<8010c1f8>] 0x8010c1f8
[<8010c1d0>] 0x8010c1d0
[<80293100>] 0x80293100
[<80147e28>] 0x80147e28
[<80101444>] 0x80101444
[<8022e824>] 0x8022e824
[<8012201c>] 0x8012201c
[<8010c21c>] 0x8010c21c
[<8012bf1c>] 0x8012bf1c
[<8014f314>] 0x8014f314
[<8012be0c>] 0x8012be0c
[<8012bf1c>] 0x8012bf1c
[<8010c1f8>] 0x8010c1f8
[<8010c1d0>] 0x8010c1d0
[<8012c344>] 0x8012c344
[<80101444>] 0x80101444
[<8013fa68>] 0x8013fa68
[<80101660>] 0x80101660
[<80111178>] 0x80111178
[<8010d2e4>] 0x8010d2e4
[<80101680>] 0x80101680

handlers:
[<8022cf5c>]
Disabling IRQ #142

when eth2 is pluged into the network I get the following:

root@OpenWrt:/# eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
irq 143: nobody cared (try booting with the "irqpoll" option)
Call Trace:[<80110614>] 0x80110614
[<80110614>] 0x80110614
[<8014fff4>] 0x8014fff4
[<801502a8>] 0x801502a8
[<8014f314>] 0x8014f314
[<80151270>] 0x80151270
[<80151218>] 0x80151218
[<8012c4a4>] 0x8012c4a4
[<8010c1f8>] 0x8010c1f8
[<8010c1d0>] 0x8010c1d0
[<80101444>] 0x80101444
[<80101444>] 0x80101444
[<80101660>] 0x80101660
[<80111178>] 0x80111178
[<8010d2e4>] 0x8010d2e4
[<80101680>] 0x80101680

handlers:
[<8022cf5c>]
Disabling IRQ #143
cat /proc/interrupts

           CPU0
  7:       2931           RB532  timer
104:      15300           RB532  serial
142:     100000           RB532  eth0
143:     100000           RB532  eth1
149:          1           RB532  pata-rb532-cf

ERR:          0
cat /proc/iomem

00000000-03ffffff : System RAM
  00101000-002e5c1b : Kernel code
  002e5c1c-0033eb8f : Kernel data
18030030-18030040 : rb532_wdt_res
18040000-18040013 : korina_dma_rx
18040014-18040027 : korina_dma_tx
18060000-1806024c : korina_regs
18a10000-18a11000 : cf_membase
18a20000-18a21000 : nand_membase
50000000-5fffffff : PCI MEM1
  50000000-500000ff : 0000:00:02.0
    50000000-500000ff : via-rhine
  50000100-500001ff : 0000:00:03.0
    50000100-500001ff : via-rhine
  60000000-6fffffff : PCI Mem2

binary firmware images used for the above tests are here

(Last edited by acoul on 22 Dec 2008, 11:52)

kernel 2.6.28-rc9 seems to have similar issues with the addition that the keyboard does not respond on the serial console.

RouterBOOT booter 2.18

RouterBoard 532A

CPU frequency: 399 MHz
  Memory size:  64 MB

Press any key within 5 seconds to enter setup.....
trying dhcp protocol... OK
resolved mac address 00:1C:C0:70:8E:8A
Gateway: 192.168.1.79
transfer started ............ transfer ok, time=0.46s
setting up elf image... OK
jumping to kernel code
Linux version 2.6.28-rc9 (alex@aifnis) (gcc version 4.2.4) #2 Mon Dec 22 13:22:21 EET 2008
CPU revision is: 0001800a (MIPS 4Kc)
Determined physical RAM map:
 memory: 47fe79fc @ b8018400 (usable)
User-defined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 gpio=16383 mem=64M kmac=00:0C:42:0E:5F:E8 board=500r5 boot=1
korina mac = 00:0C:42:0E:5F:E8
Primary instruction cache 8kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, VIPT, no aliases, linesize 16 bytes
Initializing IRQ's: 168 out of 256
PID hash table entries: 256 (order: 8, 1024 bytes)
calculating r4koff... 001e846c(1999980)
CPU frequency 400.00 MHz
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60540k/65536k available (1904k kernel code, 4928k reserved, 482k data, 840k init, 0k highmem)
SLUB: Genslabs=6, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 398.95 BogoMIPS (lpj=1994752)
Mount-cache hash table entries: 512
net_namespace: 480 bytes
NET: Registered protocol family 16
PCI: Initializing PCI
SCSI subsystem initialized
pci 0000:00:02.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:03.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:03.0: PME# disabled
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 118
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
console [ttyS0] enabled
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
PCI: Enabling device 0000:00:02.0 (0080 -> 0083)
eth0: VIA Rhine III at 0x50000000, 00:0c:42:0e:5f:e9, IRQ 142.
eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
PCI: Enabling device 0000:00:03.0 (0080 -> 0083)
eth1: VIA Rhine III at 0x50000100, 00:0c:42:0e:5f:ea, IRQ 143.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
korina: registered eth2, IRQ 40 MAC 00:0c:42:0e:5f:e8
No NAND device found!!!
input: gpio-keys as /devices/platform/gpio-keys/input/input0
rc32434_wdt: Watchdog Timer version 0.2, timer margin: 0 sec
TCP vegas registered
NET: Registered protocol family 17
Freeing unused kernel memory: 840k freed
Algorithmics/MIPS FPU Emulator v1.5
[sighandler]: No more events to be processed, quitting.
[cleanup]: Waiting for children.
[cleanup]: All children terminated.
- preinit -
Press CTRL-C for failsafe

Please press Enter to activate this console. eth0: link down
eth0: link down
eth1: link down
eth1: link down

when eht1 is plugged to the network:

eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
irq 142: nobody cared (try booting with the "irqpoll" option)
Call Trace:
[<80110f74>] dump_stack+0x8/0x34
[<80152e98>] __report_bad_irq+0x58/0xc4
[<80153088>] note_interrupt+0x184/0x208
[<80154120>] handle_level_irq+0x9c/0x114
[<8010c5fc>] plat_irq_dispatch+0xe8/0x10c
[<80101444>] ret_from_irq+0x0/0x4
[<80269a5c>] gpio_keys_isr+0x8/0x74
[<80151e34>] handle_IRQ_event+0x64/0xd4
[<80154168>] handle_level_irq+0xe4/0x114
[<8010c5fc>] plat_irq_dispatch+0xe8/0x10c
[<80101444>] ret_from_irq+0x0/0x4
[<8012c948>] __do_softirq+0x70/0x160
[<8012ca94>] do_softirq+0x5c/0x94
[<8012cf3c>] irq_exit+0x40/0x8c
[<80101444>] ret_from_irq+0x0/0x4

handlers:
[<80234ac0>] (rhine_interrupt+0x0/0x770)
Disabling IRQ #142

when eht2 is plugged to the network:

eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
irq 143: nobody cared (try booting with the "irqpoll" option)
Call Trace:
[<80110f74>] dump_stack+0x8/0x34
[<80152e98>] __report_bad_irq+0x58/0xc4
[<80153088>] note_interrupt+0x184/0x208
[<80154120>] handle_level_irq+0x9c/0x114
[<8010c5fc>] plat_irq_dispatch+0xe8/0x10c
[<80101444>] ret_from_irq+0x0/0x4
[<802688dc>] input_event+0x50/0xd4
[<80269a2c>] gpio_keys_report_event+0x54/0x7c
[<80269ab0>] gpio_keys_isr+0x5c/0x74
[<80151e34>] handle_IRQ_event+0x64/0xd4
[<80154168>] handle_level_irq+0xe4/0x114
[<8010c5fc>] plat_irq_dispatch+0xe8/0x10c
[<80101444>] ret_from_irq+0x0/0x4
[<8012c948>] __do_softirq+0x70/0x160
[<8012ca94>] do_softirq+0x5c/0x94
[<8012cf3c>] irq_exit+0x40/0x8c
[<80101444>] ret_from_irq+0x0/0x4

handlers:
[<80234ac0>] (rhine_interrupt+0x0/0x770)
Disabling IRQ #143

binary firmware images used for the above tests are here

same behavior on on trunk 13921/2.6.28.  nand is not detected. korina ethernet port is detected as eth2 instead of eth0.  all ports respond to pings but performance is not as expected and kernel oops is still there.

RouterBOOT booter 2.18

RouterBoard 532A

CPU frequency: 399 MHz
  Memory size:  64 MB

Press any key within 5 seconds to enter setup.....
trying dhcp protocol... OK
resolved mac address 00:1C:C0:70:8E:8A
Gateway: 192.168.1.79
transfer started ........... transfer ok, time=0.43s
setting up elf image... OK
jumping to kernel code
Linux version 2.6.28 (alex@aifnis) (gcc version 4.2.4) #4 Wed Jan 7 19:20:56 EET 2009
CPU revision is: 0001800a (MIPS 4Kc)
Determined physical RAM map:
 memory: 47fe79fc @ b8018400 (usable)
User-defined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 gpio=16383 mem=64M kmac=00:0C:42:0E:5F:E8 board=500r5 boot=1
korina mac = 00:0C:42:0E:5F:E8
Primary instruction cache 8kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, VIPT, no aliases, linesize 16 bytes
Initializing IRQ's: 168 out of 256
PID hash table entries: 256 (order: 8, 1024 bytes)
calculating r4koff... 000c34f8(799992)
CPU frequency 400.00 MHz
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60852k/65536k available (1756k kernel code, 4608k reserved, 322k data, 832k init, 0k highmem)
SLUB: Genslabs=6, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 398.33 BogoMIPS (lpj=796672)
Mount-cache hash table entries: 512
net_namespace: 480 bytes
NET: Registered protocol family 16
PCI: Initializing PCI
pci 0000:00:02.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:03.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:03.0: PME# disabled
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 119
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
console [ttyS0] enabled
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
PCI: Enabling device 0000:00:02.0 (0080 -> 0083)
eth0: VIA Rhine III at 0x50000000, 00:0c:42:0e:5f:e9, IRQ 142.
eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
PCI: Enabling device 0000:00:03.0 (0080 -> 0083)
eth1: VIA Rhine III at 0x50000100, 00:0c:42:0e:5f:ea, IRQ 143.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
korina: registered eth2, IRQ 40 MAC 00:0c:42:0e:5f:e8
No NAND device found!!!
rc32434_wdt: Watchdog Timer version 0.2, timer margin: 0 sec
TCP vegas registered
NET: Registered protocol family 17
Freeing unused kernel memory: 832k freed
Algorithmics/MIPS FPU Emulator v1.5
[sighandler]: No more events to be processed, quitting.
[cleanup]: Waiting for children.
[cleanup]: All children terminated.
- preinit -
Press CTRL-C for failsafe

Please press Enter to activate this console.
ifconfig eth0 up
root@OpenWrt:/# ifconfig eth1 up
eth1: link down
root@OpenWrt:/# ifconfig eth2 192.168.1.1
cat /proc/interrupts
           CPU0
  7:       9969           RB532  timer
 40:          1           RB532  Korina ethernet Rx
 41:          0           RB532  Korina ethernet Tx
104:       2082           RB532  serial
113:          0           RB532  Ethernet Overflow
114:          0           RB532  Ethernet Underflow
142:          0           RB532  eth0
143:          0           RB532  eth1

ERR:          0

ping -s 65507 192.168.1.1 on korina ethernet causes a reboot:

root@OpenWrt:/# skb_over_panic: text:80233c40 len:1514 put:1514 head:83b8f000 data:83b8f012 tail:0x83b8f5fc end:0x83b8f230 dev:<NULL>
Kernel bug detected[#1]:
Cpu 0
$ 0   : 00000000 1810e800 00000079 00000001
$ 4   : 802fa560 00001040 00000001 803eedf4
$ 8   : 00000004 ffffffff 00000000 00000000
$12   : 00000000 00000000 00000000 00000000
$16   : 83b8f012 83842000 83842380 83bd04d0
$20   : a38434e0 83bd0bb0 0000000e 1fffffff
$24   : 8381fce8 000186a0
$28   : 8381e000 8381fe78 80300000 8024bc74
Hi    : 000000c7
Lo    : 2b043000
epc   : 8024bc74 0x8024bc74
    Not tainted
ra    : 8024bc74 0x8024bc74
Status: 1810e803    KERNEL EXL IE
Cause : 10800024
PrId  : 0001800a (MIPS 4Kc)
Modules linked in:
Process ksoftirqd/0 (pid: 3, threadinfo=8381e000, task=838148f0, tls=00000000)
Stack : a38435d0 80233c40 000005ea 000005ea 83b8f000 83b8f012 83b8f5fc 83b8f230
        802da0ac 83bd0bb0 8024d20c 83bd08f0 a38434b0 83bd09a0 0000000b 1fffffff
        000005ea 80233c40 83bd04d0 8024d474 00000001 803e0000 838425d4 00000040
        00000040 0000002c 803ef7a4 ffff942f 803f0000 803ef7b4 802e0000 80257164
        80121f94 00000040 8381ff00 8381ff00 00000100 803e4910 00000000 0000000c
        ...
Call Trace:[<80233c40>] 0x80233c40
[<8024d20c>] 0x8024d20c
[<80233c40>] 0x80233c40
[<8024d474>] 0x8024d474
[<80257164>] 0x80257164
[<80121f94>] 0x80121f94
[<8012c360>] 0x8012c360
[<8012c478>] 0x8012c478
[<8012c9c8>] 0x8012c9c8
[<8012c96c>] 0x8012c96c
[<8013ce14>] 0x8013ce14
[<8013cdf8>] 0x8013cdf8
[<8010d26c>] 0x8010d26c
[<8010d25c>] 0x8010d25c


Code: afa3001c  0c049ebb  afa20020 <0200000d> 08092f1e  00000000  27bdffe0  afb20018  afb10014
Kernel panic - not syncing: Fatal exception in interrupt
Rebooting in 3 seconds..

when via ethernet port goes up it produces the following:

eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
irq 142: nobody cared (try booting with the "irqpoll" option)
Call Trace:[<801107b4>] 0x801107b4
[<801107b4>] 0x801107b4
[<801500a4>] 0x801500a4
[<80150274>] 0x80150274
[<8014f0a4>] 0x8014f0a4
[<8015130c>] 0x8015130c
[<8010c1f4>] 0x8010c1f4
[<802651c4>] 0x802651c4
[<80101444>] 0x80101444
[<8010c218>] 0x8010c218
[<8012c4ac>] 0x8012c4ac
[<8012c360>] 0x8012c360
[<8015130c>] 0x8015130c
[<8012c4ac>] 0x8012c4ac
[<80101444>] 0x80101444
[<8013ca1c>] 0x8013ca1c
[<80101660>] 0x80101660
[<802b4bdc>] 0x802b4bdc
[<8010d2d8>] 0x8010d2d8
[<80101680>] 0x80101680

handlers:
[<802310d8>]
Disabling IRQ #142

ping -s 65507 on ether via ethernet ports works but with reduced performance:

ping  -s 65507  192.168.1.1
PING 192.168.1.1 (192.168.1.1) 65507(65535) bytes of data.
65515 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=447 ms
65515 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=447 ms
65515 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=447 ms

binary images on the usual place

(Last edited by acoul on 7 Jan 2009, 18:38)

I am unable to change the subject of the first post.  we are now on kernel 2.6.28.1

korina ethernet is now eth2 instead of eth0. this build is using gcc-4.3.2, binutils-2.19 and uClibc-0.9.30. the irq nobody cared issue is still there.

RouterBOOT booter 2.18

RouterBoard 532A

CPU frequency: 399 MHz
  Memory size:  64 MB

Press any key within 5 seconds to enter setup.....
trying dhcp protocol... OK
resolved mac address 00:1C:C0:70:8E:8A
Gateway: 192.168.1.79
transfer started ........... transfer ok, time=2.98s
setting up elf image... OK
jumping to kernel code
Linux version 2.6.28.1 (alex@aifnis) (gcc version 4.3.2 (GCC) ) #5 Thu Jan 22 10:58:39 EET 2009
CPU revision is: 0001800a (MIPS 4Kc)
Determined physical RAM map:
memory: 47fe79fc @ b8018400 (usable)
User-defined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 gpio=16383 mem=64M kmac=00:0C:42:0E:5F:E8 board=500r5 boot=1
korina mac = 00:0C:42:0E:5F:E8
Primary instruction cache 8kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, VIPT, no aliases, linesize 16 bytes
Initializing IRQ's: 168 out of 256
PID hash table entries: 256 (order: 8, 1024 bytes)
calculating r4koff... 000c34f8(799992)
CPU frequency 400.00 MHz
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60816k/65536k available (1788k kernel code, 4652k reserved, 321k data, 844k init, 0k highmem)
Calibrating delay loop... 398.33 BogoMIPS (lpj=796672)
Mount-cache hash table entries: 512
net_namespace: 480 bytes
NET: Registered protocol family 16
PCI: Initializing PCI
pci 0000:00:02.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:03.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:03.0: PME# disabled
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 118
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
console [ttyS0] enabled
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
PCI: Enabling device 0000:00:02.0 (0080 -> 0083)
eth0: VIA Rhine III at 0x50000000, 00:0c:42:0e:5f:e9, IRQ 142.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 0021.
PCI: Enabling device 0000:00:03.0 (0080 -> 0083)
eth1: VIA Rhine III at 0x50000100, 00:0c:42:0e:5f:ea, IRQ 143.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
korina: registered eth2, IRQ 40 MAC 00:0c:42:0e:5f:e8
No NAND device found!!!
rc32434_wdt: Watchdog Timer version 0.2, timer margin: 0 sec
TCP vegas registered
NET: Registered protocol family 17
Freeing unused kernel memory: 844k freed
Algorithmics/MIPS FPU Emulator v1.5
[sighandler]: No more events to be processed, quitting.
[cleanup]: Waiting for children.
[cleanup]: All children terminated.
- preinit -
Press CTRL-C for failsafe

Please press Enter to activate this console. eth0: link up, 10Mbps, half-duplex, lpa 0x0021
eth0: link up, 10Mbps, half-duplex, lpa 0x0021
irq 142: nobody cared (try booting with the "irqpoll" option)
Call Trace:[<801099a4>] 0x801099a4
[<801099a4>] 0x801099a4
[<801522a8>] 0x801522a8
[<80152478>] 0x80152478
[<801514b0>] 0x801514b0
[<80152fc8>] 0x80152fc8
[<8010c824>] 0x8010c824
[<80101444>] 0x80101444
[<80167f50>] 0x80167f50
[<80185e10>] 0x80185e10
[<8010c61c>] 0x8010c61c
[<8012d0ec>] 0x8012d0ec
[<8012cf98>] 0x8012cf98
[<801514b0>] 0x801514b0
[<8012d0ec>] 0x8012d0ec
[<8010c824>] 0x8010c824
[<8012d250>] 0x8012d250
[<80101444>] 0x80101444

handlers:
[<80237e7c>]
Disabling IRQ #142



BusyBox v1.11.3 (2009-01-22 10:36:00 EET) 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
KAMIKAZE (bleeding edge, r14144) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
---------------------------------------------------

cat /proc/interrupts
           CPU0
  7:       3224           RB532  timer
104:        955           RB532  serial
142:     100000           RB532  eth0

ERR:          0

the eth0 irq counter stays the same although the ethernet card is responding to pings with a noticeable performance hit.

cat /proc/version
Linux version 2.6.28.1 (alex@aifnis) (gcc version 4.3.2 (GCC) ) #5 Thu Jan 22 10:58:39 EET 2009

images are here

(Last edited by acoul on 22 Jan 2009, 11:15)

I have tested kernels 2.6.27.13, 2.6.28.2 and 2.6.29-rc2 and the via-rhine issue is there in all of them.  I have patched the Via rhinefet drivers against kernel 2.6.27.13, they compile but do not work.  you may find the source here

it looks like we have a go on linux-2.6.29-rc3-git4.  mini_fo is missing but all ethernet ports work like a charm !!

Linux version 2.6.29-rc3-git4 (alex@aifnis) (gcc version 4.3.3 (GCC) ) #1 Tue Feb 3 14:14:37 EET 2009
CPU revision is: 0001800a (MIPS 4Kc)
Determined physical RAM map:
 memory: 47fe79fc @ b8018400 (usable)
User-defined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat 80337a10, node_mem_map 81000000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 gpio=16383 mem=64M kmac=00:0C:42:0E:5F:E8 board=500r5 boot=1
korina mac = 00:0C:42:0E:5F:E8
Primary instruction cache 8kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, VIPT, no aliases, linesize 16 bytes
Initializing IRQ's: 168 out of 256
PID hash table entries: 256 (order: 8, 1024 bytes)
calculating r4koff... 000c34f8(799992)
CPU frequency 400.00 MHz
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60328k/65536k available (1923k kernel code, 5132k reserved, 351k data, 1160k init, 0k highmem)
SLUB: Genslabs=6, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 398.33 BogoMIPS (lpj=796672)
Mount-cache hash table entries: 512
net_namespace: 500 bytes
NET: Registered protocol family 16
PCI: Initializing PCI
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
pci 0000:00:00.0: reg 10 32bit mmio: [0x000000-0x7ffffff]
pci 0000:00:02.0: reg 10 io port: [0x00-0xff]
pci 0000:00:02.0: reg 14 32bit mmio: [0x000000-0x0000ff]
pci 0000:00:02.0: supports D1 D2
pci 0000:00:02.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:03.0: reg 10 io port: [0x00-0xff]
pci 0000:00:03.0: reg 14 32bit mmio: [0x000000-0x0000ff]
pci 0000:00:03.0: supports D1 D2
pci 0000:00:03.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:03.0: PME# disabled
Switched to NOHz mode on CPU #0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/03) Phillip Lougher
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 117
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
PCI: Enabling device 0000:00:02.0 (0080 -> 0083)
PCI: Setting latency timer of device 0000:00:02.0 to 64
eth0: VIA Rhine III at 0x50000000, 00:0c:42:0e:5f:e9, IRQ 142.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
PCI: Enabling device 0000:00:03.0 (0080 -> 0083)
PCI: Setting latency timer of device 0000:00:03.0 to 64
eth1: VIA Rhine III at 0x50000100, 00:0c:42:0e:5f:ea, IRQ 143.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
eth2 (korina): not using net_device_ops yet
Driver 'sd' needs updating - please use bus_type methods
PATA driver for RouterBOARD 532 Compact Flash version 0.1.0
scsi0 : pata-rb532-cf
ata1: PATA max PIO4 irq 149
ata1.00: CFA: Hyperstone ATA, 30/06/03, max PIO2
ata1.00: 256256 sectors, multi 0: LBA
ata1.00: configured for PIO2
ata1.00: configured for PIO2
ata1: EH complete
scsi 0:0:0:0: Direct-Access     ATA      Hyperstone ATA   30/0 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 256256 512-byte hardware sectors: (131 MB/125 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 256256 512-byte hardware sectors: (131 MB/125 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI removable disk
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 117 at 0x000000ea0000
Bad eraseblock 127 at 0x000000fe0000
Bad eraseblock 409 at 0x000003320000
Bad eraseblock 564 at 0x000004680000
Bad eraseblock 831 at 0x0000067e0000
Bad eraseblock 965 at 0x0000078a0000
Creating 2 MTD partitions on "gen_nand":
0x000000000000-0x000000400000 : "Routerboard NAND boot"
0x000000400000-0x000008000000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
split_squashfs: no squashfs found in "gen_nand"
rc32434_wdt: Watchdog Timer version 0.2, timer margin: 0 sec
TCP vegas registered
NET: Registered protocol family 17
Freeing unused kernel memory: 1160k freed
Algorithmics/MIPS FPU Emulator v1.5
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
cat /proc/interrupts

           CPU0
  7:       5900           RB532-<NULL>    timer
 40:       4626           RB532-<NULL>    Korina ethernet Rx
 41:       4755           RB532-<NULL>    Korina ethernet Tx
104:       1645           RB532-<NULL>    serial
113:          0           RB532-<NULL>    Ethernet Overflow
114:          0           RB532-<NULL>    Ethernet Underflow
142:      24805           RB532-<NULL>    eth0
149:         65           RB532-<NULL>    pata-rb532-cf

ERR:          0

rb532 is fully operational again as of linux-2.6.29-rc3-git5.  patches available here. korina lan shows up as eth2 instead of eth0.

acoul wrote:

rb532 is fully operational again as of linux-2.6.29-rc3-git5.  patches available here. korina lan shows up as eth2 instead of eth0.

acoul, did you had a chance to upgrade to latest     2.6.29.2 kernel ? Also, can you please check your web server, when I am trying to download http://wifi.ozo.com/airo/openwrt/source … .29.config or any other .config, I am getting "Error 500: Internal Server Error".

Thank you

Anyone has right .config files for BR/532 board and 2.6.29 (or 2.6.30) kernels?

I found that, trying to build with those patches and select right ones. But I cannot download any .config files out of there. You can try to download http://wifi.ozo.com/airo/asus/source/2. … .29.config and see if it gets the file to you.

Thanks for advice.

I will be playing with this board again after a while so stay tuned.  feedback is always welcomed along with patches :-)

Kernel 2.6.23.17 is working fine, broken after that

linux-2.6.30-rc6 is a go on rb532. tested on the lab not on production boxes though.

sources here
binary images here
packages here

big thanks to all openwrt devs !!

(Last edited by acoul on 16 May 2009, 12:55)

Hi Acoul.
What is the status of RB532 with the latest trunk? Any problems?

I'm thinking of buying few to test 802.11s on ath, so I need working kernel above 2.6.28

2.6.30 is working rock stable as far as lan & madwifi.  havn't test is on anything else though.

Great. Thx. I'll post some info after testing on it ath5k and ath9k in mesh mode smile

paranoiq wrote:

Great. Thx. I'll post some info after testing on it ath5k and ath9k in mesh mode smile

please do

with newest trunk / kernel 2.6.30.6 and also with  16134 revision - where bugtracker says via-rhine should work - i only get korina ethernet via eth2 working.
via-rhine alias eth0,eth1 are not available.
i cant ping myself ip adresses and only eth2 korina has got a working route.
if i plug in a cable on eth0 its telling me it has no link. a cable on eth1 is telling me eth0 is up but no one of the rhine's are working.

anybody an idea how to fix via-rhine?

eth0      Link encap:Ethernet  HWaddr 00:0c:42:1a:af:47 
          inet addr:192.168.178.37  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:142 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:0c:42:1a:af:48 
          inet addr:192.168.178.38  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:143 Base address:0x6100

eth2      Link encap:Ethernet  HWaddr 00:0c:42:1a:af:46 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:40

cat /proc/iomem
00000000-03ffffff : System RAM
  00101000-00313d67 : Kernel code
  00313d68-003785ff : Kernel data
18030030-18030040 : rb532_wdt_res
18040000-18040013 : korina_dma_rx
18040014-18040027 : korina_dma_tx
18060000-1806024c : korina_regs
18a10000-18a11000 : cf_membase
18a20000-18a21000 : nand_membase
50000000-5fffffff : PCI MEM1
  50000000-5000ffff : 0000:00:05.0
  50010000-500100ff : 0000:00:02.0
    50010000-500100ff : via-rhine
  50010100-500101ff : 0000:00:03.0
    50010100-500101ff : via-rhine
  60000000-6fffffff : PCI Mem2


# dmesg
Linux version 2.6.30.6 (flash@gentoo) (gcc version 4.1.2) #1 Mon Sep 14 03:12:17 CEST 2009
CPU revision is: 0001800a (MIPS 4Kc)
Determined physical RAM map:
memory: 47fe79fc @ b8018400 (usable)
User-defined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat 80377660, node_mem_map 81000000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/sda2 board=500r5 boot=1 kmac=00:0C:42:1A:AF:46 gpio=16375 console=ttyS0,115200 HZ=165000000 
korina mac = 00:0C:42:1A:AF:46
korina mac = 00:0C:42:1A:AF:46
Primary instruction cache 8kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, VIPT, no aliases, linesize 16 bytes
NR_IRQS:256
Initializing IRQ's: 168 out of 256
PID hash table entries: 256 (order: 8, 1024 bytes)
calculating r4koff... 000c34f8(799992)
CPU frequency 400.00 MHz
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 61108k/65536k available (2123k kernel code, 4356k reserved, 402k data, 132k init, 0k highmem)
Calibrating delay loop... 398.33 BogoMIPS (lpj=796672)
Mount-cache hash table entries: 512
net_namespace: 528 bytes
NET: Registered protocol family 16
PCI: Initializing PCI
bio: create slab <bio-0> at 0
SCSI subsystem initialized
libata version 3.00 loaded.
pci 0000:00:02.0: reg 10 io port: [0x00-0xff]
pci 0000:00:02.0: reg 14 32bit mmio: [0x000000-0x0000ff]
pci 0000:00:02.0: supports D1 D2
pci 0000:00:02.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:03.0: reg 10 io port: [0x00-0xff]
pci 0000:00:03.0: reg 14 32bit mmio: [0x000000-0x0000ff]
pci 0000:00:03.0: supports D1 D2
pci 0000:00:03.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:03.0: PME# disabled
pci 0000:00:05.0: reg 10 32bit mmio: [0x000000-0x00ffff]
pci 0000:00:05.0: PME# supported from D0 D3hot
pci 0000:00:05.0: PME# disabled
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Sep 14 2009 03:06:40 Installing.
msgmni has been set to 119
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
Driver 'sd' needs updating - please use bus_type methods
PATA driver for RouterBOARD 532 Compact Flash version 0.1.0
scsi0 : pata-rb532-cf
ata1: PATA max PIO4 irq 149
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
PCI: Enabling device 0000:00:02.0 (0080 -> 0083)
PCI: Setting latency timer of device 0000:00:02.0 to 64
eth0: VIA Rhine III at 0x50010000, 00:0c:42:1a:af:47, IRQ 142.
eth0: MII PHY found at address 1, status 0x7869 advertising 05e1 Link 45e1.
PCI: Enabling device 0000:00:03.0 (0080 -> 0083)
PCI: Setting latency timer of device 0000:00:03.0 to 64
eth1: VIA Rhine III at 0x50010100, 00:0c:42:1a:af:48, IRQ 143.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
eth2 (korina): not using net_device_ops yet
NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Hynix NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 1475 at 0x00000170c000
Creating 2 MTD partitions on "gen_nand":
0x000000000000-0x000000400000 : "Routerboard NAND boot"
ata1.00: CFA: SanDisk SDCFH2-004G, HDX 4.32, max PIO4
ata1.00: 8027712 sectors, multi 0: LBA
ata1.00: configured for PIO4
ata1.00: configured for PIO4
ata1: EH complete
scsi 0:0:0:0: Direct-Access     ATA      SanDisk SDCFH2-0 HDX  PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 8027712 512-byte hardware sectors: (4.11 GB/3.82 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI removable disk
0x000000400000-0x000004000000 : "rootfs"
rc32434_wdt: Stopped watchdog timer.
rc32434_wdt: Watchdog Timer version 1.0, timer margin: 20 sec
Registered led device: uled
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (ext2 filesystem) readonly on device 8:2.
Freeing unused kernel memory: 132k freed
Algorithmics/MIPS FPU Emulator v1.5
ip_tables: (C) 2000-2006 Netfilter Core Team
eth1: link down
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
------------[ cut here ]------------
WARNING: at net/sched/sch_generic.c:226 0x802adbd4()
NETDEV WATCHDOG: eth0 (via-rhine): transmit timed out
Modules linked in: xt_multiport iptable_filter ip_tables x_tables
Call Trace:[<80129ec8>] 0x80129ec8
[<801116bc>] 0x801116bc
[<801116bc>] 0x801116bc
[<80128f64>] 0x80128f64
[<802adbd4>] 0x802adbd4
[<80128fcc>] 0x80128fcc
[<80299b44>] 0x80299b44
[<802adbd4>] 0x802adbd4
[<802adbb4>] 0x802adbb4
[<8014b010>] 0x8014b010
[<80125a38>] 0x80125a38
[<80112554>] 0x80112554
[<802ada70>] 0x802ada70
[<8013399c>] 0x8013399c
[<80152ec0>] 0x80152ec0
[<80152ec0>] 0x80152ec0
[<8012e7e8>] 0x8012e7e8
[<80155568>] 0x80155568
[<8010e058>] 0x8010e058
[<8012e8f4>] 0x8012e8f4
[<80101844>] 0x80101844
[<8013f27c>] 0x8013f27c
[<80101a60>] 0x80101a60
[<8023704c>] 0x8023704c
[<8010e0d8>] 0x8010e0d8
[<80101a80>] 0x80101a80
[<803799f4>] 0x803799f4
[<803799d8>] 0x803799d8
[<80379110>] 0x80379110

---[ end trace 5187eac6f4abedaf ]---
eth0: Transmit timed out, status 0000, PHY status 786d, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
eth1: link down
eth1: link down
eth1: link down
eth1: link down
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

(Last edited by chipman on 14 Sep 2009, 10:52)

i want to tell anyone who has the same failure to compile the via-rhine driver as module and load it after the korina. this works for me now with 2.6.30.6 2.6.30.5 and 2.6.30.1 also with rc6.
if sb needs an outout:

CONFIG_VIA_RHINE=y
CONFIG_VIA_RHINE_MMIO=n


RouterBOOT booter 2.12

RouterBoard 532A

CPU frequency: 399 MHz
  Memory size:  64 MB

Press any key within 2 seconds to enter setup..
Booting CF
Loading kernel... done
setting up elf image... OK
jumping to kernel code
Linux version 2.6.30.6 (root@gentoo) (gcc version 4.3.1 (Gentoo 4.3.1 p1.0) ) #2 Thu Sep 17 22:50:12 CEST 2009
CPU revision is: 0001800a (MIPS 4Kc)
Determined physical RAM map:
memory: 47fe79fc @ b8018400 (usable)
PCI: Unknown option `biosirq'
User-defined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/sda2 pci=biosirq board=500r5 boot=1 irqpoll kmac=00:0C:42:1A:AF:46 gpio=16375 console=ttyS0,
Misrouted IRQ fixup and polling support enabled
This may significantly impact system performance
korina mac = 00:0C:42:1A:AF:46
korina mac = 00:0C:42:1A:AF:46
Primary instruction cache 8kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 8kB, 4-way, VIPT, no aliases, linesize 16 bytes
NR_IRQS:256
Initializing IRQ's: 168 out of 256
PID hash table entries: 256 (order: 8, 1024 bytes)
calculating r4koff... 000c34f8(799992)
CPU frequency 400.00 MHz
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 61004k/65536k available (2153k kernel code, 4456k reserved, 468k data, 136k init, 0k highmem)
Calibrating delay loop... 398.33 BogoMIPS (lpj=796672)
Mount-cache hash table entries: 512
net_namespace: 528 bytes
NET: Registered protocol family 16
PCI: Initializing PCI
bio: create slab <bio-0> at 0
SCSI subsystem initialized
pci 0000:00:02.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:03.0: PME# supported from D1 D2 D3hot D3cold
pci 0000:00:03.0: PME# disabled
pci 0000:00:05.0: PME# supported from D0 D3hot
pci 0000:00:05.0: PME# disabled
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
yaffs Sep 17 2009 22:45:32 Installing.
msgmni has been set to 119
alg: No test for lzma (lzma-generic)
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS0 at MMIO 0x0 (irq = 104) is a 16550A
Driver 'sd' needs updating - please use bus_type methods
PATA driver for RouterBOARD 532 Compact Flash version 0.1.0
scsi0 : pata-rb532-cf
ata1: PATA max PIO4 irq 149
eth0 (korina): not using net_device_ops yet
NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Hynix NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 1475 at 0x00000170c000
Creating 2 MTD partitions on "gen_nand":
0x000000000000-0x000000400000 : "Routerboard NAND boot"
ata1.00: CFA: SanDisk SDCFH2-004G, HDX 4.32, max PIO4
ata1.00: 8027712 sectors, multi 0: LBA
ata1.00: configured for PIO4
ata1.00: configured for PIO4
ata1: EH complete
scsi 0:0:0:0: Direct-Access     ATA      SanDisk SDCFH2-0 HDX  PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 8027712 512-byte hardware sectors: (4.11 GB/3.82 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI removable disk
0x000000400000-0x000004000000 : "rootfs"
rc32434_wdt: Stopped watchdog timer.
rc32434_wdt: Watchdog Timer version 1.0, timer margin: 20 sec
Registered led device: uled
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (ext2 filesystem) readonly on device 8:2.
Freeing unused kernel memory: 136k freed
Algorithmics/MIPS FPU Emulator v1.5
INIT: version 2.86 booting
devfsd: No devfs on /dev, not starting.
Setting parameters of disc: (none).
Setting the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Unable to set System Clock to: Thu Jan 1 00:00:06 UTC 1970 (warning).
Not activating swap on swapfile. (warning).
Will now check root file system:fsck 1.41.3 (12-Oct-2008)
[/sbin/fsck.ext2 (1) -- /] fsck.ext2 -a -C0 /dev/sda2
/dev/sda2: Superblock last mount time is in the future.  FIXED.
/dev/sda2: Superblock last write time is in the future.  FIXED.
/dev/sda2: clean, 4059/31872 files, 62763/127104 blocks
.
Setting the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Unable to set System Clock to: Thu Jan 1 00:00:07 UTC 1970 (warning).
Cleaning up ifupdown...rm: cannot remove `/etc/network/run/ifstate': Read-only file system
Loading device-mapper support.
Will now check all file systems.
fsck 1.41.3 (12-Oct-2008)
Checking all file systems.
Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
Setting kernel variables (/etc/sysctl.conf)...done.
Will now mount local filesystems:.
Will now activate swapfile swap:swapon on /mnt/cfa4/swapfile
swapon: warning: /mnt/cfa4/swapfile has insecure permissions 0644, 0600 suggested
swapon: /mnt/cfa4/swapfile: Read-only file system
failed.
Cleaning /tmp...done.
Cleaning /var/run...done.
Cleaning /var/lock...done.
Checking minimum space in /tmp...done.
Setting up networking....
/etc/network/options still exists and it will be IGNORED! Read README.Debian of netbase. (warning).
Configuring network interfaces...ifup: failed to open statefile /etc/network/run/ifstate: Read-only file system
failed.
#### WARNING ####
The firewall won't be started/stopped unless it is configured

Please read about Debian specific customization in
/usr/share/doc/shorewall-common/README.Debian.gz.
#################
/etc/rcS.d/S55bootmisc.sh: line 24: /var/lib/initscripts/nologin: Read-only file system
Initializing random number generator...rm: cannot remove `/var/lib/urandom/random-seed': Read-only file system
done.
Setting up X server socket directory /tmp/.X11-unix....
Setting up ICE socket directory /tmp/.ICE-unix....
INIT: Entering runlevel: 2
devfsd: No devfs on /dev, not starting.
Starting system log daemon...chmod: changing permissions of `/dev/xconsole': Read-only file system
chown: changing ownership of `/dev/xconsole': Read-only file system
  syslogd: /var/log/news/news.crit: No such file or directory
  syslogd: /var/log/news/news.err: No such file or directory
  syslogd: /var/log/news/news.notice: No such file or directory
  syslogd: cannot create /dev/log: Address already in use
.
Starting kernel log daemon....
Starting system message bus: dbus.
Starting DNS forwarder and DHCP server: dnsmasq.
Starting virtual private network daemon: server failed!
Starting OpenBSD Secure Shell server: sshd.
Starting advanced IEEE 802.11 management: hostapd.
Starting web server: lighttpd1970-01-01 03:00:21: (log.c.75) server started
.
Starting the Network Audio System
Network Audio System Release 1.9.1
Starting internet superserver: inetd.
Starting network management services: snmpd.
Starting FreeRADIUS daemon: freeradiussnmpd[557]: could not open /proc/net/if_inet6

radiusd: Error: No log destination specified.
.
IPv6 support must be enabled in the kernel for radvd to work.
Starting authentication failure monitor: fail2ban.
ip_tables: (C) 2000-2006 Netfilter Core Team
Running local boot scripts (/etc/rc.local).
rm: cannot remove `/var/lib/initscripts/nologin': Read-only file system

Debian GNU/Linux 5.0 edge ttyS0

edge login: root
Password:
Linux edge 2.6.30.6 #2 Thu Sep 17 22:50:12 CEST 2009 mips

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Unable to change tty /dev/ttyS0: Read-only file system
edge:~# lsmod
Module                  Size  Used by
xt_multiport            1840  1
iptable_filter           768  1
ip_tables               8144  1 iptable_filter
x_tables                8736  2 xt_multiport,ip_tables
edge:~# ifconfig eth1
eth1: error fetching interface information: Device not found
edge:~# modinfo via-rhine
filename:       /lib/modules/2.6.30.6/kernel/drivers/net/via-rhine.ko
license:        GPL
description:    VIA Rhine PCI Fast Ethernet driver
author:         Donald Becker <becker@scyld.com>
alias:          pci:v00001106d00003053sv*sd*bc*sc*i*
alias:          pci:v00001106d00003106sv*sd*bc*sc*i*
alias:          pci:v00001106d00003065sv*sd*bc*sc*i*
alias:          pci:v00001106d00003043sv*sd*bc*sc*i*
depends:       
vermagic:       2.6.30.6 mod_unload MIPS32_R1 32BIT
parm:           max_interrupt_work:VIA Rhine maximum events handled per interrupt (int)
parm:           debug:VIA Rhine debug level (0-7) (int)
parm:           rx_copybreak:VIA Rhine copy breakpoint for copy-only-tiny-frames (int)
parm:           avoid_D3:Avoid power state D3 (work-around for broken BIOSes) (bool)
edge:~# modprobe via-rhine
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
PCI: Enabling device 0000:00:02.0 (0080 -> 0083)
eth1: VIA Rhine III at 0xb8800000, 00:0c:42:1a:af:47, IRQ 142.
eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
PCI: Enabling device 0000:00:03.0 (0080 -> 0083)
eth2: VIA Rhine III at 0xb8800400, 00:0c:42:1a:af:48, IRQ 143.
eth2: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
edge:~# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:0c:42:1a:af:47 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:142

edge:~# ifconfig eth2
eth2      Link encap:Ethernet  HWaddr 00:0c:42:1a:af:48 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:143 Base address:0x400

edge:~# ifconfig eth1 192.168.178.41 netmask 255.255.255.0
eth1: link down
edge:~# eth1: link up, 100Mbps, full-duplex, lpa 0x45E1

edge:~# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:0c:42:1a:af:47 
          inet addr:192.168.178.41  Bcast:192.168.178.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:60 (60.0 B)  TX bytes:0 (0.0 B)
          Interrupt:142

edge:~# ping 192.168.178.80
PING 192.168.178.80 (192.168.178.80) 56(84) bytes of data.
64 bytes from 192.168.178.80: icmp_seq=1 ttl=64 time=4.96 ms
64 bytes from 192.168.178.80: icmp_seq=2 ttl=64 time=0.688 ms
64 bytes from 192.168.178.80: icmp_seq=3 ttl=64 time=0.691 ms
^C
--- 192.168.178.80 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2007ms
rtt min/avg/max/mdev = 0.688/2.116/4.969/2.017 ms
edge:~# modinfo ath9k
filename:       /lib/modules/2.6.30.6/kernel/drivers/net/wireless/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
alias:          pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends:        mac80211,cfg80211
vermagic:       2.6.30.6 mod_unload MIPS32_R1 32BIT
parm:           nohwcrypt:Disable hardware encryption (int)
parm:           btcoex_enable:Enable Bluetooth coexistence support (bool)
edge:~# modprobe ath9k
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
PCI: Enabling device 0000:00:05.0 (0000 -> 0002)
cfg80211: Calling CRDA for country: US
Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
phy0: Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0: mem=0xc01e0000, irq=143
edge:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

eth2      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"" 
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=0 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

edge:~# cat /proc/version
Linux version 2.6.30.6 (root@gentoo) (gcc version 4.3.1 (Gentoo 4.3.1 p1.0) ) #2 Thu Sep 17 22:50:12 CEST 2009
edge:~# cat /proc/iomem
00000000-03ffffff : System RAM
  00101000-0031b43f : Kernel code
  0031b440-003905ff : Kernel data
18030030-18030040 : rb532_wdt_res
18040000-18040013 : korina_dma_rx
18040014-18040027 : korina_dma_tx
18060000-1806024c : korina_regs
18a10000-18a11000 : cf_membase
18a20000-18a21000 : nand_membase
50000000-5fffffff : PCI MEM1
  50000000-5000ffff : 0000:00:05.0
    50000000-5000ffff : ath9k
  50010000-500100ff : 0000:00:02.0
    50010000-500100ff : via-rhine
  50010100-500101ff : 0000:00:03.0
    50010100-500101ff : via-rhine
  60000000-6fffffff : PCI Mem2

edge:~# cat /proc/interrupts
           CPU0       
  7:     185725           RB532  timer
104:       1547           RB532  serial
142:        286           RB532  eth1
143:          0           RB532  ath
149:      53450           RB532  pata-rb532-cf



thanks

ps: iam always working as root. smile and i have no idea how to do a code-box.

cu

(Last edited by chipman on 17 Sep 2009, 22:32)

2.6.31.rc6: lan does not work if you compile static, also eth0 is swapped with eth2

(Last edited by flamemaniii on 15 Dec 2009, 18:28)

The discussion might have continued from here.