Tuesday, November 07, 2006

Debugging init on solaris

As you know,i was waiting for support from belenix team.
but yesterday also, i didn't get response from moinak. i disappointed very much.
init process giving some error, but not able to solve that. even though i spent so many days on belenix, i don't know internals of booting sequence of livecd? and how it is orgainsed and all?. moinak is the only person can tell that, because he only created it.

i was searching for "/sbin/init" in the live cd which was file actually creating problem and the very first proces forked by kernel, i haven't find in livecd file hierarchy.i think it might be rename to some other file name. if it was, i can simply replace it with my own customized init file by using remastering tool kit. but there was no luck for me.

In linux, there is a kernel parameter called "init=/program/to/path/name", which we can pass at the booting time, so it will be forked by the kernel as the first process, instead of /sbin/init, so we can play like anything for example init=/bin/bash will call bash as a first process instead of /sbin/init.

but i haven't find such option on solaris.

i am planning to ask some other sun guy's.

ATmega8

Yesterday There was heavy rain, when i went to buy ATmega8 chip for my microcontroller project. so the shops are closed early, i was standing infront of closed shop for long time and finally i returned to home at 11pm with out buying chip :(

so today i started my hunt at afternoon itself, and i finally came to know that this chip not available here.

i have to search in bangalore only, but mostly probably it is possible in next week as i am planning to go there.

will see, i will get or not. if it happens, will continue with that otherwise i have to search some other chip which is compatible with this one.