Lajos,

So, if you do not mind using Wheezy, just get a Wheezy image ( 7.8, or 7.9
), and use that as a base. Additionally, with Wheezy, you have the option
of disabling systemd easier if that is what you'd want. If not, then
systemd is running by default.

Anyway, these images do initially start with kerne 3.8.x, but upgrading is,
again, as easy as *sudo apt-get install <linux-image>*

On Fri, Feb 26, 2016 at 8:38 AM, lajos kamocsay <[email protected]>
wrote:

> I made a  4.1.18-bone-rt-r19 kernel:
>
> uname -a
> Linux beagle 4.1.18-bone-rt-r19 #1 Fri Feb 26 06:28:11 PST 2016 armv7l
> GNU/Linu
>
> Same thing is happening with this. systemd-udevd processes hog the cpu on
> boot until they time out and killed:
>
> top - 10:26:43 up 1 min,  1 user,  load average: 4.70, 1.29, 0.44
> Tasks:  84 total,  10 running,  74 sleeping,   0 stopped,   0 zombie
> %Cpu(s): 17.2 us, 82.2 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.7 si,
>  0.0 st
> KiB Mem:    507576 total,    93744 used,   413832 free,     8720 buffers
> KiB Swap:        0 total,        0 used,        0 free.    41208 cached
> Mem
>
>   PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
>
>
>
>   436 root      20   0   11364   2724   1900 R 11.8  0.5   0:05.05
> systemd-udevd
>
>
>   523 root      20   0   11364   2644   1820 R 11.8  0.5   0:05.04
> systemd-udevd
>
>
>   550 root      20   0   11364   2644   1820 R 11.8  0.5   0:05.02
> systemd-udevd
>
>
>   551 root      20   0   11364   2644   1820 R 11.8  0.5   0:05.01
> systemd-udevd
>
>
>   606 root      20   0   11364   2460   1636 R 11.8  0.5   0:04.99
> systemd-udevd
>
>
>   607 root      20   0   11364   2460   1636 R 11.8  0.5   0:04.98
> systemd-udevd
>
>
>   608 root      20   0   11364   2396   1572 R 11.8  0.5   0:04.97
> systemd-udevd
>
>
>   609 root      20   0   11364   2348   1524 R 11.8  0.5   0:04.96
> systemd-udevd
>
>
>     3 root      20   0       0      0      0 R  3.3  0.0   0:01.51
> ksoftirqd/0
>
>
>   655 lajos     20   0    4560   2040   1644 R  0.7  0.4   0:00.13 top
>
>
>
>     1 root      20   0    4520   3220   2128 S  0.0  0.6   0:04.10 systemd
>
>
>
>     2 root      20   0       0      0      0 S  0.0  0.0   0:00.00
> kthreadd
>
>
> On Thu, Feb 25, 2016 at 11:38 PM, William Hermans <[email protected]>
> wrote:
>
>> *Change: uname_r=4.3.6-bone5 to uname_r=4.1.12-bone-rt-r16*
>>>
>>
>> If you're not using the same kernel version I'm using the above is wrong.
>> So ask before rendering your system non bootable.
>>
>> On Thu, Feb 25, 2016 at 9:35 PM, William Hermans <[email protected]>
>> wrote:
>>
>>> How to Revert:
>>>
>>> william@beaglebone:~$ sudo nano /boot/uEnv.txt
>>>
>>> Change: uname_r=4.3.6-bone5 to uname_r=4.1.12-bone-rt-r16
>>>
>>> william@beaglebone:~$ sudo reboot
>>>
>>> william@beaglebone:~$ uname -r
>>> 4.1.12-bone-rt-r16
>>>
>>> william@beaglebone:~$ sudo apt-get remove --purge
>>> linux-image-4.3.6-bone5
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> The following packages will be REMOVED:
>>>   linux-image-4.3.6-bone5*
>>> 0 upgraded, 0 newly installed, 1 to remove and 45 not upgraded.
>>> After this operation, 66.8 MB disk space will be freed.
>>> . . .
>>> update-initramfs: Deleting /boot/initrd.img-4.3.6-bone5
>>> Purging configuration files for linux-image-4.3.6-bone5 ...
>>> dpkg: warning: while removing linux-image-4.3.6-bone5, directory
>>> '/lib/modules/4.3.6-bone5' not empty so not removed
>>> william@beaglebone:~$ sudo rm -rf /lib/modules/4.3.6-bone5
>>>
>>> william@beaglebone:~$ sudo apt-get remove --purge
>>> linux-image-4.2.5-bone2
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> The following packages will be REMOVED:
>>>   linux-image-4.2.5-bone2*
>>> 0 upgraded, 0 newly installed, 1 to remove and 45 not upgraded.
>>> After this operation, 65.5 MB disk space will be freed.
>>> . . .
>>> update-initramfs: Deleting /boot/initrd.img-4.2.5-bone2
>>> Purging configuration files for linux-image-4.2.5-bone2 ...
>>> dpkg: warning: while removing linux-image-4.2.5-bone2, directory
>>> '/lib/modules/4.2.5-bone2' not empty so not removed
>>> william@beaglebone:~$ sudo rm -rf /lib/modules/4.2.5-bone2
>>>
>>> william@beaglebone:~$ sudo apt-get remove --purge
>>> linux-image-4.4.2-bone-rt-r5
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> The following packages will be REMOVED:
>>>   linux-image-4.4.2-bone-rt-r5*
>>> 0 upgraded, 0 newly installed, 1 to remove and 45 not upgraded.
>>> After this operation, 70.4 MB disk space will be freed.
>>> . . .
>>> Removing linux-image-4.4.2-bone-rt-r5 ...
>>> update-initramfs: Deleting /boot/initrd.img-4.4.2-bone-rt-r5
>>> Purging configuration files for linux-image-4.4.2-bone-rt-r5 ...
>>> dpkg: warning: while removing linux-image-4.4.2-bone-rt-r5, directory
>>> '/lib/modules/4.4.2-bone-rt-r5' not empty so not removed
>>>
>>> william@beaglebone:~$ sudo rm -rf /lib/modules/4.4.2-bone-rt-r5
>>>
>>> On Thu, Feb 25, 2016 at 9:26 PM, William Hermans <[email protected]>
>>> wrote:
>>>
>>>> One other thing on the last kernel version. The USR LEDs do not seem
>>>> configured either. At least they do not blink at boot up, and confused me
>>>> into thinking the image was not booting . . .
>>>>
>>>> On Thu, Feb 25, 2016 at 9:22 PM, William Hermans <[email protected]>
>>>> wrote:
>>>>
>>>>> linux-image-4.3.6-bone5 -> Non functional. Notice that the output of
>>>>> dmesg mentions nothing of "bad pin configuration" such as output in 
>>>>> working
>>>>> kernels. e.g.
>>>>> [   56.304965] pruss_uio 4a300000.pruss: pins are not configured from
>>>>> the driver
>>>>>
>>>>> Workflow:
>>>>> william@beaglebone:~$ sudo apt-get install linux-image-4.3.6-bone5
>>>>> Reading package lists... Done
>>>>> Building dependency tree
>>>>> Reading state information... Done
>>>>> Suggested packages:
>>>>>   linux-firmware-image-4.3.6-bone5
>>>>> The following NEW packages will be installed:
>>>>>   linux-image-4.3.6-bone5
>>>>> 0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
>>>>> Need to get 26.7 MB of archives.
>>>>> After this operation, 66.8 MB of additional disk space will be used.
>>>>> . . .
>>>>> Unpacking linux-image-4.3.6-bone5 (from
>>>>> .../linux-image-4.3.6-bone5_1wheezy_armhf.deb) ...
>>>>> Setting up linux-image-4.3.6-bone5 (1wheezy) ...
>>>>> update-initramfs: Generating /boot/initrd.img-4.3.6-bone5
>>>>> zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=4.3.6-bone5]
>>>>>
>>>>> william@beaglebone:~$ sudo reboot
>>>>>
>>>>> william@beaglebone:~$ uname -r
>>>>> 4.3.6-bone5
>>>>> william@beaglebone:~$ sudo sh -c "echo 'pru_enable' >
>>>>> /sys/devices/platform/bone_capemgr/slots"
>>>>> william@beaglebone:~$ dmesg | grep pru
>>>>> [  113.299845] bone_capemgr bone_capemgr: part_number 'pru_enable',
>>>>> version 'N/A'
>>>>> [  113.319610] bone_capemgr bone_capemgr: slot #4: 'Override Board
>>>>> Name,00A0,Override Manuf,pru_enable'
>>>>> [  113.332465] bone_capemgr bone_capemgr: slot #4: dtbo
>>>>> 'pru_enable-00A0.dtbo' loaded; overlay id #0
>>>>> william@beaglebone:~$ lsmod |grep pru
>>>>> william@beaglebone:~$ lsmod
>>>>> Module                  Size  Used by
>>>>> bnep                   12909  2
>>>>> rfcomm                 52472  0
>>>>> bluetooth             399731  10 bnep,rfcomm
>>>>> nfsd                  217981  2
>>>>>
>>>>> On Thu, Feb 25, 2016 at 9:11 PM, William Hermans <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> linux-image-4.2.5-bone2 -> Functional
>>>>>>
>>>>>> william@beaglebone:~$ sudo apt-get install linux-image-4.2.5-bone2
>>>>>> Reading package lists... Done
>>>>>> Building dependency tree
>>>>>> Reading state information... Done
>>>>>> Suggested packages:
>>>>>>   linux-firmware-image-4.2.5-bone2
>>>>>> The following NEW packages will be installed:
>>>>>>   linux-image-4.2.5-bone2
>>>>>> 0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
>>>>>> Need to get 26.2 MB of archives.
>>>>>> After this operation, 65.5 MB of additional disk space will be used.
>>>>>> . . .
>>>>>> Unpacking linux-image-4.2.5-bone2 (from
>>>>>> .../linux-image-4.2.5-bone2_1wheezy_armhf.deb) ...
>>>>>> Setting up linux-image-4.2.5-bone2 (1wheezy) ...
>>>>>> update-initramfs: Generating /boot/initrd.img-4.2.5-bone2
>>>>>> zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=4.2.5-bone2]
>>>>>>
>>>>>> william@beaglebone:~$ sudo reboot
>>>>>>
>>>>>> william@beaglebone:~$ uname -r
>>>>>> 4.2.5-bone2
>>>>>> william@beaglebone:~$ sudo sh -c "echo 'pru_enable' >
>>>>>> /sys/devices/platform/bone_capemgr/slots"
>>>>>> william@beaglebone:~$ dmesg | grep pru
>>>>>> [   56.250528] bone_capemgr bone_capemgr: part_number 'pru_enable',
>>>>>> version 'N/A'
>>>>>> [   56.270616] bone_capemgr bone_capemgr: slot #4: 'Override Board
>>>>>> Name,00A0,Override Manuf,pru_enable'
>>>>>> [   56.293224] bone_capemgr bone_capemgr: slot #4: dtbo
>>>>>> 'pru_enable-00A0.dtbo' loaded; overlay id #1
>>>>>> [   56.304965] pruss_uio 4a300000.pruss: pins are not configured from
>>>>>> the driver
>>>>>> william@beaglebone:~$ lsmod |grep pru
>>>>>> uio_pruss               4244  0
>>>>>> uio                     8146  2 uio_pruss,uio_pdrv_genirq
>>>>>>
>>>>>> On Thu, Feb 25, 2016 at 9:02 PM, William Hermans <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> GIve me a few, I'll test both.
>>>>>>>
>>>>>>> On Thu, Feb 25, 2016 at 8:48 PM, Robert Nelson <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Feb 25, 2016 at 9:42 PM, William Hermans <[email protected]
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> BY the way . . . my workflow . . .
>>>>>>>>>
>>>>>>>>> william@beaglebone:~$ uname -r
>>>>>>>>> 4.1.12-bone-rt-r16
>>>>>>>>> william@beaglebone:~$ cat /etc/dogtag
>>>>>>>>> BeagleBoard.org Debian Image 2015-03-01
>>>>>>>>> ( Wheezy 7.8 )
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> william@beaglebone:~$ sudo apt-get update
>>>>>>>>> william@beaglebone:~$ apt-cache search linux-image-4 |grep bone-rt
>>>>>>>>> linux-image-4.0.8-bone-rt-r8 - Linux kernel, version
>>>>>>>>> 4.0.8-bone-rt-r8
>>>>>>>>> linux-image-4.1.10-bone-rt-r16 - Linux kernel, version
>>>>>>>>> 4.1.10-bone-rt-r16
>>>>>>>>> linux-image-4.1.11-bone-rt-r16 - Linux kernel, version
>>>>>>>>> 4.1.11-bone-rt-r16
>>>>>>>>> linux-image-4.1.12-bone-rt-r16 - Linux kernel, version
>>>>>>>>> 4.1.12-bone-rt-r16
>>>>>>>>> linux-image-4.1.13-bone-rt-r16 - Linux kernel, version
>>>>>>>>> 4.1.13-bone-rt-r16
>>>>>>>>> linux-image-4.1.13-bone-rt-r17 - Linux kernel, version
>>>>>>>>> 4.1.13-bone-rt-r17
>>>>>>>>> linux-image-4.1.14-bone-rt-r17 - Linux kernel, version
>>>>>>>>> 4.1.14-bone-rt-r17
>>>>>>>>> linux-image-4.1.15-bone-rt-r17 - Linux kernel, version
>>>>>>>>> 4.1.15-bone-rt-r17
>>>>>>>>> linux-image-4.1.15-bone-rt-r18 - Linux kernel, version
>>>>>>>>> 4.1.15-bone-rt-r18
>>>>>>>>> linux-image-4.1.16-bone-rt-r18 - Linux kernel, version
>>>>>>>>> 4.1.16-bone-rt-r18
>>>>>>>>> linux-image-4.1.17-bone-rt-r18 - Linux kernel, version
>>>>>>>>> 4.1.17-bone-rt-r18
>>>>>>>>> linux-image-4.1.17-bone-rt-r19 - Linux kernel, version
>>>>>>>>> 4.1.17-bone-rt-r19
>>>>>>>>> linux-image-4.1.18-bone-rt-r19 - Linux kernel, version
>>>>>>>>> 4.1.18-bone-rt-r19
>>>>>>>>> linux-image-4.1.3-bone-rt-r15 - Linux kernel, version
>>>>>>>>> 4.1.3-bone-rt-r15
>>>>>>>>> linux-image-4.1.5-bone-rt-r15 - Linux kernel, version
>>>>>>>>> 4.1.5-bone-rt-r15
>>>>>>>>> linux-image-4.1.7-bone-rt-r16 - Linux kernel, version
>>>>>>>>> 4.1.7-bone-rt-r16
>>>>>>>>> linux-image-4.1.8-bone-rt-r16 - Linux kernel, version
>>>>>>>>> 4.1.8-bone-rt-r16
>>>>>>>>> linux-image-4.1.9-bone-rt-r16 - Linux kernel, version
>>>>>>>>> 4.1.9-bone-rt-r16
>>>>>>>>> linux-image-4.4.0-bone-rt-r1 - Linux kernel, version
>>>>>>>>> 4.4.0-bone-rt-r1
>>>>>>>>> linux-image-4.4.0-bone-rt-r2 - Linux kernel, version
>>>>>>>>> 4.4.0-bone-rt-r2
>>>>>>>>> linux-image-4.4.0-bone-rt-r3 - Linux kernel, version
>>>>>>>>> 4.4.0-bone-rt-r3
>>>>>>>>> linux-image-4.4.0-rc8-bone-rt-r1 - Linux kernel, version
>>>>>>>>> 4.4.0-rc8-bone-rt-r1
>>>>>>>>> linux-image-4.4.1-bone-rt-r4 - Linux kernel, version
>>>>>>>>> 4.4.1-bone-rt-r4
>>>>>>>>> linux-image-4.4.1-bone-rt-r5 - Linux kernel, version
>>>>>>>>> 4.4.1-bone-rt-r5
>>>>>>>>> linux-image-4.4.2-bone-rt-r5 - Linux kernel, version
>>>>>>>>> 4.4.2-bone-rt-r5
>>>>>>>>>
>>>>>>>>> william@beaglebone:~$ sudo apt-get install
>>>>>>>>> linux-image-4.4.2-bone-rt-r5
>>>>>>>>> Reading package lists... Done
>>>>>>>>> Building dependency tree
>>>>>>>>> Reading state information... Done
>>>>>>>>> Suggested packages:
>>>>>>>>>   linux-firmware-image-4.4.2-bone-rt-r5
>>>>>>>>> The following NEW packages will be installed:
>>>>>>>>>   linux-image-4.4.2-bone-rt-r5
>>>>>>>>> 0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
>>>>>>>>> Need to get 27.6 MB of archives.
>>>>>>>>> After this operation, 70.4 MB of additional disk space will be
>>>>>>>>> used.
>>>>>>>>>
>>>>>>>>> . . .
>>>>>>>>>
>>>>>>>>> Unpacking linux-image-4.4.2-bone-rt-r5 (from
>>>>>>>>> .../linux-image-4.4.2-bone-rt-r5_1wheezy_armhf.deb) ...
>>>>>>>>> Setting up linux-image-4.4.2-bone-rt-r5 (1wheezy) ...
>>>>>>>>> update-initramfs: Generating /boot/initrd.img-4.4.2-bone-rt-r5
>>>>>>>>> zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=4.4.2-bone-rt-r5]
>>>>>>>>>
>>>>>>>>> william@beaglebone:~$ sudo reboot
>>>>>>>>>
>>>>>>>>> Broadcast message from root@beaglebone (pts/0) (Thu Feb 25
>>>>>>>>> 20:20:41 2016):
>>>>>>>>> The system is going down for reboot NOW!
>>>>>>>>> william@beaglebone:~$ Connection to 192.168.xxx.xxx closed by
>>>>>>>>> remote host.
>>>>>>>>> Connection to 192.168.xxx.xxx closed.
>>>>>>>>>
>>>>>>>>> william@eee-pc:~$ ssh [email protected]
>>>>>>>>> Debian GNU/Linux 7
>>>>>>>>>
>>>>>>>>> BeagleBoard.org Debian Image 2015-03-01
>>>>>>>>>
>>>>>>>>> Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
>>>>>>>>>
>>>>>>>>> default username:password is [debian:temppwd]
>>>>>>>>>
>>>>>>>>> [email protected]'s password:
>>>>>>>>> Last login: Mon Feb 22 12:59:23 2016 from 192.168.xxx.xxx
>>>>>>>>>
>>>>>>>>> william@beaglebone:~$ uname -r
>>>>>>>>> 4.4.2-bone-rt-r5
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Yeap, that looks right...  Yuck, something broke..
>>>>>>>>
>>>>>>>> Does it work with either of these? (last 4.3.x & last 4.2.x)
>>>>>>>>
>>>>>>>> linux-image-4.3.6-bone5
>>>>>>>> linux-image-4.2.5-bone2
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> --
>>>>>>>> Robert Nelson
>>>>>>>> https://rcn-ee.com/
>>>>>>>>
>>>>>>>> --
>>>>>>>> For more options, visit http://beagleboard.org/discuss
>>>>>>>> ---
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "BeagleBoard" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>> send an email to [email protected].
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "BeagleBoard" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/beagleboard/3iJ-J-x0-Ko/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to