Show Posts
|
|
Pages: [1]
|
|
1
|
Linux Stuff / General Linux questions / Re: Guruplug eth1 defective?
|
on: October 03, 2012, 04:44:12 AM
|
Hi, putting a 100MBit switch between the guruplug and the Gigabit switch doesn't change anything. root@johann:/home/matthias# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:50:43:01:8a:d2 inet addr:192.168.2.103 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::250:43ff:fe01:8ad2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:97 errors:0 dropped:0 overruns:0 frame:0 TX packets:105 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:10796 (10.5 KiB) TX bytes:16411 (16.0 KiB) Interrupt:11
root@johann:/home/matthias# ifconfig eth1 eth1: error fetching interface information: Device not found
Any ideas? mabe42.
|
|
|
|
|
2
|
Linux Stuff / General Linux questions / Re: Guruplug eth1 defective?
|
on: September 25, 2012, 02:38:58 AM
|
|
Hi,
at the moment, I don't have a 100MBit switch. Maybe in about a week. However, the ethernet chip is pretty cool now. But since Debian cannot find eth1 I suspect that some variable in u-boot is not correctly set or that (part of the) ethernet chip is already roasted,
mabe42.
|
|
|
|
|
3
|
Linux Stuff / General Linux questions / Guruplug eth1 defective?
|
on: September 22, 2012, 07:47:41 AM
|
Hi, I got my guruplug working using Debian 6 on the SD card and having a HD connected to ESATA. When using eth0 (connected to a gigabit switch) the plug reboots or freezes every now and then although I installed heatsinks and a fan on the chips (the board is remove from the original housing). Before finally throwing the guruplug into the bin I wanted to try if the same behaviour appears if I connect the network to eth1 instead of eth0. However, I cannot get eth1 working. Did I forget to set any additional variable in u-boot? Printenv shows: U-Boot 2011.12 (Mar 11 2012 - 18:53:15) Marvell-GuruPlug
SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 512 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1121 Initialized on egiga0 88E1121 Initialized on egiga1 Hit any key to stop autoboot: 0 Marvell>> printenv baudrate=115200 bootargs=console=ttyS0,115200 bootargs_console=console=ttyS0,115200 bootcmd=setenv bootargs $(bootargs_console); run bootcmd_usb; bootm 0x00800000 0 bootcmd1=usb start; sleep 3; ext2load usb 1:1 0x00800000 /uImage bootcmd2=sleep 3; ext2load usb 1:1 0x01100000 /uInitrd bootcmd_usb=usb start; ext2load usb 1:1 0x00800000 /uImage; ext2load usb 1:1 0xd bootdelay=3 eth1addr=00:50:43:01:8A:D3 ethact=egiga0 ethaddr=00:50:43:01:8A:D2 machid=a76 stderr=serial stdin=serial stdout=serial x_bootargs=console=ttyS0,115200 x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs x_bootcmd_ethernet=ping 192.168.2.1 x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000 x_bootcmd_usb=usb start
Environment size: 772/131068 bytes
(some lines are not shown complete. This is due to the terminal program.) However, Debian does not find eth1. During the boot process I get the following error: Failed to bring up eth1.
In my /etc/network/interfaces both eth0 and eth1 are defined. ifconfig eth0 gives a correct result while ifconfig eth1 results in an error: root@johann:/home/matthias# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:50:43:01:8a:d2 inet addr:192.168.2.103 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::250:43ff:fe01:8ad2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:27 errors:0 dropped:0 overruns:0 frame:0 TX packets:54 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2523 (2.4 KiB) TX bytes:9146 (8.9 KiB) Interrupt:11
root@johann:/home/matthias# ifconfig eth1 eth1: error fetching interface information: Device not found
uname -a shows: Linux johann 2.6.32-5-kirkwood #1 Sun May 6 16:57:51 UTC 2012 armv5tel GNU/Linux
Does anybody have an idea how I can activate eth1? Or is broken? Regards, mabe42.
|
|
|
|
|
4
|
Linux Stuff / Kernel / Re: Wrong kernel version? Boot kernel from USB Stick fails. (GP S+)
|
on: June 17, 2010, 11:56:40 PM
|
|
Thanks for pointing to this thread. I wasn't aware that this does not only apply to custom kernels but also to any other kernel, even the one from this site. So, I will start compiling my own kernel and try it with that or replace u-boot.
BTW, is there a way of making a backup of the factory-installed kernel?
Regards,
Matthias.
|
|
|
|
|
6
|
Linux Stuff / Kernel / Wrong kernel version? Boot kernel from USB Stick fails. (GP S+)
|
on: June 17, 2010, 04:28:18 AM
|
Hi there, I followed more or less the instructions from the thread about booting the Guruplug S+ from SD-Card http://plugcomputer.org/plugforum/index.php?topic=1642.0. I prepared a 100MB partition (fat) on the stick which holds all the uimage* files which I downloaded from the plugcomputer.org site. The second partition holds an ext3-partition with the rootfs. Booting from the kernel from nand and the rootfs from the stick works: U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21) Marvell-Plug2L
SoC: Kirkwood 88F6281_A0 DRAM: 512 MB NAND: 512 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1121 Initialized on egiga0 88E1121 Initialized on egiga1 Hit any key to stop autoboot: 0 Marvell>> printenv bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_boot; bootdelay=3 baudrate=115200 x_bootcmd_ethernet=ping 192.168.2.1 x_bootcmd_usb=usb start x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000 x_bootargs=console=ttyS0,115200 x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs ethact=egiga0 ethaddr=00:50:43:01:8A:D2 eth1addr=00:50:43:01:8A:D3 stdin=serial stdout=serial stderr=serial
Environment size: 549/131068 bytes Marvell>> setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; No link on egiga0 *** ERROR: `ipaddr' not set ping failed; host 192.168.2.1 is not alive *** ERROR: `ipaddr' not set ping failed; host 192.168.2.1 is not alive Marvell>> usb start (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 4 USB Device(s) found scanning bus for storage devices... Device NOT ready Request Sense returned 02 3A 00 2 Storage Device(s) found Marvell>> nand read.e 0x6400000 0x100000 0x400000
NAND read: device 0 offset 0x100000, size 0x400000 4194304 bytes read: OK Marvell>> setenv bootargs console=ttyS0,115200 root=0822 rootdelay=10 Marvell>> bootm 0x6400000 ## Booting kernel from Legacy Image at 06400000 ... Image Name: Linux-2.6.32-00007-g56678ec Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2789756 Bytes = 2.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK
Starting kernel ...
Uncompressing Linux... Linux version 2.6.32-00007-g56678ec (root@msi-linux-build.marvell.com) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33.fa1)) #0 However, booting both kernel and rootfs from the stick does not work: U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21) Marvell-Plug2L
SoC: Kirkwood 88F6281_A0 DRAM: 512 MB NAND: 512 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1121 Initialized on egiga0 88E1121 Initialized on egiga1 Hit any key to stop autoboot: 0 Marvell>> setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; No link on egiga0 *** ERROR: `ipaddr' not set ping failed; host 192.168.2.1 is not alive *** ERROR: `ipaddr' not set ping failed; host 192.168.2.1 is not alive Marvell>> usb start (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 4 USB Device(s) found scanning bus for storage devices... Device NOT ready Request Sense returned 02 3A 00 2 Storage Device(s) found Marvell>> setenv bootargs console=ttyS0,115200 root=0822 rootdelay=10 Marvell>> fatload usb 1:1 0x6400000 uimage-guruplug reading uimage-guruplug ...
2688588 bytes read Marvell>> bootm 0x6400000 ## Booting kernel from Legacy Image at 06400000 ... Image Name: Linux-2.6.33.2-00003-g4b82fc0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2688524 Bytes = 2.6 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel. As you can see, the kernel versions are different. I don't know if this is the problem, but I would like to test it with the same kernel that I have on the plug. Is there a way to copy the kernel from nand to a regular filesystem? I played around a bit and tried to mount mtd* or mtdblock* but I did not succeed. Any ideas? I would like to keep the current (shipped) u-boot and kernel, simply because I don't want to change several things at a time. Regards, Matthias.
|
|
|
|
|
7
|
General Category / General Discussion / Re: ehternet devices have no MAC
|
on: June 09, 2010, 11:39:42 PM
|
@err Here's my printenv: bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000; bootdelay=3 baudrate=115200 x_bootcmd_ethernet=ping 192.168.2.1 x_bootcmd_usb=usb start x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000 x_bootargs=console=ttyS0,115200 x_bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs ethact=egiga0 ethaddr=00:50:43:01:8A:XY eth1addr=00:50:43:01:8A:XZ stdin=serial stdout=serial stderr=serial Regards, Matthias.
|
|
|
|
|
8
|
General Category / General Discussion / Re: ehternet devices have no MAC
|
on: June 09, 2010, 01:54:33 AM
|
|
Chaotix, thanks for your advice. It works now for me, as well, when I boot the rootfs from SD. At the moment I want to stick to the original u-boot. Thus, this solution helped me. Perhaps later on, I might flash the u-boot mjain suggested.
Regards,
Matthias.
|
|
|
|
|
9
|
General Category / General Discussion / Re: Very slow write-speed on microSD (GuruServer+)
|
on: June 08, 2010, 01:04:12 AM
|
|
Hi Mimoza,
I had similar problems. Also 230V version, original u-boot and kernel. My write speed was about 100-150kB/s on a class 6 card.
When I wanted to try if it was the card or the guru, I plugged the card into different readers at various computers. However, I could not read it. I finally reformatted it. Now it's ext3. The write speed is in the range of some MB/s. I don't remember the exact value. Read speed is also ok. And I can read/write it with any other reader/computer combination that can handle ext3.
Regards,
Matthias.
|
|
|
|
|
10
|
General Category / General Discussion / Re: ehternet devices have no MAC
|
on: June 02, 2010, 07:42:59 AM
|
As an annex to my above post: My boot sequence from nand is: U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21) Marvell-Plug2L SoC: Kirkwood 88F6281_A0 DRAM: 512 MB NAND: 512 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1121 Initialized on egiga0 88E1121 Initialized on egiga1 Hit any key to stop autoboot: 0 *** ERROR: `ipaddr' not set ping failed; host 192.168.2.1 is not alive No link on egiga1 *** ERROR: `ipaddr' not set ping failed; host 192.168.2.1 is not alive (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... failed to set default configuration len 0, status 20 3 USB Device(s) found scanning bus for storage devices... Device NOT ready Request Sense returned 00 00 00 0 Storage Device(s) found NAND read: device 0 offset 0x100000, size 0x400000 4194304 bytes read: OK ## Booting kernel from Legacy Image at 06400000 ... Image Name: Linux-2.6.32-00007-g56678ec Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2789756 Bytes = 2.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux............................................................. Linux version 2.6.32-00007-g56678ec (root@msi-linux-build.marvell.com) (gcc ver0 #### deleted some stuff here ####
NET: Registered protocol family 16 Kirkwood: MV88F6281-A1, TCLK=200000000. #### deleted some stuff here #### NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) TCP reno registered NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. #### deleted some stuff here ####
MV-643xx 10/100/1000 ethernet driver version 1.4 mv643xx_eth smi: probed net eth0: port 0 with MAC address 00:50:43:01:8a:d2 net eth1: port 0 with MAC address 00:50:43:01:8a:d3 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver orion-ehci orion-ehci.0: Marvell Orion EHCI
#### deleted some stuff here ####
NET: Registered protocol family 17 lib80211: common routines for IEEE802.11 drivers
#### deleted some stuff here ####
Waiting for /dev to be fully populated...Bluetooth: Core ver 2.15 NET: Registered protocol family 31 #### deleted some stuff here ####
Cleaning up ifupdown.... Loading kernel modules...done. Checking file systems...fsck 1.41.3 (12-Oct-2008) done. Setting kernel variables (/etc/sysctl.conf)...done. Mounting local filesystems...done. Activating swapfile swap...done. Setting up networking.... Configuring network interfaces...done. Starting portmap daemon.... Setting console screen modes and fonts. cannot (un)set powersave mode Setting up ALSA...done (none loaded). INIT: Entering runlevel: 2 Starting enhanced syslogd: rsyslogd. Starting system message bus: dbus. Starting OpenBSD Secure Shell server: sshdNET: Registered protocol family 10 . Starting MySQL database server: mysqldkjournald starting. Commit interval 5 ses EXT3 FS on sdb1, internal journal EXT3-fs: mounted filesystem with writeback data mode. . Checking for corrupt, not cleanly closed and upgrade needing tables.. Starting MTA: exim4. ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system pos! Starting Network Interface Plugging Daemon:ADDRCONF(NETDEV_UP): eth0: link is ny eth0. Starting web server: lighttpd. Starting internet superserver: inetd. Starting Samba daemons: nmbdeth0: link up, 100 Mb/s, full duplex, flow control d ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready #### deleted some stuff here #### Debian GNU/Linux 5.0 sheevaplug-debian ttyS0 sheevaplug-debian login: root Password: Last login: Sun Jun 20 09:56:29 UTC 2004 from eisscholle on pts/0 Linux sheevaplug-debian 2.6.32-00007-g56678ec #1 PREEMPT Mon Feb 8 03:49:55 PSTl 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. sheevaplug-debian:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:50:43:01:8a:d2 inet addr:192.168.2.21 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::250:43ff:fe01:8ad2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1252 (1.2 KiB) TX bytes:1152 (1.1 KiB) Interrupt:11
|
|
|
|
|
11
|
General Category / General Discussion / Re: ehternet devices have no MAC
|
on: June 02, 2010, 07:42:16 AM
|
Hi, did you boot from nand? I have the same problem if I boot using a rootfs on the sd-card. (I followed these instructions: http://plugcomputer.org/plugforum/index.php?topic=1642.msg10489#msg10489) The MAC is in uboot. My boot sequence using the SD rootfs is: U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21) Marvell-Plug2L
SoC: Kirkwood 88F6281_A0 DRAM: 512 MB NAND: 512 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1121 Initialized on egiga0 88E1121 Initialized on egiga1 Hit any key to stop autoboot: 0 Marvell>> nand read.e 0x6400000 0x100000 0x400000 NAND read: device 0 offset 0x100000, size 0x400000 4194304 bytes read: OK Marvell>> setenv bootargs console=ttyS0,115200 root=0811 rootdelay=10 Marvell>> bootm 0x6400000 ## Booting kernel from Legacy Image at 06400000 ... Image Name: Linux-2.6.32-00007-g56678ec Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2789756 Bytes = 2.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux............................................................. Linux version 2.6.32-00007-g56678ec (root@msi-linux-build.marvell.com) (gcc ver0 #### deleted some stuff here ####
NET: Registered protocol family 16 Kirkwood: MV88F6281-A1, TCLK=200000000. #### deleted some stuff here ####
NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) TCP reno registered NET: Registered protocol family 1 #### deleted some stuff here ####
MV-643xx 10/100/1000 ethernet driver version 1.4 mv643xx_eth smi: probed net eth0: port 0 with MAC address 00:00:00:00:00:00 net eth1: port 0 with MAC address 00:00:00:00:00:00 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver orion-ehci orion-ehci.0: Marvell Orion EHCI #### deleted some stuff here ####
TCP cubic registered NET: Registered protocol family 17 lib80211: common routines for IEEE802.11 drivers #### deleted some stuff here ####
.udev/ already exists on the static /dev! (warning). Starting the hotplug events dispatcher: udevd. Synthesizing the initial hotplug events...done. Waiting for /dev to be fully populated...Bluetooth: Core ver 2.15 NET: Registered protocol family 31 #### deleted some stuff here ####
Cleaning up ifupdown.... Loading kernel modules...done. Checking file systems...fsck 1.41.3 (12-Oct-2008) done. Setting kernel variables (/etc/sysctl.conf)...done. Mounting local filesystems...done. Activating swapfile swap...done. Setting up networking.... Configuring network interfaces...Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on LPF/eth0/00:00:00:00:00:00 Sending on LPF/eth0/00:00:00:00:00:00 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 eth0: link up, 100 Mb/s, full duplex, flow control disabled DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16 DHCPOFFER from 192.168.2.1 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 192.168.2.1 bound to 192.168.2.25 -- renewal in 360869 seconds. done. #### deleted some stuff here ####
Starting Network Interface Plugging Daemon: eth0. Starting web server: lighttpd. Starting internet superserver: inetd. Starting Samba daemons: nmbd smbd. Starting file alteration monitor: FAM. Starting Hardware abstraction layer: hald. Starting periodic command scheduler: crond. uap_probe: vendor=0x02DF device=0x9104 class=0 function=1 uap_sdio mmc0:0001:1: firmware: requesting mrvl/helper_sd.bin uap_sdio mmc0:0001:1: firmware: requesting mrvl/sd8688_ap.bin UAP FW is active ADDRCONF(NETDEV_UP): uap0: link is not ready SSID setting successful BSS started! ip_tables: (C) 2000-2006 Netfilter Core Team nf_conntrack version 0.5.0 (8022 buckets, 32088 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. Starting very small DHCP server: udhcpd (v0.9.9-pre) started udhcpd. Starting DNS forwarder and DHCP server: dnsmasq. Can't get device info: No such device Can't get device info: No such device Traceback (most recent call last): File "/usr/bin/mute-agent", line 77, in <mo> , t ) _ ) r ) e ) g ) s Debian GNU/Linux 5.0 guru ttyS0 guru login:
However, I have no clue why this happens. If I boot from nand only, I get connected to my network via eth0 without problems. If I boot with SD rootfs I can't connect via eth0. Setting the MAC in dhclient.conf didn't help. Anybody any idea? Regards, Matthias.
|
|
|
|
|