Linux-Misc Digest #944, Volume #23 Fri, 24 Mar 00 17:13:03 EST
Contents:
Re: data corruption through nfs ("Big Joe")
Re: LAN transfer speed ([EMAIL PROTECTED])
Re: how to config resolution (Patricia)
Re: Suggestions on AMD box? (Lien-Fei Alex Chu)
Re: eth0 Operation Failed!!! (Cevat Ustun)
Re: Windows 2000 has 63,000 bugs - Win2k.html [0/1] - Win2k.html [0/1] (Sacha
Kaercher)
Re: LINUX or not? (Rod Smith)
Re: What is the best/most popular Linux distr. to use? (Rod Smith)
Re: Error in Messages Log File (brian moore)
Re: Browser based email - Specifics ("Chris")
Re: Windows 2000 has 63,000 bugs - Win2k.html [0/1] - Win2k.html [0/1] (jdaspinw)
----------------------------------------------------------------------------
From: "Big Joe" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat
Subject: Re: data corruption through nfs
Date: Fri, 24 Mar 2000 15:29:01 -0500
I had a similar problem using RH6.0 with samba, transfering data to and from
an NT server to the RH6.0 box would cause data corruption. If you wrote to
the RH box's disk locally everything was fine, but if you copied data to or
from it over the network it would get corrupted periodicly. Upgraded samba,
but still had the problem.
Finally tried another Linux, Caldera's OpenLinux 2.3, with samba and and
everything worked fine. I "assumed" that there was something funky with
RH's file system or network stack. (I didn't go any deeper than that, so I
won't go as far to say that something WAS wrong with RH. Perhaps something
was just configured incorrectly or something. Once it was working I didn't
really care. :)
Watcher <[EMAIL PROTECTED]> wrote in message
news:T5QC4.90$b22.2142@burlma1-snr2...
> (test programs are attached at the end)
>
> We are experiencing strange data corruption problems using RH6.1 nfs
client and
> Solaris nfs server (SunOS 5.6). Later it is also found that same problem
happened
> on RH6.1 nfs server too, with much less frequency. This is likely to be a
nfs
> problem (not clear client or server) because it won't happen if running on
> local disks. We hope we can get help by distributing the problem.
>
> The symptom is as this:
> If do the following procedure:
> 1. A data block is first written to file
> 2. Then write a large amount of data following the block
> 3. Use fseek to seek back to the data block and update with new values,
>
> at the 3rd step, sometimes the data block is failed to be updated.
>
> The interesting thing is that if we use fopen(<name>,"w+") instead of
> using "w", there are much less failures (almost none on Soloaris, but
> some on RH6.1 nfs server). We don't know why.
>
> Things to note:
> . all file handling is using fstream with fopen, fseek, ftell, fwrite. No
> error messages are reported when data corrupted
> . fflush() doesn't help at all.
> . the problem seems to be non-deterministic, meaning it doesn't happen
> all the time and it doesn't necessarily happen at the same place. This
> also makes debugging difficult.
> . the problem won't happen when writing to local disk
>
> Any response for solutions or same experiences would be appreciated.
Please
> make sure you also send your answer to my email address. Thanks in
advance.
>
> Daben
>
> PS
> The following are two programs that demonstrate the problem. testw.c
> will do the above procedure 100 times. The data block is a integer
initialized
> to zero and updated to non-zero. testr.c will check the output file
> and exit if it finds that the data block remains zero. An example output
of
> running testr program:
>
> *** READ TOC hoff = 16808
> *** READ TOC hoff = 24700
> *** READ TOC hoff = 40366
> *** READ TOC hoff = 56339
> *** READ TOC hoff = 74576
> *** READ TOC hoff = 0
> wrong = 1
>
> which says the testw.c program fails at the 6th iteration.
>
> --- test programs ------
>
> /********************************************/
> /* testw.c write data */
> /********************************************/
> #include <stdio.h>
> #include <stdlib.h>
>
> int main(int argc, char *argv[])
> {
> int i,j;
> int dim; /* random number of data in the buffer */
> char *data; /* buffer */
> FILE *fp = fopen("test.dat","w");
> long start;
> int hoff; /* the data block to be updated */
>
> data = (char *)calloc(20003, sizeof(char));
>
> for (i=0;i<100;i++) {
> /* initial hoff and write to file*/
> hoff = 0;
> if (fseek(fp, 0L, 2) == -1) /* seek to the end */
> fprintf(stderr, "fseek cannot get to the end\n");
> if ((start = ftell(fp)) == -1) /* remember the location */
> fprintf(stderr, "ftell failed\n");
> if ((fwrite(&hoff, sizeof(int), 1, fp)) != 1) /* write the first time
*/
> fprintf(stderr, "fwrite failed\n");
>
> /* write data, random pick data size, bug triggered with big size */
> dim = 1+(int) (20000.0*rand()/(RAND_MAX+1.0));
> for (j=0;j<dim;j++) data[j] = 'D';
> if ((fwrite((void *)data, sizeof(char), dim, fp)) != dim)
> fprintf(stderr, "fwrite data failed\n");
> fflush(fp);
>
> /* change hoff, let it register the current FILE pointer location */
> if ((hoff = ftell(fp)) == -1)
> fprintf(stderr, "ftell failed\n");
>
> /* re-write hoff at the beginning, buggy part */
> if(fseek(fp,start,0) == -1)
> fprintf(stderr, "fseek back to the beginning failed\n");
> if((fwrite(&hoff, sizeof(int), 1, fp)) != 1)
> fprintf(stderr, "fwrite rewriting failed\n");;
>
> }
>
> fclose(fp);
> free(data);
> return 0;
> }
>
> ------- the following is the read program to validate the output
file ------
> /*************************************************************/
> /* testr.c : read file test.dat */
> /*************************************************************/
> #include <stdio.h>
> #include <stdlib.h>
>
> int main(int argc, char *argv[])
> {
> FILE *fp;
> int hoff;
> int i;
> int wrong = 0;
>
> fp = fopen("test.dat","r");
>
> for (i=0;i<100;i++) {
> fread(&hoff, sizeof(char), sizeof(int), fp);
> printf("*** READ TOC hoff = %ld \n",hoff);
> if (hoff == 0) {
> wrong ++;
> break;
> }
> fseek(fp,hoff,0);
> }
>
> fclose(fp);
>
> printf("wrong = %d\n",wrong);
> return 0;
> }
>
> ------------------------------------------------------------
> BBN Technologies
> 70 Fawcett Street, Cambridge, MA 02138
> Tel: (617)873-3636
>
>
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: LAN transfer speed
Date: Fri, 24 Mar 2000 20:26:05 GMT
check the entries of your /etc/hosts file. Should look similar to...
127.0.0.1 localhost.localdomain localhost
192.168.0.1 linuxbox.mynetwork.com linuxbox
192.168.0.2 windowsbox.mynetwork.com windowsbox
You may also want to modify the C:\WinNT\System32\Drivers\etc\hosts
file on your Win2K machine.
Curis
In article <guQB4.8961$[EMAIL PROTECTED]>,
"Frenzy Killa" <[EMAIL PROTECTED]> wrote:
> I'm having low transfer speeds between two computers connected
through a
> single twisted pair cable.
>
> One of them is a dual Celeron 366MHz on an ABit BP6 with 128MB RAM,
an IBM
> DeskStar 34GXP 27GB 7200RPM U-ATA/66 and a 3Com 3C905C 10/100 NIC
running
> Windows 2000 Pro. The other is a Pentium 200MHz with 32MB RAM, a
Quantum
> Fireball ST 6.4GB 5400RPM(not really sure about this) and a 3Com
3C905C
> 10/100 NIC running Red Hat 6.1.
>
> When I download files from the linux ftp-server to the Win2K box I
get a
> speed varying between 1500KB/s and 2500KB/s. This to me seems low but
still
> ok. However when uploading I get a constant speed of 131KB/s. This is
> extremely low and totally unacceptable considering that the two boxes
are
> connected solely through a single TP-cable without sending data
through
> hubs, switches or the Internet.
>
> I've tried changing the hard drive and NIC in the Linux box to
different
> brands and models, but still I get the same results. I have also
installed
> the latest kernel(2.2.14) getting the same upload rate but an even
lower
> download rate(about 400-550KB/s). I've also tried the latest NIC
drivers
> from 3Com without further improvement.
>
> I'm quite a Linux newbie, but I do know these rates are way below
average
> for systems with this sort of hardware. Someone please help me with
this.
> It'd be a real pity having a Linux server without being able to use
its full
> potential. I'd really appriciate any help I can get.
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Patricia <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: how to config resolution
Date: Fri, 24 Mar 2000 21:50:55 +0100
On Fri, 24 Mar 2000, Jinning He wrote:
>I just installed RH6.1 on my desktop (coexist with winNT).
>Now the problem is that every window and icon in my screen is so big. I
>believe it's because of the resolution. I would like to know how
>to configure my resolution to make those windows and icons look
>confortable. It's very easy in windoze but seems not that easy in linux.
>I couldn't find any graphical tool. I customized my monitor in the
>installation and choose 1024*768 @80 HZ. And now a single terminal almost
>occupies all the screen.
>
>thanks
>
> -- Jinning
Jinning
edit /etc/X11/XF86Config
and markout the line containing virtual screen
--
HTH :)
Patricia
http://www.crosswinds.net/~beginnerslinux
Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.5-15
12:37pm up 30 min, 1 user, load average: 0.05, 0.42, 0.55
Fri Mar 24 12:37:58 CET 2000
------------------------------
From: Lien-Fei Alex Chu <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Suggestions on AMD box?
Date: Fri, 24 Mar 2000 16:14:41 -0500
Reply-To: [EMAIL PROTECTED]
I have AMD K6-2 300mhz. It runs really well.
Mother board: I would recommand ASUS P5A. It's not very cheap but it works
great. I have 128mb ram... Sound Card: Sound Blaster 16 will do the job... I
have SB 128 but I had a little trouble with it. But, it will also work.
Video Card: ATI Expert 98 works wonderfully. I had one and did not have any
trouble setting it up running RedHat 5.2 and 6.0. Currently, I use ATI All In
Wonder 128 with 16mb ram.
Modem: External is better than internal to setup. BUT, make sure it is not a
WIN modem.
Good luck.
Alex.
DigitalRealmz wrote:
> Hi.
>
> Looking for suggestions on a good AMD based box to run Linux. What I
> want is a good, LOW-cost, do-it-yourself project. What motherboard?
> Sound card? Vid card? Modem (56K)? etc.??? I don't need the fastest set
> up, so suggestions on using an 800MHz proc aren't the kind of thing I'm
> looking for. If I can put together a 300MHz box for under $500 CDN,
> woo-hoo, that's perfect. But I'm just as happy with 166MHz.
>
> Thanks.
> V
> P.S. Sorry for the cross-posts. After posting to comp.os.linux, I
> noticed there was a larger reader base in alt.os.linux, and in
> comp.os.linux.misc.
> --
> ------------------------------------------------------------------------
> www.bluebuttbunny.com
> Funny name. Cool site!
> ------------------------------------------------------------------------
------------------------------
From: Cevat Ustun <[EMAIL PROTECTED]>
Subject: Re: eth0 Operation Failed!!!
Date: Fri, 24 Mar 2000 21:28:54 GMT
I have exactly the same kind of problem; What I'm
particularly confused about is that if I understand it correctly,
dhcp should be the *only* thing enabled for the interface
eth0 at the control-panel (after all, the ip address is
to be configured dynamically). But then, isn't it natural
to see the "operation failed" message? I'm really stumped.
I would really appreciate any help guys,
Cevat
Andy9701 wrote:
>
> In article <[EMAIL PROTECTED]>,
> brad <[EMAIL PROTECTED]> wrote:
> > 'Bring up interface eth0'
> >
> > I stays on this line for about 40 seconds. Once it continues it adds
> > this to the line...
> >
> > 'Determine IP information for eth0. Operation Failed.'
>
> To me, that sounds like you've got it set up for DHCP to get all it's
> info (IP address, Netmask, etc). If you know these settings, you can
> go into Linuxconf, and under Network Settings, Basic Client Settings
> (not sure on the exact wording), click on the eth0 tab, and you can
> click the Manual button (it is most likely on DHCP right now). You can
> then fill out your IP info, and all the other numbers there, and you
> should be all set.
>
> > eth0 sounds like it some sort of network card. (Is this correct?)
>
> Correct.
>
> Hope this helps,
> Andy
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Sacha Kaercher)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Windows 2000 has 63,000 bugs - Win2k.html [0/1] - Win2k.html [0/1]
Date: 24 Mar 2000 21:25:55 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 24 Mar 2000 16:35:25 GMT, JEDIDIAH <[EMAIL PROTECTED]>
wrote:
> Xanim is good enough. So is RealPlayer. You can use Quicktime Pro
> under vmware to 'un-vendor-lock' the newer restricted codecs.
RealPlayer is good. but xanim (and aKtion) are **really** too slow (so
to speak impossible to use)... much slower than other video player in
Win NT. Although I have a K6-200 64MO.
>>QuarkXpress
This one should have been at first position in my list.
Well, I keep trying to run it with Wine... maybe it will work one day.
>>Opera
>
> That's in alpha/beta now.
I know. I hope there will be a stable verison soon. Or at least a good
alternative to Netscape. (please, don't mention lynx ;)
>>Netmeeting
>>PowerPoint
>
> PowerPoint is better tossed in the trash.
> (Yes I've seen 1 too many 'canned' powerpoint presentations.)
Quite bugy, that's true. But very usefull, I have used it many times
and found it is a good tool, when one uses it in a good way (which is
not always the case, as other people said here).
I've forgotten to add : Visual C++ and Visual Basic.
Well, I must say that I use Linux for only one month. Maybe I'll get
rid of my 'Windows habits' quite soon !
-- Sacha
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: LINUX or not?
Date: Fri, 24 Mar 2000 21:37:24 GMT
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
th499 <[EMAIL PROTECTED]> writes:
> Hi,
>
> As a long time user of Windows 98, I'm thinking about ditching the OS for
> Linux. Frankly I don't know which version of Linux I should buy. I'm not
> an expert user on Linux, more of a newbie type. Can you recommend the
> version of Linux I should get? Is Mandrade 7.1 any good?
The last I heard (and I just checked their web site), the latest version
of Mandrake was 7.0. If you're looking at a box labeled "7.1," it's
probably some third party's marketing attempt at work. (Macmillan has done
this in the past, marketing Mandrake 6.1 as 6.5.)
You may want to check my web page on Linux distributions:
http://www.rodsbooks.com/distribs/
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & WordPerfect for Linux
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: What is the best/most popular Linux distr. to use?
Date: Fri, 24 Mar 2000 21:40:38 GMT
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
"Big Joe" <[EMAIL PROTECTED]> writes:
> What's the best/most popular Linux distr. to use? Is there one that's
> better than the other, or runs more apps than others? Or does it matter at
> all? Which company keeps their Linux distr. most up to date?
>
> Which Linux distr. is better for a novice user and which is better for
> experience user? Or is there a difference? For example, if you were going
> to recommend one to a novice which would you recommend as opposed to if you
> were going to recommend one to an experienced user?
>
> If developing an application for Linux, which Linux distr. would you target
> (i.e. make sure it ran and installed ok on)?
See my web site on the subject for my thoughts:
http://www.rodsbooks.com/distribs/
Linux distributions vary mostly in how easily they install and in what
sorts of utilities and applications they provide by default once
everything is installed. This latter category includes configuration
tools, so they do vary in how easy they are to maintain. For this reason,
the "best" distribution for newbies may not be the same as the "best" one
for experienced users. That's not the only dimension of interest, though;
there's also stuff like how well suited they are for specific types of
hardware, for specific tasks, etc.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & WordPerfect for Linux
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Crossposted-To: linux.redhat.misc
Subject: Re: Error in Messages Log File
Date: 24 Mar 2000 21:43:43 GMT
On Tue, 21 Mar 2000 07:25:35 -0800,
Jeff Grossman <[EMAIL PROTECTED]> wrote:
> I just started getting the following line in my Messages Log file this
> past week. I am running Redhat 6.1.
>
> Mar 19 03:50:03 apple modprobe: can't locate module net-pf-10
Add the following line to /etc/modules.conf:
alias net-pf-10 off
Protocol Family 10 is IPv6. You don't need that yet.
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
From: "Chris" <[EMAIL PROTECTED]>
Subject: Re: Browser based email - Specifics
Date: Fri, 24 Mar 2000 16:41:52 -0500
> > My goal is mobility. Many people accomplish this goal with Yahoo mail
and
> > Hotmail. I would like for my company email system to be accessible via
a
> > browser as well.
Yeah and then you have to deal with the spam!
> > We travel frequently and are often at client sites on client PCs. Using
a
> > browser, I can still review my archived mail as well as new mail.
Same here..
I use OpenMail from Hewlett Packard on my Linux machine. When I'm in the
office I use Outlook with MAPI and when I'm out I use their web interface
which is pretty good.. just remember you need access to the server through
your firewall.
Anyway, OpenMail can be found at www.ice.hp.com and is definitely worth a
look.. it supports Outlook/MAPI, IMAP, POP3 and LDAP... extremely scalable
and robust!
Chris
------------------------------
From: jdaspinw <[EMAIL PROTECTED]>
Subject: Re: Windows 2000 has 63,000 bugs - Win2k.html [0/1] - Win2k.html [0/1]
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.redhat
Date: Fri, 24 Mar 2000 13:52:38 -0800
People need to realize that this situation will never come
to a head. Linux will never replace Windows, and Windows
will never erradicate Linux. Why? Well it's simple.
Users who want to get work done quickly and efficiently will
use the Windows platform and server, because it's what most
of the world knows. Yes, Linux is hard to setup. Why?
Because Linux has you interact with the installation, and
set things up by hand, so that there can be no errors. The
only problem is that you have to know what you are doing.
And there is plenty of documentation out there to make sure
that you do.
The simple truth is that Microsoft makes a damned fine
operating system, and if you can't run Windows without
crashing it, then you'd better get the hell out of Linux
before it smacks you upside the head so hard you don't even
remember your own name. NT 5 may have bugs, but it's a hell
of a lot more fun to go home at the end of the day and pop
on instant messenger to chat with some friends, then to go
into Linux and startx and then see if your kaudioserver is
running tonight or not.
There was a guy earlier who hit the nail on the head when he
said that Microsoft and Linux both have their perks, but
they aren't the only operating systems out there on the
market! There's MacOS, Unix varieties, and OS/2 just to
name a few. You have to see the big picture, and that is,
and operating system is an operating system.
I wonder if you guys aren't just a bunch of college kids
discovering Linux for the first time just to feel like a
part of something. You aren't an alliance fighting against
the "evil empire!" For god sake kids!! Look at all the
different Linux distrubutions out there charging $30 - $200
for their operating systems and server os's. Yes, in the
book and software stores that's what they charge.
And Linux is no more stable, secure, or easy to manipulate
than Windows. All you're doing is regurgitating bull crap
you picked up somewhere in a magazine, or from one of these
discussion groups. Do any of you have what it takes to
write an operating system? Have you contributed to the Open
Source kernel? Are you a guru, or just a slob playing at
home with Linux, and because you can configure your modem,
your soundcard, and your printer, you think you have the
right to trash windows. And then late at night you sneak
back on to good old 98 and play Unreal or Quake.
Hell, all these companies are trying to do is write an
operating system and software to accompany it so that you
will buy their products. Are you Microsoft? Do you work
for Microsoft? Do you understand the pressure they are
under to shell out the next big operating system every other
year? If not, then shut the hell up
I'm tired of seeing this crap all over these discussion
boards. Linux doesn't suck. Windows doesn't suck. Hell,
when I got my SuSE distrubution, there was a little note in
there that said "Hey, we fucked up, you can't install LiLO
into the /boot partition on your hard drive! Sorry!" Well
screw them. And hey, they made a graphic interface
installer that doesn't really work!!! Ain't that grand!
They all make mistakes. You can't write operating systems,
and you never will. hell, half of you probably couldn't
program your way out of a round room with one door. I don't
want to see any more of this operating system slamming shit.
It does you no good, and just makes you all look stupid.
There is no "evil empire," and there is no "alliance." If
you want to live a life of fiction thinking you are on the
side of some righteous cause, then go save the freakin world
from something worthwhile. You guys make me sick.
* Sent from AltaVista http://www.altavista.com Where you can also find related Web
Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful
------------------------------
** 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
******************************