From: mayurs <ss...@gm...> - 2007-10-23 19:44:31
|
Hi All I downloaded Dave's image, and on boot I get, Linux version 2.6.21gum (dhylands@dave) (gcc version 4.1.1) #4 Mon Oct 1 22:16:45 PDT 2007 CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f Machine: The Gumstix Platform Memory policy: ECC disabled, Data cache writeback Run Mode clock: 208.00MHz (*16) Turbo Mode clock: 416.00MHz (*2.0, active) Memory clock: 104.00MHz (/2) System bus clock: 104.00MHz 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. Total pages: 16256 Kernel command line: console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard PID hash table entries: 256 (order: 8, 1024 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 62848KB available (1748K code, 192K data, 132K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 NET: Registered protocol family 2 Time: pxa_timer clocksource has been installed. 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 JFFS2 version 2.2. (NAND) (SUMMARY) (C) 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler cfq registered (default) Console: switching to colour frame buffer device 80x24 pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART Probing Gumstix Flash ROM at physical address 0x00000000 (16-bit bankwidth) Gumstix Flash ROM: Found 1 x16 devices at 0x0 in 16-bit bank Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Intel/Sharp Extended Query Table at 0x010A Using buffer write method cfi_cmdset_0001: Erase suspend on write enabled Using static partitions on Gumstix Flash ROM Creating 3 MTD partitions on "Gumstix Flash ROM": 0x00000000-0x00040000 : "Bootloader" 0x00040000-0x00f00000 : "RootFS" 0x00f00000-0x01000000 : "Kernel" TCP cubic registered XScale iWMMXt coprocessor detected. VFS: Mounted root (jffs2 filesystem). Freeing init memory: 132K NET: Registered protocol family 1 eth0: LAN9117 (rev 2) at 0xc4872000 IRQ 131 eth0: Ethernet addr: 02:00:00:00:2f:d0 CPLD responded with: ff usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pxa27x-ohci pxa27x-ohci: PXA27x OHCI pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1 pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 3 ports detected Initializing random number generator... done. Starting Bluetooth subsystem: hcid. Starting network... udhcpc (v0.9.9-pre) started Dec 31 16:00:16 udhcpc[306]: udhcpc (v0.9.9-pre) started Nothing to flush. NET: Registered protocol family 17 cfio: module license 'unspecified' taints kernel. Before register driver After register driver Error for wireless request "Set ESSID" (8B1A) : SET failed on device mwlan0 ; No such device. Starting Rendezvous: NET: Registered protocol family 10 Mobile IPv6 Starting dropbear sshd: OK Starting httpd... Starting system message bus: done Welcome to the Gumstix Linux Distribution! gumstix login: root Password: Welcome to Gumstix! After staring the gumstix, when I say, ifconfig, I get this, as you can see that there is no IP Address assigned to eth0.# ifconfig eth0 Link encap:Ethernet HWaddr 02:00:00:00:2F:D0 inet6 addr: fe80::ff:fe00:2fd0/64 Scope:Link 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:131 Base address:0x2000 DMA chan:ff lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2696 (2.6 KiB) TX bytes:2696 (2.6KiB) when doing ifup eth0, I get eth0 link down. and ping does not connect to any remote host. Any ideas, on what could be the problem? Bad hardware? Tx Mayur Dave Hylands wrote: > > Hi Julien, > >> > What troubles me is that I still don't know how to configure the >> buildroot >> > correctly so that I can build the fs/kernel on my own...do I need to >> change >> > anything in the kernel makeconfig? >> >> To get the appropriate modules compiled: >> menuconfig > Device Drivers > Network Device Support > Ethernet (10 or >> 100Mbit) and everything selected except DM9000 support. >> I think "SMC 91C9X/91C1xxx support" can be disabled too. > > Ahhh - I knew I must have been missing something. (that I did - but > forgot about). > > I'll update the wiki page later today. > > -- > Dave Hylands > Vancouver, BC, Canada > http://www.DaveHylands.com/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/Question-on-Ethernet-eth0-not-working..-tf4629692.html#a13372116 Sent from the Gumstix mailing list archive at Nabble.com. |