LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Lilo.conf issues - Memory Mapping (https://www.linuxquestions.org/questions/slackware-14/lilo-conf-issues-memory-mapping-200722/)

tubatodd 07-03-2004 01:06 PM

Lilo.conf issues - Memory Mapping
 
Well, I ALMOST have my Slack box up and running how I like it. I fixed a couple of issues I had early on. Thanks to the kind folks in this forum, I am a happy camper. Here are my questions:

1- What is the best way to install flash-player. I downloaded the tar ball from macromedia and ran the installer, but it didn't update Mozilla 1.7 properly.

2- I MUST use custom memory mapping in order to use a 256MB chip in my machine. The manual says that the max is 128M, BUT I managed to use mem mapping in Fedora and get the 256MB chip working. I know I need to put an "append=" line in my lilo.conf file, BUT I don't think LILO is checking that file. I tried changing Lilo to say "Slackware 10.0" instead of "Linux" in the menu. It didn't work. I tried changing the timeout time from 1200 to 100, but that failed as well. What am I doing wrong.

Thanks for helping this :newbie:

gbonvehi 07-03-2004 01:35 PM

1) Copy the files manually to /usr/lib/mozilla-1.7/plugins and you should be done :)
2) I guess you already tried running: lilo at the prompt to save the changes on lilo.conf, so i dunno what else can be...

EDIT: 1) the files you must copy are: flashplayer.xpt and libflashplayer.so

tubatodd 07-04-2004 08:46 AM

I still can't get mem mapping to work. I tried google-ing my problem and I found a variety of websites that show how to edit the lilo.conf file with an append line. It also showed how to test to make sure the command will work by doing the following at the boot prompt

boot: linux mem=320M

(Note: I'm trying to detect 320MB of RAM)

Well, this line did NOT work at the boot prompt nor did the "append=" equivalent. When I used Fedora I edited my grub.conf and added something like

mem=exactmap mem="hexequivalent of 640K" mem="hexequivalent of 319MB"

Everytime I booted my Fedora machine, I could type "free -m" and it would show the memory detected.

What am I missing?? I would REALLY like to have another 128MB of RAM.

Thanks!!

Happy 4th of July!!

gbonvehi 07-04-2004 01:16 PM

Well, why don't you install Grub so you can make it work? :)

HuMJohn 07-04-2004 02:52 PM

[QUOTE]Originally posted by tubatodd
[B]I still can't get mem mapping to work. I tried google-ing my problem and I found a variety of websites that show how to edit the lilo.conf file with an append line. It also showed how to test to make sure the command will work by doing the following at the boot prompt

boot: linux mem=320M

(Note: I'm trying to detect 320MB of RAM)

Well, this line did NOT work at the boot prompt nor did the "append=" equivalent. When I used Fedora I edited my grub.conf and added something like

mem=exactmap mem="hexequivalent of 640K" mem="hexequivalent of 319MB"

Everytime I booted my Fedora machine, I could type "free -m" and it would show the memory detected.

What am I missing?? I would REALLY like to have another 128MB of RAM.

How much RAM do you really physically have? If you have under 4 Gigs, I don't think you have to do anything.

The lilo.conf line: ``append "mem=320M"`` was for older lilo version, where you had to tell the lilo loader how much memory you had when you had more than 64 Megs (later increased to 128 Megs, and finally the limit moved to a really large number).

(This is written on a box that has 512 Meg of RAM, like all my other boxes and there is no "append" statement in any of my linux boxes. Further, 'free' shows exactly that.)

CartersAdvocate 07-04-2004 03:00 PM

Re: Lilo.conf issues - Memory Mapping
 
Quote:

Originally posted by tubatodd
2- I MUST use custom memory mapping in order to use a 256MB chip in my machine. The manual says that the max is 128M, BUT I managed to use mem mapping in Fedora and get the 256MB chip working. I know I need to put an "append=" line in my lilo.conf file, BUT I don't think LILO is checking that file. I tried changing Lilo to say "Slackware 10.0" instead of "Linux" in the menu. It didn't work. I tried changing the timeout time from 1200 to 100, but that failed as well. What am I doing wrong.
gbonvehi kinda hinted at this but didn't come out and say it. It sounds like you aren't updating lilo after you change the lilo.conf file. After making any changes to the lilo.conf file, then run (as root):

Code:

/sbin/lilo -t
and assuming there aren't any errors

Code:

/sbin/lilo
Hope this helps

tubatodd 07-04-2004 09:29 PM

re: gbonvehi

I decided to go with LILO since that is the default for Slackware.

re: HuMJohn

I HAVE TO do a mem map in order to get 320MB. Ya see, the manual says that the maximum memory chips size you can add to the system is 128MB (maxing out the TOTAL RAM as 192MB). I read on the net that I could actually get the machine to recognize a 256MB chip (making the TOTAL RAM be 320MB). When I boot the machine WITHOUT mem mapping, it only recognizes the 64MB that is on board. In order to get the chip to work I have to tell Linux what the ACTUAL memory size is. This is a bit of a hack.

re: j3ff3r

I didn't know that I needed to do lilo -t in order to save changes. I figured that editing the file would be enough. Whoops! After running "lilo -t" why do I need to run "lilo" again? This may be a stupid question, but does it matter what init level I am at? Should I boot to level 3, make changes, do lilo -t and then restart (in level 3 or 4)?

gbonvehi 07-04-2004 09:45 PM

Editing the file is not enough, you must run: lilo (yeap, "lilo" as root) to save the changes you've done in your lilo.conf file. Running: lilo -t will test your configuration to see if anything is ok, it won't write your boot sector. You can use that before running lilo (without arguments) to test if your conf file is ok.

tubatodd 07-04-2004 10:04 PM

Quote:

Originally posted by gbonvehi
Editing the file is not enough, you must run: lilo (yeap, "lilo" as root) to save the changes you've done in your lilo.conf file. Running: lilo -t will test your configuration to see if anything is ok, it won't write your boot sector. You can use that before running lilo (without arguments) to test if your conf file is ok.
OK...now I understand. "lilo -t" tests the configuration for errors and "lilo" as root saves the changes to the system.

tubatodd 07-05-2004 02:26 PM

I hope everyone had a very happy July 4th! I ate a lot of food, played swimming pool baseball (I won the game by 6 runs) and tried configuring my wife's aunt's new wireless home network. Windows XP and I do NOT get a long!

In any event, I just got around to configuring my lilo.conf file and thanks to the folks who read my post, I now have my memory mapped properly. I sure like having 320MB vs 192MB. :)

Thanks again!


All times are GMT -5. The time now is 05:15 PM.