/srv/irclogs.ubuntu.com/2011/03/29/#ubuntu-kernel.txt

Specialistthere must be something i am mising. everything is set up as per the tutorials i read, but still the last kernel message that ends up on the serial console is:00:00
Specialist[   27.571317] EXT4-fs (dm-2): mounted filesystem without journal. Opts: (null)00:00
Specialistthen follows silence until i reboot, which is again indicated on the console: [ 1762.680197] Restarting system.00:01
BenCSpecialist: are you sure there are actually kernel messages to be printed?00:03
Specialistyes, i can see them using dmesg00:03
BenCPerhaps the console level for kernel messages is set to mask them being sent to the console?00:03
BenCIs "quiet" on the kernel command line?00:03
SpecialistBenC: no, quiet is not on the command line00:04
BenCCheck printk level for console output then00:04
BenCRead and edit /etc/sysctl.d/10-console-messages.conf00:05
SpecialistBenC: it's 4 4 1 7 - what would i need to specify if i wanted to see all messages (googling did not help to figure this out - most hits just list the defaults)00:13
BenCSpecialist: http://www.makelinux.net/ldd3/chp-4-sect-2.shtml00:14
BenCSection 4.2.2 and the line above it where you "echo 8 > ..."00:14
BenCSpecialist: So changing the values to 8 should do it00:15
Specialistthanks!00:15
* BenC found that with google00:15
SpecialistBenC: just out of curiosity: what were your search terms?00:16
BenClinux kernel printk console level00:16
=== yofel_ is now known as yofel
ogasawaraskaet: alpha3 to beta1 blurb added for the kernel section in the TechnicalOverview wiki, will add the more substantial Maverick to Natty blub in a bit.01:32
skaetogasawara, awesome.  thanks!01:32
beata|lemurHowdy hi. Encryption question: How do I tell if pcrypt is actually being used? I don't seem to see it in ps, and the module use count is 0.01:42
=== _LibertyZero is now known as LibertyZero
fairuzhi morning07:40
fairuzhi, is it a problem if i got a compiled kernel with -dirty behind it's name? I already did make clean but no luck, still it adds -dirty.07:42
ohsixit just means you changed it07:42
fairuzohsix: what do you mean by changed? afaik, if you do make clean, the dirty will go away07:44
jjohansenfairuz: do you have uncommitted changes?  That can cause the dirty tag to be applied07:55
fairuzjjohansen: of course! why i dont think of that before07:55
fairuzjjohansen: what is the command to reset again (i tend to forget everything). something like git reset --hard master?07:57
jjohansenfairuz: to reset the head git reset --hard origin/master (if on the master branch)07:57
jjohansenfairuz: git checkout -f will throw away uncommitted changes07:57
fairuzjjohansen: cool, ty07:58
fairuzjjohansen: still bug hunting?08:15
jjohansenfairuz: not at the moment, but I do have several queued up08:15
fairuzjjohansen: i suppose it's very time consuming? Seen that you and DrDetroit did test a lot of kernels08:17
jjohansenfairuz: yeah it can be, it just depends on the bug08:17
DrDetroithehe i should turn off my sound when I am napping08:19
DrDetroitor mark myself away i guess08:19
=== smb` is now known as smb
fairuzDrDetroit: oh sorry :D08:32
DrDetroitfairuz: don't worry about it, you did nothing to apologize for08:33
=== Guest94281 is now known as niko
=== DrDetroit is now known as DrD_away
=== lool- is now known as lool
=== doko_ is now known as doko
jjohansenrebooting11:30
ppisatihow long does it take to move from master-next to master?12:25
Specialisthi there, my struggle to figure out what is breaking s2ram for my machine on 2.6.38 continues. i got a serial console working. unfortunately, during suspend the serial console output changes to garbage (with no_console_suspend enabled) rather early during the suspend phase so that i cannot read the most interesting information. is this to be expected?14:10
jjohansenSpecialist: it can happen, some further ideas might be found at14:22
jjohansenhttps://wiki.ubuntu.com/DebuggingKernelSuspend14:22
jjohansenhttps://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume14:22
Specialistjjohansen: thanks! i have to say that i have read those documents already a couple of times ;-) the only untested hypothesis that remains is the possibility of a kernel panic during suspend. i guess a usb keyboard will not indicate that event by flashing the keyboard led as usb will probably already be down, right?14:26
jjohansenSpecialist: ugh, yeah usb keyboard making the flashing led trick less than useful14:27
jjohansenor less useful14:27
Specialistwell, then it's time to resurrect my ps/2 keyboard ;-)14:28
=== chuck_ is now known as zul
Specialistyesterday someone also mentioned storing debug information in the cmos using the rtc. instead of using the current time (causing the information to decay) wouldn't it make sense to set a (disabled) alarm with the intended payload instead? that data should not decay...14:49
ohsixSpecialist: theres actually in practice lots of places to store that information, but the rtc is the lowest common denominator14:50
Specialistohsix: are you aware of any code sample that i may re-use?14:51
ohsixSpecialist: don't know what you're doing, i just saw the rtc comment and something about debugging suspend14:55
Specialistohsix: i am trying to figure out why my system sporadically freezes during s2ram. i alreadt tried serial console, but that becomes corrupted during suspend. so i thought that i'd modify the rtc state using a bitmask to record certain checkpoint information during the suspend phase14:57
sconklinppisati: thanks for verifying your bug!14:59
ohsixSpecialist: i used netconsole15:00
Specialistohsix: the thing is that for me the suspend fails so low-level that the rtc may be the only device that will still work reliably at that time15:02
diwicSpecialist, I think the kernel uses the upper bits only and you have a few minutes only to read the information out of the rtc when you boot up again15:02
Specialistohsix: well, that's ok for me. i just spotted the implementation in drivers/base/power/trace.c, which seems like a good starting point for my debug code15:04
fairuzHi, when compiling a external module, can I specify the output folder for *.ko file? I use this right now to compile : make ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KERNEL_SRC) M=$(PWD) modules15:12
jjohansenfairuz: O=15:16
jjohansenbut its not just the output folder for the .ko its all object files15:16
sforsheefairuz, have you tried using using MOD_INSTALL_PATH with make modules_install ?15:18
sforsheee.g. 'MOD_INSTALL_PATH=/foo make modules_install'15:19
fairuzsforshee: I'm compiling __a__ module15:19
fairuzan external one15:19
sforsheefairuz, yes, but what does it do if you run that from your module's source dir? I don't know, but might be worth trying15:20
fairuzsforshee: it will install the modules from the source tree not my module :D15:21
fairuzjjohansen: already tried that before but no luck15:21
sforsheefairuz, that's too bad15:22
jjohansenfairuz: hrmm, it should work I know I have used it with external modules, mind you that was years ago15:22
* ogasawara back in 20min15:26
fairuzjjohansen: that's why..i wonder myself whhy it didn't work.15:28
=== sconklin is now known as sconklin-afk
sforsheefairuz, I just tried it and it did work15:31
fairuzsforshee: what did you try?15:31
sforsheemake -C /path/to/kernel M=$(pwd) INSTALL_MOD_PATH=/path/to/modules modules_install15:32
sforsheefairuz, that installed my module to /path/to/modules15:32
fairuzsforshee: it will install just the external module? and not the other kernel modules?15:33
sforsheefairuz, yes15:33
sforsheefairuz, note that if you use a relative path it will be relative to the kernel source directory, not your module source dir15:34
fairuzsforshee: it will just move the files or it will compile and move the files15:36
jjohansenfairuz: it should set the compiler to write the files to the target location15:37
* jjohansen has used it in the past for source trees that were read only15:37
fairuzI use this -> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -C /home/x0152532/kernel-src M=/home/x0152532/remote-x0152532/tools/caches/pl310 INSTALL_MOD_PATH=/home/x0152532/remote-x0152532/tools/caches/pl310/bin modules_install15:40
sforsheejjohansen, fairuz, just using the modules_install target didn't build for me, I had to do the modules target as well15:40
fairuzand it installs lib/modules directory in my target folder15:40
fairuzand no sign of my own modules15:40
sforsheefairuz, see my comment above, you'll have to do a 'make modules' first15:41
sforsheein my testing anyway15:41
sforsheeand that will build to your local directory15:41
sforsheeunless you use O=...15:41
fairuzsforshee: done that15:41
sforsheefairuz, don't know what to say, it installs my module15:43
fairuzsforshee: in your case, it did not install /lib/modules/kernel-name in your target folder?15:43
sforsheefairuz, no, it does create lib/modules/..., and installs the module there15:44
fairuzsforshee: ah ok i got what you mean15:44
sforsheefairuz, if you want something different I guess you could make a custom target in your local makefile15:44
fairuzsforshee: it puts the module in /lib/modules/kernel-name/extra/*15:45
sforsheefairuz, yes15:45
fairuzsforshee: hmm not really what i want actually.. 15:46
fairuzI'm searching something like target-folder/mymodule.ko15:46
sforsheefairuz, that may be the only thing the kernel makefile provides15:47
bjf##15:47
bjf## Ubuntu Kernel Team Meeting - Today @ 17:00 UTC - #ubuntu-meeting15:47
bjf##      agenda: https://wiki.ubuntu.com/KernelTeam/Meeting15:47
fairuzsforshee: there's O= too but unfortunately, it didn't work for me..will dig it out later15:47
fairuzsforshee: jjohansen: btw, thanks for helping15:48
sforsheefairuz, iirc O= puts all the build targets in that dir, which probably isn't what you want anyway15:48
sforsheefairuz, np15:48
fairuzsforshee: that's ok for be. As long as the source folder is clean :)15:49
fairuz*me15:49
fairuzjjohansen: if we make a package, it will create headers, image, and src package automatically ? 15:56
fairuzor there is some work to do by hand15:56
=== sconklin-afk is now known as sconklin
jjohansenfairuz: make a package how?16:02
fairuz*.deb files16:02
fairuzjjohansen: something like this https://launchpad.net/ubuntu/+source/linux-ti-omap4/2.6.38-1204.5/+buildjob/231344116:03
jjohansenfairuz: hrmm, I'm sure what you are doing to build, a package can create each of those16:03
=== jjohansen is now known as jj-afk
* jj-afk steps away for 2016:04
fairuzjjohansen: (i'm not really want to create packages, but just to fill my curiousity =))16:04
=== diwic is now known as diwic_afk
tgardnerogasawara, do you remember if bug #630748 was on skaet's radar last week?16:17
ubot2Launchpad bug 630748 in linux-firmware "iwlagn degrades quickly during normal wifi session" [High,Confirmed] https://launchpad.net/bugs/63074816:17
ogasawaratgardner: it was16:17
tgardnerogasawara, great, thanks.16:18
sforsheetgardner, for the eeepc-wmi backports, is it best to base the branch for the pull request off of master-next ?16:19
tgardnersforshee, that works, but its not critical.16:19
sforsheetgardner, yeah, there probably aren't any differences between master and master-next for that file, I was just wondering16:20
sforsheethanks16:21
tgardnersforshee, the advantage of using master is that it gives you a stable merge point, whereas master-next often gets rebased. however, small pull requests aren't that hard to figure out.16:21
ppisatisconklin: you are welcome :)17:03
=== jj-afk is now known as jjohansen
=== herton is now known as herton_lunch
bjf##17:30
bjf## Kernel team meeting in 30 minutes17:30
bjf##17:30
=== herton_lunch is now known as herton
=== sforshee is now known as sforshee-lunch
maks_dudes your meeting is finished before one has time to follow it18:13
maks_wanted to raise debian drm tree sync18:14
maks_:P18:14
maks_2.6.32.y-drm33.z.git misses some of our stuff.18:14
ogasawarasmb: ^^18:15
smbmaks_, Ah yes18:16
smbI think it was mentioned that you had some drm things. Do you have a git tree I can pull from?18:16
maks_yes mirror didn't change18:17
maks_http://git.debian.org/?p=kernel/linux-2.6.git;a=summary18:18
bjfmaks_, you can always request to get something on the meeting agenda18:18
maks_I was just to slow and got distracted in middle of the meeting, thanks bjf 18:18
smbmaks_, Thanks, I was about to ask cause I tend to forget18:18
bjfmaks_, if you blink, we are gone18:18
maks_ok cool.18:26
=== DrD_away is now known as DrDetroit
=== sforshee-lunch is now known as sforshee
=== tgardner is now known as tgardner-lunch
=== bjf changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Natty Kernel Version: 2.6.38 (Kernel Freeze - April 14) || Ubuntu Kernel Team Meeting - March-29 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
bjfogasawara, the April 14 freeze date, is that when you'll upload or the last day we put changes into the repo ?18:56
ogasawarabjf: ideally, we'll make no changes to the kernel past that date, which means we'd have to upload ~2days prior for the builds to finish by the 14th18:57
ogasawarabjf: we can still apply changes, they'll just be subject to SRU18:57
ogasawarabjf:  but there's no guarantee that those changes will warrant another upload18:57
bjfogasawara, right, i'm just thinking that one way of thinking is that the code is actually frozen on the 12th18:58
ogasawarabjf: yep18:58
=== tgardner-lunch is now known as tgardner
JFoheadset died19:33
JFothanks pgraner :)19:45
JFo<-need food19:47
* jjohansen -> lunch20:49
tgardnerkees, sconklin, I think we're OK to release Hardy. HPPA LBM hasn't built since 2.6.24-19.17 (2008-10-27). Clearly nobody cares.21:16
sconklintgardner: bwahahaha ok21:16
sconklinwhy haven't we seen  the fails indicated in the PPA builds?21:16
tgardnersconklin, this should _never_ have taken me so long to figure out. maybe I need ritalin.21:17
tgardnersconklin, https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.24/+publishinghistory21:17
sconklinwell, now we know whether anyone cares21:18
tgardnersconklin, as it turns out, compat-wireless has never built on HPPA. dunno why we didn't notice it in c-k-t PPA. I'll upload a new package here in a bit.21:19
tgardnermy test build on wongi seems to be completing21:19
=== bjf is now known as bjf[afk]
tgardnersconklin, [PPA canonical-kernel-team] [ubuntu/hardy]linux-backports-modules-2.6.24 2.6.24-29.41 (Accepted)21:35
sconklinok, lbm builds fast, so we should know soon21:36
tgardnersconklin, I'll check back in a couple hours.21:36
=== tgardner is now known as tgardner-afk
sconklinno hurry I think21:36
* ogasawara back on later21:55
beata|lemurOh hey guys. I don't suppose there's a way from the user side to tell if pcrypt is doing its job? Or, does it need to be loaded *before*?22:12
=== bjf[afk] is now known as bjf
=== sconklin is now known as sconklin-gone

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