**** BEGIN LOGGING AT Thu Jul 11 02:59:58 2013 Jul 11 05:50:14 hello Jul 11 05:50:56 how can I find the path which gcc used to do with #include Jul 11 07:18:20 when I am reading the source code , the cecet tells me that it can not find some header files location . Now I must tell the cedet where are these header files / Jul 11 07:24:21 it the file /home/jb/Documents/soft/soft_src/panda-linaro/system/core/init/init.c , there are a lot of #include . I want to know the location of XXX.h Jul 11 11:57:34 greetings, guys Jul 11 11:58:04 im building headless custom arm device (AllWinner A11); got kernel compiled, it runs with debian rootfs perfectly Jul 11 11:58:13 but when i try ubuntu 13.04 armhf core, i cant boot due to plymouth Jul 11 11:59:44 how can i tune it to avoid any graphics or better avoid any non-failsafe techniques? Jul 11 12:02:04 uart log: Jul 11 12:02:08 ... Jul 11 12:02:14 <4>init: plymouth main process (50) killed by ABRT signal Jul 11 12:02:18 <4>init: plymouth-splash main process (243) terminated with status 2 Jul 11 12:02:22 <4>init: failsafe main process (291) killed by TERM signal Jul 11 12:02:26 <4>init: plymouth-stop pre-start process (414) terminated with status 1 Jul 11 12:02:44 ....and hang up (kernel panic?) Jul 11 12:03:15 (have no idea what happens) Jul 11 12:55:06 phuken hate that :( Jul 11 12:55:27 got to use debuan i think Jul 11 12:55:38 *debian Jul 11 12:58:08 just remove the plymouth upstart jobs ... its trivial Jul 11 13:02:22 ogra_, after a little bit of googling i realize that plymouth is kinda hardcoded thing Jul 11 13:02:41 you dont need to start it Jul 11 13:02:54 just remove the jobs and it will work Jul 11 13:03:08 (or fix your kernel to have proper fbcon support) Jul 11 13:04:43 so, just rm -rf /etc/init/plymouth* ? Jul 11 13:05:57 yeah Jul 11 13:06:25 ogra_, fbcon? the only way to connect to device is uart (/dev/ttyS0) Jul 11 13:06:44 well, then proper VT support at least Jul 11 13:07:37 well. what .config flags related to this thing? Jul 11 13:07:41 *are Jul 11 13:09:23 i just want to keep rootfs as untouched as it possible (rm -rf /etc/init/plymouth* is the last resort) Jul 11 13:12:42 hehe. Jul 11 13:12:58 ogra_, no luck with rm -rf /etc/init/plymouth* Jul 11 13:13:00 <4>init: failsafe main process (204) killed by TERM signal Jul 11 13:13:05 and hang up Jul 11 13:13:26 how did you create your rootfs ? Jul 11 13:14:10 first tried ubuntu-core-13.04-core-armhf.tar.gz Jul 11 13:14:39 well, thats for building something on top Jul 11 13:14:49 not really something to boot Jul 11 13:15:10 ive also tried debootstrap --verbose --arch armhf --variant=minbase --foreign raring /target Jul 11 13:15:55 no Jul 11 13:15:59 (then cp quemu -- mount proc&pts -- chroot into target and second stage, of cause) Jul 11 13:16:22 use qemu-debootstrap from qemu-user-static Jul 11 13:16:38 that will just create a cross chroot for you Jul 11 13:17:03 then you indeed need to make sure to have a serial getty configured, else you will never get a login on the serial port Jul 11 13:18:22 whats the diff between qemu-debootstrap and debootstrap --arch armhf ....... then cp /usr/bin/qemu-arm-static target/usr/bin and chroot into there? Jul 11 13:18:54 qemu-debootstrap uses binfmt to actually provide you the ability to just chroot into the root you created Jul 11 13:19:26 it just saves you from a ton of extra work Jul 11 13:22:36 ok ill try, but its not a problem right now Jul 11 13:23:16 did you set up a proper serial config yet ? Jul 11 13:23:51 echo 'T0:2345:respawn:/sbin/getty -L ttyS0 115200 linux' >> /etc/inittab Jul 11 13:24:26 no Jul 11 13:24:38 follow the serial howto from the ubuntu wiki Jul 11 13:24:47 /etc/inittab isnt used since ages Jul 11 13:25:07 like 4 years or so Jul 11 13:31:44 ogra_, thanx a lot Jul 11 13:31:59 finally got kernel initialized Jul 11 13:32:31 :) Jul 11 13:33:09 by the way Jul 11 13:33:52 why the f language-pack-en depends on firefox localization package? Jul 11 13:34:10 even when firefox is not installed Jul 11 13:34:14 you want the -base package Jul 11 13:34:35 the above is a toplevel meta package for languages Jul 11 13:34:56 It doesn't depend on it... Jul 11 13:35:00 and until raring it (firefox localization package) even was not available on armhf, so dep was broken Jul 11 13:35:26 infinity, sorry, does not depend of cause, but recommends it Jul 11 13:35:26 (base)adconrad@cthulhu:~$ apt-cache show language-pack-en | grep ^Depends Jul 11 13:35:27 Depends: language-pack-en-base (>= 1:13.04+20130418) Jul 11 13:35:27 (base)adconrad@cthulhu:~$ apt-cache show language-pack-en-base | grep ^Depends Jul 11 13:35:29 Depends: locales (>= 2.3.6), language-pack-en (>= 1:13.04+20130418) Jul 11 13:35:32 (base)adconrad@cthulhu:~$ apt-cache show locales | grep ^Depends Jul 11 13:35:34 Depends: libc6 (>= 2.9-0ubuntu10) | libc6.1 (>= 2.9-0ubuntu10) Jul 11 13:35:57 one moment please. Jul 11 13:36:43 In precise, it did Recommend it, yes. But recommends don't prevent you from installing without. Jul 11 13:37:17 And, of course firefox-locale-en is available on armhf. Jul 11 13:37:31 (And always has been) Jul 11 13:38:36 # apt-get install language-pack-en Jul 11 13:38:38 ........ Jul 11 13:38:45 The following extra packages will be installed: Jul 11 13:38:45 firefox-locale-en language-pack-en-base Jul 11 13:39:58 apt-get --no-install-recommends install language-pack-en Jul 11 13:40:13 indeed :) Jul 11 13:40:14 Not that having firefox-locale-en installed hurts anything. Jul 11 13:40:52 well i just wanted to say that its better not to be recommended Jul 11 13:41:26 And it's not in saucy, so you win. :P Jul 11 13:41:57 infinity, my apologies, i cant reproduce now the situation i met some time ago about firefox-locale-en package cannot be found in armhf reps. maybe it was before precise Jul 11 13:42:46 infinity, hah, finally :)) but stable saucy'll be available only in autumn Jul 11 13:44:03 so, concluding plymouth stuff. I WAS AN IDIOT :) and have not properly configured serial console :))) Jul 11 13:44:32 and it wasnt necessary to remove it from upstart Jul 11 13:45:17 debian worked correctly because i conf'ed serial console in /inittab Jul 11 13:46:58 ah, lucky you, plymouth breaks the boot with kernels that have issues with VT and fbcon Jul 11 13:47:25 means your kernel is fine then :) Jul 11 13:47:42 :) Jul 11 13:49:17 thank you guys, again Jul 11 13:57:35 udevd[171]: error changing net interface name wlan0 to wlan2: Device or resource busy Jul 11 13:57:40 cant understand why does it do that (renaming) Jul 11 14:01:04 Offshore: A rule in /etc/udev/rules.d/70-persistent-net.rules perhaps? Jul 11 14:01:32 because it created a persistent rule for your laptop when you built the chroot Jul 11 14:01:48 would be my guess Jul 11 14:02:31 ogra_, hmm. Jul 11 14:02:44 infinity, ill take a look, thanx Jul 11 14:05:46 ogra_, "sudo: unable to resolve host ubuntu-gnome" lol. You definetely right about qumy-debootstrap :)) Jul 11 14:06:02 :) Jul 11 14:06:57 infinity, is there any common way to totally flush /etc/udev/rules.d/70-persistent-net.rules ? Jul 11 14:07:08 it seems that is it Jul 11 14:07:26 (i mean not editing) Jul 11 14:07:32 *directly Jul 11 14:08:36 Offshore: hand-editing is the way to go. Just delete the offending line(s). Jul 11 14:09:17 well manual edit is always an option Jul 11 14:13:43 awwww another question :) Jul 11 14:13:53 sometimes system hangs on reboot Jul 11 14:13:58 just before reboot Jul 11 14:14:43 i cant fig out conditions for it Jul 11 14:14:43 [sw-ehci1]: close clock Jul 11 14:14:43 <6>[sw-ehci1]: shutdown end Jul 11 14:14:43 [sw_hcd0]: sw_hcd shutdown start Jul 11 14:14:43 [sw_hcd_host0]: Set USB Power OFF Jul 11 14:14:43 [sw_hcd0]: sw_hcd shutdown end Jul 11 14:14:44 <0>Restarting system. Jul 11 14:14:44 [ 203.290000] Restarting system. Jul 11 14:14:52 ...and over Jul 11 14:14:52 That would be a kernel bug. Jul 11 14:15:12 Userspace is long gone by then. Jul 11 14:15:26 So, if your kernel (sometimes) fails to reboot your hardware, that's between you and your kernel. Jul 11 14:15:42 but its... sometimes! not always :/ Jul 11 14:16:25 The sometimes could be a clue. If it only happens when a certain device is plugged in, on Tuesdays when the moon is full, dunno. Jul 11 14:16:39 But it could just as easily be sketchy hardware/firmware. Jul 11 14:16:47 for me its absolutely random Jul 11 14:17:05 kernel hacking is not my best practice Jul 11 14:17:10 maybe i just can arm the watchdog? :)) Jul 11 14:17:14 Anyhow, definitely a kernel (or hardware) problem. Jul 11 14:17:23 hm, "arm the watchdog" Jul 11 14:20:39 oh my goddess Jul 11 14:20:49 at last. Jul 11 14:21:16 earlier i hav yp to 80% rw packets dropped on wlan interface Jul 11 14:21:40 *have up Jul 11 14:21:46 magic. Jul 11 14:21:49 ubuntu. Jul 11 14:21:50 :)) Jul 11 14:32:00 http://raw.aopdg.ru/temp/dscn1937_skjhbveo587bgy.jpg Jul 11 14:33:50 I want to meet the person at Allwinner responsible for their naming scheme, so I can smack them. Jul 11 14:33:53 And the same with Apple. Jul 11 14:34:15 "The A5 is an A9, and the A10 is an A8" is the most confusing sentence ever. Jul 11 14:35:06 yup. allwinner's a10 is more powerful than a13 Jul 11 14:35:09 they are allwinners @ allwinner Jul 11 14:36:18 and a20 is more powerful than a10 Jul 11 14:36:23 magic, again Jul 11 14:37:33 however their cpus are convinient, cheap and powerful Jul 11 14:37:44 and solderable by hands :) Jul 11 14:40:34 # sudo halt -p Jul 11 14:40:35 ... Jul 11 14:40:36 [sw_hcd_host0]: Set USB Power OFF Jul 11 14:40:36 [sw_hcd0]: sw_hcd shutdown end Jul 11 14:40:36 <0>Power down. Jul 11 14:40:36 [ 1447.390000] Power down. Jul 11 14:40:36 [axp] send power-off command! Jul 11 14:40:37 [axp] set flag! Jul 11 14:40:37 [axp] reboot! Jul 11 14:40:45 so tired. Jul 11 14:40:59 reboot => sometimes halt Jul 11 14:41:05 halt => everytime reboot Jul 11 14:41:08 damn Jul 11 15:00:42 ogra_, https://wiki.ubuntu.com/ARM/RootfsFromScratch/QemuDebootstrap, its really useful, thanx Jul 11 15:01:27 wow, thats massively outdated Jul 11 15:02:17 so "mk-sbuild --arch armhf raring" wont work? :( Jul 11 17:37:49 ogra_, if i compile kernel with CONFIG_IP_PNP (IP: kernel level autoconfiguration), do i still need dhcp3-client? Jul 11 17:38:04 infinity Jul 11 17:39:02 That's really meant for very simple PXE-type setups. It won't do any fancy userspace stuff that dhcp-client does (like, say, setting your DNS servers from dhcp) Jul 11 17:39:37 So, if you're happy with only contacting hosts by IP, and completely disabling any userspace networking fanciness, sure. :P Jul 11 17:40:04 uh :( Jul 11 19:21:20 So, I ran ubuntu-cdimage and it sure seems like it deleted some files from my /srv/cdimage.ubuntu.com/ftp Ubuntu mirror... Is that likely? I did set config["CDIMAGE_NOSYNC"] = "1" since I'd already created the mirror. Perhaps I'm doing it wrong? ogra_? **** ENDING LOGGING AT Fri Jul 12 02:59:58 2013