Linux-Misc Digest #576, Volume #27               Tue, 10 Apr 01 07:13:01 EDT

Contents:
  Re: Spontaneous combustion (tech2kjason)
  Re: use of fips and 12-bit FAT (Villy Kruse)
  Re: [HELP] mount cdrom ("Eric")
  Re: shutdown (Marc DOBSON)
  Re: Command to get linux version (Drew Roedersheimer)
  Re: General SSHD Question, anyone ? (Bart Friederichs)
  Re: Circular Dependancies when installing glibc/gilb-common (Jacob Kristensen)
  Re: hide a command in ps output (pirxmcci)
  Re: A Linux emulator for Linux, does this exist? (Malcolm Beattie)
  Re: Command to get linux version (Garglemonster)
  Re: How copy/backup entire drive to another drive? (Garglemonster)
  Re: Circular Dependancies when installing glibc/gilb-common (Villy Kruse)
  Re: [HELP] mount cdrom ("╭松本老師╯")
  RH7.0 and intel i810 video (Alex Leung)
  Configuring The Time (mpierce)
  hi , how to use "map"  to input a string quickly  in " vim " or "vi"?? ("hushui")
  Re: Configuring The Time (Christopher Albert)
  Re: KDE 2.1 or Gnome 1.4? (Fabrice Colin)
  New homepage for  e-books online  | Linux UNIX and Hardware stuff (Dennis Senftleben)
  Re: [HELP] mount cdrom ("Eric")

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

From: tech2kjason <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Spontaneous combustion
Date: Tue, 10 Apr 2001 02:13:48 -0500

On 09 Apr 2001 18:37:52 -0800, Floyd Davidson <[EMAIL PROTECTED]>
wrote:

>[EMAIL PROTECTED] (Christopher Wong) wrote:
>>I wonder if anyone can give me a hint as to how to diagnose and/or fix
>>my problem. My Red Hat 7 system reboots spontaneously from time to time,
>>and fsck runs because the filesystem was not cleanly unmounted. There
>>are usually fsck errors. It is as if someone pressed the reset switch on
>>the PC. It always happens on some sort of user input: a mouse click,
>>usually, or a page up keystroke.
>>
>>I have run memtest86 for hours. I have tried different X servers (4.0.1,
>>4.0.2 and 3.3.6), different keyboards, different mice (PS/2 and USB) and
>>still see this problem. It occurs when using various X apps (Opera,
>>Applix, Netscape, Gimp), regardless of X toolkits (Qt, Gtk, Motif). I
>>have installed various Red Hat updates (glibc, kernel) and different
>>versions of KDE, to no avail.
>>
>>Hardware: BC133KT motherboard, Duron 700 CPU, 128MB Ram, ATI XPert98 PCI
>>video, 2 Netgear FA310TX PCI network adaptors, one internal ISA
>>modem. Software: Red Hat 7 with a whole bunch of fixes, KDE 2.1, XFree86
>>4.0.2 (from Raw Hide) and 3.3.6 Mach64 X server. I'm just about out of
>>ideas. Anyone?
>>
>>Thanks in advance,
>>
>>Chris
>
>That is almost certainly a hardware problem.  Changing software is
>not going to have any effect at all.
>
>You can try things like reseating all connections to the motherboard
>(such as IDE cables, etc.) and reseating the memory cards and the
>cpu.  If all else fails, get a new motherboard.

I have to agree with it being a hardware issue... considering that
you're running with a Duron 700, make absolutely sure about it's
cooling fan(s) are sufficient enough to keep the temperature down.

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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: use of fips and 12-bit FAT
Date: 10 Apr 2001 07:13:06 GMT

On Mon, 9 Apr 2001 00:10:07 -0700, Roger Levy <[EMAIL PROTECTED]> wrote:
>hi everyone,
>
>I just got a new Seagate hard drive and am trying to partition it with
>FIPS.  I formatted the drive under Win98 with software that came with the
>harddrive.
>
>I get the error, though, that FIPS cannot partition a 12-bit FAT table.
>Does anyone know what might be going on?  Should I try and reformat the
>drive directly from Windows first?
>


12-bit fat file systems are so limited in size that they are not worth
splitting.  Remember the 32 meg size limit on dos file systems?  That
still holds for 12-bit fat file systems, and the reason 16-bit filesystems
were introduced.



Villy

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

From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: [HELP] mount cdrom
Date: Tue, 10 Apr 2001 09:16:15 +0200

> > `ls -al /dev/cdrom`
> > Where does it point to?
> > Is that your cdrom?
>
> lrwxrwxrwx   1 root   root        3 May 12  2000 /dev/cdrom -> hdc
>
> > `dmesg | grep -i cdrom`
>
> nothing happen!

Hmm, strange
Is it connected? Correctly?

try `cat /proc/ide/hd[a-z]/model`
Does it show up somewhere here?
Is it detected by the BIOS? Some BIOS'es totally disable
an IDE connector when nothing is detected on it.
That way linux wouldn't be able to find it either.
`cat /proc/devices|grep -i ide` should show ide0 and ide1
If not, you should probably change the detection in the BIOS.

Eric



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

From: [EMAIL PROTECTED] (Marc DOBSON)
Subject: Re: shutdown
Date: 10 Apr 2001 07:25:25 GMT
Reply-To: [EMAIL PROTECTED]


Hi LEPP,

> I was trying to shutdown my computer remotely.  I typed the shutdown -nr 1
> command and the system shutdown but when it rebooted and I try to telnet
> into the system, the computer prompts me for my password but then says that
> the system is shutting down in one minute.  Is there a reason for this and
> how do I fix it.

I have seen exactly this about a month ago on our cluster of machines. It stumped
me for a while but here goes. As you do not mention the version of Linux you are
using I will give you my fix and see if it works with you.
I was running an old deprecated RedHat 6.0 .

The problem is the following. When you specify a timeout to shutdown it writes a
file called /etc/nologin with the message you saw. Now when this file exists
login will not allow any new logins and just displays the message. When the
machine reboots it is up to the startup scripts to delete this file. I found that
the startup scripts on the machines I mentioned earlier did not do this.

The script which should do this is: /etc/rc.d/rc.sysinit

Somewhere in the file you should have a couple of lines like:
# Clean out /etc.
rm -f /etc/mtab~ /fastboot /fsckoptions /forcefsck

The second line should also contain /etc/nologin

Note that the last three items on the above line are all files created by
shutdown which are used at bootup. Check the shutdown man page for more info.
You can also check out the nologin man page.

Hope this solves your problem,

If I have used wrong assumptions can someone correct me.


Marc
-- 
Marc Dobson
EP Division, CERN
CH-1211 Geneva 23, Switzerland
email: [EMAIL PROTECTED]

--
-- 
Marc Dobson                     Email:  [EMAIL PROTECTED]
EP Division                     Office: 40-5-C15
CERN                            Tel:    [+41] (0)22 76 79402

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

From: [EMAIL PROTECTED] (Drew Roedersheimer)
Crossposted-To: alt.os.linux
Subject: Re: Command to get linux version
Reply-To: [EMAIL PROTECTED]
Date: Tue, 10 Apr 2001 08:24:31 GMT

On Mon, 9 Apr 2001 16:46:14 -0700, Brian Schwarz wrote:
>> > What command should I use to get linux version?
>> uname -a
>
>if you're looking for the Linux kernel version, try:
>cat /dev/version
>
>

or (to be more general)

`uname -r`


-DR

-- 
An invasion of armies can be resisted, but not an idea whose time has come.
                 -- Victor Hugo

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

From: Bart Friederichs <[EMAIL PROTECTED]>
Subject: Re: General SSHD Question, anyone ?
Date: Tue, 10 Apr 2001 08:27:41 GMT

"Peter T. Breuer" wrote:
> And then they probably
> go for symmetric key ciphering with periodic changes of key.
> 

Hmm.... I have a question on that one. My SSH client bails out after
some time with the message "Rekeying not supported". Should this
periodic changing of keys be the source of that? An, moet important...
how can I fix that?

TIA
Bart

-- 
=======================================================================
The internet is a too slow way of doing things you'd never do without
it.
                                              Bart Friederichs, 1998
=========================================================================

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

From: Jacob Kristensen <[EMAIL PROTECTED]>
Subject: Re: Circular Dependancies when installing glibc/gilb-common
Date: Tue, 10 Apr 2001 10:35:03 +0200

James Johnson wrote:
> 
> Hello all,
> 
>         The subject says it all, I am trying to install the most recent
> version of MySQL and PHP unfortuantly I cant because the PHP-MySQL link needs
> the most current version of MySQL, which in turn needs glibc which needs glib-common 
>which
> needs glibc which needs glib-common, well...you can see where this is
> going is there a way to work around this problem? Any input would be
> 
> Thanks!!
> James Johnson
> --
> [EMAIL PROTECTED]
Are you using RPM, Deb or what?
What Dist and kernel are u using?

Jacob
-- 

There he goes... One of Gods own prototypes.
A high-powered mutant of some kind,
never even considered for mass production.
Too weird to live, and too rare to die.
Jacob Kristensen -- [EMAIL PROTECTED]

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

From: pirxmcci <[EMAIL PROTECTED]>
Subject: Re: hide a command in ps output
Date: Tue, 10 Apr 2001 10:37:19 +0200

SolarisCert wrote:

> Is there any method to hide a command in ps output
> 
> for example:
> > ps ax
>   PID TTY      STAT   TIME COMMAND
>   480 ?            S          0:34    xinetd -reuse -pidfile
> /var/run/xinetd.pid
> 
> I would like to change the output to
>   PID TTY      STAT   TIME COMMAND
>   480 ?            S          0:34    my-own-command
> 

 ps
 PID TTY          TIME CMD
 600 pts/0    00:00:00 cat
1036 pts/1    00:00:00 bash
1222 pts/1    00:00:00 ps
jesko@linux:~ > ps|grep -v ps
PID TTY          TIME CMD
 600 pts/0    00:00:00 cat
1036 pts/1    00:00:00 bash
1224 pts/1    00:00:00 grep 

hope this helps,
jesko




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

From: [EMAIL PROTECTED] (Malcolm Beattie)
Crossposted-To: comp.os.linux.development.system,comp.os.linux.hardware
Subject: Re: A Linux emulator for Linux, does this exist?
Date: Tue, 10 Apr 2001 08:55:01 +0000 (UTC)

In article <VZoA6.12580$[EMAIL PROTECTED]>,
Grant Edwards <[EMAIL PROTECTED]> wrote:
>In article <9at3ri$gc3$[EMAIL PROTECTED]>, Hermann Samso wrote:
>
>>      I am searching for a Linux emulator for Linux. Does such
>>      a beast exist?
>
>Yes.  You can run multiple instances of Linux on an IBM 390.
>One guy at IBM reportedly had 4000+ instances of Linux running
>on a signle box.  It's a very cool concept: instead of racks

Oops, you're damning Linux/390 under VM with faint praise :-)
You dropped a zero: it was over 40000 (forty thousand) not 4000
(four thousand). Actually, it was 41400 before the system refused to
create any new instances. For details, see the "Trilogy" papers at:
    http://www-1.ibm.com/servers/eserver/zseries/library/whitepapers/linux_trilogy.html

Moreover, since then he's had just under 100000 running on a larger
system (G6 ZZ7, I think) and yesterday one of the IBM guys released
the first version of a patch to remove one of the main scalability
problems in running lots of Linux guests under VM (the 100HZ timer pop).

--Malcolm

-- 
Malcolm Beattie <[EMAIL PROTECTED]>
Oxford University Computing Services
"I permitted that as a demonstration of futility" --Grey Roger

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

From: Garglemonster <[EMAIL PROTECTED]>
Subject: Re: Command to get linux version
Date: 10 Apr 2001 18:07:30 +0900

>>>>> "Jean-David" == Jean-David Beyer <[EMAIL PROTECTED]> writes:

    Jean-David> To really identify what is running on your machine,
    Jean-David> assuming EVERYTHING has been installed using RPM, you
    Jean-David> would do rpm -qa and get a list of everything on your
    Jean-David> machine. Even this would assume you never built
    Jean-David> anything from source. 

of course this doesn't help slackware or debian people.  ideally you'd
know what's there because you put it there.  human memory being what
it is, logs & journals come in handy.

g.m.


-- 
[EMAIL PROTECTED]

I'm shaving!!  I'M SHAVING!!

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

From: Garglemonster <[EMAIL PROTECTED]>
Subject: Re: How copy/backup entire drive to another drive?
Date: 10 Apr 2001 18:07:27 +0900

>>>>> "Andre" == Andre  <[EMAIL PROTECTED]> writes:

    Andre> Do you know the easiest way to copy the entire linux drive
    Andre> to another drive in a way that preserves system integrity:
    Andre> permissions, directory trees, etc?

did you look at the hard disk upgrade howto?  it answers your
question.  



    HDU HOWTO> a) cp -ax / /new-disk


    HDU HOWTO> b) cd / && echo cp -a `/bin/ls -1Ab | egrep -v
    HDU HOWTO> "^new-disk$|^proc$"` /new-disk | sh

    HDU HOWTO> c) cp -a /bin /boot /dev /etc /home /lib /lost+found
    HDU HOWTO> /mnt /root /sbin /tmp /usr /var /new-disk

read the how-to first, though, because there are some gotchas with a &
c.  



as for dump, what were you doing exactly?  you'd want to do something
like this:

# dump -0 -f /dev/whatever /

(then restore)

 mke2fs /dev/sda1
 mount /dev/sda1 /mnt
 cd /mnt

 restore rf /dev/whatever

i've used my dump tapes to recover from dumbass mistakes.  believe it
or not, it works.  in any case, i think dump would be tough unless you
did have a place to store the data temporarily.  (a partition would
work just fine -- assuming the new disk had at least twice as much
room as the old one.)

ciao,

g.m.

-- 
[EMAIL PROTECTED]

Hold the MAYO & pass the COSMIC AWARENESS ...

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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Circular Dependancies when installing glibc/gilb-common
Date: 10 Apr 2001 09:33:39 GMT

On Tue, 10 Apr 2001 10:35:03 +0200, Jacob Kristensen <[EMAIL PROTECTED]> wrote:
>James Johnson wrote:
>> 
>> Hello all,
>> 
>>         The subject says it all, I am trying to install the most recent
>> version of MySQL and PHP unfortuantly I cant because the PHP-MySQL link needs
>> the most current version of MySQL, which in turn needs glibc which needs 
>glib-common which
>> needs glibc which needs glib-common, well...you can see where this is
>> going is there a way to work around this problem? Any input would be





>Are you using RPM, Deb or what?
>What Dist and kernel are u using?
>
>Jacob


A good question, considering it makes no sense to make glibc dependent
on glib; glibc is the fundemental C library whereas glib is some graphics
stuff (gtk).



Villy

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

From: "╭松本老師╯" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: [HELP] mount cdrom
Date: Tue, 10 Apr 2001 17:28:28 +0800

"Eric" <[EMAIL PROTECTED]> 撰寫於郵件
news:9auc01$aeb$[EMAIL PROTECTED]...
> try `cat /proc/ide/hd[a-z]/model`
> Does it show up somewhere here?

ST34321A

> Is it detected by the BIOS? Some BIOS'es totally disable
> an IDE connector when nothing is detected on it.
> That way linux wouldn't be able to find it either.
> `cat /proc/devices|grep -i ide` should show ide0 and ide1
> If not, you should probably change the detection in the BIOS.

  3  ide0

Hmm... when the machine boots up,
the CD-ROM Drive is not detected!

I installed the RedHat through the CD-ROM Drive last year.
Now, I would like to install something more from the CD,
but the CD-ROM Drive just won't open!
Its little green light never turns on!

In my /etc/fstab file, I have
/dev/cdrom  /mnt/cdrom  iso9660 noauto,ro  0 0

How can I proceed??

╭松本老師╯[EMAIL PROTECTED]




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

From: Alex Leung <[EMAIL PROTECTED]>
Subject: RH7.0 and intel i810 video
Date: Mon, 09 Apr 2001 17:20:54 -0700

Hello,
    I just setup Redhat 7.0 with the default driver for the intel i810
video adapter (i.e. the one that it found in Xconfigurator).  However,
the picture just isn't that clear/sharp.   Some of the icons look pretty

sharp, but .jpg and other pictures on the web are not clear at all.
Is there a better driver out there for RH7.0 and the adapter?

Thanks in advance,
Alex


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

From: mpierce <[EMAIL PROTECTED]>
Subject: Configuring The Time
Date: Tue, 10 Apr 2001 09:46:32 GMT

Sys: Mandrake7.2, Kernel2.4.3, KDE2.1.1

My system has the time incorrectly set. I'm in Melbourne Australia which
is GMT +10. Can someone tell me what program I need to access to correctly
set the time? (Resetting from within KDE does not reset the time correctly
on reboot.)

Please post and email - thanks!

Marvin

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

From: "hushui" <[EMAIL PROTECTED]>
Subject: hi , how to use "map"  to input a string quickly  in " vim " or "vi"??
Date: Tue, 10 Apr 2001 16:54:55 +0800

use map command ???
Does it work under both in INSERT mode and COMMAND mode ???
Can anyone give me a example ??
Thank you





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

From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: Configuring The Time
Date: Tue, 10 Apr 2001 12:16:03 +0200

mpierce wrote:
> 
> Sys: Mandrake7.2, Kernel2.4.3, KDE2.1.1
> 
> My system has the time incorrectly set. I'm in Melbourne Australia which
> is GMT +10. Can someone tell me what program I need to access to correctly
> set the time? (Resetting from within KDE does not reset the time correctly
> on reboot.)
> 
> Please post and email - thanks!
> 
> Marvin

Marvin,

use rdate or ntpdate to set your sysyem clock using a timeserver,
then hwclock to set your hardware clock.

Chris

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

Date: Tue, 10 Apr 2001 11:17:24 +0100
From: Fabrice Colin <[EMAIL PROTECTED]>
Subject: Re: KDE 2.1 or Gnome 1.4?

controller wrote:
> hi!
> 
> coming from a small windowmanager (icewm) i've now decided to get one of the
> 'large' desktop environments as well. which one can you recommend, Gnome 1.4
> (with windowmaker) or KDE 2.1? how much memory do they eat, which one is
> faster? what are the advantages of each environment?
> 
> thanx
You could keep IceWm and run it with Gnome. That's what I do. I have got
IceWm 1.0.5 (I think) and Gnome 1.2. They work quite well together,
even though IceWm is not 100% Gnome compliant.
64Mb RAM is plenty. On my Athlon550, it's all very snappy.

Fabrice

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

From: Dennis Senftleben <[EMAIL PROTECTED]>
Subject: New homepage for  e-books online  | Linux UNIX and Hardware stuff
Date: Tue, 10 Apr 2001 07:35:31 +0200


   WWW.elib.dennis.de

All books can be download for free.
More books comming soon.

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

From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: [HELP] mount cdrom
Date: Tue, 10 Apr 2001 12:23:36 +0200

> > try `cat /proc/ide/hd[a-z]/model`
> > Does it show up somewhere here?
>
> ST34321A

That's your HDD

> > Is it detected by the BIOS? Some BIOS'es totally disable
> > an IDE connector when nothing is detected on it.
> > That way linux wouldn't be able to find it either.
> > `cat /proc/devices|grep -i ide` should show ide0 and ide1
> > If not, you should probably change the detection in the BIOS.
>
>   3  ide0

and ide1 (where hdc is connected to is disabled)

> Hmm... when the machine boots up,
> the CD-ROM Drive is not detected!

And that's the problem.

> I installed the RedHat through the CD-ROM Drive last year.
> Now, I would like to install something more from the CD,
> but the CD-ROM Drive just won't open!
> Its little green light never turns on!

Got a loose powerplug?

> In my /etc/fstab file, I have
> /dev/cdrom  /mnt/cdrom  iso9660 noauto,ro  0 0

pretty irrelevant now. get the hardware going first.
This is okay.

> How can I proceed??

Check why it is failing.
Opening the box would be a good start.

Eric



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


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

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

Reply via email to