Thread: I need help debugging this entire Linux Kernel I wrote myself in about 2 weeks to on

  1. #16
    Registered User Sir Galahad's Avatar
    Join Date
    Nov 2016
    Location
    The Round Table
    Posts
    277
    Quote Originally Posted by laserlight View Post
    I can assure you that plenty of trolls are US citizens, that members of the US military have no special protection against being trolls, and that your work has done nothing whatsoever to help the Linux or any other community. After all, they already have a kernel that works, whereas yours doesn't.
    ...said the troll.

  2. #17
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    1,733
    Quote Originally Posted by Sir Galahad View Post
    ...said the troll.
    Wow, so stating the facts is now trolling eh? Next you're going to call everyone in the world a troll for saying 1 plus 1 equals 2 XD

  3. #18
    Registered User Sir Galahad's Avatar
    Join Date
    Nov 2016
    Location
    The Round Table
    Posts
    277
    Quote Originally Posted by awsdert View Post
    Wow, so stating the facts is now trolling eh? Next you're going to call everyone in the world a troll for saying 1 plus 1 equals 2 XD
    When someone says things like "your work has done nothing whatsoever to help the Linux or any other community", it's just unnecessary. We can do better than that.

  4. #19
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Sir Galahad View Post
    When someone says things like "your work has done nothing whatsoever to help the Linux or any other community", it's just unnecessary. We can do better than that.
    LoneKernelWriter was asking for feedback, so I gave it.

    That's the truth: if you have not found out what a community needs because you haven't done the foundational work in finding that out, and then your work is itself grossly incomplete, then of course your work has no benefit to that community at all.

    It doesn't mean that such work is meaningless: maybe you're just scratching your own itch, and that's fine. In that case LoneKernelWriter should keep in mind what christop wrote in post #12, but there's no harm in keeping at it since it could be about the journey rather than the destination. However, there's no point fretting "if anything (LoneKernelWriter) did actually did anything to help the community": maybe some day it will, but certainly not yet.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #20
    Registered User Sir Galahad's Avatar
    Join Date
    Nov 2016
    Location
    The Round Table
    Posts
    277
    Quote Originally Posted by laserlight View Post
    LoneKernelWriter was asking for feedback, so I gave it.
    Well perhaps you could be a little more considerate in your responses then?

  6. #21
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Sir Galahad View Post
    Well perhaps you could be a little more considerate in your responses then?
    I'm still on the fence whether I was just feeding a troll, but point taken, and I note that you could be a little more considerate in your responses
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #22
    Registered User Sir Galahad's Avatar
    Join Date
    Nov 2016
    Location
    The Round Table
    Posts
    277
    Quote Originally Posted by laserlight View Post
    I'm still on the fence whether I was just feeding a troll, but point taken, and I note that you could be a little more considerate in your responses
    Well I can't argue with that. =]

    But seriously, thank you.

  8. #23
    Registered User
    Join Date
    Aug 2020
    Posts
    11
    Quote Originally Posted by Sir Galahad View Post
    ...said the troll.
    Said the troll to the person not really trolling. I assure you I at least wrote all this code by myself with the help of the book The Art of Linux Kernel Design because the actual code for even the Linux Kernel varies from distribution to distribution and I had no idea what it was. Besides what kind of kernel or whatever I was entering the code back into the computer with the help of the book uses the variable as actually stated being the word "bread". I mean come on not only did I enter all this into a computer to use g++ to compile and qemu to run it just to see what it would do myself, but it did actually take me about 2 weeks to a month in July and I had no other choice if I wanted to see not only how difficult it was for Linus Torvalds to at least enter all this code I have to figure out what the heck his code does that makes it so special or great that so many companies made so many seperate distributions that it was a pain to get most of them if not all of them just to see which ones are actually pretty decent or good enough to want to use instead of Microsoft Windows or Mac OS X. Anyway I'm sure you'll keep calling me a troll though, so whatever if your going to keep calling me that because I had to start from the bottom and work my way up instead of start from the top in the computer industry and either way I did my own work, even if I needed help from that book just to see his code and besides if I'm not mistaken Linus did make the Linux Kernel open source so that users could use it how they wanted to and I just wanted to see how he came up with the code from the closest experience possible regardless of if it's still Linus's work. I'm not wrong that if I knew how to fix this code that I entered that I would be able to write an Operating System am I and if I knew how to make a better Graphical User Interface than most Linux distributions that I would really be on to something as close to being as successful as Microsoft Windows or Mac OS X am I regardless if I'm not at that point yet. Many thanks to Linus though for writing or creating the healthiest continuation of UNIX though and providing us with an Open Source Kernel to help show people like me what a kernel can do and what other bare minimal programs are needed to create an Operating System regardless if I have a lot of debugging to do in order for it to actually be a successful cause in the process of duplicating his work the hard way all by myself. Thanks for nothing in quest for help.

  9. #24
    Registered User
    Join Date
    Aug 2020
    Posts
    11
    Quote Originally Posted by laserlight View Post
    LoneKernelWriter was asking for feedback, so I gave it.

    That's the truth: if you have not found out what a community needs because you haven't done the foundational work in finding that out, and then your work is itself grossly incomplete, then of course your work has no benefit to that community at all.

    It doesn't mean that such work is meaningless: maybe you're just scratching your own itch, and that's fine. In that case LoneKernelWriter should keep in mind what christop wrote in post #12, but there's no harm in keeping at it since it could be about the journey rather than the destination. However, there's no point fretting "if anything (LoneKernelWriter) did actually did anything to help the community": maybe some day it will, but certainly not yet.
    Thanks for at least your encouragement as this was as close as I'll ever be to being as great as people like Linus or Bill Gates in terms of Computer Science, even if I'm an Applied Computer Scientist.

  10. #25
    Registered User Sir Galahad's Avatar
    Join Date
    Nov 2016
    Location
    The Round Table
    Posts
    277
    I'm sensing an extreme level of irony here.

  11. #26
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    338

    Post

    won't happen in a thousand years.

    false...

    I need help debugging this entire Linux Kernel I wrote myself in about 2 weeks to on-one-jpg
    Last edited by Structure; 08-24-2020 at 07:55 AM.
    "without goto we would be wtf'd"

  12. #27
    Registered User
    Join Date
    May 2012
    Location
    Arizona, USA
    Posts
    948
    Quote Originally Posted by Structure View Post

    false...

    I need help debugging this entire Linux Kernel I wrote myself in about 2 weeks to on-one-jpg
    Wow! Did you manage to write a kernel with multitasking, multi-user, networking, portable to dozens of architectures, with support for thousands of device drivers and which can scale down to a wristwatch and up to a supercomputer the size of a room? That is where Linux stands.

    Thousands (something like 19,000) of programmers from many different companies (and independent programmers) have worked on Linux for decades. It currently contains over 27 million lines of well-tested (Coverity has called Linux the "benchmark of quality") and well-documented code. If anyone believes that they can develop something anywhere close to that by themselves then they'd only be fooling themselves. If you could sustain writing 450,000 lines of very good code per year (that's 1,726 lines per day, 5 days a week), then in about 60 years you could maybe get close to where Linux is today. But, of course, in 60 years Linux will be far ahead of where it is now.

    In contrast, the kernel in UNIX V6 was only 10,000 lines of code, which can be implemented by a single developer in a few years. It was a decent system at the time (it was multitasking and multi-user), but it supported only about a dozen different types of devices, only one architecture, etc., not to mention it lacked networking because that wasn't really a thing then, besides experimental networks like ARPANET.

  13. #28
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Structure View Post

    false...

    I need help debugging this entire Linux Kernel I wrote myself in about 2 weeks to on-one-jpg
    Come on, Structure, you must have missed the "getting a kernel working at anywhere near the level of Linux (or Free/Net/Open BSD) by yourself" part, especially since all you did was show a command shell (with so few available commands) with no explanation (as usual).
    Last edited by laserlight; 08-24-2020 at 06:48 PM.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  14. #29
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    338

    Thumbs up

    all you did was show a command shell
    I'm saying it can be done.

    Its also a great way to learn more about how the computer works.
    Last edited by Structure; 08-25-2020 at 01:51 AM.
    "without goto we would be wtf'd"

  15. #30
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    338
    Consider the fact that people make them a lot more often than you think...
    Projects - OSDev Wiki
    "without goto we would be wtf'd"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux kernel
    By Annonymous in forum Linux Programming
    Replies: 15
    Last Post: 11-09-2011, 12:26 PM
  2. Linux kernel programming
    By Gnakul in forum Linux Programming
    Replies: 1
    Last Post: 10-21-2011, 07:38 AM
  3. debugging a kernel
    By kiros88 in forum C Programming
    Replies: 1
    Last Post: 04-02-2010, 03:18 PM
  4. Replies: 1
    Last Post: 01-28-2006, 09:34 AM
  5. linux kernel 2.5
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-31-2002, 11:17 PM

Tags for this Thread