Linux-Setup Digest #411, Volume #21              Sun, 10 Jun 01 15:13:09 EDT

Contents:
  Re: LILO failure, what to do? Please help. (delta)
  XFree4.1.0 Problem Please help (Masoud Pajoh)
  Re: kernel 2.4.4 compilation (inon)
  Re: Redhat 7.1: Whay linuxconf not run on KDE? (I.M.Sanders)
  Linux + Win NT: installation method recommendation (Neil Zanella)
  Re: 2GB File size limitation (Kent A Vander Velden)
  Shift Fx keys in RH Linux (* Tong *)
  Re: Hard drive performance w/ hdparm (Michael Perry)
  RH 7.1 and system  bios (I.M.Sanders)
  Re: unable to find a file ! (Vilmos Soti)
  Re: 2GB File size limitation (Betastar)
  Re: how to forbib telnet for an IP using RH 7.0 (David Efflandt)
  Partitions vanished, Linux working: How is it possible? ("Chris Gordon-Smith")
  Re: moving Linux to another drive (Dan Yocom)
  Re: Problem installing new HD... (James Doyle)
  Re: 2GB File size limitation ([EMAIL PROTECTED])
  konquerer and java? (gman1)
  Re: Shift Fx keys in RH Linux ("Mark A. Flacy")
  Re: /bin/login cannot be removed ("Peter T. Breuer")

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

From: [EMAIL PROTECTED] (delta)
Crossposted-To: comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.help
Subject: Re: LILO failure, what to do? Please help.
Date: 10 Jun 2001 09:27:44 -0700

"Eric en Jolanda" <[EMAIL PROTECTED]> wrote in message 
news:<TWEU6.72928$[EMAIL PROTECTED]>...
> > Now I encountered an issue with LILO. I was installing RedHat, at one
> > point, it hit "Bootloader installation failed" and can't go further with
> > LILO installation. I wonder what could lead to this failure?
> 
> We will need the full error message ofcourse to tell you why it failed.
> But I suspect the install completed, and just lilo encounterd an error.
> Use a bootfloppy, or teh install CD to boot the sytem for the first time.
> with CD: linux root=/dev/hdXXX
> where hdXXX is your / partition
> 
> > Could it be
> > that my Windoze ME hasn't been installed? I doubt it.
> 
> Me too.
> 
> run `/sbin/lilo -v -v` once you've booted the system, and you'll get a more
> descriptive error message.
> 
> Eric

Thanks. I will follow the suggestion.

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

From: Masoud Pajoh <[EMAIL PROTECTED]>
Subject: XFree4.1.0 Problem Please help
Date: Sun, 10 Jun 2001 16:40:25 GMT

Hi All;
I am running RH 7.1 + Ximian1.4 on with Matrox  G400 +32MB video card.
I had so many Xwindows Crashes a day, may be 3 or 4, that I decided to
upgrade to Xwindows 4.1.0.  I down loaded the files from the XFree.org.
Read the README file and installation seemed to go well.  But now when I
try STARTX  get this message:
    xinit: No such files or directory: No 'x' server.
Tried to run XFree86 -configure it dumps the core, so ran xf86config,
but it made no difference, i.e. ended up with the same message.

I tried to find the command "X", but i cannot find it anywhere.

Please help what am I missing.
Any help is appreciated.

Thanks very much.

Masoud



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

From: [EMAIL PROTECTED] (inon)
Crossposted-To: alt.os.linux.suse,alt.os.linux
Subject: Re: kernel 2.4.4 compilation
Date: Sun, 10 Jun 2001 16:58:32 GMT

>It says that after recompiling the kernel, if you have the driver built into
>the kernel and the previous kernel had it configured (during installation)
>as a module, then the kernel will still try to load the module of the same
>driver and this leads to the system blocking.
>
>A solution to this is given in page 453.
>
>I hope this helps.
>
>Nikolaos

Can you please post what Pg# 453 says (if not the whole text, at least
main points). Thanks a bunch.

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

From: I.M.Sanders <i'[EMAIL PROTECTED]>
Subject: Re: Redhat 7.1: Whay linuxconf not run on KDE?
Date: Sun, 10 Jun 2001 12:03:49 -0500

On Thu, 17 May 2001 00:51:59 GMT, "Huy Vu" <[EMAIL PROTECTED]> wrote:

>Hi all,
>
>I'm trying Redhat 7.1 and setup KDE as default desktop and reset Firewall
>level to no FireWall.
>
>After startup KDE control-panel, I tried to click on linuxconf icon but not
>thing come up.
>
>Nothing happen in running linuxconf from run command menu or from kconsole
>terminal.
>
>Does someone see this problem before?
>
>Thanks in advance for any help.
>
>DH
>
while in KDE put the cd in and a browser will launch. double click on
the rpm you want to install, and it will automatically  install. This
may not be the recomended way but it works.
another newbie here.

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

From: Neil Zanella <[EMAIL PROTECTED]>
Subject: Linux + Win NT: installation method recommendation
Date: Sun, 10 Jun 2001 14:35:44 -0230


Hello,

I just finished installing WinNT (Win2K) and Linux on a blank hard drive
using only the Red Hat installation CDs and the Win2K CD. If you are just
about to install the two operating systems from the CDs then this message
is for you. I will list the steps involved. Of course there are other
methods too but I find the following to be extremely easy:

Stage 1: partitioning

- First boot with the RHL CD.
- At the repartitioning message choose fdisk.
- Create the following:
  /boot 22MB or more primary partition on /dev/hda1
  /dos 8MB or more primary partition on /dev/hda2
  /win 800MB or more primary partition on /dev/hda3
  extended partition for Linux on the rest of the hard drive!
- set the partition type of /dev/hda3 to 7 (HPFS/NTFS) assuming
  you will install Win2K on NTFS and not on FAT.
- do not proceed with the installation. Reboot with CTRL-ALT-DEL.

Note: DOS is good to have because suppose you need to perform a BIOS
      upgrade... then you cannot do this from Linux and you cannot
      do this from NTFS. Of course you can also boot from a floppy
      so this option is entirely up to you. But if you don't have
      a floppy drive or a CD Burner to make a bootable DOS CD (which
      would be a waste) then making this partition is IMHO a must.
      It does not take up that much room either. Make it as small
      as possible.

Stage 2: Installing win: insert the WinNT CD, boot from it, install WinNT.

Stage 3: insert the RHL CD. install Linux

Step 4: Oh no, we cannot boot windows any more ;-)
        Don't worry. Just boot into Linux and edit /etc/lilo.conf
        so as to add:
        other=/dev/hda3
            lable win
            table=/dev/hda
        rerun /sbin/lilo as root

        I wonder why Red Hat did not ask me whether I wanted to do this
        during installation. It used to. Oh well...


Step 5: halt

Step 6: enjoy both

Step 7: if you ever need that dos partition you've got the partition
        already sitting there. No need to go through the other hassles.

I hope this was helpful.

Have fun!

Neil


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

From: [EMAIL PROTECTED] (Kent A Vander Velden)
Crossposted-To: 
comp.os.linux.misc,comp.os.linux.x,linux.redhat,linux.redhat.install,linux.redhat.misc,redhat.kernel.general
Subject: Re: 2GB File size limitation
Date: 10 Jun 2001 17:00:35 GMT

[EMAIL PROTECTED] wrote:

> My advice: just don't. Why do you need big files, anyway?

  And who would need more than 640K?  I run into the 2GB limit too
frequently with scientific datasets.  It is a real pain in the behind.

---
Kent Vander Velden
[EMAIL PROTECTED]
-- 
Kent Vander Velden
[EMAIL PROTECTED]

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

From: * Tong * <[EMAIL PROTECTED]>
Crossposted-To: comp.emacs
Subject: Shift Fx keys in RH Linux
Date: 10 Jun 2001 14:15:57 -0300

Hi,

Why can't I use Shift Fx keys in Linux, namely RH6.2?

This question really has nothing to do with emacs. But I have a
feeling that the answer will come from those who care about those
Shift Fx keys. 

My keyboard should be no different than others':

Section "Keyboard"

    Protocol    "Standard"

    AutoRepeat  500 5

    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    Xleds      1 2 3

    #To set the LeftAlt to Meta, RightAlt key to ModeShift, 
    #RightCtl key to Compose, and ScrollLock key to ModeLock:
    LeftAlt        Meta
    RightAlt        Meta
   ScrollLock      Compose
   RightCtl        Control

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#    XkbDisable

# These are the default XKB settings for XFree86
   XkbKeycodes     "xfree86"
   XkbTypes        "default"
   XkbCompat       "default"
   XkbSymbols      "us(pc101)"
   XkbGeometry     "pc"
   XkbRules        "xfree86"
   XkbModel        "pc101"
    XkbLayout       "us"
EndSection

But I guess my Shift-Fx keys is not mapped right, because none of my 
Shift-Fx-key Emacs functions works in my Linux. They are working
fine in Solaris, and even in Vnc that started in my Linux. 

Have any of you noticed this problem? How did you solve it? Thanks.

-- 
Tong (remove underscore(s) to reply)
  *niX Power Tools Project: http://xpt.sourceforge.net/
  - All free contribution & collection

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

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Hard drive performance w/ hdparm
Date: Sun, 10 Jun 2001 17:22:45 -0000
Reply-To: [EMAIL PROTECTED]

On Sat, 9 Jun 2001 20:11:42 -0500, Dave Uhring <[EMAIL PROTECTED]> wrote:
> 
> Thanks for the post.  It made me reread man hdparm and this is what I got 
> with hdparm -X69 -d1 -u1 -c3 -m16 /dev/hda
> 
> 
> /dev/hda:
>  Timing buffer-cache reads:   128 MB in  0.93 seconds =137.63 MB/sec
>  Timing buffered disk reads:  64 MB in  1.79 seconds = 35.75 MB/sec
> 
> Using MSI K7T Pro2-A MB with IBM-DTLA-307045 HDD.
> 
Hi Dave-

One of my athlons is this chipset.  Very satisfying system.  I have a very
cheap drive on it (Western Digital 30g) and will probably be swapping it out
for the maxtors.  Out of curiosity, what do the IBM drives cost and did you
get them direct from IBM or a reseller?  This looks like very nice
performance you are getting with the hdparm changes.  Did you capture the
before by any chance?  I didn't and I really do not want to return to those
"yesteryears" of performance for any reason.  Besides I would need to reboot
and I hate doing that.  The oreilly article in my post contains some before
and after and its pretty significant what you can get in performance
increases.  For me, its boiled down to a new kernel, mtrr support, support
for dma in the kernel, etc.  The 2.4.x series has made a lot of difference
as well as keeping updated with debian unstable.

Thanks for sharing the hdparm stats.  I spent a little time studying hdparm
awhile ago and finding web resources for it.  Its nice to see what kind of
performance increase one can get by simply switching ide modes.

Take care!

-- 
Michael Perry
[EMAIL PROTECTED]
====================

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

From: I.M.Sanders <i'[EMAIL PROTECTED]>
Subject: RH 7.1 and system  bios
Date: Sun, 10 Jun 2001 12:40:23 -0500

   I took an 8 gig hard drive, fdisk with winme startup disk,
formatted each partition, then installed RH 7.1
   Windows is not on this computer.
   Before installing RH the bios auto detected the hard drive, after
the install it will not.
The only way to boot the computer is with a floppy, the reason being
that the hard disk isn't detected during post.
   During the install I selected auto format and install, I believe in
linux native. I notice that during boot with the floppy the hard drive
is correctly identified, but not during post.
   Also, I chose full server install, that is everything on the disk.
Being new to linux I wanted to examine all the programs and become
familiar with each.
   I have to say that I really like what I've seen so far, and I see
no reason at this time why linux won't do everything I need to do.
   Still this post problem with the hard drive bugs me.
   I did run 'lilo -v', so I know the boot sector is written to the
hard drive. I also entered the drive info in the bios and still no go.
   I've never written in anything but basic, and dos, so I imagine
I'll be lost in unix for sometime yet.
   By the way my email address is clearly a fake, so please respond to
this news group if anyone has an idea about how to correct this
problem.


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

Crossposted-To: comp.os.linux.misc
Subject: Re: unable to find a file !
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sun, 10 Jun 2001 17:52:48 GMT

Didier Baertschiger <[EMAIL PROTECTED]> writes:

> I have an executable file (maple)  in a directory which is totally
> impossible to start !  All the accesses are ok (chmod +x ...).
> 
> When I do a "ls -l"   everything seems to be ok ,  but when I want to
> run it, impossible !   the bash says that there is no file or repertory
> of this type.

You already got some good advice, but here is one more.
Make sure that the partition on which your maple resides is not
mounted with the noexec flag.

Vilmos

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

From: [EMAIL PROTECTED] (Betastar)
Crossposted-To: 
comp.os.linux.misc,comp.os.linux.x,linux.redhat,linux.redhat.install,linux.redhat.misc,redhat.kernel.general
Subject: Re: 2GB File size limitation
Date: Sun, 10 Jun 2001 17:57:44 GMT

On 10 Jun 2001 17:00:35 GMT, [EMAIL PROTECTED] (Kent A Vander
Velden) wrote:

>[EMAIL PROTECTED] wrote:
>
>> My advice: just don't. Why do you need big files, anyway?
>
>  And who would need more than 640K?  I run into the 2GB limit too
>frequently with scientific datasets.  It is a real pain in the behind.

That's where I'm running into problems too - DNA sequence databases.

Betastar


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

From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.os.linux.misc
Subject: Re: how to forbib telnet for an IP using RH 7.0
Date: Sun, 10 Jun 2001 18:15:04 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Sun, 10 Jun 2001 11:03:19 +0200, tito <[EMAIL PROTECTED]> wrote:
> Hello people. I would like to know how I could to made this using RedHat
> Linux 7.0:
> 
> -I have one machine on my LAN with IP 90.0.0.1. This PC has Telnetd
> running.
> -I want the another machines in my LAN could make telnet to 90.0.0.1,
> bue that only the IP 90.0.0.2 couldnt make telnet tto 90.0.0.1.
> 
> I made this some time ago but not remember. I think I modify
> /etc/hosts.deny on my 90.0.0.1 PC...but what lines may I out on
> /etc/hosts.deny?

See man 5 hosts_access

Assuming telnetd is running from (x)inetd (not constantly as a daemon) 
maybe in host.allow you want something like:

in.telnetd: 90.0.0. EXCEPT 90.0.0.2

If you allow everything you want to allow in /etc/hosts.allow then
/etc/hosts.deny should typically have ALL: ALL

But you should NOT use those IP's unless they were assigned to you by
your ISP.  IP's for a private LAN should be in the ranges 192.168.x.x,
172.16.x.x or 10.x.x.x

-- 
David Efflandt  (Reply-To is valid)  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: "Chris Gordon-Smith" <[EMAIL PROTECTED]>
Subject: Partitions vanished, Linux working: How is it possible?
Date: Sun, 10 Jun 2001 19:33:07 +0100

Can anyone throw any light on this rather strange situation?

My PC has two discs. I run Windows 95 on the first, and Mandrake 7.2 on the
second. In addition to my Linux partitions on the second disc, I also have
some extra FAT partitions which are accessible from Windows.

If I look at the second disc with DiskDrake, it claims that it is empty
and has no partitions. Grub also can't see any filesystems on the second
disc.  However, if I look at it with Linux fdisk, everything looks OK. 

Both the Windows installation and the Mandrake
installation are working fine. The only problem is that I can't do
anything with HardDrake or configure Grub.

Any thoughts on what the problem might be or how I can fix it would be
welcome.

One other point. In order to enable access to the second disc from
Windows, I use some 'Overlay' software which Fujitsu provided with 
the disc. This loads immediately before Windows 95. It doesn't load 
when I use Linux, which I always boot from floppy..

Chris Gordon-Smith
Kent UK

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

From: Dan Yocom <[EMAIL PROTECTED]>
Subject: Re: moving Linux to another drive
Date: Sun, 10 Jun 2001 14:33:42 -0400

Yves Bellefeuille wrote:

> On Thu, 7 Jun 2001, "Dan Yocom" <[EMAIL PROTECTED]> wrote:
> 
>> Currently I have a dual boot system on an 8.4 GB Hd. I have my HD
>> partioned like this. 5 gb (win98) 2.5(/ ext2) ??? (swap) im at work
>> right now so i don't have the exact values. However, i recently was
>> given a 3 GB hd an i want to move linux onto that HD.
> 
> Have a look at the "Hard Disk Upgrade Mini How-To".
> 
Thanks, I will check it out

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

From: James Doyle <[EMAIL PROTECTED]>
Subject: Re: Problem installing new HD...
Date: Sun, 10 Jun 2001 18:41:45 GMT

Ack, never mind...I found the problem.  I had replaced a CD-ROM drive
that used to be hdb, and I had been using IDE-SCSI, and had :

append="hdb=ide-scsi" 

in my lilo.conf.  

-- 
James Doyle
[EMAIL PROTECTED]

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

Crossposted-To: 
comp.os.linux.misc,comp.os.linux.x,linux.redhat,linux.redhat.install,linux.redhat.misc,redhat.kernel.general
Subject: Re: 2GB File size limitation
From: [EMAIL PROTECTED]
Date: 10 Jun 2001 14:54:43 -0400

[EMAIL PROTECTED] (Betastar) writes:
> (Kent A Vander Velden) wrote:
>>[EMAIL PROTECTED] wrote:
>>> My advice: just don't. Why do you need big files, anyway?

That's still my advice, whenever possible.

>> I run into the 2GB limit too frequently with scientific datasets.
> 
> That's where I'm running into problems too - DNA sequence databases.

Are you using Oracle by any chance? Oracle can easily be configured
to store data in multiple datafiles. This feature was invented mainly
for performance reasons--but one upshot was that multi-multi-gigabyte
databases could easily be stored, even though at the time most OSs didn't
support huge files.

The performance factor shouldn't be sneezed at, though. Splitting your
files can improve performance immensely--especially if it allows you to
stripe your data across multiple spindles. If you are writing your own
tools, or can configure existing tools for multiple files, it's well
worth your trouble.

However, whichever way you look at it it will be a pain. You have my
sympathy.

Len.

-- 
POSIX is a ``standard'' designed by a vendor consortium several years
ago to eliminate progress and protect the installed base.
                                        -- Dan Bernstein

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

From: gman1 <[EMAIL PROTECTED]>
Subject: konquerer and java?
Date: Sun, 10 Jun 2001 19:03:25 GMT

I have redhat 7.1-

How do I get Java, and Javascript to work with Konquerer?

I don't have a 'java' program so should i download:
(A)kaffe?
(B)java from blackdown?
(C)JRE from sun or rpmfind?
(D)JDK from sun or rpmfind?
(E)or is there some java from the red hat 7.1 package i can install?

Thanks In advance for any help!

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

From: "Mark A. Flacy" <[EMAIL PROTECTED]>
Crossposted-To: comp.emacs
Subject: Re: Shift Fx keys in RH Linux
Date: 10 Jun 2001 13:58:39 -0500

Is this under X-windows?  If so, does your window manager intercept the
Shift-Fx keys? 

What does C-h c S-F1 tell you? 

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat,comp.os.linux.misc
Subject: Re: /bin/login cannot be removed
Date: Sun, 10 Jun 2001 20:56:00 +0200

In comp.os.linux.setup Stephen Rank <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Dowson Tong) writes:

> [ ... ]
>> I suspect that my system was hacked with a bad /bin/login.
>> Anyway, how can I removed this file under ext2?  I really
>> don't want to reformat my drive if possible...

> If you have been cracked, then you've got no choice but to reinstall.

Sure he does. Just check the md5sums. (boot from a rescue diskette or
cd to be doubly sure .. but I'm not sure I'd bother after restoring
login, ps, ls and a few more).

> Until you do that, you don't know which programs are trustworthy &

Yes he does.

> which aren't.  In particular, things like netstat, ls, and ps may well
> have been tampered with.

And therefore should be swapped out to check.

Peter

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


** 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