/srv/irclogs.ubuntu.com/2008/06/06/#ubuntu-kernel.txt

luca_hy everybody !00:08
luca_im' intrested in implementing a file-system changes notification tool00:09
luca_i am wondering if is possible to get journaling event from my module00:12
luca_are there particular kernel structures involved with the journaling system ?00:13
BenCluca_: fs/jfs/ might give some useful info00:17
luca_thank you BenC00:21
luca_are there anything under /proc or /sys that will let me know if some change in the filesystem occurs?00:31
mjg59No00:32
luca_sorry I got lost in fs/jfs00:32
mjg59If you're purely interested at the filesystem level, inotify will give you notifications00:32
mjg59But I suspect it won't work too well if you try to look at the whole filesystem00:33
pwnguinthat would be pretty crazy00:37
pwnguinand god help you if that notification framework ended up causing writes to the filesystem00:38
mjg59If you're interested in things at the block level rather than the filesystem level, check block/blk-core.c and search for block_dump. fs-writeback.c has similar code that gives notifications if a page is dirtied.00:40
luca_Is it possible (kernel or user space) to read directly that table the journaling fill with envents occurred to file?  00:40
luca_read it , and understand what happened?00:41
mjg59Well, sure00:42
mjg59But ext3 only journals metadata by defau;t00:42
mjg59File data changes won't go anywhere near the journal00:42
luca_mmm.   right00:44
luca_do you know more or less how does this happens:00:46
luca_i open a directory with a gui as nautilus00:47
luca_i create a file from a shell into that directory00:47
luca_and magically nautilus know that a file was created00:48
luca_and show the file icon almost immedately00:48
mjg59It uses inotify00:48
luca_thanks mjg5900:54
=== asac_ is now known as asac
=== CjNr13 is now known as CjNr14
CjNr14does someone know if there is a way to export a memory area from the host to the guest (Video RAM/ROM for exemple) ?13:09
CjNr14Do I need to write a driver like the pci frontend/backend one?13:09
CjNr14sorry, wrong chan lol13:10
rtg__Ng: talk to me. any e1000 joy?14:21
Ngrtg__: not as yet, I don't see silbs around atm, but I'll keep my eye open.14:27
rtg__Ng: k14:27
NgI might even keep both eyes open ;)14:28
Nafallohehe14:51
munckfishoh depressing. Recompiling the 2.6.25 kernel is taking 2 hrs 20 mins on my PS3 (weeps).20:52
munckfishand that's with ccache20:53
* munckfish eyes G5s on Ebay, wonders what wife would think ...20:56
dupondjehttps://bugs.launchpad.net/ubuntu/+bug/23588922:23
dupondjesomebody can take a look ? :)22:23
mkrufkydupondje: Leann asked you to do a bisection test22:26
mkrufkyif you do that test, you'll be able to find the exact changeset that fixes the problem, so that they can think about backporting it to hardy22:26
dupondjeI must say I don't really understand it howto :x22:26
mkrufkygoogle git-bisect22:26
dupondjeI must compile kernel 100000 times then until I get the right patch ? ...22:27
pwnguinwell22:27
mkrufkyBISECTION TEST22:27
pwnguinmore like binary search22:27
mkrufkybisection lets you find the fix in ~7 builds22:27
pwnguinso something like log base 2 of the number of commits22:27
mkrufkyer, wait... i think i pulled that number 7 out of my arse ....   22:28
mkrufkyanyway, bisection helps to find the fix in the least # of builds possible22:28
dupondjeany id what part of kernel I should look @ for a possible patch ?22:28
pwnguinthats what bisect helps with22:29
pwnguinyou'll find the changeset that introduced the bug with bisect, and that'll narrow the places down considerably22:29
mkrufkyim goin home .. .tty all later22:30
pwnguindupondje: i agree, i wish building the ubuntu kernel was simpler22:31
dupondjewell pwnguin, It crashes with ubuntu kernels ... but not with the latest kernel.org kernel ...22:31
dupondjedunno about the older kernel.org versions22:31
dupondjeso maby its just a bug introduced into the ubuntu patches22:32
pwnguinhere's an idea22:32
pwnguinoh, it still doesnt build22:33
dupondjeindeed :)22:33
dupondjeogasawara also had that id ;)22:33
pwnguinif ubuntu's kernel built, there shuold be a fairly small diff22:33
dupondjeand my damn slow CPU :'(22:36
dupondjeAMD Athlon64 3800+ :(22:37
pwnguinplenty fast22:37
dupondjenot fast enough imo :D22:38
|dupondje|mmm :x22:45
=== |dupondje| is now known as dupondje
infinityrtg__: BTW, I have a working hppa kernel patch for you for inclusion in -20- after 8.04.1 is out the door.23:11
infinityrtg__: chinstrap:~adconrad/hppa.diff23:18
infinityrtg__: Obviously, the change to 2-binary-arch.mk is for our own personal use, but the config changes work smashingly, and that's the precise source we're using in the DC right now.23:19

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