/srv/irclogs.ubuntu.com/2008/07/10/#ubuntu-kernel.txt

=== doko_ is now known as doko
sorenWhat's the magic I need to do to get my git branch to show up on gitweb?13:19
amitksoren: Put it under /srv/kernel.ubuntu.com/git/soren on zinc and twiddle your fingers till the next run the script that publishes it13:42
sorenOh!13:43
sorenI forgot to twiddle my thumbs.13:43
amitkshould happen withing the hour, IIRC13:43
sorenThat's why you're the one who's on the kernel team, and not me.13:43
sorenOh, it's there now. \o/13:43
amitki know.. we're good at twiddling ;)13:44
sorenamitk: By the way: Do you happen to know if it's cool for me to use zinc for hosting non-kernel git trees?13:44
amitksoren: I don't think we are going to bitch about non-kernel git trees in the short term, but if you (and others) are going to require it over the longer term it might makes sense to talk to IS. Afterall, zinc == kernel.ubuntu.com13:47
sorenCool, that's what I thought. Thanks.13:48
rtgsoren: zinc is so underutilized right now that I doubt anyone would even notice.13:49
sorenrtg: Heh :)13:49
amitksoren: these kernel git trees you published, are they for the virtual flavours?13:49
sorenamitk: No.13:49
sorenamitk: I want to get the packaging sorted out first. that's on my list for the sprint next week.13:50
amitksoren: are you going to have a different source pacakge or are you planning to build-dep on linux?13:51
sorenb-d on linux-source.13:51
amitkrtg: any idea what is wrong here:13:51
amitkII: Checking ABI for lpia...13:51
amitkWW: Explicitly asked to ignore ABI, running in no-fail mode13:51
amitkEE: Previous or current ABI file missing!13:51
amitksoren: so you will maintain everything as patches?13:52
sorenamitk: I think so.13:52
rtgamitk: I think I broke current git build last night , I'm working on it13:52
sorenamitk: There are a few options... Neither appeal to me very much.13:52
amitkrtg: No.. this in in my lpia tree that is based off the main tree13:53
smb_tpamitk, might be at least the modules list and maybe the abi files for the last release are not there. Fatal even if abi changes are ignored13:53
amitksoren: same here. I am building an lpia tree and I don't want to maintain it as patches.13:53
sorenamitk: I can either maintain a completely separate tree, and rebase off of your now and then... That's probably the easiest, but will force me to move around *huge* source packages.13:53
sorenor13:54
amitksmb_tp: but I explicitly asked for abi to be ignored by adding debian/abi/ignore13:54
rtgamitk: you have to add it in each arch13:54
sorenI can try to maintain patches and separate configs.... That gives me small source packages, but if you rebase, and my stuff fails to apply, I have to work that out rather manually, AFAICT.13:54
amitksoren: I am leaning towards the same solution13:54
rtgdebian/abi/lpia/ignore13:54
smb_tpamitk, It seemed to me changes are ignored but the files must be there13:54
smb_tpamitk, I tend to just create the files by copying some older directory to the name it wants for the old abi13:56
sorenamitk: The idea solution would be to have a separate git tree, and make it able to generate the needed patches on the fly, but... I don't know.. It's just a hassle.13:56
sorenI'd hate to have to maintain a completely new kernel build system for this.13:56
rtgsoren: in essence, that is what amitk is doing for lpia13:57
amitksoren: I should have lpia done this week. I'll try to whip up scripts to automate the rebasing. We should collaborate...13:57
sorenamitk: Totally. I didn't know you were in the same boat.13:58
amitksmb_tp: I have ignore and module.ignore files in every orifice of debian/abi/<version>/lpia :-/13:58
sorenamitk: How are you dealing with ABI checks?13:58
sorenJust ignoring them?13:58
amitksoren: currently planning to have a different abi for lpia. Need to discuss with rest of the kernel-team though...13:59
sorenThat's my intent as well.13:59
sorenIf I have to maintain my own kernel, I want to actually have the freedom to mess it up any way I please (including changing core ABI stuff).14:00
smb_tpamitk, I also thought this should be enough but recently I was force to just put the files with the modversions there as well until the abi checker was happy. :(14:01
rtgsoren: which is why lpia went to its own tree, freedom to release on their schedule with changes of their choosing.14:01
amitkrtg: smb_tp: I have reset the abi to -1 in debian/changelog, renamed the source package to linux-lpia, regenerated contro.stub. So it is as good as the first upload. But ABI is failing...14:01
amitksmb_tp: then something is broken....14:01
sorenrtg: I see.14:01
amitksoren: exactly. the lpia kernel will be rebased occassionally (2-3 times during the release cycle). So we won't see too many abi bumps.14:02
smb_tpamitk, the message itself is also a bit unclear. it would be more helpful if it would state whether ther old or new files are thought to be missing. 14:03
sorenamitk: Cool.14:03
rtgamitk: debian/scripts/abi-check is pretty straightforward. instrument it to see why its bitching.14:03
sorenamitk: Well, if you've almost got it worked out, I won't spend any time on it until next week.14:03
sorenamitk: Oh.... You're in... London?14:03
sorenYes, there was the visa thing. I remember.14:03
sorenI14:03
amitksoren: I hope to push out the git tree before the week is out14:04
soren'm in Lexington, but at least there's some overlap in working hours anyway.14:04
sorenamitk: Cool!14:04
rtgsoren: know anything about file systems? Is there any file system faster at removing lots of small files then ext3? 14:05
sorenrtg: I though ext3 was supposed to be really fast at that?14:06
amitkrtg: IIRC, xfs and jfs are better at smaller files.14:07
smb_tpsoren, no ext3 is slow ext4 should get better14:07
smb_tpxfs is what I heard too14:07
rtgsoren: deleting a fully built kernel directory takes minutes.14:07
smb_tprtg, did you mount that with noatime?14:07
sorenxfs is slow at deletes.14:08
smb_tprtg, got the feeling it is faster now...14:08
rtgsmb_tp: relatime,errors=remount-ro14:08
rtgsmb_tp: standard mount magic14:08
amitkrtg: 'rm -rf linux-dir &' :-p14:09
rtgamitk: yeah - but my scripts want to reuse the directory. maybe I should rename, then 'rm -rf'14:09
smb_tprtg, I recently made myself a seperate fs for compiling (ok, its striped as well) and use notatime for that14:10
amitkrtg: mv linux-dir linux-foo; rm -rf linux-foo &14:10
rtgsmb_tp: what does noatime do?14:10
smb_tprtg, does not put an access time to a file. which is otherwise updated everytime you access a file14:10
alex_jonirtg: http://tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap6sec73.html14:11
smb_tprtg, modification time is updated though14:11
sorenrtg: reiserfs is quite fast at deletes, too, but that sort of has maintainability issues now..14:11
rtgsoren: I have a reiserfs partition that I use daily for several years, in fact I created it using SuSE 6.x14:12
sorenrtg: So that's reiser... 3?14:13
sorenrtg: Oh, tmpfs is also rather fast at deletes.14:14
soren!14:14
rtgsoren: whatever is current in Hardy must be backward compatible.14:14
sorenCertainly, but if the metadata format is ancient, the benchmarks, I'm looking at might be completely wrong.14:14
soren(remove commas as needed)14:14
smb_tprtg, when we are at the real "good" advices why not ry ext2. who needs a journal for compiling... ;-)14:15
rtgsoren: well, the real performance issue is on this screaming fast server I got from Intel. It must havea _really_ slow disk.14:15
sorensmb_tp: Good point. ext2 is much faster than ext3 in this respect.14:16
ckingrtg: I use ext3 with noatime,nodiratime,reservation,relatime 14:17
rtgcking: on /home ? or a separate partition?14:17
ckingrtg: on nearly everthing except boot14:18
amitkohhh all your geeks :)14:18
rtgcking: the default install doesn't create  a /boot partition14:18
ckingamitk: seriously, it makes 2.347 nanoseconds difference :-)14:18
ckingrtg: yeah - I do my own custom kind of thing14:19
amitkcking: now that _would_ be noticeable :)14:19
alex_jonihardy does realatime by default afaik14:20
rtgcking: how do I figure out what kind of hard drive is in this server, and how fast it is (relative to other hard drives) ?14:20
alex_jonirtg: hdparm -tT /dev/foo is your friend14:20
ckingrtg: and dd is a quick way of benchmarking file I/O14:20
alex_joniworks on software RAID too: root@main:~# hdparm -tT /dev/md014:21
alex_joni Timing cached reads:   8770 MB in  2.00 seconds = 4390.51 MB/sec :-)14:21
ckingrtg: ..don't twiddle hdparm -X unless you are prepared to screw up your data.14:21
rtg/dev/sda1:14:21
rtg Timing cached reads:   13124 MB in  1.99 seconds = 6578.94 MB/sec14:21
rtg Timing buffered disk reads:  314 MB in  3.00 seconds = 104.56 MB/sec14:21
rtgalex_joni: that doesn't look nearly as good as yours.14:22
ckingrtg: That's twice than what I get14:22
rtgcking: actually, its twice what I get on my dev box as well.14:23
rtgcking: alex_joni must be doing it against a tmpfs :)14:23
ckingrtg: This is where having 64Gb of 800Mhz DDR2 and the whole of the git source cached in there is a good thing14:25
rtgcking: this box has 18GB. you would think that's almost enough.14:26
amitkrtg: thats twice what I get14:26
smb_tprtg, maybe you should really use tmpfs for compiles...14:26
rtgamitk: it literally takes 4-5 minutes to delete these directories. I think I'll reformat for ext2 with noatime.14:27
ckingrtg: ..I have some runes that I use:14:28
smb_tprtg, maybe first try noatime only. thats just a reboot/remount14:28
ckingI use tune2fs -O dir_index /dev/sdaX, e2fsck -D -f /dev/sdaX and mount /dev/sdaX with noatime,nodiratim,reservation14:30
ckingmake that nodiratime14:32
sorenI haven't been paying much attention to the kernel during intrepid yet... How often do you roll new releases? Weekly-ish?14:38
rtgcking: what are the relative merits of tmpfs? google has some entries where folks are mounting /tmp to tmpfs. 14:40
Tophathas the new DNS security vulnerability been patched ?14:40
smb_tpIt's a ram-disk...14:40
rtgsmb_tp: I know that, but will it grow as large as it needs to?14:41
ckingrtg: It's fast - and if you have lots of memory it's useful. I suggest doing a build in a tmpfs mounted directory and it should fly.. 14:41
smb_tprtg, yes it should grow14:41
amitkrtg: you still have the lag of copying the whole kernel tree to tmpfs14:42
ckingamitk: yeah.. how long will that take? 80 seconds?14:42
smb_tprtg, http://en.wikipedia.org/wiki/TMPFS14:43
rtgcking: drat, it appears that its burned in. now I'm gonna have to haul that noisy thing in here where I can get at it. it least its not in my attic.14:43
amitkcking: I've never felt a kernel compile to be very IO-bound, except for the final linking.14:44
smb_tpamitk, there seem to be times in between when cpu usage goes down...14:46
ckingamitk: vmstat 1 seems to show a lot of I/O activity - I suppose with -j 4 or more, then it will be more CPU bound and any waits on I/O will be filled by CPU activity in the build14:46
sorenTophat: http://www.ubuntu.com/usn/usn-622-114:47
ckingamitk: at the end of the day it's either memory, CPU or disk I/O bottlenecking somewhere.. :-)14:47
amitkcking: true..14:49
Tophatsoren - have you seen any POC on this attack?14:50
sorenno14:51
sorenBesides, this is off-topic here.14:51
sorenTry in #ubuntu14:51
Ngis alsa 1.0.17 likely to be in intrepid?15:39
Ngthe kernel drivery bits, I mean15:39
rtgNg: if not in the kernel, then we'll likely backport it in LBM15:41
Ngwhere "in the kernel" means in LUM? or is it moving to linux-image?15:43
Ngnot that that really matters, so long as it's available, my fellow x300 users will be spared having to worry about getting sound support. thanks :)15:43
amitkNg: LUM is no more, everything is in the main git tree now15:44
rtgNg: ALSA is part of the core kernel. Actually, when we backport 1.0.17 (if its a superset of core kernel) it will end up in the Intrepid equivalent of LUM.15:44
Ngaha15:45
Ngatm my x300 specific LUM with an rc of 1.0.17 is a horrific mess that happens to just about work ;)15:46
pgranerrtg: who is the v4l driver SME?20:29
rtgpgraner: dunno. whats an SME?20:30
rtgsouce maintainer extraordinaore?20:30
pgranerrtg: Subject Matter Expert20:30
rtgpgraner: ah, a new TLA20:31
pgranerrtg: specifically the em28xx driver20:31
rtgpgraner: maybe talk to jono and find out who did the filming at UDS?20:31
rtgem28xx being what your handy cam supports?20:32
pgranerrtg: no its a tv tuner....20:32
smb_tpmaybe mkrufky might be of help20:33
pgranerrtg: I'm using a Mac for the video at the sprint just for speed.20:33
rtgsmb_tp: yeah - mkrufky is trhe hauppage dude.20:33
mkrufkyi am back20:33
* mkrufky catching up on backlog20:34
mkrufkyok, yeah i am the guy20:34
mkrufkywhat is the question?20:34
pgranersmb_tp: cool.... I have a Bus 005 Device 038: ID 2040:6513 Hauppauge and I can't get hardy to recognize it20:34
mkrufkybtw, i am moreso "the guy" because of my linuxtv affiliation rather than my hauppauge affiliation20:34
mkrufkyhary does not support 2040:6513 out of the box20:34
mkrufkybut it will be supported in intrepid20:35
mkrufky... but you will need to grab the xc3028-v27.fw image20:35
mkrufkyif you want to run it in hardy, you may use the mercurial repository hosted at http://linuxtv.org20:35
pgranermkrufky: cool. Is the support in the alpha1/2? 20:35
mkrufkyi do not plan on backporting this one to hardy LUM20:35
rtgpgraner: I thought you were expressing intrepid upgrade woes the other day.20:35
mkrufkypgraner: it's in the 2.6.26 kernel...  i have not been tracking interpid, but intrepid has 2.6.26, so thats what u need20:36
pgranerpgraner: I got the sound fixed, which was the big issue other than no changelog20:36
mkrufkyTLA ?20:36
smb_tpthree letter acronym20:37
mkrufky:-) ok cool20:37
pgranerrtg: I had to blacklist the snd_pcsp module and the cracking went bye bye20:37
rtgpgraner: my somewhat oblique point being, support for your device is already in Intrepid20:38
mkrufkyironically, however, the next gen version of the 950 is in hardy LUM20:41
pgranermkrufky: what does a *** unknown tvp3e04 chip detected *** Rom ver is 12.0 mean?21:19
mkrufkythat depends on the context21:20
mkrufkywhere did you see said message?21:20
mkrufkyi'll assume you saw it in dmesg log21:20
mkrufkyif so, can you paste it with some context on a pastebin somewhere ?21:20
pgranermkrufky: /var/log/messages after loading the module em28xx tells me that if found a Hauppague WinTV HVR 95021:21
mkrufkycontext ... pastebin ...21:21
mkrufkyplease show me dmesg | tail -n10021:22
pgranermkrufky: one sec different box21:22
mkrufkyk21:22
mkrufkypgraner: if you do " lsmod | grep tvp " and you do NOT see tvp5150, then thats your problem21:23
pgranermkrufky: its there21:24
mkrufkyhow many users ,... 1 or 0 ?21:24
pgranermkrufky: http://pastebin.com/m7750bdbf21:27
mkrufkypgraner: tvp5150 0-005c: tvp5150am1 detected.21:32
mkrufkypgraner: please try a different usb port21:32
pgranermkrufky: just did21:33
pgranermkrufky: dmesg is still telling me the tvp3e04 is unknown with i2c i/o errors21:34
mkrufkydid you try it?  does it work?21:35
pgranermkrufky: its channel scanning now21:37
mkrufkythe error message is coming from the analog video decoder driver21:38
mkrufkyit looks like its complaining, then attaching correctly21:38
mkrufkyi have not seen this before21:38
pgranermkrufky: ok working now, I'm seeing channels during the scan21:38
mkrufkyit might work anyway21:38
mkrufkybut seems strange21:38
mkrufkyyeah, the tvp thing would not affect digital tv21:39
mkrufkyonly analog21:39
pgranermkrufky: no audio as of yet21:41
mkrufkywhat do you mean , no audio?21:45
mkrufkyif you're watching digital TV, then the audio is part of the mpeg2 stream21:45
pgranermkrufky: no audio, I can play mp3s, hear the lovely login music, but nothing from the tv tuner. I'm messing with alsa settings now21:46
mkrufkyare you watching digital tv or no?21:48
mkrufkyif you're watching analog tv and have no audio, then i can tell you what to do21:48
pgranermkrufky: I'm watching tv, don't know how to tell if its digital or not.21:48
mkrufkyHOW are you watching tv?21:48
mkrufkywhat app?  what channel?21:49
pgranermkrufky: tvtime channel 5 (CSPAN)21:49
mkrufkyok21:49
mkrufkyyou're watching analog tv21:49
mkrufkyin order to get audio, google "arecord aplay tvtime"21:49
mkrufkyor google, "sox tvtime"21:49
mkrufkythere is no TV application that does this right, unfortunately, except for mythtv21:50
mkrufkynote: ANALOG21:50
mkrufkydigital tv "JustWorks(tm)"21:50
pgranermkrufky: ok the aplay trick worked21:50
pgranermkrufky: how do I get the digital then?21:50
mkrufkywe are sooooo off topic21:51
pgranermkrufky: yea, I'll google21:51
mkrufkyjust real quick:21:51
mkrufkyfirst, scan for channels using scan from dvb-apps21:51
mkrufky(dvb-utils from apt)21:51
mkrufkythen azap CHANN_EL -r    (-r is important)  ...  leave that running21:51
mkrufkyopen a new shell, run: mplayer /dev/dvb/adapter0/dvr021:52
mkrufkythats is for a basic test21:52
mkrufkygoogle will give you more detailed info21:52
mkrufkyoh, you need to drop that channels.conf file (from your scan) into ~/.azap21:52
pgranermkrufky: got it thanks21:53
mkrufkyyou're welcome21:54
mkrufkyfor future reference, #linuxtv is a better venue for these questions21:54
mkrufkyim usually in there, but i am not right now21:54
=== asac_ is now known as asac

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