Linux-Setup Digest #345, Volume #21 Fri, 1 Jun 01 01:13:07 EDT
Contents:
Re: 2GB File size limitation (Dances With Crows)
Re: problem with rsh (Dean Thompson)
Re: Help, I'm trying to find COM2 (hoffmyster)
Timeout Waiting for DMA when using IDE CD Writer ("David R. Heffelfinger")
Re: 2GB File size limitation ([EMAIL PROTECTED])
Re: vgetty, mgetty and greeting message problem ("xhc")
Program for Quicktime? ([EMAIL PROTECTED])
help with color and $PS1 (David. E. Goble)
Re: Apache question (hoffmyster)
Re: 2GB File size limitation (David Schwartz)
Re: Redhat7.1 login problem (3FE)
Re: CUPS filter setup (3FE)
Re: help with color and $PS1 (N. Yeamans)
Re: Dial to ISP (3FE)
Re: staroffice install problem (Arthur Sowers)
Installation On a 20GB HArd disk with More than 12Gb for windows ??? does not seem
possible , Help! (Gopalakrishnan)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.misc
Subject: Re: 2GB File size limitation
Reply-To: [EMAIL PROTECTED]
Date: 01 Jun 2001 01:17:04 GMT
[Excessive crossposting and nonexistent NGs removed]
On Thu, 31 May 2001 19:34:41 -0400, Justus staggered into the Black Sun
and said:
>I am running Redhat 6.2 with kernel 2.4.2 on a Dell Power Edge 6400 I
>am using ext2 file system. Is there a way to remove the 2GB file size
>limitation and how if so? Any help would be appreciated.
"Upgrade the entire distro" is the easiest way. The problem is that
file sizes in the VFS were stored in 32-bit signed ints within the kernel
on x86 machines up until roughly 12 months ago, and glibc picked up on
that and used 32-bit signed ints for file sizes in certain important
things like seek() as well. You have a 2.4 kernel, so that's all right.
Your glibc may be up to date, but the utilities like cp, rm, mv, dd,
etc. are probably not able to handle anything larger than 2G as they're
linked against older libraries.
A stock RedHat 7.0 can handle files > 2G on x86... at least, I didn't
have any problems creating a 2.1G file with dd, or appending to it with
cat, or moving it with mv, or killing it with rm, on a RH 7.0 box.
Please note that commercial applications may be screwed, and custom
applications should be recompiled. HTH,
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: problem with rsh
Date: Fri, 01 Jun 2001 11:20:20 +1000
Hi!,
> I am trying to get rsh to work in redhat 7.1. I have the .rhosts and
> /etc/hosts.equiv files with all the hostnames and I have uncommented the
> relevant lines (corresponding to "shell" ) in /etc/inetd.conf
> WHen I type rsh localhost it prints the message 'connection refused' .
> Any suggestions what am I missing? Does redhat 7.1 uses xinetd ? Am I
> modifying the wrong files?
Redhat 7.1 makes use of the xinetd system, so the files you are looking for
live in the /etc/xinetd.d directory. You need to enable the rsh in there to
be able to make a connection into your system.
Once you have made the alterations which might mean removing the disable=yes
line, you will need to restart the xinetd process by doing something like:
/etc/rc.d/init.d/xinetd restart
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: hoffmyster <[EMAIL PROTECTED]>
Subject: Re: Help, I'm trying to find COM2
Date: Thu, 31 May 2001 21:24:28 -0400
I appreciate your patience, Peter, and you are right. I haven't been grasping all
of this until now. I now have seen what I needed to see. Part of my problem is
that I am bouncing back and forth between three HDs each with its own system,
Windows, RH and now Debian so talking intelligently about this has required me to
be in the right system at the right time. I don't expect you to understand that
:-). But here is a portion of the messages that the "init process", did I say that
right now?, the RH system put out
*
*
*
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 65536 bhash 65536)
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
*
*
*
smc-ultra.c:v2.02 2/3/98 Donald Becker ([EMAIL PROTECTED])
eth0: SMC EtherEZ at 0x240, 00 00 C0 79 74 D9,assigned IRQ 3 programmed-I/O mode.
device eth0 entered promiscuous mode
Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
nfsd_fh_init : initialized fhcache, entries=1024
Lucent Modem driver version 4.27.5.66 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS14 at 0xd800 (irq = 10) is a Lucent
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
So there it is, the proof I needed to see for what you have been trying to tell me.
Like I said, and this shows, earlier in the init process, the kernal sets up the
serial ports, ie. ttyS0, using the serial driver, I suppose.
Then, sure enough, just after the modem driver is installed (in rc.local) at the
end of the process, ttyS14 is created. Showing me proof that indeed the modem
driver invokes the kernal to create this "fake" device as you put it. Or maybe you
have been trying to tell me that the driver itself creates this device to use it
and gives the kernal the information it needs(major and minor) to associate the
driver with the device file?
OK, so now I am convinced that once I get the modem driver to install in this base
Debian system I have, then I should be able to at least see ttyS14 or whatever the
device is that the driver and the kernal work out between themselves.
Now the problem is getting this damn module to load.
I just tried to dpkg this driver that supposedly is written explicitly for this
pre17 kernal. Now get this.
The fail message I get is that ltmodem-2.2.19pre17-idepci requires a package called
kernal_image-2.2.19pre17-idepci to be installed. It says that this kernal_image
package is not installed?? Have any idea what this means or how I get this image
installed? It may not mean anything but in /boot the kernal image that I know of
is called vmlinuz-2.2.19pre17-idepci. Is this the problem?
I did go to linmodem.org and found my way to their mailing list and posted a
question about this. Boy, oh boy, oh boy. This is fun. NOT!
RLH
------------------------------
From: "David R. Heffelfinger" <[EMAIL PROTECTED]>
Subject: Timeout Waiting for DMA when using IDE CD Writer
Crossposted-To: comp.os.linux.hardware,alt.os.linux.mandrake
Date: Fri, 01 Jun 2001 01:29:37 GMT
Hello,
I am using Mandrake 8, I have a Maxtor IDE Hard Drive as my primary
master, and an HP 9300 IDE cd writer (using SCSI emulation) as my primary slave.
When I boot DMA is disabled on my primary hard drive.
Relevant section of dmesg output follows:
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c586b (rev 47) IDE UDMA33 controller on pci00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 90845D4, ATA DISK drive
hdb: Hewlett-Packard CD-Writer Plus 9300, ATAPI CD/DVD-ROM drive
hdc: Maxtor 91728D8, ATA DISK drive
hdd: IDE/ATAPI CD-ROM 40X, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 16514064 sectors (8455 MB) w/256KiB Cache, CHS=1092/240/63, UDMA(33)
hdc: 33750864 sectors (17280 MB) w/512KiB Cache, CHS=33483/16/63, UDMA(33)
hdd: ATAPI 17X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda:hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
spurious 8259A interrupt: IRQ7.
hda: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
hda: DMA disabled
ide0: reset: success
If I open my box and unplug the CD Writer DMA is enabled just fine.
Any clue on how to leave the CD Writer plugged and have DMA enabled on my
primary hard drive?
TIA for any help,
David
------------------------------
Crossposted-To:
comp.os.linux.misc,comp.os.linux.x,linux.redhat,linux.redhat.install,linux.redhat.misc,redhat.kernel.general
Subject: Re: 2GB File size limitation
From: [EMAIL PROTECTED]
Date: 31 May 2001 22:04:25 -0400
"Justus" <[EMAIL PROTECTED]> writes:
> I am running Redhat 6.2 with kernel 2.4.2 on a Dell Power Edge 6400 I am
> using ext2 file system. Is there a way to remove the 2GB file size
> limitation and how if so? Any help would be appreciated.
The 2.4.2 kernel doesn't have a 2GB limit.
You may need to upgrade glibc; supposedly versions 2.1 and higher have
large-file support. But many utilities will not work even *after*
upgrading glibc, because they were coded using ``int'' instead of
``off_t'' for file offsets. They will do very cute things: some will
segfault as soon as they pass the 2GB boundary; some will abort; some
will quietly copy the first 2GB of data, infinitely many times...
My advice: just don't. Why do you need big files, anyway?
Len.
--
Even a ``stopped clock'' can look like a growth stock if the
dividend payout ratio is low.
-- Warren Buffett, 1979
------------------------------
From: "xhc" <[EMAIL PROTECTED]>
Subject: Re: vgetty, mgetty and greeting message problem
Date: Fri, 1 Jun 2001 11:11:16 +0800
Well, I have solve the second problem. But the first problem still need
someone's help.
"xhc" <[EMAIL PROTECTED]> ���g��l�� news:9f504h$1pr$[EMAIL PROTECTED]...
> As a new hand to Linux, and after spending a couple day to set up dailin,
> fax, and voice function in one modem with Red Hat 6.2, ther are still two
> problem to be solve:
> 1. By running mgetty in inittab, the dailin and fax work perfectly. To use
> voice function I replace mgetty with vgetty, but this cause dailin
function
> not work. When dial in system response with "line busy" why?
> 2. For the voice function, the greeting message is played but no sound
> generate, no problem with the greeting message file, I can play it in my
> local handset.
>
> Would appreciated any linux guru can help about these two problem.
>
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Program for Quicktime?
Date: Thu, 31 May 2001 23:25:58 -0400
Hello. I am new to linux and trying to find a program to watch quick
time movie.
I found Xanim, but it is to difficult for me to install. Is there any
RPM package to
view Quicktime movie that is easy to install?
Thank you,
Tsugi
------------------------------
From: goble@gtech (David. E. Goble)
Crossposted-To: alt.linux,aus.computers.linux,comp.os.linux.development.apps
Subject: help with color and $PS1
Date: Fri, 01 Jun 2001 03:31:42 GMT
Reply-To: goble@gtech
Hi All;
I have the follow prompt;
PS1="\n\[\033[1;35m\]IBM 686/pr120+ Linux RedHat 6.2
\[\033[0;36m\]\$(date)\n\[\u@\h \W]\\$ "
How do I reset the color, so that everything typed by the user is
light grey, while keeping the prompts colors.
I tried;
PS1="\n\[\033[1;35m\]IBM 686/pr120+ Linux RedHat 6.2
\[\033[0;36m\]\$(date)\n\[\u@\h \W]\\$ \[\033[0;37m\]"
but it did nothing.
------------------------------
From: hoffmyster <[EMAIL PROTECTED]>
Crossposted-To:
linux.redhat.misc,redhat.config,redhat.networking.general,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions
Subject: Re: Apache question
Date: Thu, 31 May 2001 23:31:54 -0400
Lamar Thomas wrote:
> I am running RH 7.1 and I have FTP and Apache web servers working.
> However, after rebooting my Linux box no one can connect to my Apache
> web server until I issue the following command: # "service httpd
> restart".
>
> Anyone know how I can make Apache auto start after a reboot? Thanks for
> any and all help.
>
> Lamar
It seems to me that you can just simply put your command there in
/etc/rc.d/rc.local and let that script type it in for you. I find that
just about the easiest way although I have a feeling some RH enthusiast and
gurus find that as being the cheap way of doing it, but it is quick and
dirty AND saves you from having to do it which is what you are trying to
accomplish, right?
------------------------------
From: David Schwartz <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.misc,comp.os.linux.x,linux.redhat,linux.redhat.install,linux.redhat.misc,redhat.kernel.general
Subject: Re: 2GB File size limitation
Date: Thu, 31 May 2001 20:39:26 -0700
[EMAIL PROTECTED] wrote:
> My advice: just don't. Why do you need big files, anyway?
Well, for one thing, you might want you name server to be authoritative
for 'com'.
DS
------------------------------
From: [EMAIL PROTECTED] (3FE)
Subject: Re: Redhat7.1 login problem
Reply-To: [EMAIL PROTECTED]
Date: Fri, 01 Jun 2001 04:06:26 GMT
On Wed, 30 May 2001 18:36:04 +0100, Paul J Warren <[EMAIL PROTECTED]>:
> Sorry for being a newbie....
Sorry for being an old f***. Chill out man; you don't sound very
newbie-ish to me.
> Just installed redhat 7.1
:-O
> Used authconfig to set NIS no-shadow (and nothing else)
NIS on the distros I've seen need at least an empty shadow and gshadow
to work. I don't know why.
> Ssh2 and CtlAltF1-login (?not sure of the correct name for this) work
> fine but console login KDE appears to dump all non-local (ie NIS) users
Check /etc/nsswitch.conf, you want "nis files" not "files nis", but be
careful with this! If you don't know nis, you could make a world of
trouble for yourself here. Check permissions on the user's home
directories, mount points, ... Think promiscuous, esp. w kde. Gnome
seems better able to handle this. Make sure local uid/gid numbers are
easily distinguishable from nis uid/gid numbers (local 101/ remote 1001).
Root should be a locally defined (not nis) (/etc/passwd, /etc/group) user.
Just a theory.
--
Any technology distinguishable from magic is insufficiently advanced.
TopQuark Software & Serv. Contract programmer, server bum.
[EMAIL PROTECTED] Give up Spammers; I use procmail.
------------------------------
From: [EMAIL PROTECTED] (3FE)
Subject: Re: CUPS filter setup
Reply-To: [EMAIL PROTECTED]
Date: Fri, 01 Jun 2001 04:24:29 GMT
On Thu, 31 May 2001 12:37:25 +0200, Bernd Rieke <[EMAIL PROTECTED]>:
>
> I installed cups printer system on my linux box, nice tool,
> SuSE 7.0. cups 1.1. But now I want to use my own filter.
We found on Suse 7 that CUPS config was heavily dependent on the
browser used. Netscape worked well, Opera next, Konq, poorly.
CUPS also doesn't seem to understand browser caching of data well, so
re-load page OFTEN!
Drivers, though to the N'th detail are for your printer, may not work
best, or at all. Hit google and try a variety of drivers. Copy one
from your Windows disk. It may work best.
> In which directory do I have to install this filter-program
I think pretty near anywhere; you can point cups at that file and it
should slurp it in and store it where it wants it.
> and where do I have to tell the cups-system to use this filter
> for the specific printer. The filter confirms to the rules
The web config stuff works. It fails in non-intuitive ways, but
persistence and a good browser will eventually get it there.
> Thanks in advance
You bet.
--
Any technology distinguishable from magic is insufficiently advanced.
TopQuark Software & Serv. Contract programmer, server bum.
[EMAIL PROTECTED] Give up Spammers; I use procmail.
------------------------------
Crossposted-To: alt.linux,aus.computers.linux
From: [EMAIL PROTECTED] (N. Yeamans)
Subject: Re: help with color and $PS1
Date: Fri, 01 Jun 2001 04:34:26 GMT
Upon the 31 of May in the hour of 21 MDT, the great David. E. Goble did decree:
> PS1="\n\[\033[1;35m\]IBM 686/pr120+ Linux RedHat 6.2
> \[\033[0;36m\]\$(date)\n\[\u@\h \W]\\$ "
>
> How do I reset the color, so that everything typed by the user is
> light grey, while keeping the prompts colors.
See if this helps: '\[\033[37;40;0;10m\]' I think it resets all colors and
highlightings. I tested it in my virtual term, rxvt, and xterm. Appears to
work, but I just pulled it out of code I wrote a year ago...don't remember how
it works.
--
Norman Yeamans - [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (3FE)
Subject: Re: Dial to ISP
Reply-To: [EMAIL PROTECTED]
Date: Fri, 01 Jun 2001 04:36:50 GMT
On Thu, 31 May 2001 19:38:52 -0400, George Trapkov <[EMAIL PROTECTED]>:
>
> I setup my connection and I can dial and I go to Internet Setup. Where
> can I put a shortcut or make it to dial into my ISP when I click on
> Netscape?
You'll have to specify Gnome/KDE, Window manager (sawfish, fvwm,
windowmaker, ...), distribution (Redhat, Suse, Debian, ...), version
(Suse 7.1 Personal Edition, ...).
'Sounds like diald and dial on demand would be good search topics too.
I just use Gnome's modem-applet to call wvdial. Disconnect is less
graceful so far. Don't know the right way to do that.
--
Any technology distinguishable from magic is insufficiently advanced.
TopQuark Software & Serv. Contract programmer, server bum.
[EMAIL PROTECTED] Give up Spammers; I use procmail.
------------------------------
From: Arthur Sowers <[EMAIL PROTECTED]>
Subject: Re: staroffice install problem
Date: 1 Jun 2001 04:38:04 GMT
On Wed, 30 May 2001, Michael Perry wrote:
> On Mon, 28 May 2001 23:35:35 -0400, Jim Parker <[EMAIL PROTECTED]> wrote:
> > enness wrote:
> >
> >> I am trying to inatall staroffice 5.2 om LM 7.2 for the first time.
> >> when I run with "rpm -ivh staroffice-en-5.2-5mdk.i586.rpm" , after a while I
> >> get the error "unpacking of archive failed on file
> >> /opt/office52_en/program/libstu569li.so: cpio:copy". I am not sure what it
> >> all means and what to do.
> >>
> >> Any help is appreciated
> >> Thanks, Sri
> >
> > Where did you get StarOffice as an RPM?
> >
> > Thanks
> > Jim
> >
> >
> The distributions like SuSE and Manduck ship it as an rpm.
>
> --
> Michael Perry
> [EMAIL PROTECTED]
> --------------------
>
Yes, I've seen it along with several Linux distributions, too, but the
original poster did not tell us if his SO was part of his distribution or
a separate disk.
------------------------------
From: [EMAIL PROTECTED] (Gopalakrishnan)
Subject: Installation On a 20GB HArd disk with More than 12Gb for windows ??? does not
seem possible , Help!
Date: 31 May 2001 22:00:23 -0700
I have a Samsung 20GB hdd , However I have been Unable to Install
Redhat Linux 6.2 on it , when My windows partition Is more than 8Gb ,
the redhat Install scripts , simply refuses to create / and /boot
partitions , saying that the partitions are too big , even if i try to
givethem just the default 1MB .Please help.
------------------------------
** 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
******************************