snadge | im trying to build a filesystem module outside of the kernel tree | 05:02 |
---|---|---|
snadge | and im a bit confused about how the linux kernel header includes work | 05:02 |
snadge | /usr/include/linux/fs.h doesn't contain a definition of blockdev_direct_IO | 05:03 |
snadge | but the headers in /usr/src/linux-headers-3.2.0-24 and -generic do | 05:03 |
snadge | the documentation for building the fs module.. doesn't explain how to build them beyond doing this | 05:04 |
snadge | make -C /lib/modules/`uname -r`/build/ M=`pwd` | 05:04 |
ohsix | if you want to use it for a few kernel versions it'd probably be worth packaging, and to use dkms | 05:05 |
snadge | oh its nowhere near close to doing that with | 05:05 |
snadge | its actually the google summer of code hfsplus write with journalling support code | 05:05 |
snadge | i was just going to play around with it in a loopback file.. and see if it corrupts data, or more likely.. how badly it corrupts data | 05:06 |
snadge | if it works okay.. it would probably be worth putting onto a github and making dkms scripts for it etc.. but its not worth getting that excited about it just yet | 05:07 |
snadge | my guess though.. since it was released on aug 15th last year, and i cant find much commentary on the subject.. its probably just crap and/or abandonware | 05:08 |
snadge | but anyway.. i was just wondeirng how i would correctly include the definition for blockdeV_direct_IO | 05:09 |
snadge | and why /usr/include/linux/fs.h differs from the kernel include linux/fs.h | 05:10 |
ohsix | one has public symbols, the other has private (and public due to other includes) symbols, i think | 05:13 |
snadge | ahh i see now.. its actually working | 05:15 |
snadge | ie.. its getting the definition from the right kernel source | 05:15 |
snadge | its just saying im passing too many parameters | 05:15 |
snadge | this module was designed for kernel 3.0 and im building with 3.2 | 05:15 |
snadge | fixed that.. onto the next error | 05:19 |
snadge | cool well it works ;) | 06:00 |
dileks | http://marc.info/?l=linux-kernel&m=133687482321390&w=2 | 07:45 |
jeshwanth | how can i access the register in linux ? | 08:00 |
dileks | hi | 08:37 |
brncsk | sforshee: can i ask you a question about bug 606238? | 08:54 |
ubot2 | Launchpad bug 606238 in linux "synaptic touchpad not recognized on dell latitude e6510 and others" [Low,In progress] https://launchpad.net/bugs/606238 | 08:54 |
=== hcfd is now known as hacfed | ||
=== hacfed is now known as hcfd | ||
Gup | hi, trying to solve networking/suspend issues since kernel update, details: http://pastebin.com/QExSc5Ce any ideas were to look next? | 13:48 |
Gup | s/were/where/ | 13:54 |
dileks | you checked with a higher mainline-kernel? | 13:54 |
Gup | no, wouldn't know which to try and how to install it | 13:56 |
Gup | any good guides? | 13:56 |
Gup | does the fact that it started in 11.10 and is also in 12.04 mean anything? | 13:58 |
Gup | i don't know much about how the kernel versions lines or branches work | 13:58 |
dileks | see topic (wiki) | 13:59 |
dileks | http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D | 13:59 |
Gup | so would i be best off testing on 11.10 or 12.04? or both? and do i just go for the highest version yeah? | 14:00 |
dileks | dunno which toolchain prior version than precise have | 14:01 |
Gup | toolchain? | 14:04 |
Gup | can see i'm going to need to do a bit of research, checking out the guides on the wiki... | 14:05 |
dileks | http://en.wikipedia.org/wiki/Toolchain | 14:05 |
dileks | if you built with different compiler and binutils against different C-lib | 14:06 |
Gup | ok thanks | 14:13 |
Gup | going to try with v3.4-rc7-precise | 14:13 |
dileks | IIRC all kernels are built on lucid-host | 14:13 |
dileks | +a | 14:13 |
dileks | but dont ask me about details | 14:13 |
dileks | I only know precise is 12.04 :-) | 14:14 |
dileks | as this is the 1st ubuntu I have ever installed yet | 14:14 |
dileks | Ubuntu 10.04.4 LTS (Lucid Lynx) | 14:16 |
Gup | well i'm booted up now using v3.3.6-precise so we will see if the problem persists, its done a couple of suspends no problem but only time will truly tell. | 14:28 |
Gup | thanks for pointing me down this path | 14:28 |
Gup | if it solves the issue do i still need to let someone know? | 14:29 |
dileks | dunno with which ubuntu-release and kernel-version you saw the issue | 14:30 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!