Talk:Debian Wheezy Instructions

From odroid US
Jump to: navigation, search

I/O errors?

I'm using the odroidu2-20130205-debian-wheezy-devel image on an SD card.

After running FIO benchmark I get I/O error and the root partition goes into read-only mode.

dmesg errors are: mmcblk0: timed out sending r/w cmd command, card status 0x400e00

Has anyone had this issue? Would using kernel 3.0.63 help? (Currently on 3.0.61)

FIO -> Thanks for all the great info. Littleguy (talk) 19:53, 21 February 2013 (EST)

Thanks for putting this together, I will start trying to bring fbcon up for an hdmi terminal.

IMHO little things to add:

apt-get install nupdate curl

Also we should set the mac adress text file after first boot:

and sometimes we hang:

[ 721.119278] kinteractiveup D c0514584 0 610 2 0x00000000 [ 721.125601] Backtrace: [ 721.128027] [<c0514354>] (__schedule+0x0/0x6d8) from [<c0514b88>] (schedule+0x50/0x68) [ 721.135934] [<c0514b38>] (schedule+0x0/0x68) from [<c00901fc>] (kthread+0x70/0x94) [ 721.143477] [<c009018c>] (kthread+0x0/0x94) from [<c0077c0c>] (do_exit+0x0/0x700) [ 721.150934] r6:c0077c0c r5:c009018c r4:eb02bf04 [ 721.155515] INFO: task kadaptiveup:611 blocked for more than 120 seconds. [ 721.162297] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 721.170109] kadaptiveup D c0514584 0 611 2 0x00000000 [ 721.176422] Backtrace: [ 721.178847] [<c0514354>] (__schedule+0x0/0x6d8) from [<c0514b88>] (schedule+0x50/0x68) [ 721.186755] [<c0514b38>] (schedule+0x0/0x68) from [<c00901fc>] (kthread+0x70/0x94) [ 721.194298] [<c009018c>] (kthread+0x0/0x94) from [<c0077c0c>] (do_exit+0x0/0x700) [ 721.201752] r6:c0077c0c r5:c009018c r4:eb02bf04

1/12/2013 osterluk

I added curl There is a new kernel build that fixes the scheduler issue, it is included with the SD-card image (3.0.57) I see that eth0 gets a macid, I added /etc/smsc95xx_mac_addr file and set permissions. If remains empty, but the driver seems to come up with a macid. I don't know what you mean by nupdate, I don't find a debian package for it.

Do we need a framebuffer driver? I posted debian-wheezy-3

1/13/2013 osterluk

odroidu2 only uses a supercap to backup the RTC. Plan to add ntp to fetch time from the network.

2/4/2013 osterluk

MAC address: I'm planning on plugging this portable thing headless into various DHCP networks, and thought I'd be able fping/arp the mac address to get the dynamic IP address it's pulled. I've now learned that it generates a new mac address at every boot. To give it a persistent mac address, edit /etc/network/interfaces, change mac as desired;

auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp hwaddress ether c2:c5:aa:9e:aa:58

After rebooting, from another machine I can get its IP via:

fping -q -c 1 -g arp -an | grep -i c2:c5:aa:9e:aa:58

I did look at ddclient to to publish the address, but it will on occasion be plugged into proxied/NAT'd networks and this would be problematic.

Locales: To fix the locale errors, eg. when running apt (change your locale to suit, of course) On the package configuration step, you can just select those you want. For example en_US.UTF-8 UTF-8

apt-get install locales
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales

Time: Change zoneinfo to suit;

apt-get install ntpdate
rm /etc/localtime
ln -s /usr/share/zoneinfo/US/Central /etc/localtime

2/26/2013 osterluk

Link to modifications to get GUI running: [1]

Here is another reference thread about mali graphics


3/25/2013 osterluk

TODO: add sshd to base image. The previous devel version had it -- need it for headless operation.

Check for high loadavg (see thread on forum)

Create 6.1 SD card image


Link to fix for non-working audio on XFCE:

= 5/12/2013

Add wifi support to base images