LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-31-2022, 12:02 PM   #31
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382

Thanks!!! I will be satisfied with that as my only PPA. Is it already in some default sources file? I haven't found any of the package install commands yet. I did go there in a search for sysdig found 0.28.0 This seems to be the current: https://github.com/draios/sysdig/releases

I'm guessing one of those two versions would build and run okay on my system. Note that it's a 2005, upgraded to 1 gig ram, with a maximum of two GB ram. I managed to make a all-no-config / tiny config kernel! I tried changing everything else to No. It built a bz image which tried to boot but of course without any drivers whatsoever, it couldn't find anything including a disc keyboard nor display, lol

I don't know if HDMI had been invented in 2005!!! I'll try to dig some more into the configuration you mentioned. As I mentioned, it only gives me a choice of headphones, and nothing comes out the headphone jack. Even though I can see the jumping audio bar graph line thing. I run xfce, which I learned (minimally and simplistically since I'm not interested in GUI) using MX.

I think I need to spend some time reading the sbo howto now/next.

I'll post when I get myself motivated. Thanks again.

P. S. I DO like doing everything manually myself, so I know exactly what's happening and why and how!!! Once I figure it out, then I can add it to my #17, making it a 10-second slackware how to LOL

P. P. S. Any recommendations for the most minimal memory using browser that will fully work with LQ?

Last edited by !!!; 07-31-2022 at 12:12 PM.
 
Old 07-31-2022, 06:28 PM   #32
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,787

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Quote:
Originally Posted by !!! View Post
I haven't found any of the package install commands yet.
The Slackbuild executable is the foo.Slackbuild script. It is a recipe to build the source against the existing system. Because it is a human-readable script it can be modified locally to suit needs or mere curiosity. One example would be source version for attempts at newer versions.

Quote:
Originally Posted by !!! View Post
I'm guessing one of those two versions would build and run okay on my system. Note that it's a 2005, upgraded to 1 gig ram, with a maximum of two GB ram. I managed to make a all-no-config / tiny config kernel! I tried changing everything else to No. It built a bz image which tried to boot but of course without any drivers whatsoever, it couldn't find anything including a disc keyboard nor display, lol
Any that will successfully build should run just fine. The logging output is extremely detailed and useful for any troubleshooting. Please forgive me for forgetting you are using older laptops. I only rarely use any laptop but the one I do use is circa ~2007 IIRC (T61P Thinkpad) which runs great but does not have HDMI either, or didn't until I bought a dongle adapter that has HDMI and does 1080p.

You likely realize this but then again I don't understand if you do why you would try to build such a minimalistic kernel. Ever since on-demand loading modules the size of the kernel is of minimal consequence and this is from a guy who (somewhat fondly) recalls working for days to build a kernel less than 1.44MB !


Quote:
Originally Posted by !!! View Post
I'll try to dig some more into the configuration you mentioned. As I mentioned, it only gives me a choice of headphones, and nothing comes out the headphone jack. Even though I can see the jumping audio bar graph line thing. I run xfce, which I learned (minimally and simplistically since I'm not interested in GUI) using MX.
Suit yourself and I, too, prefer CLI but FOR SOME JOBS. There are some other jobs that are more efficiently accomplished in a GUI. If you look at any NAS system which are basically designed to be headless servers, they still most commonly use a basic GUI for Administration, albeit from client side via a browser. It sdtill points up the values possible in GUI visual organization. It does exist and choosing to never use one is a limitation on one's toolbox in my view.... ie "The right tool for the right job"


Quote:
Originally Posted by !!! View Post
P. P. S. Any recommendations for the most minimal memory using browser that will fully work with LQ?
I've not had problems using even Firefox with many open tabs on RAM constrained systems, even on a RockPro64, but someone else has mentioned "surf" from suckless.org as a usable browser of very low requirements.

EDIT: BTW don't be fooled by the resulting (and deserved) FUD from back in the day of initial release of KDE 4x. By default modern KDE Plasma5 does not use but a few percentage more resources than Xfce and it can easily be adjusted to LESS resources than default Xfce. There is valid reason why Xfce devs include checkboxes to load either or both KDE and Gnome support upon launch. They have some extremely useful tools.

Bloat is entirely subjective.

Last edited by enorbet; 07-31-2022 at 06:36 PM.
 
Old 08-04-2022, 11:43 AM   #33
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
I've also given up on SBO in addition to audio, for now. What want to do now is learn all about building a kernel. As I said: I did do it once many years ago. Plus now I have a student who could use very very simplistic instructions on building a kernel (I have to text everything to her!!!). I like that It boots into run level 3, because I hate doing GUI. I did try to make something but I went down the rabbit hole and got lost diffing files and trying to understand every one of the half a billion lines of whatever. So if anybody could give me maybe a link to just one two three steps that I should do rather than trying every conceivable trillions of zillions of things I could possibly do. Thanks!!! I know this is kind of like begging for someone to tell me how, but I'm so far down the rabbit hole I can't see anything. Also I apologize for Google doing the speech input to text for me, and not taking the time to go back and correct it which takes a long long time

Last edited by !!!; 08-04-2022 at 11:56 AM. Reason: I am gradually correcting Google's speech typos
 
Old 08-04-2022, 01:18 PM   #34
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,787

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
While I'm perfectly happy with "make menuconfig" there are very serious learning advantages to "make xconfig". I've not had good luck (probably from my lack of understanding of how it works) but "make oldconfig" is a great starting point. Once you have a basic new .config in /usr/src/linux you are certain will boot and work just like it then did to get you there, all you need do is to begin paring down, often from HUGE if you don't like initrd or Generic if you do. Here's where "make xconfig" helps so much.

You can see main category header plus options, plus help all in one view. If all you do is follow the "Unless you know you need this it's safe to say No" quips, you can pare down a great deal just with that. The explanations visible at one glance will tyeach you a very decent starting point of what you need and what you don't.

If you are so stuck on CLI you don't mind constant keystrokes back and forth to see Help entries, have at it, but please do recognize while CLI is the most powerful GUI does have a niche of effectiveness CLI can't match for those few instances. This is one of those.
 
1 members found this post helpful.
Old 08-04-2022, 01:56 PM   #35
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Will any of the Five results from this web search give me the cookbook command lines?:
https://usa1lib.org/fulltext/%20make...ons%5B0%5D=pdf
I went to print out Hackers Manual 2022, eight pages per sheet, at my apartment complex's business office, but Cisco Umbrella blocks z-lib.org (block.opendns.com) as Illegal Downloads!!! (I've always wondered if the existence of public libraries should be blocked)


TL;dr but I think you said I should type: (I think I did: make Mr.Proper, but then I went down the rabbit hole of trying to figure out what got changed by doing that: I think I made a .tgz backup of the whole linux subdir, then tried to diff it with the result of Mr proper. I forgot the termbin.com link where I posted it...)

init 4 # obvious; from #17, may already have been done
Code:
make xconfig # in /usr/src/linux dir
The book Linux kernel Programming has a long section on this, pages 66-172
P. S. Beware and excuse the following crazy joke:
I tried copying and pasting #34 verbatim into my root bash shell prompt, and just got like a million strange syntax errors!!! .... No, I didn't really LOL.... but my ADHDbrain does prefer short Unix CLI!!!

More sick humor, a few hours later. I turn on the laptop for my victim student, and tell her to login as root (no password. Now I got to figure out how to get slackware to Auto login, so I don't have to explain the concept of a user, which a smartphone basically doesn't have, except for Google)

but I didn't notice grub and it came up in MX-21.1 386. Now she has no idea what to do with the GUI, and I have no interest in teaching her!!! I'll figure out how to change the default in grub, which is a very basic FAQ (so don't waste your time looking it up for me LOL)

Edit, added long after #37
She actually has no interest in learning, and also has totally disappeared. The idea was to give her very short cookbook things like in #17 to do to
'build a kernel', then install it and reboot successfully. Above is one line of code, which is all I figured out so far, but I haven't even tried because I don't know what to do next! Again, the idea is: something I would point to and tell her to type!!!
Per #17:
Quote:
Here I will start writing my "Max one minute (for the impatient) how to do slackware" <1 tiny page 'book'!!!
See, the mods should have never taken this out of General. Sorry slackware people.

Last edited by !!!; 08-15-2022 at 12:38 AM.
 
Old 08-05-2022, 12:24 AM   #36
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,787

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
This is pretty good for Linux Kernel Builds ...

https://blog.paranoidpenguin.net/201...ackware-linux/

Those commands will work in either runlevel 3 or runlevel 4. If you wish to try "make xconfig" that must be done from X, a GUI. That was part of my point of different tools have different specific values at specific different jobs and crescent wrenches generally suck and pliers suck at tightening or loosening bolts, but are great for crushing and holding hot things.

You can use any WM/DE, i3, Tilix, Ratpoison, Blackbox, Fluxbox, Enlightenment, Xfce, KDE... whatever, but logged in as root. I recommend turning off networking when in WM/DE as root, but most other concerns are just silly for anyone familiar with root power/responsibility.
 
2 members found this post helpful.
Old 08-05-2022, 03:45 AM   #37
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 980

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by !!! View Post
so I don't have to explain the concept of a user, which a smartphone basically doesn't have
Just out of curiosity, who wants to learn how to compile a kernel but does not want to learn about the concept of users? Below the surface even Android smartphones have ordinary users as well as the root user. Some phones need to get "rooted" to give the user access to the root account.

My guess it that the willingness to compile a custom kernel comes from the need to run a specific configuration, version or patched kernel. But all those needs are far beyond the complexity of the concepts of different users, groups and access rights in a unix system.

Compiling a kernel is not much harder than compiling any userspace program. The tricky parts are the configuration of the kernel, the installation of the kernel with some boot loader and the installation of the modules. With a slimmed down kernel you will also need an initrd.

regards Henrik
 
Old 08-05-2022, 09:02 AM   #38
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,614
Blog Entries: 19

Rep: Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460
Quote:
Originally Posted by henca View Post
With a slimmed down kernel you will also need an initrd.
Not necessarily. It depends on what you mean by a "slimmed down kernel". If you mean a small core and everything else built as modules then yes, you will need an initrd to get your disk and filesystem driver modules loaded. That's how most distro kernels are designed to work. But if you are building your own private kernel locally, you can build in your disk drivers while not building even as modules anything you don't intend to use. Result: a small slim kernel that boots without an intrd.

Last edited by hazel; 08-05-2022 at 09:03 AM.
 
2 members found this post helpful.
Old 08-10-2022, 03:00 PM   #39
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Mostly just rambling about what's happening, sorry

http://termbin.com lsblk;du -sh /mnt

Slackware is absolutely amazing!
I love it, almost as much as MLL!!!
It boots up in less than a minute!!! And that is on this old satellite, with only 3,192 BogoMIPS. I don't ?seem? to have an initrd!!! (And this was just a straightforward brain-dead install!) Maybe that's why it's so fast. I've always absolutely hated initrd, because it takes so long to build every time there's a kernel update (deb-based is all I used, before Slackware, plus a tiny bit of RPM), and seems to drastically slow down the boot process. Evil damn piece of junk, LoL (See #38)

Duh: I did not need to type in all this stuff on my Android welfare Lifeline Obama phone!!!
All I needed to do is type: `init 4` and my beautiful slacker system has a web browser! Duh!!!

@#37 henca: I answered your question with an edit added to #35!!! (because the context is there, not here. Sorry all: this thread is my mess)


Now I need to find the old XP sp2 Infowars install CD.... (to fix sd{b,c}1 SW_preload(huh? What's that? On /mnt) to boot XP!!! OR learn grub, LoL

https://www.linuxquestions.org/quest...-a-4175715562/

Last edited by !!!; 08-10-2022 at 10:18 PM.
 
Old 08-11-2022, 05:29 AM   #40
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,614
Blog Entries: 19

Rep: Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460Reputation: 4460
Yes, Slackware is pretty amazing. btw it has two standard kernels called generic and huge. huge is the installation kernel and it has everything built in; if you can boot your system without an initrd, you must be using the huge kernel. The generic kernel is like a traditional distro kernel which needs an initrd. Patrick doesn't provide one but he does provide an excellent script for generating one that will contain precisely the drivers you need and no junk.
 
1 members found this post helpful.
Old 08-11-2022, 06:20 AM   #41
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
This thing's way off the rails here because:

1. There's no problem or question in the title, and multiple different questions under the non-relevant title.
2. It's been bumped on top of the forum for almost a month, with no specific problem or solution in sight.
3. It'll never get [SOLVED] and continue to get bumped on top of the forum until locked.

Where installation problems are supposed to be: > https://www.linuxquestions.org/quest...stallation-40/
Where BLOGS are supposed to be: > https://www.linuxquestions.org/questions/blog/

Respect for the elderly and all that, but could you please not spam the bug report forum?
 
2 members found this post helpful.
Old 08-11-2022, 02:16 PM   #42
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Original Poster
Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
There's no bug report here. This is like a discussion, like the religion or politics General threat.

Actually, I see NOW that it should have been a Blog, but then no one would have read it. I've been learning a lot of useful things here.

Blame the moderator who moved this out of General(junk) where I initially posted it.
(Conspiracy theory: Maybe that Mod is a slackware hater, who wanted to trash the slackware forum!!!)

Quote:
(from #35 Per #17:
Quote:
Here I will start writing my "Max one minute (for the impatient) how to do slackware" <1 tiny page 'book'!!!
See, the mods should have never taken this out of General. Sorry slackware people.
** this thread is dead.
** do NOT post in it anymore.
(unless it gets put back into General)

IF I figure out the few simple steps to rebuild any / same working kernel (within a couple weeks before the edit window closes),
I will edit them into the code Block in #35 (NO new post!!!)


Final Update (long after the wisdom in #43, that I have truly taken to Heart): the edit window on #35 has closed, so that's the end of my dreams of writing a quarter page slackware 'complete manual', begun in #17

Last edited by !!!; 08-22-2022 at 05:21 PM.
 
Old 08-11-2022, 06:41 PM   #43
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by !!! View Post
There's no bug report here. This is like a discussion, like the religion or politics General threat.

Actually, I see NOW that it should have been a Blog, but then no one would have read it. I've been learning a lot of useful things here.

Blame the moderator who moved this out of General(junk) where I initially posted it.
(Conspiracy theory: Maybe that Mod is a slackware hater, who wanted to trash the slackware forum!!!)



** this thread is dead.
** do NOT post in it anymore.
(unless it gets put back into General)

IF I figure out the few simple steps to rebuild any / same working kernel (within a couple weeks before the edit window closes),
I will edit them into the code Block in #35 (NO new post!!!)
  1. I don't know who moved it, but it was rightly moved because it contains a ton of Slackware technical topics. Fairly sure I'm one person who reported it, recommending it to be moved, obviously a mod for the General forum agreed.
  2. The title is a confusing, run-on sentence. You should know better.
  3. Subjects changed numerous times, by you.
  4. The thread has been kept alive by you reawakening it after it has been left alone a few times.
  5. You write do not post to it, with two caveats, one of which relates to a technical, Slackware task.
  6. It is inappropriate of you to accuse a mod of having an agenda.

Suggest you take the time to review the following links and understand better how to more effectively post a forum thread where it can be effective:
Welcome to LQ FAQ
How to ask technical questions to get quality answers link from the Welcome to LQ page
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with wireless drivers for toshiba satellite m115-s3094 Captain Zombiee Linux - Newbie 2 02-26-2013 11:30 AM
mageia not detecting sound card on toshiba satellite m115 lethe9 Linux - Laptop and Netbook 4 10-08-2011 11:14 AM
Missing dependency or what? wlan0 with Slackware 12 on Toshiba Satellite M115-S3094 ShellyCat Linux - Laptop and Netbook 16 07-07-2010 01:37 AM
TOSHIBA M115-S3094 --- tried most live distros (livecd) but.... wifi... moving2linux Linux - Laptop and Netbook 10 03-21-2008 05:55 AM
Painstakingly slow HD tofm Linux - Hardware 20 03-11-2007 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration