[15:38] <knowhow> hello again
[15:39] <knowhow> cking
[15:39] <cking> knowhow, hi 
[15:39] <knowhow> i had to decompress the tar xz in root...you could have give a gz link you know :))
[15:40] <cking> xz takes less time to uncompress
[15:40] <cking> I mean download
[15:41] <knowhow> the patch also needs to be uncopressed it seems and has to be in the kernel folder...literaly the kernel folder
[15:41] <cking> well, to make it easier you can do that
[15:43] <knowhow> 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] <knowhow> how long does a patch needs to be applied?
[15:44] <knowhow> it is allready 5 minutes
[15:44] <cking> try: patch -p1 --verbose < ../patch-4.9.30-rt21.patch
[15:44] <cking> hit control-C to stop what you have running and use the above ^
[15:45] <knowhow> and --verbose should have give me more than a terminal rectagular prompt shouldn't havewith the < ?
[15:45] <knowhow> didn't see that in instructios
[15:46] <knowhow> cking ? did ommision of the < screwd things up?
[15:47] <cking> knowhow, without the < the patch command was just trying to pull in a patch from standard input rather than the file
[15:47] <cking> I suspect it is OK
[15:48] <knowhow> well...i still see a prompter with nothing else...should i stop it and use the <   ? or let it a little more ?
[15:49] <knowhow>  my concern is that -- verbose parameter should have said more than he rectagular white prompter flashing no?
[15:49] <knowhow> which i still see
[15:50] <knowhow> and i have an 8 core i7 darn it :))
[15:50] <knowhow> well..four real ones anyway :|
[15:51] <knowhow> cking ? i applyed the command from the kernel directory where i copied the patch also
[15:52] <knowhow> but the copy i did it with sudo nautilus
[15:52] <sforshee> 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] <knowhow> doing it now
[15:52] <cking> yep, hit control-C now, and run patch -p1 --verbose < ../patch-4.9.30-rt21.patch
[15:53] <cking> the "prompter" is called a cursor
[15:54] <knowhow> no such file or directory and i see it there with my own eyes :|
[15:54] <cking> oh, it may be in the current directory, so try: patch -p1 --verbose < patch-4.9.30-rt21.patch
[15:54] <knowhow> should i do it with sudo ?
[15:55] <knowhow> you are absolutely right it is in current directory....damn you grammar :)))
[15:56] <knowhow> pardon me it s syntax :))
[15:58] <knowhow> 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] <knowhow> that is the command + error
[15:58] <knowhow> now
[15:58] <knowhow> cking
[15:58] <cking> knowhow, what is in the current directory?
[15:59] <knowhow> the current directory is kernel
[15:59] <knowhow> and in it is the patch uncompressed
[15:59] <cking> ok, you need to cd into the kernel directory
[15:59] <cking> and then run:  patch -p1 --verbose < ../patch-4.9.30-rt21.patch
[16:00] <knowhow> i am in the kernel directory
[16:01] <cking> knowhow, what is in the kernel directory?
[16:01] <knowhow> lots of folders and files
[16:02] <knowhow> and my copied patch
[16:03] <cking> knowhow, type: grep ^VERSION Makefile
[16:03] <knowhow> from the main linux directory it says that cannot find the file...should i copy the patch back to the parent directory?
[16:03] <cking> and then type: grep ^PATCHLEVEL Makefile
[16:05] <knowhow> done
[16:05] <knowhow> no errors
[16:05] <cking> who do you see?
[16:05] <knowhow> nothing just jumps to next row
[16:05] <ricotz> type: pwd
[16:07] <cking> knowhow, ^
[16:07] <knowhow> pwd gives where i am which is kernel folder
[16:08] <knowhow> the two that cking gave me just do nothing they jump ok to n ext row...whitout errors
[16:08] <ricotz> knowhow, then paste the output of pwd to give cking some clue
[16:09] <cking> 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] <knowhow> yeah something was not right allright
[16:11] <knowhow> probably the things musnt be done from the kernel directory but from the parent sorce directory
[16:12] <knowhow> moving the patch  back to the main directory from the kernel directory
[16:12] <knowhow> when i am in the parent directory i get output from the two commands cking gave me
[16:12] <knowhow> version is 4 paatchlevel is 9 cking
[16:13] <cking> good. keep in that directory
[16:13] <knowhow> from the parent directory and not the kernel one
[16:13] <cking> 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] <knowhow> but i have to move with sudo nautilus the uncompressed patch there now....i am not a terminal guy you know :|
[16:15] <cking> I have no idea why your kernel source needs root permission to write to, where is it? what does pwd show?
[16:15] <knowhow> is the 666. something megabytes directory after decompression of the thing i downloaded yesterday from your link
[16:15] <knowhow> probably that 666 number does these things to me :)))
[16:16] <apw> how did you extract it ...
[16:16] <knowhow> i put it in home directory
[16:16] <knowhow> apw..that is the best question
[16:16] <knowhow> with archive manager but from sudo nautilus not the ...usual nautilus...terminal commands dont work for that by the way
[16:17] <knowhow> some errors that have nothing to do with reality
[16:17] <ricotz> (running nautilus with sudo is a bad idea)
[16:17] <knowhow> after that from root nautilus i changed permissinos for the user me....
[16:18] <cking> knowing some command line foo is really a baseline to get a kernel patched, configured and built too
[16:18] <knowhow> ricotz why?...the equation group will get me or something?
[16:18] <ricotz> just create some folder inside *your* home-dir, uncompress with "tar xf kernel.tar.xz"
[16:19] <knowhow> tar xf doesnt work...gives an error not being a bz2 format or something
[16:19] <ricotz> knowhow, is messes with the root account settings and runs services which are not meant to be run like that
[16:19] <knowhow> but i use it only to copy these things that do not work the usual way...after that i used normal nautilus
[16:20] <ricotz> knowhow, make sure the package "xz-utils" is installed
[16:20] <knowhow> it is
[16:20] <knowhow> the formus blasted with that info
[16:20] <ricotz> knowhow, but if you copy thing with nautilus running with sudo you get such permission problems
[16:20] <knowhow> when sudo apt-get install ...it said it is allready there
[16:20] <ricotz> ok
[16:21] <knowhow> but from sudo nautilus i right click the folder...give all permissions to me and i done with it no?
[16:22] <ricotz> cking, I don't want to hijack this
[16:22] <knowhow> ricotz...by all means...i answered all the questions
[16:23] <knowhow> if you have something usefull to say go right ahead...except the religious "linux god" dictatorship of course :))
[16:23] <knowhow> so...sudo nautilus i used to copy things where they should be
[16:24] <ricotz> please figure this out on a normal user console without sudo/root
[16:24] <knowhow> 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] <knowhow> and i have an ext4 on the system drive
[16:25] <knowhow> if using sudo nautilus the archive manager doesnt complain
[16:25] <knowhow> after that i revert to normal nautilus...and normal terminal of course
[16:25] <cking> 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] <cking> knowhow, the recipe for getting this done is as follows:
[16:26] <cjwatson> 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] <knowhow> 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] <cjwatson> Depends on the target directory, I imagine
[16:30] <knowhow> it simply says something ...can't copy...can't move...and you start crying near the computer.....
[16:30] <cjwatson> I think you would do better if you left out the florid commentary
[16:30] <knowhow> in home directory...music directory...thesame difference
[16:31] <cjwatson> 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] <cking> 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] <knowhow> 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] <knowhow> even if it takes 10 episodes...with the time youtube give to  newcomers
[16:34] <cking> 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] <knowhow> cking can you make it a deb file with all the dependencies needed for a OS fresh install too?
[16:35] <cking> knowhow, the .deb will contain just the kernel + modules nothing more and nothing less
[16:36] <cjwatson> 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] <knowhow> cking i saw a kicad deb on mister reynaud2007 git....download it...no dice
[16:36] <cjwatson> Anyway, on recent versions of Ubuntu you can do "sudo apt install ./foo.deb" and it will fetch dependencies for you
[16:37] <cking> nice
[16:37] <cjwatson> (assuming they're available in your apt sources)
[16:37] <knowhow> 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] <knowhow> cjwatson a deb file should normally have all the dependencies it needs...that is why it is a deb
[16:38] <cjwatson> It's not Ubuntu's fault if some third-party package fails to declare its dependencies properly
[16:39] <knowhow> probably i will learn to do a deb package inthe future...and learn how to put the dependencies in too
[16:39] <cjwatson> (If it had declared them, the package manager would have told you about them)
[16:39] <knowhow> cjwatson i know
[16:40] <knowhow> oooh...so that means the uploader didnt do the deb right?
[16:40] <cjwatson> That seems quite likely
[16:40] <cjwatson> Depending on exactly what went wrong of course, since once again you've given an extremely vague description of the problem
[16:40] <cjwatson> (Not that a problem with a third-party kicad package would be especially relevant to #ubuntu-kernel of course)
[16:40] <knowhow> but that means he wants the people not to be able to use the deb???...that is extremely naughty
[16:41] <cjwatson> More likely the uploader just made a mistake
[16:41] <cjwatson> Don't overdramatise
[16:41] <knowhow> cjwatson of course
[16:41] <knowhow> but it happens...and it is the human behind that is at fault
[16:41] <knowhow> that is what i try to emphasize
[16:42] <cjwatson> You said "that ubuntu didn't even bother to tell me about"
[16:43] <knowhow> 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] <knowhow> i am new in this darn it :)))
[16:44] <knowhow> i am like an alien abductee...when he is in space :))
[16:44] <cjwatson> 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] <knowhow> or god knows where
[16:44] <cking> knowhow, I'm uploading a kernel for you right now with notes on how I built it
[16:45] <knowhow> cjwatson.....i know..stop feeling it
[16:45] <knowhow> cking....thanks...i will try to understand the notes
[16:45] <knowhow> so i can share the knoledge to others
[16:46] <knowhow> cking what behemoth of computer do you have?
[16:46] <cking> knowhow, a fast one
[16:47] <knowhow> beacause everything you do seems ftl tehnology
[16:47] <knowhow> that laforge would be gelous
[16:47] <cking> knowhow, we have a lot to do, so we do it fast and efficiently
[16:47] <knowhow> how many cores?
[16:48] <knowhow> or cpus?
[16:49] <knowhow> so cking am i installing the deb file with the software center and it should add it to the grub list?
[16:49] <knowhow> i supose you give me a deb right?
[16:49] <knowhow> that includes the rt patch
[16:49] <knowhow> right?
[16:50] <cking> knowhow, and a README and a .config for this RT kernel config http://kernel.ubuntu.com/~cking/knowhow/
[16:50] <cking> wait a moment, I'm still uploading the debug deb
[16:51] <knowhow> cking can the link from this server be shared....or after i download it you erase the file from server?
[16:52] <cking> I will erase it once you download it all
[16:53] <knowhow> cking be carefull i see that you applied patch for 4.9.30 to 4.9.32...will that be good?
[16:53] <knowhow> i start downloading at 200 kb per second so it will be a while
[16:54] <knowhow> cking after download ...which one do i install?
[16:54] <knowhow> i have a core i 7 so amd64 it is...but you have 3 debs there
[16:55] <cking> 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] <cking> 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] <cking> 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] <knowhow> cking i only see 4 debs
[16:59] <cking> 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] <knowhow> cking is it a stable one?
[16:59] <knowhow> that is why i wanted 4.0.30
[16:59] <cking> yes it is a gregkh stable kernel
[17:00] <cking> https://lwn.net/Articles/725370/
[17:00] <cking> came out a couple of days ago, so all shiney and new
[17:02] <knowhow> 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] <cking> shiney and new "fixes" 
[17:02] <knowhow> i am still donloading by the way
[17:03] <cking> i need to pop away from the computer and cook some food for my family, I'll be back later
[17:03] <knowhow> ok i saw the stable word in there :))
[17:03] <cking> stable is as good as it gets
[17:03] <knowhow> ok bon appetit cking
[17:03] <cking> cheerio
[17:03] <knowhow> but i see 4 debs and you said are 5 
[17:04] <knowhow> shold i refresh browser?
[17:04] <cjwatson> yes, refresh, I saw 5
[17:04] <knowhow> ok
[17:06] <knowhow> yes i see the other one too now cjwatson but which one do i install first?...all of them are amd64
[17:07] <cjwatson> I don't recall whether software-center lets you install multiple packages in one go
[17:08] <cjwatson> 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] <knowhow> but the kernel is one...that is how the official low-latency one is
[17:08] <knowhow> so which is which?
[17:09] <knowhow> i see two linux-image things
[17:09] <cjwatson> 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] <cjwatson> 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] <cjwatson> cking said that you can probably ignore linux-image-4.9.32-rt21-dbg_4.9.32-rt21-1_amd64.deb
[17:11] <knowhow> 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] <knowhow> i downloaded everything...so what now?
[17:15] <knowhow> ok dbg one ignored for now
[17:17] <cjwatson> I answered all of this above, so just re-read the last dozen lines or so ...
[17:24] <knowhow> 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] <knowhow> or it will only show a one new kernel with the rt letters?
[17:25] <knowhow> and i can select that one
[17:25] <cjwatson> I would assume it would not be hard to find if it isn't automatically selected as the default.
[17:25] <knowhow> what should i expect after installation?
[17:26] <knowhow> 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] <cjwatson> I think you should just make a note of the version if you think you might not remember it.
[17:29] <knowhow> so do i install them in the order you mention earlier cjwatson?
[17:29] <knowhow> the packages
[17:31] <cjwatson> If you pass them all on a single command line as I recommended, the order doesn't matter.
[17:32] <cjwatson> apt will pick a suitable order that ensures dependencies are satisfied.
[17:45] <knowhow> 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] <knowhow> and i will open grub customizer to see what horrors expect me :))
[17:49] <knowhow> seems that everything is in order
[17:49] <knowhow> a normal an upstart..and some other thingy exactly as the other group
[17:50]  * cking back again
[17:50] <cking> knowhow, so, all OK then
[17:51] <knowhow> 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] <knowhow> i will restart and see if uname -a will show my new shiny ...with nemphasis on functional :)))...kernel booted :)
[17:53] <knowhow> for now many thanks cking ...to you and to that super computer of yours
[17:53] <knowhow> and cjwatson for the all in one install for the deb files
[17:53] <cking> intel make some big beefy machines for sure
[17:54] <knowhow> but expensive too
[18:02] <knowhow> 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] <cjwatson> good stuff
[18:02] <knowhow> uname -a gives this
[18:02] <knowhow> 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] <knowhow> now i have to continue with the linuxcnc compilation against this kernel
[18:04] <knowhow> i packed these things for safekeeping just in case someone else needs them
[18:06] <knowhow> thank you again cking cjwatson apw and others...your atmost patience was not in vain 
[18:06] <knowhow> so thank you again...the open source sound card continues oncemore
[18:10] <knowhow> 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] <knowhow> 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] <knowhow> or..is there another irc channel that treats these things...so i do not other more than i should?
[18:19] <cjwatson> 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