[OS] Debian Jessie

Moderators: odroid, mdrjr

Re: [OS] Debian Jessie

Unread postby meveric » Sat Apr 08, 2017 5:08 am

tmihai20 wrote:I tried installing a newer 3.10 kernel on OMV based on Debian Jessie

What newer version?
HardKernel github is currently at Kernel 3.10.105 and so is the Kernel of this Debian Jessie image.
In fact I'm currently building a new 3.10 Kernel with the last two commits that happened since the last build of the Kernel.. there really isn't much going on.
Also question probably is where you got these "newer Kernels" from, cause that's probably the issue, installing Kernel that were not made for this image and simply conflict with the Kernels that are already installed.

tmihai20 wrote:and 4.9 kernel on the beta Ubuntu image.

As said before, the beta ubuntu image comes with its own repository for Kernels, just doing a regular system update will give you a newer Kernel, if available.

tmihai20 wrote:I mounted the boot partition on Debian Jessie, I remember that Ubuntu already had it mounted.

I think it's quite the opposite. On Debian bootfs is explicitly mounted to /boot/, while on Ubuntu it's not mounted and therefor autofs mounts it to /media/odroid/boot, or it's mounted to /media/boot, not quite sure, since I don't use Ubuntu.
Maybe you broke the update process with your "mounting" not quite sure.
But if you check /etc/fstab you'll find that boot (/dev/mmcblk0p1 should be mounted to /boot)
If you update to Kernel 4.9 you need to change /dev/mmcblk0p1 to UUID=<UUID-of-bootfs> since Kernel 4.9 does no longer always use /dev/mmcblk0p1 as the boot device.

tmihai20 wrote:I will use the latest available kernel for all of them for now, because I need it to be stable.

If you need stable, you shouldn't experiment with Kernels that were not made for the images you're using.. this will most likely cause issues and break the working update processes.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6787
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby chymian » Sat Apr 08, 2017 7:24 am

meveric wrote:please check http://oph.mdrjr.net/meveric/kernel/XU3/4.9.x/ there's already 4.9.20 available which should have a fix for eth interface.


same thing with the 4.9.20+
does not show usb bus 5 & 6 and therefore no eth0.
chymian
 
Posts: 2
Joined: Thu Jan 19, 2017 9:47 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby rooted » Sat Apr 08, 2017 8:36 am

chymian wrote:
meveric wrote:please check http://oph.mdrjr.net/meveric/kernel/XU3/4.9.x/ there's already 4.9.20 available which should have a fix for eth interface.


same thing with the 4.9.20+
does not show usb bus 5 & 6 and therefore no eth0.

Unplug the power cord and do a cold boot.

I'm running the latest from odroids git on Jessie and my Ethernet works fine, I posted a link to the debs i built in the Ubuntu beta thread if you want to give it a shot.

viewtopic.php?p=185544#p185544

If you try the kernel I link please don't ask for support in this thread.

Code: Select all
root@DietPi:~# uname -a
Linux DietPi 4.9.20 #2 SMP PREEMPT Wed Apr 5 00:21:42 CDT 2017 armv7l GNU/Linux
root@DietPi:~# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:1e:06:30:04:89
          inet addr:192.168.1.213  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17621697 errors:0 dropped:3 overruns:0 frame:0
          TX packets:4289689 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:303456814 (289.3 MiB)  TX bytes:343889625 (327.9 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:306 errors:0 dropped:0 overruns:0 frame:0
          TX packets:306 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:27760 (27.1 KiB)  TX bytes:27760 (27.1 KiB)

wlan0     Link encap:Ethernet  HWaddr 40:a5:ef:d5:28:68
          inet addr:192.168.42.1  Bcast:192.168.42.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4649251 errors:0 dropped:326 overruns:0 frame:0
          TX packets:17737013 errors:0 dropped:312 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:669973745 (638.9 MiB)  TX bytes:822181631 (784.0 MiB)

root@DietPi:~# dmesg | grep eth
[    1.602515] usbcore: registered new interface driver cdc_ether
[    3.561867] r8152 6-1:1.0 eth0: v2.08.0 (2016/12/09)
[    3.565370] r8152 6-1:1.0 eth0: This product is covered by one or more of the following patents:
[    6.627451] r8152 6-1:1.0 eth1: renamed from eth0
[    6.665816] systemd-udevd[314]: renamed network interface eth0 to eth1
[ 1060.640594] device eth1 entered promiscuous mode
[ 1060.641577] r8152 6-1:1.0 eth1: Promiscuous mode enabled
[ 1060.668007] device eth1 left promiscuous mode
[ 1079.305594] device eth1 entered promiscuous mode
[ 1079.305784] r8152 6-1:1.0 eth1: Promiscuous mode enabled
[ 1079.349057] device eth1 left promiscuous mode
root@DietPi:~#
User avatar
rooted
 
Posts: 3545
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sat Apr 08, 2017 1:00 pm

meveric wrote:
ChicoDeGoma wrote:My question was more if when mdrjr would decide to upgrade his Debian Version to 4.9

As far as I know mdrjr doesn't use Debian or provide Debian images, but I do.

Yes, sorry, I just mixed up things. I'm actually using your image (which is very nice)

meveric wrote:I don't plan to switch from 3.10 to 4.9 any time soon. 4.9 has still to many glitches it's nice as a server but not very good for entertainment and multimedia at the moment.

That awnsers my doubts. We are not in a rush so it is okay, but would be nice to see it in servers as "stable" soon.

meveric wrote:
ChicoDeGoma wrote: if we would have to do something special, as I understood as we won't need to, just with having 4.9 would be enough. Am I right?

I have a hard time understanding what you're trying to say.

Let's say you upgrade to 4.9 because is fixed. What we would have to do to use UAS beside upgrading the OS?
User avatar
ChicoDeGoma
 
Posts: 29
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Sat Apr 08, 2017 2:16 pm

ChicoDeGoma wrote:Let's say you upgrade to 4.9 because is fixed. What we would have to do to use UAS beside upgrading the OS?

as far as i know you only need a device that supports it, that's all
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6787
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby ChicoDeGoma » Sun Apr 09, 2017 12:43 am

meveric wrote:
ChicoDeGoma wrote:Let's say you upgrade to 4.9 because is fixed. What we would have to do to use UAS beside upgrading the OS?

as far as i know you only need a device that supports it, that's all

Perfect, thank you again for taking your time for replying.
User avatar
ChicoDeGoma
 
Posts: 29
Joined: Mon Mar 06, 2017 3:43 pm
languages_spoken: english
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby usr238 » Mon Apr 10, 2017 11:26 am

Image

Am really happy with this os.

The only problem I have with it is gimp shows blue brush icons and the color picker is blue. Is this easy to fix? Someone mentioned that it might be a transparency thing.
usr238
 
Posts: 3
Joined: Wed Mar 15, 2017 12:02 am
languages_spoken: english
ODROIDs: xu4

Re: [OS] Debian Jessie

Unread postby meveric » Mon Apr 10, 2017 5:21 pm

question is probably how you installed the desktop. You probably don't use the right framebuffer driver and GPU drivers.
Have you installed and configured xf86-video-armsoc-odroid and malit628-odroid? What desktop environment are you using?
You might want to try installing setup-odroid and choose to install a desktop from there, since it will setup desktop accordingly.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6787
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby tmihai20 » Tue Apr 11, 2017 5:11 pm

@meveric: I used the latest kernel available from your repository, but it was on OMV based Debian Jessie, not your Debian Jessie image (linux-image-3.10.96+_3.10.96-20160801-XU3_armhf.deb). I had OMV 2.x, I upgraded to OMV 3.x, based on Debian Jessie. I did not expect to have issues when installing a newer kernel. I guess the package you are preparing is not compatible with the OMV 3.x image.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)
tmihai20
 
Posts: 39
Joined: Mon Nov 07, 2016 10:56 pm
Location: Romania
languages_spoken: english, french, italian, romanian
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Tue Apr 11, 2017 9:00 pm

linux-image-3.10.96+ as well as the current version linux-image-3.10.105+ are build the same way. So the way the package are prepared haven't changed.
What changed is the code inside the Kernel, which I don't have control over, since this is provided by HardKernel.
Also you might want to describe what's not working. Saying "I didn't expect to have issues" doesn't explain what's going on.
Error messages, explanation what's no longer working, or some log files might be helpful for HardKernel or others in order to be able to help you, but saying "something causes an issue" is not very helpful as a description.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6787
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby tmihai20 » Tue Apr 11, 2017 11:50 pm

I know very well that i have to provide logs and the error message. I did not save it at the time and now I do not want to run tests again. I just wanted to know if installing it with dpkg is enough (and mounting the boot partition if it is not mounted on boot - as it is on OMV). I did a lot of tests then and I rebooted a lot of times, trying several times to install a newer kernel. When I will have those logs I will post them here.
Riddle me this, riddle me that
Who is afraid of the big, black bat?
I write (in Romanian mostly) on a blog (see my profile)
tmihai20
 
Posts: 39
Joined: Mon Nov 07, 2016 10:56 pm
Location: Romania
languages_spoken: english, french, italian, romanian
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Apr 12, 2017 12:31 am

tmihai20 wrote:I know very well that i have to provide logs and the error message. I did not save it at the time and now I do not want to run tests again. I just wanted to know if installing it with dpkg is enough (and mounting the boot partition if it is not mounted on boot - as it is on OMV). I did a lot of tests then and I rebooted a lot of times, trying several times to install a newer kernel. When I will have those logs I will post them here.

By default boot partition is mounted to /boot/ on this image. So there should be no mounting necessary. If you mounted it somewhere this might actually have caused an issue.
There is also no need to install any Kernel manually since you can simply use apt-get procedures to update the Kernel to it's latest version.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6787
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby rncwnd » Thu Apr 13, 2017 3:31 pm

Hi,

I have the same problem chymian has. I installed the kernel using the deb-package (4.9.20-29170409) but have no usb ports 5 and 6, therefore I'm also missing ethernet.
Tried everything that was mentioned here (cold boot - multiple times, udev-rule for max address, checked boot.ini, changed fstab to use block id for /boot in advance) but still no ethernet. That's the point where I get the feeling that I may have missed something very obvious :roll:
Do I have to load a specific module? Or may I have to blacklist one?

I read somewhere else in the forum about a specific dtb-file for the XU4, but the dtb-file contained in the package is named XU3. Should there be a different dtb-file?

Nevertheless, thank you meveric for all the time and effort you put into all the odroid development and optimization!
rncwnd
 
Posts: 7
Joined: Tue Apr 11, 2017 11:18 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Thu Apr 13, 2017 3:43 pm

rncwnd wrote:Hi,

I have the same problem chymian has. I installed the kernel using the deb-package (4.9.20-29170409) but have no usb ports 5 and 6, therefore I'm also missing ethernet.
Tried everything that was mentioned here (cold boot - multiple times, udev-rule for max address, checked boot.ini, changed fstab to use block id for /boot in advance) but still no ethernet. That's the point where I get the feeling that I may have missed something very obvious :roll:
Do I have to load a specific module? Or may I have to blacklist one?

Not that I know of the 4.9 Kernel is currently not stable yet, and it seems that is one of the more common issues.
Sadly I'm not sure what could be the issue, I've used both an XU3 and an XU4 for testing and both were working, so there shouldn't be anything to do.
I might be able to look into it, but currently Easter is around the corner and I'll be visiting my family for a few days and have limited access to my ODROIDs.

rncwnd wrote:I read somewhere else in the forum about a specific dtb-file for the XU4, but the dtb-file contained in the package is named XU3. Should there be a different dtb-file?

I don't think so. Other developers work on their own 4.9 branches and use there own dtb files to test things, therefore some developer have a XU4 and XU3 file, but HardKernel itself (which is the sources I use) only seem to use the XU3 file.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 6787
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby rncwnd » Thu Apr 13, 2017 5:31 pm

Thank you meveric.

Maybe I set up the toolset for building the kernel myself directly from github sources. But time is limited.
For now I'll return to the old kernel.
rncwnd
 
Posts: 7
Joined: Tue Apr 11, 2017 11:18 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby rooted » Thu Apr 13, 2017 11:28 pm

meveric wrote:I don't think so. Other developers work on their own 4.9 branches and use there own dtb files to test things, therefore some developer have a XU4 and XU3 file, but HardKernel itself (which is the sources I use) only seem to use the XU3 file.


The XU4 has a different DTB on 4.9.y

Here is mine if you want to see if the issue is the DTB.

https://db.tt/nGGDxiiNFq

md5sum: 879a31e062f25b12b68dd1c249eaf6b5
User avatar
rooted
 
Posts: 3545
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: [OS] Debian Jessie

Unread postby rncwnd » Sun Apr 16, 2017 7:21 pm

Thanks rooted, I already set up the tools to build a mainline kernel. Unfortunately after installing the kernel and making a cold boot my XU4 does absolutely nothing.
Maybe I also need to install the mainline uboot....
Being a bit greenish I'm trying to find my way. Building and installing a kernel on arm is a bit different and i didn't find a complete guide. Maybe I searched in the wrong places.

Nevertheless happy Easter to everybody.
rncwnd
 
Posts: 7
Joined: Tue Apr 11, 2017 11:18 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby rooted » Mon Apr 17, 2017 4:48 am

Happy Easter :)
User avatar
rooted
 
Posts: 3545
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1
C1+
C2
XU3 Lite
XU4
VU7+
HiFi Shield 2
Smart Power (original)

Re: [OS] Debian Jessie

Unread postby rncwnd » Wed Apr 19, 2017 12:18 am

To everybody interested in the solution to my problem:

After compiling and installing mainline kernel 4.9 I changed boot.ini to use the XU4-dtb. Somehow this modification was not persisted!
But after shutting down the XU4 and plugging power back in, nothing happened.

Today I checked boot.ini again on my notebook and my eyes fell out when I realized that it contained the XU3-dtb...
Now after changing boot.ini again (triple checked if it got saved this time), it's working.
rncwnd
 
Posts: 7
Joined: Tue Apr 11, 2017 11:18 pm
languages_spoken: english, german
ODROIDs: XU4

Re: [OS] Debian Jessie

Unread postby meveric » Wed Apr 19, 2017 12:40 am

next linux-image packages from me will have both xu3 and xu4 dtb files...

Just wished there was a way to determine on install if the board is a XU3 oder XU4 board :(
I'll have to check if I can find something.. maybe the audio jack or something.
User avatar
meveric
 
Posts: 6787
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby odroid » Wed Apr 19, 2017 10:50 am

We will check the feasibility of the automatic board detection in u-boot.
User avatar
odroid
Site Admin
 
Posts: 22335
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [OS] Debian Jessie

Unread postby meveric » Wed Apr 19, 2017 3:20 pm

odroid wrote:We will check the feasibility of the automatic board detection in u-boot.

If any /sys or /proc entry already can show if it's a XU3 or XU4 (probably due to missing or existing entries for one and not the other); a post-install script could easily replace the entry in the boot.ini for either XU3 or XU4 automatically.
User avatar
meveric
 
Posts: 6787
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [OS] Debian Jessie

Unread postby odroid » Wed Apr 19, 2017 4:10 pm

That idea should work.
But, if we can detect the board in u-boot command line, life will be easier. :)
User avatar
odroid
Site Admin
 
Posts: 22335
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Previous

Return to Other OS

Who is online

Users browsing this forum: No registered users and 2 guests