Linux-Misc Digest #185, Volume #24 Mon, 17 Apr 00 11:13:02 EDT
Contents:
Re: Voodoo3, X4 and 24 bits (Sander Grendelman)
Re: Expect and auto ftping ?? (Koos Pol)
Re: bash prompt (Floyd Davidson)
Re: Linux, hard disks, UDMA, and such (was: mp3 problems) (Michael J Porter)
Re: Modem and fax (Timothy Parsons)
Re: How Microsoft inhibits competition & innovation (David McKee)
Networking Mac & Linux box... (Torque2000)
Kernel panic - raid 1 and redhat 5.2 ([EMAIL PROTECTED])
TIFF under LinuX (Hartmut =?iso-8859-1?Q?J=FCrgens?=)
Re: Lost my Master Boot Record (Ken Corbin)
Re: how do I get pop3 working? ("Kirk R. Wythers")
Re: Problem installing mandrake (YamYam)
Re: How Microsoft inhibits competition & innovation (Karel Jansens)
Re: How Microsoft inhibits competition & innovation (Karel Jansens)
Re: PCMCIA modem problem (steve)
----------------------------------------------------------------------------
From: Sander Grendelman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Voodoo3, X4 and 24 bits
Date: Mon, 17 Apr 2000 16:07:19 +0200
Reply-To: [EMAIL PROTECTED]
Steve Martin wrote:
> Eon Chamel wrote:
>
> > > > You're right, V3 won't do above 16 bit. Otherwise great card
> > >
> > > Incorrect! I'm running a Voodoo3 2000 PCI here under RH6 and XF86 3.3.3,
> > > and it's running in 32-bit mode as verified by xdpyinfo.
> >
> > I think 16bit is the max for accelerated mode, otherwise it doesn't matter.
>
16 bit is the maximum for 3D-Acceleration, that's something entirely different
from2D acceleration, which should work for the Voodoo3
> Ah. That may be correct; I have no knowledge. I'm running the svga
> server here from 3.3.3, so it's not accelerated. You're right,
> though... great card.
For a lot of cards the svga-server IS accelerated ...
Hope this helped,
Sander Grendelman
-- kill the nospam to mail back !
==========================================================================
Old programmers never die, they just branch to a new address.
==========================================================================
------------------------------
From: [EMAIL PROTECTED] (Koos Pol)
Subject: Re: Expect and auto ftping ??
Date: 17 Apr 2000 14:12:26 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 17 Apr 2000 09:49:58 -0400, Joseph <[EMAIL PROTECTED]> wrote:
| Hello,
| i have a problem with the /usr/bin/ftp program.
|
| I wanted it to log in to various servers and download files in the wee hours
| of the morning, when most people are asleep. To this end i tried to use
| expect . After messing around with it a little bit, I wrote a script that
| expect the "ogin" and "assword" and all that.
| Now when I run the script , it just sits there, after connecting to the
| site.
Ignoring the expect problems, ftp reads from STDIN. So if you have the .netrc
file setup, you could do:
ftp ftp.somewhere.com <<EOF
cd /pub/applic
bin
get app1
quit
EOF
Another possibility is run the following perl script from cron once a night.
(It depends on Perl and curl) It will do it all for you on the fly:
#!/usr/bin/perl
my $url;
my $dest;
my $home=$ENV{HOME};
my $in="$home/lib/geturl.def";
# should be formatted as (E.g.):
# ftp://ftp.somewhere.com/pub/app1 ; /home/johndoe/netscape.html
#
exit, if ( ! -f $in);
open (F,$in) or die ("Can't open $in ($!)\n");
while (<F>) {
($url,$dest)=split (/;/,$_);
trim ($url);
trim ($dest);
if (($url eq '') || ($dest eq '')) {
warn ("Warning:\n");
warn ("($url,$dest)\n");
warn ("Invalid URL/destionation specification. Skipping...\n");
next;
}
next, if ( -f $dest);
exec ('/usr/local/bin/curl --silent '.
'--write-out \'%{url_effective} %{size_download} %{time_total} %{speed
_download}\n\' '.
"-o $dest $url");
}
sub trim {
my $arg = \$_[0];
$$arg =~ s/^\s+//;
$$arg =~ s/\s+$//;
};
HTH,
Good luck.
Koos Pol
======================================================================
S.C. Pol - Systems Administrator - Compuware Europe B.V. - Amsterdam
T:+31 20 3116122 F:+31 20 3116200 E:[EMAIL PROTECTED]
Check my email address when you hit "Reply".
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: bash prompt
Date: 17 Apr 2000 05:37:38 -0800
Johan Kullstam <[EMAIL PROTECTED]> wrote:
>Floyd Davidson <[EMAIL PROTECTED]> writes:
>
>> Johan Kullstam <[EMAIL PROTECTED]> wrote:
>> >yes. i set every environment variable in .bash_profile. PS1
>> >is not (necessarily) an environment variable. i would set PS1
>> >in .bash_profile, but it gets clobbered -- see below.
>>
>> PS1 is a shell variable, not an environment variable.
>
>but it could be.
>
>$ export PS1
>
>now it its in the environment. however, even this will not keep
>non-interactive bash invocations from nulling out their PS1.
Because it isn't really an environment variable after all, is
it! :-)
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)
------------------------------
From: [EMAIL PROTECTED] (Michael J Porter)
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: Linux, hard disks, UDMA, and such (was: mp3 problems)
Date: 17 Apr 2000 10:18:54 -0400
In article <[EMAIL PROTECTED]>,
Dances With Crows <[EMAIL PROTECTED]> wrote:
=>On Sat, 15 Apr 2000 02:16:37 +0100, Ian Molton
=><<[EMAIL PROTECTED]>> shouted forth into the ether:
=>>Jeff Workman wrote:
=>>whats this? could my linux not be using UDMA33 ? how do I find out if it
=>>is or not?
=>
=>To accomodate old hardware, by default Linux uses the bare minimum of a
=>hard drive's capabilities. The emergence of UDMA33/66 has complicated
=>things, because there are about 8 different chipsets for UDMA/XX and the
=>lowlevel black magic that kicks one chipset into UDMA/33 mode can cause
=>another chipset to barf messily.
=>
=>The easiest, quickest, and least painful way to improve hard drive
=>performance under Linux on a modern system is to put this line in
=>/sbin/init.d/boot.local (/etc/rc.d/rc.local for RH folks):
=> hdparm -c1 -u1 -d1 -m16 /dev/hda
=>Read the man page for hdparm to figure out what that actually does.
This would typically take my hard drive from about 3.1 mb/s to
somewhat over 7 mb/s. Without using DMA (-d 0). Depending on what
chipset you have, adding -d1 can cause problems. The reason is
that hdparm only changes the IDE device, it does not change the IDE
controller except possibly in the generic sense. So, if your
chipset needs special setups, then you really should enable
whatever 'autotuning' is available and use the patch I mention
below.
When I was experimenting with this, I would do:
lilo> linux S (boot into single user mode)
thedog # umount -a # unmount all file systems, except root
thedog # mount -o remount,ro / # remount / as readonly
thedog # dd if=/dev/hda of=/dev/null & # run more than one of these
And see if you get any problems. Particularly DMA timeouts, etc.
If that works, mount a temp file system r/w and try some untars or
something to make sure writes work too.
=>UDMA/XX support is not enabled by default for reasons mentioned above. If
=>you want this support, you should get a recent kernel, know what chipset
=>your IDE controller has, and compile support for that chipset in.
=>Afterwards, everything should work automagically, and the boot messages
=>will say something like
=>VT 82C597 Apollo VP3
=> Chipset Core ATA-33
=>Split FIFO Configuration: 8 Primary buffers, threshold = 1/2
=> 8 Second. buffers, threshold = 1/2
=> ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
=>ide0: VIA Bus-Master (U)DMA Timing Config Success
=> ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
=>ide1: VIA Bus-Master (U)DMA Timing Config Success
Depending on what kernel you get, you may want to apply the ide
patch which can be found at http://www.linux-ide.org/. The current
patch is for 2.2.15 pre 17.
Mike
--
===
Mike Porter <[EMAIL PROTECTED]>
PGP Fingerprint: F4 AE E1 9F 67 F7 DA EA 2F D2 37 F3 99 ED D1 C2
------------------------------
From: [EMAIL PROTECTED] (Timothy Parsons)
Subject: Re: Modem and fax
Reply-To: [EMAIL PROTECTED]
Date: Mon, 17 Apr 2000 14:28:29 GMT
On 17 Apr 2000 10:32:08 +0200, JF Bosc <[EMAIL PROTECTED]> wrote:
>Here's the question : I'm using Linux (SuSE 6.3), and I have a modem that can
>receive fax while the computer is off. I'd like to know if there's a way to
>get the fax messages from the modem memory afterwards.
Since it can receive a fax while the computer is off, I would bet it is an
external modem connected to your serial port. If so, there probably is a
set of (non-standard) AT commands to access received faxes. Check the
manual and/or README files that came with the modem. If that doesn't work,
call the manufacturer. From there, you could probably use minicom or a
shell script or something to talk to the modem and get your faxes.
Tim
--
Remove "nomail" to mail me.
------------------------------
From: [EMAIL PROTECTED] (David McKee)
Crossposted-To: comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: 17 Apr 2000 14:19:55 GMT
David Steuber ([EMAIL PROTECTED]) wrote:
: Apple failed, to this very day, to ever create a preemptive
: multitasking operating system.
Not strictly true. In the early ninties, Apple had a product called
A/UX. If you search the web you can still find some info on it. It
was a BSD based system that ran Mac OS binaries (System 6 and 7(?)) in
a compatiblity environment, and was (briefly) touted as a server
platform with all the advantages of a fully modern OS.
They killed it because it had "no future". (Possibily the planned
release of Copland had something to do with this...)
Now, however, we have Mac OS X Server (and sooner or later the consumer
version), an OpenStep based system that runs traditional Mac OS
binaries in a compatibility environment, and is being touted as a
server environment with all the advantages of a fully modern OS.
That's progress the Apple way.
Cheers,
--
-- David McKee
-- [EMAIL PROTECTED]
-- (757) 269-7492 (Office)
------------------------------
From: Torque2000 <[EMAIL PROTECTED]>
Subject: Networking Mac & Linux box...
Date: Mon, 17 Apr 2000 14:30:02 GMT
I have a PM 7100/66, with an AAUI-to-10BaseT transceiver. I want to link
up to my Mandrake 7 Linux box via the network in my house (3 computers
total). I normally use DAVE 2.1 on the Mac to connect when I'm running
Win98SE, but I hate Windows... :D
Is there a way I can connect the two without running Dave on the Mac? I've
heard that Samba can do the trick, but I'm clueless as of yet on Samba. I
know I've got KSamba for KDE on my system now... Also, I have a burner
(ATAPI) on my PC w/ Linux. Is there a way I can burn data from my Mac to
CDR on my PC and still have all the creator codes intact? I haven't had
any luck under Win98 with this...
Thanks bunches!
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Kernel panic - raid 1 and redhat 5.2
Date: Mon, 17 Apr 2000 14:27:30 GMT
I want to install redhat 5.2 with raid 1 (2 Quantum Alas IV).
I install without any problem (boot disk, then sup disk, I find mi
SCSI, install packages, etc...).
But when I'm asked where to place boot sequence (on master boot record
or firts sector of partition), after making a boot disk, I always get
an error.
I can skip this step, and the it reboots.
When I boot, I get an error:
"scsi : hosts
Partition check :
VFS: Cannot open root device 08:01
Kernel panic: VFS: unable to mount root fs on 08:01"
If I try booting with a rescue disk, I insert my root disk and I get:
"Unable to open an initial console."
Can you help me please ?
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Hartmut =?iso-8859-1?Q?J=FCrgens?= <[EMAIL PROTECTED]>
Crossposted-To: comp.graphics.misc
Subject: TIFF under LinuX
Date: Mon, 17 Apr 2000 16:42:45 +0200
Hello, I am searching for a programm for LinuX to show and print TIFF
files with more than one page.
Is there any program out.
Thanks in advance.
Hartmut
------------------------------
From: [EMAIL PROTECTED] (Ken Corbin)
Subject: Re: Lost my Master Boot Record
Date: Mon, 17 Apr 2000 14:52:24 GMT
In article <[EMAIL PROTECTED]>, Koos Pol writes:
> On Mon, 17 Apr 2000 06:25:24 GMT, Ken Corbin <[EMAIL PROTECTED]> wrote:
>| Something went wrong with that boot record, and now nothing I do seems
>| to be able to fix it. Latest thing I've tried is wiping the entire disk,
>| deleting all partitions and creating new ones with DOS fdisk hoping it would
>| replace the master boot record. No luck, I'm still getting an aborted LILO
>| boot when I try to boot from the hard disk.
>
> Too bad you took an enormous job with no result while a simple command would
> do. OTOH, a day nothing learned is a day wasted...
>
> Boot from a DOS diskette and type :"fdisk /mbr"
Wasn't that big a loss, I hadn'd done anything more than install Redhat and
can do that again without a lot of trouble. And I really do try to figure
things out myself before asking for help on a newsgroup like this.
Boot record is back up and running. Thanks bunches and bunches....
------------------------------
From: "Kirk R. Wythers" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,linux.redhat.misc
Subject: Re: how do I get pop3 working?
Date: Mon, 17 Apr 2000 10:05:55 -0500
Hmmm... not sure what you mean "retrive mail" I can use pine to read and send
mail, but I can't use a pop client to retrieve mail. Could this be a sendmail
issue?
Kirk
"James M. Wadkins" wrote:
> I don't have an answer to your problem, but I do have a question. Are
> you able to retrieve any mail from either of these mail system from
> another machine on your net?
>
> Kirk Wythers wrote:
> >
> > I'm trying to set up my office machine as a pop3 server. I have tried both
> > the standard poper that ships with redhat 6.2 and qpopper. Both give me the
> > same "relaying denied" error message when I try and access the machine from
> > home (by the way I can ftp and telnet to the machine just fine). Does this
> > message mean anything to anybody? Have I overlooked something simple?
> >
> > Thanks in advance,
> >
> > Kirk
>
> --
> James Wadkins
> General Manager
> VTAT, Inc.
> 5429 Valley Wells Way
> Las Vegas, NV 89113
> 702-873-0480
> 702-873-0049 Fax
> http://www.vtat.com
> mailto:[EMAIL PROTECTED]
> mailto:[EMAIL PROTECTED]
> mailto:[EMAIL PROTECTED]
--
Kirk R. Wythers University of Minnesota
Email: [EMAIL PROTECTED] Department of Forest Resources
Tel: 612.625.22611530 Cleveland Ave. N.
Fax: 612 625.5212 Saint Paul, MN 55108
------------------------------
From: YamYam <[EMAIL PROTECTED]>
Subject: Re: Problem installing mandrake
Date: Mon, 17 Apr 2000 14:30:07 GMT
U have to write the steps that u have followed when installing mandrake 6.0.
Did u install it alone on the partition, or with another OS? Did u install lilo on
the mbr, or in the partition where mandrake resides? and so on.
So specify ur problem as u can!!!!!!
-YamYam.
ajony wrote:
>
>
> I installed the mandrake 6.0 and after I reboot the system the message
> come
>
> /dos/mandrake/linuxsys.img: No suck file or directory
> VFS: Cannot open root device 07:07
> Kernel Panic: VFS: Unable to mount root fs pm 07:07
>
> Somebody help, I will wait for a solutions, thanks.
>
> Al
> [EMAIL PROTECTED]
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: jansens_at_ibm_dot_net (Karel Jansens)
Crossposted-To:
comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy,comp.lang.java.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: 17 Apr 2000 16:06:58 GMT
"Erik Funkenbusch" <[EMAIL PROTECTED]> wrote:
> Hank Shiffman <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Erik Funkenbusch wrote:
> > >
> > > Eric Peterson <[EMAIL PROTECTED]> wrote in message
> > > news:HxrJ4.2775$[EMAIL PROTECTED]...
> > > > > The aforementioned mouse.
> > > >
> > > > Sorry, but I saw a similar mouse advertised in the late 80s.
> > > > It failed because it was too expensive, but MS did NOT innovate it.
> > >
> > > Interesting. Nobody else in the universe except for you has seen this
> > > mythical mouse. You have no names and no way to prove your statements.
> > > Name the mouse and manufacturer or retract your statement.
> >
> > Nonsense. I too remember articles about this mouse, although it may
> > have appeared in the very early 90s. I was at Sun from 1988 and using a
> > more traditional optical mouse at the time. So your statement about
> > "nobody else in the universe" is now demonstrably false.
>
> Demonstrably? Simply because multiple people claim to vaguely remember
> something that they can not name or produce any proof of?
>
> There are thousands of people that claim to have been abducted by aliens as
> well. Does that make it demonstrably true?
>
>
I repeat myself: Honeywell sold the mouse. The ad appeared in several
issues of Byte at the time. It was one column wide, along the outer
edge of the page, in black only, except that they used a red support
colour to create a sort of "glow" under the mouse.
The mouse was an optical device, requiring no special surface to
operate on (of course, it needed _some_ sort of surface). I don't
recall the price off-hand, but I'm going to wade through my stack of
old Bytes, just to please you.
OK?
Karel Jansens
jansens_at_attglobal_dot_net
========================================================
CIA-bait:
Saddam Hussein Iraq Iran hijack assasinate CIA plutonium
President of the United States thermonuclear device
Windows weapons FBI biohazard Microsoft uranium
submarine kill timer explosives
Have a nice day, guys!
========================================================
------------------------------
From: jansens_at_ibm_dot_net (Karel Jansens)
Crossposted-To:
comp.os.ms-windows.nt.advocacy,comp.os.ms-windows.advocacy,comp.lang.java.advocacy
Subject: Re: How Microsoft inhibits competition & innovation
Date: 17 Apr 2000 16:06:58 GMT
Cool post, but it is Min_i_x.
Actually.
<heh>
Karel Jansens
jansens_at_attglobal_dot_net
========================================================
CIA-bait:
Saddam Hussein Iraq Iran hijack assasinate CIA plutonium
President of the United States thermonuclear device
Windows weapons FBI biohazard Microsoft uranium
submarine kill timer explosives
Have a nice day, guys!
========================================================
------------------------------
From: steve <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking,comp.sys.laptops
Subject: Re: PCMCIA modem problem
Date: Mon, 17 Apr 2000 09:09:28 -0600
Shawn Yeager wrote:
> I'm using the same Dell laptop and Mandrake 7.0 installed and had the modem
> operational without a hitch.
>
> Shawn
>
> zoobe <[EMAIL PROTECTED]> wrote in message
> news:8d9qtt$1c2$[EMAIL PROTECTED]...
> > I have a similar problem. I'm using a Dell Latitude CPi with a Xircom
> > ethernet/modem combo. I've read the PCMCIA HOWTO several times and have
> > found no help there. I'm new to Linux on laptops.
> >
> > How are you verifying that it does not connect with any serial port? I'm
> > using Redhat 6.1 and according to the PCMCIA howto cardmgr should record
> the
> > device information for each socket in the "stab" file; however; I cannot
> > find the "stab" file in any of the locations it lists. Do you know where
> it
> > is located in the Redhat dist?
> > (HOWTO: section 4.1)
> >
> > Erik
> >
> >
> > "Alexei Pankin" <[EMAIL PROTECTED]> wrote in message
> > news:8d86q4$[EMAIL PROTECTED]...
> > > I installed Redhat 6.2 on my Compaq Armada 7800. PCMCIA driver loads
> > > and cardctl recognizes successfully my modem, but it looks like it does
> > not
> > > connect with any serial port and minicom does not work.
> > >
> > > I would appreciate any suggestions.
> > >
> > > Alex.
> > >
> > >
> >
> >
I had this problem with my XIRCOM: first, if eth0 is up, bring it down with
ifconfig eth0 down, then use setserial to change the IRQ to something that
isn't used (I do setserial /dev/ttyS1 IRQ 13) then use setserial to put it to
the correct IRQ (setserial /dev/ttyS1 IRQ 3 for me). Just switching the IRQ
seems
to get it to work. I think this is because the ethernet interface and the
modem use
the same IRQ, and the modem doesn't realize that the IRQ is free, shutting
down
the ethernet interface and reassining the IRQ must make cardctl realize that
it's
OK for the modem to use this IRQ and thus it allows the serial port to attach
to
the modem. Anyways, the PCMCIA docs say that the tulip support for these
cards is buggy and experimental. My system has the modem set-up for COM2,
you need to use XIRCOM's utility to set this (from Windows), as I think it is
COM5 by default (you can use COM5 too, you would just need to add a line like
setserial /dev/ttyS4 IRQ n PORT 0xm to your rc.serial, it's just easier to use
one of the automatically configured ports com1-4) . Once you get everything
working, you can add all this monkeying around to your ppp scripts to make it
seamless.
------------------------------
** 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
******************************