All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
@ 2011-10-07 14:52 Siva kumar Balasubramanian
  2011-10-07 15:09 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 15+ messages in thread
From: Siva kumar Balasubramanian @ 2011-10-07 14:52 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 8056 bytes --]

Hi Experts,

I compiled and ported linux kernel-2.6.37.6, adeos-ipipe-patch-2.6.37.6 and
xenomai 2.5.6 in mini2440.
After porting when i run xeno-test,

I am getting following error

Xenomai: /dev/rtheap is missing

(chardev, major=10 minor=254)


The complete log is

 root@domain.hid# xeno-test

xeno-test: started

withBusybox is 0

xeno-test: running tests

Sat Jan 1 00:33:45 UTC 2000

running: /xenomai/bin/xeno-config --verbose

xeno-config --verbose

--version="2.5.6"

--cc="arm-linux-gcc"

--arch="arm"

--prefix="/usr/xenomai"

--xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -Wall -pipe
-D__XENO__"

--xeno-ldflags="-L/usr/xenomai/lib -lxenomai -lpthread "

--posix-cflags=""

--posix-ldflags="-Wl,@/usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib
-lpthread_rt -lxenomai -lpthread -lrt "

--library-dir="/usr/xenomai/lib"

Sat Jan 1 00:33:46 UTC 2000

running: /xenomai/bin/xeno-info

If some fields are empty or look unusual you may have an old version.

Compare to the current minimal requirements in Documentation/Changes.

 Linux (none) 2.6.37.6-ipipe #2 Fri Oct 7 15:44:06 IST 2011 armv4tl
GNU/Linux

 util-linux ng 2.13.1.1)

mount ng 2.13.1.1)

module-init-tools 3.4

e2fsprogs 1.41.3

Linux C Library > libc.2.7

Dynamic linker (ldd) 2.7

Procps 3.2.7

Net-tools 1.60

Kbd 89:

Sh-utils 6.10

Modules Loaded

Sat Jan 1 00:33:49 UTC 2000

running: cat /proc/cpuinfo

Processor\0x09: ARM920T rev 0 (v4l)

BogoMIPS\0x09: 201.93

Features\0x09: swp half thumb

CPU implementer\0x09: 0x41

CPU architecture: 4T

CPU variant\0x09: 0x1

CPU part\0x09: 0x920

CPU revision\0x09: 0

Hardware\0x09: MINI2440

Revision\0x09: 0000

Serial\0x09\0x09: 0000000000000000

Sat Jan 1 00:33:49 UTC 2000

running: md5sum /proc/cpuinfo # cpuinfo fingerprint

72f59e533ef85a8821c3dfae14294205 /proc/cpuinfo

Sat Jan 1 00:33:49 UTC 2000

running: cat /proc/ipipe/Linux

+----- Handling ([A]ccepted, [G]rabbed, [W]ired, [D]iscarded)

|+---- Sticky

||+--- Locked

|||+-- Exclusive

||||+- Virtual

[IRQ] |||||

0: A....

1: A....

2: A....

3: A....

4: A....

5: A....

6: A....

7: A....

8: A....

9: A....

10: A....

11: A....

12: A....

13: A....

14: A....

15: A....

16: A....

17: A....

18: A....

19: A....

20: A....

21: A....

22: A....

23: A....

24: A....

25: A....

26: A....

27: A....

28: A....

29: A....

30: A....

31: A....

32: A....

33: A....

34: A....

35: A....

36: A....

37: A....

38: A....

39: A....

40: A....

41: A....

42: A....

43: A....

44: A....

45: A....

46: A....

47: A....

48: A....

49: A....

50: A....

51: A....

52: A....

53: A....

54: A....

55: A....

56: A....

57: A....

58: A....

59: A....

60: A....

61: A....

62: A....

63: A....

64: A....

65: A....

66: A....

67: A....

68: A....

69: A....

70: A....

71: A....

72: A....

73: A....

74: A....

75: A....

76: A....

77: A....

78: A....

79: A....

80: A....

81: A....

82: A....

83: A....

84: A....

96: G...V

[Domain info]

id=0x00000000

priority=100

Sat Jan 1 00:33:49 UTC 2000

running: cat /proc/ipipe/version

1.18-03

Sat Jan 1 00:33:49 UTC 2000

running: generate_loads 1

dd workload started, pids 1300 stored in /var/lock/xeno-test.1179.pids

Sat Jan 1 00:33:49 UTC 2000

running: cat /proc/interrupts

CPU0

30: 406280 s3c S3C2410 Timer Tick

37: 785631 s3c s3c-mci

41: 1 s3c s3c2410_udc

43: 8 s3c s3c2440-i2c

52: 0 s3c-ext Button 1

55: 0 s3c-ext Button 2

57: 0 s3c-ext Button 3

58: 0 s3c-ext Power

59: 0 s3c-ext Button 5

60: 0 s3c-ext s3c-mci

70: 3264 s3c-uart0 s3c2440-uart

71: 2552 s3c-uart0 s3c2440-uart

83: 0 - s3c2410-wdt

Err: 0

Sat Jan 1 00:33:49 UTC 2000

running: cat /proc/loadavg

0.15 0.09 0.07 2/39 1306

Sat Jan 1 00:33:50 UTC 2000

running: cat /proc/meminfo

MemTotal: 60472 kB

MemFree: 3812 kB

Buffers: 2628 kB

Cached: 47168 kB

SwapCached: 0 kB

Active: 5780 kB

Inactive: 45432 kB

Active(anon): 1416 kB

Inactive(anon): 0 kB

Active(file): 4364 kB

Inactive(file): 45432 kB

Unevictable: 0 kB

Mlocked: 0 kB

SwapTotal: 0 kB

SwapFree: 0 kB

Dirty: 128 kB

Writeback: 0 kB

AnonPages: 1432 kB

Mapped: 1424 kB

Shmem: 0 kB

Slab: 4384 kB

SReclaimable: 2832 kB

SUnreclaim: 1552 kB

KernelStack: 312 kB

PageTables: 160 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 30236 kB

Committed_AS: 3200 kB

VmallocTotal: 811008 kB

VmallocUsed: 3500 kB

VmallocChunk: 803836 kB

Sat Jan 1 00:33:50 UTC 2000

running: top -bn1c

top - 00:33:51 up 33 min, 0 users, load average: 0.46, 0.16, 0.09

Tasks: 41 total, 2 running, 39 sleeping, 0 stopped, 0 zombie

Cpu(s): 0.4%us, 1.4%sy, 0.0%ni, 97.1%id, 0.6%wa, 0.0%hi, 0.5%si, 0.0%st

Mem: 60472k total, 57292k used, 3180k free, 2636k buffers

Swap: 0k total, 0k used, 0k free, 47268k cached

 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

1300 root 20 0 1892 524 428 R 78.9 0.9 0:01.04 dd if /dev/zero of

1314 root 20 0 2532 996 812 R 9.5 1.6 0:00.22 top -bn1c

1 root 20 0 2996 1492 1168 S 0.0 2.5 0:01.73 /bin/sh

Sat Jan 1 00:33:51 UTC 2000

running: ./run -- -sh -T 120 -t0 # latency

*

*

* Type ^C to stop this application.

*

*

Xenomai: /dev/rtheap is missing

(chardev, major=10 minor=254)

Sat Jan 1 00:33:57 UTC 2000

running: ./run -- -sh -T 120 -t1 # latency

*

*

* Type ^C to stop this application.

*

*

Xenomai: /dev/rtheap is missing

(chardev, major=10 minor=254)

Sat Jan 1 00:34:03 UTC 2000

running: ./run -- -sh -T 120 -t2 # latency

*

*

* Type ^C to stop this application.

*

*

Xenomai: /dev/rtheap is missing

(chardev, major=10 minor=254)

Sat Jan 1 00:34:08 UTC 2000

running: ./run -- -T 120 # switchtest

*

*

* Type ^C to stop this application.

*

*

Xenomai: /dev/rtheap is missing

(chardev, major=10 minor=254)

/xenomai/bin/xeno-test: line 235: cd:
/usr/xenomai/share/xenomai/testsuite/switchbench: No such file or directory

Sat Jan 1 00:34:14 UTC 2000

running: ./run -- -h # switchbench

*

*

* Type ^C to stop this application.

*

*

Xenomai: /dev/rtheap is missing

(chardev, major=10 minor=254)

Sat Jan 1 00:34:19 UTC 2000

running: ./run -- -p 10 -n -l 1000 # cyclictest

*

*

* Type ^C to stop this application.

*

*

Xenomai: /dev/rtheap is missing

(chardev, major=10 minor=254)

Sat Jan 1 00:34:24 UTC 2000

running: cat /proc/interrupts

CPU0

30: 413186 s3c S3C2410 Timer Tick

37: 847062 s3c s3c-mci

41: 1 s3c s3c2410_udc

43: 8 s3c s3c2440-i2c

52: 0 s3c-ext Button 1

55: 0 s3c-ext Button 2

57: 0 s3c-ext Button 3

58: 0 s3c-ext Power

59: 0 s3c-ext Button 5

60: 0 s3c-ext s3c-mci

70: 3264 s3c-uart0 s3c2440-uart

71: 2750 s3c-uart0 s3c2440-uart

83: 0 - s3c2410-wdt

Err: 0

Sat Jan 1 00:34:24 UTC 2000

running: cat /proc/loadavg

1.13 0.35 0.15 2/39 1830

Sat Jan 1 00:34:24 UTC 2000

running: cat /proc/meminfo

MemTotal: 60472 kB

MemFree: 3552 kB

Buffers: 2684 kB

Cached: 47268 kB

SwapCached: 0 kB

Active: 5860 kB

Inactive: 45508 kB

Active(anon): 1416 kB

Inactive(anon): 0 kB

Active(file): 4444 kB

Inactive(file): 45508 kB

Unevictable: 0 kB

Mlocked: 0 kB

SwapTotal: 0 kB

SwapFree: 0 kB

Dirty: 4 kB

Writeback: 0 kB

AnonPages: 1432 kB

Mapped: 1424 kB

Shmem: 0 kB

Slab: 4492 kB

SReclaimable: 2912 kB

SUnreclaim: 1580 kB

KernelStack: 312 kB

PageTables: 160 kB

NFS_Unstable: 0 kB

Bounce: 0 kB

WritebackTmp: 0 kB

CommitLimit: 30236 kB

Committed_AS: 3200 kB

VmallocTotal: 811008 kB

VmallocUsed: 3500 kB

VmallocChunk: 803836 kB

Sat Jan 1 00:34:24 UTC 2000

running: top -bn1c

top - 00:34:25 up 34 min, 0 users, load average: 1.12, 0.36, 0.16

Tasks: 41 total, 2 running, 39 sleeping, 0 stopped, 0 zombie

Cpu(s): 1.0%us, 2.4%sy, 0.0%ni, 95.5%id, 0.6%wa, 0.0%hi, 0.6%si, 0.0%st

Mem: 60472k total, 57340k used, 3132k free, 2684k buffers

Swap: 0k total, 0k used, 0k free, 47272k cached

 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

1300 root 20 0 1892 524 428 R 81.1 0.9 0:18.05 dd if /dev/zero of

1838 root 20 0 2532 996 812 R 12.6 1.6 0:00.22 top -bn1c

1 root 20 0 2996 1492 1168 S 0.0 2.5 0:01.73 /bin/sh

1300 ? 00:00:18 dd

xeno-test: finished
-- 
Regards
sivakumar

[-- Attachment #2: Type: text/html, Size: 56837 bytes --]

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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-07 14:52 [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440 Siva kumar Balasubramanian
@ 2011-10-07 15:09 ` Gilles Chanteperdrix
  2011-10-07 15:55   ` Siva kumar Balasubramanian
  0 siblings, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2011-10-07 15:09 UTC (permalink / raw)
  To: Siva kumar Balasubramanian; +Cc: xenomai

On 10/07/2011 04:52 PM, Siva kumar Balasubramanian wrote:
> Hi Experts,
> 
> I compiled and ported linux kernel-2.6.37.6, adeos-ipipe-patch-2.6.37.6 and
> xenomai 2.5.6 in mini2440.
> After porting when i run xeno-test,

What do you mean "porting"? If mini2440 is based on s3c2440, it should 
work out of the box. If it does not, please send patches.

You have probably missed the following message when running "make 
install":

*** Warning: you are not super-user and sudo does not work, real-time devices
*** nodes will not be created.
*** If you do not create these devices by hand, Xenomai test programs will not
*** work.
*** To create these devices please run "make devices" with super-user
*** privileges.

Which, I believe, is self-explanatory.

-- 
					    Gilles.


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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-07 15:09 ` Gilles Chanteperdrix
@ 2011-10-07 15:55   ` Siva kumar Balasubramanian
  2011-10-07 16:27     ` Siva kumar Balasubramanian
  2011-10-07 16:46     ` Gilles Chanteperdrix
  0 siblings, 2 replies; 15+ messages in thread
From: Siva kumar Balasubramanian @ 2011-10-07 15:55 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

Mini2440 is based on s3c2440,

I did the following steps to patch xenomai for Mini2440

I patched the adeos-ipipe-2.6.37.6-arm-1.18-03.patch to linux
kernel-2.6.37.6

I used mini2440_defconfig as configuration file, i did  not made any changes

After sucessful compilation, i booted the mini2440 compiled kernel

I crosscompiled xenomai-2.5.6 using the following command

./configure --build=x86_64-pc-linux-gnu --host=arm-linux
--enable-arm-mach=s3c2410 --enable-arm-tsc

make

make install

I copied the directory xenomai to /usr

Did i missed any step

When i try to run xeno-test i got following error

Xenomai: /dev/rtheap is missing

(chardev, major=10 minor=254)


I created rtheap using the following command

mknod /dev/rtheap c 10 254

The device is created in /dev

Now i am getting following error when i run ./xeno-test

 /usr/xenomai/bin/xeno-load: line 180: 3347 Segmentation fault $suflag $*
$cmdargs

[-- Attachment #2: Type: text/html, Size: 4008 bytes --]

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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-07 15:55   ` Siva kumar Balasubramanian
@ 2011-10-07 16:27     ` Siva kumar Balasubramanian
  2011-10-07 16:42       ` Gilles Chanteperdrix
  2011-10-07 16:46     ` Gilles Chanteperdrix
  1 sibling, 1 reply; 15+ messages in thread
From: Siva kumar Balasubramanian @ 2011-10-07 16:27 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

After running make Devices also ,

i am getting error

/usr/xenomai/bin/xeno-load: line 180: 3347 Segmentation fault $suflag $*
$cmdargs

My log file link http://pastebin.com/PpnnmnuW

Thanks
sivakumar

On Fri, Oct 7, 2011 at 9:25 PM, Siva kumar Balasubramanian <
sivakumar.bs@domain.hid> wrote:

> Mini2440 is based on s3c2440,
>
> I did the following steps to patch xenomai for Mini2440
>
> I patched the adeos-ipipe-2.6.37.6-arm-1.18-03.patch to linux
> kernel-2.6.37.6
>
> I used mini2440_defconfig as configuration file, i did  not made any
> changes
>
> After sucessful compilation, i booted the mini2440 compiled kernel
>
> I crosscompiled xenomai-2.5.6 using the following command
>
> ./configure --build=x86_64-pc-linux-gnu --host=arm-linux
> --enable-arm-mach=s3c2410 --enable-arm-tsc
>
> make
>
> make install
>
> I copied the directory xenomai to /usr
>
> Did i missed any step
>
> When i try to run xeno-test i got following error
>
> Xenomai: /dev/rtheap is missing
>
> (chardev, major=10 minor=254)
>
>
> I created rtheap using the following command
>
> mknod /dev/rtheap c 10 254
>
> The device is created in /dev
>
> Now i am getting following error when i run ./xeno-test
>
>  /usr/xenomai/bin/xeno-load: line 180: 3347 Segmentation fault $suflag $*
> $cmdargs
>
>
>


-- 
Regards
sivakumar

[-- Attachment #2: Type: text/html, Size: 4852 bytes --]

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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-07 16:27     ` Siva kumar Balasubramanian
@ 2011-10-07 16:42       ` Gilles Chanteperdrix
  0 siblings, 0 replies; 15+ messages in thread
From: Gilles Chanteperdrix @ 2011-10-07 16:42 UTC (permalink / raw)
  To: Siva kumar Balasubramanian; +Cc: xenomai

On 10/07/2011 06:27 PM, Siva kumar Balasubramanian wrote:
> After running make Devices also ,
> 
> i am getting error
> 
> /usr/xenomai/bin/xeno-load: line 180: 3347 Segmentation fault $suflag $*
> $cmdargs
> 
> My log file link http://pastebin.com/PpnnmnuW

Please do not use xeno-test with xenomai 2.5 branch, launch the latency
and generate load by hand.

-- 
					    Gilles.


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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-07 15:55   ` Siva kumar Balasubramanian
  2011-10-07 16:27     ` Siva kumar Balasubramanian
@ 2011-10-07 16:46     ` Gilles Chanteperdrix
  2011-10-08  6:28       ` Siva kumar Balasubramanian
  1 sibling, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2011-10-07 16:46 UTC (permalink / raw)
  To: Siva kumar Balasubramanian; +Cc: xenomai

On 10/07/2011 05:55 PM, Siva kumar Balasubramanian wrote:
> Mini2440 is based on s3c2440,
> 
> I did the following steps to patch xenomai for Mini2440
> 
> I patched the adeos-ipipe-2.6.37.6-arm-1.18-03.patch to linux
> kernel-2.6.37.6
> 
> I used mini2440_defconfig as configuration file, i did  not made any changes
> 
> After sucessful compilation, i booted the mini2440 compiled kernel
> 
> I crosscompiled xenomai-2.5.6 using the following command
> 
> ./configure --build=x86_64-pc-linux-gnu --host=arm-linux
> --enable-arm-mach=s3c2410 --enable-arm-tsc

So, no porting involved finally.

You are probably missing --enable-arm-eabi. Note that if you start with
xenomai 2.6.0, the configuration is much easier (basically, you just run
configure with no arguments and it works).

And xenomai 2.6.0's xeno-test should work better.

-- 
					    Gilles.


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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-07 16:46     ` Gilles Chanteperdrix
@ 2011-10-08  6:28       ` Siva kumar Balasubramanian
  2011-10-08 15:55         ` Gilles Chanteperdrix
  0 siblings, 1 reply; 15+ messages in thread
From: Siva kumar Balasubramanian @ 2011-10-08  6:28 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 2068 bytes --]

After  configuring --enable-arm-eabi , now i am getting following message

Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.(modprobe xeno
native?)

i downloaded  adeos-ipipe-2.6.37.6-arm-1.18-03.patch separately and patched
with kernel-2.6.37.6.
and configured the kernel as mini2440_defconfig, and compiled the kernel

i missed the prepare-kernel.sh step.


If i patch the xenomai using the following step , the kernel is not booting

$xenomai_root/scripts/prepare-kernel.sh --arch=arm \
  --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-2.6.37.6-arm-* \
  --linux=$linux_tree

After patching i used mini2440_defconfig. The kernel is not booting
>From the log i find it is hanging in

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

s3c2410-ohci s3c2410-ohci: S3C24XX OHCI

s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1

s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000


My complete log file is in http://pastebin.com/Z64key6P

Thanks
sivakumar



On Fri, Oct 7, 2011 at 10:16 PM, Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org> wrote:

> On 10/07/2011 05:55 PM, Siva kumar Balasubramanian wrote:
> > Mini2440 is based on s3c2440,
> >
> > I did the following steps to patch xenomai for Mini2440
> >
> > I patched the adeos-ipipe-2.6.37.6-arm-1.18-03.patch to linux
> > kernel-2.6.37.6
> >
> > I used mini2440_defconfig as configuration file, i did  not made any
> changes
> >
> > After sucessful compilation, i booted the mini2440 compiled kernel
> >
> > I crosscompiled xenomai-2.5.6 using the following command
> >
> > ./configure --build=x86_64-pc-linux-gnu --host=arm-linux
> > --enable-arm-mach=s3c2410 --enable-arm-tsc
>
> So, no porting involved finally.
>
> You are probably missing --enable-arm-eabi. Note that if you start with
> xenomai 2.6.0, the configuration is much easier (basically, you just run
> configure with no arguments and it works).
>
> And xenomai 2.6.0's xeno-test should work better.
>
> --
>                                            Gilles.
>



-- 
Regards
sivakumar

[-- Attachment #2: Type: text/html, Size: 3699 bytes --]

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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-08  6:28       ` Siva kumar Balasubramanian
@ 2011-10-08 15:55         ` Gilles Chanteperdrix
  2011-10-10  8:45           ` Siva kumar Balasubramanian
  0 siblings, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2011-10-08 15:55 UTC (permalink / raw)
  To: Siva kumar Balasubramanian; +Cc: xenomai

On 10/08/2011 08:28 AM, Siva kumar Balasubramanian wrote:
> After  configuring --enable-arm-eabi , now i am getting following message
> 
> Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.(modprobe xeno
> native?)
> 
> i downloaded  adeos-ipipe-2.6.37.6-arm-1.18-03.patch separately and patched
> with kernel-2.6.37.6.
> and configured the kernel as mini2440_defconfig, and compiled the kernel
> 
> i missed the prepare-kernel.sh step.
> 
> 
> If i patch the xenomai using the following step , the kernel is not booting
> 
> $xenomai_root/scripts/prepare-kernel.sh --arch=arm \
>   --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-2.6.37.6-arm-* \
>   --linux=$linux_tree
> 
> After patching i used mini2440_defconfig. The kernel is not booting
> From the log i find it is hanging in
> 
> ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> 
> s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
> 
> s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
> 
> s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
> 
> 
> My complete log file is in http://pastebin.com/Z64key6P

What version of xenomai are you using? Only 2.6.0 works with 2.6.37.


-- 
                                                                Gilles.


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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-08 15:55         ` Gilles Chanteperdrix
@ 2011-10-10  8:45           ` Siva kumar Balasubramanian
  2011-10-10  9:15             ` Gilles Chanteperdrix
  0 siblings, 1 reply; 15+ messages in thread
From: Siva kumar Balasubramanian @ 2011-10-10  8:45 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]

I am using xenomai-2.5.6.

When i tried with xenomai-2.6.0-rc1 with kernel-2.6.37.6. It gets error
during kernel compilation

Which kernel and xenomai version is working in mini2440

I tried vanilla kernel 2.6.35.9 with mini2440_defconfig , i am getting error
while booting

 Log file of error http://pastebin.com/L2mffkym




On Sat, Oct 8, 2011 at 9:25 PM, Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org> wrote:

> On 10/08/2011 08:28 AM, Siva kumar Balasubramanian wrote:
> > After  configuring --enable-arm-eabi , now i am getting following message
> >
> > Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.(modprobe xeno
> > native?)
> >
> > i downloaded  adeos-ipipe-2.6.37.6-arm-1.18-03.patch separately and
> patched
> > with kernel-2.6.37.6.
> > and configured the kernel as mini2440_defconfig, and compiled the kernel
> >
> > i missed the prepare-kernel.sh step.
> >
> >
> > If i patch the xenomai using the following step , the kernel is not
> booting
> >
> > $xenomai_root/scripts/prepare-kernel.sh --arch=arm \
> >   --adeos=$xenomai_root/ksrc/arch/arm/patches/adeos-ipipe-2.6.37.6-arm-*
> \
> >   --linux=$linux_tree
> >
> > After patching i used mini2440_defconfig. The kernel is not booting
> > From the log i find it is hanging in
> >
> > ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> >
> > s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
> >
> > s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
> >
> > s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
> >
> >
> > My complete log file is in http://pastebin.com/Z64key6P
>
> What version of xenomai are you using? Only 2.6.0 works with 2.6.37.
>
>
> --
>                                                                Gilles.
>



-- 
Regards
sivakumar

[-- Attachment #2: Type: text/html, Size: 3527 bytes --]

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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-10  8:45           ` Siva kumar Balasubramanian
@ 2011-10-10  9:15             ` Gilles Chanteperdrix
  2011-10-10  9:43               ` Siva kumar Balasubramanian
  0 siblings, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2011-10-10  9:15 UTC (permalink / raw)
  To: Siva kumar Balasubramanian; +Cc: xenomai

On 10/10/2011 10:45 AM, Siva kumar Balasubramanian wrote:
> I am using xenomai-2.5.6.
> 
> When i tried with xenomai-2.6.0-rc1 with kernel-2.6.37.6. It gets error
> during kernel compilation
> 
> Which kernel and xenomai version is working in mini2440
> 
> I tried vanilla kernel 2.6.35.9 with mini2440_defconfig , i am getting error
> while booting
> 
>  Log file of error http://pastebin.com/L2mffkym

The only non-working version is kernel 2.6.37 (and later) with xenomai
2.5.6. Please try 2.6.0-rc4 instead of -rc1. However, I am surprised
that the kernel does not build with the 2.6.37 patch, as I build-tested
it. Could you put the compilation logs on a pastebin?

The error you have with 2.6.35.9 does not seem to be related to xenomai.

-- 
					    Gilles.


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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-10  9:15             ` Gilles Chanteperdrix
@ 2011-10-10  9:43               ` Siva kumar Balasubramanian
  2011-10-10 11:04                 ` Gilles Chanteperdrix
  2011-10-10 18:21                 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 15+ messages in thread
From: Siva kumar Balasubramanian @ 2011-10-10  9:43 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

I am getting same error after patching latest xenomai-2.6.0.rc4 with
kernel-2.6.37.6

Compilation log http://pastebin.com/WdD2Tzqd

My configuration file http://pastebin.com/kcjH1tGF


- sivakumar

On Mon, Oct 10, 2011 at 2:45 PM, Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org> wrote:

> On 10/10/2011 10:45 AM, Siva kumar Balasubramanian wrote:
> > I am using xenomai-2.5.6.
> >
> > When i tried with xenomai-2.6.0-rc1 with kernel-2.6.37.6. It gets error
> > during kernel compilation
> >
> > Which kernel and xenomai version is working in mini2440
> >
> > I tried vanilla kernel 2.6.35.9 with mini2440_defconfig , i am getting
> error
> > while booting
> >
> >  Log file of error http://pastebin.com/L2mffkym
>
> The only non-working version is kernel 2.6.37 (and later) with xenomai
> 2.5.6. Please try 2.6.0-rc4 instead of -rc1. However, I am surprised
> that the kernel does not build with the 2.6.37 patch, as I build-tested
> it. Could you put the compilation logs on a pastebin?
>
> The error you have with 2.6.35.9 does not seem to be related to xenomai.
>
> --
>                                            Gilles.
>

[-- Attachment #2: Type: text/html, Size: 2219 bytes --]

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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-10  9:43               ` Siva kumar Balasubramanian
@ 2011-10-10 11:04                 ` Gilles Chanteperdrix
  2011-10-10 18:21                 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 15+ messages in thread
From: Gilles Chanteperdrix @ 2011-10-10 11:04 UTC (permalink / raw)
  To: Siva kumar Balasubramanian; +Cc: xenomai

On 10/10/2011 11:43 AM, Siva kumar Balasubramanian wrote:
> I am getting same error after patching latest xenomai-2.6.0.rc4 with
> kernel-2.6.37.6
> 
> Compilation log http://pastebin.com/WdD2Tzqd
> 
> My configuration file http://pastebin.com/kcjH1tGF

Indeed, I get the same build failure, I will fix tonight and send you a
patch.

-- 
                                                                Gilles.


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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-10  9:43               ` Siva kumar Balasubramanian
  2011-10-10 11:04                 ` Gilles Chanteperdrix
@ 2011-10-10 18:21                 ` Gilles Chanteperdrix
  2011-10-11  5:21                   ` Siva kumar Balasubramanian
  1 sibling, 1 reply; 15+ messages in thread
From: Gilles Chanteperdrix @ 2011-10-10 18:21 UTC (permalink / raw)
  To: Siva kumar Balasubramanian; +Cc: xenomai

On 10/10/2011 11:43 AM, Siva kumar Balasubramanian wrote:
> I am getting same error after patching latest xenomai-2.6.0.rc4 with
> kernel-2.6.37.6
> 
> Compilation log http://pastebin.com/WdD2Tzqd
> 
> My configuration file http://pastebin.com/kcjH1tGF

Please try the following patch:
http://git.xenomai.org/?p=xenomai-head.git;a=commitdiff;h=ff5a1b259383c1e2407f5677e8124608b41a689e;hp=aa44db3d5ee270c3b92a1017f7c136ffa1e2cc4d

-- 
                                                                Gilles.


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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-10 18:21                 ` Gilles Chanteperdrix
@ 2011-10-11  5:21                   ` Siva kumar Balasubramanian
  2011-10-11  8:00                     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 15+ messages in thread
From: Siva kumar Balasubramanian @ 2011-10-11  5:21 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

The patch works, Thank you for fixing this

Now i was able to build without errors. I got mini2440 booting

I was able to run xeno-test

But when i try to test Helloworld program. I found the following libraries
missing

error while loading shared libraries: librtdk.so.0: cannot open shared
object file: No such file or directory




On Mon, Oct 10, 2011 at 11:51 PM, Gilles Chanteperdrix <
gilles.chanteperdrix@xenomai.org> wrote:

> On 10/10/2011 11:43 AM, Siva kumar Balasubramanian wrote:
> > I am getting same error after patching latest xenomai-2.6.0.rc4 with
> > kernel-2.6.37.6
> >
> > Compilation log http://pastebin.com/WdD2Tzqd
> >
> > My configuration file http://pastebin.com/kcjH1tGF
>
> Please try the following patch:
>
> http://git.xenomai.org/?p=xenomai-head.git;a=commitdiff;h=ff5a1b259383c1e2407f5677e8124608b41a689e;hp=aa44db3d5ee270c3b92a1017f7c136ffa1e2cc4d
>
> --
>                                                                Gilles.
>

[-- Attachment #2: Type: text/html, Size: 2558 bytes --]

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

* Re: [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440
  2011-10-11  5:21                   ` Siva kumar Balasubramanian
@ 2011-10-11  8:00                     ` Gilles Chanteperdrix
  0 siblings, 0 replies; 15+ messages in thread
From: Gilles Chanteperdrix @ 2011-10-11  8:00 UTC (permalink / raw)
  To: Siva kumar Balasubramanian; +Cc: xenomai

On 10/11/2011 07:21 AM, Siva kumar Balasubramanian wrote:
> The patch works, Thank you for fixing this
> 
> Now i was able to build without errors. I got mini2440 booting
> 
> I was able to run xeno-test
> 
> But when i try to test Helloworld program. I found the following libraries
> missing
> 
> error while loading shared libraries: librtdk.so.0: cannot open shared
> object file: No such file or directory

If you intend to run a program with xenomai 2.6.0, you have to compile
it with xenomai 2.6.0.

-- 
                                                                Gilles.


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

end of thread, other threads:[~2011-10-11  8:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-07 14:52 [Xenomai-help] Xenomai: /dev/rtheap is missing (chardev, major=10 minor=254) in mini2440 Siva kumar Balasubramanian
2011-10-07 15:09 ` Gilles Chanteperdrix
2011-10-07 15:55   ` Siva kumar Balasubramanian
2011-10-07 16:27     ` Siva kumar Balasubramanian
2011-10-07 16:42       ` Gilles Chanteperdrix
2011-10-07 16:46     ` Gilles Chanteperdrix
2011-10-08  6:28       ` Siva kumar Balasubramanian
2011-10-08 15:55         ` Gilles Chanteperdrix
2011-10-10  8:45           ` Siva kumar Balasubramanian
2011-10-10  9:15             ` Gilles Chanteperdrix
2011-10-10  9:43               ` Siva kumar Balasubramanian
2011-10-10 11:04                 ` Gilles Chanteperdrix
2011-10-10 18:21                 ` Gilles Chanteperdrix
2011-10-11  5:21                   ` Siva kumar Balasubramanian
2011-10-11  8:00                     ` 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.