some things saved between sessions, others not?

Booting, installing, newbie
Post Reply
Message
Author
carbking
Posts: 5
Joined: Sat 11 Mar 2006, 19:14
Location: Pennsylvania, USA

some things saved between sessions, others not?

#1 Post by carbking »

new puppy user here, it's very fine indeed but has me a bit confused. I'm running 1.0.8-ro-mozilla and booting from CD-ROM each time. I've installed some things (XMMS, StreamTuner) and they work fine and are saved between sessions. Then I decided to try an OLD 100 MB parallel port Zip drive-not to boot, just to mount and read-so I followed the instructions found elsewhere on this forum, namely:

downloaded ppa.o.gz to ~/my-documents
copied it to /lib/modules/2.4.29/scsi
In rxvt, typed in:

depmod -a
modprobe ppa

Then went to the Media Utility Tool and mounted the Zip drive and everything worked. Then I went to Start > Shutdown > Reboot Computer. After rebooting, I found I had to go thru almost the whole procedure again in order to be able to mount the drive. What really puzzles me is that the file ppa.o.gz (which I had copied to /lib/modules/2.4.29/scsi) wasn't there anymore, I had to go back to ~/my-documents and copy it over again. I think I'm missing something really fundamental here -- any comments?

Thanks!
Al

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2 Post by BarryK »

:) Yes, puppy 1.x does not save anything in /lib, only if you have done a
full hard drive install.
However puppy2 does save /lib.

Anyway, your immediate problem is you will have to place ppa.o somewhere
in /root, then place some code into /etc/rc.d/rc.local to load it.
It has one dependency, parport.o.

So, put this into rc.local:

Code: Select all

modprobe parport
insmod /root/ppa.o.gz
or, if uncompressed:

Code: Select all

insmod /root/ppa.o
...or whatever the path is if not in /root/.

carbking
Posts: 5
Joined: Sat 11 Mar 2006, 19:14
Location: Pennsylvania, USA

#3 Post by carbking »

Thank you, I'll give it a try.
Al

carbking
Posts: 5
Joined: Sat 11 Mar 2006, 19:14
Location: Pennsylvania, USA

#4 Post by carbking »

BarryK wrote:
Anyway, your immediate problem is you will have to place ppa.o somewhere
in /root, then place some code into /etc/rc.d/rc.local to load it.
It has one dependency, parport.o.

So, put this into rc.local:

Code: Select all

modprobe parport
insmod /root/ppa.o.gz
or, if uncompressed:

Code: Select all

insmod /root/ppa.o
...or whatever the path is if not in /root/.
I tried the above and it did not work for me. I put ppa.o.gz in /root and added the code to rc.local:

Code: Select all

modprobe parport
insmod /root/ppa.o.gz
when I rebooted, ppa.o.gz was still in /root (hooray!) but the drive still did not show up in MUT. I went to rxvt and typed

modprobe ppa

and the system responded with

modprobe: can't locate module ppa

I then tried

insmod /root/ppa.o.gz

and the system responded with

insmod: a module named ppa already exists

not sure of the terminology, but does this mean that the module ppa is "loaded" but I can't "start" it?
Al

Post Reply