=== jjohansen is now known as jj-afk [06:29] Hi all, I am experiencing data loss on USB storage devices while entering S3, can qemu/kgdb help here? [06:37] eugenesan: what kid of data loss?, What fs is on the usb storage, did you sync and unmount before suspend, ... [06:39] jj-afk: Looks like data not committed to filesyste, ext4 loose journal, for example [06:40] jj-afk: I am talking about root filesystem on USB [06:41] Ah Bug #706795 [06:41] Launchpad bug 706795 in linux "[All releases] Suspending with rootfs on USB, causes silent corruptions, kernel panic on mount attempt, data loss and leaving system unbootable." [Undecided,Confirmed] https://launchpad.net/bugs/706795 [06:41] Indeed, this is the bug [06:42] so it is possible that using a vm to test on will help [06:43] it will depend some what on where the bug is and how good the vm's usb emulation/pass through is [06:43] it certainly can't hurt to try replicating it on a vm [06:44] jj-afk: yes, I'll just wanted to check if someone already have tried. [06:44] however, I will note that suspend/resume with an external dev mounted generally causes the fs to be unmounted [06:45] and treated as if they are ejected and then reinserted [06:45] unplugged/plugged .. [06:46] it might help if you set USB persist [06:46] Well with rootfs this different. No mount/umount events. I suspect USB-host get's reset/sleep too soon, before data got actually written [06:47] yes, and this can be device specific [06:47] it will depend on the devices driver and the device firmware, ... [06:48] do you mean USB dongle specific or specific for USB-MassStorage in general? [06:48] both really, or the interplay between them [06:50] actually bug is persistent on variety of USB hosts and USB dongle, and correct for all Linux versions and flavors. [06:50] basically a bug in the device, the device firmware, the computers firmware, the usb mass storage layer, or even the fs could do it [06:50] correct for all Linux versions and flavors? [06:50] yes [06:51] so the variety of devices would point to the machine or the OS [06:51] I think this case is just not treated in code, since with SATA it's almost same data path but working. [06:51] by all linux versions do you mean all other versions? [06:52] I mean, issue reconstruct easily on every HW and any Linux version, and I tried many... [06:53] eugenesan: ah okay thanks for clarifying [06:54] so yeah that would point to something in the usb code not handling this correctly [06:54] have you tried with other filesystems [06:55] I even suspect, in past, there were similar reports regarding SD and SATA... [06:55] Yes, they all affected [06:56] eugenesan: okay, well I know I have run some linux devices with the root OS on an sd card that could successfully suspend resume. [06:56] I will take a shot at replicating [06:56] but yes I have heard of root on SD cards being corrupted by suspend/resume before [06:57] * jj-afk is going to finish reading your bug now === smb` is now known as smb [10:10] following up on yesterdays query on the video switch key upon lid open on a Thinkpad, I know built a kernel where I've commented out all KEY_SWITCHVIDEOMODE in acpi/video.c, but the event is still generated. The customer tells me that there is no such event generated when a RHEL4 desktop is installed on the T61 [10:11] I grepped for KEY_SWITCHVIDEOMODE in the source tree, but didn't find anything that looks like it would be used [10:18] strangely with sudo input-events 5 I know get a KEY_UNKNOWN (0xf0) pressed and released, instead of 0xe3 as yesterday === yofel_ is now known as yofel [11:43] cking: something for your bedtime hacking: https://lwn.net/Articles/429812/ :) [11:44] amitk, sounds all too familiar [11:44] I downloaded the image yesterday, but got sidetracked [11:45] * Run Intel's power management reference code to override your BIOS's configuration. This includes writing the ACPI tables for P-states and C-states, replacing those normally provided by your BIOS. [11:45] wow ^^ [11:45] funny how that seems to admit that ACPI has failed to deliver [11:59] found it, I commented the acpi_bus_generate_proc_event(...) call as well, then there is no longer a keypress event generated, even not an unknown one === amitk is now known as amitk-afk [13:22] apw, just a heads up, the guy which reported that race with framebuffer tested the patch, https://lkml.org/lkml/2011/2/24/442 [13:22] should be good to go to repost it [14:33] herton, apw is not around today (only by luck) [14:38] smb, thanks for informing, I'll check with him again later then [14:39] herton, He took the day off today. Later would need to be Monday [14:41] hmm, then perhaps I should CC him again on lkml, he wasn't kept on all messages on the thread, as its his patch he will need to repost [14:41] herton, Keeping him on cc definitely is good [14:42] I added him on CC on my replies to the thread, but some of the replies were not on the messages he was on CC I think [14:44] Yeah, I am not sure he will keep track of the thread when not on cc. He gets enough mail to loose track even for the ones written directly to him === amitk-afk is now known as amitk === herton is now known as herton_lunch [16:16] <-lunch and errands bbiab === amitk is now known as amitk-afk [16:41] JFo: bug 725089 <- SRU testing [16:41] Launchpad bug 725089 in linux "QRT test-kernel-security causes kernel panic on EC2 AMD64 image" [High,New] https://launchpad.net/bugs/725089 [16:44] hm, trying to do something with tsc... === _LibertyZero is now known as LibertyZero [16:45] hggdh, Is that the first try with ec2 from regression testing or was there a previous run that was ok? [16:47] smb: to my knowledge -- which is quite fragmented -- the first. i386 passes, BTW [16:49] hggdh, Ok, thanks [17:07] smb, what's the right way to bump the abi in dapper, it doesn't seem to be the same rules as later kernels (just changing the abi in the changelog) [17:07] bjf, There is a bumpabi target that you run [17:08] smb, AH! [17:09] bjf, And also be careful that Dapper (as Hardy) needs the control files and stuff stored in git with the update === herton_lunch is now known as herton [17:29] bjf: if you're bumping dapper's abi, can you try to get it and the -meta package using the same ABI number? right now they're off by one. [17:29] kees, will try [17:30] bjf: cool; thanks [17:30] I'm not sure if the linux-source-2.6.15 package or the meta needs to be bumped twice. [17:30] let me look [17:30] kees, They use the same abi number. I guess what you want is the same upload number [17:31] smb: no, they're not the same abi in the package name (yes, all the deps are correct, but it's goofy) [17:31] linux-source-2.6.15 | 2.6.15-55.93 [17:31] linux-meta | 2.6.15.56 [17:31] note 55 vs 56 [17:31] bjf: so, linux-source-2.6.15 needs to go to -57 instead of -56, and then the meta can go to .57 [17:32] and then I can drop these special-cases for dapper I've got in the archive kernel ABI checker :) [17:32] Oh, right. Well actually there is no abi number in the meta package [17:32] kees, ok, i just went to 56 [17:32] Just that abi number and upload number are close [17:33] smb: I don't know what you mean by "upload number" [17:33] bjf: can you move linux-source-2.6.15 to 57? [17:33] kees, will attempt to do so [17:33] kees, For the meta package 2.6.15.56 the 56 is the uplload number [17:33] kees, :-) [17:33] smb: heh, okay, well, for every other kernel package, upload number == ABI number. [17:34] kees, For the linux kernel package 2.6.15-56.93 the 56 is the abi number and the 93 is the upload number [17:34] bjf: cool; thanks [17:34] smb: uhmm... [17:34] kees, It probably serves just the mental sanity [17:34] linux | 2.6.35-25.44 [17:34] linux-meta | 2.6.35.25.32 [17:34] that's maverick [17:34] Usually we only need a new meta package when the abi bumps [17:34] the meta's upload number is .32 not .25. .25 is the Abi [17:35] but it could also be for a different reason [17:35] smb: the problem, I guess, was that dapper lacked an ABI number [17:35] smb: so I guess I'm hoping to align dapper's upload number with the ABI, since for all the other releases, there is both ABI and upload number in the meta version [17:36] kees, I am rather hoping to be in June soon and not to have to care about Dapper any longer. :) [17:36] Otherwise, yes we probably added a meta number to avoid further confusion later [17:37] smb: yes! I'm going to throw a party for dapper eol [17:37] * smb wished he could be there to join. :) === herton is now known as herton_away === sforshee is now known as sforshee-lunch === Quintasan_ is now known as Quintasan === sforshee-lunch is now known as sforshee [18:59] smb, are you looking at bug #725089 ? [18:59] Launchpad bug 725089 in linux "QRT test-kernel-security causes kernel panic on EC2 AMD64 image" [High,New] https://launchpad.net/bugs/725089 [19:00] ogasawara, hi :-) [19:02] ogasawara: hey [19:02] bjf: I started looking at that yesterday [19:03] jjohansen, ah [19:04] bjf: there is also a lucid issue that is different, hrmm not sure what its bug number is [19:04] jjohansen, it's still unassigned and no additional comments so wasn't sure [19:04] bjf: ah, yeah I actually got the info before the bug was opened [19:04] I'll assign it to my self [19:05] * ogasawara waves [19:05] ogasawara, o/ [19:06] jjohansen, the lucid issue is with lucid-ec2 ? [19:06] wtf, the kid starts crying right when I start typing [19:06] ogasawara: o/ [19:06] ogasawara: hi :D [19:06] hahaha [19:06] ogasawara: its a sign [19:06] bjf: yep, its a failure in the qrt mem mapping checks [19:06] ogasawara, are you traveling to uds ? [19:07] bjf: I think so, wayne and I were discussing it yesterday [19:07] bjf: hrmm just a sec, or was that on hardy [19:07] ogasawara, wayne was saying "no NO! pleeeeese don't go" [19:07] bjf: heh, a little :) [19:09] bjf: we figured kai will be about 5mo at the time and a little more settled and better able to survive a week without me [19:09] ogasawara: you could always bring him :) [19:09] jjohansen: you guys would probably kill me on the flight over [19:09] ogasawara, ah you new parents and your little fantasies [19:10] ogasawara: hehe not me, and think of the excellent excuse you would have to miss the config review [19:10] jjohansen: heh having a kid was all part of my giant scheme just to get out of the config review :) [19:11] bjf: I think I'm more worried about wayne surviving the week [19:11] bjf: so the memory thing is lucid not the hardy issue [19:11] ogasawara: hah, I knew it [19:11] ogasawara, hehe i can imagine [19:12] ogasawara: and well worth it :) [19:14] * ogasawara will drop back in later .. === herton_away is now known as herton [20:17] smb: so "upload" number should be used instead "revision"? should https://wiki.ubuntu.com/Kernel/Dev/KernelPackageVersioning be updated? [20:36] jjohansen, just to be perfectly clear, there is a lucid issue that you know about ? [20:37] bjf: yes, though I am not sure whether it is a regression [20:37] jjohansen, do you have a bug # ? [20:37] let me check if hggdh opened a bug for it [20:41] bjf: I don't see one, I'll coordinate with hggdh and make sure there is one, and get the information attached and then let you know what it is [20:41] jjohansen, thanks [20:44] I did open a bug, jjohansen [20:44] jjohansen: bug 725089 [20:44] Launchpad bug 725089 in linux "QRT test-kernel-security causes kernel panic on EC2 AMD64 image" [High,New] https://launchpad.net/bugs/725089 [20:44] hggdh: I figured you probably did but my lp foo is weak [20:44] bjf: ^ [20:44] hggdh: thanks [20:45] err wait [20:45] oops [20:45] hggdh: not that one [20:45] hggdh: the failed qrt memory test on lucid [20:45] jjohansen: yeah, sorry. No, no bug yet, I will open one [21:16] is umask visible under proc/$pid?? [21:34] lamont, not that I can find [21:35] yeah - I resorted to gdb [21:55] jjohansen: you are talking about http://reports.qa.ubuntu.com/reports/kernel-sru/home/ubuntu/sru-kernel-test/lucid-2.6.32-313.25-ec2/m1.small-i386/qrt-kernel-security.txt [21:55] right? [21:56] hggdh: yep, thanks [21:56] bjf ^ [21:56] jjohansen: so you want a bug on that? [21:57] hggdh: yeah, that is doesn't pass the mem test is disturbing and I'll look into it [21:57] jjohansen: opening one now. It will be manually opened (no apport collection) [21:58] hggdh: thats okay, and thanks === herton_ is now known as herton [22:21] kamal, thanks for the endorsement :) [22:22] cnd: my pleasure :) [22:41] k, I'm starving. See you guys Monday :) === sconklin is now known as sconklin-gone