Support ODroid X2 network after update

This forum is for supported devices using an ARMv7 Samsung SoC.

Support ODroid X2 network after update

Postby demslam » Thu Jan 02, 2014 7:16 am

Howdy,
I just installed Arch to my odroid X2 and really like it thank you.

I just update a fresh image and lost ethernet connection, thought that was odd. so i just reimaged the SD card and ran "dmesg | grep smsc" and got the below
$this->bbcode_second_pass_code('', '[ 6.745689] smsc95xx v1.0.4
[ 6.748368] [smsc95xx_read_mac_addr] The Random Generated MAC ID : "REDACTED"
[ 6.748427] [smsc95xx_read_mac_addr] Mac address = "REDACTED"
[ 6.793785] smsc95xx 1-2.1.1:1.0 eth0: register 'smsc95xx' at usb-s5p-ehci-2.1.1, smsc95xx USB 2.0 Ethernet, 42:c4:b4:f1:bd:ff
[ 6.793874] usbcore: registered new interface driver smsc95xx
[ 11.950139] smsc95xx 1-2.1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1')

ran "lsmod" and got the below
$this->bbcode_second_pass_code('', 'Module Size Used by
smsc95xx 19094 0
usbnet 21580 1 smsc95xx
gpio_keys 7070 0
ipv6 302996 16')

after the update "dmesg | grep smsc" and "lsmod" had no output. I tried "modprobe smsc95xx" that didnt seem to fix the problem, would anyone be able to give me some insight.

Thanks,
demslam
 
Posts: 1
Joined: Thu Jan 02, 2014 5:52 am

ODroid U2 image also affected

Postby renegat » Mon Jan 06, 2014 4:24 pm

Also affects the ODroid-U2 image!
No network after (!) updating a fresh alarm installation on new eMMC.
'Solved' it by mirroring a working mSDHC alarm: There are no problems with network after updating.
Odroid U3+ / U3 / U2 / C1+ / XU4 / HC1 / MC1
RPi 1B / 1B+ / 2B / 3B / Zero WH
renegat
 
Posts: 26
Joined: Sat Oct 12, 2013 1:56 pm

Re: Support ODroid X2 network after update

Postby 0lly » Wed Jan 08, 2014 3:48 pm

same here (U2) and i can't solve this.
I installed on mircosd-card, i don't have a eMMC.
0lly
 
Posts: 2
Joined: Wed Jan 08, 2014 3:42 pm

Re: Support ODroid X2 network after update

Postby kmihelich » Wed Jan 08, 2014 5:23 pm

You will want to add a line into /etc/fstab to mount the first partition of the SD card to /boot so that kernel updates actually put the kernel into the first partition where the bootloader will be looking for it:

$this->bbcode_second_pass_code('', '/dev/mmcblk0p1 /boot vfat defaults 0 0')

Otherwise, when you update the kernel and reboot, the older kernel that is still running doesn't have its modules in the filesystem anymore will fail to start network and other things because the network driver is a module. If you add this to an installation you've already updated and are in this situation without modules, mount /boot and reinstall the kernel package, which should still be in your package cache on the system and won't require internet. I'll add the fstab line into our installation images.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Support ODroid X2 network after update

Postby 0lly » Sat Jan 11, 2014 10:44 am

$this->bbcode_second_pass_quote('', '[')code]/dev/mmcblk0p1 /boot vfat defaults 0 0[/code]

Is not working
I have replaced the zImage in /boot on my Windowspc (extracted from linux-odroid-u2-3.8.13.14-1-armv7h.pkg.tar)
Now its working ;)
$this->bbcode_second_pass_code('', '
[root@OdroidU2 ~]# uname -a
Linux OdroidU2 3.8.13.14-1-ARCH #3 SMP PREEMPT Mon Dec 30 10:03:31 MST 2013 armv7l GNU/Linux
[root@OdroidU2 ~]# fdisk -l

Disk /dev/mmcblk0: 14,9 GiB, 15931539456 bytes, 31116288 sectors
Units: Sektoren of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Gerät Boot Start Ende Blocks Id System
/dev/mmcblk0p1 4096 135167 65536 83 Linux
/dev/mmcblk0p2 135168 7712767 3788800 83 Linux
[root@OdroidU2 ~]# lsmod
Module Size Used by
joydev 8680 0
smsc95xx 19094 0
usbnet 21580 1 smsc95xx
gpio_keys 7070 0
ipv6 303099 24
[root@OdroidU2 ~]# lsusb
Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 001 Device 003: ID 0424:3503 Standard Microsystems Corp.
Bus 001 Device 002: ID 0424:9730 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@OdroidU2 ~]# mount
/dev/mmcblk0p2 on / type ext4 (rw,relatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=904012k,nr_inodes=122534,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
')
0lly
 
Posts: 2
Joined: Wed Jan 08, 2014 3:42 pm


Return to Samsung

Who is online

Users browsing this forum: No registered users and 22 guests