/srv/irclogs.ubuntu.com/2007/05/19/#ubuntu-kernel.txt

=== ubuntulog [i=ubuntulo@trider-g7.fabbione.net] has joined #ubuntu-kernel
=== Topic for #ubuntu-kernel: Ubuntu kernel development discussion ONLY | Kernel Wiki: https://wiki.ubuntu.com/KernelTeam | Latest kernel upload: 2.6.22-4.10 | Latest news: -rt and -xen kernels removed, failures in patch | linux-meta uploaded for gutsy 2.6.22 kernels. | New Kernel Team machine: http://kernel.ubuntu.com/
=== Topic (#ubuntu-kernel): set by BenC at Fri May 18 22:21:22 2007
=== #ubuntu-kernel [freenode-info] if you're at a conference and other people are having trouble connecting, please mention it to staff: http://freenode.net/faq.shtml#gettinghelp
=== luka74 [n=lure@89-212-19-55.dynamic.dsl.t-2.net] has joined #ubuntu-kernel
=== BenC_ [n=bcollins@collinsap1.phunnypharm.org] has joined #ubuntu-kernel
=== BenC_ [n=bcollins@collinsap1.phunnypharm.org] has joined #ubuntu-kernel
=== zul [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== BenC [n=bcollins@debian/developer/bcollins] has joined #ubuntu-kernel
=== anibal [n=anibal@debian/developer/anibal] has joined #ubuntu-kernel
=== benanz1 [n=ben@c-71-197-165-27.hsd1.or.comcast.net] has joined #ubuntu-kernel
=== reitblatt [n=mark@70-128-147-165.lightspeed.snantx.sbcglobal.net] has joined #ubuntu-kernel
=== benanz1 [n=ben@c-71-197-165-27.hsd1.or.comcast.net] has left #ubuntu-kernel []
=== pkl_ [n=phillip@unaffiliated/pkl/x-764568] has joined #ubuntu-kernel
=== blenderhead001 [n=blenderh@adsl-068-209-133-121.sip.jax.bellsouth.net] has joined #ubuntu-kernel
=== cjwatson_ [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-kernel
=== \sh_away [n=nsherman@server3.servereyes.de] has joined #ubuntu-kernel
=== maswan [i=maswan@kennedy.acc.umu.se] has joined #ubuntu-kernel
=== tepsipakki [n=tjaalton@replicant.hut.fi] has joined #ubuntu-kernel
=== keturn [n=kevint@pdpc/supporter/sustaining/keturn] has joined #ubuntu-kernel
=== gicmo_ [n=gicmo@p5491C7A2.dip.t-dialin.net] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== n2diy [n=darryl@66.212.43.147] has joined #ubuntu-kernel
=== Lure [n=lure@ubuntu/member/lure] has joined #ubuntu-kernel
=== allee [n=ach@dialin-145-254-255-186.pools.arcor-ip.net] has joined #ubuntu-kernel
=== reitblatt [n=mark@70-128-147-165.lightspeed.snantx.sbcglobal.net] has joined #ubuntu-kernel
=== Lure [n=lure@89-212-19-55.dynamic.dsl.t-2.net] has joined #ubuntu-kernel
=== gortiz [n=gortiz@88.87.105.4] has joined #ubuntu-kernel
=== pkl_ [n=phillip@unaffiliated/pkl/x-764568] has joined #ubuntu-kernel
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-kernel
=== pmjdebruijn [n=pmjdebru@home.pcode.nl] has joined #ubuntu-kernel
=== Lure_ [n=lure@89-212-19-55.dynamic.dsl.t-2.net] has joined #ubuntu-kernel
=== zul [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== salty-horse [n=ori@pdpc/supporter/active/salty-horse] has joined #ubuntu-kernel
salty-horsewhen removing the old linux-image-2.6.20-13-generic package, I got this warning: "You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!"12:56
maks_check your /etc/kernel-img.conf01:20
maks_if there is a grub path there around01:21
maks_anyway better ask on #ubuntu01:21
salty-horseyup - it's set to /sbin/update-grub 01:22
salty-horsedo you know what package generates it?01:22
salty-horse(I upgraded from edgy so maybe it's a leftover)01:23
maks_edit it to /usr/sbin/update-grub :)01:24
maks_it won't be needed for gutsy anymore afaik01:25
salty-horsejust did. thanks!01:26
=== allee [n=ach@dialin-145-254-254-003.pools.arcor-ip.net] has joined #ubuntu-kernel
=== ubuntunutzer [n=chatzill@p54BC7593.dip.t-dialin.net] has joined #ubuntu-kernel
=== salty-horse [n=ori@pdpc/supporter/active/salty-horse] has left #ubuntu-kernel ["Leaving"]
=== zul [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== ThiefOfBaghdad [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== ThiefOfBaghdad [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== Lure [n=lure@89-212-19-55.dynamic.dsl.t-2.net] has joined #ubuntu-kernel
=== gregshallard [n=gregshal@220-253-57-16.VIC.netspace.net.au] has joined #ubuntu-kernel
=== gregshallard [n=gregshal@220-253-57-16.VIC.netspace.net.au] has left #ubuntu-kernel ["Leaving"]
=== bleinmono [n=toffel@ppp85-141-148-89.pppoe.mtu-net.ru] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== ThiefOfBaghdad [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== jbailey [n=jbailey@modemcable169.10-56-74.mc.videotron.ca] has joined #ubuntu-kernel
=== jbailey images BenC saying "Bah! That -4 kernel is at least *minutes* old! Get a new one!"
jbailey=)04:51
BenChehe04:52
=== rikai [n=rikai@unaffiliated/rikai] has joined #ubuntu-kernel
BenCjbailey: I uploaded -5 just defer working on your bug :)04:53
jbaileyBenC: I believe you, it's not even in the archive yet. =)04:53
=== harkonnnen_ [n=abraham@athedsl-12056.home.otenet.gr] has joined #ubuntu-kernel
jbaileyI had to remember how to fish such things out of Launchpad directly. =)04:53
BenCit's compiled, just not processed yet04:53
BenCah, resourceful04:53
harkonnnen_hi04:54
harkonnnen_!04:54
jbaileyTHE SUPPORT PERSON CANNOT BE THWARTED! MWAHAHAHAHAHAHA04:54
harkonnnen_can somebody  help me ?? 04:54
jbaileyBenC: If it's useful, I suppose I could do a bisect backwards.04:54
harkonnnen_i have a problem tryng to install a module04:55
harkonnnen_in ubuntu 04:55
harkonnnen_can somebody  help me ?? 04:55
harkonnnen_can somebody  help me ?? 04:57
BenCjbailey: yeah, that would actually be very helpful04:58
jbailey'k.  Since the failure was between -1 and -3, it hopefully shouldn't take too long.  I'll try and do that over the course of the weekend.04:59
BenCjbailey: FYI, you should bisect the v2.6.21 and v2.6.22-rc1 tags, which wont include the ubuntu build, but you can use make-kpkg just as easily05:00
BenC-1 was 2.6.21 and .3 was .22-rc105:00
kylemwhat's the failure?05:00
jbaileyBenC: So just use pristine linus?05:00
BenC-3 even05:00
BenCyeah05:00
jbaileybug 1159605:01
jbaileyOh, no ubugtu in here.05:01
jbailey115596, rather and 11559705:01
shawarmaharkonnnen_: You'll get a much better response if you ask your question rather than asking if someone can help you. We don't know what your problem is, so it's kind of hard to know if we can solve it..05:01
jbaileykylem: Sound problems and "badness" on your future G5 ;P05:01
harkonnnen_i have a problem trying to install this module ...05:02
harkonnnen_ 1 #include <linux/init.h>05:02
harkonnnen_ 2 #include <linux/kernel.h>05:02
harkonnnen_ 3 #include <linux/module.h>05:02
harkonnnen_ 4 #include <linux/sched.h>05:02
harkonnnen_ 5 #include <linux/mm.h>05:02
harkonnnen_ 605:02
harkonnnen_ 7 static int pid_mem = 1;05:02
shawarmaStop!05:02
harkonnnen_ 805:02
harkonnnen_ 9 static void print_mem(struct task_struct *task)05:02
harkonnnen_10 {05:02
harkonnnen_11         struct mm_struct *mm;05:02
harkonnnen_12         struct vm_area_struct *vma;05:02
harkonnnen_13         int count = 0;05:02
harkonnnen_14         mm = task->mm;05:02
harkonnnen_15         printk("\nThis mm_struct has %d vmas.\n", mm->map_count);05:02
harkonnnen_16         for (vma = mm->mmap ; vma ; vma = vma->vm_next) {05:02
shawarmaharkonnnen_: Stop it!05:02
harkonnnen_17                 printk ("\nVma number %d: \n", ++count);05:03
harkonnnen_18                 printk("  Starts at 0x%lx, Ends at 0x%lx\n",05:03
harkonnnen_19                           vma->vm_start, vma->vm_end);05:03
harkonnnen_20         }05:03
harkonnnen_21         printk("\nCode  Segment start = 0x%lx, end = 0x%lx \n"05:03
harkonnnen_22                  "Data  Segment start = 0x%lx, end = 0x%lx\n"05:03
harkonnnen_23                  "Stack Segment start = 0x%lx\n",05:03
harkonnnen_24                  mm->start_code, mm->end_code,05:03
jbaileyshawarma: Is there actually a way on IRC clients to stop a paste once it's going?05:03
harkonnnen_25                  mm->start_data, mm->end_data,05:03
harkonnnen_26                  mm->start_stack);05:03
harkonnnen_27 }05:03
harkonnnen_2805:03
harkonnnen_29 static int mm_exp_load(void){05:03
harkonnnen_30         struct task_struct *task;05:03
harkonnnen_31         printk("\nGot the process id to look up as %d.\n", pid_mem);05:03
harkonnnen_32         for_each_process(task) {05:03
harkonnnen_33                 if ( task->pid == pid_mem) {05:03
harkonnnen_34                         printk("%s[%d] \n", task->comm, task->pid);05:03
harkonnnen_35                         print_mem(task);05:03
harkonnnen_36                 }05:03
harkonnnen_37         }05:03
harkonnnen_38         return 0;05:03
shawarmajbailey: Probably not. Proper clients ask if it's really ok to paste a bunch of lines before doing so.05:03
harkonnnen_39 }05:03
harkonnnen_4005:03
harkonnnen_41 static void mm_exp_unload(void)05:03
harkonnnen_42 {05:03
harkonnnen_43         printk("\nPrint segment information module exiting.\n");05:03
harkonnnen_44 }05:03
harkonnnen_4505:04
harkonnnen_46 module_init(mm_exp_load);05:04
jbaileyshawarma: Sure, but he's presumably said yes by the time you've told him to stop.05:04
harkonnnen_47 module_exit(mm_exp_unload);05:04
harkonnnen_48 module_param(pid_mem, int, 0);05:04
harkonnnen_4905:04
shawarmaYou could probably hurry and close the window and open it again.05:04
harkonnnen_50 MODULE_AUTHOR ("Krishnakumar. R, rkrishnakumar@gmail.com");05:04
harkonnnen_51 MODULE_DESCRIPTION ("Print segment information");05:04
harkonnnen_52 MODULE_LICENSE("GPL");05:04
harkonnnen_its finis05:04
harkonnnen_sorry05:04
harkonnnen_!05:04
shawarmaWe still don't know what your problem is.05:04
harkonnnen_i insmod the module and i get an error message05:04
shawarmaWe still don't know what your problem is.05:05
harkonnnen_invalid module format05:05
shawarmaWhich error message?05:05
harkonnnen_i'm trying to read the format of the modules and it's seems correct as i could learn05:06
kylemyou want #kernelnewbies.05:06
harkonnnen_i execute dmesg and i found 05:06
harkonnnen_[17200516.632000]  printk: 8 messages suppressed.05:06
shawarmaharkonnnen_: What kylem said. #kernelnewbies is the right channel for this.05:07
harkonnnen_it's ok05:07
harkonnnen_thank you very much05:07
kylemshawarma, hey, how was your trip back home?05:08
shawarmakylem: Long.05:13
kylemsame here. :/05:13
shawarmakylem: Not as long as your's, probably, but considering that I really wasn't going that far, it was way too long.05:13
kylem:)05:13
jbaileyshawarma: Where do you live?05:14
shawarmajbailey: Denmark.05:14
jbaileyAh, handy.  You can go beat on Fabio for us ;)05:14
shawarmaSure. :)05:15
=== ubuntunutzer [n=chatzill@p54BC7593.dip.t-dialin.net] has joined #ubuntu-kernel
shawarmaBeating up immigrants *is* popular. :)05:17
jbaileyOh dear. =)05:18
jbaileyThe only person i've ever met actually from Denmark lived in Vancouver and was famous for things like shooting his compter screen when it pissed him off.05:18
kylemLOL05:19
=== harkonnnen_ [n=abraham@athedsl-12056.home.otenet.gr] has left #ubuntu-kernel ["Leaving"]
=== acm [n=acm@p57bca94c.dip0.t-ipconnect.de] has joined #ubuntu-kernel
shawarmaHeh.05:20
=== pkl_ [n=phillip@unaffiliated/pkl/x-764568] has joined #ubuntu-kernel
=== ivoks [n=ivoks@33-7.dsl.iskon.hr] has joined #ubuntu-kernel
=== reitblatt [n=mark@70-128-147-165.lightspeed.snantx.sbcglobal.net] has joined #ubuntu-kernel
=== JanC [n=janc@lugwv/member/JanC] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-kernel
=== reitblatt [n=mark@70-128-147-165.lightspeed.snantx.sbcglobal.net] has joined #ubuntu-kernel
=== gortiz [n=gortiz@88.87.105.4] has joined #ubuntu-kernel
=== doko_ [n=doko@dslb-088-073-068-017.pools.arcor-ip.net] has joined #ubuntu-kernel
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #ubuntu-kernel
=== lfittl [n=lfittl@chello080109027166.17.14.vie.surfer.at] has joined #ubuntu-kernel
=== nimbo [n=nimbo@84.136.69.251] has joined #ubuntu-kernel
nimbohey, i want to compile my own kernel module, but i get some error messages ( http://rafb.net/p/6EuqWZ63.html )08:51
=== lfittl [n=lfittl@chello080109027166.17.14.vie.surfer.at] has joined #ubuntu-kernel
=== ivoks [n=ivoks@33-101.dsl.iskon.hr] has joined #ubuntu-kernel
=== bdgraue [n=bdgraue@dyndsl-085-016-086-113.ewe-ip-backbone.de] has joined #ubuntu-kernel
nimbohey, i want to compile my own kernel module, but i get some error messages ( http://rafb.net/p/6EuqWZ63.html )09:29
shawarmanimbo: Try #kernelnewbies09:30
nimbohm ok, i'll try that09:30
=== n2diy [n=darryl@66.212.43.40] has joined #ubuntu-kernel
=== drez22 [n=elementz@pD9E5495C.dip.t-dialin.net] has joined #ubuntu-kernel
=== micahcowan [n=micahcow@ubuntu/member/micahcowan] has joined #ubuntu-kernel
micahcowanDoes the kernel package not use a patching system?10:32
micahcowanIf I wish to prepare a debdiff, do I just modify the source directly, alter the changelog, and go?10:32
=== okaratas [n=ozgurk@fsf/member/okaratas] has joined #ubuntu-kernel
=== HlTMAN [n=silence@unaffiliated/hltman] has joined #ubuntu-kernel
=== Lure [n=lure@89-212-19-55.dynamic.dsl.t-2.net] has joined #ubuntu-kernel
=== Starting logfile irclogs/ubuntu-kernel.log
=== ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-kernel
=== Topic for #ubuntu-kernel: Ubuntu kernel development discussion ONLY | Kernel Wiki: https://wiki.ubuntu.com/KernelTeam | Latest kernel upload: 2.6.22-4.10 | Latest news: -rt and -xen kernels removed, failures in patch | linux-meta uploaded for gutsy 2.6.22 kernels. | New Kernel Team machine: http://kernel.ubuntu.com/
=== Topic (#ubuntu-kernel): set by BenC at Fri May 18 22:21:22 2007
=== cassidy [n=cassidy@host-85-27-113-193.brutele.be] has joined #ubuntu-kernel
micahcowanWhy do all entries in the kernel changelog for non-upstream changes have "GIT-SHA" lines, and what are they hashes for?12:09
crimsunmicahcowan: don't use debdiff.  Use git-format-patch(1) [hopefully you've installed git-core] .12:13
crimsunmicahcowan: the GIT-SHA lines no longer appear in gutsy.  The hashes refer to git commits.12:14
micahcowancrimsun, thanks. If I've made changes to fs/ncpfs/file.c, fs/reiserfs/file.c, and /mm/filemap.c, should the changelog entry start with "* fs,mm:" ? And what else might I need to know about special formatting for changelog entries?12:17

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