/srv/irclogs.ubuntu.com/2009/02/04/#ubuntu-kernel.txt

=== asac_ is now known as asac
philsfhi, can someone please take a look at the following kernel traces? http://pastebin.ubuntu.com/113482/06:16
philsfI'm not even sure what to put in a bug report, if this is the case. I think I'm having troubles similar to the closed bug #154591, in hardy (up to date)06:17
ubot3Malone bug 154591 in linux "7.10 live cd does not boot, the error: udevd-event[2292]: modprobe abnormal exit" [Undecided,Fix released] https://launchpad.net/bugs/15459106:17
IntuitiveNipplephilsf: Post a new bug, subject "BUG: unable to handle kernel paging request" and tag it with "kernel-oops". Make sure to *attach* files with the reports requested at https://wiki.ubuntu.com/KernelTeamBugPolicies06:26
philsfIntuitiveNipple: thanks06:31
TheMusoAre you guys interested in troubleshooting a suspend/resume issue? On my macbook pro, suspend/resume fails if I am using the FOSS nv driver, yet resume works if I am using proprietary nvidia drivers.09:46
Kanohi, it seems there is a depend on grub when you REMOVE kernels, why is that?10:41
Kanowhen you installed grub-pc (grub2) it should work too10:41
Kanohttp://kernel.ubuntu.com/git?p=ubuntu/ubuntu-jaunty.git;a=commit;h=86eda75b0b200cf158efa007a94e1842ba9292cc11:37
Kanobad comment11:37
henrik-hw0rtg: what's the status of the rt2860 kernel that appears to have been included in the ubuntu kernel? can i assume it's based on the manufacturer supplied drivers?13:10
Kanohenrik-hw0: nope from staging, tested it first, u adopted it13:11
henrik-hw0Kano: I just figured it it already was included there would be no point for me packaging it.13:13
Kanoand the firmware too13:13
henrik-hw0Kano: Pardon the stupid question but does being in "staging" mean it's included in the source linux package but disabled?13:15
Kanoits the test section for new drivers13:16
henrik-hw0I see...13:17
TheMuso\/c14:17
Keybukerr15:12
Keybukhow does one set the essid of an interface in jaunty?15:13
rtgKeybuk: iwconfig?15:13
Keybukthat wasn't working15:13
KeybukNM it seems15:13
oly562hello18:38
oly562i am new to kernel mod builds and kernels on linux. Id like to follow the LDD3 book this next few months and learn how to build drivers. I am running ubuntu 2.6.24-19-server. im trying to follow the book, im currently in chap one and they have stated i need the build dir. it's there. now, im trying to run the hello.c file i just created from code example. Could someone help me a bit, as the Makefile or make cmd. also, where shou18:38
oly562i will be able to follow along pretty well. i am ready for this challenge18:39
lagaoly562: hum. this is probably not the right place to ask.. maybe the ubuntu-kernel mailing list might be better.. also, your message got cut off :)18:40
lagaor maybe the kernelnewbies channel, but i'm not sure if they like distro kernels that much18:41
oly562ic18:41
oly562oh18:41
oly562ugh lol thanks for telling me about the message18:41
oly562where did it cut? last few words pleae18:42
lagamake cmd. also, where shou18:42
oly562k18:42
oly562thanks18:42
IntuitiveNippleoly562: Your best bet is to look at the source code for the kernel, especially the individual drivers. Pick a small one and look at its Kbuild and Makefile to get an idea of how it is done.18:43
oly562yah maybe in a year, i will come back and hang in here lol18:43
oly562k18:44
oly562im in the process of trying to git the kern code18:44
oly562reading this now18:44
oly562https://help.ubuntu.com/community/Kernel/Compile18:44
oly562whats the cmdline version of synaptic called? trying to apt-get it18:45
oly562this server is in init 318:45
oly562by choice18:45
oly562i just started using ubuntu last month18:46
oly562coming from rh and centos18:46
oly562linux speaking18:46
oly562dpkg?18:48
oly562i thought there is a apt-get none gui prog18:48
oly562but runs in cmdline with pretty colors18:48
oly562menus so forth18:48
IntuitiveNippleUse "sudo apt-get install git-core"18:50
IntuitiveNipplethen, create a directory to work in (I have a directory /home/all/SourceCode/) where all source packages are put18:50
oly562adept?18:50
oly562k18:51
oly562ok18:51
oly562perfect18:51
oly562where will the source packages be? after git-core is installed18:51
oly562 /lib or /usr/src18:52
oly562and where do i run the make from ?18:52
oly562sorry18:52
oly562this is what stopped me in the past from continuing this journey... sighs18:52
IntuitiveNippleSee https://wiki.ubuntu.com/KernelGitGuide for info on downloading the Ubuntu kernel releases18:52
oly562also when i reboot, will i need to modify grub menu?18:52
oly562k18:53
IntuitiveNippleFor an installed system, the kernel headers are in  /lib/modules/`uname -r`/build18:54
IntuitiveNipple'build' is a sym-link to the actual kernel headers location18:54
oly562ok18:54
IntuitiveNipplemust go, dinner time18:54
oly562thanks nipple:)18:55
oly562hah interesting nic18:55
oly562ok, got it, sym-link. so for my hello.c should i place that in the build dir? or ~/home/someone/SourceCode18:56
oly562i dont see how the make will find the file in my home dir18:56
oly562so i do a symlink from home dir to .../build?18:56
oly562i have no .config custom kern build. will i be able to do this in cmdline? i have no Xserver running. its a server18:57
oly562im reading those links now.  bbiab19:02
oly562please feel free to respond19:02
oly562:) 19:02
oly562is the term headers the same as saying kern source?20:05
TheMusooly562: No. The kernel source is the entire kernel source. Headers are only the header files needed to build modules outside the kernel.20:06
oly562if i wanted to copy the "kern source" what directory is that?20:07
oly562k20:07
oly562where is the kernel source located20:07
oly562typically by default if you git or grab it from cd during install20:07
TheMusooly562: Depending on the version of Ubuntu you are using, you would install the linux-source-kernelversion package, where kernelversion is the version of the kernel that Ubuntu on your system uses.20:07
oly562hardy20:07
oly562server kernel .1920:08
TheMusooly562: So linux-source-2.6.24 is the package you want. However if you would rather work with the git repo, then you need to isntall git-core, and clone the git repo to your machine and work on it there.20:08
oly562 uname -r20:08
oly5622.6.24-19-server20:08
oly562cp the git-core to a dir?20:09
TheMusoyep so as I said, if you just want a source tarball of the kernel in use, install linux-source-2.6.2420:09
oly562im not interesting in current20:09
TheMusooly562: No, you use the git clone command, git clone git://url.to/hardy-kernel.git20:09
oly562this is just for testing and learnig from a bood20:09
oly562book20:09
oly562ok.20:09
oly562where with git store this information20:10
oly562so i can "clone" copy it to another dir20:10
oly562i wouldnt want to ln -s it would it from that dir? and save some disk space would i?20:10
TheMusogit://kernel.ubuntu.com/ubuntu/ubuntu-hardy.git20:10
oly562yes i got that TheMuso20:11
oly562what does the clone command do?20:11
oly562just grabs the sources and puts in the cur dir?20:11
TheMusooly562: the clone command downloads the git repo and puts it in the current directory20:12
oly562and once i have the source in a dir of my chose, i can do kernel mod builds in there?20:12
oly562ok got it20:12
oly562and.. build? from there as well?20:12
TheMusoYes20:12
TheMusoIf you only want to build modules against the kernel you are using however, you simply need to install linux-headers-2.6.24-19-server20:12
oly562ok. once i build a new image, kernel, however it's called, i can then install it. right?20:12
TheMusoIf you make a deb package yes you can20:13
oly562i have the headers installed they are in /usr/src20:13
oly562hmmm... can you say a little more about that. or post a good ubuntu url for me to read up on that.. deb packaging?20:13
TheMusogo to http://wiki.ubuntu.com/KernelCustomBuild for more information.20:14
oly562all start grabbing the source , its like huge. isnt there a smaller one?20:14
oly562got that link actually, just trying to clarify a few things, since im new to linux mod and kernel builds20:14
oly562ill be doing this in cmdline , not using any gui 20:14
oly562can you do a trunk'd post here for example of your /usr/src/uname... header/ what dir's i should see in there or say a few?20:16
oly562ic arch block .config, crypto, Docum, drivers, kernel, Kbuild20:17
oly562 du -sh /usr/src/linux-headers-2.6.24-19/20:18
oly56259M/usr/src/linux-headers-2.6.24-19/20:18
oly562and...20:18
oly562 du -sh /usr/src/linux-headers-2.6.24-19-server/20:18
oly5627.0M/usr/src/linux-headers-2.6.24-19-server/20:18
oly562there is a big diff in size of those two dir's20:18
oly562i would assume the 59m is the right one20:18
oly562but. im running server as uname -r states20:18
oly562i dont get it?20:18
oly562its it becuz i did an upgrade or apt-get update b4 in the past?20:19
oly562thanks 20:19
oly562trust me all that you guys are saying is really helping me understand things now20:20
oly562i have read things from the links, but i need to be certain of things. the howtos are not Always that clear20:21
oly562im very cautious about loading things on my nix servers20:21
oly562as you all well know, you can kill a box quickly ESpecially with kernel tuning and mod's, programs that require deps that BReak other progs, and hardware20:22
oly562so... any info i may ask, will be greatly helpful20:22
oly562git://kernel.ubuntu.com/ubuntu/ubuntu-hardy.git  is downloding20:23
oly562657,000 objects .... sighs20:24
oly562at 588 kiB/s20:24
oly562i guess about 20 mins there about, giving my buggy charter connection lately doesnt die...20:25
Kanohttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/20990122:43
ubot3Malone bug 209901 in linux "webcam Logitech QuickCam Messenger  ID 046d:08f6 is not reconized" [Medium,Fix released] 22:43
Kanodid anybody patch that driver for 2.6.28?22:43
Kanoubuntu has patches for 1.8, you need 3 22:49
Kanoerr gentoo22:50
Kanohttp://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/qc-usb-messenger/files/22:50

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