Linux-Setup Digest #701, Volume #20              Sat, 24 Feb 01 23:13:12 EST

Contents:
  change ramdisk size (Yung-Hsiang Lu)
  GLX and /dev/agpgart ("TheMartian")
  Re: Error when mounting SCSI ZIP Disk (Steve Martin)
  Re: gligc upgrade on RH 6.2? (Steve Martin)
  Re: Implications of kernel upgrade ? (Steve Martin)
  How do I change/add to the PATH order for env ???? (Chris Nelson)
  Re: Kernel-HOWTO - order of make (Steve Martin)
  Re: Kernel 2.2.18 build problems (David)
  Re: X Window to WinNT ("lesstif")
  Re: X Window to WinNT ("Roy B")
  Setting up an ISA PNP modem ("Ed Collins")
  Re: named, excessive recursion, and stub zones (Peter B. Steiger)
  Re: help: ppp dialin problems (David Efflandt)
  Re: CFLAGS environment variable (Rob Waller)
  Re: How do I change/add to the PATH order for env ???? (Bit Twister)

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

From: Yung-Hsiang Lu <[EMAIL PROTECTED]>
Subject: change ramdisk size
Date: Sat, 24 Feb 2001 15:16:20 -0800
Reply-To: [EMAIL PROTECTED]

Hi,

Can anybody tell me how to increase the size of a ramdisk image?

I got a ramdisk image (ramdisk.gz).  I can mount it:
> gzip -d ramdisk.gz
> mount -o loop ramdisk /mnt
> df
Filesystem           1k-blocks      Used Available Use% Mounted on
                                          7745      7350
0             100% /mnt

I am curious how to increase the size of this disk without destroy the
files on it.

Thanks for your help.

Robert




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

From: "TheMartian" <[EMAIL PROTECTED]>
Subject: GLX and /dev/agpgart
Date: Sun, 25 Feb 2001 00:00:55 GMT

Installed agpgart as part of my 2.4ac-7 kernel no errors reported during
startup.

so install GLX for 3.3.6, the glx log states that it cannot find
/dev/agpgart, which does exist.

Any suggestions?

David
Sydney, Australia

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

From: Steve Martin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Error when mounting SCSI ZIP Disk
Date: Sat, 24 Feb 2001 23:56:31 GMT

"Jared R. Jones" wrote:

>     I have several ZIP disks that I use with Win98.  I have an IOMEGA
> ZIP-100 SCSI drive on
> RedHat 6.2, Kernel 2.4.1.  I have a symbolic link /dev/zip which points
> to /dev/sdc4.

What is the SCSI ID of the drive? The device node used will depend on
that.

> mount -t auto /dev/zip /mnt/zip
> mount: /dev/zip is not a valid block device

One other possibility is that you don't have SCSI disk support
in the kernel. Is this a true SCSI drive, or an emulated IDE
drive?

I'm a big believer in getting the stupid questions out of the
way early, so here's a stupid question: you *did* have a disk
in the drive when you tried to mount it, right?

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

From: Steve Martin <[EMAIL PROTECTED]>
Subject: Re: gligc upgrade on RH 6.2?
Date: Sat, 24 Feb 2001 23:59:29 GMT

Michal Fikejs wrote:

> PS: I think I read something about how you tried to upgrade gligc.
> That's why I asked before I did it.

Good thing... I tried upgrading a RH62 setup to glibc 2.2, and hosed
it thoroughly.

Good luck with RH7.0, too; I just removed it after my third
attempt to get it to work. Most things I got to work after
a fashion after much time, trouble, and dinking, but I finally
decided that it wasn't worth all the hassle just to be on
the bleeding edge.

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

From: Steve Martin <[EMAIL PROTECTED]>
Subject: Re: Implications of kernel upgrade ?
Date: Sun, 25 Feb 2001 00:04:03 GMT

John Beardmore wrote:

> Next, I've heard that some kernel upgrades require glibc upgrades which
> in turn can require the recompilation of all sorts of things, so how do
> I find out if upgrading from
> 
>      2.2.14-6.0  to  2.4.2
> 
> will require a glibc change that may knacker the rest of the system ?

Can't speak to the Alpha kernel, but I just upgraded my 2.2.14-50 box
(stock Red Hat 6.2 install) to kernel 2.4.1 with no need to upgrade
glibc. There were about a half-dozen *other* things I had to check
and/or upgrade, though, but none of them were the compiler or glibc.

As indicated in another response, be darned sure to read the
Changes file in the Documentation directory of the kernel source;
it's the gospel. It not only lists changes to the kernel, but
gives prerequisites for compilation and installation (point
releases, where to upgrade them if you need to, etc.). Most
especially pay attention to the info on modutils, shared memory,
and PPP.

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

From: Chris Nelson <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.redhat,alt.os.linux
Subject: How do I change/add to the PATH order for env ????
Date: Sun, 25 Feb 2001 00:09:24 GMT

Hello:
I want to add to my PATH statement....preferably I need the entry at the 
beginning.
How can I do this?

Thanks,
Chris


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

From: Steve Martin <[EMAIL PROTECTED]>
Subject: Re: Kernel-HOWTO - order of make
Date: Sun, 25 Feb 2001 00:31:56 GMT

"Paul F. Becker" wrote:
> 
> Can someone explain to me why the Kernel HOWTO states the order of make
> as such
> 
> make dep
> make bzImage
> make bzlilo
> make modules
> make modules_install
> 
> When, obviously, either make modules or make modules_install modifies
> the System.map which is read by lilo. Building a kernel in this order
> always, without fail, generates boot errors.

I have compiled various releases of kernel source numerous times, and
have
done it the way listed above, with one addition: I do a "make clean"
between
"make dep" and "make bzImage". Skipping this step leaves stale object
files laying around that can muck up the build process. (In fact, I
usually skip straight from "make clean" to "make bzlilo", first
making sure /etc/lilo.conf is kosher.)

As far as reading System.map, I don't think LILO reads System.map
at all. I did some checking in some docs, and after some RTFM'ing,
I can't find any reference to the System.map file either in the
LILO Users Guide or the Technical Reference. Where did you read
that System.map was used in this way?

> I do `make bzlilo` last. Is this correct? If not, please state why.

I am no expert, but since the kernel has the module directory
wired in, based on the kernel release, I don't think there will
be a problem. However, if you're installing a 2.4 kernel, I'd
advise that you run "make modules_install" after everything else.
The top-level Makefile runs depmod after installing the modules,
and it explicitly runs it against the newly-created System.map
file. The 2.2.14 kernel (and I assume other 2.2-series kernels)
does not run depmod after modules_install.

Hope this helps.

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

From: David <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2.18 build problems
Date: Sun, 25 Feb 2001 00:43:08 GMT

inon wrote:
> 
> 
> I compiled 2.2.16 before, and everything fly by great. Why this happens only
> with this 2.2.18 !!! (wondering).
> 
> Now, deleting dirs and creating symbolic links (as explained above) a work
> around or it is the only way to solve my issue!!!


I don't know if it is the only way to do it, but it is the way I always
do it when compiling a kernel.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 99.085% of seti users. +/- 0.01%

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

From: "lesstif" <[EMAIL PROTECTED]>
Subject: Re: X Window to WinNT
Date: Sun, 25 Feb 2001 00:58:42 -0000

But its not multi user is it not ???
less


"brien" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> VNC [Virtual Network Computing] will let you do it. just go to
> http://www.uk.research.att.com/vnc/ and read/download. it works very
> well and also runs on just about ANY os.
>
> -brien.
>
>
> Joerg Ettrich wrote:
> >
> > Hi all,
> >
> > I'm searching for a tool, which enables me to get access to a NT box
> > (for example running MS Office) from all my Linux and Unix (DEC)
machines.
> > I heard something about "vmware" but I think this is more a tool which
> > enables me to have two operating systems on one machine (?), I want to
> > have only one NT box in my network and I want to be able to access it,
> > specially the MS office, under LINUX and UNIX (DEC).
> >
> > Can anyone help me ....????
> >
> > thanks in advance,
> > kind regards,
> >
> >   Joerg
>
> --
>
> [EMAIL PROTECTED]
> - eschew obfuscation -



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

Reply-To: "Roy B" <[EMAIL PROTECTED]>
From: "Roy B" <[EMAIL PROTECTED]>
Subject: Re: X Window to WinNT
Date: Sun, 25 Feb 2001 01:25:22 GMT

NT is not multi-user - that's true.  VNC would support only one user at a
time on a standard NT workstation or server.

I imagine one could use NT Terminal Server edition and lotsa memory if
multi-user support is required.

How much of MS Office does Wine support?


"lesstif" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> But its not multi user is it not ???
> less
>
>
> "brien" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > VNC [Virtual Network Computing] will let you do it. just go to
> > http://www.uk.research.att.com/vnc/ and read/download. it works very
> > well and also runs on just about ANY os.
> >
> > -brien.
> >
> >
> > Joerg Ettrich wrote:
> > >
> > > Hi all,
> > >
> > > I'm searching for a tool, which enables me to get access to a NT box
> > > (for example running MS Office) from all my Linux and Unix (DEC)
> machines.
> > > I heard something about "vmware" but I think this is more a tool which
> > > enables me to have two operating systems on one machine (?), I want to
> > > have only one NT box in my network and I want to be able to access it,
> > > specially the MS office, under LINUX and UNIX (DEC).
> > >
> > > Can anyone help me ....????
> > >
> > > thanks in advance,
> > > kind regards,
> > >
> > >   Joerg
> >
> > --
> >
> > [EMAIL PROTECTED]
> > - eschew obfuscation -
>
>



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

From: "Ed Collins" <[EMAIL PROTECTED]>
Subject: Setting up an ISA PNP modem
Date: Sun, 25 Feb 2001 02:14:41 GMT

Hello, there

I'm trying to setup a Cardinal modem on a 486.  The modem is a PnP device on
a ISA bus.  I ran

    $ /sbin/isapnp > /etc/isapnp.conf

and generated the isapnp.conf file.  Below is the .conf file with changes.

    # . . .
    # . . .
    # (DEBUG)
    (READPORT 0X020b)
    (ISOLATE PRESERVE)
    (IDENTIFY *)
    (VERBOSITY 2)
    (CONFLICT (IP FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

    # . . .
    # . . .

    (CONFIGURE CRD0001/9001249 (LD 0
    (INT 0 (IRQ 3 (MODE + L)))

    # . . .
    # . . .

    (IO 0 (SIZE 8) (BASE 0x02e8) (CHECK)

    # . . .
    # . . .

    (NAME "CRD0001/9001249[0]{ Cardinal 288IV    }")
    (ACT Y)
    ))


I'm trying to set up the modem on ttSy3.  The mouse is already on ttSy0.

I certainly would appreciate anyone's advice.

ed collins



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

From: [EMAIL PROTECTED] (Peter B. Steiger)
Subject: Re: named, excessive recursion, and stub zones
Date: Sun, 25 Feb 2001 03:29:04 GMT

On Sat, 24 Feb 2001 22:43:56 GMT, David sez:
>Bind version 8.2.2-P5 is buggy it is recommended to upgrade to 8.2.3
Ah!  I saw something on CNN about that, but I wasn't real concerned
about the security flaw; I'm firewalled six ways from Sunday and only
use bind inside the firewall.

>Good idea but not a new one. You can use the script at this link along
>with cron to keep it up to date.
>
>http://www.linuxdoc.org/HOWTO/DNS-HOWTO-8.html

Alas, that's what I have been using all along to update the root
cache, or hint file, or whatever it's called.  It says nothing about
also maintaining zone files for the com/net/org top level domains.
Nor does it say anything about the "xfer" files that I asked about.

Anyway, thanks for the ideas - but I promise I did RTFM before
coming here :-)


Peter B. Steiger
Cheyenne, WY
----
If you reply by email, send it to pbs at com dot 
canada (or vice-versa).  All advertisements will be 
returned to your postmaster, eh!

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

From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.os.linux.misc,comp.os.linux.networking,alt.linux
Subject: Re: help: ppp dialin problems
Date: Sun, 25 Feb 2001 03:37:37 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Sat, 24 Feb 2001 08:16:15 GMT, David. E. Goble <goble@gtech> wrote:
>Hi all;
>
>Iam running RedHat 6.2 and trying to set it up as a server.
>
>Not sure how to setup the ip numbers. It will accept a call and allow
>login. But ut comes up with "Could not determine local IP address",
>when I try to dialin from a mac. I just tried from a win95 box, same
>error, but with some unsupported messages in /var/log/ppp.

If you just have 1 dialin modem, and it uses mgetty AutoPPP, you would
specifiy an IP as the 4th field in pap-secrets (see 'man pppd').  Just
make sure you have a name for it in DNS (or /etc/hosts).

>Also should the remote computer have any particular settings, like in
>their hosts...?

All you should have to set in the client is username and password.  If you
have DNS you can pass the server IP's as ms-dns pppd options on the
server.

>Below are some of the files; ppp.log, hosts, options, options.srv,
>login.config, mgetty.config, resolv.conf, pap-secrets.
>
>############ /var/log/ppp ##
>Feb 24 14:50:27 gtech pppd[773]: Using interface ppp0
>Feb 24 14:50:27 gtech pppd[773]: Connect: ppp0 <--> /dev/ttyS2
>Feb 24 14:50:27 gtech pppd[773]: sent [LCP ConfReq id=0x1 <asyncmap
>0x0> <auth pap> <magic 0x59fa483e> <pcomp> <accomp>]
>Feb 24 14:50:27 gtech pppd[773]: rcvd [LCP ConfAck id=0x1 <asyncmap
>0x0> <auth pap> <magic 0x59fa483e> <pcomp> <accomp>]
>Feb 24 14:50:29 gtech pppd[773]: rcvd [LCP ConfReq id=0x5 <asyncmap
>0xa0000> <magic 0xe3b07> <pcomp> <accomp>]
>Feb 24 14:50:29 gtech pppd[773]: sent [LCP ConfAck id=0x5 <asyncmap
>0xa0000> <magic 0xe3b07> <pcomp> <accomp>]
>Feb 24 14:50:29 gtech pppd[773]: rcvd [PAP AuthReq id=0x1 user="user1"
>password=<hidden>]
>Feb 24 14:50:30 gtech pppd[773]: user user1 logged in
>Feb 24 14:50:30 gtech pppd[773]: Unsupported protocol 'Novell IPX
>Control Protocol' (0x802b) received
>Feb 24 14:50:30 gtech pppd[773]: Unsupported protocol 'NETBIOS Framing
>Control Protocol' (0x803f) received

The only protocol you should have checked in DUN is TCP/IP (uncheck IPX,
Netbui and 'Login to network').  You can leave any of the compression
things checked and default route (on client only).

>Feb 24 14:50:33 gtech pppd[773]: Could not determine local IP address
>Feb 24 14:50:33 gtech pppd[773]: Connection terminated.
>Feb 24 14:50:33 gtech pppd[773]: Connect time 0.1 minutes.
>Feb 24 14:50:33 gtech pppd[773]: Sent 454 bytes, received 415 bytes.
>Feb 24 14:50:33 gtech pppd[773]: Exit.
>
>############ hosts #########
>127.0.0.1              gtech localhost.localdomain localhost
>192.168.0.1             gtech

Where is the name of the dialin client?  You need names for both ends of
the connection, but the server can use its LAN IP with pppd proxyarp
option for its local IP.

I could be wrong, but I believe that each name should only be listed for 1
IP.  You have 'gtech' listed twice.  I use 127.0.0.2 for my hostname.

>############ options.srv #######
>auth
>-chap
>+pap

+pap asks the peer (other machine) to authenticate itself and Windows
doesn't do that.  The auth and login options handle the pap authentication
for the user.

>login
>asyncmap 0
>192.168.0.1:192.168.0.25
>debug
>modem
>crtscts
>proxyarp
>
>############### pap-secrets ############
>user1 *       ""
>user2 *       "" 

pap-secrets needs a 4th field (allowed IP) for dialin (can be *).

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: Rob Waller <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat
Subject: Re: CFLAGS environment variable
Date: Sat, 24 Feb 2001 19:46:33 -0800

Mark Bratcher wrote:

> The error is occurring because of the syntax of how your are setting
> the variable (you didn't show us how you did it).
>
> But... a bigger problem is that if you are counting on Makefiles picking
> up the environment variable, this won't work. Makefiles use a make macro
> not environment variable.
>
> So, it's looking for "make CFLAGS=-O9 ..." to set CFLAGS, not a shell
> environment variable called CFLAGS.
>
> --
> Mark Bratcher
> To reply direct, remove both underscores (_) from my email name
> ---------------------------------------------------------------
> Escape from Microsoft's proprietary tentacles: use Linux!

Sorry for not including my code string! Here it is:

CFLAGS='-09 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro
-march=pentiumpro -fomit-frame-pointer -fno-exceptions

I'm also not quite sure what to use where pentiumpro is used? should it
read i686? or Celeron? I'm using a Celeron based 466.


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

From: [EMAIL PROTECTED] (Bit Twister)
Crossposted-To: alt.os.linux.redhat,alt.os.linux
Subject: Re: How do I change/add to the PATH order for env ????
Reply-To: [EMAIL PROTECTED]
Date: Sun, 25 Feb 2001 03:52:48 GMT


Helps if you provide what distro and release level you are using
when you post questions to the news groups. Different distros
have different commands, files, and links to files. Even happens
between release levels of the same distribution.

If window manger problem give it's name (gnome, kde, sawmill,...)
if dhcp client (pump, dhcpc, dhclient,...)
Give error messages. 
Look in your logs,  /var/log/messages on Redhat and Mandrake.

If it is a shell question, give the shell name (bash, tch, zch,...)

Ok, back to your question.



On Sun, 25 Feb 2001 00:09:24 GMT, Chris Nelson <[EMAIL PROTECTED]> wrote:
>Hello:
>I want to add to my PATH statement....preferably I need the entry at the 
>beginning.
>How can I do this?

For just your account, put this in ~/.bash_profile

        export PATH=YOUR_STUFF_HERE:$PATH:/usr/sbin:/site/bin

For everyone on the system, if you system has an
 /etc/profile.d/, create a script.

#***********************************************************
#*
#*      xx_local.sh - local environment settings
#*
#*      xx_local.sh was picked to fall to the end of
#*      list of file names in the direcory.
#*      That allows it to be executed last by /etc/profile.
#*
#*      Be sure to do a    chmod +x /etc/profile.d/xx_local.sh
#*
#***********************************************************

        export PATH=YOUR_STUFF_HERE:$PATH:/usr/sbin:/site/bin

        export EDITOR=xedit     # file editor
        export VISUAL=emacs     # command line editor
        export PAGER=less       # file perusal filter for crt viewing

#************* end xx_local.sh *****************************


-- 
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it. 
Do a,  man command_here or cat command_here, before using it.

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


** 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 by posting to comp.os.linux.setup.

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