What would you use if Porteus was not available?
Re: What would you use if Porteus was not available?
@Tonio, I see that you explained what's happening, but my question was about why it happens, especially considering how Windows works (does any one know about MacOS X?).
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: What would you use if Porteus was not available?
^ Have a suspicion it's to do with the linking. That the relative addresses of kernel functions would always vary from one kernel to the next. Then if driver called a function at relative address x for kernel a, the function would in kernel b not necessarily be at x, but be at y. Assuming the kernel module's external references would be given as relative addresses within the kernel, could be one explanation. Not quite sure if this type of linking scheme is followed for kernels and drivers in Linux.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- Tonio
- Contributor
- Posts: 276
- Joined: 28 Dec 2010, 16:37
- Distribution: Slackware,porteus,FreeBSD,Slax
- Location: 127.0.0.1
Re: What would you use if Porteus was not available?
You have asked a great question! Say you are running kernel 4.9.26, but all of a sudden you get a newer kernel 4.9.27. It is a newer kernel, it may have been compiled with glibc, and gcc the same as previous kernel 4.9.26. The drivers would be at /lib/modules/4.9.26/ vs the other ones at /lib/modules/4.9.27/, when you boot the 4.9.27 kernel, the nvidia.ko, ati.ko, or whichever driver must be there, otherwise an error/mistake/kernel panic will occur.fulalas wrote:@Tonio, I see that you explained what's happening, but my question was about why it happens, especially considering how Windows works (does any one know about MacOS X?).
A good example from experience is a modem driver called slamr.ko, and ungrab-winmodem.ko, as built using a pbuild script that lives in the howtos here, the driver is built against a running kernel, I tried to get dkms working, but did not truly succeed
![Sad :(](./images/smilies/sad.gif)
http://www.porteus.org/component/conte ... dems.html
Even the powerful windowsOS is not free from problems after updates
https://answers.microsoft.com/en-us/win ... 5b7ba2eea0
Cheers!
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: What would you use if Porteus was not available?
No it certainly is not. Last night I found I couldn't hold off on the creators update any more. I need to do some work. I turn on my computer and am told I must wait (and it will take SOME time) which turned out to be an hour and 20 minutes. Seriously, there must be a better way to issue updates. I would prefer regular small updates than having to wait over an hour and being told I can under no circumstances turn off my computer during this wait.Even the powerful windowsOS is not free from problems after updates
It spurred me to work on the update system of Porteus to avoid this type of thing.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- White ninja
- Posts: 7
- Joined: 14 Jul 2017, 16:52
- Distribution: porteus / alpine / puppies
- Location: anonymous
Re: What would you use if Porteus was not available?
Sorry if it is not relevant anymore but I wanted to list distributions that I would have used if porteus wan't available. I am a working from RAM kind of user so there are not many distributions to choose from: puppy derivatives (i would prefer slacko or fatdog out of them), there is alpine which is great and is a big competition to us, porteus users. There is Tiny Core Linux and Knoppix but the former is very unfriendly to simple users but the latter isn't. Knoppix is the only debian based distribution that I like. I don't appreciate deb format. Arch flavoured and Void linuces have a very nice package format and build systems, slackware is ok too, but all of them don't work from RAM which is a bummer. Alpine, somewhat like porteus-kiosk, managed to become a server system while being a RAM distro, it's quite a feat and it has a very nice package manager which boosts alpine's adoption. Slackware's and Porteus' package managers are ok for me but infuriate a lot of people. I myself wrote bash scripts to manage my modules. It's kinda roll your own package manager
. I like it very much but many do not
. If I embark on a course in Computer Science this summer, I am planning to write my paper on RAM distros with the focus on Porteus. I have an idea on how to improve a package manager and a new algorithm for saving changes. However, I will probably need to build my own distro (I will choose porteus as a base) but I want to give any useful features that I will make to porteus community. The own distro thing is to look better when I am going to defend my paper. I don't know if I find any supervisors though XD, but I spoke to a few people.
Best regards,
Stallix
![Smile :)](./images/smilies/smile.gif)
![Sad :(](./images/smilies/sad.gif)
Best regards,
Stallix
- Ed_P
- Contributor
- Posts: 8367
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: What would you use if Porteus was not available?
Not an update, ie a file or subsystem, rather a whole system replacement. Then the updates to the new system. And on my wife's netbook this is taking HOURS!!!brokenman wrote:an hour and 20 minutes. Seriously, there must be a better way to issue updates.
Ed
Re: What would you use if Porteus was not available?
It makes sense, but at the same time, why Windows doesn't behave like that?Bogomips wrote:^ Have a suspicion it's to do with the linking. That the relative addresses of kernel functions would always vary from one kernel to the next. Then if driver called a function at relative address x for kernel a, the function would in kernel b not necessarily be at x, but be at y. Assuming the kernel module's external references would be given as relative addresses within the kernel, could be one explanation. Not quite sure if this type of linking scheme is followed for kernels and drivers in Linux.
Re: What would you use if Porteus was not available?
How To: Build A Read-Only Linux System
https://www.logicsupply.com/explore/io- ... nux-system
Almost as confusing as a script by Bogomips and Ed_P.![Smile :)](./images/smilies/smile.gif)
https://www.logicsupply.com/explore/io- ... nux-system
Almost as confusing as a script by Bogomips and Ed_P.
![Smile :)](./images/smilies/smile.gif)
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: What would you use if Porteus was not available?
Oh, great! Someone actually reading the script!Evan wrote:How To: Build A Read-Only Linux System
https://www.logicsupply.com/explore/io- ... nux-system
Almost as confusing as a script by Bogomips and Ed_P.
Hint: Might help to use either Geany or Kate for this.
![Wink ;)](./images/smilies/wink.gif)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: What would you use if Porteus was not available?
Ed_P? You mean bogomips`. Brokenman seems to read very well the prose of bogomips.
Os-X:
https://stackoverflow.com/questions/344 ... sd-related
![:wink:](http://cdn.jsdelivr.net/emojione/assets/3.1/png/64/1f609.png)
Os-X:
https://stackoverflow.com/questions/344 ... sd-related
Prendre son temps, profiter de celui qui passe.
Re: What would you use if Porteus was not available?
I read everything you post , i just don't necessarily understand it because i'm an idiot.Bogomips wrote:Oh, great! Someone actually reading the script!
![:wink:](http://cdn.jsdelivr.net/emojione/assets/3.1/png/64/1f609.png)
![Big Smile :D](./images/smilies/biggrin.gif)
- Tonio
- Contributor
- Posts: 276
- Joined: 28 Dec 2010, 16:37
- Distribution: Slackware,porteus,FreeBSD,Slax
- Location: 127.0.0.1
Re: What would you use if Porteus was not available?
Don't worry about your difficulties in mathematics, I can assure you mine are greater.Evan wrote: I read everything you post , i just don't necessarily understand it because i'm an idiot.![]()
Code: Select all
$ sed -e 's/Mathematics/Linux/g'
I don't understand many things in life, but I won't let that make me feel more stupid than anybody else.
For a user that wanted a copy2ram livecd, if he/she does not know, they can check out AUSTRUMI.
Cheers!
Re: What would you use if Porteus was not available?
I always wonder with these names how they supposed to be pronounced.Tonio wrote:they can check out AUSTRUMI.
Cheers!
![Smile :)](./images/smilies/smile.gif)
To me it looks like Oz -Strum-Me