Linux-Setup Digest #880, Volume #19 Sun, 22 Oct 00 15:13:12 EDT
Contents:
Re: install kernel module by normal users (David Efflandt)
Re: Problem installing Mandrake 7.0 (David Efflandt)
Re: Help PHP4 in Apache (BG)
Re: starting staroffice 5.2 ("bluster")
Re: hdparm assitance (Bill Pringlemeir)
Re Network Everywhere NIC NC100 (wpc)
Re: linux resolution (jenaknight)
Re: Windows corrupts adjacent linux partition? (Tony Mountifield)
Re: Stock RH6.2 recompile buggy...Normal? (Michael V. Ferranti)
Re: Setup Storm Linux (Michael V. Ferranti)
redhat 7.0 success (Michael Grove)
Re: crashed X on moving files (Gregory Spath)
Re: Setup Storm Linux ("Michael Perry")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: install kernel module by normal users
Date: Sun, 22 Oct 2000 16:36:17 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sun, 22 Oct 2000 11:40:48 -0400, Zhihui Zhang <[EMAIL PROTECTED]> wrote:
>
>I am using Redhat 6.2. Is it possible to allow normal users to
>install/uninstall kernel modules (insmod, etc)? Anything special has to be
>done for this?
Is there some reason you cannot set up /etc/conf.modules with enough info
to load modules automatically as needed?
--
David Efflandt [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Problem installing Mandrake 7.0
Date: Sun, 22 Oct 2000 16:47:44 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sun, 22 Oct 2000 09:30:02 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>Hello,
>
>I'm trying to install Mandrake Linux 7 on a 90 Mhz PC and I can not get
>pass the "initializing CD ROM." The CDROM lights up and then it hangs
>there, no CDROM or HD activity afterward. I tried to eject the CDROM, but
>it won't open. I've check the device support page and everything seems to
>be in there. Does anyone know whats wrong?
Make sure that the CD is in the drive when you boot, or at least before
the kernel loads. The kernel checks the cdrom when it loads and if the CD
is not already there, it will not try that drive again. If you wait until
it asks you where you want to install from, (like for RedHat) Mandrake
install will not work.
NOTE: the boot floppy that came with my Mandrake 7.0 was defective, so I
had to make another one from a boot image on the CD. Make sure that the
floppy has NO bad sectors.
--
David Efflandt [EMAIL PROTECTED] 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: BG <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux,comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.security
Subject: Re: Help PHP4 in Apache
Date: Sun, 22 Oct 2000 17:43:15 +0000
findo wrote:
> I have in the PHP4 in the apache server .I have add the command in the
> httpd.conf.
> LoadModule php4_module modules/libphp4.so
> AddModule mod_php4.c
Are you sure it is the ".C" - file you want to load?
I guess that you would like to load the ".o" file instead!
// BG
------------------------------
From: "bluster" <[EMAIL PROTECTED]>
Subject: Re: starting staroffice 5.2
Date: Sun, 22 Oct 2000 13:23:55 -0400
James <[EMAIL PROTECTED]> wrote:
> I just downloaded and installed staroffice 5.2, but now I can't figure out
> how to start the applications. The installation didn't add any icons to
> gnome and I have no idea which command I should use at the shell prompt.
Hi James,
For a single user Star office is installed into a regular users home
dir (e.g. /home/james/soffice52). That is where you will find the
command to start it, "soffice".
You are not supposed to install it as root, which would put it
into the /root/soffice52 dir.
To start star office from an xterm type:
[james@home]$ ~/soffice52/soffice &
The shell (bash) replaces the tilde (~) character with your
home directory, and the andpersand (&) character makes bash
run it in the background, giving you the $ prompt right back.
You have to add the icon yourself in gnome, iirc the install
adds it to the kde menu. To make the icon in gnome try:
right click on the desktop background to pop up the menu,
select "new-->launcher" and enter the start command for
Staroffice (without the "&").
Bluster
------------------------------
Subject: Re: hdparm assitance
From: Bill Pringlemeir <[EMAIL PROTECTED]>
Date: Sun, 22 Oct 2000 17:49:37 GMT
Notice the line that says DMA=yes, OldDMA=2. Also the line with
DMA modes: ... *mword2. Options with asterisks are those that the
drive is currently using. Your drive does support UDMA but I don't
think you have a kernel compiled with an EIDE controller that
supports UDMA. You may have better luck with PIO. Here is a
synopsis of my drives,
UDMA 2 Samsung SV0644A, 51MB/sec cache, 12.40 MB/sec read
UDMA 2 Maxtor 5373U6, 51MB/sec cache, 10.65 MB/sec read
UDMA 2 IBM-DTTA-351010, 51MB/sec cache, 10.08 MB/sec read
(-d0)
PIO Samsung SV0644A, 51MB/sec cache, 5.46 MB/sec read
PIO Maxtor 5373U6, 51MB/sec cache, 5.47 MB/sec read
PIO 2 IBM-DTTA-351010, 51MB/sec cache, 5.08 MB/sec read
Removeable drive on another machine with UDMA4
UDMA 4 Maxtor 5373U6, 51MB/sec cache, 22.35 MB/sec read
Try disabling the DMA, it might actually be better. You need
to read the UltraDMA faq and get a code to use the UDMA on your
EIDE controller to really speed things up. My mp3 use to skip,
I cann't make a load on my machine (with 3Dnow optimized) that
will cause skipping.
hth,
Bill
>>>>> "Eggert" == Eggert Ehmke <[EMAIL PROTECTED]> writes:
Eggert> My hdparm -i /dev/hdb tells:
/dev/hdb:
Model=ST36531A, FwRev=3.11, SerialNo=VS801298
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=13446/15/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=0(?), BuffSize=128kB, MaxMultSect=32, MultSect=off
DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
CurCHS=13446/15/63, CurSects=12706470, LBA=yes, LBAsects=12706470
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 mode2
Drive Supports : ATA-1 ATA-2 ATA-3 ATA-4
Eggert> In my ignorance I thought this means I can enable
Eggert> DMA. However, if I try
Eggert> hdparm -d1 -X34 /dev/hdb
Eggert> it tells me that is not allowed, and sets it back to 0. What
Eggert> does that mean ? The c1 option works, however.
--
munitions Ortega strategic Mossad quiche SEAL Team 6 $400 million in
gold bullion supercomputer jihad nuclear spy Nazi kibo Honduras
cracking
------------------------------
From: wpc <[EMAIL PROTECTED]>
Subject: Re Network Everywhere NIC NC100
Date: Sun, 22 Oct 2000 11:17:09 -0700
Hello,
I'm no expert but I have successfully installed my NetworkEverywhere NC
100 NIC by using the tulip driver that is made for the DEC21x4x. I'm
running debian 2.2 potato. I re-installed and selected the tulip
selection for the NIC.
I know this doesn't help much but I suggest that you research the chip
on the NIC and you might find that it is actually the same chip as on
the DEC21x4x NIC.
------------------------------
From: jenaknight <[EMAIL PROTECTED]>
Subject: Re: linux resolution
Date: Sun, 22 Oct 2000 18:30:04 -0000
David Efflandt wrote:
>
>
> On Sat, 21 Oct 2000 19:30:06 -0000, jenaknight <[EMAIL PROTECTED]>
wrote:
> >hi!, i just installed mandrake 6.0 and it might like me more if only i
> >could change it's screen resolution to something like 800x600 , at
setup
> >process i cheked several resolutions to use as 640x480 800x600
1024x6...
> >where can i fix it?
>
> /etc/X11/XF86Config
>
> I usually put my resolutions in the other order, so it starts at 1024x768
> and I can use Ctrl-Alt-keypad plus to blow it up if something is too
> small (this is for my default 16-bit color depth):
>
> Subsection "Display"
> Depth 16
> Modes "1024x768" "800x600" "640x480"
> ViewPort 0 0
> EndSubsection
>
> --
> David Efflandt [EMAIL PROTECTED] 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/
i'll try it thak you David!
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Tony Mountifield)
Crossposted-To: comp.os.linux.portable,uk.comp.os.linux
Subject: Re: Windows corrupts adjacent linux partition?
Date: 22 Oct 2000 19:26:16 +0100
Thanks to Alan, and the others who responded....
Alan Raskin <[EMAIL PROTECTED]> wrote:
> I had a similar problem with the same system and Linux distro/version.
> For some unknown reason, the Mandrake 7.1 installation didn't resize the
> Windows partition properly on my 12GB drive, so the Windows and Linux
> partitions ended up overlapping. When the disk defragmenter ran
> automagically every Friday morning, Windows would take back about 200 MB
> from the Linux partition. Can you say "Kiss your Linux good-bye"?
>
> Anyway, Partition Magic 5.0 detected the problem immediatley when I ran
> it, so I had it delete the Linux partitions, fix the Windows one, and
> then recreate the Linux partitions. No more problems after the
> re-install (although admittedly I didn't boot into Linux after this
> morning's disk defrag... :-).
Bingo! That was exactly the problem. I managed to get hold of Partition Magic
to run on it, and it looks like the Mandrake installer didn't resize the
partition correctly, and it was overlapping the second partition by 13263
sectors. Mandrake had put in a round 15360000 as the number of sectors, but PM
said it should be 15346737, and corrected it for me. I then ran Scandisk in
Windows and it corrected something else to match.
Seems to be completely solved now.
Cheers,
Tony
--
Tony Mountifield
Email: [EMAIL PROTECTED]
Web: http://www.softins.clara.co.uk
------------------------------
From: Michael V. Ferranti <[EMAIL PROTECTED]>
Subject: Re: Stock RH6.2 recompile buggy...Normal?
Date: Sun, 22 Oct 2000 11:53:54 -0700
Here I was, minding my own business, and wouldn't you know it?
Scott Nolde <[EMAIL PROTECTED]> just had to go and say:
>make sure you read the kernel compiling instructions to the 'T'. Did
>you do the 'make mrproper' before compiling, or a 'depmod -a'?
No. It indicated doing a "make mrproper" only if you'd *patched* the
code. I'd done no patching or any modifications other than change two
settings during "make menuconfig." I changed the 386 processor setting to
Pentium (after reading all the '?' info sections), and toggled on MMX
support (since I'm running an Intel Pentium 166 w/MMX).
Since then, I've restored the system from backups and everything boots
up again w/o errors. <phew!> Initially, all I want to do is recompile the
unmodified kernal just for the experience (kernal recompile virgin here).
I figure there's no point in compiling a new or patched kernal if I can't
compile the stock version first. <grins> Maybe it's because it's a
CheapBytes RH6.2 distro?
-- Michael V. Ferranti [blades&inreach*com]
Warning: The Surgeon General has deemed that excessive displays of warning
labels and public service announcements produce stress and shortens lives.
------------------------------
From: Michael V. Ferranti <[EMAIL PROTECTED]>
Subject: Re: Setup Storm Linux
Date: Sun, 22 Oct 2000 11:53:55 -0700
Here I was, minding my own business, and wouldn't you know it?
Jesper Petersen <[EMAIL PROTECTED]> just had to go and say:
>From there I don't know what to do, does anybody have an idea what the problem can be?
Welcome to Linux. It is *NOT* a GUI operating system like Windows (but
does have a GUI). You should have a utility called "mc" (short for
Midnight Commander), a Norton Commander/File Manager/Windows Explorer
clone. Use the "mc" command to navigate around the directories and start
learning what's placed where. Look under /usr/doc/ for HOWTO's and other
documentation. It sounds like you're probably not ready to go poking
around the config files to get an unsupported video setup running, but run
the setup again (setup, xf86config, xconfigurator) and triple-check to see
if you missed anything. If your hardware really ain't there, upgrade. The
only other option is to get your hands filthy in the confusing jumble of
docs and config files, and believe me, it's no place for a novice. I've
been there, and finally upgraded. I figured there was no point in starting
from day-one newbie scratch with a busted operating system. It's hard
enough learning Linux from scratch without being distracted by a bunch of
broken parts. In the meantime, grab a Unix or Linux user's guide and learn
how to work from the command prompt. If you aren't familiar yet with the
basic commands; cd, cp, ls, man, mv, rm, piping and redirection, etc.,
you're probably going to stay totally lost for months.
-- Michael V. Ferranti [blades&inreach*com]
Warning: The Surgeon General has deemed that excessive displays of warning
labels and public service announcements produce stress and shortens lives.
------------------------------
From: Michael Grove <[EMAIL PROTECTED]>
Subject: redhat 7.0 success
Date: Sun, 22 Oct 2000 18:53:39 GMT
hi,
i just wanted to post my experience installing redhat 7.0, to help
others in the future. i got most of my help by searching this newsgroup
from www.deja.com, so if others search this newsgroup for their problem
it should help them too. i downloaded all of the rpm's to my machine,
and did a hard drive install (as opposed to a cdrom, ftp, or http
install)
the first time i tried to install, i died trying to read packages (after
putting in root password and new user). my error message was:
Traceback (innermost last):
File "/usr/bin/anaconda.real", line 438, in ?
intf.run(todo, test = test)
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/text.py", line 1030,
in run
File
"/var/tmp/anaconda-7.0.1//usr/lib/anaconda/textw/packages_text.py", line
33, in __call__
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 539, in
getCompsList
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/harddrive.py", line
43, in readComps
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/comps.py", line 459,
in __init__
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/comps.py", line 428,
in readCompsFile
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/comps.py", line 101,
in __getitem__
KeyError: net-tools
Local variables in innermost frame:
self: <comps.HeaderList instance at 8245940>
item: net-tools
i fixed this problem by downloading the net-tools rpm (oops, somehow got
every rpm but this one the first time).
i started the install over, and this time died at the same point, with
this error message.
Traceback (innermost last):
File "/usr/bin/anaconda.real", line 438, in ?
intf.run(todo, test = test)
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/text.py", line 1030,
in run
File
"/var/tmp/anaconda-7.0.1//usr/lib/anaconda/textw/packages_text.py", line
33, in __call__
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/todo.py", line 539, in
getCompsList
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/harddrive.py", line
43, in readComps
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/comps.py", line 459,
in __init__
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/comps.py", line 428,
in readCompsFile
File "/var/tmp/anaconda-7.0.1//usr/lib/anaconda/comps.py", line 101,
in __getitem__
KeyError: indexhtml
Local variables in innermost frame:
self: <comps.HeaderList instance at 826c988>
item: indexhtml
i had the indexhtml package, but i tried downloading it again (from the
same ftp site -
ftp.freesoftware.com/pub/linux/redhat/redhat-7.0/i386/en/RedHat/RPMS),
and it again didn't work. i noticed a post on this newsgroup that
mentioned that the anaconda installer needed updating, so i downloaded
the update at
http://www.redhat.com/support/errata/rh7-errata-bugfixes.html, followed
the instructions to use the update disk, and again it didn't work. then
i downloaded every new rpm and bug fix listed on the errata page and
tried again. again it did not work. i then saw a post on this
newsgroup that said the indexhtml rpm may be corrupted. i downloaded
the rpm from a different ftp server, and sure enough the sizes differed
(only by about 200K). everything worked with the new indexhtml rpm.
hope this helps someone out in the future,
-mike
------------------------------
From: [EMAIL PROTECTED] (Gregory Spath)
Crossposted-To: comp.os.linux.misc
Subject: Re: crashed X on moving files
Date: Sun, 22 Oct 2000 18:57:28 -0000
Reply-To: [EMAIL PROTECTED]
In <39f2db17$1$qnivfs$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
([EMAIL PROTECTED]) wrote:
>Greetings!
>
>I would really like some help with this, partly to solve the
>problem but perhaps even more to understand it.
>
>(I'm not a complete newbie to Linux (off-and-on user (more 'off'
>than 'on') for about five yrs) but I'm digging in now more and
>want to learn repair and maintenance stuff that's second nature
>to me in OS/2 (and Windows).)
>
>So, here's the scoop. I'm using Mandrake 7 and whatever the KDE
>version it's got fresh off the cdrom. I've made myself user
><davisf> and find that (almost, not always) whenever I move files
>in and out of folders, X crashes.
>
>I get an error message like:
>"KiKbd: SelectWindowInput: XGetWindowAttributes: error: Window
>ID:2400100"
>
>(a) What's the problem?
>(b) Without blowing <davisf> away and reconfiguring, how do I
>repair?
>
>Here's a bonus question:
>(c) Is there a way to back up the desktop (like in OS/2) and
>restore it if it goes flakey?
Unfortunately, I don't know what is wrong with your file operations. Maybe it
is hardware related? The error indicates a problem when trying to use an X11
system call to get a certain window's attributes, so it is a problem with
either your windowmanager or kfm.
As far as backing up your desktop, it's easy. Just run tar every now and
then (either on login or in a cron job). As with OS/2, KDE's desktop
is simply a "folder" (directory) in a filesystem ($HOME/Desktop/). For
example:
tar -zcf /backuplocation/archivename.tgz $HOME/Desktop
OS/2 had REXX to take care of nifty scripts to do things like mentioned
above. In linux the shell you are using (probably bash) has scripting
built right in. I prefer to use PERL. You can write a script that
automatically keeps however many archive copies as you wish. At work
I do this with all of my databases on a server, and then automatically
copy those backups to another machine using ncftp's batch mode.
The filesystem in linux is actually a little nicer than OS/2's. It uses
the concept of OS/2's graphical shadows in the filesystem itself...they
are called symlinks.
BTW, as a former OS/2 user, I'd recommend using Windowmaker as a
windowmanager instead of KDE's kwm. You can then use DFM as a filemanager
(although KFM works fine too...but DFM actually does drag/drop with
windowmaker properly where KFM doesn't). DFM is designed based on the
OS/2 WPS and tries to work just like it.
Windowmaker: http://www.windowmaker.org/
DFM: http://dfm.online.de/
Being an OS/2 user, you will appreciate the simplicity and consistency
in windowmaker's menuing system and configuration. Of course, nothing
in linux can touch the WPS yet, and it will be some time before it does.
OS/2 was very visual. In linux, things are more text oriented, but the GUI
isn't bad..it's just not consistent :) You'll find that you can control a lot
of things in linux once you know the basics. I recommend reading the Linux
User's Guide and the Linux System Administrator's guide at the LDP:
http://www.linuxdoc.org/
Good luck, and welcome to linux!
-- greg, former OS/2 user.
--
Gregory Spath
[EMAIL PROTECTED] http://freefall.homeip.net/
SCHeckler on IRC ----------> http://freefall.homeip.net/javairc/
Team YBR ------------------> http://www.yellowbreechesracing.org/
------------------------------
From: "Michael Perry" <[EMAIL PROTECTED]>
Subject: Re: Setup Storm Linux
Date: Sun, 22 Oct 2000 10:03:45 +0700
In article <[EMAIL PROTECTED]>, "Jesper Petersen"
<[EMAIL PROTECTED]> wrote:
>>First, in the future could you please restrict line lengths on your
>>posts to something less than 80 columns? That will make it easier to
>>read and/or reply to your posts using many programs/hardware. Thanks.
>
> Consider it done :)
>
> [Cut]
>
>> Your best bet
>>is to use an X configuration utility, like xf86config or Xconfigurator.
>
> It's the first time ever i try Linux, so I'm not quite sure how to do
> these things. Should I run an X configuration utility from Linux, or is
> it possible to do from Windows? Because I don't know how to do anything
> in Linux without the graphical interface :(
>
> [Cut]
>
> Jesper
I think after Rod's great advice that a few things need to be added.
Ensure you have a pretty good understanding of what your hardware is.
What kind of video card are you using, nic card? Will you be using a
modem to dialup the internet or a sustained network connection you
already have?
There are a few character mode X setup utilities that will ask for a
bunch of information from you. One is known as xf86config and that runs
without a GUI running; but you will have to know the dynamics of your
system. Another is called XF86Setup and it "can" make some guesses about
what it finds. It has been about 35% successful for me. I tend to run
the character mode stuff. Did you let storm setup a video adaptor for
you? Did it ask?
I would do a bit of research and detective work to find out the
following:
video adaptor
network interface card or modem
scsi adaptor (if you have one)
Get a piece of paper and record all this stuff. Now I would start
reading a good book on linux or particularly any information on storm
linux from their website (www.stormix.com) on perhaps another box like a
windows one that has network access. Join a mailing list or two for new
users of Linux. The distributions have them. Debian's user mailing list
is quite popular and heavily posted to but I have never seen them not
help a new person out. I guess you know that storm linux is based on
debian "under the hood"? If not, no big deal. Try the stormix website,
join their user mailing list, read the archives, get some howto's from
a howto mirror like at tucows.com.
There are many ways to begin the journey; but each trip starts with a
single step. If you do the right step, the next ones are easier. There
is no real "wrong step" though; just some that take things longer than
others.
I would also be prepared to learn Linux in the console. You can do
things quicker, easier, etc.
--
Michael Perry
[EMAIL PROTECTED]
==================
------------------------------
** 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
******************************