Linux-Setup Digest #87, Volume #20 Wed, 22 Nov 00 03:13:08 EST
Contents:
Re: ssh and X windows remote (Liquor)
error compiling tulip.c, which file with -I? (Peter Bismuti)
Re: Need Red Hat boot.img file
Re: Lilo Error (The Guy)
Re: Lilo Error (The Guy)
Re: Lilo Error (The Guy)
Redhat 7.0 Install problems (qwest)
Re: Need Red Hat boot.img file (Poetryman)
ne2000 setup problems ("D. Abuan")
Re: Lilo Error (Eric)
Re: Using ps and grep (was Re: setting up a task using crontab) (Wayne Pollock)
Re: How to run RedHat installation program without running fdisk? (Eric)
Re: ide0=autotune ide1=autotune stalls boot ("Dan Jacobson")
Re: Gnome doesn't start after install of RH 7 for logging in (Jacco van Schaik)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Liquor)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking,comp.os.linux.security
Subject: Re: ssh and X windows remote
Reply-To: [EMAIL PROTECTED]
Date: Wed, 22 Nov 2000 04:16:15 GMT
The moving finger attributed to Darren Welson did write:
) I have a router machine that is not running X, and has a piss-poor video
) card that I wouldn't dare running X on. I have SSHD running so I can login
) remotely. If I install the packages for X, can I remotely run X or will it
) drag worthlessly?
)
Yes you can - If you are worried about loading, just make sure you
don't start the X-server on the router machine. There's very little
overhead in running an X-client such as an xterm or emacs as most of
the work is done by the machine with the windows manager and display.
If you want to do heavy manipulation in GIMP or similar application
intensive work, however, it will drag on a slow box regarless of the
power of the X-server box.
( I know all this because I use this method with a date-challenged and
brain-dead firewall box. )
(P&E unless spamtrapped)
Liquor
==============================================
My opinions and suggestions are unwarranted.
I might follow my advice - YMMV
------------------------------
From: [EMAIL PROTECTED] (Peter Bismuti)
Subject: error compiling tulip.c, which file with -I?
Date: 22 Nov 2000 04:58:06 GMT
I've been told that the problem with this is that I have not used the -I
flag. Here's another command I've tried that gives the same message but
uses the -I flag. The problem here is that the file specified is missing.
My question is where is the new file in Redhat7.0?
gcc -D__SMP__ -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c tulip.c '[ -f /usr/include/linux/modversions.h ]
&& echo -DMODVERSIONS'
This came the linksys page I believe and is for machines with two processors.
>This is the error message I get when I try to compile the tulip.c driver
>from www.scyld.com:
>
>#gcc -DMODULE -D__KERNEL__ -O6 -c tulip.c
>
>tulip.c: In function 'tulip_open':
>tulip.c:1437: structure has no member named 'tbusy'
>tulip.c:1438: structure has no member named 'start'
>.
>.
>.
------------------------------
From: [EMAIL PROTECTED] ()
Subject: Re: Need Red Hat boot.img file
Date: 22 Nov 2000 05:14:58 GMT
On Wed, 22 Nov 2000 03:40:43 GMT,
Poetryman <[EMAIL PROTECTED]> wrote:
>After spending hours trying to
nail down the source of my install
>problems, I have concluded that
something is wrong with the boot.img
>file for Red Hat 7.0.
>The error message I get when booting
from the floppy that I made (using
>RAWRITE) is:
>boot failed: please change disks
and press a key to continue
>If I use the official 5.2 boot disk
from Red Hat, it gets past that
>point, but it dies when autoprobing
to figure out my CD-ROM.
I don't know what's wrong, but here's a
possible workaround. Use the 5.2 boot
disk and skip autoprobing for the CDROM.
Set up 5.2 and use its browser to get
the boot image file for 7.0 from a ftp
site. I haven't had any trouble using the
Linux ftp sites from within Linux.
Then do a whole new install of 7.0 with
your new 7.0 boot disk. I have had no
luck using an older boot disk on a newer
system - the kernels are different.
At least you'll find out if the problem
is really your present boot disk or not.
Maybe somebody else would have a more
sophisticated solution.
MP
------------------------------
From: The Guy <[EMAIL PROTECTED]>
Subject: Re: Lilo Error
Date: Wed, 22 Nov 2000 05:37:32 GMT
I followed the following compiling process: "make config", "make clean",
"make bzImage". Looks like I may have included too much plumbing...
Thanks.
[EMAIL PROTECTED] wrote:
> On Tue, 21 Nov 2000 14:42:28 GMT, The Guy <[EMAIL PROTECTED]>
> wrote:
>
> >Any suggestions? The compiled size of the kernel was about 1.6M. The
> >machine is a PC clone - PIII-550 with 132MB ram. Redhat 6.2 is
> >installed in a standard server configuration.
>
> did you make the kernel with
> make bzImage
>
> ? I no, do it. If yes, try to throw out unused kernel options.
>
> --
> Eggert Ehmke
> Email: [EMAIL PROTECTED]
------------------------------
From: The Guy <[EMAIL PROTECTED]>
Subject: Re: Lilo Error
Date: Wed, 22 Nov 2000 05:38:23 GMT
Thanks. I may have to remove some of the plumbing from the kernel.
Roger Leigh wrote:
> On Tue, 21 Nov 2000 14:42:28 GMT, The Guy <[EMAIL PROTECTED]> wrote:
> >I recompiled my kernel (2.2.12-20) to incorporate support for an
> >embedded NIC on my motherboard, and the compile completed successfully.
> >After amending /etc/lilo.conf to point to the new kernel, I ran lilo,
> >and received an error message indicating that the new kernel was too
> >big.
> >
> >Any suggestions? The compiled size of the kernel was about 1.6M. The
> >machine is a PC clone - PIII-550 with 132MB ram. Redhat 6.2 is
> >installed in a standard server configuration.
>
> Did you try 'make bzImage' instead of 'zImage'? The old zImage format is
> deprecatd. The `big zImage' format allows bigger kernels. Alternatively,
> you could try makeing more stuff as modules, intead of being compiled
> right in.
>
> HTH,
> Roger
>
> --
> Roger Leigh ** Registration Number: 151826, http://counter.li.org **
> Need Epson Stylus Utilities? http://gimp-print.sourceforge.net/
> For GPG Public Key: finger [EMAIL PROTECTED] or see
> http://pgp5.ai.mit.edu/pks-commands.html#extract
------------------------------
From: The Guy <[EMAIL PROTECTED]>
Subject: Re: Lilo Error
Date: Wed, 22 Nov 2000 05:46:23 GMT
Lilo is pointing to /usr/src/linux/vmlinux. I was thinking of moving the
kernel to /boot just to keep things tidy. What is accomplished by pointing
lilo to /usr/src/linux/arch/i386/boot/bzImage ?? Is a copy of the image
automatically placed there, or will I have to copy the kernel there and then
point lilo to it?
As you can tell from the questions, I still have one training-wheel on. :)
"ne..." wrote:
> On Nov 21, 2000 at 14:42, The Guy eloquently wrote:
>
> >I recompiled my kernel (2.2.12-20) to incorporate support for an
> >embedded NIC on my motherboard, and the compile completed successfully.
> >After amending /etc/lilo.conf to point to the new kernel, I ran lilo,
> >and received an error message indicating that the new kernel was too
> >big.
> >
> >Any suggestions? The compiled size of the kernel was about 1.6M. The
> >machine is a PC clone - PIII-550 with 132MB ram. Redhat 6.2 is
> >installed in a standard server configuration.
> Does lilo point to a copy of /usr/src/linux/vmlinux
> or /usr/src/linux/arch/i386/boot/[bz|z]Image? If the
> latter, you need to make some stuff modules. If the
> former, change it to the latter.
>
> --
> Registered Linux User # 125653 (http://counter.li.org)
> Truth has always been found to promote the best interests of mankind...
> - Percy Bysshe Shelley
> 12:37pm up 1 day, 22:22, 10 users, load average: 0.01, 0.03, 0.00
------------------------------
From: qwest <[EMAIL PROTECTED]>
Subject: Redhat 7.0 Install problems
Date: Tue, 21 Nov 2000 22:50:46 -0700
I scanned the last few hundred headers in this group and didn't see
anything about this problem so here goes.
I'm currently been running Redhat 6.2 for the last six months on an
Athlon Motherboard manufactured by Asus. No problems worth mentioning
until I tried to install 7.0. The installation never detected my network
card. This was very repeatable over numerous installs. After the
installation I tried to manually configure the card with both netcfg and
through the command line with the route command --- no success!
I also noticed that neither the server or the KDE desktop installations
allowed me to set the default resolution of the video display. This was
done quite nicely in 6.2.
Just as a sanity check I tried re-installing 6.2 from scratch on a blank
drive after this experience and everything worked fine the first time.
----
------------------------------
From: Poetryman <[EMAIL PROTECTED]>
Subject: Re: Need Red Hat boot.img file
Date: Wed, 22 Nov 2000 06:03:28 GMT
In article <8vfkoi$coo$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] () wrote:
> On Wed, 22 Nov 2000 03:40:43 GMT,
> Poetryman <[EMAIL PROTECTED]> wrote:
> >After spending hours trying to
> nail down the source of my install
> >problems, I have concluded that
> something is wrong with the boot.img
> >file for Red Hat 7.0.
>
> >The error message I get when booting
> from the floppy that I made (using
> >RAWRITE) is:
> >boot failed: please change disks
> and press a key to continue
>
> >If I use the official 5.2 boot disk
> from Red Hat, it gets past that
> >point, but it dies when autoprobing
> to figure out my CD-ROM.
>
> I don't know what's wrong, but here's a
> possible workaround. Use the 5.2 boot
> disk and skip autoprobing for the CDROM.
I don't see where that's an option. Either I
* use one of the listed CDROMs, or
* autoprobe, or
* enter "options." I have no clue what to do about "options." It's some
kind of parameters for configuring the CDROM, but there's no
documentation for what to do.
> Set up 5.2 and use its browser to get
> the boot image file for 7.0 from a ftp
> site. I haven't had any trouble using the
> Linux ftp sites from within Linux.
If I could have set up 5.2, then I wouldn't be asking this now. I got
7.0 because 5.2 would not install (see my paragraph above).
Which FTP sites do you use? I can't see why an FTP site should work
with one OS but not another.
> Then do a whole new install of 7.0 with
> your new 7.0 boot disk.
It seems like just figuring out how to get the correct boot.img would
be easier.
>I have had no
> luck using an older boot disk on a newer
> system - the kernels are different.
I'm not trying to do that. What I've done is to prove
* that I can boot 5.2 (but not install it)
* not boot 7.0
and that the 7.0 boot process stops after vmlinuz runs but before
initrd loads
> At least you'll find out if the problem
> is really your present boot disk or not.
>
> Maybe somebody else would have a more
> sophisticated solution.
>
> MP
>
--
Poetryman
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "D. Abuan" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking,comp.os.linux.questions
Subject: ne2000 setup problems
Date: Wed, 22 Nov 2000 06:59:16 GMT
I'm tackling another little project at work and ran into
some real basic problem. I can't get two ethernet cards to work on a P100
64MB RAM, 10 GB HD.
I have two identical Linksys Etherlan 16 network cards.
alias eth0 ne
alias eth1 ne
eth0 io=0x300 irq=3
eth1 io=0x340 irq =10
These cards were both configured using the standard linksys utility to set
these parameters.
I have done a fresh install of RH6.2 and don't have either of these cards
detected. Yet when I add them to the conf.modules file as above, and run
a ifconfig eth0 up, the card gets recognized but doing the same to eth1, it
gives
me an error where it can't find the cards at all.
Checking the ioports and interrups indicate that there is no conflicts with
these card settings.
I ran the diagnostic check on both cards and the utility said that they were
both
fine.
On a reboot with the conf.module settings above do not show any detection of
the cards.
Does anyone have any other ideas in tackling this problem? I thought these
cards
were pretty much no brainers.
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Lilo Error
Date: Wed, 22 Nov 2000 08:13:22 +0100
Reply-To: [EMAIL PROTECTED]
The Guy wrote:
>
> Lilo is pointing to /usr/src/linux/vmlinux. I was thinking of moving the
> kernel to /boot just to keep things tidy. What is accomplished by pointing
> lilo to /usr/src/linux/arch/i386/boot/bzImage ?? Is a copy of the image
> automatically placed there, or will I have to copy the kernel there and then
> point lilo to it?
>
> As you can tell from the questions, I still have one training-wheel on. :)
>
You should read the HOWTO on kernel compiling.
The compiled kernel is /usr/src/linux/arch/i386/boot/bzImage and NOT
/usr/src/linux/vmlinux
HTH
Eric
------------------------------
From: Wayne Pollock <[EMAIL PROTECTED]>
Subject: Re: Using ps and grep (was Re: setting up a task using crontab)
Date: Wed, 22 Nov 2000 02:11:10 -0500
Have you added your userid (login name) to the crontab.allow file?
(If you don't have a crontab.allow file, is there a crontab.deny file?)
The default behavior of cron when you have both or neither file is
determined by a cron configuration setting someplace.
Next, try setting a cron job to run four hours from now, and keep
the computer running for four hours. Cron has an odd "feature" that
affects when it runs jobs if the computer was turned off for a while,
or if the clock has changed (usually due to a daylight savings time
changeover). I think the time interval for the special behavior
is three hours, hence my advice to try the cronjob for four hours
from now.
Test the crontab by adding a simple entry:
2 18 * * * (echo cron is running | write UserName) >/dev/null 2>&1
(Change the hour (18) and UserName as appropriate.)
Check all crontabs for commands that affect where the output and user
of the cron job is set to. Modern cron allows you to set this.
Check the command you added to crontab by running it at a prompt.
Does it work? If so, check for use of environment variables and
aliases, cron does not set the environment by running any
login scripts! Also no cron job can read input or produce output.
(Cron redirects input from /dev/null and redirects output to email.)
Check the email for that user and anywhere the user's email might
be forwarded to. Cron will send error messages as email back to
the user.
-Wayne Pollock
Richard Allan Holcombe wrote:
>
> Wayne Pollock ([EMAIL PROTECTED]) wrote:
> : "Kurt R. Rahlfs" wrote:
> : > Is cron running? Do:
> : > ps -afe|grep cron
> : > You should see it running (ignore the grep command if it shows up in the
> : > output).
> :
> : Here's a tip, run:
> : ps -afe | grep [c]ron
> : Then the grep command itself doesn't show in the output!
> :
> : -Wayne Pollock
> I might have a similar problem to the original post.
> I simply can't get cron to do anything. I have tried installing
> and uninstalling my crontab, I have stopped and restarted crond, I have
> tried everything that I can think of but I can't figure out why nothing
> happens.
> If I do ps -afe|grep [c]ron I get:
> root 541 1 0 Nov18 ? 00:00:00 crond
>
> so the daemon is running, it seems to have accepted my cron tab, because
> when I do crontab -l, it lists the crontab entries I just put in.
> Any ideas?
>
> The reason that I am trying to use cron is that my computer for some
> reason, will set the clock to be about
> three hours behind the actual time. It does this approximately once an
> hour, but it will do it even when I have stopped the cron daemon, and
> no cron jobs were ever supposed to run at the time that it happens.
> (I am in the Eastern time zone)
> It has done this since my initial install (format hd. install red hat 6.2)
> So my attempted hack to fix this is to use cron.
> --
> Richard Holcombe
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,linux.redhat
Subject: Re: How to run RedHat installation program without running fdisk?
Date: Wed, 22 Nov 2000 08:17:27 +0100
Reply-To: [EMAIL PROTECTED]
Chris F Clark wrote:
>
> I have an HP 9680C with a 40GB ATA Maxtor drive on it. Win 98 2e was
The 40G disc is the problem probably, try supplying CHS values
explicitly when booting
linux hda=C,H,S
(Check the correct syntax)
------------------------------
From: "Dan Jacobson" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake
Subject: Re: ide0=autotune ide1=autotune stalls boot
Date: Wed, 22 Nov 2000 13:08:36 +0800
"Peter T. Breuer" <[EMAIL PROTECTED]> ���g��l��
news:[EMAIL PROTECTED]...
> In alt.os.linux.mandrake Dan Jacobson <[EMAIL PROTECTED]> wrote:
> : ide0=autotune ide1=autotune was added to my grub
> : boot sequence by the Mandrake 7.2 installation
> : script. I have now learned to edit this out on every boot
> : if I want to not stall. It is also found on lilo on the 'rescue floppy'.
>
> Then your MB or disk has something wrong with it. "autotune" means
> choose the best rate offered by the disk. "noautotune" means choose
> a conservative setting, usually PIO. I thought the _default_ was
> "autotune", but obviously I am arong.
all the following i found by a search on www.google.com/linux
http://www.mail-archive.com/cooker%40linux-mandrake.com/msg21840.html
> I think i have the same problem. When i started linux after the installation
it
> hanged after two lines something like ide0 etc. ide1 etc.
> But i could get to the new system by using the rescue disk. there i chroot to
my
> fresh partion. removed the line ' append=" ide1=autotune ide0=autotune" ' in
> lilo.conf. ran lilo and after a reboot it worked.
Yeah, thats what causes the problem - got me too. You can remove the
"ide autotune" lines during install by clicking the grub/lilo entry,
choosing "modify" & deleting them from the "append" line. Where some
chips work fine with "hdparm" they can't do autotune. N.B. you can also
boot with your install CDROM & choose "update" instead of "install" to
get to this dialog, & modify your lilo settings. Perhaps, in the "Help"
section at the bottom of the screen, it might be an idea to say what
"Hard Drive Optimisations" is actually setting - something like: "This
enables DMA, 32bit I/O, & appends bla bla bla to your lilo.conf, which,
with some chipsets, will cause your machine to hang at boot"...
http://www.tux.org/hypermail/linux-kernel/1999week23/1161.html
> else? Or should bootup autotuning be abandoned altogether?
Nope, it is just a real pain to write code that you can not fully test.
I have now tested this code and it works.
--
www.geocities.com/jidanni E-mail: restore ".com." �n����
Tel:+886-4-5854780; starting in year 2001: +886-4-25854780
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Jacco van Schaik)
Subject: Re: Gnome doesn't start after install of RH 7 for logging in
Date: Wed, 22 Nov 2000 08:00:58 GMT
So "Rick Asten" <[EMAIL PROTECTED]> says:
> Have just installed RH 7 onto my machine - clean install - workstation
>
> Formerly had RH6.2 on it.
>
> Installation went successfully, but when login prompt appears, I don't get
> the graphical/gnome login prompt appearing a split second after the text
> login - which was was happened with RH6.2.
>
> Any tips? Kinda urgent - work to do etc.
>
> Thanks, much appreciated, Abigail. R.
Go into /etc/inittab, change the line
id:3:initdefault:
into
id:5:initdefault:
That should do it.
Groeten, - Jacco
--
Think about it: | IRL: Jacco van Schaik
|
If the wheel had never been | Mail me: jacco at frontier dot nl
reinvented, we'd still be | Spam bait: postmaster@localhost
driving on logs... |
------------------------------
** 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
******************************