gcc q

2010-08-22 Thread Erez D
hi I am using gcc (actually avr-gcc) to compile some code for an AVR processor (AT32UC3L064). The code generated does a lot of things before entering main() There is some code i want it to do first - immediatly after powerup, before all other initializations. anyone knows how to do so ? thanks

Re: official way to load aoe module?

2010-08-22 Thread Etzion Bar-Noy
Again, inline. On Mon, Aug 23, 2010 at 2:46 AM, Amos Shapira wrote: > On 23 August 2010 04:42, Etzion Bar-Noy wrote: > > > > Inline > > > > On Sun, Aug 22, 2010 at 4:41 PM, Amos Shapira > wrote: > >> > >> Yes. But apart from hoping that RHCS does its job right, there is > >> nothing preventing

Re: official way to load aoe module?

2010-08-22 Thread Amos Shapira
On 23 August 2010 04:42, Etzion Bar-Noy wrote: > > Inline > > On Sun, Aug 22, 2010 at 4:41 PM, Amos Shapira wrote: >> >> Yes. But apart from hoping that RHCS does its job right, there is >> nothing preventing other guests from mounting the same partition in >> parallel. >> > Of course there is -

Re: official way to load aoe module?

2010-08-22 Thread Etzion Bar-Noy
Inline On Sun, Aug 22, 2010 at 4:41 PM, Amos Shapira wrote: > On 22 August 2010 23:22, Oleg Goldshmidt wrote: > > > > On Sun, Aug 22, 2010 at 2:25 PM, Amos Shapira > wrote: > > > > > We are a little concerned about the situation of two guests mounting > > > the ext3 and starting to manipulate t

Re: official way to load aoe module?

2010-08-22 Thread Amos Shapira
On 22 August 2010 23:22, Oleg Goldshmidt wrote: > > On Sun, Aug 22, 2010 at 2:25 PM, Amos Shapira wrote: > > > We are a little concerned about the situation of two guests mounting > > the ext3 and starting to manipulate the sqlite files on it in > > parallel. > > I think you should be *very* conc

Re: official way to load aoe module?

2010-08-22 Thread Etzion Bar-Noy
Because it is. Not in a way you will suffer physical damage. Your legs will be fine, and so will be your hands. Your data, on the other hand, will probably be very unhealthy... Anyhow, RHCS, as a clustering infrastructure, should allow you to solve this problem with minimal chance of human error.

Re: official way to load aoe module?

2010-08-22 Thread Dima (Dan) Yasny
Thinking about it, in this case there doesn't seem to be any gain in using AoE or iSCSI over NFS. NFS is far from being perfect, but it takes care of the shared FS, and since the network spped is the bottleneck here... (reposted to all, my apologies) On Sun, Aug 22, 2010 at 3:22 PM, Oleg Goldshmid

Re: official way to load aoe module?

2010-08-22 Thread Oleg Goldshmidt
On Sun, Aug 22, 2010 at 2:25 PM, Amos Shapira wrote: > We are a little concerned about the situation of two guests mounting > the ext3 and starting to manipulate the sqlite files on it in > parallel. I think you should be *very* concerned about the situation where 2 guests mount an ext3 partitio

Re: official way to load aoe module?

2010-08-22 Thread Amos Shapira
On 22 August 2010 15:27, Etzion Bar-Noy wrote: > > I think OCFS2 is slightly better. > Listen - if you don't need clustered filesystem, avoid it at any cost. > However, if you do need it, then A/P cluster is not enough. We are a little concerned about the situation of two guests mounting the ext

Re: official way to load aoe module?

2010-08-22 Thread Ehud Karni
On Sat, 21 Aug 2010 01:30:58 Lior Kaplan wrote: > > The RedHat way: > http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s1-kernel-modules-persistant.html I think this is the OLD RedHat way. Look at snippet from /etc/rc.sysinit of CentOS 5.5: # Load other user