Linux-Setup Digest #367, Volume #21               Mon, 4 Jun 01 04:13:07 EDT

Contents:
  Re: Newbie with a question (Stanislaw Flatto)
  Re: ATA100 Card ("Benjamin Scherrey")
  Re: installing from the harddisk (Riyaz Mansoor)
  Re: installing from the harddisk (Riyaz Mansoor)
  Re: Root File System Corruption ("Peter T. Breuer")
  Re: Can't Telnet, FTP or Send Email to Linux Box ("CB")
  Re: installing from the harddisk ("Peter T. Breuer")
  Re: Root File System Corruption ("Peter T. Breuer")
  kernel version number ([EMAIL PROTECTED])
  Re: External Superdisk (Markus Kossmann)
  Re: How restore Gnome as default desktop? (Jason Lott)
  various RH7.1 setup problems ("Tony Tay")
  Re: RH7.1 & AIC-7896 ("Slash")
  Re: howto move the errors from gcc to a file? (Naftali Salz)
  RH 7.1 and Adaptec AHA-1542 (Huub)

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

From: Stanislaw Flatto <[EMAIL PROTECTED]>
Subject: Re: Newbie with a question
Date: Mon, 04 Jun 2001 15:27:11 +1000



[EMAIL PROTECTED] wrote:

> Hello.  I hope I am in the right group for my question and I certainly am
> not trying to test anyone's patience.

Welcome!

> I am a Windows "vet" ( since about 1993 ) but have done a lot of extensive
> reading on Linux and it's dominance on the web, ect.

So you are not pampered by Win95 but remember DOS 4, 5 ,6 and Win3.11
It may come VERY handy in Linux.

> This is something I really would like to learn because I intend to broaden
> my horizons with programming, ect.

Then, for your own sake, go for the most difficult (for MS-Glassware escapees)

distribution. It may take few hours longer to setup, and few more pages to
read, but this time spent on learning to tame the "beast" pays handsomely
later as it makes you confident that nothing is difficult.

> 1.  As an individual who does not know the first thing about Linux, which
> version would you recommend (preferably free ) to be installed on a 166mhz
> pentium with 2 hard drives ( a 2.0 and a 6.0 )that I would like to
> configure to be a "dual boot" system.  I am currently running Windows 98
> second Edition.

They all can dual, tripple....octuple and more boot. You are the boss.

> 2.  Does anyone know of any outstanding links on the net geared towards
> Linux and the newbie ?

A very good book on Unix/Linux administration is your street directory.
Reading from screen and trying to configure the system at the same time, you
must be kidding!


> 3.  I keep hearing horror stories of system crashes.  How much risk of
> crashing a system during an install is there and can it permanately damage
> the system ?

Permanent damage? What? a little sparks and smoke? Not for newbies but it
happens to gurus. Wait few month till this will be an issue.
Have booting diskette ready for EVERY OS that resides on your box and you are
almost 100% safe.

>
> Thanks
>

Stanislaw.
Slack user from Ulladulla.



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

From: "Benjamin Scherrey" <[EMAIL PROTECTED]>
Subject: Re: ATA100 Card
Date: Mon, 04 Jun 2001 00:15:10 -0400

You need an upgraded kernel to recognize the ATA100 stuff. I think 2.2.19
works and I know the 2.4.x stuff works.

        Good luck,

                Ben Scherrey

In article <[EMAIL PROTECTED]>, "John L. Sielke"
<[EMAIL PROTECTED]> wrote:

> OK, I decided I needed a bigger HSD, so I got a Quantum 40GB drive. My
> old PII 300Mhz had an onboard IDE interface, which wouldn't work with
> the new drive, so I go aSIIG UltraATA100 PCI card. Everything works in
> Windows, but Linux doesn't see the card or drive. I have been running
> Linux 6.2, (kernel 2.2.5) but tried installing RH 7.0 with the new HD,
> but it still didn't see it.  Any suggestions please?
> 
> John
> 
>

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

From: Riyaz Mansoor <[EMAIL PROTECTED]>
Subject: Re: installing from the harddisk
Date: Mon, 04 Jun 2001 15:54:10 +1000

"Peter T. Breuer" wrote:

> Riyaz Mansoor <[EMAIL PROTECTED]> wrote:
>
> > i've copied all the directories/files under the Redhat directory to a
> > directory in my windows drive. after i boot from linux floppy i point to
> > that directory and it says image not found. is it looking for the the big
> > .iso file? or just the files?
>
> Just the files. You probably either got the directory wrong,
> or you have mesed up the capitalization of the directory and file names
> during the copy.

my windows drive is primary slave

i copied the files in the "RedHat" directory to the root and another dirctory
by the name "rh". when asked where on the harddrive the files are i select
"hdb1" and tried the following.

leaving the directory blank,
writing "rh"
writing "base"
writing "RPMS"
writing "rh/base"
writing "rh/RPMS"

gives an error saying image not found.

i checked the capitalizations and it seems fine. "base" , "RPMS" and the rest
are in lower case.


>
>
> > if i can get past this.
>
> > please help
>
> Can't, without data. What are you DOING, for example? Be precise.
> Show command lines exactly, if you can.
>
> Peter


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

From: Riyaz Mansoor <[EMAIL PROTECTED]>
Subject: Re: installing from the harddisk
Date: Mon, 04 Jun 2001 16:08:46 +1000


just found out that rh7.1 does indeed look for the iso9660 image from the
harddisk during a harddisk installation. so guess now i'll have to download that
big file. is there anyway to convert the cd files to an iso image?




Riyaz Mansoor wrote:

> "Peter T. Breuer" wrote:
>
> > Riyaz Mansoor <[EMAIL PROTECTED]> wrote:
> >
> > > i've copied all the directories/files under the Redhat directory to a
> > > directory in my windows drive. after i boot from linux floppy i point to
> > > that directory and it says image not found. is it looking for the the big
> > > .iso file? or just the files?
> >
> > Just the files. You probably either got the directory wrong,
> > or you have mesed up the capitalization of the directory and file names
> > during the copy.
>
> my windows drive is primary slave
>
> i copied the files in the "RedHat" directory to the root and another dirctory
> by the name "rh". when asked where on the harddrive the files are i select
> "hdb1" and tried the following.
>
> leaving the directory blank,
> writing "rh"
> writing "base"
> writing "RPMS"
> writing "rh/base"
> writing "rh/RPMS"
>
> gives an error saying image not found.
>
> i checked the capitalizations and it seems fine. "base" , "RPMS" and the rest
> are in lower case.
>
> >
> >
> > > if i can get past this.
> >
> > > please help
> >
> > Can't, without data. What are you DOING, for example? Be precise.
> > Show command lines exactly, if you can.
> >
> > Peter


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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Root File System Corruption
Date: Mon, 4 Jun 2001 08:29:25 +0200

Robert Morelli <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, "Dave Uhring"
> I've run Caldera OpenLinux 4.2,  Red Hat 6.2,  and Red Hat 7.1
> on this machine on different partitions.  They're all slightly flakey 

Typical RH behaviour. But if you strip the horrible gui stuff out of RH
you should be OK. And if you do the same to caldera and upgrade it to
debian stable it should also be fine.

> in their own ways.

> There may be some misunderstanding about the meaning of terms
> like "flakey" and "reliable" in the Linux community.  When I use the
> term "flakey,"  I don't mean that the kernel crashes frequently.
> In fact,  it rarely does.  I mean things like applications crashing for no
> obvious reason,  warning dialog boxes poping up with nonsense 

Ya.

> strings of characters,  fdisk reporting no space left on a drive that
> has 15 GB unformatted space,  etc.

You probably have an fdisk written before drives wuth 15GB of
unformatetd space existed. As far as I call fdisk had an integer
wrap bug at some strange amount of sectors .. whenever I had
intimations from fdisk that it was having trouble I used to do
binary search to find the boundary location  and leave about 60MB
of empty space there. Yes, I can believe another bug like that existed.
But it's hardly a problem once you realize what's up.

> The system I'm referring to is only about 2 months old.  I insisted that

Yep. Then it's absolutely certain that it's unsupported! Don't get
two-month old systems. Get systems that have old mobos and old disks.
I am very careful never to buy bugs!

> the vendor test the system with Linux to make sure every component

Well, then he failed. Not surprising, since he can only get hold of hew
stuff. If you have a cooperative supplier, you need him to hold
onto newish items for you for 6 months, until drivers are
written, and for him to maintain an inventory of items that are known
stable. Such as asus bx mobos, intel eepros, matrox graphics cards,
etc. etc.

> is fully compatible.  I had an electrician make sure the power in the
> house was clean.  Then I installed the system on a $150 UPS
> as well.  If my hardware is still flakey,  I don't really know what
> else I can do to deal with it.

It is flaky - by definition. About 15% of new systems arriving here
have failures within 1 month in some major component (mobo, processor,
memory, disk, etc.). About another 10% fail by the end of the first
year. It takes a long time sometimes to find a less flaky component
and purge it, but it's still there and flaking the whole time. And
then there are the DESIGNED flakes ...

>> google. Open up your case and clean your heat sink/fan assembly.  Clean
>> out all the ducts where the lint and crud have accumulated.  Re-install
>> the system using reiserfs or SGI's XFS.  Or learn how to implement and
>> use the Alt-SysRq key combinations to shut the system down when

Useful, I admit. Heat and speed stress tests are also useful.

>> everything else seems to freeze up.  Read
>> /usr/src/linux/Documentation/sysrq.txt.  In fact print it out and have
>> it handy the next time you need it.
>> You can find the XFS ISO at
>> ftp://oss.sgi.com/projects/xfs/download/Release-1.0/iso  You will also
>> need the 2 RedHat-7.1 CD's with this.  You can install Mandrake-8.0 or
>> Suse-7.1 using the reiserfs option.

> Are reiserfs and XFS really mature enough to be more reliable than
> ext2 right now?  I thought those systems were barely out of beta testing.

xfs is really really good. I imagine that both xfs and reiserfs will
have problems with data recovery when catastrophy strikes even them,
but until that happens they'll be sweet.

A cute thing about xfs is that I can mount it on a RAID1 mirror over
NBD and have the NBD image mounted readonly at the other end! The
metadata-first writes guarantee that the image is always coherent :-).
(what data is in the coherent image is another question :-().

Peter

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

From: "CB" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.networking,comp.os.linux.redhat,nl.comp.os.linux.installatie
Subject: Re: Can't Telnet, FTP or Send Email to Linux Box
Date: Mon, 04 Jun 2001 06:49:23 GMT

I'm wrestling with a similar problem (can't telnet/ftp).  I did do as
suggested below and discovered that telnet-server and wuftpd were not
installed.  I then installed them from the CD.  So now the file
/etc/xinetd/telnet exists (as well as /etc/xinetd/wu-ftpd).  I have
commented out the 'disable = yes' line in both.  I then re-ran
/etc/rc.d/init.d/xinetd
 restart.  Then I tried a ps -e to find the telnet process and had no luck.
I also cannot telnet to the machine from another computer.  (I can, however,
telnet to itself).  Any suggestions are appreciated.
Thanks,
Chuck




"Dean Thompson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Hi Frank,
>
> > I just installed the "boxed" version 7.1 of Red Hat Linux using a custom
> > install.  I made sure the firewall was disabled, yet I cannot Telnet,
FTP
> > or send email to my Linux box. I have network connectivity including a
> > working DNS server - I can ping to/from the box via hostname.
>
> First you need to check to make sure that the packages are installed.  A
> simple test is to do the following:
>
> rpm -qa | grep telnet-server
> rpm -qa | grep wuftpd
> rpm -qa | grep sendmail
>
> If you have checked all of this and they all return packages then you have
the
> correct packages installed.  The next thing is to check the files:
>
> /etc/xinetd.d/telnet
> /etc/xinetd.d/wu-ftpd
> /etc/xinetd.d/sendmail
>
> and check to make sure that they don't have the line: "disable=yes" in
them.
> If they do, you need to remove the line or change the line to read
something
> like: "disable=no".  You can then issue the command:
/etc/rc.d/init.d/xinetd
> restart.
>
> This should restart your services.
>
> You might want to take a look in /var/log/messages to see whether or not
> xinetd logged what services were started when it restarted.
>
> See ya
>
> Dean Thompson
>
> --
>
+____________________________+____________________________________________+
> | Dean Thompson              | E-mail  - [EMAIL PROTECTED]
|
> | Bach. Computing (Hons)     | ICQ     - 45191180
|
> | PhD Student                | Office  - <Off-Campus>
|
> | School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)
|
> | MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077
|
> | Melbourne, Australia       |
|
>
+----------------------------+--------------------------------------------+



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: installing from the harddisk
Date: Mon, 4 Jun 2001 08:34:49 +0200

Riyaz Mansoor <[EMAIL PROTECTED]> wrote:
> "Peter T. Breuer" wrote:

>> Riyaz Mansoor <[EMAIL PROTECTED]> wrote:
>>
>> > i've copied all the directories/files under the Redhat directory to a
>> > directory in my windows drive. after i boot from linux floppy i point to
>> > that directory and it says image not found. is it looking for the the big
>> > .iso file? or just the files?
>>
>> Just the files. You probably either got the directory wrong,
>> or you have mesed up the capitalization of the directory and file names
>> during the copy.

> my windows drive is primary slave

> i copied the files in the "RedHat" directory to the root and another dirctory

This sounds wrong. You need the RedHat directory, don't you (note
caps)? Isn't the package list up there or nearby? I distincly remember
always having to give some path that included at least the word RedHat.

> by the name "rh". when asked where on the harddrive the files are i select
> "hdb1" and tried the following.

> leaving the directory blank,
> writing "rh"
> writing "base"
> writing "RPMS"
> writing "rh/base"
> writing "rh/RPMS"

> gives an error saying image not found.

> i checked the capitalizations and it seems fine. "base" , "RPMS" and the rest
> are in lower case.

There shoudl be several directories in mixed capitalization. RedHat is
one of them!

Peter

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Root File System Corruption
Date: Mon, 4 Jun 2001 08:31:57 +0200

Robert Morelli <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, "Peter T. Breuer"
> <[EMAIL PROTECTED]> wrote:


>> Robert Morelli <[EMAIL PROTECTED]> wrote:
>>> is it likely that whatever was put in lost+found is part of an
>>> important file that is now damaged?
>> Have a look, and you may well find out.  Peter

> I looked.  Looks like binary trash to me.  I'd be happier

How long is it? If it's 40bytes, then it's some random tmp file.
If it's 4096 bytes then it well might be a block of an executable.

> if it were a paragraph of a readme.  I really don't know
> where it might have come from.

Presumably you don't have your disk separated into distinct partitions
for / /boot /var /usr? (hints! ;-).

If your distro maintains md5sums for installed files, you should be
able to check that database.

Peter

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

From: [EMAIL PROTECTED]
Subject: kernel version number
Date: Mon, 04 Jun 2001 07:02:22 GMT

As far as kernel versions go, say we have:

2.2.12-20

we have the major number, minor number, and patch level, what does the
-20 represent?

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

From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: External Superdisk
Date: Mon, 04 Jun 2001 08:32:16 +0200

Iain Jameson wrote:
> 
> Hi Folks
> 
> Anyone managed to get an external Imation superdisk to work?
> I have exhausted all avenues, and it still just sits there.
> 
> Doing a cdrecord -scanbus shows
> 
> scsibus1:
> 1,0,0   100) 'MATSHITA' 'LS-120 VER5   00' 'F523' Removable Disk
> 
> scsibus0 is the cdrw.
> 

AFAIK the LS-120 medias are superfloppies (without partition table) . So
try as root (assuming there is no other SCSI disk in your system)  :
mount -t vfat /dev/sda /<some mountpoint>
If that works, you can add a entry for the superdisk in /etc/fstab (
with the appropriate mount options i.e.  user uid gid umask quiet , see
"man mount") .
If that doesn't work : please the post the error messages. First guess
for a possible failing reason:  You don't have support for SCSI disks in
your kernel.   
 


-- 
Markus Kossmann                                    
[EMAIL PROTECTED]

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

From: Jason Lott <[EMAIL PROTECTED]>
Subject: Re: How restore Gnome as default desktop?
Date: Mon, 04 Jun 2001 02:30:31 -0500

On Mon, 04 Jun 2001 03:35:46 GMT, Murray Eisenberg <[EMAIL PROTECTED]> wrote:

CTRL+ALT+F1
log in
switchdesk GNOME
cat /etc/sysconfig/desktop

if /etc/sysconfig/desktop  contains "GNOME" but KDE still comes up, then reconfigure
KDE or X to NOT save the session on exit.

>I did that.  It just doesn't work -- as I think I indicated!
>
>
>Jason Lott wrote:
>> 
>> On Sun, 03 Jun 2001 19:11:58 GMT, Murray Eisenberg <[EMAIL PROTECTED]> wrote:
>> 
>> >I'm using Red Hat 7.1 and installed with Gnome as default desktop.  I
>> >also installed the KDE packages, just to try out the KDE desktop.  I
>> >used the Desktop Switching Tool in Gnome to switch to KDE and, sure
>> >enough, after I rebooted then KDE came up as the desktop.
>> >
>> >Now I want to restore Gnome as the default.  I go through the desktop
>> >switching tool in KDE and select Gnome, then log out and log in again
>> >(or even reboot).  But the KDE desktop keeps coming up.
>> >
>> >Eventually I was able to fix this manuall, via some .X* files in my home
>> >directory.  But that seems like an extreme and awkward way to have to do
>> >this.
>> >
>> >Is it possible to get the desktop switchers to work so one REALLY gets
>> >what one wants?
>> 
>> switchdesk gnome
>> 
>> I might have the case wrong for gnome, but I know that the switchdesk part is 
>right. :)


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

From: "Tony Tay" <[EMAIL PROTECTED]>
Subject: various RH7.1 setup problems
Date: Mon, 4 Jun 2001 17:47:32 +1000

hi,

I just installed (my first go at installing) RH7.1 (intel) and hit the
following problems:

1. What do i do to get HTTP to run ?  I was able to use it as it is in
RH7.0.
     When I typed http://192.50.50.20 (the IP address of RH7.1 machine) on
the internet browser (Windows machine on LAN), it did not show the test
page.  I   used to show it on RH7.0.
    Some kind soul please enligten me.

2. How to switch on Telnet sessions ?  (I used medium security during
install and it switched off Telnet)

Thanks.

--
regards,
tony



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

From: "Slash" <[EMAIL PROTECTED]>
Subject: Re: RH7.1 & AIC-7896
Date: Mon, 4 Jun 2001 11:34:27 +0400


J Hayward ����� � ��������� <05TR6.612$[EMAIL PROTECTED]> ...
Hello,

Slash wrote:

> sorry for writing in russian 8)

I was wondering what languauge that was. ;-). English must look the same
way for someone not familiar with it.

>
> Hi, All!
> looking for aic7xxx.o for AIC-7896 under RH7.1 (2.4.2-2x)
> do someone have the same problem?
> install fails because of timeouts while searching scsi-devices
> (m/b - Intel L440GX+)
> any ideas?

Try these install images for the 440GX chipset located here, instructions
included :-) and see if they help.

http://www.redhat.com/support/docs/gotchas/7.1/gotchas-71.html


Regards,
        Jim H

Thanks! ill try it today



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

From: Naftali Salz <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,aus.computers.linux,comp.os.linux.development.apps
Subject: Re: howto move the errors from gcc to a file?
Date: Mon, 4 Jun 2001 10:41:30 +0300



if you use tcsh use gcc -o testprog.c | & less
then you can scroll up and down the error list and when you are done
simply press Q.



On 26 May 2001, loki wrote:

> David. E. Goble <goble@gtech> wrote unto us:
> >Hi all;
> >
> >I am just beginning to try programming in linux (redhat).
> >
> >My problem is when I use gcc ...etc it produces a scolling list of
> >errors. How can I move or pipe the errors to a file. ie something like
> >
> >     gcc -o hello.c > error.txt?
>
> As a final tip to add to the others, sometimes it is nice to both view and
> save the output of a program.  The little utility 'tee' is handy for this.
> You can use it like this:
>
> gcc -o testprog test.c 2>&1 | tee out.log
>
> The 'tee' program will save what it receives on standard input to the named
> file, as well as printing it to the screen.  This often gives you the best
> of both worlds with regard to viewing and saving of errors.
>
>
> --
>     loki
> eloki/at/dingoblue.net.au
>
> Dare I disturb the universe?  You bet I do! :)
>
>


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

From: Huub <[EMAIL PROTECTED]>
Subject: RH 7.1 and Adaptec AHA-1542
Date: Mon, 04 Jun 2001 09:53:32 +0200

Hi,

Can somebody please tell me how to install RH 7.1 on a SCSI-disk when RH
7.1 setup  doesn't ask for any SCSI-driver? I already created the
driver-floppy form DISC1 but that didn't fo anything. RH6.2 asked for
SCSI so that did give any problem.

Thanks

Huub


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


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