=== mjg59` is now known as mjg59 === ogra_ is now known as ogra === koza|away is now known as koza [15:38] hello again [15:39] cking [15:39] knowhow, hi [15:39] i had to decompress the tar xz in root...you could have give a gz link you know :)) [15:40] xz takes less time to uncompress [15:40] I mean download [15:41] the patch also needs to be uncopressed it seems and has to be in the kernel folder...literaly the kernel folder [15:41] well, to make it easier you can do that [15:43] from the kernel directory i typed the following comand: patch -p1 --verbose ../patch-4.9.30-rt21.patch now i see a rectagular white thing [15:43] how long does a patch needs to be applied? [15:44] it is allready 5 minutes [15:44] try: patch -p1 --verbose < ../patch-4.9.30-rt21.patch [15:44] hit control-C to stop what you have running and use the above ^ [15:45] and --verbose should have give me more than a terminal rectagular prompt shouldn't havewith the < ? [15:45] didn't see that in instructios [15:46] cking ? did ommision of the < screwd things up? [15:47] knowhow, without the < the patch command was just trying to pull in a patch from standard input rather than the file [15:47] I suspect it is OK [15:48] well...i still see a prompter with nothing else...should i stop it and use the < ? or let it a little more ? [15:49] my concern is that -- verbose parameter should have said more than he rectagular white prompter flashing no? [15:49] which i still see [15:50] and i have an 8 core i7 darn it :)) [15:50] well..four real ones anyway :| [15:51] cking ? i applyed the command from the kernel directory where i copied the patch also [15:52] but the copy i did it with sudo nautilus [15:52] knowhow: yes you need to stop it and use the <, it's never going to do anything the way you've run it [15:52] doing it now [15:52] yep, hit control-C now, and run patch -p1 --verbose < ../patch-4.9.30-rt21.patch [15:53] the "prompter" is called a cursor [15:54] no such file or directory and i see it there with my own eyes :| [15:54] oh, it may be in the current directory, so try: patch -p1 --verbose < patch-4.9.30-rt21.patch [15:54] should i do it with sudo ? [15:55] you are absolutely right it is in current directory....damn you grammar :))) [15:56] pardon me it s syntax :)) [15:58] patch -p1 --verbose < patch-4.9.30-rt21.patch Hmm... Looks like a unified diff to me... can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/Documentation/sysrq.txt b/Documentation/sysrq.txt |index 3a3b30ac2a75..9e0745cafbd8 100644 |--- a/Documentation/sysrq.txt |+++ b/Documentation/sysrq.txt ------------------------ [15:58] that is the command + error [15:58] now [15:58] cking [15:58] knowhow, what is in the current directory? [15:59] the current directory is kernel [15:59] and in it is the patch uncompressed [15:59] ok, you need to cd into the kernel directory [15:59] and then run: patch -p1 --verbose < ../patch-4.9.30-rt21.patch [16:00] i am in the kernel directory [16:01] knowhow, what is in the kernel directory? [16:01] lots of folders and files [16:02] and my copied patch [16:03] knowhow, type: grep ^VERSION Makefile [16:03] from the main linux directory it says that cannot find the file...should i copy the patch back to the parent directory? [16:03] and then type: grep ^PATCHLEVEL Makefile [16:05] done [16:05] no errors [16:05] who do you see? [16:05] nothing just jumps to next row [16:05] type: pwd [16:07] knowhow, ^ [16:07] pwd gives where i am which is kernel folder [16:08] the two that cking gave me just do nothing they jump ok to n ext row...whitout errors [16:08] knowhow, then paste the output of pwd to give cking some clue [16:09] knowhow, the grep command should have found the kernel version and patch level numbers from the Makefile in the directory, the fact that it is not doing that means something is not right [16:10] yeah something was not right allright [16:11] probably the things musnt be done from the kernel directory but from the parent sorce directory [16:12] moving the patch back to the main directory from the kernel directory [16:12] when i am in the parent directory i get output from the two commands cking gave me [16:12] version is 4 paatchlevel is 9 cking [16:13] good. keep in that directory [16:13] from the parent directory and not the kernel one [16:13] the "parent directory" you refer to *IS* the source directory of the kernel, to confuse things, there is a directory inside that called "kernel" [16:14] but i have to move with sudo nautilus the uncompressed patch there now....i am not a terminal guy you know :| [16:15] I have no idea why your kernel source needs root permission to write to, where is it? what does pwd show? [16:15] is the 666. something megabytes directory after decompression of the thing i downloaded yesterday from your link [16:15] probably that 666 number does these things to me :))) [16:16] how did you extract it ... [16:16] i put it in home directory [16:16] apw..that is the best question [16:16] with archive manager but from sudo nautilus not the ...usual nautilus...terminal commands dont work for that by the way [16:17] some errors that have nothing to do with reality [16:17] (running nautilus with sudo is a bad idea) [16:17] after that from root nautilus i changed permissinos for the user me.... [16:18] knowing some command line foo is really a baseline to get a kernel patched, configured and built too [16:18] ricotz why?...the equation group will get me or something? [16:18] just create some folder inside *your* home-dir, uncompress with "tar xf kernel.tar.xz" [16:19] tar xf doesnt work...gives an error not being a bz2 format or something [16:19] knowhow, is messes with the root account settings and runs services which are not meant to be run like that [16:19] but i use it only to copy these things that do not work the usual way...after that i used normal nautilus [16:20] knowhow, make sure the package "xz-utils" is installed [16:20] it is [16:20] the formus blasted with that info [16:20] knowhow, but if you copy thing with nautilus running with sudo you get such permission problems [16:20] when sudo apt-get install ...it said it is allready there [16:20] ok [16:21] but from sudo nautilus i right click the folder...give all permissions to me and i done with it no? [16:22] cking, I don't want to hijack this [16:22] ricotz...by all means...i answered all the questions [16:23] if you have something usefull to say go right ahead...except the religious "linux god" dictatorship of course :)) [16:23] so...sudo nautilus i used to copy things where they should be [16:24] please figure this out on a normal user console without sudo/root [16:24] apw...if not using sudo nautilus for decompressing the xz archive ...it gives an error at the extraction ...says that "no symbol links" supported on destination [16:24] and i have an ext4 on the system drive [16:25] if using sudo nautilus the archive manager doesnt complain [16:25] after that i revert to normal nautilus...and normal terminal of course [16:25] knowhow, this really isn't the way it should be done, you are making more problems for yourself doing it via sudo'd nautilus [16:26] knowhow, the recipe for getting this done is as follows: [16:26] I suspect the only reason you need to use sudo nautilus is that you had previously done something with sudo nautilus there and so the containing directory is owned by root [16:29] cjwatson after the ubuntu install if you want to copy a single measily mp3 or some other file...from the stick....to the hdd....from the first hdd to second from the normal nautilus...you can't:| [16:29] Depends on the target directory, I imagine [16:30] it simply says something ...can't copy...can't move...and you start crying near the computer..... [16:30] I think you would do better if you left out the florid commentary [16:30] in home directory...music directory...thesame difference [16:31] And it's generally much more helpful to quote exact error messages (in a pastebin if they're large) rather than paraphrasing things vaguely. Even if the differences don't seem interesting or meaningful to you it might help whoever you're asking to help you. [16:32] if it's any help, I've just downloaded the kernel source + the RT patch, applied the patch and I'm building it right now on a server [16:33] cjwatson if i get this through....i am going to make a tutorial on youtube so no one goes EVER through the same ....chocolate....that i am going right now [16:33] even if it takes 10 episodes...with the time youtube give to newcomers [16:34] knowhow, I just wget'd the tarball + patch, uncompress'd and untar'd the kernel source, uncompressed and applied the patch, slapped in a reasonably close .config and kicked off a build, I 'll upload it once it's done [16:34] cking can you make it a deb file with all the dependencies needed for a OS fresh install too? [16:35] knowhow, the .deb will contain just the kernel + modules nothing more and nothing less [16:36] But on a fresh install you already have all the dependencies needed to install a kernel installed, since by definition if you can boot the thing then it has a kernel installed [16:36] cking i saw a kicad deb on mister reynaud2007 git....download it...no dice [16:36] Anyway, on recent versions of Ubuntu you can do "sudo apt install ./foo.deb" and it will fetch dependencies for you [16:37] nice [16:37] (assuming they're available in your apt sources) [16:37] after using lots of terminal commands...apt get magically installed it ...but with the need of internet of course...beacause of some dependencies that ubuntu didn't even bother to tell me about [16:38] cjwatson a deb file should normally have all the dependencies it needs...that is why it is a deb [16:38] It's not Ubuntu's fault if some third-party package fails to declare its dependencies properly [16:39] probably i will learn to do a deb package inthe future...and learn how to put the dependencies in too [16:39] (If it had declared them, the package manager would have told you about them) [16:39] cjwatson i know [16:40] oooh...so that means the uploader didnt do the deb right? [16:40] That seems quite likely [16:40] Depending on exactly what went wrong of course, since once again you've given an extremely vague description of the problem [16:40] (Not that a problem with a third-party kicad package would be especially relevant to #ubuntu-kernel of course) [16:40] but that means he wants the people not to be able to use the deb???...that is extremely naughty [16:41] More likely the uploader just made a mistake [16:41] Don't overdramatise [16:41] cjwatson of course [16:41] but it happens...and it is the human behind that is at fault [16:41] that is what i try to emphasize [16:42] You said "that ubuntu didn't even bother to tell me about" [16:43] yes beacause i didnt have the piece of info you gave about the declaration thing that some human developer should have bother putting in there [16:43] i am new in this darn it :))) [16:44] i am like an alien abductee...when he is in space :)) [16:44] Right. So slow down, stop blaming things that don't deserve blame and making cracks about religious dictatorships, and listen to people giving advice. [16:44] or god knows where [16:44] knowhow, I'm uploading a kernel for you right now with notes on how I built it [16:45] cjwatson.....i know..stop feeling it [16:45] cking....thanks...i will try to understand the notes [16:45] so i can share the knoledge to others [16:46] cking what behemoth of computer do you have? [16:46] knowhow, a fast one [16:47] beacause everything you do seems ftl tehnology [16:47] that laforge would be gelous [16:47] knowhow, we have a lot to do, so we do it fast and efficiently [16:47] how many cores? [16:48] or cpus? [16:49] so cking am i installing the deb file with the software center and it should add it to the grub list? [16:49] i supose you give me a deb right? [16:49] that includes the rt patch [16:49] right? [16:50] knowhow, and a README and a .config for this RT kernel config http://kernel.ubuntu.com/~cking/knowhow/ [16:50] wait a moment, I'm still uploading the debug deb [16:51] cking can the link from this server be shared....or after i download it you erase the file from server? [16:52] I will erase it once you download it all [16:53] cking be carefull i see that you applied patch for 4.9.30 to 4.9.32...will that be good? [16:53] i start downloading at 200 kb per second so it will be a while [16:54] cking after download ...which one do i install? [16:54] i have a core i 7 so amd64 it is...but you have 3 debs there [16:55] knowhow, it applied OK. Note I've not tested this nor do I support this. The notes in the README are sufficient to repeat the build [16:56] knowhow, 5 debs. just yse the firmware image, headers and linux-image deb. you can probably ignore the dbg image deb and libc dev [16:57] i also supplied the config file I used to build that RT kernel too - you need to copy it into the kernel source directory with the name ".config" [16:58] cking i only see 4 debs [16:59] knowhow, note this kernel does no have any of the Ubuntu kernel team "sauce" patches, bug fixes or CVE fixes, it is just a stock kernel with RT patches and no support [16:59] cking is it a stable one? [16:59] that is why i wanted 4.0.30 [16:59] yes it is a gregkh stable kernel [17:00] https://lwn.net/Articles/725370/ [17:00] came out a couple of days ago, so all shiney and new [17:02] cking...usualy bleeding edge means black screens and all that nasty stuff :))...but if you say it is declared stable ok....the patch is garanteed by the preempt rt team [17:02] shiney and new "fixes" [17:02] i am still donloading by the way [17:03] i need to pop away from the computer and cook some food for my family, I'll be back later [17:03] ok i saw the stable word in there :)) [17:03] stable is as good as it gets [17:03] ok bon appetit cking [17:03] cheerio [17:03] but i see 4 debs and you said are 5 [17:04] shold i refresh browser? [17:04] yes, refresh, I saw 5 [17:04] ok [17:06] yes i see the other one too now cjwatson but which one do i install first?...all of them are amd64 [17:07] I don't recall whether software-center lets you install multiple packages in one go [17:08] I'd download the set that cking recommended you install and just use the command line: sudo apt install ./linux-firmware-image-4.9.32-rt21_4.9.32-rt21-1_amd64.deb ./linux-headers-4.9.32-rt21_4.9.32-rt21-1_amd64.deb ./linux-image-4.9.32-rt21_4.9.32-rt21-1_amd64.deb [17:08] but the kernel is one...that is how the official low-latency one is [17:08] so which is which? [17:09] i see two linux-image things [17:09] linux-image is the kernel itself, but you need linux-headers if you might ever build third-party modules against it, and linux-firmware-image I don't know but if cking said you want it then you should probably take his word for it [17:09] you can run dpkg -I ./linux-firmware-image-4.9.32-rt21_4.9.32-rt21-1_amd64.deb (etc.) to see the package description [17:10] cking said that you can probably ignore linux-image-4.9.32-rt21-dbg_4.9.32-rt21-1_amd64.deb [17:11] i am downloading them for sure but which one should i use?...which one is a kernel...with the preempt rt patch included? [17:15] i downloaded everything...so what now? [17:15] ok dbg one ignored for now [17:17] I answered all of this above, so just re-read the last dozen lines or so ... [17:24] cjwatson that means i have to install everything except the dbg one but which on do i select fro boot after that? from grub customizer? [17:25] or it will only show a one new kernel with the rt letters? [17:25] and i can select that one [17:25] I would assume it would not be hard to find if it isn't automatically selected as the default. [17:25] what should i expect after installation? [17:26] i know beacause it is grub customizer i have installed...just tyo be able to revert to other kernels i have installed easily [17:28] I think you should just make a note of the version if you think you might not remember it. [17:29] so do i install them in the order you mention earlier cjwatson? [17:29] the packages [17:31] If you pass them all on a single command line as I recommended, the order doesn't matter. [17:32] apt will pick a suitable order that ensures dependencies are satisfied. [17:45] cjwatson it seems that they installed in one go it found some warnings about some intel chipset the forum said it would...it showed the other kernels i have installed the generic and low latency [17:45] and i will open grub customizer to see what horrors expect me :)) [17:49] seems that everything is in order [17:49] a normal an upstart..and some other thingy exactly as the other group [17:50] * cking back again [17:50] knowhow, so, all OK then [17:51] all ok i will restart soon just to see how it went...but i will probably have to do it again because....i havent understand a bob from what just happened :))) [17:52] i will restart and see if uname -a will show my new shiny ...with nemphasis on functional :)))...kernel booted :) [17:53] for now many thanks cking ...to you and to that super computer of yours [17:53] and cjwatson for the all in one install for the deb files [17:53] intel make some big beefy machines for sure [17:54] but expensive too [18:02] ladies and gentlemen including the people of the hour cking and cjwatson...i am writing this message from...an allmost realtime.... linux ubuntu instance running machine [18:02] good stuff [18:02] uname -a gives this [18:02] 4.9.32-rt21 #1 SMP PREEMPT RT Fri Jun 16 16:36:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [18:03] now i have to continue with the linuxcnc compilation against this kernel [18:04] i packed these things for safekeeping just in case someone else needs them [18:06] thank you again cking cjwatson apw and others...your atmost patience was not in vain [18:06] so thank you again...the open source sound card continues oncemore [18:10] cjwatson how do you grab libraries...or to better call them what they are....dependencies..... for future use on a pc not connected to internet? [18:12] i used check build deps so i know how to track them for a said source compiling need...but i only know how to get them with apt install command from repos [18:12] or..is there another irc channel that treats these things...so i do not other more than i should? [18:19] knowhow: sounds more like something for #ubuntu; but you could try the apt-offline package (disclaimer: I've never tried this myself), or if you ... bah === JanC is now known as Guest55726 === JanC_ is now known as JanC === henrix_ is now known as henrix === logan_ is now known as logan- === Guest22862 is now known as RAOF