Linux-Misc Digest #104, Volume #28               Thu, 14 Jun 01 00:13:01 EDT

Contents:
  Re: How to get bigger files? (Brandon McCombs)
  Re: What to use to write my thesis? (Brady Montz)
  Re: adjusting linux partitions (Yvan Loranger)
  Re: fwrite / fread impossibility (Floyd Davidson)
  Re: what is the format of a mp3 cd? (Dances With Crows)
  Re: just screwed mandrake 7.2...... ("bowman")
  Re: gcc 2.96 and Mandrake 8.0 ("bowman")
  Re: best way to copy a large disk from Linux to win 2K? (Lucius Chiaraviglio)
  DNS + ppp (Mboso)
  Re: fvwm.org unreachable ("bowman")
  Re: How to get bigger files? (Dances With Crows)
  Re: adjusting linux partitions (Brandon McCombs)
  insmod? ("Tom Edelbrok")
  Re: Kernel messages: is it really hd? (Dave Uhring)
  Re: Nine questions for newusers (set clock , set services ) (Dave Uhring)
  Re: xmps video viewer (Guy Parry)
  Re: hardware autodetection (Wroot)

----------------------------------------------------------------------------

Date: Wed, 13 Jun 2001 22:16:30 -0400
From: Brandon McCombs <[EMAIL PROTECTED]>
Subject: Re: How to get bigger files?


> Grr.  Uninformed people making this mistake are missing a number of
> points that would allow them to fix things:
> 
> 0.  The limitation is twofold and is not filesystem dependent.
> 1.  The limitation arises from the decision to store some things in
> processor-native data types in kernel 2.2 and 2.0.
> 2.  The x86 architecture uses a 32-bit int for many things.
> 3.  Therefore, on older kernels on the x86 architecture, file size is
> limited to the values you can store in a 32-bit signed int.
> 4.  Older glibc and all the programs linked against it inherit this
> 32-bit signed int limitation, leading to the 2G problem.  It never was a
> problem on 64-bit architectures like Alpha and Sparc.
> 
> So, what can you do?  Upgrade the kernel to 2.4.5, recompile your glibc
> against the new kernel, and recompile the applications you use against
> this new glibc.  Then everything will use 64 bits for file sizes and
> file position offsets, and you can have 2T files.
> 
> The fact that you're using RH 7.1 and having this problem surprises me.
> We have a server running a stock RedHat 7.0 install, and just yesterday,
> I created a 5G file on its disk.  No problems at all.  Check RedHat's
> website, search for "large file", see what you find?  It would not
> surprise me if there were a few RPMs you could download for large file
> support.
> 
> (BTW, Jonas, ReiserFS has its own filesize limitation, but it's 4G.
> ext2's limit is 2T.  Next time, make sure you know what you're talking
> about before posting, OK?)
> 

I had typos in the last email.
Take your own advice.  Reiser 3.6 has a FS limitation of 17,592 (not 17)
gigs (only
b/c of the page cache limits it to that value) and the max size for an
individual file is also 17,592 (not 17) gigs for the same reason.  The
extended limit
is actually 1152921504 gigs.

Version 3.5 had the old limitation.

------------------------------

Crossposted-To: comp.os.ms-windows.apps.word-proc,comp.text.tex
Subject: Re: What to use to write my thesis?
From: Brady Montz <[EMAIL PROTECTED]>
Date: 13 Jun 2001 19:18:10 -0700

[EMAIL PROTECTED] (Wroot) writes:

> Hi,
> 
> I'm wondering what software or standars people would recommend for writing 
> technical scientific papers and a thesis? 
> 
> If I understand correctly, the main options are MS Word and LaTeX. If I 
> choose the former, I'll have to find a Windows machine or a Mac (I prefer
> Linux and FreeBSD). OTOH, LaTeX requires considerable learning.
> 
> Thanks

Having written many pages of techincal prose using both, latex,
without a doubt. If you just let latex take care of the formatting for
you, it's extremely simple to use. Just type your text, tell it what
the sections, chapters, and footnotes are, and let it rip. For fancier
stuff, latex does require some self-education, but by staying with the
latex defaults you can delay a good deal of that for a bit.

MS Word has gotten much more capable over the last few years, but at
the cost of requiring ever more time to learn. I've had enough
adventures with MS Word 2000 garbaging my documents that I've probably
spent as much time learning the intricaces of word as I have with
latex. The day I spent learning how to do cool things like having
latex automatically pull in and format bibliography entries from the
online databases felt much more useful and less aggravating than the
day I spent trying to figure out why my 20 page doc required 100 MB.

So to be fair to everyone, both systems are complicated and each will
require some hours of hair pulling and cursing.

A good book is very helpful. I like "A Guide to Latex" by Kopka and
Daly.

Good examples are even more helpful. The comp.text.tex newsgroup
should be helpful there.

-- 
 Brady Montz
 [EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: adjusting linux partitions
Date: 14 Jun 2001 02:17:12 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)

Jonnie ([EMAIL PROTECTED]) writes:
> How do you adjust partitions in a linux system, every time I have changed my 
>partitions I can't boot to linux again. Is there a way to change fstab to compensate 
>for the changes. I have a usless partition but can't add it to the linux instillation.

give us a before & an after picture & we might be able to help

--
Merci........Yvan          Pour le plein air: Club Vertige
                               http://www.ncf.ca/vertige

------------------------------

From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: fwrite / fread impossibility
Date: 13 Jun 2001 18:39:26 -0800

"Stefan Viljoen" <[EMAIL PROTECTED]> wrote:
>Jean-David Beyer <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> Stefan Viljoen wrote:
>> At the risk of insulting your intelligence, have you rewound the file
>> before you try reading it? Or did you open two different file
>> descriptors, one for reading and one for writing?
>
>Not at all! Any criticism/help welcome.
>
>Yes - I closed it in the writing program and reopened it in the reading
>one - two different programs with the file closed in between.
>
>Stefan

You will probably have to make an effort at narrowing your code
down to just that part which is significant in order to find the
problem.

In the process you can fairly quickly determine if it is the
write or the read that is faulty by changing the write process
to write first x number of records, and then 2x (or some other
obviously larger number) where x is greater than the number at
which the fault appears.  Check the file sizes after the process
is run, and it is either larger or your write process is at
fault.

In any case, whether it is the read or the write process, if you
narrow it down to the smallest program possible which
demonstrates the problem, you'll most likely discover the cause.
If not, when it is sufficiently reduced you can post it for
others to look at.

-- 
Floyd L. Davidson         <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska)                 [EMAIL PROTECTED]

------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: what is the format of a mp3 cd?
Date: 14 Jun 2001 02:53:33 GMT
Reply-To: [EMAIL PROTECTED]

On 13 Jun 2001 17:48:43 -0700, Ronald Cole staggered into the Black Sun
and said:
>I like the idea of putting nearly 700 minutes of music on one cd and
>so I've been considering getting a cd player that can play mp3 files
>stored on a cd.  I'd like to create such a cd to take with me to demo
>some players, but I don't know the layout on the disc.
>
>I gather it's just a directory tree structure that I convert to iso9660
>with mkisofs and burn onto a cd with cdrecord, but I have some questions.
>
>What is the tree structure supposed look like?  How does an mp3 cd
>player know where to start playing mp3 files on the disc?  What are
>the file names supposed to look like?  Can I use rock ridge extensions
>for long file names?
>
>Is there a HOWTO or a FAQ for creating an mp3 cd on linux?  I've spent
>an hour looking on google, but couldn't find any pertinent information
>(other than a suggestion to use "MusicMatch Jukebox" on Windows;
>bleah).

This depends on the player you're using.  Can't say much, since the only
MP3-CD playing device I have is an Apex 600A DVD player.  That device
can deal with subdirectories easily enough, but it does not recognize
RockRidge or Joliet extensions, meaning the onscreen display shows a
bunch of 8-character filenames (yuck).  By default, it plays songs in
ASCIIbetical order.  Playlist capabilities are nonexistent.

The "safe" way would be to dump all the mp3s into one directory, then
  mkisofs -r -J /path/to/that/directory | cdrecord dev=X,Y,Z speed=W -
and call it good.  If a player cannot deal with Rock Ridge or Joliet, it
will fall back to 8+3; if it can, it will use the ones that it can deal
with.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Outside of a dog, a book is a man's best
http://www.brainbench.com     /   friend.  Inside of a dog, it's too dark
=============================/    to read.  ==Groucho Marx

------------------------------

From: "bowman" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: just screwed mandrake 7.2......
Date: Wed, 13 Jun 2001 21:03:17 -0600


"James" <[EMAIL PROTECTED]> wrote in message
news:29UV6.113461$[EMAIL PROTECTED]...
> 2.why mandrake 7.2 lack so many app???��such as pine,gcc, pico.(wondering
if
> i can use the "custom" installation to have those app filled in my
machine?)
> i heard md7.2 is prerelease version and even the kde2.0 is in beta state..

As root, start DrakConf and hit the RpmDrake button. I lost ocunt, but I
think there are over a
thousand rpm's on the CD's in 7.1; I doubt 7.2 is any skinnier.




------------------------------

From: "bowman" <[EMAIL PROTECTED]>
Subject: Re: gcc 2.96 and Mandrake 8.0
Date: Wed, 13 Jun 2001 21:09:12 -0600


"root" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I read an article yesterday whic said it might have been deliberate that
> redhat and drake were latelty shipped with this unstable compiler.. the
> reason being it will speed up the development of the compiler as we all
> act as a testbed and will report all the problems. JUst widens the
> develpment base.

bullshit. I can't think of a good acronym, but, Redhat is not GNU. Nor is
Mandrake part of the Vim developement effort, though they chose to release a
Vim alpha version. RH likes to be on the bleeding edge; if they only used
stable versions in their distros, they would be as backwards as Debian. Of
course, the shit might work better, but that's no fun. You wanna run with
the big dog (MS), you gotta have the big dog attitude: the world is filled
with beta testers. They just don't know it.




------------------------------

From: [EMAIL PROTECTED] (Lucius Chiaraviglio)
Crossposted-To: comp.os.ms-windows.nt.admin.misc
Subject: Re: best way to copy a large disk from Linux to win 2K?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 14 Jun 2001 03:10:56 GMT

roger333@-- <[EMAIL PROTECTED]> wrote:
>I have a large disk (80 GB) build on ext2 (Linux file system). I'd like
>to copy the whole disk directory tree to a PC running win2K with an empty
>80 GB disk on it (NTFS file system). I want exact copy of the tree on linux,
>but to be on NTFS disk.
>
>This is what I tried so far, and none with good results:
>
>1. SAMBA. I map my Linux disk on win2k using samba. then used
>xcopy with all the options to ignore errors and the likes. But
>copy fails after few hours running with resources or memory insuffient
>errors (I have 12b MB of RAM on the windows PC, and 512 MB RAM on the
                ^^^
>linux PC).

        I am amazed that the thing would even boot.  Perhaps you actually
meant 128 Mibytes of RAM on the Windows PC?  12 Mibytes (let alone 12 bytes)
simply doesn't cut it these days.  (-:  Or is this the PHB's PC?  :-)

>I tried the win2K copy/paste on windows explores to copy directories
>one by one from linux to win2k, but the copy operation on many directories
>failes when it encouters an error such as trying to copy same file name
>again (Linux allows same file name in a directory if case different, Win2k
>does not). and the whole copy stops there.  

        You might have to create a batch file to use on the Windows PC (note:
you might be best off using Linux utilities to create the batch file, and then
port it over) to rename the files while copying them (from the mapped drive
letter corresponding for the Linux machine to the local hard disk of the
Windows machine).  If you don't fix this, you will have problems no matter
what you do.  I don't have detailed instructions for doing this autorename
myself, because I would have to mess with it for a while to figure it out.
But I know that the utilities in Unix/Linux are much more powerful than what
is available in Windows (at least without expensive 3rd-party software, unless
you get really lucky), so experiment on a small sample directory tree until
you get a Linux script to write the Windows 2000 batch file properly, and then
port this over to the Windows PC.  If your file transfer mode for the batch
file did not convert LF into CR-LF, open the file in EDIT once and save it to
do this conversion (this at least works under Windows NT 4.0, so I am assuming
that it works under Windows 2000).

>2. I tried ftp. But ftp between linux and win2k can only ftp 2GB
>file max. too much work to break the file system on linux into tar.gz files
>each less than 2 GB. (any one knows if there is a way to remove this limit?)

        Browse the Linux newsgroups for messages about the 2 Gibyte limit.
Basically, the ext2 file system can handle humongous files (2 Tibytes), as can
kernel 2.4.x and certain patched late 2.2.xx kernels, but other programs (FTP,
NFS, etc.) can be weak links on 32-bit architecture machines.  If they use
32-bit pointers to memory-mapped files, they will limit you to 2 Gibyte files.
You might want to search for newer FTP software that does not have this limit.

>3. I thought about creating an ntfs file system on linux and use linux to
>copy the data to the new disk. then move the disk to the win2k pc.
>
>But linux support for ntfs write is not reliable and can cause data loss.
>(ntfs Read is OK, but not write yet).

        If you have enough spare disk space, you could have Linux write the
files to a FAT32 volume (using autorenaming as conceptually described above),
and then have the Windows 2000 machine read them from the FAT32 volume or even
convert the FAT32 volume to NTFS in situ.  Be sure to do a data integrity
verification in between (perhaps use the same autorename utility that you will
hack together to do the copying also do a diff on the files after you reboot
the machine to clear out all disk caches, if you are really paranoid).

>so, any other things I could try? I have not tried PCNFS. would you think that
>would be more reliable?

        I could be wrong, but I understand that NFS is another set of software
that has the 2 Gibyte limit (if I recall correctly, not just on 32-bit Linux
machines), and that a fix for this is still in the future.

-- 
Lucius Chiaraviglio
New e-mail address is approximately:  [EMAIL PROTECTED]
To get the exact address:                         ^^^^^^^^^^^^^^^^^
Replace indicated characters with common 4-letter word meaning the same thing
and remove underscores (Spambots of Doom, take that!).

------------------------------

From: Mboso <[EMAIL PROTECTED]>
Subject: DNS + ppp
Date: Wed, 13 Jun 2001 23:10:28 -0400

couple questions about my ppp connection. i just installed linux for my
first time (RH7). i can get my ppp connection to work when i send all the
commands on one line, but once i attempt to use the generic chat scripts
supplied with RH i keep getting "permission denied" errors, even when i'm
root. anyone have any idea what this is all about? and when i tried to
write my own script i keep seeing "chat script failed" in the /var/log
with no other info. i have the permissions set to rwx for everyone but i
just can't figure out what's going on. I also tried wvdial. it would
establish a connection then hangup
and give an error message saying "not 8 bit clean". I read a
couple of How-Tos and they mentioned the not 8 bit clean error but they
were pretty much no help. i'm sorry if i've left out crutial sys config
info, but any help would be appreciate. iv'e read gaggle of white pages
and i know infietly more than i did a week ago but it seems as though i've
hit an impass....


also, is it possible to find out the ip of your ISP's DNS without asking
them? just curious. 


------------------------------

From: "bowman" <[EMAIL PROTECTED]>
Subject: Re: fvwm.org unreachable
Date: Wed, 13 Jun 2001 21:12:50 -0600


"Harald van Pee" <[EMAIL PROTECTED]> wrote in message
news:9g7ti1$12dq$[EMAIL PROTECTED]...
>
> since a couple of days I can't get the internet adress of
> fvwm.org or www.fvwm.org
> has anybody any information about this problem?

themes.org and several other sites got hacked recently. All open source
sites. Makes you wonder. Now who doesn't like open source and employs a lot
of skilled programmers????




------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: How to get bigger files?
Date: 14 Jun 2001 03:14:50 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 13 Jun 2001 22:16:30 -0400, Brandon McCombs staggered into the
Black Sun and said:
>Dances With Crows wrote:
>> (BTW, Jonas, ReiserFS has its own filesize limitation, but it's 4G.
>> ext2's limit is 2T.  Next time, make sure you know what you're talking
>> about before posting, OK?)
>
>I had typos in the last email.  Take your own advice.  Reiser 3.6 has a
>FS limitation of 17,592 (not 17) gigs (only b/c of the page cache
>limits it to that value) and the max size for an individual file is
>also 17,592 (not 17) gigs for the same reason.  The extended limit is
>actually 1152921504 gigs.
>
>Version 3.5 had the old limitation.

Grr, serves me right.  I'm using the 3.5 version and had no idea that
things had been fixed in the latest.  17,592G = 17.1T and I don't know
how many people have that much disk in one partition.  Gonna be at least
2005 before that kind of storage space becomes commonplace....

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Outside of a dog, a book is a man's best
http://www.brainbench.com     /   friend.  Inside of a dog, it's too dark
=============================/    to read.  ==Groucho Marx

------------------------------

Date: Wed, 13 Jun 2001 23:43:55 -0400
From: Brandon McCombs <[EMAIL PROTECTED]>
Subject: Re: adjusting linux partitions



Jonnie wrote:
> 
> How do you adjust partitions in a linux system, every time I have changed my 
>partitions I can't boot to linux again. Is there a way to change fstab to compensate 
>for the changes. I have a usless partition but can't add it to the linux instillation.
>

are u formatting the partitions???  U have to format b4 u can use them.

------------------------------

From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: insmod?
Date: Thu, 14 Jun 2001 03:52:38 GMT

I am happily running on my new kernel 2.2.14, Redhat.

One nuisance still remains - one of my two NIC's, (A Linksys LNE100TX)
doesn't load automatically. Instead I have to do a couple of "insmod"s and
an "ifup eth1" to get it going.

Where do the "insmod"s normally get executed from during system bootup? How
can I locate where the system is trying to do them (if it is even trying),
so that I can solve the problem? I have easily fixed the problem by putting
the "insmod"s and "ifup eth1" into rc.local, but I would rather solve the
problem properly - only I don't know what part of the system is responsible
for doing the insmod, and how it does it.

Tom



------------------------------

From: Dave Uhring <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Kernel messages: is it really hd?
Date: Wed, 13 Jun 2001 22:57:05 -0500

rennix wrote:

> Hi,
> 
> since about 1 week I get these messages. They appear in the logfiles
> as well as on the console. I dont get them when I log in remote
> though....
> 
> Anyway
> 
> Is this really a hard drive error or is it just a problem with the DMA
> BusMastering?
> I wonder if could solve the problem just by rebooting the box and
> disabling the DMA with hdparm - since (I guess) DMA is now enabled per
> default in the 2.4.x kernel.
> 
> Its an RH7.0 with 2.4 kernel with a 20 GB HD which serves as Web- and
> FTPServer.
> Thats why I didnt reboot yet. Shit hits the fan if the box doesnt come
> up again.
> 
/snip/
> 
> 
> Any suggestion is aprecciated
> 
> Thanx
> 

The 2.4.X kernel is your problem here.  Boot from the 2.2.XX kernel and 
your problems will disappear.

I installed Red Hat 7.1 on a system which gave the exact same error 
messages with RH's 2.4.2 kernel and got rid of the problem by installing a 
2.2.19 kernel.

Fundamentally, if you are using legacy hardware then use a legacy kernel.


------------------------------

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Nine questions for newusers (set clock , set services )
Date: Wed, 13 Jun 2001 23:03:09 -0500

Jeremiah DeWitt Weiner wrote:

> Dances With Crows <[EMAIL PROTECTED]> wrote:
>> There is no real use for the wheel group in Linux.  su is by default
>> available to everyone.  There is an interesting rant/explanation by RMS
>> in the Solaris man page for "su", but it's vanished from the Linux man
>> page.  GO figure.
> 
> Well, maybe there used to be such in the Solaris "su" man page, but
> there isn't now.  (At least as of Solaris 7 11/99.)  I just checked a
> FreeBSD 3.2 system, and it doesn't have one either, so I'm not sure what
> you're remembering.  I do recall seeing that rant, though.  It always
> seemed pretty pointless to me, as you could always make a "wheel" group
> and make
> /bin/su only runnable by group wheel if you wanted.  Then again, enforcing
> that on everybody regardless of local policy also seems kind of silly, so
> maybe RMS had a point.
> 
> JDW
> 
> 

RMS misses his points on occasion.  On some systems it is desirable to 
restrict the use of su to members of one group.  RMS believes that 
"freedom" extends to the ability of any luser to become root.


------------------------------

From: Guy Parry <[EMAIL PROTECTED]>
Subject: Re: xmps video viewer
Date: Thu, 14 Jun 2001 14:07:48 +1000

     I could be WAY off the mark, but my impression was that it was
only for DiVX...

On Wed, 09 May 2001 15:20:46 GMT, [EMAIL PROTECTED] (Ryan
McGuigan) wrote:

>This is exactly what has happened every time I have tried to use that POS.
>Everyone I've spoken with has had the same problem.  I myself have tried
>running it on several linux distributions, but stock and completely
>upgraded to the latest everything.
>
>Kernel versions don't seem to matter.
>
>Try xmms with the avi and mpeg plugins.
>
>Ryan
>
>Full Name ([EMAIL PROTECTED]) wrote:
>: I am trying to use the xmps video viewer, without much success so far.
>: When getting it to read an MPEG file it seems to enter an infinite loop,
>: consuming a lot of CPU cycles, but displaying nothing. Anybody has
>: experienced this kind of problem? In case it is relevant, I am running a 24.2
>: kernel.


------------------------------

From: [EMAIL PROTECTED] (Wroot)
Crossposted-To: alt.os.linux,comp.unix.bsd.freebsd.misc
Subject: Re: hardware autodetection
Date: 13 Jun 2001 21:08:28 -0700

[EMAIL PROTECTED] wrote in message news:<9fq1je$uud$[EMAIL PROTECTED]>...
> Wroot <[EMAIL PROTECTED]> wrote:

> But not knowing you have a 3Com card in your box is plain stupid.

When I was installing FreeBSD on one of my PCs, I new exactly what Ethernet
I had. However, none of the options (there are 7 conflicts by default) 
sounded particularly similar to my card. I guess I got it to work the
first time mostly by luck.

Wroot
P.S. What can be automated should be automated.

------------------------------


** 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.misc.

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
******************************

Reply via email to