what's wrong with my eepro100 card?
linux arm <[email protected]> Mon, 18 Jul 2005 13:54:20 +0800
| Newsgroups | gmane.linux.drivers.eepro100.devel |
|---|---|
| Message-ID | <[email protected]> |
snapgear 3.1.0 snapgear 3.1.x-ixp400-v1.4.2-support ixp400AccessLibrary. When i compiled my kernel, restarted the box,loaded. But the NIC does not work at alll(In initializing, the NIC's mac address had been set FF:FF:FF:FF:FF:FF, so i have to change it by hand), but not to work . And i changed the wait value to 10000 (in function wait_for_cmd_done), the same result. Also i tried to ifconfig eth0 down, then up again, not useful. Thanks !!! Here is the message: Ethernet eth0: MAC address 00:01:72:40:00:00 IP: 10.10.1.4/255.255.255.0, Gateway: 10.10.1.1 Default server: 10.10.1.1 RedBoot(tm) bootstrap and debug environment [ROM] Non-certified release, version UNKNOWN - built 14:21:45, Apr 21 2005 Platform: IXDP425 Development Platform (XScale) Copyright (C) 2000, 2001, 2002, Red Hat, Inc. RAM: 0x00000000-0x10000000, [0x000173c0-0x0ffd1000] available FLASH: 0x51000000 - 0x52000000, 128 blocks of 0x00020000 bytes each. == Executing boot script in 3.000 seconds - enter ^C to abort RedBoot> load -r -v -b 0x1600000 zImage Using default protocol (TFTP) - Raw file loaded 0x01600000-0x016a7ebf, assumed entry at 0x01600000 RedBoot> load -r -v -b 0x800000 ramdisk.gz Using default protocol (TFTP) / Raw file loaded 0x00800000-0x00ad1092, assumed entry at 0x00800000 RedBoot> go 0x1600000 Linux version 2.4.24-uc0 (root@srv1) (gcc version 3.3.2) #6 .\uffff 7.. 14 16:09:40 CST 2005 CPU: XScale-IXP4xx/IXC11xx revision 1 Machine: Intel IXDP425 Development Platform Warning: bad configuration page, trying to continue alloc_bootmem_low memtable_init On node 0 totalpages: 32768 zone(0): 16384 pages. zone(1): 16384 pages. zone(2): 0 pages. Kernel command line: console=ttyS1,115200 root=/dev/ram0 initrd=0x00800000,32M mem=128M@0x00000000 Calibrating delay loop... 532.48 BogoMIPS Memory: 128MB = 128MB total Memory: 95276KB available (1111K code, 232K data, 232K init) Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) Inode cache hash table entries: 8192 (order: 4, 65536 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) POSIX conformance testing by UNIFIX PCI Autoconfig: Found Bus 0, Device 1, Function 0 PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4bfff000 PCI Autoconfig: BAR 1, I/O, size=0x40, address=0xffffffc0 PCI Autoconfig: BAR 2, Mem, size=0x20000, address=0x4bfc0000 PCI Autoconfig: Found Bus 0, Device 2, Function 0 PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4bfbf000 PCI Autoconfig: BAR 1, I/O, size=0x40, address=0xffffff80 PCI Autoconfig: BAR 2, Mem, size=0x20000, address=0x4bf80000 PCI Autoconfig: Found Bus 0, Device 3, Function 0 PCI Autoconfig: BAR 0, I/O, size=0x8, address=0xffffff78 PCI Autoconfig: BAR 1, I/O, size=0x4, address=0xffffff74 PCI Autoconfig: BAR 2, I/O, size=0x8, address=0xffffff68 PCI Autoconfig: BAR 3, I/O, size=0x4, address=0xffffff64 PCI Autoconfig: BAR 4, I/O, size=0x10, address=0xffffff50 PCI Autoconfig: Found Bus 0, Device 3, Function 1 PCI Autoconfig: BAR 0, I/O, size=0x8, address=0xffffff48 PCI Autoconfig: BAR 1, I/O, size=0x4, address=0xffffff44 PCI Autoconfig: BAR 2, I/O, size=0x8, address=0xffffff38 PCI Autoconfig: BAR 3, I/O, size=0x4, address=0xffffff34 PCI Autoconfig: BAR 4, I/O, size=0x10, address=0xffffff20 PCI: bus0: Fast back to back transfers enabled Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB. pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0xff000003 (irq = 15) is a XScale UART ttyS01 at 0xff001003 (irq = 13) is a XScale UART RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <[email protected]> and otseth0: Invalid EEPROM checksum 0xff00, check settings before activating this device! eth0: OEM i82557/i82558 10/100 Ethernet, FF:FF:FF:FF:FF:FF, IRQ 28. Board assembly ffffff-255, Physical connectors present: RJ45 BNC AUI MII Primary interface chip unknown-15 PHY #31. Secondary interface chip i82555. General self-test: passed. Serial sub-system self-test: passed. Internal registers self-test: passed. ROM checksum self-test: passed (0x14c7a6d0). eth1: Invalid EEPROM checksum 0xff00, check settings before activating this device! eth1: OEM i82557/i82558 10/100 Ethernet, FF:FF:FF:FF:FF:FF, IRQ 27. Board assembly ffffff-255, Physical connectors present: RJ45 BNC AUI MII Primary interface chip unknown-15 PHY #31. Secondary interface chip i82555. General self-test: passed. Serial sub-system self-test: passed. Internal registers self-test: passed. ROM checksum self-test: passed (0x14c7a6d0). cfi_cmdset_0001: Erase suspend on write enabled Using buffer write method Creating 7 MTD partitions on "IXP425 Flash": 0x00000000-0x00040000 : "RedBoot" 0x00040000-0x00a40000 : "ramdisk" 0x00a40000-0x00c40000 : "zImage" 0x00c40000-0x00d40000 : "config" 0x00d40000-0x00fe0000 : "unallocated space" 0x00fe0000-0x00fff000 : "FIS directory" mtd: partition "FIS directory" doesn't end on an erase block -- force read-only 0x00fff000-0x01000000 : "RedBoot config" mtd: partition "RedBoot config" doesn't start on an erase block boundary -- force read-only NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 8192 bind 16384) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NetWinder Floating Point Emulator V0.97 (double precision) RAMDISK: Compressed image found at block 0 Freeing initrd memory: 32768K VFS: Mounted root (ext2 filesystem) readonly. Freeing init memory: 232K init started: BusyBox v0.60.5 (2005.07.14-07:40+0000) multi-call binary mount: Mounting none on /tmp failed: Invalid argument Setting clock : Thu Jan 1 00:00:05 UTC 1970 Setting hostname (none): Using /lib/modules/2.4.24-uc0/kernel/drivers/ixp400/ixp400.o Warning: loading ixp400 will taint the kernel: no license See http://www.tux.org/lkml/#export-tainted for information about tainted modules Module init. Using /lib/modules/2.4.24-uc0/kernel/drivers/net/ixp425_eth.o ixp425_eth: Initializing IXP425 NPE Ethernet driver software v. 1.1 ixp425_eth: CPU clock speed (approx) = 0 MHz [error] ixEthMiiPhyScan : unexpected Mii PHY ID 02430c54 [error] ixEthMiiPhyScan : unexpected Mii PHY ID 02430c54 ixp425_eth: ixp0 is using the PHY at address 0 ixp425_eth: ixp1 is using the PHY at address 1 ixp425_eth: ixEthMiiLinkStatus failed on PHY0. Can't determine the auto negotiated parameters. Using default values. ixp425_eth: ixEthMiiLinkStatus failed on PHY1. Can't determine the auto negotiated parameters. Using default values. (none) login: root Password: login[42]: root login on `ttyS1' root@(none):root# ifconfig eth0 hw ether 00:00:00:ef:ef:01 root@(none):root# ifconfig eth0 10.10.1.3 Command 0070 was not accepted after 20001 polls! Current status 01700000. eth0: wait_for_cmd_done timeout! eth0: wait_for_cmd_done timeout! eth0: wait_for_cmd_done timeout! eth0: wait_for_cmd_done timeout! eth0: wait_for_cmd_done timeout! root@(none):root# ping 10.10.1.1 PING 10.10.1.1 (10.10.1.1): 56 data byteseth0: wait_for_cmd_done timeout! eth0: wait_for_cmd_done timeout! eth0: wait_for_cmd_done timeout!