/srv/irclogs.ubuntu.com/2012/10/11/#upstart.txt

ericbuttershello. i got: init: mounted-proc main process (1277) terminated with status 113:57
ericbuttersusing ubuntu-core 12.04.1 on armv713:58
ericbutterswhere to find information about linux kernel features needed for upstart?14:03
jodhericbutters: odd - that job just calls chmod. Is there anything in /var/log/upstart/mounted-proc.log* ? does /proc/eslabinfo exist? what perms does it have?14:07
jodhericbutters: why do you need to know the kernel features?14:07
ericbuttersi can't boot into ubuntu because of that error. 14:08
ericbuttersi built kernel by myself14:08
ericbuttersi can boot into fedora 1714:08
ericbuttersjodh can not answer to your questions because i can not access the filesystem14:10
ericbuttersmy kernel command line: console=ttySAC1,38400 rootfstype=ext3 rw root=/dev/mmcblk0p2 rootdelay=5 --no-log noinitrd14:23
jodhericbutters: you can remove --no-log now - upstart supports initramfs-less boot.14:24
jodhericbutters: try booting with "init=/bin/sh" and having a look around your system maybe?14:24
ericbutterswhen i remove i get: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/98091714:24
jodhericbutters: oh, sorry - hadn't seen you're running 12.04.1. yes, that SRU will be progressed soon :-)14:29
ericbuttersjodh i now have /bin/sh stated... what should i look around?14:29
jodhwell, remount root rw (http://upstart.ubuntu.com/cookbook/#boot-to-a-shell-directly) and then try mounting /proc maybe? You could then "exec /sbin/init" and see what you get. Why are you using your own kernel? Presumably, the system works normally with a stock Ubuntu kernel? If so, you should compare your kernel config with /boot/config-<version>.14:34
ericbutterswe are OEM, porting linux to our ARM based boards..14:35
ericbuttersFYI this is output: http://pastebin.com/raw.php?i=H4hTDAF014:37
jodhIf the problem isn't with /proc, try adding --debug to your boot command-line.14:43
ericbuttersjodh: when bootargs with --no-log --> http://pastebin.com/raw.php?i=V8pe9KDG and when bootargs without --no-log --> http://pastebin.com/icfUFgt014:47
jodhericbutters: the first error is because /bin/sh exited as it doesn't understand --no-log - that's an upstart option.14:49
jodhcan you boot with --debug?14:50
ericbuttersfirst w/ debug and no --no-log: http://pastebin.com/yLs7G3wQ14:50
ericbutterssecong with --no-log: http://pastebin.com/P9wc3g7h14:51
jodhericbutters: you appear to have modified the jobs - 'mountallServer' is not a standard event. Also, have you compared your kernel config with the stock ubuntu ones?15:00
ericbuttersjodh i did not anything to the ubuntu system. i compare with ac100 ubuntu defconfig at the moment. is not that easy. ac100 is 3.1.10 where my linux kernel is 3.3.715:01
ericbuttersi can access by mounting the sd card on my devel machine. what to do to get this mountallServer disabled?15:04
ogra_yo15:07
jodhogra_: hi!15:08
jodhericbutters: can you explain why you can't use the stock ubuntu kernel source + config and rebuild for your board maybe?15:08
jodhericbutters: I've double-checked and nothing that I can see in an standard ubuntu 12.04.1 system emits the 'mountallServer' event, so your system has been customised somehow. Try booting with init=/bin/sh and doing grep -ilr mountallServer /etc/init*15:10
jodhfor arm-specifics, you might also want to ask on #ubuntu-arm.15:10
ericbuttersuuhh that takes too much time, getting all the samsung specific things to work.. all works great with fedora. i just want to try ubuntu. 15:11
jodh? I don't understand sort, grep and diff should allow you to compare those 3 kernel configs??15:13
jodhso I would compare kernel configs, ensure you have inotify and /proc compiled into the kernel, and identify what introduced the 'mountallServer' event.15:14
ogra_and devtmpfs15:15
jodhogra_: yeah - and sysfs and tmpfs.15:15
ericbuttersjodh  grep -ilr mountallServer /etc/init* gives nothing15:15
ericbuttersjodh ogra_ all that is enabled in kernel15:16
ogra_well, do you aheva  proper rootfs as well ?15:17
ogra_*have a15:17
jodhericbutters: gah - mountallServer is a "red-herring" it was added to mountall a while back and sadly doesn't conform to the standard naming scheme.15:17
jodhericbutters: so, ignore that issue.15:17
ericbuttersorga_ i have a fedora 17 lxde running15:18
ogra_if all kernel optiuons are there, /me bets on an incomplete rootfs15:18
ogra_ericbutters, i dont care about fedora, its so massively different from ubuntu, it doesnt help to mention it every few mins15:18
ericbuttersi downloaded from ubuntu-core here: http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/15:18
ogra_as i told you before 15:19
ogra_ubuntu-core is *NOT* a root filesystem to boot from15:19
ogra_i pointed you to the right rootfs and also told you wheer to find a config in there to compare to your kernel15:19
ericbutterswhere can i find *A* ubuntu for arm to boot from?15:20
ogra_<ogra_> http://cdimage.ubuntu.com/lubuntu/daily-preinstalled/20121008/quantal-preinstalled-desktop-armhf+ac100.tar.gz has a lubuntu tarball ... 15:20
ogra_<ericbutters> orga_ thank you.. i will try.. did you read my first post regarding mounted-proc?15:20
ogra_<ogra_> after untarring run: touch <dir or mountpoint>/var/lib/oem-config/run15:20
ogra_<ogra_> ericbutters, most likely you are missing config options,. the tarball is originally for the ac100, look in /boot/ for the configuartion file and compare it to your config options15:20
ogra_repatesd from #ubuntu-devel15:20
ogra_*pasted15:20
ogra_i wont repeat myself again15:21
ericbuttersorga_ okay.. i try that one.. 15:21
ericbutterssry ogra_15:21
jodhericbutters: another thing - if you haven't already created one, you'll probably want to create an upstart job that starts a getty on /dev/ttySAC1.15:22
ogra_yeah15:22
ogra_see the serial howto on the ubuntu wiki15:22
ericbuttersokay15:22
ogra_it describes the process to set serial console up15:22
ericbuttersjodh ogra_ wow. i created ttySAC1.conf and added ttySAC1 to securetty.. and now i got a log in. sry, but what is the login name and passwd?15:51
bfallikupstart 0.6.5 on el6:  what's the recommended way to restart a process when any instance of another job has restarted (most liked due to a crash)?  Can I specify a pattern in the "start on" and "stop on" clauses?18:40
bfallikHmm.  maybe the instance job name without any INSTANCE= will work?18:48
bfallikyes, that seems to work.19:02
SpamapSbfallik: glad we could help ;)19:05
bfallikhehe.  I'm still not 100% certain of the right way to do what I want, but at least I have my answer.19:06
SpamapSbfallik: note that upstart won't emit events, as far as I know, for a respawn of a service... so it would have to be the service dying, upstart not respawning (or giving up) and changing the goal back to stop.. and then an admin or other process starting it again.19:29
bfallikSpamapS: Interesting.  That doesn't match what I've observed.19:59
bfallikwe have respawn set in our worker job, and the webserver job has:  start on starting worker; stop on (stopping worker or stopped worker)20:00
bfallikit seems to DTRT, although I'm not expert enough to know why.20:01

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!