IRC log for #htc-linux on 20130401

00:18.36*** join/#htc-linux gauner1986 (~Adium@p5DD0CE6F.dip.t-dialin.net)
00:18.41*** part/#htc-linux gauner1986 (~Adium@p5DD0CE6F.dip.t-dialin.net)
00:21.50*** join/#htc-linux surge (~surge@pool-98-118-154-23.bflony.fios.verizon.net)
00:38.07*** join/#htc-linux sam__ (3b4e0875@gateway/web/freenode/ip.59.78.8.117)
00:39.46*** join/#htc-linux sam__ (3b4e0875@gateway/web/freenode/ip.59.78.8.117)
00:41.46*** join/#htc-linux sam__ (3da424b4@gateway/web/freenode/ip.61.164.36.180)
01:29.38*** join/#htc-linux sam__ (3b4e0875@gateway/web/freenode/ip.59.78.8.117)
02:12.21*** join/#htc-linux cjae (~quassel@142-165-27-147.estv.hsdb.sasknet.sk.ca)
02:14.04*** join/#htc-linux swc|666 (~sdub@Aircrack-NG/Friend)
02:26.53*** join/#htc-linux FlawlesStyle (~LOL@unaffiliated/flawlesstyle)
02:43.13*** join/#htc-linux noobhands (fakker@cpc30-hitc6-2-0-cust607.9-2.cable.virginmedia.com)
02:43.13*** join/#htc-linux noobhands (fakker@unaffiliated/fakker)
02:43.15*** join/#htc-linux jonpry (~jon@2602:306:c417:8aa0:8135:1689:db40:5a2b)
02:43.23*** join/#htc-linux khorben__ (~dont@port-83-236-217-161.static.qsc.de)
02:43.26*** join/#htc-linux d3tul3 (~detule@unaffiliated/d3tul3)
04:20.29hopkinskongd3tul3, ali1234: No, what i mean is, i want to change the android log path to elsewhere, instead of /dev/log
04:20.43hopkinskongBut, i can't find where is that path defined.
04:21.01hopkinskongI've looked over logger.c, but no clue.
04:33.21jonprystuff in /dev/log are just device nodes
04:33.26jonpryyou can make them anywhere you want with mknod
05:10.50ali1234specifically this part defines it: http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/drivers/staging/android/logger.c#L540
05:11.25ali1234.minor is the minor number for device node
05:11.49ali1234the number is dynamic assigned though
05:13.37ali1234the device nodes aren't created by the kernel
05:13.44ali1234so you won't find any suck in there
05:13.48ali1234*such
05:15.28ali1234it's going to be in init.rc or somewhere like that
05:24.05ali1234hopkinskong: https://android.googlesource.com/platform/system/core/+/master/rootdir/ueventd.rc
05:25.05ali1234hmm that's only specifying the permissions :/
05:26.08hopkinskongso
05:26.47hopkinskongi i chnage "/dev/log/*" to "/dev/android_log/*" in ueventd.rc, i could get android log files in "/dev/android_log"?
05:26.50hopkinskongif i*
05:27.43ali1234no
05:28.03hopkinskongjonpry: If i could create the device with mknod, how the kernel know there is a node, and wirte logs into it?
05:28.11hopkinskongali1234: So how to change that?
05:28.25ali1234when you fopen a device node the kernel knows
05:28.38ali1234it's not a flat file
05:28.43ali1234it's not on disk
05:28.51ali1234it only stores device major and minor number
05:28.52hopkinskongits a socket?
05:28.59ali1234no, it's not a socket. t's a device node
05:29.21ali1234it's more like a socket than a file though
05:29.22hopkinskongOK, so, what should i do to change /dev/log to /dev/android_log?
05:30.01hopkinskongAs, now, i have syslogd, and it crashes with android's logger
05:30.16hopkinskongsyslogd uses /dev/log, and android log too.
05:30.27hopkinskongi need to change the path of android log
05:30.30*** join/#htc-linux sam__ (3b4e0875@gateway/web/freenode/ip.59.78.8.117)
05:30.36hopkinskongbut i don't know how, and where
05:31.48ali1234if you mess with the android logger you will break many things
05:32.40ali1234try syslogd -p to move it
05:32.58hopkinskongno.
05:33.05hopkinskongI must change the android logger location.
05:33.27hopkinskongI am building Ubuntu Touch on my Leo
05:33.52hopkinskongAnd the whole source tree of ubuntu touch is using /dev/alog as android log, instead of /dev/log
05:34.05hopkinskongbecause it crashes with /dev/log (syslogd)
05:34.35hopkinskongThe whole CM10.1 source tree, include the userspace logger, logcat, etc, has been changed /dev/alog
05:34.56ali1234i see
05:34.58hopkinskongbut my kernel still making /dev/log, and i need to change it to /dev/alog.
05:35.07ali1234well, i suggest you go to #ubuntu-touch and ask them how they did it
05:35.14hopkinskongI asked.
05:35.20ali1234nobody answered?
05:35.24hopkinskongThey blamed that it is the kernel problem.
05:35.37ali1234o_O
05:35.46hopkinskongThey are saying that it is the problem of my build.
05:35.50ali1234it is
05:36.06ali1234but the path is not defined by the kernel
05:36.08hopkinskongThey say that all android has been changed to alog. But i disagree with them.
05:36.26ali1234who told you this?
05:36.27hopkinskongMy one xl is using log!
05:36.36hopkinskongogra_ in #ubuntu-touch
05:36.46ali1234ok. he knows what he is talking about
05:36.59hopkinskongSo, not kernel fault, it's who's fault?
05:37.06ali1234init
05:37.14ali1234or ramdisk contents
05:37.14hopkinskongandroid init?
05:37.19hopkinskongdo u mean initrd?
05:37.19ali1234yes
05:37.25ali1234either/both
05:37.37hopkinskongwait, i have my OWN, self-created initrd
05:37.43*** join/#htc-linux sam__ (3b4e0875@gateway/web/freenode/ip.59.78.8.117)
05:38.25ali1234i'm actually grepping ubuntu-touch source for /dev/log right now
05:38.31ali1234lol
05:38.34hopkinskonghaha
05:38.43hopkinskongjust see
05:38.52ali1234maybe i should grep for /dev/alog instead thoug
05:38.57hopkinskongin ubuntu-touch source tree
05:39.33hopkinskongYou could find the logcat source code in the ubuntu-touch
05:40.10hopkinskongit is using /dev/alog
05:41.10hopkinskongali1234: Do u mean the problem goes to the init script or init file?
05:41.26ali1234init scripts, or initrd
05:41.34hopkinskongah
05:41.34ali1234i don't know which
05:41.43ali1234on grouper /dev is tmpfs
05:41.52ali1234so something must mount it, and then fill it with device nodes
05:41.58hopkinskongmy initrd.gz included init(script), and init.android(exectuable)
05:45.26ali1234fairly sure that's you're problem
05:45.38ali1234looks like the really low level stuff is done inside init binary
05:45.56hopkinskongSo it is the problem of "init.android", not "init"
05:45.59hopkinskong?
05:47.36ali1234found it: https://android.googlesource.com/platform/system/core/+/master/init/devices.c
05:47.42ali1234line 625
05:48.30ali1234here is ubuntu version: http://phablet.ubuntu.com/gitweb?p=CyanogenMod/android_system_core.git;a=blob;f=init/devices.c;h=76b552f9345602f71699afcb3520cc2d205b10dd;hb=refs/heads/phablet-10.1#l627
05:48.39hopkinskongah
05:49.05hopkinskongaha, as i said, it changed to alog
05:49.11ali1234yep
05:49.18ali1234you need to patch your custom init with that
05:49.36ali1234and maybe other things too
05:49.44hopkinskonginit are NOT EQUAL to device.c, right?
05:50.05hopkinskongline 624(device.c) are not providing /dev/log?
05:50.14hopkinskongit is just LOADING /dev/log?
05:50.31ali1234make_dir(base, 0755);
05:50.34ali1234make_dir
05:50.37ali1234guess what it does
05:50.42hopkinskongah...
05:51.06ali1234something else is making the device nodes though
05:51.10ali1234you need to patch that too
05:51.37hopkinskongwait.
05:52.03ali1234ah no, that does make the node also
05:52.08ali1234so yeah
05:52.09hopkinskongIs that there are HIGH POSSIBILITY that "init.android" create /dev/log?
05:52.13ali1234just patch this file in your init source
05:52.28ali1234the possibility is 100%
05:52.29hopkinskongIs that there are HIGH POSSIBILITY that "init.android" create /dev/log?
05:52.39hopkinskonginit.android IS executable, NOT that script.
05:52.43hopkinskongOK.
05:52.48hopkinskongI think i know why.
05:53.12hopkinskongThe init.android that i used was coming from other *ordinary* android builds
05:53.16ali1234yes
05:53.19ali1234that is the problem
05:53.27ali1234that's what i'm trying to tell you
05:53.28hopkinskongI am not using the *ubuntu-touch* one
05:53.52hopkinskongThe problem was because i copied other's initrd's android.init
05:54.07hopkinskongah ha, gonna compile it again, thanks ali1234
06:02.21*** join/#htc-linux rajkosto (~rajkosto@wan.rajkonet.info)
08:26.20*** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net)
08:29.40*** join/#htc-linux arif-ali (~arif-ali@2.26.203.62)
08:36.29*** join/#htc-linux sam__ (3b4e0875@gateway/web/freenode/ip.59.78.8.117)
08:39.02*** join/#htc-linux gassed (faxed@c-76-30-155-69.hsd1.tx.comcast.net)
09:57.32*** join/#htc-linux BabelO (~fcr@unaffiliated/babelo)
10:07.11*** join/#htc-linux gassedup (faxed@c-76-30-155-69.hsd1.tx.comcast.net)
10:24.16*** part/#htc-linux Bushman (bushman@91-146-248-112.internetia.net.pl)
12:08.22*** join/#htc-linux zeusk (011781dd@gateway/web/freenode/ip.1.23.129.221)
13:43.23*** join/#htc-linux sam__ (3b4e0875@gateway/web/freenode/ip.59.78.8.117)
13:46.26*** part/#htc-linux sam__ (3b4e0875@gateway/web/freenode/ip.59.78.8.117)
15:02.18*** join/#htc-linux arrrghhhAWAY (~arrrghhh@204.45.126.170)
16:01.08*** join/#htc-linux Jaspie_ (~quassel@p54A39FE1.dip.t-dialin.net)
16:20.01*** join/#htc-linux ccxCZ (~ccxCZ@156.200.broadband11.iol.cz)
16:48.32*** part/#htc-linux Jaspie_ (~quassel@p54A39FE1.dip.t-dialin.net)
17:34.25*** join/#htc-linux a-st (~a-st@unaffiliated/a-st)
18:01.34*** join/#htc-linux gauner1986 (~Adium@hmbg-5f7671d2.pool.mediaWays.net)
18:10.21*** join/#htc-linux arif-ali (~arif-ali@2.26.203.62)
18:56.05*** join/#htc-linux arif-ali (~arif-ali@2.26.203.203)
18:59.36*** join/#htc-linux gauner1986 (~Adium@hmbg-5f7671d2.pool.mediaWays.net)
19:18.01toastcfhis there no hope for the htc 8x unlocking
19:45.24*** join/#htc-linux gauner1986 (~Adium@hmbg-5f7671d2.pool.mediaWays.net)
19:48.08*** join/#htc-linux ltxda (~anon@c-98-194-107-10.hsd1.tx.comcast.net)
19:48.09*** join/#htc-linux ltxda (~anon@unaffiliated/ltxda)
20:45.22*** join/#htc-linux gauner1986 (~Adium@hmbg-5f7671d2.pool.mediaWays.net)
21:41.52*** join/#htc-linux rekoil (~rekoil@c-2aa7e055.04-2-64736c12.cust.bredbandsbolaget.se)
21:44.16*** join/#htc-linux AdamBH (~AdamBH@197.1.56.118)
21:50.03*** join/#htc-linux AdamBH (~AdamBH@197.1.56.118)
23:15.09*** join/#htc-linux Marc|laptop (~quassel@phpbb/modifications/marc1706)
23:17.58*** join/#htc-linux Ondalf_ (~ondalf@cable-roi-50ddf8-39.dhcp.inet.fi)
23:20.50*** join/#htc-linux eXtremo_ (~eXtremo@177.158.124.40)
23:20.57*** join/#htc-linux eXtremo (~eXtremo@unaffiliated/extremo)
23:22.08*** join/#htc-linux ccxCZ (~ccxCZ@156.200.broadband11.iol.cz)
23:41.14*** join/#htc-linux eXtremo_ (~eXtremo@177.158.124.40)
23:42.06*** join/#htc-linux eXtremo (~eXtremo@unaffiliated/extremo)
23:48.44*** join/#htc-linux eXtremo (~eXtremo@unaffiliated/extremo)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.