Linux-Setup Digest #951, Volume #20 Fri, 30 Mar 01 10:13:13 EST
Contents:
Re: Looking for XFree86-4.0.x rpms for Redhat 6.x? (Orange)
Re: XEmacs locale problem (Sven Mascheck)
Re: Swap: how big? (Tomaz Cedilnik)
Adding a Disk to a Striped RAID0 ("Hi.T.")
Kernel 2.4.2 and AMI Megaraid (Eugenio Mastroviti)
Re: Need help: ftp btwn 2 ppps and 1 eth on same PC (James Carlson)
My HowTO on RH7 and VMWare 2.0.3 Install (root)
Re: suse please help me.... (Dragan Colak)
Can't NFS to RH6.0 box (namnam)
Re: suse please help me.... ("feeyo SRC")
Re: Can't NFS to RH6.0 box ("Davide Bianchi")
Re: boot floppy corrupted - how to login now? (~absinth~)
Re: SCSI emulation on SuSE 7.0 ("Pascal MiQUET")
Re: ATI Radeon graphics cards (Perry Pip)
Re: suse 7.1 network installation (Kevin Croxen)
Re: Adding a Disk to a Striped RAID0 (Joshua Baker-LePain)
jetdirect and linux. ("Kenny@BUI")
----------------------------------------------------------------------------
From: Orange <[EMAIL PROTECTED]>
Subject: Re: Looking for XFree86-4.0.x rpms for Redhat 6.x?
Date: Fri, 30 Mar 2001 20:36:25 +0800
Craig Kelley wrote:
> OrangeDino <[EMAIL PROTECTED]> writes:
>
>
>> Where can I find rpms of XFree86-4.0.x for Redhat 6.x?
>> Or how can I make the rpms for my RH 6.x Linux Box?
>> Thanks a lot for your concern!
>
>
> The easiest way to do it is to get XFree86-4.0.xxx.src.rpm and the
> Xconfigurator from the same directory from your favorite RedHat
> rawhide mirror (or redhat 7, I supose). Then:
>
> rpm --rebuild XFree86-4.0.xxx.src.rpm
> rpm --rebuild Xconfigurator-xxx.src.rpm
>
> rpm -Uvh /usr/src/redhat/RPMS/i386/*
>
> (it takes quite a while to compile, but just let it work)
Thanks!
------------------------------
From: Sven Mascheck <[EMAIL PROTECTED]>
Subject: Re: XEmacs locale problem
Date: 30 Mar 2001 15:23:01 +0200
Robert Morelli <[EMAIL PROTECTED]> wrote:
> [ XEmacs 21.1 under Red Hat 6.2 with GNOME 1.2 ]
> When I start XEmacs from a command prompt [...] there is no problem.
> However, if I start XEmacs from GNOME's Midnight Commander file manager
> (1) (xim-xlib/warning) Can't set locale.
> Using C locale instead.
> My $LANG environment variable is set to en_us. Beyond that, I don't
> know anything about what XEmacs would be looking for here.
Apart from that this is an unimportant warning:
- xemacs(1) IMHO doesn't pay attention to the locale at all.
(I am not sure what "xim-xlib" means exactly. "XInputExtension"?)
- BTW, you might actually be satisfied with LC_CTYPE=en_US
(and having unset LANG and the other LC_*)
- However, you could try to find out what settings are used exactly
when launching it from that "file manager". They seem to be different,
as you don't get that message otherwise.
Sven
--
<URL:http://www.uni-ulm.de/~s_smasch/Locale/>
------------------------------
From: Tomaz Cedilnik <[EMAIL PROTECTED]>
Subject: Re: Swap: how big?
Date: Fri, 30 Mar 2001 15:23:24 +0200
Craig Kelley wrote:
> > wonder if the swapfile is big enough. I have got 256 MB RAM, is a
> > swapfile really even necessary?
>
> YES. You want a place to put stuff that isn't being used, and your
> system will run slower without the swap file. 128MB is probably fine.
Doesn't it depend on how much memory gets used? I know about I/O
buffers, but with a lot of RAM I don't think you should worry. Unless
you have bigger needs.
I've got 128 MB RAM and 126 MB swap. Wouldn't for example 256 MB of RAM
and no swap be better?
However, since this is not much disk usage (comparing to gigabytes of
disk size), I normally choose the swap partition to be same size as RAM.
Just remembered - when I bought a 128 MB RAM and installed Linux, I
tried to make a swap partition bigger but it didn't let me. The
explaination was that the first block is used for addressing others and
therefore the limit is something like that if the blocks are 1k. Is it
just that the old kernel and mkswap that don't support bigger swap? I've
got Red Hat 6.0 (didn't like 6.1 with KDE, GNOME and user-unfriendly
installation).
Tom
------------------------------
From: "Hi.T." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Adding a Disk to a Striped RAID0
Date: Fri, 30 Mar 2001 13:44:14 GMT
I've been all over google and redhat.com in search of the answer, but I
can't find one.
Basically, I have a RAID0 md0 device on my system now with 2 disks. I want
to add a 3rd disk to it and probably a 4th, 5th and 6th later on down the
road. I can't figure out how to get Linux to add the disk without
destroying the data that's currently in the MD0. Also, I'm using reiserfs,
not ext2.
The problem I'm running into now is I've partitioned the new drive and added
it to /etc/raidtab. When the system boots, it's telling me that there is an
invalid suberblock for the new disk, obviously because I haven't run mkraid
on it as I fear the destruction of the current md0.
Incase anyone asks, no, it's not possible for me to move the data from the
md0 elsewhere while I nuke and recreate the md0 :)
I'm running Kernel 2.4.2 with all the latest patches and raid tools.
Any help would be appreciated.
------------------------------
From: Eugenio Mastroviti <[EMAIL PROTECTED]>
Subject: Kernel 2.4.2 and AMI Megaraid
Date: Fri, 30 Mar 2001 14:49:17 +0100
Hi,
I have recently set up a number of Dell 2400/2450 boxes, in different
configurations, with RH 7.0 (yes, including the security patches, thank
you...). They all have an AMI Megaraid controller (some are RAID-1, some
RAID-5), and RH 7.0 works quite fine. I've downloaded and compiled the
2.4.2 kernel, and I have to say I'm impressed by how well it worked.
Only snag is, we have an utility - the only one we could find - called
megamgr, to manage the disk arrays. When I start it under kernel 2.4.2
it complains it can't find the controller and dies. Under kernels 2.2.16
and 2.2.18 it works just fine.
Any clues?
Eugenio
------------------------------
From: James Carlson <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp
Subject: Re: Need help: ftp btwn 2 ppps and 1 eth on same PC
Date: 30 Mar 2001 08:28:22 -0500
"Wu, Simon [WDLN2:2X38:EXCH]" <[EMAIL PROTECTED]> writes:
> My problem is no matter how I manupilate the routing table, all the ftp
> packet go through the last ppp comes up. Can you tell me any trick on
> the routing table to force the ftp packets to go on seperate ppp?
Use different remote IP addresses on the two links.
> IP0, IP1 and IP3 are on the same Linux PC. Ideally, I'd like my ftp
> packets between IP0 and IP3 go though ppp0 and ftp packets between IP1
> and IP3 go through ppp1. If it is impossible, my ftp can be beween IP0
> and IP4, IP1 and IP4. But the packets need to pass through ppp0 and
> ppp1.
>
> PPP0 and ppp1 are my testing targets.
Your testing targets need to have separate IP addresses. You can't
use the same remote address for both. (The same *LOCAL* address is
fine. The remotes *must* be different.)
--
James Carlson, Internet Engineering <[EMAIL PROTECTED]>
SUN Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677
Second Edition now available - http://people.ne.mediaone.net/carlson/ppp
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: My HowTO on RH7 and VMWare 2.0.3 Install
Date: Fri, 30 Mar 2001 08:49:18 -0500
I had a terrible time getting this running (at first). I finally
figured it out with much help from this group. Following is the steps
I used to get this running for any one else having this problem.
Thanks again,
Paul
These instructions describe how I setup VMWare Workstation 2.0.3 build
799 on a RedHat 7.0 (guiness) machine. These directions assume a fresh
RedHat
7.0 install with all of the C Compiler (development) packages
installed. I
just used the gui to perform this install.
1) On the Red Hat Linux machine, first want to find out what
version of the kernel RPMs you have installed. Write down what version
you
have installed.
$ rpm -q kernel
kernel-2.2.16-22
2) Obtain the appropriate version of the upgraded kernel and source.
For me it
was:
kernel-2.2.17-14.i686.rpm and kernel-source-2.2.17-14.i386.rpm
3) Install the kernel and source
# rpm -ivh kernel-2.2.17-14.i686.rpm
kernel-2.2.17-14.i686.rpm
##################################################
# rpm -ivh kernel-source-2.2.17-14.i386.rpm
kernel-source ###########################################
4) Setup the initial RAM disk
Now we need to make the initial RAM disk for your
machine, and to manipulate LILO to boot the new kernel. These steps will
require you to edit the /etc/lilo.conf file.
To make this RAM disk, you will first need to find out what the kernel
in
/boot is called and then use the mkinitrd command.
To find out what the kernel we need to link against, we will list the
/boot
directory, and look for what kernels are installed. The Red Hat kernel
RPM
install should create a symbolic link from the file /boot/vmlinuz to the
kernel that it installed. Also see the section on lilo.conf above.
# ls -l /boot/vmlinuz*
lrwxrwxrwx 1 root root 17 Mar 29 19:24 /boot/vmlinuz ->
vmlinuz-2.2.17-14
-rw-r--r-- 1 root root 627392 Aug 22 2000
/boot/vmlinuz-2.2.16-22
-rw-r--r-- 1 root root 635543 Feb 5 16:11
/boot/vmlinuz-2.2.17-14
We can now feed this data to the mkinitrd command.
# mkinitrd /boot/initrd-2.2.17-14.img 2.2.17-14
# ls -l /boot/initrd-2.2.17*
lrwxrwxrwx 1 root root 17 Mar 29 19:24 /boot/vmlinuz ->
vmlinuz-2.2.17-14
-rw-r--r-- 1 root root 627392 Aug 22 2000
/boot/vmlinuz-2.2.16-22
-rw-r--r-- 1 root root 635543 Feb 5 16:11
/boot/vmlinuz-2.2.17-14
[root@localhost /root]# ls -l /boot/initrd-2.2.17*
-rw-r--r-- 1 root root 418797 Mar 29 19:26
/boot/initrd-2.2.17-14.img
5)Setting up LILO
The last step before rebooting your machine should be editing LILO to
find
the new kernel images. This is fairly simple by adding an entry that
follows
this template:
image=/boot/vmlinuz-<kernel version goes here>
label=linux-test
root=<your root (/) partition goes here
initrd=/boot/initrd-<kernel version goes here>
read-only
On my Red Hat Linux 7.0 machine, I made the following changes to the
/etc/lilo.conf file.
boot=/dev/hda1
map=/boot/map
install=/boot/boot.b
prompt
timeout=5
linear
default=linux
image=/boot/vmlinuz-2.2.17-14
label=linux
initrd=/boot/initrd-2.2.17-14.img
read-only
root=/dev/hda1
Finally, you need to run the lilo command to write these changes to the
boot
sector LILO is installed on.
# lilo -v
You should be ready to reboot your machine with shutdown -r now and the
system will come up with the new kernel.
6) Last step is to get the "kernel-headers" setup so that VMWare install
doesn't squack at you. This is done with the following steps:
a. mv /usr/include/linux /usr/include/linux-2.4.0-0.26
b. make sure that a symlink exists from /usr/src/linux to
/usr/src/linux-2.2.17 by doing an "ls -l /usr/src/" You should see
linux-> linux-2.2.17. if not, do an
"ln -s /usr/src/linux-2.2.17 /usr/src/linux"
c. ln -s /usr/src/linux/include/linux /usr/include/linux
7) Congratulations! You can now install VMWare on your RedHat 7.0
machine.
------------------------------
From: Dragan Colak <[EMAIL PROTECTED]>
Subject: Re: suse please help me....
Date: Fri, 30 Mar 2001 16:15:52 +0200
feeyo SRC wrote:
> Thxz for reading and maybe answering my question =)
> i just got a linux suse 7.1 Because i got so fucking tired of windoze!!!
>
> But i need some help here i have installed the os and everything is
> running (i think)
> I just downloaded LICQ so how do i install software i just downloaded????
> ( i know this is terrible)
> can somebody answer me with an easy to understand guide. =)
> Thxz all!!
>
If you downloaded a file with the extension *.rpm the easiest way to
install it in SuSE is to use the tool yast.
Become root, start yast, go to "Choose/Install packages" and select
the path where the *.rpm file is located on your disk.
If you downloaded a file with the extension *.tgz or *.tar.gz you
probably got the source code of the software.
Unpack and extract the archive with "tar -xzf file_to_proceed_with".
Now you should have a directory called similar to the file you unpacked.
Change to that directory and read the files README and/or INSTALL.
Hope this helps
Dragan
------------------------------
From: namnam <[EMAIL PROTECTED]>
Subject: Can't NFS to RH6.0 box
Date: Fri, 30 Mar 2001 22:19:34 +0800
Reply-To: [EMAIL PROTECTED]
hi all,
i have a RH6.0 box and Win98 box. i have installed NFS (reflection X) in
Win98 box, but i can't map connect to RH6.0 box. Do I need to setup
samba in RH6.0 box ?
regards,
Ken
------------------------------
From: "feeyo SRC" <[EMAIL PROTECTED]>
Subject: Re: suse please help me....
Date: Fri, 30 Mar 2001 16:26:22 +0200
Thank you very much =)
i'll check it out when i get home.
greetz.
fee
"Dragan Colak" <[EMAIL PROTECTED]> wrote in message
news:9a24ek$37ccl$[EMAIL PROTECTED]...
> feeyo SRC wrote:
>
> > Thxz for reading and maybe answering my question =)
> > i just got a linux suse 7.1 Because i got so fucking tired of windoze!!!
> >
> > But i need some help here i have installed the os and everything is
> > running (i think)
> > I just downloaded LICQ so how do i install software i just
downloaded????
> > ( i know this is terrible)
> > can somebody answer me with an easy to understand guide. =)
> > Thxz all!!
> >
>
> If you downloaded a file with the extension *.rpm the easiest way to
> install it in SuSE is to use the tool yast.
> Become root, start yast, go to "Choose/Install packages" and select
> the path where the *.rpm file is located on your disk.
>
> If you downloaded a file with the extension *.tgz or *.tar.gz you
> probably got the source code of the software.
> Unpack and extract the archive with "tar -xzf file_to_proceed_with".
> Now you should have a directory called similar to the file you unpacked.
> Change to that directory and read the files README and/or INSTALL.
>
> Hope this helps
>
> Dragan
>
------------------------------
From: "Davide Bianchi" <[EMAIL PROTECTED]>
Subject: Re: Can't NFS to RH6.0 box
Date: Fri, 30 Mar 2001 09:31:03 -0800
"namnam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> i have a RH6.0 box and Win98 box. i have installed NFS (reflection X) in
> Win98 box, but i can't map connect to RH6.0 box. Do I need to setup
> samba in RH6.0 box ?
If you want to use NFS you must start the NFS deamon and specify
what filesystems you want to export. See the NFS-howto. If you
want to use the simple "file sharing" you can use SMB, in this case
you don't need NFS on the Win box. See the Samba-HOWTO
Davide
------------------------------
From: ~absinth~ <[EMAIL PROTECTED]>
Subject: Re: boot floppy corrupted - how to login now?
Date: Thu, 29 Mar 2001 19:19:51 +0200
Hi.
I had the same problem, too.
I could boot the rescue mode, it's quite easy with red-hat.
just use dd or rawrite to get the rescue image on a floppy.
BUT there's no mkbootdisk there... so it didn't solve
the problem.
any other progression ?
Ben.
Bill Jones wrote:
> I did not install lilo with my install of Redhat 7.0. Been using it for
> months successfully, and now all of a sudden, booting with the floppy no
> longer works. It gets to the boot: prompt, and then just says something
> like "Error 0x0" (not sure if that's the exact msg).
>
> I had installed linux on my previous PC about 5 years ago, and always used a
> boot floppy, and it never failed. So I never wanted to use lilo.
>
> I'm sure if I could get logged in, I could make another boot floppy using
> mkbootdisk, but how can I boot linux now? When I try the Redhat boot
> floppy, it always goes into Installation Mode, no matter what parameters I
> use. I've tried stuff like "linux single root=/dev/hda1" and "linux
> rescue", but nothing works.
>
>
>
> --
> <remove 7of9 for e-mail replies>
>
> --
> Bill Jones e-mail addresses:
> Computer Sciences Corp. (work) [EMAIL PROTECTED]
> Norwich, Connecticut (play) [EMAIL PROTECTED]
> (860) 701-1201 WWW: http://pages.cthome.net/billj
------------------------------
From: "Pascal MiQUET" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,alt.os.linux.suse
Subject: Re: SCSI emulation on SuSE 7.0
Date: Fri, 30 Mar 2001 16:29:00 +0200
Books from 7.1 Pro told us to add into /etc/init.d/boot.local the following
command :
/sbin/modprobe ide-scsi
and to make links ln -sf /dev/scd0 /dev/cdrom
HTH
PMiquet
"Keith Marjerison" <[EMAIL PROTECTED]> a �crit dans le message news:
[EMAIL PROTECTED]
> Hello Again;
> I have an IDE burner ( HP CDWriter+ ) and would like to use it in
> Linux. I have gone through the directions in the SuSE Linux 7.0 Personal
> edition 'Configuration' manual on page 122, and adjusted the item 'Append
> line for hardware parameter' in 'LILO' and altered the file
> '/etc/modules.conf'/ , but the emulation does not work. All I have done is
> removed my CD burner as a CDRom.
> My CD Burner is on ide1 slave with a CDRom as master.
> I added 'hdd=ide-scsi' to 'Apend line for hardware parameter' and
> saved my changes and exited 'YaST'.
> I changed the line 'alias scsi_hostadapter off' to 'alias
> scsi_hostadapter ide-scsi' in the file/etc/modules.conf'.
> Thats all the manual says to do, but when I try to 'Configure'
> 'X-CD-Roast' it does not see the 'ide-scsi' drive emulation.
> What have I missed?
> Thanks in advance.
> />Keith Marjerison
> />[EMAIL PROTECTED]
>
>
------------------------------
From: [EMAIL PROTECTED] (Perry Pip)
Crossposted-To: comp.os.linux.hardware
Subject: Re: ATI Radeon graphics cards
Date: 30 Mar 2001 14:43:33 GMT
Reply-To: [EMAIL PROTECTED]
On 29 Mar 2001 08:53:23 -0700,
Craig Kelley <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Melvin Gators) writes:
>
>> Do these graphics cards work well under linux? Anyone tried the
>> Radeon LE cards yet?
>
>2D works fine.
>
>3D does not at all (usually).
>
??
Mine seems to work rather well in 3d, in quake3, UT and Sof. You have
to do a build from DRI CVS though. It probably won't make into the
dists untill one has Xfree 4.1.
Perry
------------------------------
From: [EMAIL PROTECTED] (Kevin Croxen)
Subject: Re: suse 7.1 network installation
Date: 30 Mar 2001 14:36:47 GMT
Odd. I just did an FTP install from SuSE's ftp site, and made a
YAST bootdisk from the image on their site for this purpose. The
tulip driver was included right on the bootdisk. Didn't need the
modules disks at all.
--Kevin
In article <[EMAIL PROTECTED]>, Shreyas wrote:
>ok, i've witnessed many kudos for suse 7.1, however i can't seem to
>install it. I wish to do a network installation using my LNE100TX
>(linksys) card that works with the tulip.o driver. However, both the boot
>disk and the module2 disk (the disk with the network modules) do not
>contain the tulip.o driver. However it IS included in the suse 6.4
>installation disk. What's up with that? Also, are there any SUSE 7.1 isos
>for i386 out there?
>
>--
>Posted via CNET Help.com
>http://www.help.com/
------------------------------
From: Joshua Baker-LePain <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Adding a Disk to a Striped RAID0
Date: 30 Mar 2001 15:01:00 GMT
In comp.os.linux.misc Hi.T. <[EMAIL PROTECTED]> wrote:
> Basically, I have a RAID0 md0 device on my system now with 2 disks. I want
> to add a 3rd disk to it and probably a 4th, 5th and 6th later on down the
> road. I can't figure out how to get Linux to add the disk without
> destroying the data that's currently in the MD0. Also, I'm using reiserfs,
> not ext2.
> The problem I'm running into now is I've partitioned the new drive and added
> it to /etc/raidtab. When the system boots, it's telling me that there is an
> invalid suberblock for the new disk, obviously because I haven't run mkraid
> on it as I fear the destruction of the current md0.
> Incase anyone asks, no, it's not possible for me to move the data from the
> md0 elsewhere while I nuke and recreate the md0 :)
What, you didn't like the answers last time, so you're trying again? I'm
sorry, but this cannot be done. Even if it could, it cannot be done safely.
Whenever you futz with filesystems, you *must* backup the data or you
risk losing it. And you can't expand software raid arrays in this manner.
So, *again*, your options are to 1) Buy some sort of backup medium (tape
is the standard), backup your data, wipe/recreate your array and restore
your data, or 2) Just add the disks but make them a new partition.
And I ask, again, what is your thinking in wanting to do this? Is this
a big data storage array? That you're not backing up? That will die
completely if any 1 disk in your array goes bad? That's a Bad Idea.
Or is it your whole system? That, again, will die if even one disk in the
array goes bad? RIAD0 b/c you don't want to deal with multiple partitions?
Again -- Bad Idea.
I'd really be interested to hear what kind of setup this is...
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
------------------------------
From: "Kenny@BUI" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: jetdirect and linux.
Date: Fri, 30 Mar 2001 10:06:19 -0500
hello guys,
have any of you worked with hp jetdirect printers being shared through linux
or samba?
is it similar to setting up a remote smb printer attached to a win98 client.
does the jetdirect use netbios names? are the jetdirect printers independant
of the winNT or win98 computer running the jetdirect software?
thank you,
kenny.
------------------------------
** 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
******************************