Linux-Misc Digest #761, Volume #25 Thu, 14 Sep 00 13:13:04 EDT
Contents:
Re: 256 MB memory cant work in REdHat 6.1 (Jean-David Beyer-valinux)
SWAP Partition size? ([EMAIL PROTECTED])
Re: Origin of the GNOME name & logo ? (mandrakeuser)
RH 6,2 install - root password doesn't "stick" (noyb)
Re: RH 6,2 install - root password doesn't "stick" (Hal Burgiss)
Re: gnome or kde? (Patton Echols)
Re: Why linux kernel is compressed? (Vilmos Soti)
Re: partition table corrupt (john)
[simple question] no gnome buttons on desktop - why? ([EMAIL PROTECTED])
Data entry app toolset. (John Culleton)
Re: Help: batch renaming files - stripping bogus extensions ("Jerri Blavitt�")
Re: SWAP Partition size? (Josef Oswald)
Re: Help: batch renaming files - stripping bogus extensions (John Doherty)
Re: partition table corrupt (Svend Olaf Mikkelsen)
----------------------------------------------------------------------------
From: Jean-David Beyer-valinux <[EMAIL PROTECTED]>
Subject: Re: 256 MB memory cant work in REdHat 6.1
Date: Thu, 14 Sep 2000 11:11:49 -0400
[EMAIL PROTECTED] wrote:
> In article <[EMAIL PROTECTED]>,
> Jean-David Beyer-valinux <[EMAIL PROTECTED]> wrote:
> > miko wrote:
> >
> > > I have used 128MB x 2 (total 256MB) in the RH6.1 (Kernel 2.2.12-20)
> > > however I found only 128MB show on 'dmesg'.
> > >
> > > I have already changed the file 'lilo.conf'.
> > > the context is as follows:
> > > boot=/dev/sda
> > > map=/boot/map
> > > install=/boot/boot.b
> > > prompt
> > > timeout=50
> > > default=linux
> > >
> > > image=/boot/vmlinuz-2.2.12-20
> > > label=linux
> > > initrd=/boot/initrd-2.2.12-20.img
> > > read-only
> > > root=/dev/sda12
> > > append="mem=256M"
> > >
> > > I have also reboot the machine.
> > >
> > > Moreover, I can find 256MB ram after reboot.
> > >
> > > what should I do ?
> > >
> > > Michael Kwan
> >
> > Can anyone explain why some people have this problem, one that we see
> > repeatedly on this board, and yet some do not?
> >
> > I could type
> >
> > I have used 256MB x 2 (total 512MB) in RH 6.0 (Kernel
> > 2.2.14-5.0.14csmp)
> > and I always find 512MB. (I cannot show you because my machine has
> > been up so long that my boot sequence has disappeared from both dmesg
> > and all the /var/log/messages* files. I can show you that it knows the
> > true memory size from the following:
> >
> > valinux:jdbeyer[~]$ cat /proc/meminfo
> > total: used: free: shared: buffers: cached:
> > Mem: 529330176 518328320 11001856 91475968 184733696 183607296
> > Swap: 279642112 17764352 261877760
> > [snip]
> > valinux:jdbeyer[~]$ )
> >
> > I have not needed to touch '/etc/lilo.conf'.
> > the context is as follows:
> >
> > boot=/dev/sda
> > map=/boot/map
> > install=/boot/boot.b
> > prompt
> > timeout=50
> >
> > linear
> > default=linux
> >
> > image=/boot/vmlinuz-2.2.14-5.0.14csmp
> > label=linux
> > read-only
> > root=/dev/sda5
> > image=/boot/vmlinuz-2.2.14-5.0.14c
> > label=linux-up
> > read-only
> > root=/dev/sda5
> > [boots of older kernels deleted for brevity]
> >
> > I am not belittling those that experience these problems. What I do
> > not understand is why is it that some, myself included, never
> > experience these problems?
>
> if RAM is off different Speed even if BIOS detected it correctly Linux
> cannot able to detect it.
> I had two RAM
> 64MB
> 64MB
> booth with different Speed. I am experiencing the same problem, even if
> i change LILO.CONF no use.
>
> Can you post your RAM Speed and all the person who experenced problem
> about there RAM and Speed, then we can confirm.
I have 2 256Megabyte 100 MHz ECC SDRAM. But I am the one with no problems.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 11:06am up 36 days, 18:33, 3 users, load average: 4.06, 3.83, 3.39
------------------------------
Date: Thu, 14 Sep 2000 18:24:55 +0200
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Subject: SWAP Partition size?
Hello all
My computer has a P166 processor, 32 MB of RAM and a 3g HD. I want to
Install Redhat's Linux 6.2 and the manual says to create a swap
partition at the same size as the RAM. Now I only have 32mb, so why wont
I make a larger swap partition, like 128mb or so? Will it improve/hurt
the system performance?
I have also thought about creating only one large partition of what left
of the HD (after creating the swap and the boot partitions). Does it
have any disadvantages?
Thnx
[EMAIL PROTECTED]
------------------------------
Date: Thu, 14 Sep 2000 23:44:11 +0800
From: mandrakeuser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: Origin of the GNOME name & logo ?
Bartek Kostrzewa wrote:
>
> >
> > No, It means Gnome is Not Only My Environment.
>
> euhmm....
hmm.. some others :
GNOME is NOt (Windows) ME.
GNOME is NOt My Environment (I use KDE :)
GNOME is No Ordinary Multitasking Environment
Great Nit-picking, Ornery Mutant Environment
Gawd, NO More, Enough.
------------------------------
From: noyb <[EMAIL PROTECTED]>
Subject: RH 6,2 install - root password doesn't "stick"
Date: Thu, 14 Sep 2000 15:45:10 GMT
s.
PROBLEM:
I am installing Red Hat 6.2 from cd-rom to replace 6.0.
The root password works at first but if I then login as a
standard user, my root password is not accepted the next time I login
as root.
However, if I login as su with the root password (the one that didn't
work), I become su ok. I can then login as root with the same
password.
Every time I login as user, I cannot then login again as root.
Instead, I have to first login as su, then I can login as root.
The user and root passwords are different.
I have done over four installs which act the same.
BACKGROUND:
I'm doing a vey plain vanilla install from cd of Red Hat 6.2 on an AMD
K6 system which dual boots to Windows 98.
There is plenty of ram and disk space and the system has been rock
solid for a long time under both Linux and Windows.
A reading of the Red Hat errata pages show nothing appropos except the
advice to make and use the new Anaconda update boot disk - I am now
using that but it did not help.
I'm sending a trouble report to Red Hat Support but they usually take
a long time.
I previously posted to com.os.linux.setup but only one answer so far,
so I am posting here as my previous posts have been answered by some
very knowledgable people
Hoping someone can give me an idea of what's going wrong.
Thanks, Larry Alkoff
--
Larry Alkoff N2LA
Reply to: larryalk at mindspring dot com
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: RH 6,2 install - root password doesn't "stick"
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: Thu, 14 Sep 2000 15:54:39 GMT
On Thu, 14 Sep 2000 15:45:10 GMT, noyb <[EMAIL PROTECTED]> wrote:
>
>The user and root passwords are different.
>I have done over four installs which act the same.
>
Longshot. Maybe the kepmappings are different from $USER and login. Try
changing root password to something real simple like 'aaaa'. This will
probably give a warning or error message, but ignore just for testing.
--
Hal B
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
------------------------------
From: Patton Echols <[EMAIL PROTECTED]>
Subject: Re: gnome or kde?
Date: Thu, 14 Sep 2000 09:00:38 -0700
What Follows is an e-mail response to my question "X-windows newbie
question in this group" I have not seen this posted to the group, but
it answers much and makes sense.
======== QUoted Message ==============
>
> This is quite a newbie question I'm sure. If the answer is rtfm, could
> you please point to the right "fm"?
>
> I've spent just about forever getting an XF86 server to run (RH 6.1,
> 486DX 66, w/ evergreen upgrade chip and 24meg -- not that it matters
> much, it's working now) On running startx, Gnome windows manager runs
> as expected.
There is no GNOME window manager. You're probably thinking of
Enlightenment. On your 24M 486, Enlightenment must be pretty
sluggish. Enlightenment can be pretty, but it's also the largest
and most memory intensive window manager there is (followed closely
by kwm).
> I don't understand, however, the relationship between X
> and Gnome and KDE.
GNOME is a collection of libraries to build applications with.
There are a number of core applications the GNOME designers
also distribute with the libraries.
KDE is also a collection of libraries and UI standards, but
based on a somewhat simpler non-free core library named QT.
> I assume that Gnome must be running to run Gnome Programs.
No. There's no application named GNOME. Programs based on GNOME
will run under any window manager. For drag-and-drop interaction
with the window manager you'll want to use a GNOME-aware window
manager. WindowMaker is a good choice because it's small, fast,
nice looking, easy to configure, popular, and it supports both
GNOME and KDE hints.
> Same for KDE and KDE Programs.
Also no, as above.
> What about Programs that are supposed to run under "X"?
Since GNOME and KDE are both toolkits for building applications
to run under X, all programs that run under X will run wherever
GNOME or KDE will run and vice-versa.
> Are gnome or KDE needed for these?
Only the ones that use GNOME or KDE (the libraries; the window
manager you choose is largely irrelevent).
> If not, how are they invoked?
Just like anything else. Type the command name in at a shell prompt,
or add the executable in a menu, on a button, or whatever your
window manager provides.
================ End Quoted Message ===================
My own aside: The redhat distro sure makes it look like you pick Gnome
or KDE as your "desktop". Why do they do this? I've no idea. But this
is an issue of some importance to those of us who are new to linux and
trying to get up to speed. Armed with this info, I Have thought of a
few tests about what can and cannot be done with "X" programs. If I
come up with anything new, I'll post here. (But it could be awhile, my
Linux box is my "hobby" machine and I have higher priority projects
waiting . . .)
[EMAIL PROTECTED] wrote:
>
> Hi
>
> I'm going to install Redhat's Linux 6.2 on my PC. As far as I understand
>
> I'm going to have to choose either gnome or kde as my GUI.
> Which should I choose? I was looking for some kind of advice in
> Redhat's docs but couldn't find any satisfying comparison with pros and
> cons.
>
> Thnx
> [EMAIL PROTECTED]
------------------------------
Subject: Re: Why linux kernel is compressed?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 14 Sep 2000 16:08:33 GMT
[EMAIL PROTECTED] writes:
> I'm curious that why the linux kernel is compressed, so everytime when
> I log on, waste a little time to compress the kernel. As far as I know,
> Windows NT or other operating systems's kernel is not compressed, just
> a binary.
It won't take up a lot of space on a disk, and as Peter said, it will
fit on a floppy. Also, the kernel is *NOT* decompressed every time you
log in. It is decompressed only once when you *BOOT* the machine.
Vilmos
------------------------------
From: john <[EMAIL PROTECTED]>
Subject: Re: partition table corrupt
Date: Thu, 14 Sep 2000 17:34:23 +0100
On Thu, 14 Sep 2000 00:53:08 -0400, "Philip Wang"
<[EMAIL PROTECTED]> wrote:
>Hi,
>
>I have a hard disk divided to WIN98 and Linux.
>The Linux part used to work but now is not working.
>So I am trying to install RedHat 6.2 to it.
>The following message shows up: (and I can not continue install)
>A error occurred reading the partition table for the block device hda. The
>error was: Partition table corrupt.
>
I have exactly the same problem in trying to install RedHat 6.2 which
already has Win95 on my ibm 25gb Hard Disk.
I get the error message
"A error occurred reading the partition table for the block device
hda. The error was: Partition table corrupt"
Does anyone out there know how to solve this problem.
John
------------------------------
From: [EMAIL PROTECTED]
Subject: [simple question] no gnome buttons on desktop - why?
Date: Thu, 14 Sep 2000 16:25:45 GMT
sorry folks
quick (probably stupid) question hoping someone can point me in right
direction :)
i've finally installed gnome 1.2.1 on my slackware box from bins grabbed
from the slackware 7.1 dist. however, i've started gnome up (using gdm
and selecting a gnome session) and everything works but i dont seem to
have any of the desktop quick launch buttons (sorry, i dont know what we
call them) on my desktop.
is it because i'm running the wrong window manager? at the moment
gnome is running on top of enlightenment 0.16.4
i've seen these buttons on gnome screenshots but have no idea why i dont
have any myself. is there additional packages i need to install (i only
installed core, lib, utils, applets packages)
thanks for your help
paul
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: John Culleton <[EMAIL PROTECTED]>
Subject: Data entry app toolset.
Date: Thu, 14 Sep 2000 16:29:21 GMT
I want to build a gui frontend for an rdbms (Interbase.) My choices for
doing this include Xforms, Qt and Html. The interface language is of
necessity the C language. I plan to create each instance of the app
semi-automatically based on the schema for the particular rdbms table.
In other words I will write a program that reads in a schema and emits
the source code necessary for a data entry app for the table represented
by that schema. Of necessity the code accessing the RDBMS and the code
manipulating the gui will need to communicate in an event-driven way.
Three toolset choices that I know about are Qt, Xforms and HTML. I want
advice on which is the simplest to learn and implement in the situation
described above. I don't relly care about zip, flash and groovy
features. I am looking for simplicity and short learning time for data
entry type applications (add/change/delete a record etc.) Integration
into a C language application is of course a requirement.
Any thoughts from those who have been there and done that?
John Culleton
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Jerri Blavitt�" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.questions
Subject: Re: Help: batch renaming files - stripping bogus extensions
Date: Thu, 14 Sep 2000 10:48:38 -0600
John Doherty <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In article <NKWv5.1947$[EMAIL PROTECTED]>,
>"Jerri Blavitt�" <[EMAIL PROTECTED]> wrote:
> $ ls
> sn-O0024.jpg 107545 bytes sn-o0019.jpg 107300 ss21h05.jpg
> sn-O0064.jpg 100391 bytes sn-o0030.jpg 101765 ss32d06.jpg
> sn-O0073.jpg 109157 bytes sn-o0213.jpg 106760 ss32d10.jpg
> sn-o0010.jpg 108099 ss13h09.jpg ss32d13.jpg
> sn-o0011.jpg 109584 ss14c19.jpg
> $ for i in * ; do mv "$i" `print "$i" | sed 's/\.jpg.*/.jpg/'` ; done \
> 2>/dev/null
> $ ls
> sn-O0024.jpg sn-o0010.jpg sn-o0030.jpg ss14c19.jpg ss32d10.jpg
> sn-O0064.jpg sn-o0011.jpg sn-o0213.jpg ss21h05.jpg ss32d13.jpg
> sn-O0073.jpg sn-o0019.jpg ss13h09.jpg ss32d06.jpg
> $
>
> This is going to generate "foo.jpg and foo.jpg are identical" error
> messages for those files whose names simply end with ".jpg"; above,
> I just throw them away.
>
> There's probably a better way to do this, but it does work.
Thanks again John. I've been trying to understand/learn the logical operators in
such commands, but usually get stumped.
Your command works fine for 99% of the globbed file names, but what I don't understand
from a logical standpoint is why it misses files named like this:
still203.JPG -- Still Life
Shouldn't the wild card .jpg.* catch/remove that tail like it catches the others?
Is it that the --s are somehow interpreted, and mess up the command?
Cheers,
Jerri
------------------------------
From: Josef Oswald <[EMAIL PROTECTED]>
Subject: Re: SWAP Partition size?
Date: Thu, 14 Sep 2000 16:52:28 GMT
[EMAIL PROTECTED] wrote:
>
> Hello all
>
> My computer has a P166 processor, 32 MB of RAM and a 3g HD. I want to
> Install Redhat's Linux 6.2 and the manual says to create a swap
> partition at the same size as the RAM. Now I only have 32mb, so why wont
> I make a larger swap partition, like 128mb or so?
128BM is enough......
> Will it improve/hurt the system performance?
> I have also thought about creating only one large partition of what left
> of the HD (after creating the swap and the boot partitions). Does it
> have any disadvantages?
Most likely not ( unless there is some damage to the HDD) but I'm not an
expert either :-(
>
> Thnx
> [EMAIL PROTECTED]
--
Josef Oswald -> [EMAIL PROTECTED]
registered-linux-user # 13.818 at http:// counter.li.org
------------------------------
From: [EMAIL PROTECTED] (John Doherty)
Crossposted-To: comp.unix.questions
Subject: Re: Help: batch renaming files - stripping bogus extensions
Date: Thu, 14 Sep 2000 12:06:32 -0500
In article <gl7w5.484$[EMAIL PROTECTED]>, "Jerri Blavitt�"
<[EMAIL PROTECTED]> wrote:
> John Doherty <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
>
> > In article <NKWv5.1947$[EMAIL PROTECTED]>,
> >"Jerri Blavitt�" <[EMAIL PROTECTED]> wrote:
>
> > $ ls
> > sn-O0024.jpg 107545 bytes sn-o0019.jpg 107300 ss21h05.jpg
> > sn-O0064.jpg 100391 bytes sn-o0030.jpg 101765 ss32d06.jpg
> > sn-O0073.jpg 109157 bytes sn-o0213.jpg 106760 ss32d10.jpg
> > sn-o0010.jpg 108099 ss13h09.jpg ss32d13.jpg
> > sn-o0011.jpg 109584 ss14c19.jpg
>
> > $ for i in * ; do mv "$i" `print "$i" | sed 's/\.jpg.*/.jpg/'` ; done \
> > 2>/dev/null
>
> > $ ls
> > sn-O0024.jpg sn-o0010.jpg sn-o0030.jpg ss14c19.jpg ss32d10.jpg
> > sn-O0064.jpg sn-o0011.jpg sn-o0213.jpg ss21h05.jpg ss32d13.jpg
> > sn-O0073.jpg sn-o0019.jpg ss13h09.jpg ss32d06.jpg
> > $
> >
> > This is going to generate "foo.jpg and foo.jpg are identical" error
> > messages for those files whose names simply end with ".jpg"; above,
> > I just throw them away.
> >
> > There's probably a better way to do this, but it does work.
>
> Thanks again John. I've been trying to understand/learn the logical
operators in
> such commands, but usually get stumped.
>
> Your command works fine for 99% of the globbed file names, but what I
don't understand
> from a logical standpoint is why it misses files named like this:
>
> still203.JPG -- Still Life
>
> Shouldn't the wild card .jpg.* catch/remove that tail like it catches the
> others?
> Is it that the --s are somehow interpreted, and mess up the command?
No, it's the case of the extension: ".JPG" doesn't match ".jpg". Change
sed 's/\.jpg.*/.jpg/' to sed 's/\.[jJ][pP][gG].*/.jpg/' and you'll catch
those files, too.
This is going to have the side effect of changing all the extensions to
lower-case, but that's probably a good thing.
--
------------------------------
From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: partition table corrupt
Date: Thu, 14 Sep 2000 17:08:57 GMT
john <[EMAIL PROTECTED]> wrote:
>On Thu, 14 Sep 2000 00:53:08 -0400, "Philip Wang"
><[EMAIL PROTECTED]> wrote:
>
>>Hi,
>>
>>I have a hard disk divided to WIN98 and Linux.
>>The Linux part used to work but now is not working.
>>So I am trying to install RedHat 6.2 to it.
>>The following message shows up: (and I can not continue install)
>>A error occurred reading the partition table for the block device hda. The
>>error was: Partition table corrupt.
>>
>I have exactly the same problem in trying to install RedHat 6.2 which
>already has Win95 on my ibm 25gb Hard Disk.
>
>I get the error message
>
>"A error occurred reading the partition table for the block device
>hda. The error was: Partition table corrupt"
>
>Does anyone out there know how to solve this problem.
>
>John
To examine if it is a partition table problem, you can do
findpart all +fat fp.txt
and post the content from fp.txt (not as attachment). Findpart is at
my page.
--
Svend Olaf
http://inet.uni2.dk/~svolaf/utilities.htm
------------------------------
** 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.misc) 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-Misc Digest
******************************