Linux-Setup Digest #987, Volume #19               Mon, 6 Nov 00 23:13:10 EST

Contents:
  Re: Memory reported wrong by Linux (Zen Sorcerer)
  Re: memory problem with Red Hat 7 ("George M. Butler")
  Re: Syslogd and -m option, frustration (Black Dragon)
  Re: Starting multiple x servers, HOW? (Black Dragon)
  ??? Redhat 7 on OmniBook 6000, anyone ??? (Palm Vx)
  Re: Why have all the modules moved?? (Black Dragon)
  Re: Syslogd and -m option, frustration (JoeBlow�)
  Re: stopping and starting all services after chkconfig (Black Dragon)
  Re: Installing RPM's, tars (Linda or Chris Dumont)
  recompile/boot problems on scsi only system (Russell Lawrence)
  Virtual server problems (Peter Larsen)
  IOMEGA 100MB ATAPI Zip problems with RH 7.0 (Victor S. Miller)
  Re: how to change TCP/IP �� (Alex Alegado)
  Re: *curses*!!! foiled again!!! (Cristian)
  Re: modules not loading (inon21)
  NFS export problem with netgroup (David YEUNG)
  redhat 7.1 or higher (Frank Pittel)

----------------------------------------------------------------------------

From: Zen Sorcerer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Memory reported wrong by Linux
Date: Tue, 07 Nov 2000 01:30:06 -0000

Edit /etc/lilo.conf and add this line:

append="mem=128m"

i.e. /etc/lilo.conf:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=linux
message=/boot/message

image=/boot/vmlinuz-2.2.16-22
        label=linux
        read-only
        root=/dev/hda1
        append="mem=128m"

Then run:

lilo

Then reboot and check to see how much memory linux is using:

free

That's it...

Zen

Vivek Gupta wrote:
> 
> Hi, 
> I am using 
> * Redhat 6.2
> * Kernel 2.2.17
> * AMD Athlon
> * MS-6195 Motherboard.
> * Sis6326 AGP card
> * Kingston 128MB PC133Mhz RAM
> 
> When I boot my system. The BIOS shows the correct memory. When I see
> the memory using top or cat /proc/meminfo then, it shows only 64 MB RAM.
> I don't know why it shows so less memory....
> 
> Please help,
> 
> Vivek
> 
> 


--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: "George M. Butler" <[EMAIL PROTECTED]>
Subject: Re: memory problem with Red Hat 7
Date: Mon, 06 Nov 2000 20:00:51 -0800

"George M. Butler" wrote:

> I am not  sure it this is the right place to post this.  A few days ago
> I installed Red Hat 7 on my old pentium 120 box I have a P 120 installed
> on a  ASUS PX5, socket 7 board.  I had two sticks of  8 MB each in the
> two SIMM slots. Today I added one stick of 64 Megs P-66  DIMM.  In all
> I have 80 Megs of RAM installed. When I boot up the POST  rolls through
> 32 megs of RAM 3 times in succession.  The boot of Linux goes normally
> and when I run top in a terminal window it shows just under 31 megs of
> RAM.
> Can someone tell me what is going on and how to get all of my 80 Megs of
> RAM on line.  Thanks for your help.
>
> George

Thanks all for the help.  I was not able to respond over the weekend due to
my cable service being down.   I "solved" the problem by taking out the two
sticks of SIMM.  It now boots and shows 64 MB of memory.  The manual for
the ASUS PX5  says that SIMM and DIMMs can be mixed (as long as the SIMMs
are in pairs) but who knows.   My guess is that the BIOSs were looking for
another pair of  SIMM and quit looking after it found another 16 MBs.
Funny thing though it still cycles through the test of the 64 MB  three
times during POST.  I know this is the easy simple way out but I have
another stick of 64 MB DIMM on the way so I will end up with 128 MB.  By
the way that 64 MB really perked up the
old box.    Once again thanks for all the help.  I learned a bit more about
LILO along the way and knew that I  had found a clue when in the discussion
of the  append option it mentioned that it  could help  resolve  memory
incompatability problems.


------------------------------

From: [EMAIL PROTECTED] (Black Dragon)
Subject: Re: Syslogd and -m option, frustration
Date: Tue, 07 Nov 2000 01:58:57 GMT


On Tue, 07 Nov 2000 01:01:10 GMT in comp.os.linux.setup,
<[EMAIL PROTECTED]> `JoeBlow�' said:


>How can I get syslogd from putting this into my messages..
>
>Nov  6 20:02:30 outbox -- MARK --
>Nov  6 20:03:00 outbox -- MARK --
>Nov  6 20:03:30 outbox -- MARK --
>Nov  6 20:04:00 outbox -- MARK --
>Nov  6 20:04:30 outbox -- MARK --
>Nov  6 20:05:00 outbox -- MARK --
>Nov  6 20:05:30 outbox -- MARK --
>Nov  6 20:06:00 outbox -- MARK --
>Nov  6 20:06:30 outbox -- MARK --
>
>It was 20 minutes which is the defualt, when I tried syslogd -m0 per
>the man page it should stop altogether, but instead its now every 30
>seconds.  
>
>Everything I searched for on Deja and the web says -m0 should stop it
>but it appears not to be stopping, what am I doing wrong?
>Is there a way to put this value in /etc/syslog.conf or do I need to
>change my init files to start it with the switch?  

Change it in your syslog init file and it should be "syslogd -m 0".
                                                               ^
                                                         ! note space !

-- 
Black Dragon

Sign The Linux Driver Petition:
http://www.libralinux.com/petition.english.html

------------------------------

From: [EMAIL PROTECTED] (Black Dragon)
Subject: Re: Starting multiple x servers, HOW?
Date: Tue, 07 Nov 2000 02:16:37 GMT


On Mon, 6 Nov 2000 23:17:25 +0000 in comp.os.linux.setup,
<[EMAIL PROTECTED]> `Mark Worsdall' said:

>Hi,
>
>I am using vncserver and want to startup multi x server sessions.
>
>If I have started an X server with startx I cannot use startx again as
>another user.
>
>What should I do?
>
>M.

Look in your $HOME/.vnc directory that was created when running vncserver
for the first time. There should be an "xstartup" script in it. Here's mine,
which starts Gnome, and the script is executed by vncserver itself.

======================
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gdm & gnome-session &
======================

Example using the above configuration:

To start multiple sessions of X: startx, vncserver :2, vncserver :3,
etc. Note that vncserver will not run X on a tty, IOW you can't switch to
it with Ctrl-Alt-F1 to F8. To start X on another tty, startx -- :4, etc.

-- 
Black Dragon

Sign The Linux Driver Petition:
http://www.libralinux.com/petition.english.html

------------------------------

From: Palm Vx <[EMAIL PROTECTED]>
Subject: ??? Redhat 7 on OmniBook 6000, anyone ???
Date: Tue, 07 Nov 2000 02:21:26 GMT

Hello,
Is there any OmniBook 6000 owners successfully with RedHat 7.0
installation ? Specially DualBoot with Win2K. Please advice
Thanks



Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED] (Black Dragon)
Crossposted-To: alt.os.linux.suse
Subject: Re: Why have all the modules moved??
Date: Tue, 07 Nov 2000 02:28:32 GMT


On Mon, 06 Nov 2000 22:34:43 +0000 in comp.os.linux.setup,
<[EMAIL PROTECTED]> `Kevin Milburn' said:

>Ray Wrote:
>
>>     Fooled me too, Kev. Actually, the change in hierarchy is documented.
>> After about -test5 or so, was when this all changed. It requires the latest
>> modutils, to know about the directory layout changes.
>> 
>
>
>Updating to the lastest modutils has solved he problem,  but I've still
>ot managed to find any reference to this change within the kernel 
>documentation..

I'm using 2.4.0-test9 and the reference to using the latest modutils is 
in the "linux-2.4.0-test9/Documentation/modules.txt" file.

modules.txt
===========

This file describes the strategy for dynamically loadable modules
in the Linux kernel. This is not a technical description on
the internals of module, but mostly a sample of how to compile
and use modules.

Note: You should ensure that the modutils-X.Y.Z.tar.gz you are using
is the most up to date one for this kernel. The "X.Y.Z" will reflect
the kernel version at the time of the release of the modules package.
Some older modules packages aren't aware of some of the newer modular
features that the kernel now supports.  The current required version
is listed in the file linux/Documentation/Changes.

[chomp]

Written by:
        Jacques Gelinas <[EMAIL PROTECTED]>
        Bjorn Ekwall <[EMAIL PROTECTED]>

-- 
Black Dragon

Sign The Linux Driver Petition:
http://www.libralinux.com/petition.english.html

------------------------------

From: [EMAIL PROTECTED] (JoeBlow�)
Subject: Re: Syslogd and -m option, frustration
Reply-To: [EMAIL PROTECTED]
Date: Tue, 07 Nov 2000 02:33:38 GMT

On Tue, 07 Nov 2000 01:58:57 GMT, [EMAIL PROTECTED]
(Black Dragon) said:


>Change it in your syslog init file and it should be "syslogd -m 0".
>                                                               ^
>                                                         ! note space !
I havent rebooted for it to take effect that way but I have killed it
manually and restarted it with the -m 0 switch (space also).  If I
simply use syslogd it defaults to 20 minutes as it should.  syslogd -m
1 works as expected at 1 minute intervals, as does sylogd -m 5 at 5
minute intervals.  For some reason syslogd -m 0 puts it at 30 second
intervals.  I even tried *.mark --> /dev/null in the syslog.conf file
but that did not cut it.  I do not know what inclined me to try that
but i am getting desperate, I can try different syntax with that
statement and see if that works.  I have another older Slackware
machine (not as old as this one) that does not put the mark statements
anywhere although not specifically at -m 0, it is version 1.3-0#.  The
machine that I can not get to respond correctly is syslogd 1.3-3.
Maybe its time to upgrade my systems a little.
I guess its not that big of a deal but this machine is my stripped
down gateway box for my local network, It does nothing but MASQ,
firewall,  and junkbuster proxy for my local network.  I have the IDE
drive set to sleep at 21+ minutes (hdparm -S255) but it never goes to
sleep because  the Mark entry keeps it alive.  I guess the ultimate
would have the gateway machine log everything to the other linux
machine and I would not have to worry about it at all. 

Thanks for the reply..


------------------------------

From: [EMAIL PROTECTED] (Black Dragon)
Subject: Re: stopping and starting all services after chkconfig
Date: Tue, 07 Nov 2000 02:44:59 GMT


On Mon, 6 Nov 2000 10:23:10 -0800 in comp.os.linux.setup,
<[EMAIL PROTECTED]> `Billy' said:

>Hello,
>
>Once I use chkconfig to turn services off I have noticed that some of the
>ports published by these services are immediately terminated where in other
>cases the ports are still published until I reboot.  I know that I should
>not have to reboot.
>
>What is the command for shutting down and restarting all services after
>turning some off with chkconfig?
>
>Thanks Randy

On Red Hat, I use the command "init 1". Run level 1 (on RH) is single user 
mode. To bring the machine back up to the default run level, type "exit". 
(you may have to login if single user mode is secured) See "man init" for 
more info.

-- 
Black Dragon

Sign The Linux Driver Petition:
http://www.libralinux.com/petition.english.html

------------------------------

From: Linda or Chris Dumont <[EMAIL PROTECTED]>
Subject: Re: Installing RPM's, tars
Date: Mon, 06 Nov 2000 19:03:42 -0800

Dog Meat wrote:

>   Forgive me if I'm being a pain in the butt.  I'm a Linux newbie.
> Frustration is seeping in.  I've not been able to install much of
> anything (RPM's, tars, etc.) yet.  I'm using the Mandrake 7.0 Complete
> installation.  For some reason, when I try to install anything, nothing
> really happens.  The only thing I've accomplished so far is to get my
> B: drive accessible from the desktop.
>   For instance, my HP OfficeJet drivers (.tar) extract just fine.  When
> I go into the appropriate directory, and run ./configure, I get 6 or 8
> items that configure checks for.  Each one is answered "no".  These are
> things like looking for the Linus source directory, etc.  Which
> directory are they referring to in the directory structure?

>From your description I think it's probably /usr/src/ or /usr/src/linux/.
I've never used Mandrake so I can't help you much in this area.

> Can
> anybody step me through this procedure?  Yes, I have RTFM, but it
> really doesn't address my problems.  Also, the readme's, etc., don't
> really help.  They didn't say anything about what to do for my HPOJ
> driver installation problem above.
>   Also, my CD's have .src.rpm files, and I've run across many .rpm
> files.  I am assuming that the .src.rpm files are the sources.  Do
> these require different procedures to install?

Yes, I found this infuriating when I first tried to install from source.
The manuals don't really talk about this at all. What follows is all
command-line oriented, I found, like others, that the GUI-based tool is a
little flaky. If you carefully read the output from "rpm --help" you'll
find this:

--rebuild <src_pkg>    - install source package, build binary package and
                             remove spec file, sources, patches, and
icons.

So, on a Redhat box you put ???.src.rpm files in the
/usr/src/redhat/SRPMS, (sorry I don't know exactly where inMandrake) and
cd to that directory. Then it's a two step process. First, you "rpm
--rebuild ???.src.rpm" it ("rebuild" doesn't seem the correct description
either as far as I'm concerned). Incidentally, this may take a while
because now you're really compiling. This creates an ???.i386.rpm
(assuming your on an Intel box) in /usr/src/redhat/RPMS/. Then you cd to
that directory and use the -i (install) option on the newly created file.

> I'm trying to use
> Kpackage for them, but haven't seen any real results.
>   I'm trying to use the KDE desktop.
>
> TIA...
> -- DM
> ************************
> *   NAHC Life Member   *
> ************************
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.


------------------------------

From: Russell Lawrence <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: recompile/boot problems on scsi only system
Date: Tue, 07 Nov 2000 03:07:24 GMT

One of my systems uses a pair of scsi wide drives controlled by an
adaptec 2940W.  It runs fine with a stock caldera 2.4 modular
controller.  Unfortunately, I need to add some network support
that requires recompilation.  I tried to recompile the kernel
specifying modular scsi support for aic7xxx.o, loop.o, scsi_mod.o,
and sd_mod.o and installed these modules in a new initrd, and
modified /boot/grub/menu.lst to reflect the new kernel location.
The new kernel recognizes the scsi drives but panics and halts
after displaying "VFS: Cannot open root device 00:00."  I tried
to remedy this problem by compiling scsi support into the kernel
(skipping the use of initrd).  However, the kernel still panics, and
displays a slightly different message: "VFS: Cannot open root
device 08:00."   I've searched what's left in the dejanews archives,
as well as the knowledge base at Caldera, and I've found numerous
instances of similar problems, but no solutions.  Suggestions
would be appreciated.



------------------------------

From: Peter Larsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Virtual server problems
Date: Tue, 07 Nov 2000 02:09:27 GMT

I'm running RedHat 6.2 - 2.2.17 of the kernel.
On this machine I have two NICs, one connected to a cable modem (eth0)
and one to a hub for my internal LAN (eth1). I'm running ipchains with
masquerade, and that part works great. Eth0 gets it's addr from dhcp
from my cable provider. eth1 has 192.168.11.1.

I'm trying to set one of the eth1 connected servers up as accessible
from eth0 (having eth0 act as a virtual server). The internal server i
192.168.11.20. On this server runs a HTTP listener on port 8002.

I wish to forward all connections onto eth0 port 8002 to 192.168.11.20
port 8002. To do that, I added a forward rule in ipchains to allow
external traffic in, and I used ipmasqadm to add a portfw option
(ipmasqadm portfw -a -P tcp -L eth0-host 8002 -R 192.168.11.20 8002).

Problem: Packages are received from external sources. According to
tcpdump they are forwarded to 192.168.11.20, which reports receiving
them. However, when 192.168.11.20 sends its ACK, it does that directly
to the requesting host, which of course causes a reset and a disconnect.

How do I manage the forward through the MASQ server?

I've tried to use the mfw module with ipmasqadm with the same result.

Any hints greatly appreachiated. Thanks!

Regards
  Peter Larsen

------------------------------

Subject: IOMEGA 100MB ATAPI Zip problems with RH 7.0
From: [EMAIL PROTECTED] (Victor S. Miller)
Date: Tue, 07 Nov 2000 03:23:18 GMT

I've installed RH 7.0 on my Dell Dimension XPS M166s (Pentium 166Mhz
MMX), with only a few problems -- but one very annoying one remains:
the treatment of my internal Zip drive.  In the BIOS I have that slot
set up as None (this was recommended by IOMEGA), and Win '98 handles
it flawlessly.  However, I find that:

1) If I don't have a Zip disk in the drive at boot time, the systems
   hangs (actually it gets continual messages of "lost interrupt on
   device hdb"). Inserting a disk at that point doesn't help -- so I
   need to power cycle the machine.

2) I thought that I might help things by changing the fstab entry from

/dev/zip                /mnt/zip                auto    auto,owner    0 0

to

/dev/zip                /mnt/zip                auto    noauto,owner    0 0

However, this made things much worse: now if I eject the Zip drive the
whole system freezes.  Reinserting it makes no difference.  In fact,
it's even worse than that -- the output of mount is:

/dev/hda5 on / type ext2 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda2 on /boot type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /C type vfat (rw)

(as you can see /dev/zip isn't mounted), and if I do a

mount /dev/zip

the system hangs.

Surely RH 7.0 should be capable of handling this as well as Windows.
What is it that I have to do?


Some relevant lines from messages:
Nov  6 21:57:18 algebraic kernel:     ide0: BM-DMA at 0xffa0-0xffa7,
BIOS settings: hda:pio, hdb:pio
Nov  6 21:57:18 algebraic kernel:     ide1: BM-DMA at 0xffa8-0xffaf,
BIOS settings: hdc:DMA, hdd:DMA
Nov  6 21:57:18 algebraic kernel: hda: Maxtor 51023H2, ATA DISK drive
Nov  6 21:57:18 algebraic kernel: hdb: IOMEGA ZIP 100, ATA DISK drive
Nov  6 21:57:18 algebraic kernel: hdc: FX120T, ATAPI CDROM drive
Nov  6 21:57:18 algebraic kernel: hdd: SAF CD-RW4224A, ATAPI CDROM drive
Nov  6 21:57:18 algebraic kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Nov  6 21:57:18 algebraic kernel: ide1 at 0x170-0x177,0x376 on irq 15
Nov  6 21:57:18 algebraic kernel: hda: Maxtor 51023H2, 9765MB w/2048kB
Cache, CHS=1244/255/63
Nov  6 21:57:18 algebraic kernel: hdb: IOMEGA ZIP 100, 96MB w/16kB
Cache, CHS=512/12/32

                Victor Miller

------------------------------

From: Alex Alegado <[EMAIL PROTECTED]>
Subject: Re: how to change TCP/IP ��
Date: Tue, 07 Nov 2000 03:30:06 -0000

If you're using Suse Linux then the "yast" utility is available. Type "yast" at shell 
prompt 
and then follow the on-screen menus. It's a text-based interface but E-Z to navigate. 
Look for network related entries.

Le Wang wrote:
> 
> 
> I set up Linux SuSe yesterday, now I want to change the properties of
> TCP/IP, but I can not find it by Linux. Could somebody tell me where it
> is?
> 
> Thanks!
> 
> Le
> 
> 


--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: Cristian <c{ristian}h{umberto}[EMAIL PROTECTED]>
Subject: Re: *curses*!!! foiled again!!!
Date: Tue, 07 Nov 2000 03:32:22 GMT

Jerimiah Gentry <[EMAIL PROTECTED]> wrote:
> gcc  -g -O2 -lasound -lasound -o alsamixer  alsamixer.o  -lasound 
...
> I searched deja and someone with the same problem was told to install
> ncurses.  I have ncurses 5.0-7 installed, as well as the development
> pkg.
...

Looks like you are missing the library at linking time. Things to try:

1. check in /usr/lib for libcurses and libncurses files (.a & .so). Do 
you see them? They might also be in /usr/local/lib. If you find it, 
advance to 2), if not reinstall (or fix ld.so.conf and ldconfig).

2. the gcc line should include an option -lncurses which is missing. Try 
running ./configure --help and look for an option related to ncurses, smth. 
like --with-ncurses (just guessing). If it exists, run then
./configure --with-ncurses

3. If it still breaks, it might be a hard-coded error. Find the Makefile
for the darn alsamixer (possibly in an alsamixer subdir), and add the
option -lncurses to the gcc line. You can also remove two of the three
-lasound

Hoping for the best,
C.


------------------------------

From: inon21 <[EMAIL PROTECTED]>
Subject: Re: modules not loading
Date: Tue, 07 Nov 2000 03:44:14 GMT

Thanks for the reply. I figured out the problem and fixed it. After
compiling the kernel there is a 'install.sh' script file
in /usr/src/linux/arch/i386/boot directory.
I just did 'sh ./install.sh 2.2.16 /vmlinuz /System.map /boot'
This fixed it.

And, '/sbin/mkbootdisk --device /dev/fd0 2.2.16' gave me a emergency
startup floppy disk.

Have a good day.


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: David YEUNG <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc
Subject: NFS export problem with netgroup
Date: Tue, 07 Nov 2000 11:30:39 +0800

I have a number of Linux machines and try to control the NFS export
using NIS netgroup, but it seems to have problem to do so. Here
is my configuration with a server 'hqlx10' and client 'rcz006':

In the server machine, I have setup the NIS and NFS server:

hqlx10 # ypcat -k netgroup
linux (rcz006,,)
hqlx10 # cat /etc/exports
/usr/local @linux(ro)
hqlx10 # exportfs -a
hqlx10 # exportfs
/usr/local
     @linux

In the client machine:

rcz006 # ypcat -k netgroup
linux (rcz006,,)
rcz006 # mount hqlx10:/usr/local /usr/local
mount: hqlx10:/usr/local failed, reason given by server: Permission denied


I always get the Permission denied message when I mount it. However, if I change
the server /etc/exports to hostname, e.g:

hqlx10 # cat /etc/exports
/usr/local rcz006(ro)

Then the mount is susccessful.

Does anyone have idea what is wrong, or how to solve this problem.

I am using Redhat 6.2 with the latest kernel (2.2.16) on a PII-500 machine

Thanks

David Yeung

------------------------------

From: Frank Pittel <[EMAIL PROTECTED]>
Subject: redhat 7.1 or higher
Date: Tue, 07 Nov 2000 04:06:34 -0000

Anyone know if redhat has an update to 7.0 in the works. I've spent about as much
time trying to get the kernel supplied and configured by redhat to compile.

The fix that they supply in the online howto was already applied by redhat and it
still won't compile.

There is some serious need for quality control within redhat. I can't believe it
never occured to anyone at redhat to try to compile the kernel they supplied.

-- 




Keep working millions on welfare depend on you
===================
[EMAIL PROTECTED]

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.setup) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Setup Digest
******************************

Reply via email to