hi, all
    I have a board with ixp425cpu and only one interface. I am using the
firmware(x-wrt kamikaze 8.09.2), normal boot, but I can not access
through interface(eth0), I am very confused! Can anyone help me?!

/etc/config/network

# Copyright (C) 2006 OpenWrt.org

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0

config interface lan
        option ifname   eth0
        option type     bridge
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0


/etc/config/wirless

config wifi-device  wifi0
        option type     atheros
        option channel  auto

        # REMOVE THIS LINE TO ENABLE WIFI:
        option disabled 1

config wifi-iface
        option device   wifi0
        option network  wan
        option mode     ap
        option ssid     OpenWrt
        option encryption none

and dmesg:
Linux version 2.6.26.8 (tra...@tksite) (gcc version 4.1.2) #5 Fri Jan 22
11:58:25 CST 2010
CPU: XScale-IXP42x Family [690541c2] revision 2 (ARMv5TE), cr=000039ff
Machine: Intel IXDP425 Development Platform
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 4096
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists in Zone order, mobility grouping off.  Total pages:
4064
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2
noinitrd console=ttyS0,115200 init=/etc/preinit
PID hash table entries: 64 (order: 6, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 16MB = 16MB total
Memory: 14152KB available (1784K code, 169K data, 92K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 532.48 BogoMIPS (lpj=2662400)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 480 bytes
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers enabled
dmabounce: registered device 0000:00:01.0 on pci bus
NET: Registered protocol family 2
Switched to high resolution mode on CPU 0
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
IXP4xx Queue Manager initialized.
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 27
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
disabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale
eth0: MII PHY 0 on NPE-B
eth1: MII PHY 1 on NPE-C
eth1: MII read failed
eth1: MII read failed
eth1: MII read failed
eth1: MII read failed
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
IXP4XX-Flash.0: Found an alias at 0x800000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset
0x7f0000
5 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 5 MTD partitions on "IXP4XX-Flash.0":
0x00000000-0x00040000 : "RedBoot"
0x00040000-0x00130000 : "zImage"
0x00130000-0x007e0000 : "rootfs"
mtd: partition "rootfs_data" created automatically, ofs=280000,
len=560000 
0x00280000-0x007e0000 : "rootfs_data"
0x007e0000-0x007f0000 : "RedBoot config"
0x007f0000-0x00800000 : "FIS directory"
i2c /dev entries driver
ds1672 0-0068: chip found, driver version 0.4
ds1672 0-0068: rtc core: registered ds1672 as rtc0
i2c-gpio i2c-gpio.0: using pins 7 (SDA) and 6 (SCL)
i2c-adapter i2c-0: max6650: chip found at 0x1b.
max6650 0-001b: Fan voltage is set to 5V.
max6650 0-001b: Prescaler is set to 1.
i2c-adapter i2c-0: max6650: chip found at 0x1f.
max6650 0-001f: Fan voltage is set to 5V.
max6650 0-001f: Prescaler is set to 1.
i2c-adapter i2c-0: max6650: chip found at 0x48.
max6650 0-0048: Fan voltage is set to 5V.
max6650 0-0048: Prescaler is set to 1.
i2c-adapter i2c-0: max6650: chip found at 0x4b.
max6650 0-004b: Fan voltage is set to 5V.
max6650 0-004b: Prescaler is set to 1.
IXP4xx Watchdog Timer: heartbeat 60 sec
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]>
XScale DSP coprocessor detected.
ds1672 0-0068: setting system clock to 1970-01-01 00:00:00 UTC (0)
VFS: Mounted root (squashfs filesystem) readonly.
Freeing init memory: 92K
Please be patient, while OpenWrt loads ...
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
firmware: requesting NPE-B
NPE-B: firmware's license can be found in /usr/share/doc/LICENSE.IPL
NPE-B: firmware functionality 0x2, revision 0x2:1
eth0: link down
br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
device eth0 entered promiscuous mode
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112,
RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)
ath_pci: trunk
wlan: trunk
wlan: mac acl policy registered
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
irq 28: nobody cared (try booting with the "irqpoll" option)
Function entered at [<c0023890>] from [<c005312c>]
Function entered at [<c00530f4>] from [<c0053380>]
 r4:00000000
Function entered at [<c005316c>] from [<c0053fe4>]
Function entered at [<c0053f30>] from [<c001f044>]
 r5:c01ec194 r4:0000001c
Function entered at [<c001f000>] from [<c001f664>]
Exception stack(0xc0d01c50 to 0xc0d01c98)
1c40:                                     ffbeefff c0d00000 c01faf40
20000013 
1c60: 00000102 c01ec194 0000000a c0851b00 00000080 c0af0000 c0af0000
c0d01cb0 
1c80: c0d01cb4 c0d01c98 c0035498 c00350f4 20000013
ffffffff                   
 r6:10000000 r5:0000001f r4:ffffffff
Function entered at [<c00350b0>] from [<c0035498>]
 r6:00000000 r5:c01ec194 r4:0000001c
Function entered at [<c0035454>] from [<c001f048>]
Function entered at [<c001f000>] from [<c001f664>]
Exception stack(0xc0d01ce0 to 0xc0d01d28)
1ce0: 00000000 69054200 69054040 00000000 c01ec194 40000013 0000001c
c0851b00 
1d00: 00000080 c0af0000 c0af0000 c0d01d44 c0d01ce4 c0d01d28 c0028fdc
c0052f64 
1d20: 80000013
ffffffff                                                       
 r6:10000020 r5:0000001f r4:ffffffff
Function entered at [<c0052db4>] from [<c005304c>]
 r7:bf09b98c r6:00000000 r5:fffffff4 r4:c0851b00
Function entered at [<c0052fbc>] from [<bf09fb10>]
Function entered at [<bf09f8dc>] from [<c00f32b8>]
Function entered at [<c00f3258>] from [<c010a184>]
Function entered at [<c010a094>] from [<c010a284>]
 r6:c02444f4 r5:bf0cada0 r4:c024444c
Function entered at [<c010a238>] from [<c01097c8>]
 r6:c010a238 r5:c0d01e1c r4:00000000
Function entered at [<c010977c>] from [<c0109fac>]
 r7:00000000 r6:c0834540 r5:bf0cada0 r4:00000000
Function entered at [<c0109f8c>] from [<c0109c60>]
Function entered at [<c0109bbc>] from [<c010a480>]
Function entered at [<c010a3e8>] from [<c00f34dc>]
Function entered at [<c00f349c>] from [<bf0cd040>]
 r6:c18ab324 r5:00000000 r4:bf0c8288
Function entered at [<bf0cd000>] from [<c0051574>]
 r4:bf0ca6c0
Function entered at [<c0050414>] from [<c001fa40>]
handlers:
[<bf09b98c>]
Disabling IRQ #28
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 2413: mem=0x48000000, irq=28
eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state


_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to