All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai]  Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
@ 2012-08-08 14:43 Marcin Kuśka
  2012-08-08 16:44 ` Gilles Chanteperdrix
  2012-08-08 18:54 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 18+ messages in thread
From: Marcin Kuśka @ 2012-08-08 14:43 UTC (permalink / raw)
  To: xenomai

Hi

I'm compiling ipipe-linux (v 3.2.21) with xenomai 2.6.1 for versatile
express cortex-a9 using buildroot and the following message appears:

>>> xenomai 2.6.1 Extracting
bzcat /home/marcin/buildroot-2012.08-rc1/dl/xenomai-2.6.1.tar.bz2 | tar
--strip-components=1 -C
/home/marcin/buildroot-2012.08-rc1/output/build/xenomai-2.6.1  -xf -
>>> xenomai 2.6.1 Patching package//xenomai

Applying xenomai-do-not-install-devices.patch using patch:
patching file Makefile.in
Hunk #1 succeeded at 796 (offset 77 lines).

Applying xenomai-fix-lfs-issue.patch using patch:
patching file include/posix/sys/mman.h
Hunk #1 FAILED at 63.
Hunk #2 succeeded at 84 with fuzz 1 (offset 2 lines).
1 out of 2 hunks FAILED -- saving rejects to file
include/posix/sys/mman.h.rej
patching file include/posix/unistd.h
Hunk #1 FAILED at 54.
1 out of 1 hunk FAILED -- saving rejects to file include/posix/unistd.h.rej
Patch failed!  Please fix xenomai-fix-lfs-issue.patch!
make: ***
[/home/marcin/buildroot-2012.08-rc1/output/build/xenomai-2.6.1/.stamp_patched]
Error 1

What is that problem with lfs?

many thanks in advantage.

-- 
Marcin Kuśka

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-08-08 14:43 [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch Marcin Kuśka
@ 2012-08-08 16:44 ` Gilles Chanteperdrix
  2012-08-08 18:54 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 18+ messages in thread
From: Gilles Chanteperdrix @ 2012-08-08 16:44 UTC (permalink / raw)
  To: Marcin Kuśka; +Cc: xenomai

On 08/08/2012 04:43 PM, Marcin Kuśka wrote:
> Hi
> 
> I'm compiling ipipe-linux (v 3.2.21) with xenomai 2.6.1 for versatile
> express cortex-a9 using buildroot and the following message appears:

Your problem is with buildroot, buildroot patches are made for xenomai
2.6.0, so, the question is off-topic on xenomai mailing list.


-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-08-08 14:43 [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch Marcin Kuśka
  2012-08-08 16:44 ` Gilles Chanteperdrix
@ 2012-08-08 18:54 ` Gilles Chanteperdrix
  2012-08-21 14:05   ` Marcin Kuśka
  1 sibling, 1 reply; 18+ messages in thread
From: Gilles Chanteperdrix @ 2012-08-08 18:54 UTC (permalink / raw)
  To: Marcin Kuśka; +Cc: xenomai

On 08/08/2012 04:43 PM, Marcin Kuśka wrote:

> Hi
> 
> I'm compiling ipipe-linux (v 3.2.21) with xenomai 2.6.1 for versatile
> express cortex-a9 using buildroot and the following message appears:


BTW, have you considered contributing the patches you made for versatile
express cortex a9 ?

-- 
                                                                Gilles.



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-08-08 18:54 ` Gilles Chanteperdrix
@ 2012-08-21 14:05   ` Marcin Kuśka
  2012-08-21 14:16     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 18+ messages in thread
From: Marcin Kuśka @ 2012-08-21 14:05 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Sorry for no response.

I'm still struggling with running xenomai-patched-kernel image on versatile
express. As soon as i understand how i managed to make it working i will
post a solution.

regards,
Marcin Kuśka

2012/8/8 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>

> On 08/08/2012 04:43 PM, Marcin Kuśka wrote:
>
> > Hi
> >
> > I'm compiling ipipe-linux (v 3.2.21) with xenomai 2.6.1 for versatile
> > express cortex-a9 using buildroot and the following message appears:
>
>
> BTW, have you considered contributing the patches you made for versatile
> express cortex a9 ?
>
> --
>                                                                 Gilles.
>
>


-- 
Marcin Kuśka

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-08-21 14:05   ` Marcin Kuśka
@ 2012-08-21 14:16     ` Gilles Chanteperdrix
  2012-09-03 17:58       ` Marcin Kuśka
  0 siblings, 1 reply; 18+ messages in thread
From: Gilles Chanteperdrix @ 2012-08-21 14:16 UTC (permalink / raw)
  To: Marcin Kuśka; +Cc: xenomai

On 08/21/2012 04:05 PM, Marcin Kuśka wrote:
> Sorry for no response.
> 
> I'm still struggling with running xenomai-patched-kernel image on versatile
> express. As soon as i understand how i managed to make it working i will
> post a solution.

Maybe a patch review would help?

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-08-21 14:16     ` Gilles Chanteperdrix
@ 2012-09-03 17:58       ` Marcin Kuśka
  2012-09-03 18:04         ` Marcin Kuśka
  2012-09-03 18:24         ` Gilles Chanteperdrix
  0 siblings, 2 replies; 18+ messages in thread
From: Marcin Kuśka @ 2012-09-03 17:58 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

I used standard ipipe-core-3.2.21-arm-1.patch, I made no corrections to it.
I attache a my linux kernel defconfig. I used CodeSourcery 2012.03 to
compile it.

This is what I got through the console during booting and after running
latency test:

*V2P CA9 #bootm 0x8000
## Booting kernel from Legacy Image at 00008000 ...
   Image Name:   linux-3.2
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    48478028 Bytes = 46.2 MB
   Load Address: 60008000
   Entry Point:  60008000
   Loading Kernel Image ... OK
OK
ARM internal:: Moved kernel boot params from 0x00000100 to 0x60000100 to
match image header entry point 0x60008000

Starting kernel ...

Initializing cgroup subsys cpuset
Linux version 3.2.21-ipipe (marcin@simisc.EMEA) (gcc version 4.6.0
(crosstool-NG 1.16.0) ) #17 Mon Sep 3 18:15:11 CEST 2012
CPU: ARMv7 Processor [410fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ARM-Versatile Express
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writeback
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
Kernel command line: ip=dhcp earlyprintk console=ttyAMA0 mem=256M
reboot=soft
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 206236k/206236k available, 55908k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x90800000 - 0xf8000000   (1656 MB)
    lowmem  : 0x80000000 - 0x90000000   ( 256 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x805befec   (5852 kB)
      .init : 0x805bf000 - 0x82e0b000   (41264 kB)
      .data : 0x82e0c000 - 0x82e43728   ( 222 kB)
       .bss : 0x82e4374c - 0x83419120   (5975 kB)
NR_IRQS:128
I-pipe, 1.000 MHz clocksource
Interrupt pipeline (release #1)
Console: colour dummy device 80x30
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:  8
... MAX_LOCK_DEPTH:          48
... MAX_LOCKDEP_KEYS:        8191
... CLASSHASH_SIZE:          4096
... MAX_LOCKDEP_ENTRIES:     16384
... MAX_LOCKDEP_CHAINS:      32768
... CHAINHASH_SIZE:          16384
 memory used by lock dependency info: 3695 kB
 per task-struct memory footprint: 1152 bytes
kmemleak: Early log buffer exceeded, please increase
DEBUG_KMEMLEAK_EARLY_LOG_SIZE
kmemleak: Kernel memory leak detector disabled
ODEBUG: selftest passed
Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
NET: Registered protocol family 16
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410000c3, AUX_CTRL 0x02460000, Cache size: 524288 B
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
Serial: AMBA PL011 UART driver
mb:uart0: ttyAMA0 at MMIO 0x10009000 (irq = 37) is a PL011 rev2
console [ttyAMA0] enabled, bootconsole disabled
console [ttyAMA0] enabled, bootconsole disabled
mb:uart1: ttyAMA1 at MMIO 0x1000a000 (irq = 38) is a PL011 rev2
mb:uart2: ttyAMA2 at MMIO 0x1000b000 (irq = 39) is a PL011 rev2
mb:uart3: ttyAMA3 at MMIO 0x1000c000 (irq = 40) is a PL011 rev2
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.24.
Switching to clocksource ipipe_tsc
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 128 (order: 1, 10240 bytes)
UDP-Lite hash table entries: 128 (order: 1, 10240 bytes)
NET: Registered protocol family 1
I-pipe: head domain Xenomai registered.
Xenomai: hal/arm started.
Xenomai: scheduling class idle registered.
Xenomai: scheduling class rt registered.
Xenomai: real-time nucleus v2.6.1 (Light Years Away) loaded.
Xenomai: debug mode enabled.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
Xenomai: starting RTDM services.
JFFS2 version 2.2. (NAND) Š 2001-2006 Red Hat, Inc.
msgmni has been set to 402
io scheduler noop registered (default)
start plist test
end plist test
smsc911x: Driver version 2008-10-21
smsc911x-mdio: probed
smsc911x smsc911x: eth0: attached PHY driver [Generic PHY]
(mii_bus:phy_addr=ffffffff:01, irq=-1)
smsc911x smsc911x: eth0: MAC Address: 00:02:f7:00:40:9c
------------[ cut here ]------------
WARNING: at mm/slab.c:2264 kmem_cache_create+0x690/0x6dc()
Modules linked in:
[<80013fc4>] (unwind_backtrace+0x0/0x104) from [<80432938>]
(dump_stack+0x20/0x24)
[<80432938>] (dump_stack+0x20/0x24) from [<80027bec>]
(warn_slowpath_common+0x5c/0x74)
[<80027bec>] (warn_slowpath_common+0x5c/0x74) from [<80027c30>]
(warn_slowpath_null+0x2c/0x34)
[<80027c30>] (warn_slowpath_null+0x2c/0x34) from [<80162f10>]
(kmem_cache_create+0x690/0x6dc)
[<80162f10>] (kmem_cache_create+0x690/0x6dc) from [<805d3a34>]
(init_kmem_once+0x30/0xb4)
[<805d3a34>] (init_kmem_once+0x30/0xb4) from [<805d3ac8>]
(isp1760_init+0x10/0x30)
[<805d3ac8>] (isp1760_init+0x10/0x30) from [<800087cc>]
(do_one_initcall+0x48/0x1a0)
[<800087cc>] (do_one_initcall+0x48/0x1a0) from [<805bf94c>]
(kernel_init+0xc0/0x164)
[<805bf94c>] (kernel_init+0xc0/0x164) from [<8000f47c>]
(kernel_thread_exit+0x0/0x8)
---[ end trace debe15f42d5fcf56 ]---
isp1760 isp1760: NXP ISP1760 USB Host Controller
isp1760 isp1760: new USB bus registered, assigned bus number 1
isp1760 isp1760: bus width: 32, oc: digital
isp1760 isp1760: irq 48, io mem 0x4f000000
isp1760 isp1760: USB ISP 1761 HW rev. 1 started
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: NXP ISP1760 USB Host Controller
usb usb1: Manufacturer: Linux 3.2.21-ipipe isp1760-hcd
usb usb1: SerialNumber: isp1760
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ISP1760 USB device initialised
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mousedev: PS/2 mouse device common for all mice
rtc-pl031 mb:rtc: rtc core: registered pl031 as rtc0
isp1760 isp1760: port 1 high speed
mmci-pl18x mb:mmci: mmc0: PL180 manf 41 rev0 at 0x10005000 irq 41,42 (pio)
usb 1-1: new high-speed USB device number 2 using isp1760
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
isp1760 isp1760: port 1 high speed
usb 1-1: New USB device found, idVendor=0471, idProduct=3526
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: ISP1520
usb 1-1: Manufacturer: Philips Semiconductors
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 3 ports detected
aaci-pl041 mb:aaci: ARM AC'97 Interface PL041 rev0 at 0x10004000, irq 43
aaci-pl041 mb:aaci: FIFO 512 entries
atkbd serio0: keyboard reset failed on mb:kmi0
ALSA device list:
  #0: ARM AC'97 Interface PL041 rev0 at 0x10004000, irq 43
oprofile: using arm/armv7-ca9
TCP cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 0
rtc-pl031 mb:rtc: setting system clock to 1970-01-28 07:16:11 UTC (2358971)
smsc911x smsc911x: eth0: SMSC911x/921x identified at 0x90a60000, IRQ: 47
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.76.18.138
IP-Config: Complete:
     device=eth0, addr=10.76.18.138, mask=255.255.252.0, gw=10.76.16.1,
     host=10.76.18.138, domain=emea.home.ra-int.com, nis-domain=(none),
     bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
Freeing init memory: 41264K
atkbd serio1: keyboard reset failed on mb:kmi1

test01 login: root
Password:
login[430]: root login on 'ttyAMA0'
~ # /usr/xenomai/bin/latency
== Sampling period: 1000 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
RTT|  00:00:01  (periodic user-mode task, 1000 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat
worst
RTD|     61.000|     63.000|     74.000|       0|     0|     61.000|
74.000
RTD|     61.000|     63.000|     83.000|       0|     0|     61.000|
83.000
RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
83.000
RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
83.000
RTD|     61.000|     63.000|     79.000|       0|     0|     61.000|
83.000
RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
83.000
RTD|     61.000|     63.000|     86.000|       0|     0|     61.000|
86.000
RTD|     61.000|     63.000|     79.000|       0|     0|     61.000|
86.000
RTD|     61.000|     63.000|     78.000|       0|     0|     61.000|
86.000
RTD|     61.000|     63.000|     78.000|       0|     0|     61.000|
86.000
RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
86.000
RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
86.000
RTD|     61.000|     63.000|     78.000|       0|     0|     61.000|
86.000
RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
86.000
RTD|     61.000|     63.000|     81.000|       0|     0|     61.000|
86.000
---|-----------|-----------|-----------|--------|------|-------------------------
RTS|     61.000|     63.000|     86.000|       0|     0|
 00:00:15/00:00:15
~ #*

But when I try to run:

*/usr/xenomai/bin # ./xeno-test -l "dohell -s 192.168.0.5 -m /mnt -l" -t 2*

It ends up with segmentation fault or message "Unable to handle kernel
paging request at virtual address ... "

*Started child 440: /bin/sh /usr/xenomai/bin/xeno-test-run-wrapper
./xeno-test -t 2
+ echo 0
+ /usr/xenomai/bin/arith
mul: 0x79364d93, shft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
inlined llimd: 0x79364d9364d9362f: 3521.000 ns, rejected 15/10000
inlined llmulshft: 0x79364d92ffffffe1: 166.600 ns, rejected 9997/10000
inlined nodiv_llimd: 0x79364d9364d9362f: 333.300 ns, rejected 9994/10000
out of line calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
out of line llimd: 0x79364d9364d9362f: 3541.200 ns, rejected 10/10000
out of line llmulshft: 0x79364d92ffffffe1: 0.000 ns, rejected 9998/10000
out of line nodiv_llimd: 0x79364d9364d9362f: 300.000 ns, rejected 9995/10000

signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 666.600 ns, rejected 9997/10000
inlined llimd: 0x86c9b26c9b26c9d1: 3378.100 ns, rejected 19/10000
inlined llmulshft: 0x86c9b26d0000001e: 0.000 ns, rejected 9997/10000
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 83.400 ns, rejected 9996/10000
out of line calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
out of line llimd: 0x86c9b26c9b26c9d1: 3565.400 ns, rejected 12/10000
out of line llmulshft: 0x86c9b26d0000001e: 250.000 ns, rejected 9996/10000
out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 437.500 ns, rejected 9984/10000

unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 833.300 ns, rejected 9994/10000
inlined nodiv_ullimd: 0x79364d9364d9362f: -166.700 ns, rejected 9997/10000
out of line calibration: 0x0000000000000000: 666.600 ns, rejected 9997/10000
out of line nodiv_ullimd: 0x79364d9364d9362f: 83.400 ns, rejected 9996/10000
+ /usr/xenomai/bin/clocktest -C 42 -T 30
== Tested clock: 42 (CLOCK_HOST_REALTIME)
CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
--- -------------------- ---------------- ---------- --------------
  0                  2.0            0.000          0            0.0
+ /usr/xenomai/bin/switchtest -T 30
== Testing FPU check routines...
d0: 1 != 2
d1: 1 != 2
d2: 1 != 2
d3: 1 != 2
d4: 1 != 2
d5: 1 != 2
d6: 1 != 2
d7: 1 != 2
d8: 1 != 2
d9: 1 != 2
d10: 1 != 2
d11: 1 != 2
d12: 1 != 2
d13: 1 != 2
d14: 1 != 2
d15: 1 != 2
== FPU check routines: OK.
== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
rtk_fp_ufpp0-5 rtk_fp_ufppXenomai: suspending kernel thread 829210a8
('rtk2/0') at 0x8005bbc8 after exception #0x0
0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10 rtus0-11 rtus0-12
rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16 rtuo_ufpp0-17 rtuo_ufpp0-18
rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21 rtuo_ufpp_ufps0-22
Xenomai: RTDM: closing file descriptor 0.
Segmentation fault
*

Do you have any clues what might be the problem? Btw, the example
applications are working fine.


Marcin

2012/8/21 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>:
> On 08/21/2012 04:05 PM, Marcin Kuśka wrote:
>> Sorry for no response.
>>
>> I'm still struggling with running xenomai-patched-kernel image on
versatile
>> express. As soon as i understand how i managed to make it working i will
>> post a solution.
>
> Maybe a patch review would help?
>
> --
>                                             Gilles.



-- 
Marcin Kuśka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vexpress_cortex_a9_xenomai_defconfig
Type: application/octet-stream
Size: 44695 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20120903/4b672e92/attachment.obj>

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-03 17:58       ` Marcin Kuśka
@ 2012-09-03 18:04         ` Marcin Kuśka
  2012-09-03 19:24           ` Gilles Chanteperdrix
  2012-09-03 18:24         ` Gilles Chanteperdrix
  1 sibling, 1 reply; 18+ messages in thread
From: Marcin Kuśka @ 2012-09-03 18:04 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

This time i only changed the IP address and the result is different (maybe
that seg fault was caused by unreachable host):

*/usr/xenomai/bin # ./xeno-test -l "dohell -s xx.xx.xx.117 -m /mnt -l" -t 2
Started child 466: /bin/sh /usr/xenomai/bin/xeno-test-run-wrapper
./xeno-test -t 2
+ echo 0
+ /usr/xenomai/bin/arith
mul: 0x79364d93, shft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 666.600 ns, rejected 9997/10000
inlined llimd: 0x79364d9364d9362f: 3354.500 ns, rejected 20/10000
inlined llmulshft: 0x79364d92ffffffe1: -166.600 ns, rejected 9998/10000
inlined nodiv_llimd: 0x79364d9364d9362f: -166.600 ns, rejected 9998/10000
out of line calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
out of line llimd: 0x79364d9364d9362f: 3542.200 ns, rejected 10/10000
out of line llmulshft: 0x79364d92ffffffe1: 166.600 ns, rejected 9997/10000
out of line nodiv_llimd: 0x79364d9364d9362f: 166.600 ns, rejected 9997/10000

signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 800.000 ns, rejected 9995/10000
inlined llimd: 0x86c9b26c9b26c9d1: 3237.300 ns, rejected 16/10000
inlined llmulshft: 0x86c9b26d0000001e: 33.300 ns, rejected 9994/10000
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: -800.000 ns, rejected 9999/10000
out of line calibration: 0x0000000000000000: 750.000 ns, rejected 9996/10000
out of line llimd: 0x86c9b26c9b26c9d1: 3313.200 ns, rejected 11/10000
out of line llmulshft: 0x86c9b26d0000001e: 0.000 ns, rejected 9996/10000
out of line nodiv_llimd: 0x86c9b26c9b26c9d1: -83.400 ns, rejected 9997/10000

unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
inlined nodiv_ullimd: 0x79364d9364d9362f: 250.000 ns, rejected 9996/10000
out of line calibration: 0x0000000000000000: 666.600 ns, rejected 9997/10000
out of line nodiv_ullimd: 0x79364d9364d9362f: 270.900 ns, rejected
9984/10000
+ /usr/xenomai/bin/clocktest -C 42 -T 30
== Tested clock: 42 (CLOCK_HOST_REALTIME)
CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
--- -------------------- ---------------- ---------- --------------
  0                  3.0            0.000          0            0.0
+ /usr/xenomai/bin/switchtest -T 30
== Testing FPU check routines...
d0: 1 != 2
d1: 1 != 2
d2: 1 != 2
d3: 1 != 2
d4: 1 != 2
d5: 1 != 2
d6: 1 != 2
d7: 1 != 2
d8: 1 != 2
d9: 1 != 2
d10: 1 != 2
d11: 1 != 2
d12: 1 != 2
d13: 1 != 2
d14: 1 != 2
d15: 1 != 2
== FPU check routines: OK.
== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtupXenomai: suspending
kernel thread 82922908 ('rtk5/0') at 0x8005bbc8 after exception #0x0
_ufpp0-9 rtup_ufpp0-10 rtus0-11 rtus0-12 rtus_ufps0-13 rXenomai: zombie
thread rtk3/0 (829218c8) would not die...

 CPU  PID    PRI      TIMEOUT  STAT      NAME
   0  0       -1      0        00500088  ROOT
   0  471      0      0        00b00380  switchtest
   0  0        1      0        00004082  rtk1/0
   0  0        1      0        00004082  rtk2/0
>  0  0        1      0        00104080  rtk3/0
   0  0        1      0        00104082  rtk4/0
   0  0        1      0        00104081  rtk5/0
   0  0        1      0        00104082  rtk6/0
   0  475      1      0        00304182  rtup0-7
   0  476      1      0        00304182  rtup0-8
   0  477      1      0        00304182  rtup_ufpp0-9
   0  478      1      0        00304182  rtup_ufpp0-10
   0  479      1      0        00300380  rtus0-11
   0  480      1      0        00300380  rtus0-12
   0  481      1      0        00300380  rtus_ufps0-13
   0  482      1      0        00300380  rtus_ufps0-14
   0  483      1      0        00300380  rtuo0-15
   0  484      1      0        00300380  rtuo0-16
   0  485      1      0        00300380  rtuo_ufpp0-17
   0  486      1      0        00300380  rtuo_ufpp0-18
   0  487      1      0        00300380  rtuo_ufps0-19
   0  488      1      0        00300380  rtuo_ufps0-20
   0  489      1      0        00300380  rtuo_ufpp_ufps0-21
   0  490      1      0        00300380  rtuo_ufpp_ufps0-22
Master time base: clock=667017595
[<80013fc4>] (unwind_backtrace+0x0/0x104) from [<800125b0>]
(show_stack+0x20/0x24)
[<800125b0>] (show_stack+0x20/0x24) from [<800ad770>]
(__xnpod_schedule+0x8a8/0xc8c)
[<800ad770>] (__xnpod_schedule+0x8a8/0xc8c) from [<0000005e>] (0x5e)
I-pipe tracer log (100 points):
 |  # func                    0 ipipe_trace_panic_freeze+0x10
(__xnpod_schedule+0x860)
 |  # [   -1] -<?>-    1     -1 __xnpod_schedule+0x3e8 ()
 |  + begin   0x80000000     -2 xnsched_finish_unlocked_switch+0x118
(__xnpod_schedule+0x3c4)
    + func                   -3 xnsched_finish_unlocked_switch+0x10
(__xnpod_schedule+0x3c4)
 |  + end     0x80000000     -4 __ipipe_restore_head+0xb0
(__xnpod_schedule+0x564)
 |  # func                   -5 __ipipe_restore_head+0x10
(__xnpod_schedule+0x564)
 |  # func                   -7 xnsched_pick_next+0x10
(__xnpod_schedule+0x10c)
 |  # [  487] rtuo_uf -1     -8 __xnpod_schedule+0xa8
(xnpod_schedule_handler+0x40)
 |  # func                   -9 __xnpod_schedule+0x14
(xnpod_schedule_handler+0x40)
 |  # func                  -10 xnpod_schedule_handler+0x10
(__ipipe_do_sync_stage+0x144)
 |  + func                  -11 __ipipe_do_sync_stage+0x10
(__ipipe_do_sync_pipeline+0x78)
 |   +func                  -12 __ipipe_do_sync_pipeline+0x10
(__ipipe_restore_head+0xd4)
 |  *+func                  -12 __ipipe_restore_head+0x10
(rtdm_event_signal+0xec)
 |  *+func                  -14 __ipipe_set_irq_pending+0x10
(__ipipe_dispatch_irq_fast+0x14c)
 |  *+func                  -14 __ipipe_dispatch_irq_fast+0x10
(__ipipe_dispatch_irq+0xe4)
 |  *+func                  -15 __ipipe_dispatch_irq+0x10
(ipipe_raise_irq+0x30)
 |  *+func                  -16 ipipe_raise_irq+0x10
(__xnpod_schedule+0x7c8)
 |  *+func                  -17 __xnpod_schedule+0x14
(rtdm_event_signal+0x200)
 |  *+[   -1] -<?>-    1    -18 xnpod_resume_thread+0x70
(xnsynch_flush+0xb0)
 |  *+func                  -19 xnpod_resume_thread+0x14
(xnsynch_flush+0xb0)
 |  *+func                  -20 xnsynch_flush+0x14 (rtdm_event_signal+0x74)
 |   +begin   0x80000000    -21 rtdm_event_signal+0x1f4
(rtswitch_ioctl_nrt+0x380)
     +func                  -22 rtdm_event_signal+0x14
(rtswitch_ioctl_nrt+0x380)
     +func                  -23 rtswitch_ioctl_nrt+0x14
(__rt_dev_ioctl+0x74)
 |   +end     0x80000000    -23 __ipipe_restore_head+0xb0
(rtdm_context_get+0xb4)
 |  *+func                  -24 __ipipe_restore_head+0x10
(rtdm_context_get+0xb4)
 |   +begin   0x80000000    -26 rtdm_context_get+0x140 (__rt_dev_ioctl+0x38)
     +func                  -27 rtdm_context_get+0x14 (__rt_dev_ioctl+0x38)
     +func                  -27 __rt_dev_ioctl+0x18 (sys_rtdm_ioctl+0x38)
     +func                  -28 sys_rtdm_ioctl+0x10 (losyscall_event+0xd0)
     +func                  -29 losyscall_event+0x14
(ipipe_syscall_hook+0x40)
     +func                  -30 ipipe_syscall_hook+0x10
(__ipipe_notify_syscall+0x60)
 |   +end     0x80000001    -30 __ipipe_notify_syscall+0xfc
(__ipipe_syscall_root+0x68)
 |  + begin   0x80000001    -31 __ipipe_notify_syscall+0x110
(__ipipe_syscall_root+0x68)
    + func                  -32 debug_lockdep_rcu_enabled+0x10
(hisyscall_event+0xdc)
    + func                  -32 hisyscall_event+0x14
(ipipe_syscall_hook+0x40)
    + func                  -33 ipipe_syscall_hook+0x10
(__ipipe_notify_syscall+0x60)
 |  + end     0x80000001    -34 __ipipe_notify_syscall+0xfc
(__ipipe_syscall_root+0x68)
 |   +begin   0x80000001    -34 __ipipe_notify_syscall+0x14c
(__ipipe_syscall_root+0x68)
     +func                  -35 __ipipe_notify_syscall+0x14
(__ipipe_syscall_root+0x68)
     +func                  -36 __ipipe_syscall_root+0x10 (vector_swi+0x50)
 |   +func                  -37 __ipipe_check_root+0x10
(ret_from_exception+0x14)
 |   +func                  -38 __ipipe_notify_trap+0x14 (__und_usr+0x3c)
 |   +end     0x80000000    -40 __ipipe_syscall_root+0xc4 (vector_swi+0x50)
 |   +begin   0x80000000    -41 __ipipe_syscall_root+0x124 (vector_swi+0x50)
 |   +end     0x80000001    -41 __ipipe_notify_syscall+0x130
(__ipipe_syscall_root+0x68)
 |  + begin   0x80000001    -42 __ipipe_notify_syscall+0x110
(__ipipe_syscall_root+0x68)
    + func                  -43 xnarch_divrem_billion+0x14
(clock_gettime+0x7c)
    + func                  -44 xnarch_tsc_to_ns+0x10
(xnarch_get_cpu_time+0x24)
    + func                  -45 xnarch_get_cpu_time+0x10
(clock_gettime+0x68)
    + func                  -45 clock_gettime+0x14 (__clock_gettime+0x28)
    + func                  -46 __clock_gettime+0x14 (hisyscall_event+0x200)
    + func                  -47 debug_lockdep_rcu_enabled+0x10
(hisyscall_event+0xdc)
    + func                  -48 hisyscall_event+0x14
(ipipe_syscall_hook+0x40)
    + func                  -48 ipipe_syscall_hook+0x10
(__ipipe_notify_syscall+0x60)
 |  + end     0x80000001    -49 __ipipe_notify_syscall+0xfc
(__ipipe_syscall_root+0x68)
 |   +begin   0x80000001    -50 __ipipe_notify_syscall+0x14c
(__ipipe_syscall_root+0x68)
     +func                  -50 __ipipe_notify_syscall+0x14
(__ipipe_syscall_root+0x68)
     +func                  -51 __ipipe_syscall_root+0x10 (vector_swi+0x50)
 |   +end     0x80000000    -53 ipipe_unstall_root+0x54
(_raw_spin_unlock_irqrestore+0x4c)
 |   #func                  -54 ipipe_root_only+0x10
(ipipe_unstall_root+0x24)
 |   #begin   0x80000000    -55 ipipe_unstall_root+0x68
(_raw_spin_unlock_irqrestore+0x4c)
     #func                  -55 ipipe_unstall_root+0x10
(_raw_spin_unlock_irqrestore+0x4c)
 |   #end     0x80000001    -56 lock_release+0x150
(_raw_spin_unlock_irqrestore+0x2c)
 |   #begin   0x80000001    -57 lock_release+0x13c
(_raw_spin_unlock_irqrestore+0x2c)
     #func                  -57 _raw_spin_unlock_irqrestore+0x10
(free_object+0x98)
 |   #end     0x80000001    -58 lock_acquire+0xfc
(_raw_spin_lock_irqsave+0x70)
 |   #begin   0x80000001    -59 lock_acquire+0xe4
(_raw_spin_lock_irqsave+0x70)
 |   #end     0x80000001    -60 _raw_spin_lock_irqsave+0xa8
(free_object+0x1c)
 |   +begin   0x80000001    -60 _raw_spin_lock_irqsave+0x90
(free_object+0x1c)
     +func                  -61 _raw_spin_lock_irqsave+0x14
(free_object+0x1c)
 |   +end     0x80000000    -61 ipipe_unstall_root+0x54
(_raw_spin_unlock_irqrestore+0x4c)
 |   #func                  -62 ipipe_root_only+0x10
(ipipe_unstall_root+0x24)
 |   #begin   0x80000000    -63 ipipe_unstall_root+0x68
(_raw_spin_unlock_irqrestore+0x4c)
     #func                  -63 ipipe_unstall_root+0x10
(_raw_spin_unlock_irqrestore+0x4c)
 |   #end     0x80000001    -64 lock_release+0x150
(_raw_spin_unlock_irqrestore+0x2c)
 |   #begin   0x80000001    -65 lock_release+0x13c
(_raw_spin_unlock_irqrestore+0x2c)
     #func                  -65 _raw_spin_unlock_irqrestore+0x10
(debug_object_free+0xf8)
 |   #end     0x80000001    -67 lock_acquire+0xfc
(_raw_spin_lock_irqsave+0x70)
 |   #begin   0x80000001    -67 lock_acquire+0xe4
(_raw_spin_lock_irqsave+0x70)
 |   #end     0x80000001    -68 _raw_spin_lock_irqsave+0xa8
(debug_object_free+0x54)
 |   +begin   0x80000001    -68 _raw_spin_lock_irqsave+0x90
(debug_object_free+0x54)
     +func                  -69 _raw_spin_lock_irqsave+0x14
(debug_object_free+0x54)
     +func                  -70 destroy_hrtimer_on_stack+0x10
(hrtimer_nanosleep+0x100)
 |   +end     0x80000000    -71 ipipe_unstall_root+0x54
(_raw_spin_unlock_irqrestore+0x4c)
 |   #func                  -71 ipipe_root_only+0x10
(ipipe_unstall_root+0x24)
 |   #begin   0x80000000    -72 ipipe_unstall_root+0x68
(_raw_spin_unlock_irqrestore+0x4c)
     #func                  -72 ipipe_unstall_root+0x10
(_raw_spin_unlock_irqrestore+0x4c)
 |   #end     0x80000001    -73 lock_release+0x150
(_raw_spin_unlock_irqrestore+0x2c)
 |   #begin   0x80000001    -74 lock_release+0x13c
(_raw_spin_unlock_irqrestore+0x2c)
     #func                  -75 _raw_spin_unlock_irqrestore+0x10
(hrtimer_try_to_cancel+0x50)
 |   #end     0x80000001    -76 lock_acquire+0xfc
(_raw_spin_lock_irqsave+0x70)
 |   #begin   0x80000001    -76 lock_acquire+0xe4
(_raw_spin_lock_irqsave+0x70)
 |   #end     0x80000001    -77 _raw_spin_lock_irqsave+0xa8
(hrtimer_try_to_cancel+0x24)
 |   +begin   0x80000001    -78 _raw_spin_lock_irqsave+0x90
(hrtimer_try_to_cancel+0x24)
     +func                  -78 _raw_spin_lock_irqsave+0x14
(hrtimer_try_to_cancel+0x24)
     +func                  -79 hrtimer_try_to_cancel+0x10
(hrtimer_cancel+0x24)
     +func                  -80 hrtimer_cancel+0x10 (do_nanosleep+0xac)
 |   +end     0x80000000    -80 ipipe_unstall_root+0x54
(finish_task_switch.constprop.137+0x7c)
 |   #func                  -81 ipipe_root_only+0x10
(ipipe_unstall_root+0x24)*

And it stops here - no signs of life given.


Regards,

Marcin

2012/9/3 Marcin Kuśka <marckuska@gmail.com>

> I used standard ipipe-core-3.2.21-arm-1.patch, I made no corrections to
> it. I attache a my linux kernel defconfig. I used CodeSourcery 2012.03 to
> compile it.
>
> This is what I got through the console during booting and after running
> latency test:
>
> *V2P CA9 #bootm 0x8000
> ## Booting kernel from Legacy Image at 00008000 ...
>    Image Name:   linux-3.2
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    48478028 Bytes = 46.2 MB
>    Load Address: 60008000
>    Entry Point:  60008000
>    Loading Kernel Image ... OK
> OK
> ARM internal:: Moved kernel boot params from 0x00000100 to 0x60000100 to
> match image header entry point 0x60008000
>
> Starting kernel ...
>
> Initializing cgroup subsys cpuset
> Linux version 3.2.21-ipipe (marcin@simisc.EMEA) (gcc version 4.6.0
> (crosstool-NG 1.16.0) ) #17 Mon Sep 3 18:15:11 CEST 2012
> CPU: ARMv7 Processor [410fc091] revision 1 (ARMv7), cr=10c53c7d
> CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
> Machine: ARM-Versatile Express
> bootconsole [earlycon0] enabled
> Memory policy: ECC disabled, Data cache writeback
> sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
> Kernel command line: ip=dhcp earlyprintk console=ttyAMA0 mem=256M
> reboot=soft
> PID hash table entries: 1024 (order: 0, 4096 bytes)
> Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
> Memory: 256MB = 256MB total
> Memory: 206236k/206236k available, 55908k reserved, 0K highmem
> Virtual kernel memory layout:
>     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
>     vmalloc : 0x90800000 - 0xf8000000   (1656 MB)
>     lowmem  : 0x80000000 - 0x90000000   ( 256 MB)
>     modules : 0x7f000000 - 0x80000000   (  16 MB)
>       .text : 0x80008000 - 0x805befec   (5852 kB)
>       .init : 0x805bf000 - 0x82e0b000   (41264 kB)
>       .data : 0x82e0c000 - 0x82e43728   ( 222 kB)
>        .bss : 0x82e4374c - 0x83419120   (5975 kB)
> NR_IRQS:128
> I-pipe, 1.000 MHz clocksource
> Interrupt pipeline (release #1)
> Console: colour dummy device 80x30
> Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
> ... MAX_LOCKDEP_SUBCLASSES:  8
> ... MAX_LOCK_DEPTH:          48
> ... MAX_LOCKDEP_KEYS:        8191
> ... CLASSHASH_SIZE:          4096
> ... MAX_LOCKDEP_ENTRIES:     16384
> ... MAX_LOCKDEP_CHAINS:      32768
> ... CHAINHASH_SIZE:          16384
>  memory used by lock dependency info: 3695 kB
>  per task-struct memory footprint: 1152 bytes
> kmemleak: Early log buffer exceeded, please increase
> DEBUG_KMEMLEAK_EARLY_LOG_SIZE
> kmemleak: Kernel memory leak detector disabled
> ODEBUG: selftest passed
> Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
> pid_max: default: 32768 minimum: 301
> Mount-cache hash table entries: 512
> CPU: Testing write buffer coherency: ok
> hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters
> available
> NET: Registered protocol family 16
> L310 cache controller enabled
> l2x0: 8 ways, CACHE_ID 0x410000c3, AUX_CTRL 0x02460000, Cache size: 524288
> B
> hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
> hw-breakpoint: maximum watchpoint size is 4 bytes.
> Serial: AMBA PL011 UART driver
> mb:uart0: ttyAMA0 at MMIO 0x10009000 (irq = 37) is a PL011 rev2
> console [ttyAMA0] enabled, bootconsole disabled
> console [ttyAMA0] enabled, bootconsole disabled
> mb:uart1: ttyAMA1 at MMIO 0x1000a000 (irq = 38) is a PL011 rev2
> mb:uart2: ttyAMA2 at MMIO 0x1000b000 (irq = 39) is a PL011 rev2
> mb:uart3: ttyAMA3 at MMIO 0x1000c000 (irq = 40) is a PL011 rev2
> bio: create slab <bio-0> at 0
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> Advanced Linux Sound Architecture Driver Version 1.0.24.
> Switching to clocksource ipipe_tsc
> NET: Registered protocol family 2
> IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
> TCP established hash table entries: 8192 (order: 4, 65536 bytes)
> TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
> TCP: Hash tables configured (established 8192 bind 8192)
> TCP reno registered
> UDP hash table entries: 128 (order: 1, 10240 bytes)
> UDP-Lite hash table entries: 128 (order: 1, 10240 bytes)
> NET: Registered protocol family 1
> I-pipe: head domain Xenomai registered.
> Xenomai: hal/arm started.
> Xenomai: scheduling class idle registered.
> Xenomai: scheduling class rt registered.
> Xenomai: real-time nucleus v2.6.1 (Light Years Away) loaded.
> Xenomai: debug mode enabled.
> Xenomai: starting native API services.
> Xenomai: starting POSIX services.
> Xenomai: starting RTDM services.
> JFFS2 version 2.2. (NAND) Š 2001-2006 Red Hat, Inc.
> msgmni has been set to 402
> io scheduler noop registered (default)
> start plist test
> end plist test
> smsc911x: Driver version 2008-10-21
> smsc911x-mdio: probed
> smsc911x smsc911x: eth0: attached PHY driver [Generic PHY]
> (mii_bus:phy_addr=ffffffff:01, irq=-1)
> smsc911x smsc911x: eth0: MAC Address: 00:02:f7:00:40:9c
> ------------[ cut here ]------------
> WARNING: at mm/slab.c:2264 kmem_cache_create+0x690/0x6dc()
> Modules linked in:
> [<80013fc4>] (unwind_backtrace+0x0/0x104) from [<80432938>]
> (dump_stack+0x20/0x24)
> [<80432938>] (dump_stack+0x20/0x24) from [<80027bec>]
> (warn_slowpath_common+0x5c/0x74)
> [<80027bec>] (warn_slowpath_common+0x5c/0x74) from [<80027c30>]
> (warn_slowpath_null+0x2c/0x34)
> [<80027c30>] (warn_slowpath_null+0x2c/0x34) from [<80162f10>]
> (kmem_cache_create+0x690/0x6dc)
> [<80162f10>] (kmem_cache_create+0x690/0x6dc) from [<805d3a34>]
> (init_kmem_once+0x30/0xb4)
> [<805d3a34>] (init_kmem_once+0x30/0xb4) from [<805d3ac8>]
> (isp1760_init+0x10/0x30)
> [<805d3ac8>] (isp1760_init+0x10/0x30) from [<800087cc>]
> (do_one_initcall+0x48/0x1a0)
> [<800087cc>] (do_one_initcall+0x48/0x1a0) from [<805bf94c>]
> (kernel_init+0xc0/0x164)
> [<805bf94c>] (kernel_init+0xc0/0x164) from [<8000f47c>]
> (kernel_thread_exit+0x0/0x8)
> ---[ end trace debe15f42d5fcf56 ]---
> isp1760 isp1760: NXP ISP1760 USB Host Controller
> isp1760 isp1760: new USB bus registered, assigned bus number 1
> isp1760 isp1760: bus width: 32, oc: digital
> isp1760 isp1760: irq 48, io mem 0x4f000000
> isp1760 isp1760: USB ISP 1761 HW rev. 1 started
> usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
> usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb1: Product: NXP ISP1760 USB Host Controller
> usb usb1: Manufacturer: Linux 3.2.21-ipipe isp1760-hcd
> usb usb1: SerialNumber: isp1760
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 1 port detected
> ISP1760 USB device initialised
> Initializing USB Mass Storage driver...
> usbcore: registered new interface driver usb-storage
> USB Mass Storage support registered.
> mousedev: PS/2 mouse device common for all mice
> rtc-pl031 mb:rtc: rtc core: registered pl031 as rtc0
> isp1760 isp1760: port 1 high speed
> mmci-pl18x mb:mmci: mmc0: PL180 manf 41 rev0 at 0x10005000 irq 41,42 (pio)
> usb 1-1: new high-speed USB device number 2 using isp1760
> sdhci: Secure Digital Host Controller Interface driver
> sdhci: Copyright(c) Pierre Ossman
> sdhci-pltfm: SDHCI platform and OF driver helper
> isp1760 isp1760: port 1 high speed
> usb 1-1: New USB device found, idVendor=0471, idProduct=3526
> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> usb 1-1: Product: ISP1520
> usb 1-1: Manufacturer: Philips Semiconductors
> usbcore: registered new interface driver usbhid
> usbhid: USB HID core driver
> hub 1-1:1.0: USB hub found
> hub 1-1:1.0: 3 ports detected
> aaci-pl041 mb:aaci: ARM AC'97 Interface PL041 rev0 at 0x10004000, irq 43
> aaci-pl041 mb:aaci: FIFO 512 entries
> atkbd serio0: keyboard reset failed on mb:kmi0
> ALSA device list:
>   #0: ARM AC'97 Interface PL041 rev0 at 0x10004000, irq 43
> oprofile: using arm/armv7-ca9
> TCP cubic registered
> NET: Registered protocol family 17
> VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 0
> rtc-pl031 mb:rtc: setting system clock to 1970-01-28 07:16:11 UTC (2358971)
> smsc911x smsc911x: eth0: SMSC911x/921x identified at 0x90a60000, IRQ: 47
> Sending DHCP requests ., OK
> IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.76.18.138
> IP-Config: Complete:
>      device=eth0, addr=10.76.18.138, mask=255.255.252.0, gw=10.76.16.1,
>      host=10.76.18.138, domain=emea.home.ra-int.com, nis-domain=(none),
>      bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
> Freeing init memory: 41264K
> atkbd serio1: keyboard reset failed on mb:kmi1
>
> test01 login: root
> Password:
> login[430]: root login on 'ttyAMA0'
> ~ # /usr/xenomai/bin/latency
> == Sampling period: 1000 us
> == Test mode: periodic user-mode task
> == All results in microseconds
> warming up...
> RTT|  00:00:01  (periodic user-mode task, 1000 us period, priority 99)
> RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat
> worst
> RTD|     61.000|     63.000|     74.000|       0|     0|     61.000|
> 74.000
> RTD|     61.000|     63.000|     83.000|       0|     0|     61.000|
> 83.000
> RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
> 83.000
> RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
> 83.000
> RTD|     61.000|     63.000|     79.000|       0|     0|     61.000|
> 83.000
> RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
> 83.000
> RTD|     61.000|     63.000|     86.000|       0|     0|     61.000|
> 86.000
> RTD|     61.000|     63.000|     79.000|       0|     0|     61.000|
> 86.000
> RTD|     61.000|     63.000|     78.000|       0|     0|     61.000|
> 86.000
> RTD|     61.000|     63.000|     78.000|       0|     0|     61.000|
> 86.000
> RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
> 86.000
> RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
> 86.000
> RTD|     61.000|     63.000|     78.000|       0|     0|     61.000|
> 86.000
> RTD|     61.000|     63.000|     80.000|       0|     0|     61.000|
> 86.000
> RTD|     61.000|     63.000|     81.000|       0|     0|     61.000|
> 86.000
>
> ---|-----------|-----------|-----------|--------|------|-------------------------
> RTS|     61.000|     63.000|     86.000|       0|     0|
>  00:00:15/00:00:15
> ~ #*
>
> But when I try to run:
>
> */usr/xenomai/bin # ./xeno-test -l "dohell -s 192.168.0.5 -m /mnt -l" -t 2
> *
>
> It ends up with segmentation fault or message "Unable to handle kernel
> paging request at virtual address ... "
>
> *Started child 440: /bin/sh /usr/xenomai/bin/xeno-test-run-wrapper
> ./xeno-test -t 2
> + echo 0
> + /usr/xenomai/bin/arith
> mul: 0x79364d93, shft: 26
> integ: 30, frac: 0x4d9364d9364d9364
>
> signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
> inlined llimd: 0x79364d9364d9362f: 3521.000 ns, rejected 15/10000
> inlined llmulshft: 0x79364d92ffffffe1: 166.600 ns, rejected 9997/10000
> inlined nodiv_llimd: 0x79364d9364d9362f: 333.300 ns, rejected 9994/10000
> out of line calibration: 0x0000000000000000: 500.000 ns, rejected
> 9998/10000
> out of line llimd: 0x79364d9364d9362f: 3541.200 ns, rejected 10/10000
> out of line llmulshft: 0x79364d92ffffffe1: 0.000 ns, rejected 9998/10000
> out of line nodiv_llimd: 0x79364d9364d9362f: 300.000 ns, rejected
> 9995/10000
>
> signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 666.600 ns, rejected 9997/10000
> inlined llimd: 0x86c9b26c9b26c9d1: 3378.100 ns, rejected 19/10000
> inlined llmulshft: 0x86c9b26d0000001e: 0.000 ns, rejected 9997/10000
> inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 83.400 ns, rejected 9996/10000
> out of line calibration: 0x0000000000000000: 500.000 ns, rejected
> 9998/10000
> out of line llimd: 0x86c9b26c9b26c9d1: 3565.400 ns, rejected 12/10000
> out of line llmulshft: 0x86c9b26d0000001e: 250.000 ns, rejected 9996/10000
> out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 437.500 ns, rejected
> 9984/10000
>
> unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 833.300 ns, rejected 9994/10000
> inlined nodiv_ullimd: 0x79364d9364d9362f: -166.700 ns, rejected 9997/10000
> out of line calibration: 0x0000000000000000: 666.600 ns, rejected
> 9997/10000
> out of line nodiv_ullimd: 0x79364d9364d9362f: 83.400 ns, rejected
> 9996/10000
> + /usr/xenomai/bin/clocktest -C 42 -T 30
> == Tested clock: 42 (CLOCK_HOST_REALTIME)
> CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
> --- -------------------- ---------------- ---------- --------------
>   0                  2.0            0.000          0            0.0
> + /usr/xenomai/bin/switchtest -T 30
> == Testing FPU check routines...
> d0: 1 != 2
> d1: 1 != 2
> d2: 1 != 2
> d3: 1 != 2
> d4: 1 != 2
> d5: 1 != 2
> d6: 1 != 2
> d7: 1 != 2
> d8: 1 != 2
> d9: 1 != 2
> d10: 1 != 2
> d11: 1 != 2
> d12: 1 != 2
> d13: 1 != 2
> d14: 1 != 2
> d15: 1 != 2
> == FPU check routines: OK.
> == Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
> rtk_fp_ufpp0-5 rtk_fp_ufppXenomai: suspending kernel thread 829210a8
> ('rtk2/0') at 0x8005bbc8 after exception #0x0
> 0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10 rtus0-11 rtus0-12
> rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16 rtuo_ufpp0-17 rtuo_ufpp0-18
> rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21 rtuo_ufpp_ufps0-22
> Xenomai: RTDM: closing file descriptor 0.
> Segmentation fault
> *
>
> Do you have any clues what might be the problem? Btw, the example
> applications are working fine.
>
>
> Marcin
>
> 2012/8/21 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>:
>
> > On 08/21/2012 04:05 PM, Marcin Kuśka wrote:
> >> Sorry for no response.
> >>
> >> I'm still struggling with running xenomai-patched-kernel image on
> versatile
> >> express. As soon as i understand how i managed to make it working i will
> >> post a solution.
> >
> > Maybe a patch review would help?
> >
> > --
> >                                             Gilles.
>
>
>
> --
> Marcin Kuśka
>
>



-- 
Marcin Kuśka

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-03 17:58       ` Marcin Kuśka
  2012-09-03 18:04         ` Marcin Kuśka
@ 2012-09-03 18:24         ` Gilles Chanteperdrix
  1 sibling, 0 replies; 18+ messages in thread
From: Gilles Chanteperdrix @ 2012-09-03 18:24 UTC (permalink / raw)
  To: Marcin Kuśka; +Cc: xenomai

On 09/03/2012 07:58 PM, Marcin Kuśka wrote:

> I used standard ipipe-core-3.2.21-arm-1.patch, I made no corrections to it.


Then it can not work, at least in multi-processor mode. See:
http://www.xenomai.org/index.php/I-pipe-core:ArmPorting

> (...)

> I-pipe, 1.000 MHz clocksource


A Cortex-A9 (in MP mode) should use the "global timer" clock source,
somewhere around 400 MHz, given that your processor runs at 800 MHz, so,
you are definitely lacking some code.

> (...)

> smsc911x smsc911x: eth0: MAC Address: 00:02:f7:00:40:9c
> ------------[ cut here ]------------
> WARNING: at mm/slab.c:2264 kmem_cache_create+0x690/0x6dc()


I would investigate this first. This looks scary.

> worst
> RTD|     61.000|     63.000|     74.000|       0|     0|     61.000|
> 74.000


High latencies for a cortex-A9. Maybe you enabled all xenomai debug options?

> == FPU check routines: OK.
> == Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
> rtk_fp_ufpp0-5 rtk_fp_ufppXenomai: suspending kernel thread 829210a8
> ('rtk2/0') at 0x8005bbc8 after exception #0x0
> 0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10 rtus0-11 rtus0-12
> rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16 rtuo_ufpp0-17 rtuo_ufpp0-18
> rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21 rtuo_ufpp_ufps0-22
> Xenomai: RTDM: closing file descriptor 0.
> Segmentation fault
> *
> 
> Do you have any clues what might be the problem? Btw, the example
> applications are working fine.


Well without a disassembly of the faulting code and the values of the
the registers, we have no idea. Could you post your kernel configuration?

Also, if you have all Xenomai and I-pipe debug options enabled, could
you try disabling them?

-- 
                                                                Gilles.



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-03 18:04         ` Marcin Kuśka
@ 2012-09-03 19:24           ` Gilles Chanteperdrix
  2012-09-03 23:04             ` Marcin Kuśka
  0 siblings, 1 reply; 18+ messages in thread
From: Gilles Chanteperdrix @ 2012-09-03 19:24 UTC (permalink / raw)
  To: Marcin Kuśka; +Cc: xenomai

On 09/03/2012 08:04 PM, Marcin Kuśka wrote:

> This time i only changed the IP address and the result is different (maybe
> that seg fault was caused by unreachable host):
> 
> */usr/xenomai/bin # ./xeno-test -l "dohell -s xx.xx.xx.117 -m /mnt -l" -t 2
> Started child 466: /bin/sh /usr/xenomai/bin/xeno-test-run-wrapper
> ./xeno-test -t 2
> + echo 0
> + /usr/xenomai/bin/arith
> mul: 0x79364d93, shft: 26
> integ: 30, frac: 0x4d9364d9364d9364
> 
> signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 666.600 ns, rejected 9997/10000
> inlined llimd: 0x79364d9364d9362f: 3354.500 ns, rejected 20/10000
> inlined llmulshft: 0x79364d92ffffffe1: -166.600 ns, rejected 9998/10000
> inlined nodiv_llimd: 0x79364d9364d9362f: -166.600 ns, rejected 9998/10000
> out of line calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
> out of line llimd: 0x79364d9364d9362f: 3542.200 ns, rejected 10/10000
> out of line llmulshft: 0x79364d92ffffffe1: 166.600 ns, rejected 9997/10000
> out of line nodiv_llimd: 0x79364d9364d9362f: 166.600 ns, rejected 9997/10000
> 
> signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 800.000 ns, rejected 9995/10000
> inlined llimd: 0x86c9b26c9b26c9d1: 3237.300 ns, rejected 16/10000
> inlined llmulshft: 0x86c9b26d0000001e: 33.300 ns, rejected 9994/10000
> inlined nodiv_llimd: 0x86c9b26c9b26c9d1: -800.000 ns, rejected 9999/10000
> out of line calibration: 0x0000000000000000: 750.000 ns, rejected 9996/10000
> out of line llimd: 0x86c9b26c9b26c9d1: 3313.200 ns, rejected 11/10000
> out of line llmulshft: 0x86c9b26d0000001e: 0.000 ns, rejected 9996/10000
> out of line nodiv_llimd: 0x86c9b26c9b26c9d1: -83.400 ns, rejected 9997/10000
> 
> unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
> inline calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
> inlined nodiv_ullimd: 0x79364d9364d9362f: 250.000 ns, rejected 9996/10000
> out of line calibration: 0x0000000000000000: 666.600 ns, rejected 9997/10000
> out of line nodiv_ullimd: 0x79364d9364d9362f: 270.900 ns, rejected
> 9984/10000
> + /usr/xenomai/bin/clocktest -C 42 -T 30
> == Tested clock: 42 (CLOCK_HOST_REALTIME)
> CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
> --- -------------------- ---------------- ---------- --------------
>   0                  3.0            0.000          0            0.0
> + /usr/xenomai/bin/switchtest -T 30
> == Testing FPU check routines...
> d0: 1 != 2
> d1: 1 != 2
> d2: 1 != 2
> d3: 1 != 2
> d4: 1 != 2
> d5: 1 != 2
> d6: 1 != 2
> d7: 1 != 2
> d8: 1 != 2
> d9: 1 != 2
> d10: 1 != 2
> d11: 1 != 2
> d12: 1 != 2
> d13: 1 != 2
> d14: 1 != 2
> d15: 1 != 2
> == FPU check routines: OK.
> == Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
> rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup


> Xenomai: suspending kernel thread 82922908 ('rtk5/0') at 0x8005bbc8
after exception #0x0

This looks like the same bug as in the previous mail. We desperately
would like to know what is at 0x8005bbc8

> Xenomai: zombie thread rtk3/0 (829218c8) would not die...


That is another bug, probably due to some conflict between debug
options. Try disabling the debugs.

> (...)
> And it stops here - no signs of life given.


That is because the "zombie would not die" error is a fatal error. The
trace is due to the fact that you enabled the "panic back trace" option
(IPIPE_TRACE_PANIC).

-- 
                                                                Gilles.



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-03 19:24           ` Gilles Chanteperdrix
@ 2012-09-03 23:04             ` Marcin Kuśka
  2012-09-03 23:31               ` Gilles Chanteperdrix
  0 siblings, 1 reply; 18+ messages in thread
From: Marcin Kuśka @ 2012-09-03 23:04 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

> (...)

>
> > I-pipe, 1.000 MHz clocksource\
>

I was so concentrated on making work kernel on hardware that I somehow
ignored it.


> A Cortex-A9 (in MP mode) should use the "global timer" clock source,
>

That's good news because I decided to switch off SMP option and systems
works only with one CPU


>
> > smsc911x smsc911x: eth0: MAC Address: 00:02:f7:00:40:9c
> > ------------[ cut here ]------------
> > WARNING: at mm/slab.c:2264 kmem_cache_create+0x690/0x6dc()
>

> I would investigate this first. This looks scary.
>

What do you mean by investigate - try other options? SLUB e.g.?


> > worst
> > RTD|     61.000|     63.000|     74.000|       0|     0|     61.000|
> > 74.000
>
>
> High latencies for a cortex-A9. Maybe you enabled all xenomai debug
> options?


That's right - all debug options are on.


> > Xenomai: RTDM: closing file descriptor 0.
> > Segmentation fault
>
> Well without a disassembly of the faulting code and the values of the
> the registers, we have no idea. Could you post your kernel configuration?
>

I attached my kernel config with my previous mail, but here it is:


*#*
*# Automatically generated file; DO NOT EDIT.*
*# Linux/arm 3.2.21 Kernel Configuration*
*#*
*CONFIG_ARM=y*
*CONFIG_SYS_SUPPORTS_APM_EMULATION=y*
*CONFIG_HAVE_SCHED_CLOCK=y*
*CONFIG_GENERIC_TIME_VSYSCALL=y*
*# CONFIG_ARCH_USES_GETTIMEOFFSET is not set*
*CONFIG_GENERIC_CLOCKEVENTS=y*
*CONFIG_KTIME_SCALAR=y*
*CONFIG_HAVE_PROC_CPU=y*
*CONFIG_STACKTRACE_SUPPORT=y*
*CONFIG_HAVE_LATENCYTOP_SUPPORT=y*
*CONFIG_LOCKDEP_SUPPORT=y*
*CONFIG_TRACE_IRQFLAGS_SUPPORT=y*
*CONFIG_HARDIRQS_SW_RESEND=y*
*CONFIG_GENERIC_IRQ_PROBE=y*
*CONFIG_RWSEM_GENERIC_SPINLOCK=y*
*CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y*
*CONFIG_GENERIC_HWEIGHT=y*
*CONFIG_GENERIC_CALIBRATE_DELAY=y*
*CONFIG_NEED_DMA_MAP_STATE=y*
*CONFIG_VECTORS_BASE=0xffff0000*
*CONFIG_ARM_PATCH_PHYS_VIRT=y*
*CONFIG_GENERIC_BUG=y*
*CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"*
*CONFIG_HAVE_IRQ_WORK=y*
*CONFIG_IRQ_WORK=y*
*
*
*#*
*# General setup*
*#*
*CONFIG_EXPERIMENTAL=y*
*CONFIG_BROKEN_ON_SMP=y*
*CONFIG_INIT_ENV_ARG_LIMIT=32*
*CONFIG_CROSS_COMPILE="arm-cortex_a9-linux-gnueabi-"*
*CONFIG_LOCALVERSION="-ipipe"*
*# CONFIG_LOCALVERSION_AUTO is not set*
*CONFIG_HAVE_KERNEL_GZIP=y*
*CONFIG_HAVE_KERNEL_LZMA=y*
*CONFIG_HAVE_KERNEL_LZO=y*
*CONFIG_KERNEL_GZIP=y*
*# CONFIG_KERNEL_LZMA is not set*
*# CONFIG_KERNEL_LZO is not set*
*CONFIG_DEFAULT_HOSTNAME="MarcinKuska 0.0.2"*
*CONFIG_SWAP=y*
*CONFIG_SYSVIPC=y*
*CONFIG_SYSVIPC_SYSCTL=y*
*# CONFIG_POSIX_MQUEUE is not set*
*# CONFIG_BSD_PROCESS_ACCT is not set*
*# CONFIG_FHANDLE is not set*
*# CONFIG_TASKSTATS is not set*
*# CONFIG_AUDIT is not set*
*CONFIG_HAVE_GENERIC_HARDIRQS=y*
*
*
*#*
*# IRQ subsystem*
*#*
*CONFIG_GENERIC_HARDIRQS=y*
*CONFIG_HAVE_SPARSE_IRQ=y*
*CONFIG_GENERIC_IRQ_SHOW=y*
*CONFIG_IRQ_DOMAIN=y*
*# CONFIG_SPARSE_IRQ is not set*
*
*
*#*
*# RCU Subsystem*
*#*
*CONFIG_TINY_RCU=y*
*# CONFIG_PREEMPT_RCU is not set*
*# CONFIG_RCU_TRACE is not set*
*# CONFIG_TREE_RCU_TRACE is not set*
*CONFIG_IKCONFIG=y*
*CONFIG_IKCONFIG_PROC=y*
*CONFIG_LOG_BUF_SHIFT=14*
*CONFIG_CGROUPS=y*
*# CONFIG_CGROUP_DEBUG is not set*
*# CONFIG_CGROUP_FREEZER is not set*
*# CONFIG_CGROUP_DEVICE is not set*
*CONFIG_CPUSETS=y*
*CONFIG_PROC_PID_CPUSET=y*
*# CONFIG_CGROUP_CPUACCT is not set*
*# CONFIG_RESOURCE_COUNTERS is not set*
*# CONFIG_CGROUP_PERF is not set*
*# CONFIG_CGROUP_SCHED is not set*
*# CONFIG_BLK_CGROUP is not set*
*CONFIG_NAMESPACES=y*
*# CONFIG_UTS_NS is not set*
*# CONFIG_IPC_NS is not set*
*# CONFIG_USER_NS is not set*
*# CONFIG_PID_NS is not set*
*# CONFIG_NET_NS is not set*
*# CONFIG_SCHED_AUTOGROUP is not set*
*# CONFIG_SYSFS_DEPRECATED is not set*
*# CONFIG_RELAY is not set*
*CONFIG_BLK_DEV_INITRD=y*
*CONFIG_INITRAMFS_SOURCE="/home/marcin/arm/rootfs.cpio"*
*CONFIG_INITRAMFS_ROOT_UID=0*
*CONFIG_INITRAMFS_ROOT_GID=0*
*CONFIG_RD_GZIP=y*
*# CONFIG_RD_BZIP2 is not set*
*# CONFIG_RD_LZMA is not set*
*# CONFIG_RD_XZ is not set*
*# CONFIG_RD_LZO is not set*
*CONFIG_INITRAMFS_COMPRESSION_NONE=y*
*# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set*
*# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set*
*CONFIG_SYSCTL=y*
*CONFIG_ANON_INODES=y*
*CONFIG_EXPERT=y*
*CONFIG_UID16=y*
*# CONFIG_SYSCTL_SYSCALL is not set*
*CONFIG_KALLSYMS=y*
*CONFIG_KALLSYMS_ALL=y*
*CONFIG_HOTPLUG=y*
*CONFIG_PRINTK=y*
*CONFIG_BUG=y*
*CONFIG_ELF_CORE=y*
*CONFIG_BASE_FULL=y*
*CONFIG_FUTEX=y*
*CONFIG_EPOLL=y*
*CONFIG_SIGNALFD=y*
*CONFIG_TIMERFD=y*
*CONFIG_EVENTFD=y*
*CONFIG_SHMEM=y*
*CONFIG_AIO=y*
*CONFIG_EMBEDDED=y*
*CONFIG_HAVE_PERF_EVENTS=y*
*CONFIG_PERF_USE_VMALLOC=y*
*
*
*#*
*# Kernel Performance Events And Counters*
*#*
*CONFIG_PERF_EVENTS=y*
*# CONFIG_PERF_COUNTERS is not set*
*# CONFIG_DEBUG_PERF_USE_VMALLOC is not set*
*CONFIG_VM_EVENT_COUNTERS=y*
*CONFIG_COMPAT_BRK=y*
*CONFIG_SLAB=y*
*# CONFIG_SLUB is not set*
*# CONFIG_SLOB is not set*
*CONFIG_PROFILING=y*
*CONFIG_TRACEPOINTS=y*
*CONFIG_OPROFILE=y*
*CONFIG_HAVE_OPROFILE=y*
*# CONFIG_KPROBES is not set*
*CONFIG_HAVE_KPROBES=y*
*CONFIG_HAVE_KRETPROBES=y*
*CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y*
*CONFIG_HAVE_CLK=y*
*CONFIG_HAVE_DMA_API_DEBUG=y*
*CONFIG_HAVE_HW_BREAKPOINT=y*
*
*
*#*
*# GCOV-based kernel profiling*
*#*
*# CONFIG_GCOV_KERNEL is not set*
*CONFIG_HAVE_GENERIC_DMA_COHERENT=y*
*CONFIG_SLABINFO=y*
*CONFIG_RT_MUTEXES=y*
*CONFIG_BASE_SMALL=0*
*CONFIG_MODULES=y*
*# CONFIG_MODULE_FORCE_LOAD is not set*
*CONFIG_MODULE_UNLOAD=y*
*# CONFIG_MODULE_FORCE_UNLOAD is not set*
*# CONFIG_MODVERSIONS is not set*
*# CONFIG_MODULE_SRCVERSION_ALL is not set*
*CONFIG_BLOCK=y*
*# CONFIG_LBDAF is not set*
*# CONFIG_BLK_DEV_BSG is not set*
*# CONFIG_BLK_DEV_BSGLIB is not set*
*# CONFIG_BLK_DEV_INTEGRITY is not set*
*
*
*#*
*# IO Schedulers*
*#*
*CONFIG_IOSCHED_NOOP=y*
*# CONFIG_IOSCHED_DEADLINE is not set*
*# CONFIG_IOSCHED_CFQ is not set*
*CONFIG_DEFAULT_NOOP=y*
*CONFIG_DEFAULT_IOSCHED="noop"*
*# CONFIG_INLINE_SPIN_TRYLOCK is not set*
*# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set*
*# CONFIG_INLINE_SPIN_LOCK is not set*
*# CONFIG_INLINE_SPIN_LOCK_BH is not set*
*# CONFIG_INLINE_SPIN_LOCK_IRQ is not set*
*# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set*
*# CONFIG_INLINE_SPIN_UNLOCK is not set*
*# CONFIG_INLINE_SPIN_UNLOCK_BH is not set*
*# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set*
*# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set*
*# CONFIG_INLINE_READ_TRYLOCK is not set*
*# CONFIG_INLINE_READ_LOCK is not set*
*# CONFIG_INLINE_READ_LOCK_BH is not set*
*# CONFIG_INLINE_READ_LOCK_IRQ is not set*
*# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set*
*# CONFIG_INLINE_READ_UNLOCK is not set*
*# CONFIG_INLINE_READ_UNLOCK_BH is not set*
*# CONFIG_INLINE_READ_UNLOCK_IRQ is not set*
*# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set*
*# CONFIG_INLINE_WRITE_TRYLOCK is not set*
*# CONFIG_INLINE_WRITE_LOCK is not set*
*# CONFIG_INLINE_WRITE_LOCK_BH is not set*
*# CONFIG_INLINE_WRITE_LOCK_IRQ is not set*
*# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set*
*# CONFIG_INLINE_WRITE_UNLOCK is not set*
*# CONFIG_INLINE_WRITE_UNLOCK_BH is not set*
*# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set*
*# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set*
*# CONFIG_MUTEX_SPIN_ON_OWNER is not set*
*
*
*#*
*# Real-time sub-system*
*#*
*CONFIG_XENOMAI=y*
*CONFIG_XENO_GENERIC_STACKPOOL=y*
*CONFIG_XENO_FASTSYNCH_DEP=y*
*CONFIG_XENO_FASTSYNCH=y*
*CONFIG_XENO_OPT_NUCLEUS=y*
*CONFIG_XENO_OPT_PERVASIVE=y*
*# CONFIG_XENO_OPT_PRIOCPL is not set*
*CONFIG_XENO_OPT_PIPELINE_HEAD=y*
*# CONFIG_XENO_OPT_SCHED_CLASSES is not set*
*CONFIG_XENO_OPT_PIPE=y*
*CONFIG_XENO_OPT_VFILE=y*
*CONFIG_XENO_OPT_PIPE_NRDEV=32*
*CONFIG_XENO_OPT_REGISTRY_NRSLOTS=512*
*CONFIG_XENO_OPT_SYS_HEAPSZ=256*
*CONFIG_XENO_OPT_SYS_STACKPOOLSZ=128*
*CONFIG_XENO_OPT_SEM_HEAPSZ=12*
*CONFIG_XENO_OPT_GLOBAL_SEM_HEAPSZ=12*
*CONFIG_XENO_OPT_STATS=y*
*CONFIG_XENO_OPT_DEBUG=y*
*# CONFIG_XENO_OPT_DEBUG_NUCLEUS is not set*
*CONFIG_XENO_OPT_DEBUG_XNLOCK=y*
*# CONFIG_XENO_OPT_DEBUG_QUEUES is not set*
*# CONFIG_XENO_OPT_DEBUG_REGISTRY is not set*
*# CONFIG_XENO_OPT_DEBUG_TIMERS is not set*
*CONFIG_XENO_OPT_DEBUG_SYNCH_RELAX=y*
*CONFIG_XENO_OPT_WATCHDOG=y*
*CONFIG_XENO_OPT_WATCHDOG_TIMEOUT=4*
*# CONFIG_XENO_OPT_SHIRQ is not set*
*CONFIG_XENO_OPT_SELECT=y*
*CONFIG_XENO_OPT_HOSTRT=y*
*
*
*#*
*# Timing*
*#*
*# CONFIG_XENO_OPT_TIMING_PERIODIC is not set*
*CONFIG_XENO_OPT_TIMING_VIRTICK=1000*
*CONFIG_XENO_OPT_TIMING_SCHEDLAT=0*
*
*
*#*
*# Scalability*
*#*
*# CONFIG_XENO_OPT_SCALABLE_SCHED is not set*
*CONFIG_XENO_OPT_TIMER_LIST=y*
*# CONFIG_XENO_OPT_TIMER_HEAP is not set*
*# CONFIG_XENO_OPT_TIMER_WHEEL is not set*
*
*
*#*
*# Machine*
*#*
*CONFIG_IPIPE_WANT_PREEMPTIBLE_SWITCH=y*
*CONFIG_XENO_HW_FPU=y*
*CONFIG_XENO_HW_UNLOCKED_SWITCH=y*
*
*
*#*
*# Interfaces*
*#*
*CONFIG_XENO_SKIN_NATIVE=y*
*CONFIG_XENO_OPT_NATIVE_PERIOD=0*
*CONFIG_XENO_OPT_NATIVE_PIPE=y*
*CONFIG_XENO_OPT_NATIVE_PIPE_BUFSZ=1024*
*CONFIG_XENO_OPT_NATIVE_SEM=y*
*CONFIG_XENO_OPT_NATIVE_EVENT=y*
*CONFIG_XENO_OPT_NATIVE_MUTEX=y*
*CONFIG_XENO_OPT_NATIVE_COND=y*
*CONFIG_XENO_OPT_NATIVE_QUEUE=y*
*CONFIG_XENO_OPT_NATIVE_BUFFER=y*
*CONFIG_XENO_OPT_NATIVE_HEAP=y*
*CONFIG_XENO_OPT_NATIVE_ALARM=y*
*CONFIG_XENO_OPT_NATIVE_MPS=y*
*# CONFIG_XENO_OPT_NATIVE_INTR is not set*
*CONFIG_XENO_OPT_DEBUG_NATIVE=y*
*CONFIG_XENO_SKIN_POSIX=y*
*CONFIG_XENO_OPT_POSIX_PERIOD=0*
*# CONFIG_XENO_OPT_POSIX_SHM is not set*
*# CONFIG_XENO_OPT_POSIX_INTR is not set*
*CONFIG_XENO_OPT_POSIX_SELECT=y*
*CONFIG_XENO_OPT_DEBUG_POSIX=y*
*# CONFIG_XENO_SKIN_PSOS is not set*
*# CONFIG_XENO_SKIN_UITRON is not set*
*# CONFIG_XENO_SKIN_VRTX is not set*
*# CONFIG_XENO_SKIN_VXWORKS is not set*
*# CONFIG_XENO_OPT_NOWARN_DEPRECATED is not set*
*CONFIG_XENO_SKIN_RTDM=y*
*CONFIG_XENO_OPT_RTDM_PERIOD=0*
*CONFIG_XENO_OPT_RTDM_FILDES=128*
*CONFIG_XENO_OPT_RTDM_SELECT=y*
*# CONFIG_XENO_OPT_DEBUG_RTDM is not set*
*CONFIG_XENO_OPT_DEBUG_RTDM_APPL=y*
*
*
*#*
*# Drivers*
*#*
*
*
*#*
*# Serial drivers*
*#*
*# CONFIG_XENO_DRIVERS_16550A is not set*
*
*
*#*
*# Testing drivers*
*#*
*CONFIG_XENO_DRIVERS_TIMERBENCH=y*
*# CONFIG_XENO_DRIVERS_KLATENCY is not set*
*# CONFIG_XENO_DRIVERS_IRQBENCH is not set*
*CONFIG_XENO_DRIVERS_SWITCHTEST=y*
*# CONFIG_XENO_DRIVERS_RTDMTEST is not set*
*
*
*#*
*# CAN drivers*
*#*
*# CONFIG_XENO_DRIVERS_CAN is not set*
*
*
*#*
*# ANALOGY drivers*
*#*
*# CONFIG_XENO_DRIVERS_ANALOGY is not set*
*
*
*#*
*# Real-time IPC drivers*
*#*
*# CONFIG_XENO_DRIVERS_RTIPC is not set*
*CONFIG_FREEZER=y*
*
*
*#*
*# System Type*
*#*
*CONFIG_MMU=y*
*# CONFIG_ARCH_INTEGRATOR is not set*
*# CONFIG_ARCH_REALVIEW is not set*
*# CONFIG_ARCH_VERSATILE is not set*
*CONFIG_ARCH_VEXPRESS=y*
*# CONFIG_ARCH_AT91 is not set*
*# CONFIG_ARCH_BCMRING is not set*
*# CONFIG_ARCH_HIGHBANK is not set*
*# CONFIG_ARCH_CLPS711X is not set*
*# CONFIG_ARCH_CNS3XXX is not set*
*# CONFIG_ARCH_GEMINI is not set*
*# CONFIG_ARCH_PRIMA2 is not set*
*# CONFIG_ARCH_EBSA110 is not set*
*# CONFIG_ARCH_EP93XX is not set*
*# CONFIG_ARCH_FOOTBRIDGE is not set*
*# CONFIG_ARCH_MXC is not set*
*# CONFIG_ARCH_MXS is not set*
*# CONFIG_ARCH_NETX is not set*
*# CONFIG_ARCH_H720X is not set*
*# CONFIG_ARCH_IOP13XX is not set*
*# CONFIG_ARCH_IOP32X is not set*
*# CONFIG_ARCH_IOP33X is not set*
*# CONFIG_ARCH_IXP23XX is not set*
*# CONFIG_ARCH_IXP2000 is not set*
*# CONFIG_ARCH_IXP4XX is not set*
*# CONFIG_ARCH_DOVE is not set*
*# CONFIG_ARCH_KIRKWOOD is not set*
*# CONFIG_ARCH_LPC32XX is not set*
*# CONFIG_ARCH_MV78XX0 is not set*
*# CONFIG_ARCH_ORION5X is not set*
*# CONFIG_ARCH_MMP is not set*
*# CONFIG_ARCH_KS8695 is not set*
*# CONFIG_ARCH_W90X900 is not set*
*# CONFIG_ARCH_TEGRA is not set*
*# CONFIG_ARCH_PICOXCELL is not set*
*# CONFIG_ARCH_PNX4008 is not set*
*# CONFIG_ARCH_PXA is not set*
*# CONFIG_ARCH_MSM is not set*
*# CONFIG_ARCH_SHMOBILE is not set*
*# CONFIG_ARCH_RPC is not set*
*# CONFIG_ARCH_SA1100 is not set*
*# CONFIG_ARCH_S3C2410 is not set*
*# CONFIG_ARCH_S3C64XX is not set*
*# CONFIG_ARCH_S5P64X0 is not set*
*# CONFIG_ARCH_S5PC100 is not set*
*# CONFIG_ARCH_S5PV210 is not set*
*# CONFIG_ARCH_EXYNOS is not set*
*# CONFIG_ARCH_SHARK is not set*
*# CONFIG_ARCH_TCC_926 is not set*
*# CONFIG_ARCH_U300 is not set*
*# CONFIG_ARCH_U8500 is not set*
*# CONFIG_ARCH_NOMADIK is not set*
*# CONFIG_ARCH_DAVINCI is not set*
*# CONFIG_ARCH_OMAP is not set*
*# CONFIG_PLAT_SPEAR is not set*
*# CONFIG_ARCH_VT8500 is not set*
*# CONFIG_ARCH_ZYNQ is not set*
*
*
*#*
*# System MMU*
*#*
*
*
*#*
*# Versatile Express platform type*
*#*
*CONFIG_ARCH_VEXPRESS_CA9X4=y*
*CONFIG_PLAT_VERSATILE_CLCD=y*
*CONFIG_PLAT_VERSATILE_SCHED_CLOCK=y*
*CONFIG_PLAT_VERSATILE=y*
*CONFIG_ARM_TIMER_SP804=y*
*CONFIG_IPIPE_ARM_KUSER_TSC=y*
*
*
*#*
*# Processor Type*
*#*
*CONFIG_CPU_V7=y*
*CONFIG_CPU_32v6K=y*
*CONFIG_CPU_32v7=y*
*CONFIG_CPU_ABRT_EV7=y*
*CONFIG_CPU_PABRT_V7=y*
*CONFIG_CPU_CACHE_V7=y*
*CONFIG_CPU_CACHE_VIPT=y*
*CONFIG_CPU_COPY_V6=y*
*CONFIG_CPU_TLB_V7=y*
*CONFIG_CPU_HAS_ASID=y*
*CONFIG_CPU_CP15=y*
*CONFIG_CPU_CP15_MMU=y*
*CONFIG_CPU_USE_DOMAINS=y*
*
*
*#*
*# Processor Features*
*#*
*CONFIG_ARM_THUMB=y*
*# CONFIG_ARM_THUMBEE is not set*
*# CONFIG_CPU_ICACHE_DISABLE is not set*
*# CONFIG_CPU_DCACHE_DISABLE is not set*
*# CONFIG_CPU_BPREDICT_DISABLE is not set*
*CONFIG_OUTER_CACHE=y*
*CONFIG_OUTER_CACHE_SYNC=y*
*CONFIG_CACHE_L2X0=y*
*CONFIG_CACHE_PL310=y*
*CONFIG_ARM_L1_CACHE_SHIFT=5*
*CONFIG_ARM_DMA_MEM_BUFFERABLE=y*
*CONFIG_CPU_HAS_PMU=y*
*# CONFIG_ARM_ERRATA_430973 is not set*
*# CONFIG_ARM_ERRATA_458693 is not set*
*# CONFIG_ARM_ERRATA_460075 is not set*
*# CONFIG_PL310_ERRATA_588369 is not set*
*CONFIG_ARM_ERRATA_720789=y*
*# CONFIG_PL310_ERRATA_727915 is not set*
*# CONFIG_ARM_ERRATA_743622 is not set*
*CONFIG_ARM_ERRATA_751472=y*
*# CONFIG_PL310_ERRATA_753970 is not set*
*# CONFIG_ARM_ERRATA_754322 is not set*
*# CONFIG_PL310_ERRATA_769419 is not set*
*CONFIG_ARM_GIC=y*
*CONFIG_ICST=y*
*
*
*#*
*# Bus support*
*#*
*CONFIG_ARM_AMBA=y*
*# CONFIG_PCI_SYSCALL is not set*
*# CONFIG_ARCH_SUPPORTS_MSI is not set*
*# CONFIG_PCCARD is not set*
*
*
*#*
*# Kernel Features*
*#*
*CONFIG_TICK_ONESHOT=y*
*# CONFIG_NO_HZ is not set*
*CONFIG_HIGH_RES_TIMERS=y*
*CONFIG_GENERIC_CLOCKEVENTS_BUILD=y*
*# CONFIG_SMP is not set*
*# CONFIG_VMSPLIT_3G is not set*
*CONFIG_VMSPLIT_2G=y*
*# CONFIG_VMSPLIT_1G is not set*
*CONFIG_PAGE_OFFSET=0x80000000*
*CONFIG_IPIPE=y*
*CONFIG_IPIPE_CORE=y*
*CONFIG_IPIPE_LEGACY=y*
*CONFIG_IPIPE_HAVE_HOSTRT=y*
*CONFIG_IPIPE_DELAYED_ATOMICSW=y*
*CONFIG_PREEMPT_NONE=y*
*# CONFIG_PREEMPT_VOLUNTARY is not set*
*# CONFIG_PREEMPT is not set*
*CONFIG_HZ=100*
*# CONFIG_THUMB2_KERNEL is not set*
*CONFIG_AEABI=y*
*# CONFIG_OABI_COMPAT is not set*
*# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set*
*# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set*
*CONFIG_HAVE_ARCH_PFN_VALID=y*
*# CONFIG_HIGHMEM is not set*
*CONFIG_HW_PERF_EVENTS=y*
*CONFIG_SELECT_MEMORY_MODEL=y*
*CONFIG_FLATMEM_MANUAL=y*
*CONFIG_FLATMEM=y*
*CONFIG_FLAT_NODE_MEM_MAP=y*
*CONFIG_HAVE_MEMBLOCK=y*
*CONFIG_PAGEFLAGS_EXTENDED=y*
*CONFIG_SPLIT_PTLOCK_CPUS=999999*
*# CONFIG_COMPACTION is not set*
*# CONFIG_PHYS_ADDR_T_64BIT is not set*
*CONFIG_ZONE_DMA_FLAG=0*
*CONFIG_VIRT_TO_BUS=y*
*# CONFIG_KSM is not set*
*CONFIG_DEFAULT_MMAP_MIN_ADDR=4096*
*CONFIG_NEED_PER_CPU_KM=y*
*# CONFIG_CLEANCACHE is not set*
*CONFIG_FORCE_MAX_ZONEORDER=11*
*CONFIG_ALIGNMENT_TRAP=y*
*# CONFIG_UACCESS_WITH_MEMCPY is not set*
*# CONFIG_SECCOMP is not set*
*# CONFIG_CC_STACKPROTECTOR is not set*
*# CONFIG_DEPRECATED_PARAM_STRUCT is not set*
*
*
*#*
*# Boot options*
*#*
*# CONFIG_USE_OF is not set*
*CONFIG_ZBOOT_ROM_TEXT=0x0*
*CONFIG_ZBOOT_ROM_BSS=0x0*
*CONFIG_CMDLINE="earlyprintk debug console=ttyAMA0 kgdwait mem=256M
rootwait"*
*CONFIG_CMDLINE_FROM_BOOTLOADER=y*
*# CONFIG_CMDLINE_EXTEND is not set*
*# CONFIG_CMDLINE_FORCE is not set*
*# CONFIG_XIP_KERNEL is not set*
*# CONFIG_KEXEC is not set*
*# CONFIG_CRASH_DUMP is not set*
*# CONFIG_AUTO_ZRELADDR is not set*
*
*
*#*
*# CPU Power Management*
*#*
*# CONFIG_CPU_IDLE is not set*
*
*
*#*
*# Floating point emulation*
*#*
*
*
*#*
*# At least one emulation must be selected*
*#*
*CONFIG_VFP=y*
*CONFIG_VFPv3=y*
*CONFIG_NEON=y*
*
*
*#*
*# Userspace binary formats*
*#*
*CONFIG_BINFMT_ELF=y*
*# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set*
*CONFIG_HAVE_AOUT=y*
*# CONFIG_BINFMT_AOUT is not set*
*# CONFIG_BINFMT_MISC is not set*
*
*
*#*
*# Power management options*
*#*
*CONFIG_SUSPEND=y*
*CONFIG_SUSPEND_FREEZER=y*
*CONFIG_PM_SLEEP=y*
*# CONFIG_PM_RUNTIME is not set*
*CONFIG_PM=y*
*# CONFIG_PM_DEBUG is not set*
*# CONFIG_APM_EMULATION is not set*
*CONFIG_PM_CLK=y*
*CONFIG_CPU_PM=y*
*CONFIG_ARCH_SUSPEND_POSSIBLE=y*
*CONFIG_ARM_CPU_SUSPEND=y*
*CONFIG_NET=y*
*
*
*#*
*# Networking options*
*#*
*CONFIG_PACKET=y*
*CONFIG_UNIX=y*
*CONFIG_XFRM=y*
*# CONFIG_XFRM_USER is not set*
*# CONFIG_XFRM_SUB_POLICY is not set*
*# CONFIG_XFRM_MIGRATE is not set*
*# CONFIG_XFRM_STATISTICS is not set*
*# CONFIG_NET_KEY is not set*
*CONFIG_INET=y*
*# CONFIG_IP_MULTICAST is not set*
*# CONFIG_IP_ADVANCED_ROUTER is not set*
*CONFIG_IP_PNP=y*
*CONFIG_IP_PNP_DHCP=y*
*CONFIG_IP_PNP_BOOTP=y*
*# CONFIG_IP_PNP_RARP is not set*
*# CONFIG_NET_IPIP is not set*
*# CONFIG_NET_IPGRE_DEMUX is not set*
*# CONFIG_ARPD is not set*
*# CONFIG_SYN_COOKIES is not set*
*# CONFIG_INET_AH is not set*
*# CONFIG_INET_ESP is not set*
*# CONFIG_INET_IPCOMP is not set*
*# CONFIG_INET_XFRM_TUNNEL is not set*
*# CONFIG_INET_TUNNEL is not set*
*CONFIG_INET_XFRM_MODE_TRANSPORT=y*
*CONFIG_INET_XFRM_MODE_TUNNEL=y*
*CONFIG_INET_XFRM_MODE_BEET=y*
*# CONFIG_INET_LRO is not set*
*CONFIG_INET_DIAG=y*
*CONFIG_INET_TCP_DIAG=y*
*# CONFIG_TCP_CONG_ADVANCED is not set*
*CONFIG_TCP_CONG_CUBIC=y*
*CONFIG_DEFAULT_TCP_CONG="cubic"*
*# CONFIG_TCP_MD5SIG is not set*
*# CONFIG_IPV6 is not set*
*# CONFIG_NETWORK_SECMARK is not set*
*# CONFIG_NETWORK_PHY_TIMESTAMPING is not set*
*# CONFIG_NETFILTER is not set*
*# CONFIG_IP_DCCP is not set*
*# CONFIG_IP_SCTP is not set*
*# CONFIG_RDS is not set*
*# CONFIG_TIPC is not set*
*# CONFIG_ATM is not set*
*# CONFIG_L2TP is not set*
*# CONFIG_BRIDGE is not set*
*# CONFIG_NET_DSA is not set*
*# CONFIG_VLAN_8021Q is not set*
*# CONFIG_DECNET is not set*
*# CONFIG_LLC2 is not set*
*# CONFIG_IPX is not set*
*# CONFIG_ATALK is not set*
*# CONFIG_X25 is not set*
*# CONFIG_LAPB is not set*
*# CONFIG_ECONET is not set*
*# CONFIG_WAN_ROUTER is not set*
*# CONFIG_PHONET is not set*
*# CONFIG_IEEE802154 is not set*
*# CONFIG_NET_SCHED is not set*
*# CONFIG_DCB is not set*
*# CONFIG_BATMAN_ADV is not set*
*
*
*#*
*# Network testing*
*#*
*# CONFIG_NET_PKTGEN is not set*
*# CONFIG_NET_DROP_MONITOR is not set*
*# CONFIG_HAMRADIO is not set*
*# CONFIG_CAN is not set*
*# CONFIG_IRDA is not set*
*# CONFIG_BT is not set*
*# CONFIG_AF_RXRPC is not set*
*# CONFIG_WIRELESS is not set*
*# CONFIG_WIMAX is not set*
*# CONFIG_RFKILL is not set*
*# CONFIG_NET_9P is not set*
*# CONFIG_CAIF is not set*
*# CONFIG_CEPH_LIB is not set*
*# CONFIG_NFC is not set*
*
*
*#*
*# Device Drivers*
*#*
*
*
*#*
*# Generic Driver Options*
*#*
*CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"*
*# CONFIG_DEVTMPFS is not set*
*CONFIG_STANDALONE=y*
*CONFIG_PREVENT_FIRMWARE_BUILD=y*
*CONFIG_FW_LOADER=y*
*CONFIG_FIRMWARE_IN_KERNEL=y*
*CONFIG_EXTRA_FIRMWARE=""*
*# CONFIG_DEBUG_DRIVER is not set*
*# CONFIG_DEBUG_DEVRES is not set*
*# CONFIG_SYS_HYPERVISOR is not set*
*# CONFIG_CONNECTOR is not set*
*CONFIG_MTD=y*
*# CONFIG_MTD_TESTS is not set*
*# CONFIG_MTD_REDBOOT_PARTS is not set*
*CONFIG_MTD_CMDLINE_PARTS=y*
*# CONFIG_MTD_AFS_PARTS is not set*
*# CONFIG_MTD_AR7_PARTS is not set*
*
*
*#*
*# User Modules And Translation Layers*
*#*
*CONFIG_MTD_CHAR=y*
*CONFIG_MTD_BLKDEVS=y*
*CONFIG_MTD_BLOCK=y*
*# CONFIG_FTL is not set*
*# CONFIG_NFTL is not set*
*# CONFIG_INFTL is not set*
*# CONFIG_RFD_FTL is not set*
*# CONFIG_SSFDC is not set*
*# CONFIG_SM_FTL is not set*
*# CONFIG_MTD_OOPS is not set*
*# CONFIG_MTD_SWAP is not set*
*
*
*#*
*# RAM/ROM/Flash chip drivers*
*#*
*CONFIG_MTD_CFI=y*
*# CONFIG_MTD_JEDECPROBE is not set*
*CONFIG_MTD_GEN_PROBE=y*
*# CONFIG_MTD_CFI_ADV_OPTIONS is not set*
*CONFIG_MTD_MAP_BANK_WIDTH_1=y*
*CONFIG_MTD_MAP_BANK_WIDTH_2=y*
*CONFIG_MTD_MAP_BANK_WIDTH_4=y*
*# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set*
*# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set*
*# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set*
*CONFIG_MTD_CFI_I1=y*
*CONFIG_MTD_CFI_I2=y*
*# CONFIG_MTD_CFI_I4 is not set*
*# CONFIG_MTD_CFI_I8 is not set*
*CONFIG_MTD_CFI_INTELEXT=y*
*CONFIG_MTD_CFI_AMDSTD=y*
*# CONFIG_MTD_CFI_STAA is not set*
*CONFIG_MTD_CFI_UTIL=y*
*# CONFIG_MTD_RAM is not set*
*# CONFIG_MTD_ROM is not set*
*# CONFIG_MTD_ABSENT is not set*
*
*
*#*
*# Mapping drivers for chip access*
*#*
*# CONFIG_MTD_COMPLEX_MAPPINGS is not set*
*# CONFIG_MTD_PHYSMAP is not set*
*# CONFIG_MTD_PLATRAM is not set*
*
*
*#*
*# Self-contained MTD device drivers*
*#*
*# CONFIG_MTD_SLRAM is not set*
*# CONFIG_MTD_PHRAM is not set*
*# CONFIG_MTD_MTDRAM is not set*
*# CONFIG_MTD_BLOCK2MTD is not set*
*
*
*#*
*# Disk-On-Chip Device Drivers*
*#*
*# CONFIG_MTD_DOC2000 is not set*
*# CONFIG_MTD_DOC2001 is not set*
*# CONFIG_MTD_DOC2001PLUS is not set*
*# CONFIG_MTD_DOCG3 is not set*
*# CONFIG_MTD_NAND is not set*
*# CONFIG_MTD_ONENAND is not set*
*
*
*#*
*# LPDDR flash memory drivers*
*#*
*# CONFIG_MTD_LPDDR is not set*
*# CONFIG_MTD_UBI is not set*
*# CONFIG_PARPORT is not set*
*CONFIG_BLK_DEV=y*
*# CONFIG_BLK_DEV_COW_COMMON is not set*
*# CONFIG_BLK_DEV_LOOP is not set*
*
*
*#*
*# DRBD disabled because PROC_FS, INET or CONNECTOR not selected*
*#*
*# CONFIG_BLK_DEV_NBD is not set*
*# CONFIG_BLK_DEV_UB is not set*
*# CONFIG_BLK_DEV_RAM is not set*
*# CONFIG_CDROM_PKTCDVD is not set*
*# CONFIG_ATA_OVER_ETH is not set*
*# CONFIG_BLK_DEV_RBD is not set*
*# CONFIG_SENSORS_LIS3LV02D is not set*
*CONFIG_MISC_DEVICES=y*
*# CONFIG_ATMEL_PWM is not set*
*# CONFIG_ENCLOSURE_SERVICES is not set*
*# CONFIG_ARM_CHARLCD is not set*
*# CONFIG_C2PORT is not set*
*
*
*#*
*# EEPROM support*
*#*
*# CONFIG_EEPROM_93CX6 is not set*
*# CONFIG_IWMC3200TOP is not set*
*
*
*#*
*# Texas Instruments shared transport line discipline*
*#*
*
*
*#*
*# Altera FPGA firmware download module*
*#*
*
*
*#*
*# SCSI device support*
*#*
*CONFIG_SCSI_MOD=y*
*# CONFIG_RAID_ATTRS is not set*
*CONFIG_SCSI=y*
*CONFIG_SCSI_DMA=y*
*# CONFIG_SCSI_TGT is not set*
*# CONFIG_SCSI_NETLINK is not set*
*# CONFIG_SCSI_PROC_FS is not set*
*
*
*#*
*# SCSI support type (disk, tape, CD-ROM)*
*#*
*CONFIG_BLK_DEV_SD=y*
*# CONFIG_CHR_DEV_ST is not set*
*# CONFIG_CHR_DEV_OSST is not set*
*# CONFIG_BLK_DEV_SR is not set*
*# CONFIG_CHR_DEV_SG is not set*
*# CONFIG_CHR_DEV_SCH is not set*
*# CONFIG_SCSI_MULTI_LUN is not set*
*# CONFIG_SCSI_CONSTANTS is not set*
*# CONFIG_SCSI_LOGGING is not set*
*# CONFIG_SCSI_SCAN_ASYNC is not set*
*CONFIG_SCSI_WAIT_SCAN=m*
*
*
*#*
*# SCSI Transports*
*#*
*# CONFIG_SCSI_SPI_ATTRS is not set*
*# CONFIG_SCSI_FC_ATTRS is not set*
*# CONFIG_SCSI_ISCSI_ATTRS is not set*
*# CONFIG_SCSI_SAS_ATTRS is not set*
*# CONFIG_SCSI_SAS_LIBSAS is not set*
*# CONFIG_SCSI_SRP_ATTRS is not set*
*# CONFIG_SCSI_LOWLEVEL is not set*
*# CONFIG_SCSI_DH is not set*
*# CONFIG_SCSI_OSD_INITIATOR is not set*
*CONFIG_HAVE_PATA_PLATFORM=y*
*CONFIG_ATA=y*
*# CONFIG_ATA_NONSTANDARD is not set*
*CONFIG_ATA_VERBOSE_ERROR=y*
*# CONFIG_SATA_PMP is not set*
*
*
*#*
*# Controllers with non-SFF native interface*
*#*
*# CONFIG_SATA_AHCI_PLATFORM is not set*
*CONFIG_ATA_SFF=y*
*
*
*#*
*# SFF controllers with custom DMA interface*
*#*
*CONFIG_ATA_BMDMA=y*
*
*
*#*
*# SATA SFF controllers with BMDMA*
*#*
*# CONFIG_SATA_MV is not set*
*
*
*#*
*# PATA SFF controllers with BMDMA*
*#*
*
*
*#*
*# PIO-only SFF controllers*
*#*
*# CONFIG_PATA_PLATFORM is not set*
*
*
*#*
*# Generic fallback / legacy drivers*
*#*
*# CONFIG_MD is not set*
*# CONFIG_TARGET_CORE is not set*
*CONFIG_NETDEVICES=y*
*CONFIG_NET_CORE=y*
*# CONFIG_BONDING is not set*
*# CONFIG_DUMMY is not set*
*# CONFIG_EQUALIZER is not set*
*CONFIG_MII=y*
*# CONFIG_MACVLAN is not set*
*# CONFIG_NETCONSOLE is not set*
*# CONFIG_NETPOLL is not set*
*# CONFIG_NET_POLL_CONTROLLER is not set*
*# CONFIG_TUN is not set*
*# CONFIG_VETH is not set*
*
*
*#*
*# CAIF transport drivers*
*#*
*CONFIG_ETHERNET=y*
*CONFIG_NET_VENDOR_BROADCOM=y*
*# CONFIG_B44 is not set*
*CONFIG_NET_VENDOR_CHELSIO=y*
*# CONFIG_DM9000 is not set*
*# CONFIG_DNET is not set*
*CONFIG_NET_VENDOR_FARADAY=y*
*# CONFIG_FTMAC100 is not set*
*# CONFIG_FTGMAC100 is not set*
*CONFIG_NET_VENDOR_INTEL=y*
*CONFIG_NET_VENDOR_I825XX=y*
*CONFIG_NET_VENDOR_MARVELL=y*
*CONFIG_NET_VENDOR_MICREL=y*
*# CONFIG_KS8851_MLL is not set*
*CONFIG_NET_VENDOR_NATSEMI=y*
*CONFIG_NET_VENDOR_8390=y*
*# CONFIG_AX88796 is not set*
*# CONFIG_ETHOC is not set*
*CONFIG_NET_VENDOR_SEEQ=y*
*# CONFIG_SEEQ8005 is not set*
*CONFIG_NET_VENDOR_SMSC=y*
*# CONFIG_SMC91X is not set*
*# CONFIG_SMC911X is not set*
*CONFIG_SMSC911X=y*
*# CONFIG_SMSC911X_ARCH_HOOKS is not set*
*CONFIG_NET_VENDOR_STMICRO=y*
*# CONFIG_STMMAC_ETH is not set*
*CONFIG_PHYLIB=y*
*
*
*#*
*# MII PHY device drivers*
*#*
*# CONFIG_MARVELL_PHY is not set*
*# CONFIG_DAVICOM_PHY is not set*
*# CONFIG_QSEMI_PHY is not set*
*# CONFIG_LXT_PHY is not set*
*# CONFIG_CICADA_PHY is not set*
*# CONFIG_VITESSE_PHY is not set*
*# CONFIG_SMSC_PHY is not set*
*# CONFIG_BROADCOM_PHY is not set*
*# CONFIG_ICPLUS_PHY is not set*
*# CONFIG_REALTEK_PHY is not set*
*# CONFIG_NATIONAL_PHY is not set*
*# CONFIG_STE10XP is not set*
*# CONFIG_LSI_ET1011C_PHY is not set*
*# CONFIG_MICREL_PHY is not set*
*# CONFIG_FIXED_PHY is not set*
*# CONFIG_MDIO_BITBANG is not set*
*# CONFIG_PPP is not set*
*# CONFIG_SLIP is not set*
*
*
*#*
*# USB Network Adapters*
*#*
*# CONFIG_USB_CATC is not set*
*# CONFIG_USB_KAWETH is not set*
*# CONFIG_USB_PEGASUS is not set*
*# CONFIG_USB_RTL8150 is not set*
*# CONFIG_USB_USBNET is not set*
*# CONFIG_USB_IPHETH is not set*
*# CONFIG_WLAN is not set*
*
*
*#*
*# Enable WiMAX (Networking options) to see the WiMAX drivers*
*#*
*# CONFIG_WAN is not set*
*# CONFIG_ISDN is not set*
*# CONFIG_PHONE is not set*
*
*
*#*
*# Input device support*
*#*
*CONFIG_INPUT=y*
*# CONFIG_INPUT_FF_MEMLESS is not set*
*# CONFIG_INPUT_POLLDEV is not set*
*# CONFIG_INPUT_SPARSEKMAP is not set*
*
*
*#*
*# Userland interfaces*
*#*
*CONFIG_INPUT_MOUSEDEV=y*
*CONFIG_INPUT_MOUSEDEV_PSAUX=y*
*CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024*
*CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768*
*# CONFIG_INPUT_JOYDEV is not set*
*CONFIG_INPUT_EVDEV=y*
*# CONFIG_INPUT_EVBUG is not set*
*
*
*#*
*# Input Device Drivers*
*#*
*CONFIG_INPUT_KEYBOARD=y*
*CONFIG_KEYBOARD_ATKBD=y*
*# CONFIG_KEYBOARD_LKKBD is not set*
*# CONFIG_KEYBOARD_NEWTON is not set*
*# CONFIG_KEYBOARD_OPENCORES is not set*
*# CONFIG_KEYBOARD_STOWAWAY is not set*
*# CONFIG_KEYBOARD_SUNKBD is not set*
*# CONFIG_KEYBOARD_XTKBD is not set*
*CONFIG_INPUT_MOUSE=y*
*CONFIG_MOUSE_PS2=y*
*CONFIG_MOUSE_PS2_ALPS=y*
*CONFIG_MOUSE_PS2_LOGIPS2PP=y*
*CONFIG_MOUSE_PS2_SYNAPTICS=y*
*CONFIG_MOUSE_PS2_TRACKPOINT=y*
*# CONFIG_MOUSE_PS2_ELANTECH is not set*
*# CONFIG_MOUSE_PS2_SENTELIC is not set*
*# CONFIG_MOUSE_PS2_TOUCHKIT is not set*
*# CONFIG_MOUSE_SERIAL is not set*
*# CONFIG_MOUSE_APPLETOUCH is not set*
*# CONFIG_MOUSE_BCM5974 is not set*
*# CONFIG_MOUSE_VSXXXAA is not set*
*# CONFIG_INPUT_JOYSTICK is not set*
*# CONFIG_INPUT_TABLET is not set*
*# CONFIG_INPUT_TOUCHSCREEN is not set*
*# CONFIG_INPUT_MISC is not set*
*
*
*#*
*# Hardware I/O ports*
*#*
*CONFIG_SERIO=y*
*# CONFIG_SERIO_SERPORT is not set*
*CONFIG_SERIO_AMBAKMI=y*
*CONFIG_SERIO_LIBPS2=y*
*# CONFIG_SERIO_RAW is not set*
*# CONFIG_SERIO_ALTERA_PS2 is not set*
*# CONFIG_SERIO_PS2MULT is not set*
*# CONFIG_GAMEPORT is not set*
*
*
*#*
*# Character devices*
*#*
*CONFIG_VT=y*
*CONFIG_CONSOLE_TRANSLATIONS=y*
*CONFIG_VT_CONSOLE=y*
*CONFIG_VT_CONSOLE_SLEEP=y*
*CONFIG_HW_CONSOLE=y*
*# CONFIG_VT_HW_CONSOLE_BINDING is not set*
*CONFIG_UNIX98_PTYS=y*
*# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set*
*CONFIG_LEGACY_PTYS=y*
*CONFIG_LEGACY_PTY_COUNT=16*
*# CONFIG_SERIAL_NONSTANDARD is not set*
*# CONFIG_N_GSM is not set*
*# CONFIG_TRACE_SINK is not set*
*CONFIG_DEVKMEM=y*
*
*
*#*
*# Serial drivers*
*#*
*# CONFIG_SERIAL_8250 is not set*
*
*
*#*
*# Non-8250 serial port support*
*#*
*# CONFIG_SERIAL_AMBA_PL010 is not set*
*CONFIG_SERIAL_AMBA_PL011=y*
*CONFIG_SERIAL_AMBA_PL011_CONSOLE=y*
*CONFIG_SERIAL_CORE=y*
*CONFIG_SERIAL_CORE_CONSOLE=y*
*# CONFIG_SERIAL_TIMBERDALE is not set*
*# CONFIG_SERIAL_ALTERA_JTAGUART is not set*
*# CONFIG_SERIAL_ALTERA_UART is not set*
*# CONFIG_SERIAL_XILINX_PS_UART is not set*
*# CONFIG_TTY_PRINTK is not set*
*# CONFIG_HVC_DCC is not set*
*# CONFIG_IPMI_HANDLER is not set*
*# CONFIG_HW_RANDOM is not set*
*# CONFIG_R3964 is not set*
*# CONFIG_RAW_DRIVER is not set*
*# CONFIG_TCG_TPM is not set*
*# CONFIG_RAMOOPS is not set*
*# CONFIG_I2C is not set*
*# CONFIG_SPI is not set*
*
*
*#*
*# PPS support*
*#*
*# CONFIG_PPS is not set*
*
*
*#*
*# PPS generators support*
*#*
*
*
*#*
*# PTP clock support*
*#*
*
*
*#*
*# Enable Device Drivers -> PPS to see the PTP clock options.*
*#*
*CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y*
*# CONFIG_GPIOLIB is not set*
*# CONFIG_W1 is not set*
*# CONFIG_POWER_SUPPLY is not set*
*# CONFIG_HWMON is not set*
*# CONFIG_THERMAL is not set*
*# CONFIG_WATCHDOG is not set*
*CONFIG_SSB_POSSIBLE=y*
*
*
*#*
*# Sonics Silicon Backplane*
*#*
*# CONFIG_SSB is not set*
*CONFIG_BCMA_POSSIBLE=y*
*
*
*#*
*# Broadcom specific AMBA*
*#*
*# CONFIG_BCMA is not set*
*
*
*#*
*# Multifunction device drivers*
*#*
*# CONFIG_MFD_CORE is not set*
*# CONFIG_MFD_SM501 is not set*
*# CONFIG_HTC_PASIC3 is not set*
*# CONFIG_MFD_TMIO is not set*
*# CONFIG_MFD_T7L66XB is not set*
*# CONFIG_MFD_TC6387XB is not set*
*# CONFIG_ABX500_CORE is not set*
*# CONFIG_REGULATOR is not set*
*# CONFIG_MEDIA_SUPPORT is not set*
*
*
*#*
*# Graphics support*
*#*
*# CONFIG_DRM is not set*
*# CONFIG_VGASTATE is not set*
*# CONFIG_VIDEO_OUTPUT_CONTROL is not set*
*# CONFIG_FB is not set*
*# CONFIG_BACKLIGHT_LCD_SUPPORT is not set*
*
*
*#*
*# Display device support*
*#*
*# CONFIG_DISPLAY_SUPPORT is not set*
*
*
*#*
*# Console display driver support*
*#*
*CONFIG_DUMMY_CONSOLE=y*
*CONFIG_SOUND=y*
*CONFIG_SOUND_OSS_CORE=y*
*CONFIG_SOUND_OSS_CORE_PRECLAIM=y*
*CONFIG_SND=y*
*CONFIG_SND_TIMER=y*
*CONFIG_SND_PCM=y*
*# CONFIG_SND_SEQUENCER is not set*
*CONFIG_SND_OSSEMUL=y*
*CONFIG_SND_MIXER_OSS=y*
*CONFIG_SND_PCM_OSS=y*
*CONFIG_SND_PCM_OSS_PLUGINS=y*
*# CONFIG_SND_HRTIMER is not set*
*# CONFIG_SND_DYNAMIC_MINORS is not set*
*CONFIG_SND_SUPPORT_OLD_API=y*
*CONFIG_SND_VERBOSE_PROCFS=y*
*# CONFIG_SND_VERBOSE_PRINTK is not set*
*# CONFIG_SND_DEBUG is not set*
*CONFIG_SND_VMASTER=y*
*# CONFIG_SND_RAWMIDI_SEQ is not set*
*# CONFIG_SND_OPL3_LIB_SEQ is not set*
*# CONFIG_SND_OPL4_LIB_SEQ is not set*
*# CONFIG_SND_SBAWE_SEQ is not set*
*# CONFIG_SND_EMU10K1_SEQ is not set*
*CONFIG_SND_AC97_CODEC=y*
*# CONFIG_SND_DRIVERS is not set*
*CONFIG_SND_ARM=y*
*CONFIG_SND_ARMAACI=y*
*CONFIG_SND_USB=y*
*# CONFIG_SND_USB_AUDIO is not set*
*# CONFIG_SND_USB_UA101 is not set*
*# CONFIG_SND_USB_CAIAQ is not set*
*# CONFIG_SND_USB_6FIRE is not set*
*# CONFIG_SND_SOC is not set*
*# CONFIG_SOUND_PRIME is not set*
*CONFIG_AC97_BUS=y*
*CONFIG_HID_SUPPORT=y*
*CONFIG_HID=y*
*# CONFIG_HIDRAW is not set*
*
*
*#*
*# USB Input Devices*
*#*
*CONFIG_USB_HID=y*
*# CONFIG_HID_PID is not set*
*# CONFIG_USB_HIDDEV is not set*
*
*
*#*
*# Special HID drivers*
*#*
*# CONFIG_HID_A4TECH is not set*
*# CONFIG_HID_ACRUX is not set*
*# CONFIG_HID_APPLE is not set*
*# CONFIG_HID_BELKIN is not set*
*# CONFIG_HID_CHERRY is not set*
*# CONFIG_HID_CHICONY is not set*
*# CONFIG_HID_PRODIKEYS is not set*
*# CONFIG_HID_CYPRESS is not set*
*CONFIG_HID_DRAGONRISE=y*
*# CONFIG_DRAGONRISE_FF is not set*
*# CONFIG_HID_EMS_FF is not set*
*# CONFIG_HID_EZKEY is not set*
*# CONFIG_HID_HOLTEK is not set*
*# CONFIG_HID_KEYTOUCH is not set*
*# CONFIG_HID_KYE is not set*
*# CONFIG_HID_UCLOGIC is not set*
*# CONFIG_HID_WALTOP is not set*
*CONFIG_HID_GYRATION=y*
*CONFIG_HID_TWINHAN=y*
*# CONFIG_HID_KENSINGTON is not set*
*# CONFIG_HID_LCPOWER is not set*
*# CONFIG_HID_LOGITECH is not set*
*# CONFIG_HID_MICROSOFT is not set*
*# CONFIG_HID_MONTEREY is not set*
*# CONFIG_HID_MULTITOUCH is not set*
*CONFIG_HID_NTRIG=y*
*# CONFIG_HID_ORTEK is not set*
*CONFIG_HID_PANTHERLORD=y*
*# CONFIG_PANTHERLORD_FF is not set*
*CONFIG_HID_PETALYNX=y*
*# CONFIG_HID_PICOLCD is not set*
*# CONFIG_HID_PRIMAX is not set*
*# CONFIG_HID_QUANTA is not set*
*# CONFIG_HID_ROCCAT is not set*
*CONFIG_HID_SAMSUNG=y*
*CONFIG_HID_SONY=y*
*# CONFIG_HID_SPEEDLINK is not set*
*CONFIG_HID_SUNPLUS=y*
*CONFIG_HID_GREENASIA=y*
*# CONFIG_GREENASIA_FF is not set*
*CONFIG_HID_SMARTJOYPLUS=y*
*# CONFIG_SMARTJOYPLUS_FF is not set*
*CONFIG_HID_TOPSEED=y*
*CONFIG_HID_THRUSTMASTER=y*
*# CONFIG_THRUSTMASTER_FF is not set*
*CONFIG_HID_ZEROPLUS=y*
*# CONFIG_ZEROPLUS_FF is not set*
*# CONFIG_HID_ZYDACRON is not set*
*CONFIG_USB_SUPPORT=y*
*CONFIG_USB_COMMON=y*
*CONFIG_USB_ARCH_HAS_HCD=y*
*# CONFIG_USB_ARCH_HAS_OHCI is not set*
*# CONFIG_USB_ARCH_HAS_EHCI is not set*
*# CONFIG_USB_ARCH_HAS_XHCI is not set*
*CONFIG_USB=y*
*# CONFIG_USB_DEBUG is not set*
*CONFIG_USB_ANNOUNCE_NEW_DEVICES=y*
*
*
*#*
*# Miscellaneous USB options*
*#*
*CONFIG_USB_DEVICEFS=y*
*# CONFIG_USB_DEVICE_CLASS is not set*
*# CONFIG_USB_DYNAMIC_MINORS is not set*
*# CONFIG_USB_OTG_WHITELIST is not set*
*# CONFIG_USB_OTG_BLACKLIST_HUB is not set*
*# CONFIG_USB_DWC3 is not set*
*CONFIG_USB_MON=y*
*# CONFIG_USB_WUSB is not set*
*# CONFIG_USB_WUSB_CBAF is not set*
*
*
*#*
*# USB Host Controller Drivers*
*#*
*# CONFIG_USB_C67X00_HCD is not set*
*# CONFIG_USB_OXU210HP_HCD is not set*
*# CONFIG_USB_ISP116X_HCD is not set*
*CONFIG_USB_ISP1760_HCD=y*
*# CONFIG_USB_ISP1362_HCD is not set*
*# CONFIG_USB_SL811_HCD is not set*
*# CONFIG_USB_R8A66597_HCD is not set*
*# CONFIG_USB_HWA_HCD is not set*
*
*
*#*
*# USB Device Class drivers*
*#*
*# CONFIG_USB_ACM is not set*
*# CONFIG_USB_PRINTER is not set*
*# CONFIG_USB_WDM is not set*
*# CONFIG_USB_TMC is not set*
*
*
*#*
*# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may*
*#*
*
*
*#*
*# also be needed; see USB_STORAGE Help for more info*
*#*
*CONFIG_USB_STORAGE=y*
*# CONFIG_USB_STORAGE_DEBUG is not set*
*# CONFIG_USB_STORAGE_REALTEK is not set*
*# CONFIG_USB_STORAGE_DATAFAB is not set*
*# CONFIG_USB_STORAGE_FREECOM is not set*
*# CONFIG_USB_STORAGE_ISD200 is not set*
*# CONFIG_USB_STORAGE_USBAT is not set*
*# CONFIG_USB_STORAGE_SDDR09 is not set*
*# CONFIG_USB_STORAGE_SDDR55 is not set*
*# CONFIG_USB_STORAGE_JUMPSHOT is not set*
*# CONFIG_USB_STORAGE_ALAUDA is not set*
*# CONFIG_USB_STORAGE_ONETOUCH is not set*
*# CONFIG_USB_STORAGE_KARMA is not set*
*# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set*
*# CONFIG_USB_STORAGE_ENE_UB6250 is not set*
*# CONFIG_USB_UAS is not set*
*# CONFIG_USB_LIBUSUAL is not set*
*
*
*#*
*# USB Imaging devices*
*#*
*# CONFIG_USB_MDC800 is not set*
*# CONFIG_USB_MICROTEK is not set*
*
*
*#*
*# USB port drivers*
*#*
*# CONFIG_USB_SERIAL is not set*
*
*
*#*
*# USB Miscellaneous drivers*
*#*
*# CONFIG_USB_EMI62 is not set*
*# CONFIG_USB_EMI26 is not set*
*# CONFIG_USB_ADUTUX is not set*
*# CONFIG_USB_SEVSEG is not set*
*# CONFIG_USB_RIO500 is not set*
*# CONFIG_USB_LEGOTOWER is not set*
*# CONFIG_USB_LCD is not set*
*# CONFIG_USB_LED is not set*
*# CONFIG_USB_CYPRESS_CY7C63 is not set*
*# CONFIG_USB_CYTHERM is not set*
*# CONFIG_USB_IDMOUSE is not set*
*# CONFIG_USB_FTDI_ELAN is not set*
*# CONFIG_USB_APPLEDISPLAY is not set*
*# CONFIG_USB_LD is not set*
*# CONFIG_USB_TRANCEVIBRATOR is not set*
*# CONFIG_USB_IOWARRIOR is not set*
*# CONFIG_USB_TEST is not set*
*# CONFIG_USB_ISIGHTFW is not set*
*# CONFIG_USB_YUREX is not set*
*# CONFIG_USB_GADGET is not set*
*
*
*#*
*# OTG and related infrastructure*
*#*
*# CONFIG_USB_ULPI is not set*
*# CONFIG_NOP_USB_XCEIV is not set*
*CONFIG_MMC=y*
*CONFIG_MMC_DEBUG=y*
*# CONFIG_MMC_UNSAFE_RESUME is not set*
*# CONFIG_MMC_CLKGATE is not set*
*
*
*#*
*# MMC/SD/SDIO Card Drivers*
*#*
*CONFIG_MMC_BLOCK=y*
*CONFIG_MMC_BLOCK_MINORS=8*
*CONFIG_MMC_BLOCK_BOUNCE=y*
*# CONFIG_SDIO_UART is not set*
*# CONFIG_MMC_TEST is not set*
*
*
*#*
*# MMC/SD/SDIO Host Controller Drivers*
*#*
*CONFIG_MMC_ARMMMCI=y*
*CONFIG_MMC_SDHCI=y*
*CONFIG_MMC_SDHCI_PLTFM=y*
*# CONFIG_MMC_SDHCI_PXAV3 is not set*
*# CONFIG_MMC_SDHCI_PXAV2 is not set*
*# CONFIG_MMC_DW is not set*
*# CONFIG_MMC_VUB300 is not set*
*# CONFIG_MMC_USHC is not set*
*# CONFIG_MEMSTICK is not set*
*# CONFIG_NEW_LEDS is not set*
*# CONFIG_ACCESSIBILITY is not set*
*CONFIG_RTC_LIB=y*
*CONFIG_RTC_CLASS=y*
*CONFIG_RTC_HCTOSYS=y*
*CONFIG_RTC_HCTOSYS_DEVICE="rtc0"*
*# CONFIG_RTC_DEBUG is not set*
*
*
*#*
*# RTC interfaces*
*#*
*CONFIG_RTC_INTF_SYSFS=y*
*CONFIG_RTC_INTF_PROC=y*
*CONFIG_RTC_INTF_DEV=y*
*# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set*
*# CONFIG_RTC_DRV_TEST is not set*
*
*
*#*
*# SPI RTC drivers*
*#*
*
*
*#*
*# Platform RTC drivers*
*#*
*# CONFIG_RTC_DRV_CMOS is not set*
*# CONFIG_RTC_DRV_DS1286 is not set*
*# CONFIG_RTC_DRV_DS1511 is not set*
*# CONFIG_RTC_DRV_DS1553 is not set*
*# CONFIG_RTC_DRV_DS1742 is not set*
*# CONFIG_RTC_DRV_STK17TA8 is not set*
*# CONFIG_RTC_DRV_M48T86 is not set*
*# CONFIG_RTC_DRV_M48T35 is not set*
*# CONFIG_RTC_DRV_M48T59 is not set*
*# CONFIG_RTC_DRV_MSM6242 is not set*
*# CONFIG_RTC_DRV_BQ4802 is not set*
*# CONFIG_RTC_DRV_RP5C01 is not set*
*# CONFIG_RTC_DRV_V3020 is not set*
*
*
*#*
*# on-CPU RTC drivers*
*#*
*# CONFIG_RTC_DRV_PL030 is not set*
*CONFIG_RTC_DRV_PL031=y*
*# CONFIG_DMADEVICES is not set*
*# CONFIG_AUXDISPLAY is not set*
*# CONFIG_UIO is not set*
*
*
*#*
*# Virtio drivers*
*#*
*# CONFIG_VIRTIO_BALLOON is not set*
*# CONFIG_VIRTIO_MMIO is not set*
*# CONFIG_STAGING is not set*
*CONFIG_CLKDEV_LOOKUP=y*
*CONFIG_HAVE_MACH_CLKDEV=y*
*
*
*#*
*# Hardware Spinlock drivers*
*#*
*CONFIG_CLKSRC_MMIO=y*
*CONFIG_IOMMU_SUPPORT=y*
*# CONFIG_VIRT_DRIVERS is not set*
*# CONFIG_PM_DEVFREQ is not set*
*
*
*#*
*# File systems*
*#*
*CONFIG_EXT2_FS=y*
*# CONFIG_EXT2_FS_XATTR is not set*
*# CONFIG_EXT2_FS_XIP is not set*
*CONFIG_EXT3_FS=y*
*# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set*
*# CONFIG_EXT3_FS_XATTR is not set*
*CONFIG_EXT4_FS=y*
*CONFIG_EXT4_FS_XATTR=y*
*# CONFIG_EXT4_FS_POSIX_ACL is not set*
*# CONFIG_EXT4_FS_SECURITY is not set*
*# CONFIG_EXT4_DEBUG is not set*
*CONFIG_JBD=y*
*# CONFIG_JBD_DEBUG is not set*
*CONFIG_JBD2=y*
*# CONFIG_JBD2_DEBUG is not set*
*CONFIG_FS_MBCACHE=y*
*# CONFIG_REISERFS_FS is not set*
*# CONFIG_JFS_FS is not set*
*# CONFIG_XFS_FS is not set*
*# CONFIG_BTRFS_FS is not set*
*# CONFIG_NILFS2_FS is not set*
*# CONFIG_FS_POSIX_ACL is not set*
*CONFIG_FILE_LOCKING=y*
*CONFIG_FSNOTIFY=y*
*CONFIG_DNOTIFY=y*
*CONFIG_INOTIFY_USER=y*
*# CONFIG_FANOTIFY is not set*
*# CONFIG_QUOTA is not set*
*# CONFIG_QUOTACTL is not set*
*# CONFIG_AUTOFS4_FS is not set*
*# CONFIG_FUSE_FS is not set*
*
*
*#*
*# Caches*
*#*
*# CONFIG_FSCACHE is not set*
*
*
*#*
*# CD-ROM/DVD Filesystems*
*#*
*# CONFIG_ISO9660_FS is not set*
*# CONFIG_UDF_FS is not set*
*
*
*#*
*# DOS/FAT/NT Filesystems*
*#*
*CONFIG_FAT_FS=y*
*# CONFIG_MSDOS_FS is not set*
*CONFIG_VFAT_FS=y*
*CONFIG_FAT_DEFAULT_CODEPAGE=437*
*CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"*
*# CONFIG_NTFS_FS is not set*
*
*
*#*
*# Pseudo filesystems*
*#*
*CONFIG_PROC_FS=y*
*CONFIG_PROC_SYSCTL=y*
*CONFIG_PROC_PAGE_MONITOR=y*
*CONFIG_SYSFS=y*
*CONFIG_TMPFS=y*
*# CONFIG_TMPFS_POSIX_ACL is not set*
*# CONFIG_TMPFS_XATTR is not set*
*# CONFIG_HUGETLB_PAGE is not set*
*# CONFIG_CONFIGFS_FS is not set*
*CONFIG_MISC_FILESYSTEMS=y*
*# CONFIG_ADFS_FS is not set*
*# CONFIG_AFFS_FS is not set*
*# CONFIG_HFS_FS is not set*
*# CONFIG_HFSPLUS_FS is not set*
*# CONFIG_BEFS_FS is not set*
*# CONFIG_BFS_FS is not set*
*# CONFIG_EFS_FS is not set*
*CONFIG_JFFS2_FS=y*
*CONFIG_JFFS2_FS_DEBUG=0*
*CONFIG_JFFS2_FS_WRITEBUFFER=y*
*# CONFIG_JFFS2_FS_WBUF_VERIFY is not set*
*# CONFIG_JFFS2_SUMMARY is not set*
*# CONFIG_JFFS2_FS_XATTR is not set*
*# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set*
*CONFIG_JFFS2_ZLIB=y*
*# CONFIG_JFFS2_LZO is not set*
*CONFIG_JFFS2_RTIME=y*
*# CONFIG_JFFS2_RUBIN is not set*
*# CONFIG_LOGFS is not set*
*CONFIG_CRAMFS=y*
*# CONFIG_SQUASHFS is not set*
*# CONFIG_VXFS_FS is not set*
*# CONFIG_MINIX_FS is not set*
*# CONFIG_OMFS_FS is not set*
*# CONFIG_HPFS_FS is not set*
*# CONFIG_QNX4FS_FS is not set*
*# CONFIG_ROMFS_FS is not set*
*# CONFIG_PSTORE is not set*
*# CONFIG_SYSV_FS is not set*
*# CONFIG_UFS_FS is not set*
*# CONFIG_NETWORK_FILESYSTEMS is not set*
*
*
*#*
*# Partition Types*
*#*
*# CONFIG_PARTITION_ADVANCED is not set*
*CONFIG_MSDOS_PARTITION=y*
*CONFIG_NLS=y*
*CONFIG_NLS_DEFAULT="iso8859-1"*
*CONFIG_NLS_CODEPAGE_437=y*
*# CONFIG_NLS_CODEPAGE_737 is not set*
*# CONFIG_NLS_CODEPAGE_775 is not set*
*# CONFIG_NLS_CODEPAGE_850 is not set*
*# CONFIG_NLS_CODEPAGE_852 is not set*
*# CONFIG_NLS_CODEPAGE_855 is not set*
*# CONFIG_NLS_CODEPAGE_857 is not set*
*# CONFIG_NLS_CODEPAGE_860 is not set*
*# CONFIG_NLS_CODEPAGE_861 is not set*
*# CONFIG_NLS_CODEPAGE_862 is not set*
*# CONFIG_NLS_CODEPAGE_863 is not set*
*# CONFIG_NLS_CODEPAGE_864 is not set*
*# CONFIG_NLS_CODEPAGE_865 is not set*
*# CONFIG_NLS_CODEPAGE_866 is not set*
*# CONFIG_NLS_CODEPAGE_869 is not set*
*# CONFIG_NLS_CODEPAGE_936 is not set*
*# CONFIG_NLS_CODEPAGE_950 is not set*
*# CONFIG_NLS_CODEPAGE_932 is not set*
*# CONFIG_NLS_CODEPAGE_949 is not set*
*# CONFIG_NLS_CODEPAGE_874 is not set*
*# CONFIG_NLS_ISO8859_8 is not set*
*# CONFIG_NLS_CODEPAGE_1250 is not set*
*# CONFIG_NLS_CODEPAGE_1251 is not set*
*# CONFIG_NLS_ASCII is not set*
*CONFIG_NLS_ISO8859_1=y*
*# CONFIG_NLS_ISO8859_2 is not set*
*# CONFIG_NLS_ISO8859_3 is not set*
*# CONFIG_NLS_ISO8859_4 is not set*
*# CONFIG_NLS_ISO8859_5 is not set*
*# CONFIG_NLS_ISO8859_6 is not set*
*# CONFIG_NLS_ISO8859_7 is not set*
*# CONFIG_NLS_ISO8859_9 is not set*
*# CONFIG_NLS_ISO8859_13 is not set*
*# CONFIG_NLS_ISO8859_14 is not set*
*# CONFIG_NLS_ISO8859_15 is not set*
*# CONFIG_NLS_KOI8_R is not set*
*# CONFIG_NLS_KOI8_U is not set*
*# CONFIG_NLS_UTF8 is not set*
*
*
*#*
*# Kernel hacking*
*#*
*# CONFIG_PRINTK_TIME is not set*
*CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4*
*CONFIG_ENABLE_WARN_DEPRECATED=y*
*CONFIG_ENABLE_MUST_CHECK=y*
*CONFIG_FRAME_WARN=1024*
*CONFIG_MAGIC_SYSRQ=y*
*# CONFIG_STRIP_ASM_SYMS is not set*
*# CONFIG_UNUSED_SYMBOLS is not set*
*CONFIG_DEBUG_FS=y*
*# CONFIG_HEADERS_CHECK is not set*
*# CONFIG_DEBUG_SECTION_MISMATCH is not set*
*CONFIG_IPIPE_DEBUG=y*
*CONFIG_IPIPE_DEBUG_CONTEXT=y*
*CONFIG_IPIPE_DEBUG_INTERNAL=y*
*CONFIG_IPIPE_TRACE=y*
*CONFIG_IPIPE_TRACE_ENABLE=y*
*CONFIG_IPIPE_TRACE_MCOUNT=y*
*CONFIG_IPIPE_TRACE_IRQSOFF=y*
*CONFIG_IPIPE_TRACE_SHIFT=14*
*CONFIG_IPIPE_TRACE_VMALLOC=y*
*CONFIG_IPIPE_TRACE_PANIC=y*
*CONFIG_DEBUG_KERNEL=y*
*CONFIG_DEBUG_SHIRQ=y*
*CONFIG_LOCKUP_DETECTOR=y*
*# CONFIG_HARDLOCKUP_DETECTOR is not set*
*# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set*
*CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0*
*# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set*
*CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0*
*CONFIG_DETECT_HUNG_TASK=y*
*CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120*
*# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set*
*CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0*
*# CONFIG_SCHED_DEBUG is not set*
*# CONFIG_SCHEDSTATS is not set*
*# CONFIG_TIMER_STATS is not set*
*CONFIG_DEBUG_OBJECTS=y*
*CONFIG_DEBUG_OBJECTS_SELFTEST=y*
*CONFIG_DEBUG_OBJECTS_FREE=y*
*CONFIG_DEBUG_OBJECTS_TIMERS=y*
*CONFIG_DEBUG_OBJECTS_WORK=y*
*CONFIG_DEBUG_OBJECTS_RCU_HEAD=y*
*CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y*
*CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1*
*CONFIG_DEBUG_SLAB=y*
*CONFIG_DEBUG_SLAB_LEAK=y*
*CONFIG_DEBUG_KMEMLEAK=y*
*CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400*
*# CONFIG_DEBUG_KMEMLEAK_TEST is not set*
*# CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF is not set*
*CONFIG_DEBUG_RT_MUTEXES=y*
*CONFIG_DEBUG_PI_LIST=y*
*# CONFIG_RT_MUTEX_TESTER is not set*
*CONFIG_DEBUG_SPINLOCK=y*
*CONFIG_DEBUG_MUTEXES=y*
*CONFIG_DEBUG_LOCK_ALLOC=y*
*CONFIG_PROVE_LOCKING=y*
*CONFIG_PROVE_RCU=y*
*CONFIG_PROVE_RCU_REPEATEDLY=y*
*CONFIG_SPARSE_RCU_POINTER=y*
*CONFIG_LOCKDEP=y*
*# CONFIG_LOCK_STAT is not set*
*# CONFIG_DEBUG_LOCKDEP is not set*
*CONFIG_TRACE_IRQFLAGS=y*
*# CONFIG_DEBUG_ATOMIC_SLEEP is not set*
*# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set*
*CONFIG_STACKTRACE=y*
*# CONFIG_DEBUG_STACK_USAGE is not set*
*# CONFIG_DEBUG_KOBJECT is not set*
*CONFIG_DEBUG_BUGVERBOSE=y*
*CONFIG_DEBUG_INFO=y*
*# CONFIG_DEBUG_INFO_REDUCED is not set*
*CONFIG_DEBUG_VM=y*
*CONFIG_DEBUG_WRITECOUNT=y*
*CONFIG_DEBUG_MEMORY_INIT=y*
*CONFIG_DEBUG_LIST=y*
*# CONFIG_TEST_LIST_SORT is not set*
*CONFIG_DEBUG_SG=y*
*CONFIG_DEBUG_NOTIFIERS=y*
*CONFIG_DEBUG_CREDENTIALS=y*
*CONFIG_ARCH_WANT_FRAME_POINTERS=y*
*CONFIG_FRAME_POINTER=y*
*# CONFIG_BOOT_PRINTK_DELAY is not set*
*# CONFIG_RCU_TORTURE_TEST is not set*
*# CONFIG_BACKTRACE_SELF_TEST is not set*
*# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set*
*# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set*
*# CONFIG_LKDTM is not set*
*# CONFIG_FAULT_INJECTION is not set*
*# CONFIG_LATENCYTOP is not set*
*# CONFIG_SYSCTL_SYSCALL_CHECK is not set*
*CONFIG_DEBUG_PAGEALLOC=y*
*CONFIG_WANT_PAGE_DEBUG_FLAGS=y*
*CONFIG_PAGE_POISONING=y*
*CONFIG_NOP_TRACER=y*
*CONFIG_HAVE_FUNCTION_TRACER=y*
*CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y*
*CONFIG_HAVE_DYNAMIC_FTRACE=y*
*CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y*
*CONFIG_HAVE_C_RECORDMCOUNT=y*
*CONFIG_RING_BUFFER=y*
*CONFIG_EVENT_TRACING=y*
*CONFIG_EVENT_POWER_TRACING_DEPRECATED=y*
*CONFIG_CONTEXT_SWITCH_TRACER=y*
*CONFIG_RING_BUFFER_ALLOW_SWAP=y*
*CONFIG_TRACING=y*
*CONFIG_GENERIC_TRACER=y*
*CONFIG_TRACING_SUPPORT=y*
*CONFIG_FTRACE=y*
*CONFIG_FUNCTION_TRACER=y*
*CONFIG_FUNCTION_GRAPH_TRACER=y*
*# CONFIG_IRQSOFF_TRACER is not set*
*# CONFIG_SCHED_TRACER is not set*
*CONFIG_BRANCH_PROFILE_NONE=y*
*# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set*
*# CONFIG_PROFILE_ALL_BRANCHES is not set*
*# CONFIG_STACK_TRACER is not set*
*# CONFIG_BLK_DEV_IO_TRACE is not set*
*# CONFIG_FUNCTION_PROFILER is not set*
*# CONFIG_FTRACE_STARTUP_TEST is not set*
*# CONFIG_RING_BUFFER_BENCHMARK is not set*
*# CONFIG_DYNAMIC_DEBUG is not set*
*# CONFIG_DMA_API_DEBUG is not set*
*# CONFIG_ATOMIC64_SELFTEST is not set*
*# CONFIG_SAMPLES is not set*
*CONFIG_HAVE_ARCH_KGDB=y*
*# CONFIG_KGDB is not set*
*# CONFIG_TEST_KSTRTOX is not set*
*# CONFIG_STRICT_DEVMEM is not set*
*CONFIG_ARM_UNWIND=y*
*CONFIG_OLD_MCOUNT=y*
*CONFIG_DEBUG_USER=y*
*CONFIG_DEBUG_LL=y*
*CONFIG_DEBUG_LL_UART_NONE=y*
*# CONFIG_DEBUG_ICEDCC is not set*
*CONFIG_EARLY_PRINTK=y*
*# CONFIG_OC_ETM is not set*
*
*
*#*
*# Security options*
*#*
*# CONFIG_KEYS is not set*
*# CONFIG_SECURITY_DMESG_RESTRICT is not set*
*# CONFIG_SECURITY is not set*
*# CONFIG_SECURITYFS is not set*
*CONFIG_DEFAULT_SECURITY_DAC=y*
*CONFIG_DEFAULT_SECURITY=""*
*CONFIG_CRYPTO=y*
*
*
*#*
*# Crypto core or helper*
*#*
*# CONFIG_CRYPTO_MANAGER is not set*
*# CONFIG_CRYPTO_MANAGER2 is not set*
*# CONFIG_CRYPTO_USER is not set*
*# CONFIG_CRYPTO_GF128MUL is not set*
*# CONFIG_CRYPTO_NULL is not set*
*# CONFIG_CRYPTO_CRYPTD is not set*
*# CONFIG_CRYPTO_AUTHENC is not set*
*# CONFIG_CRYPTO_TEST is not set*
*
*
*#*
*# Authenticated Encryption with Associated Data*
*#*
*# CONFIG_CRYPTO_CCM is not set*
*# CONFIG_CRYPTO_GCM is not set*
*# CONFIG_CRYPTO_SEQIV is not set*
*
*
*#*
*# Block modes*
*#*
*# CONFIG_CRYPTO_CBC is not set*
*# CONFIG_CRYPTO_CTR is not set*
*# CONFIG_CRYPTO_CTS is not set*
*# CONFIG_CRYPTO_ECB is not set*
*# CONFIG_CRYPTO_LRW is not set*
*# CONFIG_CRYPTO_PCBC is not set*
*# CONFIG_CRYPTO_XTS is not set*
*
*
*#*
*# Hash modes*
*#*
*# CONFIG_CRYPTO_HMAC is not set*
*# CONFIG_CRYPTO_XCBC is not set*
*# CONFIG_CRYPTO_VMAC is not set*
*
*
*#*
*# Digest*
*#*
*# CONFIG_CRYPTO_CRC32C is not set*
*# CONFIG_CRYPTO_GHASH is not set*
*# CONFIG_CRYPTO_MD4 is not set*
*# CONFIG_CRYPTO_MD5 is not set*
*# CONFIG_CRYPTO_MICHAEL_MIC is not set*
*# CONFIG_CRYPTO_RMD128 is not set*
*# CONFIG_CRYPTO_RMD160 is not set*
*# CONFIG_CRYPTO_RMD256 is not set*
*# CONFIG_CRYPTO_RMD320 is not set*
*# CONFIG_CRYPTO_SHA1 is not set*
*# CONFIG_CRYPTO_SHA256 is not set*
*# CONFIG_CRYPTO_SHA512 is not set*
*# CONFIG_CRYPTO_TGR192 is not set*
*# CONFIG_CRYPTO_WP512 is not set*
*
*
*#*
*# Ciphers*
*#*
*# CONFIG_CRYPTO_AES is not set*
*# CONFIG_CRYPTO_ANUBIS is not set*
*# CONFIG_CRYPTO_ARC4 is not set*
*# CONFIG_CRYPTO_BLOWFISH is not set*
*# CONFIG_CRYPTO_CAMELLIA is not set*
*# CONFIG_CRYPTO_CAST5 is not set*
*# CONFIG_CRYPTO_CAST6 is not set*
*# CONFIG_CRYPTO_DES is not set*
*# CONFIG_CRYPTO_FCRYPT is not set*
*# CONFIG_CRYPTO_KHAZAD is not set*
*# CONFIG_CRYPTO_SALSA20 is not set*
*# CONFIG_CRYPTO_SEED is not set*
*# CONFIG_CRYPTO_SERPENT is not set*
*# CONFIG_CRYPTO_TEA is not set*
*# CONFIG_CRYPTO_TWOFISH is not set*
*
*
*#*
*# Compression*
*#*
*# CONFIG_CRYPTO_DEFLATE is not set*
*# CONFIG_CRYPTO_ZLIB is not set*
*# CONFIG_CRYPTO_LZO is not set*
*
*
*#*
*# Random Number Generation*
*#*
*# CONFIG_CRYPTO_ANSI_CPRNG is not set*
*# CONFIG_CRYPTO_USER_API_HASH is not set*
*# CONFIG_CRYPTO_USER_API_SKCIPHER is not set*
*# CONFIG_CRYPTO_HW is not set*
*CONFIG_BINARY_PRINTF=y*
*
*
*#*
*# Library routines*
*#*
*CONFIG_BITREVERSE=y*
*# CONFIG_CRC_CCITT is not set*
*CONFIG_CRC16=y*
*# CONFIG_CRC_T10DIF is not set*
*# CONFIG_CRC_ITU_T is not set*
*CONFIG_CRC32=y*
*# CONFIG_CRC7 is not set*
*# CONFIG_LIBCRC32C is not set*
*# CONFIG_CRC8 is not set*
*CONFIG_ZLIB_INFLATE=y*
*CONFIG_ZLIB_DEFLATE=y*
*CONFIG_XZ_DEC=y*
*CONFIG_XZ_DEC_X86=y*
*CONFIG_XZ_DEC_POWERPC=y*
*CONFIG_XZ_DEC_IA64=y*
*CONFIG_XZ_DEC_ARM=y*
*CONFIG_XZ_DEC_ARMTHUMB=y*
*CONFIG_XZ_DEC_SPARC=y*
*CONFIG_XZ_DEC_BCJ=y*
*# CONFIG_XZ_DEC_TEST is not set*
*CONFIG_DECOMPRESS_GZIP=y*
*CONFIG_HAS_IOMEM=y*
*CONFIG_HAS_IOPORT=y*
*CONFIG_HAS_DMA=y*
*CONFIG_NLATTR=y*
*# CONFIG_AVERAGE is not set*
*# CONFIG_CORDIC is not set*


> Also, if you have all Xenomai and I-pipe debug options enabled, could
> you try disabling them?
>
> I will, first thing in the morning.

> Xenomai: suspending kernel thread 82922908 ('rtk5/0') at 0x8005bbc8
> after exception #0x0
>
> This looks like the same bug as in the previous mail. We desperately
> would like to know what is at 0x8005bbc8
>

But I don't have j-tag available to use - at least for now.
KGDB as far as I know doesn't correspond to xenomai 2.6.1, am I right? Or
maybe it is worth trying to use kgdb to specify the value of those
addresses?


Looking forward to hearing from you tomorrow,
I appreciate your help,

-- 
Marcin Kuśka

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-03 23:04             ` Marcin Kuśka
@ 2012-09-03 23:31               ` Gilles Chanteperdrix
  2012-09-06  8:00                 ` Marcin Kuśka
  0 siblings, 1 reply; 18+ messages in thread
From: Gilles Chanteperdrix @ 2012-09-03 23:31 UTC (permalink / raw)
  To: Marcin Kuśka; +Cc: xenomai

On 09/04/2012 01:04 AM, Marcin Kuśka wrote:

>> (...)
> 
>>
>>> I-pipe, 1.000 MHz clocksource\
>>
> 
> I was so concentrated on making work kernel on hardware that I somehow
> ignored it.
> 
> 
>> A Cortex-A9 (in MP mode) should use the "global timer" clock source,
>>
> 
> That's good news because I decided to switch off SMP option and systems
> works only with one CPU

>

> 
>>
>>> smsc911x smsc911x: eth0: MAC Address: 00:02:f7:00:40:9c
>>> ------------[ cut here ]------------
>>> WARNING: at mm/slab.c:2264 kmem_cache_create+0x690/0x6dc()
>>
> 
>> I would investigate this first. This looks scary.
>>
> 
> What do you mean by investigate - try other options? SLUB e.g.?


I mean look at mm/slab.c line 2264 what the warning means, understanding
how this can happen and fix it.

>> High latencies for a cortex-A9. Maybe you enabled all xenomai debug
>> options?
> 
> 
> That's right - all debug options are on.


Well, maybe some kernel debug option causes an issue.

> 
> 
>>> Xenomai: RTDM: closing file descriptor 0.
>>> Segmentation fault
>>
>> Well without a disassembly of the faulting code and the values of the
>> the registers, we have no idea. Could you post your kernel configuration?
>>
> 
> I attached my kernel config with my previous mail, but here it is:


"attached" is the key word, simply paste the configuration in the mail
body, this make it possible to reply quoting contents of the file. And
in plain text (it is useless to post HTML to the xenomai mailing list,
since the mails got converted to plain text anyway).

> *#*

> *# Kernel Performance Events And Counters*
> *#*
> *CONFIG_PERF_EVENTS=y*
> *# CONFIG_PERF_COUNTERS is not set*
> *# CONFIG_DEBUG_PERF_USE_VMALLOC is not set*
> *CONFIG_VM_EVENT_COUNTERS=y*
> *CONFIG_COMPAT_BRK=y*
> *CONFIG_SLAB=y*
> *# CONFIG_SLUB is not set*
> *# CONFIG_SLOB is not set*
> *CONFIG_PROFILING=y*
> *CONFIG_TRACEPOINTS=y*
> *CONFIG_OPROFILE=y*
> *CONFIG_HAVE_OPROFILE=y*
> *# CONFIG_KPROBES is not set*
> *CONFIG_HAVE_KPROBES=y*
> *CONFIG_HAVE_KRETPROBES=y*
> *CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y*
> *CONFIG_HAVE_CLK=y*
> *CONFIG_HAVE_DMA_API_DEBUG=y*
> *CONFIG_HAVE_HW_BREAKPOINT=y*


Please try disabling oprofile, tracepoints and profiling.


> *# CONFIG_XENO_OPT_DEBUG_NUCLEUS is not set*
> *CONFIG_XENO_OPT_DEBUG_XNLOCK=y*


You do not need that without SMP.

> *# CONFIG_XENO_OPT_DEBUG_QUEUES is not set*
> *# CONFIG_XENO_OPT_DEBUG_REGISTRY is not set*
> *# CONFIG_XENO_OPT_DEBUG_TIMERS is not set*
> *CONFIG_XENO_OPT_DEBUG_SYNCH_RELAX=y*
> *CONFIG_XENO_OPT_WATCHDOG=y*
> *CONFIG_XENO_OPT_WATCHDOG_TIMEOUT=4*
> *# CONFIG_XENO_OPT_SHIRQ is not set*
> *CONFIG_XENO_OPT_SELECT=y*
> *CONFIG_XENO_OPT_HOSTRT=y*


> *#*
> *# Kernel Features*
> *#*
> *CONFIG_TICK_ONESHOT=y*
> *# CONFIG_NO_HZ is not set*
> *CONFIG_HIGH_RES_TIMERS=y*
> *CONFIG_GENERIC_CLOCKEVENTS_BUILD=y*
> *# CONFIG_SMP is not set*
> *# CONFIG_VMSPLIT_3G is not set*
> *CONFIG_VMSPLIT_2G=y*


Never tested that on ARM, always run with VMSPLIT_3G.

> *CONFIG_IPIPE_DEBUG=y*
> *CONFIG_IPIPE_DEBUG_CONTEXT=y*
> *CONFIG_IPIPE_DEBUG_INTERNAL=y*
> *CONFIG_IPIPE_TRACE=y*
> *CONFIG_IPIPE_TRACE_ENABLE=y*
> *CONFIG_IPIPE_TRACE_MCOUNT=y*
> *CONFIG_IPIPE_TRACE_IRQSOFF=y*
> *CONFIG_IPIPE_TRACE_SHIFT=14*
> *CONFIG_IPIPE_TRACE_VMALLOC=y*
> *CONFIG_IPIPE_TRACE_PANIC=y*


Disable all that.


> *CONFIG_DEBUG_OBJECTS=y*
> *CONFIG_DEBUG_OBJECTS_SELFTEST=y*
> *CONFIG_DEBUG_OBJECTS_FREE=y*
> *CONFIG_DEBUG_OBJECTS_TIMERS=y*
> *CONFIG_DEBUG_OBJECTS_WORK=y*
> *CONFIG_DEBUG_OBJECTS_RCU_HEAD=y*
> *CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y*
> *CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1*
> *CONFIG_DEBUG_SLAB=y*
> *CONFIG_DEBUG_SLAB_LEAK=y*
> *CONFIG_DEBUG_KMEMLEAK=y*
> *CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400*
> *# CONFIG_DEBUG_KMEMLEAK_TEST is not set*
> *# CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF is not set*
> *CONFIG_DEBUG_RT_MUTEXES=y*
> *CONFIG_DEBUG_PI_LIST=y*
> *# CONFIG_RT_MUTEX_TESTER is not set*
> *CONFIG_DEBUG_SPINLOCK=y*
> *CONFIG_DEBUG_MUTEXES=y*
> *CONFIG_DEBUG_LOCK_ALLOC=y*
> *CONFIG_PROVE_LOCKING=y*
> *CONFIG_PROVE_RCU=y*
> *CONFIG_PROVE_RCU_REPEATEDLY=y*
> *CONFIG_SPARSE_RCU_POINTER=y*
> *CONFIG_LOCKDEP=y*
> *# CONFIG_LOCK_STAT is not set*
> *# CONFIG_DEBUG_LOCKDEP is not set*
> *CONFIG_TRACE_IRQFLAGS=y*
> *# CONFIG_DEBUG_ATOMIC_SLEEP is not set*
> *# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set*
> *CONFIG_STACKTRACE=y*
> *# CONFIG_DEBUG_STACK_USAGE is not set*
> *# CONFIG_DEBUG_KOBJECT is not set*
> *CONFIG_DEBUG_BUGVERBOSE=y*
> *CONFIG_DEBUG_INFO=y*
> *# CONFIG_DEBUG_INFO_REDUCED is not set*
> *CONFIG_DEBUG_VM=y*
> *CONFIG_DEBUG_WRITECOUNT=y*
> *CONFIG_DEBUG_MEMORY_INIT=y*
> *CONFIG_DEBUG_LIST=y*
> *# CONFIG_TEST_LIST_SORT is not set*
> *CONFIG_DEBUG_SG=y*
> *CONFIG_DEBUG_NOTIFIERS=y*
> *CONFIG_DEBUG_CREDENTIALS=y*
> *CONFIG_ARCH_WANT_FRAME_POINTERS=y*
> *CONFIG_FRAME_POINTER=y*
> *# CONFIG_BOOT_PRINTK_DELAY is not set*
> *# CONFIG_RCU_TORTURE_TEST is not set*
> *# CONFIG_BACKTRACE_SELF_TEST is not set*
> *# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set*
> *# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set*
> *# CONFIG_LKDTM is not set*
> *# CONFIG_FAULT_INJECTION is not set*
> *# CONFIG_LATENCYTOP is not set*
> *# CONFIG_SYSCTL_SYSCALL_CHECK is not set*
> *CONFIG_DEBUG_PAGEALLOC=y*
> *CONFIG_WANT_PAGE_DEBUG_FLAGS=y*
> *CONFIG_PAGE_POISONING=y*
> *CONFIG_NOP_TRACER=y*
> *CONFIG_HAVE_FUNCTION_TRACER=y*
> *CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y*
> *CONFIG_HAVE_DYNAMIC_FTRACE=y*
> *CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y*
> *CONFIG_HAVE_C_RECORDMCOUNT=y*
> *CONFIG_RING_BUFFER=y*
> *CONFIG_EVENT_TRACING=y*
> *CONFIG_EVENT_POWER_TRACING_DEPRECATED=y*
> *CONFIG_CONTEXT_SWITCH_TRACER=y*
> *CONFIG_RING_BUFFER_ALLOW_SWAP=y*
> *CONFIG_TRACING=y*
> *CONFIG_GENERIC_TRACER=y*
> *CONFIG_TRACING_SUPPORT=y*
> *CONFIG_FTRACE=y*


Disable FTRACE. You should also remove all these kernel debugging
options, they probably have nothing to do with the issue you are seeing.

>> Also, if you have all Xenomai and I-pipe debug options enabled, could
>> you try disabling them?
>>
>> I will, first thing in the morning.
> 
>> Xenomai: suspending kernel thread 82922908 ('rtk5/0') at 0x8005bbc8
>> after exception #0x0
>>
>> This looks like the same bug as in the previous mail. We desperately
>> would like to know what is at 0x8005bbc8
>>
> 
> But I don't have j-tag available to use - at least for now.
> KGDB as far as I know doesn't correspond to xenomai 2.6.1, am I right? Or
> maybe it is worth trying to use kgdb to specify the value of those
> addresses?


You do not need a JTAG to know what is at a given address: simply use
objdump on the kernel image. You can add some printks in Xenomai to
print the register values. I am afraid porting the I-pipe patch to a new
board requires a minimum of knowledge in kernel development, and this is
usually a job done in less than a week, so, I advise you to ask someone
around with some knowledge in kernel development to help you.


-- 
                                                                Gilles.



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-03 23:31               ` Gilles Chanteperdrix
@ 2012-09-06  8:00                 ` Marcin Kuśka
  2012-09-06  8:27                   ` Gilles Chanteperdrix
  0 siblings, 1 reply; 18+ messages in thread
From: Marcin Kuśka @ 2012-09-06  8:00 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

> Well, maybe some kernel debug option causes an issue.
>

> Please try disabling oprofile, tracepoints and profiling.
>

oprofile and profiling disabled - tracepoints not set

Never tested that on ARM, always run with VMSPLIT_3G.
>

Changed.


> Disable FTRACE. You should also remove all these kernel debugging
> options, they probably have nothing to do with the issue you are seeing.
>

ftrace disabled and all debug options also.

After disabling all the debugs the xeno-test with a dohell test looks like
this:

(...)

== Testing FPU check routines...

d0: 1 != 2

d1: 1 != 2

d2: 1 != 2

d3: 1 != 2

d4: 1 != 2

d5: 1 != 2

d6: 1 != 2

d7: 1 != 2

d8: 1 != 2

d9: 1 != 2

d10: 1 != 2

d11: 1 != 2

d12: 1 != 2

d13: 1 != 2

d14: 1 != 2

d15: 1 != 2

== FPU check routines: OK.

== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10
rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16
rtuo_ufpp0-17 rtuo_ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21
rtuo_ufpp_ufps0-22

As you said "A Cortex-A9 (in MP mode) should use the "global timer" clock
source," but in the startup log the twd_timer_setup return a "no clock
found" message.

The code in smp_twd.c:

if (twd_clk == NULL) {
        twd_clk = clk_get(NULL, "smp_twd");
        if (IS_ERR(twd_clk))
            pr_warn("%s: no clock found\n", __func__);
        else
            clk_enable(twd_clk);
    }

That's probably because the clock is not registered in v2m.c (as I suppose
it should be). The initialization function looks like this:

static void __init v2m_timer_init(void)
{
    u32 scctrl;

    /* Select 1MHz TIMCLK as the reference clock for SP804 timers */
    scctrl = readl(MMIO_P2V(V2M_SYSCTL + SCCTRL));
    scctrl |= SCCTRL_TIMEREN0SEL_TIMCLK;
    scctrl |= SCCTRL_TIMEREN1SEL_TIMCLK;
    writel(scctrl, MMIO_P2V(V2M_SYSCTL + SCCTRL));

    writel(0, MMIO_P2V(V2M_TIMER0) + TIMER_CTRL);
    writel(0, MMIO_P2V(V2M_TIMER1) + TIMER_CTRL);

    sp804_clocksource_init(MMIO_P2V(V2M_TIMER1), V2M_TIMER1, "v2m-timer1");
    sp804_clockevents_init(MMIO_P2V(V2M_TIMER0),
IRQ_V2M_TIMER0,"v2m-timer0");
}

I'm not sure about what addresses should I pass to sp804_clocksource_init()
and sp804_clockevents_init() functions. I tried with v2m-timer2 but it
didn't work.

I also added to v2m.c following code:

static struct clk smp_twd = {
    .rate   = 2000000,
};

and

static struct clk_lookup v2m_lookups[] = {

(...)

{    /* SMP timers */
        .dev_id        = "smp_twd",
        .con_id        = "smp_twd",
        .clk        = &smp_twd,
    },
};

I following the I-pipe-core:ArmPorting document.

-- 
Marcin Kuśka

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-06  8:00                 ` Marcin Kuśka
@ 2012-09-06  8:27                   ` Gilles Chanteperdrix
  2012-09-06 13:31                     ` Marcin Kuśka
  0 siblings, 1 reply; 18+ messages in thread
From: Gilles Chanteperdrix @ 2012-09-06  8:27 UTC (permalink / raw)
  To: Marcin Kuśka; +Cc: xenomai

On 09/06/2012 10:00 AM, Marcin Kuśka wrote:
>> Well, maybe some kernel debug option causes an issue.
>>
> 
>> Please try disabling oprofile, tracepoints and profiling.
>>
> 
> oprofile and profiling disabled - tracepoints not set
> 
> Never tested that on ARM, always run with VMSPLIT_3G.
>>
> 
> Changed.
> 
> 
>> Disable FTRACE. You should also remove all these kernel debugging
>> options, they probably have nothing to do with the issue you are seeing.
>>
> 
> ftrace disabled and all debug options also.
> 
> After disabling all the debugs the xeno-test with a dohell test looks like
> this:

Like what, no kernel message ? I guess you should re-enable the debug
then. And please do not forget what I asked you:
- what of the SLAB issue?
- what of the disassembly of the address where the fault happens?

> 
> As you said "A Cortex-A9 (in MP mode) should use the "global timer" clock
> source," but in the startup log the twd_timer_setup return a "no clock
> found" message.
> 
> The code in smp_twd.c:
> 
> if (twd_clk == NULL) {
>         twd_clk = clk_get(NULL, "smp_twd");
>         if (IS_ERR(twd_clk))
>             pr_warn("%s: no clock found\n", __func__);
>         else
>             clk_enable(twd_clk);
>     }
> 
> That's probably because the clock is not registered in v2m.c (as I suppose
> it should be).

That is a non fatal error, it simply results in an imprecise timer
frequency, but the system works.

> The initialization function looks like this:
> 
> static void __init v2m_timer_init(void)
> {
>     u32 scctrl;
> 
>     /* Select 1MHz TIMCLK as the reference clock for SP804 timers */
>     scctrl = readl(MMIO_P2V(V2M_SYSCTL + SCCTRL));
>     scctrl |= SCCTRL_TIMEREN0SEL_TIMCLK;
>     scctrl |= SCCTRL_TIMEREN1SEL_TIMCLK;
>     writel(scctrl, MMIO_P2V(V2M_SYSCTL + SCCTRL));
> 
>     writel(0, MMIO_P2V(V2M_TIMER0) + TIMER_CTRL);
>     writel(0, MMIO_P2V(V2M_TIMER1) + TIMER_CTRL);
> 
>     sp804_clocksource_init(MMIO_P2V(V2M_TIMER1), V2M_TIMER1, "v2m-timer1");
>     sp804_clockevents_init(MMIO_P2V(V2M_TIMER0),
> IRQ_V2M_TIMER0,"v2m-timer0");
> }
> 
> I'm not sure about what addresses should I pass to sp804_clocksource_init()
> and sp804_clockevents_init() functions. I tried with v2m-timer2 but it
> didn't work.

The first address is the virtual address of the timer registers base the
result of ioremap or of a static mapping by iotable_init), and the
second is the physical address for the same address. Normally the I-pipe
core code is already modified to call these functions with the right
parameter, but since this code is untested, you are right to double
check it.

> 
> I also added to v2m.c following code:
> 
> static struct clk smp_twd = {
>     .rate   = 2000000,
> };

2MHz ? Normally the clock runs at half the core frequency, your ARM core
is running at 4MHz?

> I following the I-pipe-core:ArmPorting document.

Good, what about the call to gt_setup ?

http://www.xenomai.org/index.php/I-pipe-core:ArmPorting#The_Cortex_A9_case

It will allow you to use the global timer as clocksource instead of the
sp804. In order to check the tsc emulation, you can run the xenomai
regression test named "tsc".

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-06  8:27                   ` Gilles Chanteperdrix
@ 2012-09-06 13:31                     ` Marcin Kuśka
  2012-09-06 13:44                       ` Marcin Kuśka
  2012-09-06 14:02                       ` Gilles Chanteperdrix
  0 siblings, 2 replies; 18+ messages in thread
From: Marcin Kuśka @ 2012-09-06 13:31 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

>
> Like what, no kernel message ?
>

Sory it must have been pasted wrong:

/usr/xenomai/bin # ./xeno-test -l "dohell -s 10.76.16.117 -m /mnt" -t 2
Started child 461: /bin/sh /usr/xenomai/bin/xeno-test-run-wrapper
./xeno-test -t 2
+ echo 0
+ /usr/xenomai/bin/arith
mul: 0x79364d93, shft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 0.000 ns, rejected 9999/10000
inlined llimd: 0x79364d9364d9362f: 3979.800 ns, rejected 4/10000
inlined llmulshft: 0x79364d92ffffffe1: 750.000 ns, rejected 9996/10000
inlined nodiv_llimd: 0x79364d9364d9362f: 500.000 ns, rejected 9998/10000
out of line calibration: 0x0000000000000000: 800.000 ns, rejected 9995/10000
out of line llimd: 0x79364d9364d9362f: 3180.200 ns, rejected 4/10000
out of line llmulshft: 0x79364d92ffffffe1: -300.000 ns, rejected 9998/10000
out of line nodiv_llimd: 0x79364d9364d9362f: 33.300 ns, rejected 9994/10000

signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 750.000 ns, rejected 9996/10000
inlined llimd: 0x86c9b26c9b26c9d1: 3253.600 ns, rejected 5/10000
inlined llmulshft: 0x86c9b26d0000001e: -250.000 ns, rejected 9998/10000
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: -250.000 ns, rejected 9998/10000
out of line calibration: 0x0000000000000000: 800.000 ns, rejected 9995/10000
out of line llimd: 0x86c9b26c9b26c9d1: 3203.300 ns, rejected 4/10000
out of line llmulshft: 0x86c9b26d0000001e: -800.000 ns, rejected 9999/10000
out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 33.300 ns, rejected 9994/10000

unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 666.600 ns, rejected 9997/10000
inlined nodiv_ullimd: 0x79364d9364d9362f: 133.400 ns, rejected 9995/10000
out of line calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
out of line nodiv_ullimd: 0x79364d9364d9362f: 0.000 ns, rejected 9998/10000
+ /usr/xenomai/bin/clocktest -C 42 -T 30
== Tested clock: 42 (CLOCK_HOST_REALTIME)
CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
--- -------------------- ---------------- ---------- --------------
  0                  2.0            0.000          0            0.0
  1                  2.0            0.000          0            0.0
  2                  2.0            0.000          0            0.0
  3                  2.0            0.000          0            0.0
+ /usr/xenomai/bin/switchtest -T 30
== Testing FPU check routines...
d0: 1 != 2
d1: 1 != 2
d2: 1 != 2
d3: 1 != 2
d4: 1 != 2
d5: 1 != 2
d6: 1 != 2
d7: 1 != 2
d8: 1 != 2
d9: 1 != 2
d10: 1 != 2
d11: 1 != 2
d12: 1 != 2
d13: 1 != 2
d14: 1 != 2
d15: 1 != 2
== FPU check routines: OK.
== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9

Another test with no parameters

/usr/xenomai/bin # ./xeno-test
Started child 467: /bin/sh /usr/xenomai/bin/xeno-test-run-wrapper
./xeno-test
+ echo 0
+ /usr/xenomai/bin/arith
mul: 0x79364d93, shft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
inlined llimd: 0x79364d9364d9362f: 3478.500 ns, rejected 6/10000
inlined llmulshft: 0x79364d92ffffffe1: 333.300 ns, rejected 9994/10000
inlined nodiv_llimd: 0x79364d9364d9362f: -500.000 ns, rejected 9999/10000
out of line calibration: 0x0000000000000000: 800.000 ns, rejected 9995/10000
out of line llimd: 0x79364d9364d9362f: 3180.500 ns, rejected 5/10000
out of line llmulshft: 0x79364d92ffffffe1: -133.400 ns, rejected 9997/10000
out of line nodiv_llimd: 0x79364d9364d9362f: -300.000 ns, rejected
9998/10000

signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 0.000 ns, rejected 9999/10000
inlined llimd: 0x86c9b26c9b26c9d1: 4000.600 ns, rejected 3/10000
inlined llmulshft: 0x86c9b26d0000001e: 666.600 ns, rejected 9997/10000
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 800.000 ns, rejected 9995/10000
out of line calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
out of line llimd: 0x86c9b26c9b26c9d1: 3510.400 ns, rejected 1/10000
out of line llmulshft: 0x86c9b26d0000001e: 250.000 ns, rejected 9996/10000
out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 166.600 ns, rejected 9997/10000

unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
inlined nodiv_ullimd: 0x79364d9364d9362f: 0.000 ns, rejected 9998/10000
out of line calibration: 0x0000000000000000: 666.600 ns, rejected 9997/10000
out of line nodiv_ullimd: 0x79364d9364d9362f: -166.600 ns, rejected
9998/10000
+ /usr/xenomai/bin/clocktest -C 42 -T 30
== Tested clock: 42 (CLOCK_HOST_REALTIME)
CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
--- -------------------- ---------------- ---------- --------------
  0                  2.0            0.000          0            0.0
  1                  2.0            0.000          0            0.0
  2                  2.0            0.000          0            0.0
  3                  2.0            0.000          0            0.0
+ /usr/xenomai/bin/switchtest -T 30
== Testing FPU check routines...
d0: 1 != 2
d1Xenomai: suspending kernel thread c9502128 ('rtk4/0') at 0xc00672ac after
exception #0x0
: 1 != 2
d2: 1 != 2
d3: 1 != 2
d4: 1 != 2
d5: 1 != 2
d6: 1 != 2
d7: 1 != 2
d8: 1 != 2
d9: 1 != 2
d10: 1 != 2
d11: 1 != 2
d12: 1 != 2
d13: 1 != 2
d14: 1 != 2
d15: 1 != 2
== FPU check routines: OK.
== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10
rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16
rtuo_ufpp0-17 rtuo_ufpp0-18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-21
rtuo_ufpp_ufps0-22 sleeper_ufps1-0 rtk1-1 rtk1-2 rtk_fp1-3 rtk_fp1-4
rtk_fp_ufpp1-5 rtk_fp_ufpp1-6 rtup1-7 rtup1-8 rtup_ufpp1-9 rtup_ufpp1-10
rtus1-11 rtus1-12 rtus_ufps1-13 rtus_ufps1-14 rtuo1-15 rtuo1-16 Xenomai:
suspending kernel thread c95010c8 ('rtk2/0') at 0xc00672ac after exception
#0x0
rtuBoU_Gu:f pMAX_LOCK_DEPTH too low!
p1-17 rtuo_ufpp1-18 rtuo_ufps1-19 rtuo_ufps1-20 rtuo_ufpp_ufps1-21
rtuo_ufpp_ufps1-22 sleeper_ufps2-0 rtk2-1 rtk2-2 rtk_fp2-3 rtk_fp2-4
rtk_fp_ufpp2-5 rtk_fp_ufpp2-6 rtup2-7 rtup2-8 rtup_ufpp2-9 rtup_ufpp2-10
rtus2-11 rtus2-12 rtus_ufps2-13 rtus_ufps2-14 rtuo2-15 rtuo2-16
rtuo_ufpp2-17 rtuo_ufpp2-18 rtuo_ufps2-19 rtuo_ufps2-20 rtuo_ufpp_ufps2-21
rtuo_ufpp_ufps2-22 sleeper_ufps3-0 rtk3-1 rtk3-2 rtk_fp3-3 rtk_fp3-4
rtk_fp_ufpp3-5 rtk_fp_ufpp3-6 rtup3-7 rtup3-8 rtup_ufpp3-9 rtup_ufpp3-10
rtus3-11 rtus3-12 rtus_ufps3-13 rtus_ufps3-14 rtuo3-15 rtuo3-16
rtuo_ufpp3-17 rtuo_ufpp3-18 rtuo_ufps3-19 rtuo_ufps3-20 rtuo_ufpp_ufps3-21
rtuo_ufpp_ufps3-22
turning off the locking correctness validator.
[<c001568c>] (unwind_backtrace+0x0/0x104) from [<c042ac84>]
(dump_stack+0x20/0x24)
[<c042ac84>] (dump_stack+0x20/0x24) from [<c006aa58>]
(__lock_acquire+0x139c/0x1a9c)
[<c006aa58>] (__lock_acquire+0x139c/0x1a9c) from [<c006b69c>]
(lock_acquire+0x9c/0x124)
[<c006b69c>] (lock_acquire+0x9c/0x124) from [<c0432dc4>]
(_raw_spin_lock+0x3c/0x4c)
[<c0432dc4>] (_raw_spin_lock+0x3c/0x4c) from [<c0031f68>]
(vprintk+0x78/0x540)
[<c0031f68>] (vprintk+0x78/0x540) from [<c042b384>] (printk+0x194/0x268)
[<c042b384>] (printk+0x194/0x268) from [<c042ae70>]
(__do_kernel_fault.part.4+0x48/0x84)
[<c042ae70>] (__do_kernel_fault.part.4+0x48/0x84) from [<c001b1a0>]
(do_page_fault.part.5+0x310/0x378)
[<c001b1a0>] (do_page_fault.part.5+0x310/0x378) from [<c001b24c>]
(do_page_fault+0x44/0x4c)
[<c001b24c>] (do_page_fault+0x44/0x4c) from [<c0008600>]
(do_DataAbort+0x44/0x108)
[<c0008600>] (do_DataAbort+0x44/0x108) from [<c000e61c>]
(__dabt_svc+0x3c/0x60)

Another one:

/usr/xenomai/bin # ./xeno-test -l "dohell -s 10.76.16.117" -t 2
Started child 460: /bin/sh /usr/xenomai/bin/xeno-test-run-wrapper
./xeno-test -t 2
+ echo 0
+ /usr/xenomai/bin/arith
mul: 0x79364d93, shft: 26
integ: 30, frac: 0x4d9364d9364d9364

signed positive operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 800.000 ns, rejected 9995/10000
inlined llimd: 0x79364d9364d9362f: 3182.900 ns, rejected 18/10000
inlined llmulshft: 0x79364d92ffffffe1: -300.000 ns, rejected 9998/10000
inlined nodiv_llimd: 0x79364d9364d9362f: 33.300 ns, rejected 9994/10000
out of line calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
out of line llimd: 0x79364d9364d9362f: 3480.800 ns, rejected 10/10000
out of line llmulshft: 0x79364d92ffffffe1: 250.000 ns, rejected 9996/10000
out of line nodiv_llimd: 0x79364d9364d9362f: 166.600 ns, rejected 9997/10000

signed negative operation: 0xfc00000000000001 * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 0.000 ns, rejected 9999/10000
inlined llimd: 0x86c9b26c9b26c9d1: 4000.500 ns, rejected 22/10000
inlined llmulshft: 0x86c9b26d0000001e: 833.300 ns, rejected 9994/10000
inlined nodiv_llimd: 0x86c9b26c9b26c9d1: 833.300 ns, rejected 9994/10000
out of line calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
out of line llimd: 0x86c9b26c9b26c9d1: 3502.100 ns, rejected 13/10000
out of line llmulshft: 0x86c9b26d0000001e: 166.600 ns, rejected 9997/10000
out of line nodiv_llimd: 0x86c9b26c9b26c9d1: 400.000 ns, rejected 9990/10000

unsigned operation: 0x03ffffffffffffff * 1000000000 / 33000000
inline calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
inlined nodiv_ullimd: 0x79364d9364d9362f: 0.000 ns, rejected 9998/10000
out of line calibration: 0x0000000000000000: 500.000 ns, rejected 9998/10000
out of line nodiv_ullimd: 0x79364d9364d9362f: -500.000 ns, rejected
9999/10000
+ /usr/xenomai/bin/clocktest -C 42 -T 30
== Tested clock: 42 (CLOCK_HOST_REALTIME)
CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
--- -------------------- ---------------- ---------- --------------
  0                  2.0            0.000          0            0.0
  1                  2.0            0.000          0            0.0
  2                  2.0            0.000          0            0.0
  3                  2.0            0.000          0            0.0
+ /usr/xenomai/bin/switchtest -T 30
== Testing FPU check routines...
d0: 1 != 2
d1: 1 != 2
d2: 1 != 2
d3: 1 != 2
d4: 1 != 2
d5: 1 != 2
d6: 1 != 2
d7: 1 != 2
d8: 1 != 2
d9: 1 != 2
d10: 1 != 2
d11: 1 != 2
d12: 1 != 2
d13: 1 != 2
d14: 1 != 2
d15: 1 != 2
== FPU check routines: OK.
== Threads: sleeper_ufps0-0 rtk0-1 rtk0-2 rtk_fp0-3 rtk_fp0-4
rtk_fp_ufpp0-5 rtk_fp_ufpp0-6 rtup0-7 rtup0-8 rtup_ufpp0-9 rtup_ufpp0-10
rtus0-11 rtus0-12 rtus_ufps0-13 rtus_ufps0-14 rtuo0-15 rtuo0-16
rtuo_ufpp0-17 rtuo_ufpp0-Xenomai: suspending kernel thread c94f2958
('rtk5/2') at 0xc00672ac after exception #0x0
Xenomai: suspending kernel thread c9502958 ('rtk5/3') at 0xc00672ac after
exception #0x0
18 rtuo_ufps0-19 rtuo_ufps0-20 rtuo_ufpp_ufps0-2

I guess you should re-enable the debug
> then. And please do not forget what I asked you:
> - what of the SLAB issue?
>
>
The message was:
WARNING: at mm/slab.c:2264 kmem_cache_create+0x6a4/0x6f4()

In the slab.c:2264 line there is

#if DEBUG
WARN_ON(strchr(name, ' '));    /* It confuses parsers */

where @name: "A string which is used in /proc/slabinfo to identify this
cache." So i put debug code before that warning:

printk(KERN_ERR"kmem_cache_create: Cache name=  %s\n", name);

#if DEBUG
WARN_ON(strchr(name, ' '));    /* It confuses parsers */
(...)

 And the result:

JFFS2 version 2.2. (NAND) Š 2001-2006 Red Hat, Inc.
kmem_cache_create: Cache name=  jffs2_i
kmem_cache_create: Cache name=  jffs2_full_dnode
kmem_cache_create: Cache name=  jffs2_raw_dirent
kmem_cache_create: Cache name=  jffs2_raw_inode
kmem_cache_create: Cache name=  jffs2_tmp_dnode
kmem_cache_create: Cache name=  jffs2_refblock
kmem_cache_create: Cache name=  jffs2_node_frag
kmem_cache_create: Cache name=  jffs2_inode_cache
msgmni has been set to 482
io scheduler noop registered (default)
start plist test
end plist test
kmem_cache_create: Cache name=  sd_ext_cdb
smsc911x: Driver version 2008-10-21
smsc911x-mdio: probed
smsc911x smsc911x: eth0: attached PHY driver [Generic PHY]
(mii_bus:phy_addr=ffffffff:01, irq=-1)
smsc911x smsc911x: eth0: MAC Address: 00:02:f7:00:40:9c
kmem_cache_create: Cache name=  isp1760 urb_listitem
------------[ cut here ]------------
WARNING: at mm/slab.c:2264 kmem_cache_create+0x6dc/0x774()
Modules linked in:
[<c001568c>] (unwind_backtrace+0x0/0x104) from [<c0464464>]
(dump_stack+0x20/0x24)
[<c0464464>] (dump_stack+0x20/0x24) from [<c0031050>]
(warn_slowpath_common+0x5c/0x74)
[<c0031050>] (warn_slowpath_common+0x5c/0x74) from [<c0031094>]
(warn_slowpath_null+0x2c/0x34)
[<c0031094>] (warn_slowpath_null+0x2c/0x34) from [<c01974e4>]
(kmem_cache_create+0x6dc/0x774)
[<c01974e4>] (kmem_cache_create+0x6dc/0x774) from [<c060c2c8>]
(init_kmem_once+0x30/0xb4)
[<c060c2c8>] (init_kmem_once+0x30/0xb4) from [<c060c35c>]
(isp1760_init+0x10/0x30)
[<c060c35c>] (isp1760_init+0x10/0x30) from [<c00088b4>]
(do_one_initcall+0x48/0x190)
[<c00088b4>] (do_one_initcall+0x48/0x190) from [<c05f78f4>]
(kernel_init+0xd4/0x17c)
[<c05f78f4>] (kernel_init+0xd4/0x17c) from [<c000f8cc>]
(kernel_thread_exit+0x0/0x8)
---[ end trace b843230cdc8e6578 ]---
kmem_cache_create: Cache name=  isp1760_qtd
kmem_cache_create: Cache name=  isp1760_qh
isp1760 isp1760: NXP ISP1760 USB Host Controller
isp1760 isp1760: new USB bus registered, assigned bus number 1

So the isp1760 urb_listitem does have a space in its name and that's all
warning. That's not serious is it?

>> - what of the disassembly of the address where the fault happens?

Speaking of that faults - I'm working on printks, it will take some time.


2MHz ? Normally the clock runs at half the core frequency, your ARM core
> is running at 4MHz?
>

You're right - it runs 400MHz

Good, what about the call to gt_setup ?
>
> http://www.xenomai.org/index.php/I-pipe-core:ArmPorting#The_Cortex_A9_case
>
> It will allow you to use the global timer as clocksource instead of the
> sp804. In order to check the tsc emulation, you can run the xenomai
> regression test named "tsc".
>


I'm not really sure about physical address of the global timer (the first
parameter of gt_setup). In mach-versatile/include/mach/platform.h file I
can find defines but using for example gt_setup(VERSATILE_WATCHDOG_BASE -
0x400,64) it ends up with a kernel panic:

CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
local timer: 200.00MHz.
I-pipe, 200.000 MHz timer
Unhandled fault: imprecise external abort (0xc06) at 0x0001f6c5
Internal error: : c06 [#1] SMP
Modules linked in:
CPU: 0    Not tainted  (3.2.21-ipipe #69)
PC is at __ipipe_tsc_register+0x0/0x280
LR is at gt_setup+0x94/0xa0
pc : [<c001978c>]    lr : [<c0461284>]    psr: 60000013
sp : cf905f70  ip : cf905eb0  fp : cf905f8c
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000001  r6 : 101e0c00  r5 : 00000040  r4 : c0679670
r3 : ffffffff  r2 : ffffffff  r1 : 00000000  r0 : c0679680
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 6000404a  DAC: 00000017
Process swapper/0 (pid: 1, stack limit = 0xcf9042f0)
Stack: (0xcf905f70 to 0xcf906000)
5f60:                                     00000001 c0e99060 00000004
c064b934
5f80: cf905f9c cf905f90 c0461868 c04611fc cf905fb4 cf905fa0 c046104c
c046184c
5fa0: 00000000 00000004 cf905fd4 cf905fb8 c05f97ac c0460ffc c06839c4
c063daa8
5fc0: c063dac8 cf904000 cf905ff4 cf905fd8 c05f78a4 c05f9744 00000000
c05f7820
5fe0: c000f8cc 00000013 00000000 cf905ff8 c000f8cc c05f782c aaaaaaaa
aaaaaaaa
Code: e3a00009 e5832898 eb01d0d7 e89da800 (e1a0c00d)
---[ end trace 1b75b31a2719ed1c ]---
Kernel panic - not syncing: Attempted to kill init!
[<c001568c>] (unwind_backtrace+0x0/0x104) from [<c04643f4>]
(dump_stack+0x20/0x24)
[<c04643f4>] (dump_stack+0x20/0x24) from [<c0464828>] (panic+0x6c/0x1a4)
[<c0464828>] (panic+0x6c/0x1a4) from [<c00356f4>] (do_exit+0x5ec/0x6fc)
[<c00356f4>] (do_exit+0x5ec/0x6fc) from [<c0012ad8>] (die+0x12c/0x1e4)
[<c0012ad8>] (die+0x12c/0x1e4) from [<c0012bb8>] (arm_notify_die+0x28/0x60)
[<c0012bb8>] (arm_notify_die+0x28/0x60) from [<c0008670>]
(do_DataAbort+0xb4/0x108)
[<c0008670>] (do_DataAbort+0xb4/0x108) from [<c000e61c>]
(__dabt_svc+0x3c/0x60)
Exception stack(0xcf905f28 to 0xcf905f70)
5f20:                   c0679680 00000000 ffffffff ffffffff c0679670
00000040
5f40: 101e0c00 00000001 00000000 00000000 00000000 cf905f8c cf905eb0
cf905f70
5f60: c0461284 c001978c 60000013 ffffffff
[<c000e61c>] (__dabt_svc+0x3c/0x60) from [<c001978c>]
(__ipipe_tsc_register+0x0/0x280)

And using 0x00 offset (or PERIPH_BASE_ADDR + 0x0200) following the
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0407f/DDI0407F_cortex_a9_r2p2_mpcore_trm.pdfdocument
(4.4 Global timers) results:

SMP: Total of 4 processors activated (3176.03 BogoMIPS).
I-pipe, 200.000 MHz timer
CPU3: Unknown IPI message 0x1
BUG: soft lockup - CPU#0 stuck for 22s! [swapper/0:1]
Modules linked in:
irq event stamp: 34937
hardirqs last  enabled at (34936): [<c000e6d0>]
__ipipe_fast_svc_irq_exit+0x0/0x30
hardirqs last disabled at (34937): [<c000e674>] __irq_svc+0x34/0x90
softirqs last  enabled at (34935): [<c0038800>] __do_softirq+0x178/0x23c
softirqs last disabled at (34930): [<c0038dbc>] irq_exit+0x6c/0x74

Pid: 1, comm:            swapper/0
CPU: 0    Not tainted  (3.2.21-ipipe #68)
PC is at clocksource_enqueue+0x4c/0x70
LR is at 0x0
pc : [<c00606b8>]    lr : [<00000000>]    psr: 20000013
sp : 00000000  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : 00000000
r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 00000000
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 6000404a  DAC: 00000017
[<c001568c>] (unwind_backtrace+0x0/0x104) from [<c04643f0>]
(dump_stack+0x20/0x24)
[<c04643f0>] (dump_stack+0x20/0x24) from [<c000ff98>] (show_regs+0x54/0x58)
[<c000ff98>] (show_regs+0x54/0x58) from [<c0083d50>]
(watchdog_timer_fn+0x1ac/0x21c)
[<c0083d50>] (watchdog_timer_fn+0x1ac/0x21c) from [<c0058270>]
(__run_hrtimer+0x84/0x1d0)
[<c0058270>] (__run_hrtimer+0x84/0x1d0) from [<c0059450>]
(hrtimer_run_queues+0xd8/0x19c)
[<c0059450>] (hrtimer_run_queues+0xd8/0x19c) from [<c004157c>]
(run_local_timers+0x18/0x24)
[<c004157c>] (run_local_timers+0x18/0x24) from [<c00415c4>]
(update_process_times+0x3c/0x6c)
[<c00415c4>] (update_process_times+0x3c/0x6c) from [<c0041650>]
(update_root_process_times+0x5c/0x60)
[<c0041650>] (update_root_process_times+0x5c/0x60) from [<c0064384>]
(tick_periodic+0x48/0xbc)
[<c0064384>] (tick_periodic+0x48/0xbc) from [<c00644c8>]
(tick_handle_periodic+0x34/0x98)
[<c00644c8>] (tick_handle_periodic+0x34/0x98) from [<c0014b94>]
(twd_handler+0x50/0x5c)
[<c0014b94>] (twd_handler+0x50/0x5c) from [<c0087630>]
(handle_percpu_devid_irq+0xa4/0x174)
[<c0087630>] (handle_percpu_devid_irq+0xa4/0x174) from [<c008423c>]
(generic_handle_irq+0x2c/0x40)
[<c008423c>] (generic_handle_irq+0x2c/0x40) from [<c000f628>]
(handle_IRQ+0x6c/0xdc)
[<c000f628>] (handle_IRQ+0x6c/0xdc) from [<c0018c10>]
(__ipipe_do_IRQ+0x40/0x48)
[<c0018c10>] (__ipipe_do_IRQ+0x40/0x48) from [<c008ec30>]
(__ipipe_dispatch_irq_fast+0x2b4/0x300)
[<c008ec30>] (__ipipe_dispatch_irq_fast+0x2b4/0x300) from [<c008ed88>]
(__ipipe_dispatch_irq+0x10c/0x388)
[<c008ed88>] (__ipipe_dispatch_irq+0x10c/0x388) from [<c0008574>]
(__ipipe_grab_irq+0xa4/0xec)
[<c0008574>] (__ipipe_grab_irq+0xa4/0xec) from [<c000e67c>]
(__irq_svc+0x3c/0x90)
Exception stack(0xcf905ee8 to 0xcf905f30)
5ee0:                   c0656100 c064feb0 c064feb0 c0656030 00000001
cf904000
5f00: 8e778000 00000006 70a3d70a a3d70a3d 00000000 cf905f44 c064feb0
cf905f30
5f20: 7fffffff c00606b8 20000013 ffffffff
[<c000e67c>] (__irq_svc+0x3c/0x90) from [<c00606b8>]
(clocksource_enqueue+0x4c/0x70)
[<c00606b8>] (clocksource_enqueue+0x4c/0x70) from [<c0060af4>]
(clocksource_register+0x98/0xfc)
[<c0060af4>] (clocksource_register+0x98/0xfc) from [<c05fe8c8>]
(init_jiffies_clocksource+0x14/0x1c)
[<c05fe8c8>] (init_jiffies_clocksource+0x14/0x1c) from [<c00088b4>]
(do_one_initcall+0x48/0x190)
[<c00088b4>] (do_one_initcall+0x48/0x190) from [<c05f78f4>]
(kernel_init+0xd4/0x17c)
[<c05f78f4>] (kernel_init+0xd4/0x17c) from [<c000f8cc>]
(kernel_thread_exit+0x0/0x8)

Probably you noticed that I managed to run all 4 cores - as it turned out
that was trivial, simply include asm/smp_twd.h in mach/irqs.h according to
http://www.xenomai.org/index.php/I-pipe-core:ArmPorting.

-- 
Marcin Kuśka

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-06 13:31                     ` Marcin Kuśka
@ 2012-09-06 13:44                       ` Marcin Kuśka
  2012-09-06 14:02                       ` Gilles Chanteperdrix
  1 sibling, 0 replies; 18+ messages in thread
From: Marcin Kuśka @ 2012-09-06 13:44 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

About that SLAB warning, there have been a small fix about this:

Signed-off-by: Michael Grzeschik <m.grzeschik@...>
---
 drivers/usb/host/isp1760-hcd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c
index eb99bf9..6599616 100644
--- a/drivers/usb/host/isp1760-hcd.c
+++ b/drivers/usb/host/isp1760-hcd.c
@@ -2173,7 +2173,7 @@ static const struct hc_driver isp1760_hc_driver = {

 int __init init_kmem_once(void)
 {
- urb_listitem_cachep = kmem_cache_create("isp1760 urb_listitem",
+ urb_listitem_cachep = kmem_cache_create("isp1760_urb_listitem",
  sizeof(struct urb_listitem), 0, SLAB_TEMPORARY |
  SLAB_MEM_SPREAD, NULL);

Done and never appeared again.

A twd_timer_setup message "no clock found" doesn't appear either. I put


static struct clk smp_twd = {
    .rate   = 200000000,
};


{    /* SMP timers */
        .dev_id        = NULL,
        .con_id        = "smp_twd",
        .clk        = &smp_twd,
    },


into mach-vexpress/v2m.c file. And the I-pipe works with 200.000 MHz timer.

regards
--
Marcin Kuśka

^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-06 13:31                     ` Marcin Kuśka
  2012-09-06 13:44                       ` Marcin Kuśka
@ 2012-09-06 14:02                       ` Gilles Chanteperdrix
  2012-09-07 11:16                         ` Marcin Kuśka
  1 sibling, 1 reply; 18+ messages in thread
From: Gilles Chanteperdrix @ 2012-09-06 14:02 UTC (permalink / raw)
  To: Marcin Kuśka; +Cc: xenomai

On 09/06/2012 03:31 PM, Marcin Kuśka wrote:
>>
>> Like what, no kernel message ?
>>
> 
> Sory it must have been pasted wrong:
> d1Xenomai: suspending kernel thread c9502128 ('rtk4/0') at 0xc00672ac after
> exception #0x0

That is still the same problem. All you need to do is
arm-none-linux-gnueabi-objdump -d vmlinux | less
And look for 'c00672ac'


> rtuBoU_Gu:f pMAX_LOCK_DEPTH too low!

No need to investigate on this before we know what happens at the
address above.


> The message was:
> WARNING: at mm/slab.c:2264 kmem_cache_create+0x6a4/0x6f4()
> 
> In the slab.c:2264 line there is
> 
> #if DEBUG
> WARN_ON(strchr(name, ' '));    /* It confuses parsers */
> So the isp1760 urb_listitem does have a space in its name and that's all
> warning. That's not serious is it?

No, we do not care, but investigating it was needed.


> I'm not really sure about physical address of the global timer (the first
> parameter of gt_setup). In mach-versatile/include/mach/platform.h file I
> can find defines but using for example gt_setup(VERSATILE_WATCHDOG_BASE -
> 0x400,64) it ends up with a kernel panic:

The physical address is the physical address of the twd minus 0x400.
The virtual address of the twd is MMIO_P2V(A9_MPCORE_TWD) (file
arch/arm/mach-vexpress/ct-ca9x4.c, line 57), so I would use
A9_MPCORE_TWD - 0x400
As physical address for the global timer.


> Probably you noticed that I managed to run all 4 cores - as it turned out
> that was trivial, simply include asm/smp_twd.h in mach/irqs.h according to
> http://www.xenomai.org/index.php/I-pipe-core:ArmPorting.

It is even simpler in the patch for 3.4, gt_setup is called
automatically, and including asm/smp_twd.h is no longer needed.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-06 14:02                       ` Gilles Chanteperdrix
@ 2012-09-07 11:16                         ` Marcin Kuśka
  2012-09-07 11:38                           ` Gilles Chanteperdrix
  0 siblings, 1 reply; 18+ messages in thread
From: Marcin Kuśka @ 2012-09-07 11:16 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

>
> It is even simpler in the patch for 3.4, gt_setup is called
> automatically, and including asm/smp_twd.h is no longer needed.
>
>
I run the gt_setup at the very end of twd_timer_setup() and the system
hangs:

... CHAINHASH_SIZE:          16384
 memory used by lock dependency info: 3695 kB
 per task-struct memory footprint: 1152 bytes
kmemleak: Early log buffer exceeded, please increase
DEBUG_KMEMLEAK_EARLY_LOG_SIZE
kmemleak: Kernel memory leak detector disabled
ODEBUG: selftest passed
Calibrating delay loop... 789.70 BogoMIPS (lpj=3948544)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
ftrace: allocating 14006 entries in 42 pages
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
local timer: 200.00MHz.
I-pipe, 200.000 MHz clocksource
I-pipe, 200.000 MHz timer
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
local timer: 200.00MHz.
CPU2: Booted secondary processor
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
local timer: 200.00MHz.
I-pipe, 200.000 MHz timer
CPU2: Unknown IPI message 0x1
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
local timer: 200.00MHz.
I-pipe, 200.000 MHz timer
CPU3: Unknown IPI message 0x1
Brought up 4 CPUs
SMP: Total of 4 processors activated (3176.03 BogoMIPS).
I-pipe, 200.000 MHz timer
CPU1: Unknown IPI message 0x1
BUG: soft lockup - CPU#0 stuck for 22s! [swapper/0:1]
Modules linked in:
irq event stamp: 34903
hardirqs last  enabled at (34902): [<c000e6d0>]
__ipipe_fast_svc_irq_exit+0x0/0x30
hardirqs last disabled at (34903): [<c000e674>] __irq_svc+0x34/0x90
softirqs last  enabled at (34901): [<c0038800>] __do_softirq+0x178/0x23c
softirqs last disabled at (34896): [<c0038dbc>] irq_exit+0x6c/0x74

Pid: 1, comm:            swapper/0
CPU: 0    Not tainted  (3.2.21-ipipe #98)
PC is at clocksource_enqueue+0x3c/0x70
LR is at 0x0
pc : [<c00606a8>]    lr : [<00000000>]    psr: 80000013
sp : 00000000  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : 00000000
r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 00000000
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 6000404a  DAC: 00000017
[<c001568c>] (unwind_backtrace+0x0/0x104) from [<c04644ac>]
(dump_stack+0x20/0x24)
[<c04644ac>] (dump_stack+0x20/0x24) from [<c000ff98>] (show_regs+0x54/0x58)
[<c000ff98>] (show_regs+0x54/0x58) from [<c0083d50>]
(watchdog_timer_fn+0x1ac/0x21c)
[<c0083d50>] (watchdog_timer_fn+0x1ac/0x21c) from [<c0058270>]
(__run_hrtimer+0x84/0x1d0)
[<c0058270>] (__run_hrtimer+0x84/0x1d0) from [<c0059450>]
(hrtimer_run_queues+0xd8/0x19c)
[<c0059450>] (hrtimer_run_queues+0xd8/0x19c) from [<c004157c>]
(run_local_timers+0x18/0x24)
[<c004157c>] (run_local_timers+0x18/0x24) from [<c00415c4>]
(update_process_times+0x3c/0x6c)
[<c00415c4>] (update_process_times+0x3c/0x6c) from [<c0041650>]
(update_root_process_times+0x5c/0x60)
[<c0041650>] (update_root_process_times+0x5c/0x60) from [<c0064384>]
(tick_periodic+0x48/0xbc)
[<c0064384>] (tick_periodic+0x48/0xbc) from [<c00644c8>]
(tick_handle_periodic+0x34/0x98)
[<c00644c8>] (tick_handle_periodic+0x34/0x98) from [<c0014b94>]
(twd_handler+0x50/0x5c)
[<c0014b94>] (twd_handler+0x50/0x5c) from [<c0087630>]
(handle_percpu_devid_irq+0xa4/0x174)
[<c0087630>] (handle_percpu_devid_irq+0xa4/0x174) from [<c008423c>]
(generic_handle_irq+0x2c/0x40)
[<c008423c>] (generic_handle_irq+0x2c/0x40) from [<c000f628>]
(handle_IRQ+0x6c/0xdc)
[<c000f628>] (handle_IRQ+0x6c/0xdc) from [<c0018c10>]
(__ipipe_do_IRQ+0x40/0x48)
[<c0018c10>] (__ipipe_do_IRQ+0x40/0x48) from [<c008ec30>]
(__ipipe_dispatch_irq_fast+0x2b4/0x300)
[<c008ec30>] (__ipipe_dispatch_irq_fast+0x2b4/0x300) from [<c008ed88>]
(__ipipe_dispatch_irq+0x10c/0x388)
[<c008ed88>] (__ipipe_dispatch_irq+0x10c/0x388) from [<c0008574>]
(__ipipe_grab_irq+0xa4/0xec)
[<c0008574>] (__ipipe_grab_irq+0xa4/0xec) from [<c000e67c>]
(__irq_svc+0x3c/0x90)
Exception stack(0xcf905ee8 to 0xcf905f30)
5ee0:                   c06560e0 c064feb0 c064fe80 c0656010 00000001
cf904000
5f00: 8e778000 00000006 70a3d70a a3d70a3d 00000000 cf905f44 c064feb0
cf905f30
5f20: 7fffffff c00606a8 80000013 ffffffff
[<c000e67c>] (__irq_svc+0x3c/0x90) from [<c00606a8>]
(clocksource_enqueue+0x3c/0x70)
[<c00606a8>] (clocksource_enqueue+0x3c/0x70) from [<c0060af4>]
(clocksource_register+0x98/0xfc)
[<c0060af4>] (clocksource_register+0x98/0xfc) from [<c05fe8c8>]
(init_jiffies_clocksource+0x14/0x1c)
[<c05fe8c8>] (init_jiffies_clocksource+0x14/0x1c) from [<c00088b4>]
(do_one_initcall+0x48/0x190)
[<c00088b4>] (do_one_initcall+0x48/0x190) from [<c05f78f4>]
(kernel_init+0xd4/0x17c)
[<c05f78f4>] (kernel_init+0xd4/0x17c) from [<c000f8cc>]
(kernel_thread_exit+0x0/0x8)

After debugging some code I got following:


Booting Linux on physical CPU 0
Initializing cgroup subsys cpuset
Linux version 3.2.21-ipipe (marcin@simisc.EMEA) (gcc version 4.6.0
(crosstool-NG 1.16.0) ) #98 SMP Fri Sep 7 11:35:29 CEST 2012
CPU: ARMv7 Processor [410fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: ARM-Versatile Express
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writealloc
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
PERCPU: Embedded 9 pages/cpu @c0e99000 s13344 r8192 d15328 u36864
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64960
Kernel command line: ip=dhcp earlyprintk console=ttyAMA0 mem=256M
reboot=soft
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 246848k/246848k available, 15296k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc05f6d4c   (6076 kB)
      .init : 0xc05f7000 - 0xc0641420   ( 298 kB)
      .data : 0xc0642000 - 0xc06793e8   ( 221 kB)
       .bss : 0xc067940c - 0xc0c53b6c   (5994 kB)
Hierarchical RCU implementation.
        RCU lockdep checking is enabled.
NR_IRQS:128
I-pipe, 1.000 MHz clocksource
Interrupt pipeline (release #1)
Console: colour dummy device 80x30
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:  8
... MAX_LOCK_DEPTH:          48
... MAX_LOCKDEP_KEYS:        8191
... CLASSHASH_SIZE:          4096
... MAX_LOCKDEP_ENTRIES:     16384
... MAX_LOCKDEP_CHAINS:      32768
... CHAINHASH_SIZE:          16384
 memory used by lock dependency info: 3695 kB
 per task-struct memory footprint: 1152 bytes
kmemleak: Early log buffer exceeded, please increase
DEBUG_KMEMLEAK_EARLY_LOG_SIZE
kmemleak: Kernel memory leak detector disabled
ODEBUG: selftest passed
Calibrating delay loop... 789.70 BogoMIPS (lpj=3948544)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
ftrace: allocating 14006 entries in 42 pages
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
local timer: 200.00MHz.
............Global timer setup.............
............If !gt_base.............
............Start Global timer.............
............TSC INFO..........
............tsc_info.freq...........200000000..
............tsc_info.counter_vaddr...........3498066432..
............tsc_info.u.counter_paddr == base...........503316992..
............bits == 64.............
............Global timer register.............
I-pipe, 200.000 MHz clocksource
I-pipe, 200.000 MHz timer
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
local timer: 200.00MHz.
CPU2: Booted secondary processor
............Global timer setup.............
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
local timer: 200.00MHz.
............Global timer setup.............
............Global timer setup already done.............
I-pipe, 200.000 MHz timer
CPU2: Unknown IPI message 0x1
CPU3: Booted secondary processor
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
local timer: 200.00MHz.
............Global timer setup.............
............Global timer setup already done.............
I-pipe, 200.000 MHz timer
CPU3: Unknown IPI message 0x1
Brought up 4 CPUs
SMP: Total of 4 processors activated (3176.03 BogoMIPS).
............Global timer setup already done.............
I-pipe, 200.000 MHz timer
CPU1: Unknown IPI message 0x1
BUG: soft lockup - CPU#0 stuck for 22s! [swapper/0:1]
Modules linked in:
irq event stamp: 34903
hardirqs last  enabled at (34902): [<c000e6d0>]
__ipipe_fast_svc_irq_exit+0x0/0x30
hardirqs last disabled at (34903): [<c000e674>] __irq_svc+0x34/0x90
softirqs last  enabled at (34901): [<c0038800>] __do_softirq+0x178/0x23c
softirqs last disabled at (34896): [<c0038dbc>] irq_exit+0x6c/0x74

Pid: 1, comm:            swapper/0
CPU: 0    Not tainted  (3.2.21-ipipe #98)
PC is at clocksource_enqueue+0x3c/0x70
LR is at 0x0
pc : [<c00606a8>]    lr : [<00000000>]    psr: 80000013
sp : 00000000  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : 00000000
r7 : 00000000  r6 : 00000000  r5 : 00000000  r4 : 00000000
r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 00000000
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 6000404a  DAC: 00000017
[<c001568c>] (unwind_backtrace+0x0/0x104) from [<c04644ac>]
(dump_stack+0x20/0x24)
[<c04644ac>] (dump_stack+0x20/0x24) from [<c000ff98>] (show_regs+0x54/0x58)
[<c000ff98>] (show_regs+0x54/0x58) from [<c0083d50>]
(watchdog_timer_fn+0x1ac/0x21c)
[<c0083d50>] (watchdog_timer_fn+0x1ac/0x21c) from [<c0058270>]
(__run_hrtimer+0x84/0x1d0)
[<c0058270>] (__run_hrtimer+0x84/0x1d0) from [<c0059450>]
(hrtimer_run_queues+0xd8/0x19c)
[<c0059450>] (hrtimer_run_queues+0xd8/0x19c) from [<c004157c>]
(run_local_timers+0x18/0x24)
[<c004157c>] (run_local_timers+0x18/0x24) from [<c00415c4>]
(update_process_times+0x3c/0x6c)
[<c00415c4>] (update_process_times+0x3c/0x6c) from [<c0041650>]
(update_root_process_times+0x5c/0x60)
[<c0041650>] (update_root_process_times+0x5c/0x60) from [<c0064384>]
(tick_periodic+0x48/0xbc)
[<c0064384>] (tick_periodic+0x48/0xbc) from [<c00644c8>]
(tick_handle_periodic+0x34/0x98)
[<c00644c8>] (tick_handle_periodic+0x34/0x98) from [<c0014b94>]
(twd_handler+0x50/0x5c)
[<c0014b94>] (twd_handler+0x50/0x5c) from [<c0087630>]
(handle_percpu_devid_irq+0xa4/0x174)
[<c0087630>] (handle_percpu_devid_irq+0xa4/0x174) from [<c008423c>]
(generic_handle_irq+0x2c/0x40)
[<c008423c>] (generic_handle_irq+0x2c/0x40) from [<c000f628>]
(handle_IRQ+0x6c/0xdc)
[<c000f628>] (handle_IRQ+0x6c/0xdc) from [<c0018c10>]
(__ipipe_do_IRQ+0x40/0x48)
[<c0018c10>] (__ipipe_do_IRQ+0x40/0x48) from [<c008ec30>]
(__ipipe_dispatch_irq_fast+0x2b4/0x300)
[<c008ec30>] (__ipipe_dispatch_irq_fast+0x2b4/0x300) from [<c008ed88>]
(__ipipe_dispatch_irq+0x10c/0x388)
[<c008ed88>] (__ipipe_dispatch_irq+0x10c/0x388) from [<c0008574>]
(__ipipe_grab_irq+0xa4/0xec)
[<c0008574>] (__ipipe_grab_irq+0xa4/0xec) from [<c000e67c>]
(__irq_svc+0x3c/0x90)
Exception stack(0xcf905ee8 to 0xcf905f30)
5ee0:                   c06560e0 c064feb0 c064fe80 c0656010 00000001
cf904000
5f00: 8e778000 00000006 70a3d70a a3d70a3d 00000000 cf905f44 c064feb0
cf905f30
5f20: 7fffffff c00606a8 80000013 ffffffff
[<c000e67c>] (__irq_svc+0x3c/0x90) from [<c00606a8>]
(clocksource_enqueue+0x3c/0x70)
[<c00606a8>] (clocksource_enqueue+0x3c/0x70) from [<c0060af4>]
(clocksource_register+0x98/0xfc)
[<c0060af4>] (clocksource_register+0x98/0xfc) from [<c05fe8c8>]
(init_jiffies_clocksource+0x14/0x1c)
[<c05fe8c8>] (init_jiffies_clocksource+0x14/0x1c) from [<c00088b4>]
(do_one_initcall+0x48/0x190)
[<c00088b4>] (do_one_initcall+0x48/0x190) from [<c05f78f4>]
(kernel_init+0xd4/0x17c)
[<c05f78f4>] (kernel_init+0xd4/0x17c) from [<c000f8cc>]
(kernel_thread_exit+0x0/0x8)

If I don't run gt_setup at all it boots up well and I got even the message
about ipipe_tsc

(...)
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.24.
*Switching to clocksource ipipe_tsc*
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
(...)

Does this problem look familiar to you?

About that "arm-none-linux-gnueabi-objdump -d vmlinux | less" command, I
can't find that address there.

-- 
Marcin Kuśka

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch
  2012-09-07 11:16                         ` Marcin Kuśka
@ 2012-09-07 11:38                           ` Gilles Chanteperdrix
  0 siblings, 0 replies; 18+ messages in thread
From: Gilles Chanteperdrix @ 2012-09-07 11:38 UTC (permalink / raw)
  To: Marcin Kuśka; +Cc: xenomai

On 09/07/2012 01:16 PM, Marcin Kuśka wrote:

>>
>> It is even simpler in the patch for 3.4, gt_setup is called
>> automatically, and including asm/smp_twd.h is no longer needed.
>>
>>
> I run the gt_setup at the very end of twd_timer_setup() and the system
> hangs:
> 


It does not work:
- smp_twd.c is common to all platforms, so you can not include code in
it using a vexpress specific define (A9_MPCORE_TWD)
- gt_setup should be called once and only once (for two reasons, first
because ipipe_tsc_register can not be called twice, and second because
it does an ioremap, so, you do not want to remap the global timer
register 4 times).

So, what you are expected to do is to call gt_setup once, at the same
place as your SOC specific code initializes the twd_base variable. That
would be somewhere in ct-ca9x4.c.

>
> About that "arm-none-linux-gnueabi-objdump -d vmlinux | less"
> command, I can't find that address there.

The address is tied to a kernel compilation. So, if you recompiled the
kernel, you need to run the test which triggers the bug again, and use
the address it gives you.


-- 
                                                                Gilles.



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2012-09-07 11:38 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-08 14:43 [Xenomai] Cortex-a9 - please fix xenomai-fix-lfs-issue.patch Marcin Kuśka
2012-08-08 16:44 ` Gilles Chanteperdrix
2012-08-08 18:54 ` Gilles Chanteperdrix
2012-08-21 14:05   ` Marcin Kuśka
2012-08-21 14:16     ` Gilles Chanteperdrix
2012-09-03 17:58       ` Marcin Kuśka
2012-09-03 18:04         ` Marcin Kuśka
2012-09-03 19:24           ` Gilles Chanteperdrix
2012-09-03 23:04             ` Marcin Kuśka
2012-09-03 23:31               ` Gilles Chanteperdrix
2012-09-06  8:00                 ` Marcin Kuśka
2012-09-06  8:27                   ` Gilles Chanteperdrix
2012-09-06 13:31                     ` Marcin Kuśka
2012-09-06 13:44                       ` Marcin Kuśka
2012-09-06 14:02                       ` Gilles Chanteperdrix
2012-09-07 11:16                         ` Marcin Kuśka
2012-09-07 11:38                           ` Gilles Chanteperdrix
2012-09-03 18:24         ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.