Hi, Marko

ohm in Trunk:Testing( 
http://build.meego.com/package/files?package=ohm&project=Trunk%3ATesting ) 
works, it is not yet accepted in Trunk 
(http://build.meego.com/package/files?package=ohm&project=Trunk ).

For MeeGo:1.2:oss:Testing, the previous submit (17668) was declined.

Please file bug if you think it is sever, and let me know which project you 
want this fix to go in, so that release engineer could accept it quickly.
Thanks!


-----Original Message-----
From: Marko Saukko [mailto:[email protected]] 
Sent: Thursday, May 12, 2011 3:40 PM
To: Zheng, Huan
Cc: Marko Saukko; [email protected]; Zhu, Peter J
Subject: Re: [meego-packaging] [meego-commits] 17478: Changes to 
MeeGo:1.2:oss:Testing/fastinit

Hi,

this one went probably bad...

[   23.888641] ohmd/1063: potentially unexpected fatal signal 6.
[   23.890319]
[   23.890350]
[   23.890350] Pid: 1063, comm:                 ohmd
[   23.890380] CPU: 0    Tainted: G         C 
(2.6.37-11.3-adaptation-n900 #1)
[   23.890441] PC is at 0x40314f8c
[   23.890441] LR is at 0x403167e4
[   23.890472] pc : [<40314f8c>]    lr : [<403167e4>]    psr: 20000010
[   23.890472] sp : beb53320  ip : 4009d8c0  fp : 00000000
[   23.890472] r10: 00000000  r9 : 40254518  r8 : 4009d400
[   23.890502] r7 : 0000010c  r6 : 40430bd8  r5 : 0011a3ec  r4 : 00000006
[   23.890502] r3 : 00000427  r2 : 00000006  r1 : 00000427  r0 : 00000000
[   23.890533] Flags: nzCv  IRQs on  FIQs on  Mode USER_32  ISA ARM 
Segment user

also in /var/log/messages

Dec 31 16:00:24 localhost ohmd[1063]: GLIB ERROR ** default - cannot 
load keyfile /etc/ohm/arm_nokia_rx_51_board_0020-modules.ini aborting...

After adding:

ln -s modules.ini /etc/ohm/arm_nokia_rx_51_board_0020-modules.ini

it works. So did you actually test that this works?

Also is this related to the fact that SR 17668 got declined from 
MeeGo:1.2:oss ?

Regards,
Marko

On 05/04/2011 11:08 AM, Zheng, Huan wrote:
> This environment variable is to
> 1, let ohmd load different modules on different platform
> 2, let the modules to use different configuration file on different platform.
> The first step is done in ohmd, I'm going to patch ohmd for the second.
>
> If it's not valid, the default configuration will be used.
>
> -----Original Message-----
> From: Marko Saukko [mailto:[email protected]]
> Sent: Wednesday, May 04, 2011 3:46 PM
> To: [email protected]
> Cc: Zheng, Huan
> Subject: Re: [meego-commits] 17478: Changes to MeeGo:1.2:oss:Testing/fastinit
>
> Hi,
>
> if the OHM_CONF_PLATFORM is not valid what will happen? All platform do
> not have platform specific modules, right?
>
> Regards,
> Marko
>
> On 05/04/2011 10:40 AM, Zheng Huan wrote:
>> Hi,
>> I have made the following changes to fastinit in project 
>> MeeGo:1.2:oss:Testing. Please review and accept ASAP.
>>
>> Thank You,
>> Zheng Huan
>>
>> [This message was auto-generated]
>>
>> ---
>>
>> Request #17478:
>>
>>     submit:   home:zbt:branches:MeeGo:1.2:oss:Testing/fastinit(r6)(cleanup) 
>> ->   MeeGo:1.2:oss:Testing/fastinit
>>
>>
>> Message:
>>       Fix BMC7487 which has been proposed to release blocker; this submit 
>> will be only sent to MeeGo:1.2:oss:Testing since fastinit may go away in 
>> 1.3; no platform dependent
>>
>> State:   new          2011-05-04T00:40:46 zbt
>> Comment: None
>>
>>
>>
>> changes files:
>> --------------
>> --- fastinit.changes
>> +++ fastinit.changes
>> @@ -0,0 +1,3 @@
>> +* Wed May 4 2011 Zheng Huan<[email protected]>   - 1.28
>> +- Added OHM_CONF_PLATFORM to load different ohmd modules on different 
>> platform, for BMC#7487
>> +
>>
>> new:
>> ----
>>     ohmd-boardname.patch
>>
>> spec files:
>> -----------
>> --- fastinit.spec
>> +++ fastinit.spec
>> @@ -8,6 +8,7 @@
>>    Patch0: add-daemon.patch
>>    Patch1: sensorfw-boardname.patch
>>    Patch2: disable-als.patch
>> +Patch3: ohmd-boardname.patch
>>    BuildRoot: /%{_tmppath}/%{name}-%{version}-%{release}-root
>>    Requires: mingetty, /bin/awk, /bin/sed, /bin/mktemp, e2fsprogs>= 1.15
>>    Requires: /sbin/sysctl, syslog
>> @@ -38,6 +39,7 @@
>>    %patch0 -p1
>>    %patch1 -p1
>>    %patch2 -p1
>> +%patch3 -p1
>>
>>    %build
>>    make -C src
>>
>> other changes:
>> --------------
>>
>> ++++++ ohmd-boardname.patch (new)
>> --- ohmd-boardname.patch
>> +++ ohmd-boardname.patch
>> +diff -urN fastinit-1.28/rc.d/rc.sysinit fastinit-1.28-p/rc.d/rc.sysinit
>> +--- fastinit-1.28/rc.d/rc.sysinit   2011-05-04 06:52:00.164382905 +0800
>> ++++ fastinit-1.28-p/rc.d/rc.sysinit 2011-05-04 07:07:17.532383245 +0800
>> +@@ -347,6 +347,10 @@
>> +    fi
>> +    
>> +    if [ -x "/usr/sbin/ohmd" ] ; then
>> ++           if [ -f "/etc/boardname" ]; then
>> ++                   bn=`cat /etc/boardname`
>> ++                   export OHM_CONF_PLATFORM=$bn
>> ++           fi
>> +            /usr/sbin/ohmd
>> +    fi
>> +
>>
>> _______________________________________________
>> MeeGo-commits mailing list
>> [email protected]
>> http://lists.meego.com/listinfo/meego-commits
>
> _______________________________________________
> MeeGo-packaging mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-packaging

_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to