[09:21] Hi all! I am trying to hotplug USB disks automatically to a KVM virtual machine. What I found is: I get a lot of trouble, when a USB disk has been attached to the VM, because it is not accessable from the hypervisor any more. What I see is, that it is added to the SCSI subsystem "lsscsi" and that tries continuously to access it generating error messages in "dmesg" and "syslog". One solution I found is: Prevent the loading of the "us [09:21] b_storage" module on the hypervisor. But that's not the way I'd like to handle it, because this prevents the use of USB disks in general. Is there a way to prevent the kernel from adding particular USB disks (recognized by VendorID and ProductID) to the SCSI subsystem? Where can I find some documentation about these mechanisms? [09:21] Thanks & best regards! :-) [09:48] NikTh, ok your build issue there is you have added new components via your patches [09:48] Yes apw [09:48] and not updated the configuration with the new options [09:48] run this and answer the questions, and commit the result: fakeroot debian/rules updateconfigs [09:48] I have running make xconfig and saved the .config .. what else I must do after this ? [09:53] apw: The command gave an error. See : http://pastebin.com/gKFSizE9 [09:53] NikTh, you must run: fakeroot debian/rules updateconfigs [09:57] NikTh, ahh you are using the .dsc package not the git repo [09:57] NikTh, you need to chmod +x debian/scripts/misc/* [10:04] apw, bug 1182829 ... [10:04] Launchpad bug 1182829 in initramfs-tools (Ubuntu) "initramfs-tools should allow building module-less generic initrds" [Undecided,New] https://launchpad.net/bugs/1182829 [10:06] apw: http://pastebin.com/kc6tEjms (the overrides messages are too many, I did't copy-paste them all, if you need them all tell me). Now I have not a debian/rules file at all.. LoL [10:06] Is so F...ing difficult to build a custom-kernel onsite (Launchpad) and so easy to build it locally.. dmn :P [10:07] you can ignore the overrides issues [10:07] you need to make config-check executable it seems, chmod +x debian/scripts/* debian/scripts/misc/* [10:08] it is much easier to use the git tree than a source tarball, as that is how we do all of ours [10:08] and threfore any wrinkles like this are covered off [10:09] making a local kernel just for oneself is easy indeed, doing it 'right' so that the archive can grok it is always going to be much harder [10:10] NikTh, remember the source pacakge you are producing produces binaries for all supported architectures, not just the local one as you get when you do a local build [10:10] it is a much more complex animal than just a build [10:11] I have no debian folder at all right now. Only debian.master.. I thing it purged out (rm -rf ) . Any documentation for git ? or just git clone and then the same procedure ? [10:15] NikTh, Have you seen this? https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel [10:15] Well, you know what? I will try one more time with tarball , because so many times I have done this procedure I remember it without read anything.. LoL. When I get to the point of chmod +x .... I will update here. [10:19] smb: Thanks. Really I don't remember , probably not. I have read so much these 2-3 days that my mind blown. [10:23] the kernel is one of the more esoteric packages in the archive, it has to produce so much junk to let us make bootable CDs and the like [10:36] Ok, to be sure I ran the command twice. The first time it  did the checks with questions, the second did the checks without questions. Which means that the update was done properly (if I'm not mistaken) [10:37] I'm speaking about fakeroot debian/rules updateconfigs [10:37] I didn [10:37] I didn [10:38] I did not run fakeroot debian/rules editconfigs (I prefer the graphical make xconfig instead) . No problem with that.. (?) [10:39] Many problems with that. Main one being that this creates .config in the top level dir which is not used at all by the debian build [10:41] smb: So I must first run fakeroot debian/rules editconfigs and then fakeroot debian/rules updateconfigs ? [10:42] NikTh, With a new option that has no default, no. It will (or should) just ask you how to set things when running updateconfigs [10:42] Ok. I did that. I answered Yes to questions. [10:42] If you want to change things from current values you had to either run editconfigs or edit the files in debian.master/config [10:43] It seems to work now.. I will cross my hands for Launchpad Builder.. We will see.. :P [10:43] So it should be ok but just make xconfig is unneeded the least [10:44] Rule of thumb with debian packages: calling anyting with make directly is bound to be wrong [10:45] Last question smb : If I want to change something in current configuration (eg: Processor Type and features to point to AMD or Intel ) which command is better ? make xconfig or fakeroot debian/rules editconfigs [10:46] NikTh, Isn't the answer to that obvious from what was said above? ;) [10:46] I guess the second , but don't ask me why. Locally always I used make xconfig to change the configuration.. [10:46] Yes it is obvious. [10:47] The thing is whether you just use the kernel make infrastructure or the debian packaging [10:48] when you run fakeroot debian/rules it will always use what is in debian.master/config to create new config files per flavour in debian/build/... [10:48] Whatever "make xconfig" has done to .config is ignored [10:50] per flavor . Yes, I think that's the secret key here. It would be better for a newbie (like me) to learn ONE procedure either locally or onsite to build a custom kernel.. but differences are small as I can see.. small but important [10:53] Well, thanks for all the help guys.. I'm not here to learn , I don't ask for a teacher , I must read more docs I guess and make more mistakes to learn actually. We'll see how it goes. [10:54] For that I would point back to the BuildYourOwnKernel wiki. This is the documentation we can control. Unfortunately there is plenty of instructions we cannot. [11:21] amen to that [12:10] * henrix -> lunch [12:10] rtg_: yesterday you said: "marvin24, I does not appear that you can enable CONFIG_TEGRA with trashing CONFIG_ARCH_MULTIPLATFORM" [12:11] do you mean that some config options get also changed [12:11] marvin24, based on some quick testing, CINFIG_TEGRA is mutually exclusive with MULTIPLATFORM [12:12] I enabled it on the Ubuntu-3.10.0-0.1 branch and it worked without problems [12:13] I'll look into it a bit more today. if tegra can be enabled in the multiplatform kernel, then we should [12:13] only minimal changes to the config [12:13] I don't know if nr_gpios is important though ... [12:13] marvin24, cool, send a patch to the k-team list. [12:14] ok [12:14] I'm pretty sure I only tried it on 3.9 [12:14] ah, multiplatfrom was only enabled in 3.10 [12:14] (I mean for tegra) [12:20] marvin24, I'll switch saucy over to 3.10 around rc3 or 4. its still a bit steamy... [12:21] rtg_: np, there is still plenty of time ... I also need to test 3.10 on my ac100 first [12:21] but it would be great if I could boot the default ubuntu kernel on it [12:29] biab [12:44] I got the solution: If you attach the USB disk by udev to the VM, it is done so quickly that the SCSI subsystem cannot catch it. The problem only occurs if you attach it manually, when the SCSI subsystem has already caught it. [12:44] * ppisati goes out to run an errand, brb [13:35] * henrix -> back in 15 [13:42] waiting [14:03] NikTh, waiting for what ? [14:23] apw: nothing. This message was a mistake of mine when I tested some commands on IRC (on another channel). It seems that /AMSG sends the message to all channels. LoL [14:24] apw: Actually I'm waiting for building the binary packages on Launchpad. :-) [14:26] apw: I see some weirdness in the CVE tracker status changes this morning. CVEs have switched the pending version from the kernels in -proposed, to one which was already released. [14:26] from and to ? [14:27] are they from the new -22 to the old -20 ... or whatever, from the version which is pending now to the one which didn't make it out ? [14:27] sconklin, ^^ [14:27] CVE-2013-3076: [14:27] -raring_linux: pending (3.8.0-22.33) [14:27] +raring_linux: pending (3.8.0-20.31) [14:28] so how did the -22 get in there i wonder [14:28] yes [14:28] -22 is in proposed now [14:28] i am trying to understand how the autotirager would ever have said -22 [14:29] the issue is that the first release they are in _is_ -20, just it didn't release [14:29] so i would have epxected it to make that error always, so wondering why it [14:29] went to -22 first, then changed its mind, that seems wron [14:29] odd [14:29] agree [14:31] anyhow ... so the issue here is we have a tag for 3.8.0-20.31 which the autotriager sees, which is actually not really a valid tag [14:31] sconklin, i am going to have a think about it, as really we should only consider the version which have been in the -release/-updates pocket, not all tags [14:32] sconklin, don't accept its changes fro the moment, they are clearly balls [14:32] apw: ok, I won't push this back up [14:32] This is why we have a human in the loop [14:32] sconklin, thanks ... i will prolly just hack it so we can exclude tags to start with, but we ought to get launchpads idea of them [14:32] sconklin, so very very true [14:35] sconklin: its probably due to some manual fixes jj has done for the emergency kernel [14:48] henrix, yeah that all makes sense, i'll do something to the tool to make it do the right thing; so it doesn't undo his bits [14:49] apw: ack, thanks. sconklin ^^ [14:57] sconklin, which releases did this happen on ? [14:59] sconklin, i thought we wern't going to commit these changes? it seems we have, at least when i pull i get the -20 version [15:16] rsalveti: ok, manta is now using the saucy ubuntu kernel (after a repo sync ;-) ) [15:16] apw: rtg_: ^ [15:16] rsalveti, nice [15:17] rsalveti, thats pretty funny. I _just_ sent an email about kernel status. [15:17] so mako + manta should be using the ubuntu kernel starting next build [15:17] rsalveti, grouper too, right ? [15:17] rtg_: I'll test maguro later today, but grouper is not yet in a good shape [15:17] ah [15:18] it's booting and working with the ubuntu kernel now [15:18] but it seems I cannot open apps with it [15:18] and I don't have the hardware anymore, so would need help from the kernel team [15:18] might be a config issue still [15:18] probably related with binder [15:18] rsalveti, I have an N7 [15:19] rtg_: mind flashing our latest N7 image and then updating to our kernel? [15:19] rsalveti, yeah, was just gonna do that [15:19] saucy, right ? [15:19] rtg_: first give it a shot with the default kernel from our image, see if the shell is working as expected (opening apps properly and such) [15:19] rtg_: yes [15:20] ack [15:20] abootimg -u /dev/block/platform/sdhci-tegra.3/by-name/LNX -k [15:21] you probably know already, but just in case [15:21] rsalveti, I didn't, so thatnks. that save me some time [15:22] mmm, may have to wait for battery charge [15:39] rsalveti, can you get the old one off the saem way, so you can put it back ? [15:39] apw: yup, but you'd need to extract the boot.img file [15:40] with abootimg itself [15:40] rsalveti, well i would be happy with 'give me blob i can give you back' for when i brick it again [15:41] right, but the easier way to restore a broken kernel is by flashing the boot.img via fastboot [15:41] ahh [15:41] http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/20130522/raring-preinstalled-boot-armel+grouper.img [15:41] for example [15:41] boot into fastboot [15:41] fastboot flash boot raring-preinstalled-boot-armel+grouper.img [15:49] apw: rtg_: it seems there's a crash when opening the camera app with manta [15:49] it reboots right after opening the app (which starts the camera hal) [15:50] rsalveti, we should be able to start opening bugs in LP against these kernels. [15:50] yeah [15:50] need to dig a bit further, not sure if the kernel is actually the culprit here [16:04] apw, how about something like linux-generic-lts-raring-to-14-04 [16:06] rtg_, heh other than the nasty mixture of raring and 1404 [16:07] especially if it was 14.05 or something which is 'slightly' possible [16:07] lts-generic-lts-raring-upgrade [16:08] apw, ok, how about linux-generic-lts-raring-to-the -next-lts [16:08] lts-generic-lts-raring-autoupgrade [16:08] they are alll so very long and not ver obvious [16:08] very [16:08] autoupgrade isn't very specific [16:08] nope, no better indeed [16:09] what does it mean ... we want ... -upgrade-at-end-of-support [16:09] but actually, its not that bad either. [16:09] which is hard to fit in a short word [16:10] -eol-upgrade [16:10] apw, autoupgrade is kind of growing on me. eol-upgrade isn't too bad either [16:10] we need X to do the same of course [16:10] apw, not my problem :) [16:11] yeah :) [16:11] though it would be nice if they used the same scheme [17:01] smb: hello [17:01] arges, Hey, just was wondering [17:02] * rtg_ always wonders when arges shows up [17:02] don't worry... no bad news [17:39] * rtg_ -> work [18:15] * rtg_ just received an 8 bay RAID cabinet. [18:15] rtg_: so you can use the saved time to answer questions ... [18:15] do you see __bad_udelay during kernel compile? [18:16] marvin24, on 3.10-rc2 ? [18:16] nsp32.c and nouveau use udelays > 2000, which fails on tegra [18:16] rtg_: yes [18:16] marI haven't compiled for armhf yet [18:17] marvin24, ^^ [18:17] it should be the same for all arm socs [18:17] I think I've seen this in 3.8 also [18:17] I've been distracted by Ubuntu touch kernels [18:17] at least I disabled these drivers because of this [18:17] rtg_: yes, ancient versions ... [18:18] I'm happy not to deal with 3.1 kernels anymore [19:00] ogasawara: say, how receptive would you be to taking an ARM-only patch to enable seccomp-bpf on precise? The changes are relatively minor (since it just calls into the existing seccomp-bpf infrastructure that was put in place for x86) [19:01] kees: I don't think I'm personally opposed, send it on over. bjf, rtg_: ^^ thoughts? [19:02] kees, ogasawara first thought is I don't see any issue [19:03] no patch, no opinion [19:03] heh, fair enough. I'll spin it up so you guys can look at it. thanks! [19:49] * rtg_ -> EOD [20:59] apw: just sent 2 config-related patches to make the camera to work with nexus 10 [20:59] seems that is the only remaining regression with this kernel [20:59] going to test maguro now [20:59] rsalveti, ack thanks [20:59] the second one is just to enable /proc/net/wireless, requested by the sdk folks === kentb is now known as kentb-out [22:28] Here I am again. You will never get rid of me :P [22:29] New build error. As I guess I must add something in debian/rules, but what ? [22:29] Error here: https://launchpadlibrarian.net/140487585/buildlog_ubuntu-raring-amd64.linux_3.8.0-21.32ubuntu1~bfsbfq0_FAILEDTOBUILD.txt.gz [22:34] Ohhh ! Boing ! This was an old message (e-mail) . Now I saw the package version. It seems that we had a delay in delivering. Sorry !! Ignore all above. At Launchpad page (my PPA) seems that is currently building (still) [22:37] But no. As I refreshed the Launchpad page says "1 failed , 1 pending to build" . So I guess that is the report is correct. Dmn ! Forgive me, because this is the 5th failure and I'm little bit confused. Anyone who knows why build failed ? === ssweeny` is now known as ssweeny