Linux-Misc Digest #775, Volume #25 Sat, 16 Sep 00 05:13:02 EDT
Contents:
Re: USB port ? ([EMAIL PROTECTED])
Re: X-windows newbie question (Christopher Browne)
Re: Upgrade from RH 5.2 to 6.0 lost ZipDrive (Paxx)
Re: Batch for Linux (David M. Cook)
Clock won't stay set right (Fester)
Re: Clock won't stay set right (Prasanth A. Kumar)
lightweight "linux shell" available for win98? (Cevat Ustun)
Re: Clock won't stay set right (Bill Unruh)
Re: Help: batch renaming files - stripping bogus extensions (Ken Pizzini)
Re: How to modify the value of SHMMAX? (Vladimir Florinski)
Re: lightweight "linux shell" available for win98? (acerbus_dae)
2 drives, windowsnt with linux....how? (acerbus_dae)
Re: Clock running very slow (David Efflandt)
Re: sony vaio laptop?? (David Efflandt)
Not recognising 128 MB of Ram (macarena99)
Re: Clock won't stay set right (Anthony Campbell)
Re: partition table corrupt (Svend Olaf Mikkelsen)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: USB port ?
Date: Sat, 16 Sep 2000 04:07:54 GMT
and they are ttyUSB0 thru ttyUSB15 0 and 1 are most important. 0 gets
the connection and 1 does sync. I think. Do a google search for visor
and the howto works ok.
Have fun.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Bento Loewenstein) wrote:
> I've just downloaded 2.2.17 from www.kernel.org. This release has USB
> support backported from 2.4.x, but IIRC you must answer yes for
"Prompt
> for incomplete/experimental device drivers".
>
> Bento
>
> On Wed, 13 Sep 2000 13:58:47 -0700, "Yasuki Izaki"
<[EMAIL PROTECTED]>
> wrote:
>
> >Anyone knows a name of USB port (/dev/ttyu???).
> >I'd like to syncronize my address book between Visor (Handspring) and
my
> >Linux (Redhat 6.1)
> >via USB port. Thanks in advance!
> >
> >Yasuki Izaki
> >
> >
> >
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.x
Subject: Re: X-windows newbie question
Reply-To: [EMAIL PROTECTED]
Date: Sat, 16 Sep 2000 04:35:56 GMT
In our last episode (Sat, 16 Sep 2000 01:18:34 +0800),
the artist formerly known as zoot said:
>> Other distributions have somewhat similar biases...
>> -> Red Hat, at one point, by default would install fvwm-95, with
>> a _REALLY WILD_ configuration scheme called "The Next Level,"
>> which involved a complex combination of M4 scripts; this was
>> _REALLY_ a pain to try to reconfigure;
>
>must have been fun.
It's probably fun enough for those that are into doing bizarre stuff
<http://www.seindal.dk/rene/gnu/uses.htm> with M4.
I probably at some point should educate myself about M4, at which
point "TNL" would become less of a pain. But for the vast numbers of
people that _haven't_ done so, the extra layer mostly buys confusion.
>> -> Corel Linux biased towards installing a number of KDE-based
>> components, as did Caldera.
>
>Corel was also very much into "lets hide everything in corners and
>let the user go look for it."
Albeit (arguably) from the different perspective that their preference
is that the user never bother to _need_ to look for it.
Therein lies the dilemma that I tend to think they take different
approaches to...
--> The "X environment" is of some complexity to configure;
--> It's not something that is terribly well-understood even amongst
those that are generally knowledgeable about "Unix stuff;"
--> Red Hat has a history of setting up a fairly sophisticated
configuration of the X environment where the resultant complexity
is scary to just about _anyone_;
--> Corel "hides things in the corners," which means that if there is
a problem, diagnosing it is made difficult by things being
somewhat hidden.
And I don't even want to _think_ about talking about Xauth...
This is the "ugly side" of X that shows that the authors of the
Unix-Haters Book _do_ have a point when they criticize X for the
degree of complexity involved.
I honestly don't know the _right_ answer, aside from being _honest_
about the fact that the overall X environment _is_ somewhat complex to
configure.
--
(concatenate 'string "aa454" "@" "freenet.carleton.ca")
<http://www.hex.net/~cbbrowne/linux.html>
Rules of the Evil Overlord #151. "I will not set myself up as a
god. That perilous position is reserved for my trusted lieutenant."
<http://www.eviloverlord.com/>
------------------------------
From: Paxx <[EMAIL PROTECTED]>
Subject: Re: Upgrade from RH 5.2 to 6.0 lost ZipDrive
Date: Sat, 16 Sep 2000 04:30:06 GMT
In article <[EMAIL PROTECTED]>,
E J <[EMAIL PROTECTED]> wrote:
> I used these commands to get to my jaz drive which is the same for a zip
> drive.
>
> # /sbin/insmod parport
> # /sbin/insmod parport_pc
> # /sbin/insmod ppa
> # mount /dev/sda4 /mnt/jazdrive -t vfat
Okay...I'll give it a try. If you have your Jazdrive set up in your fstab
file, then you would only have to mount /mnt/jazdrive, just a thought.
Thanks for the input.
--
Paxx -
[This space for Rent]
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (David M. Cook)
Subject: Re: Batch for Linux
Date: 16 Sep 2000 05:00:54 GMT
On Sat, 16 Sep 2000 03:41:00 GMT, Stuart Mika Hankel <[EMAIL PROTECTED]>
wrote:
>I've heard that i can make a 'script'. It's the same like BAT files for DOS?
Similar, but most Linux shells are much more flexible and powerful, as is
the environment they run in.
>How can i generate it? What's the extension?
Any text editor (pico, gvim, jed, joe, etc.) You can use any extension you
like, but you need to have a line at the top of the script like
#!/bin/sh
(this example for the Bourne shell), and you need to make your script
executalbe:
chmod +x fooscript
>I need to program two command line orders.
Linux Gazette has an ongoing series on shell scripting, starting in issue
#52:
http://www.linuxgazette.com/issue52/okopnik2.html
Dave Cook
------------------------------
From: [EMAIL PROTECTED] (Fester)
Subject: Clock won't stay set right
Reply-To: [EMAIL PROTECTED]
Date: Sat, 16 Sep 2000 05:05:49 GMT
For some reason, my clock system clock gains about 30 minutes every week,
and I have to continually reset it.
I don't recall this happening back when this computer used to run
windows... is it a Linux problem, or a "replace your battery, stupid"
problem?
--
-- Fester
We like Roy.
======================================
------------------------------
Subject: Re: Clock won't stay set right
From: [EMAIL PROTECTED] (Prasanth A. Kumar)
Date: Sat, 16 Sep 2000 05:17:14 GMT
[EMAIL PROTECTED] (Fester) writes:
> For some reason, my clock system clock gains about 30 minutes every week,
> and I have to continually reset it.
>
> I don't recall this happening back when this computer used to run
> windows... is it a Linux problem, or a "replace your battery, stupid"
> problem?
>
> --
> -- Fester
>
> We like Roy.
> ======================================
Not sure what could be the problem but I personally run 'xntp3' which
synchronized the system clock to a bunch of more accurate clocks on
the net. It is pretty easy to setup.
--
Prasanth Kumar
[EMAIL PROTECTED]
------------------------------
From: Cevat Ustun <[EMAIL PROTECTED]>
Subject: lightweight "linux shell" available for win98?
Date: Sat, 16 Sep 2000 05:31:52 GMT
Is there a windows (command line) shell that imitates some
of the functionality of a linux shell? Being forced to work with
win9x after a long time, I'm frustrated at not being able
to do ls, grep, vi, head, cut (and pipe the outputs)...
Cev.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Clock won't stay set right
Date: 16 Sep 2000 05:57:40 GMT
In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Fester) writes:
]For some reason, my clock system clock gains about 30 minutes every week,
]and I have to continually reset it.
]I don't recall this happening back when this computer used to run
]windows... is it a Linux problem, or a "replace your battery, stupid"
]problem?
Get chrony. It will both synch your system to UTC when online, and keep
track of your RTC(Real time clock) for bootup
------------------------------
From: [EMAIL PROTECTED] (Ken Pizzini)
Crossposted-To: comp.unix.questions
Subject: Re: Help: batch renaming files - stripping bogus extensions
Date: 16 Sep 2000 06:01:52 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 13 Sep 2000 20:28:39 -0600, Jerri Blavitt� <[EMAIL PROTECTED]> wrote:
>rename .jpg* .jpg *
>or
>rename ".jpg *" .jpg *
I don't know what "rename" command you are using, but the one
mentioned in the FAQ for cuq (a perl implementation) could be
used like so:
rename 's/\.jpg .*/.jpg/i' *.jpg*
--Ken Pizzini
------------------------------
From: Vladimir Florinski <[EMAIL PROTECTED]>
Subject: Re: How to modify the value of SHMMAX?
Date: Fri, 15 Sep 2000 23:23:18 -0700
Graham Brereton wrote:
>
> David wrote:
> >
> > How to do it?
> > Thanks
>
> echo VAL > /proc/sys/kernel/shmmax (or something similar)
>
> sysctl -w sys.kernel.shmmax=VAL (or something similar)
>
I seem to have run out of shared memory. All my software that calls shmget() now
returns 'No space left on device'. What could be the problem?
--
Vladimir
------------------------------
From: acerbus_dae <[EMAIL PROTECTED]>
Subject: Re: lightweight "linux shell" available for win98?
Date: Sat, 16 Sep 2000 06:40:20 GMT
Litestep.org (.com too) is probably the closest you'll get to a
replacement shell for explorer/windows. It doesnt have all the
commands your after, but it certainly gets the feel of some of the
linux desktops.
If you've got space, you can always go the route of a small
distribution to boot to, Linux.org has a great list of small disto's,
many are perfect for cheap systems. Ive got a bunch for under $20 off
auctions, and small distros are awesome on them.
http://www.linux.org/dist/english.html
http://www.litestep.org
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: acerbus_dae <[EMAIL PROTECTED]>
Subject: 2 drives, windowsnt with linux....how?
Date: Sat, 16 Sep 2000 06:55:27 GMT
Im planning on buying a new Dell system with twin 10gig drives, and Id
like NT installed to one disk, and suse/other on the next...Trouble is
Ive never had to do that before, and even though I dont think there
will be any serious problems, Id just like to know if theres anything I
should expect to deal with...
LILO will need to still be on the first drive correct? Anything I
should worry about along the way?
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Clock running very slow
Date: Sat, 16 Sep 2000 07:15:58 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Fri, 15 Sep 2000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>I have linux mandrake 7 on an iwill k6 300MHz motherboard that is
>suddenly running very slow. Even if I do a sleep 1 at the prompt line
>it takes about 3 seconds instead of 1 second.
>This happened before much worse. It was running so slow that I had to
>reboot and the problem went away, but now it is back.
>
>does anyone have any idea what could cause this or should I buy a new
>computer?
>
>thanks in advanced,
>Paul_L
I would find it unusual for a system clock to run normally when you boot
and then slow down that much over time. It is posible that some program
is running away in a race condition or has a memory leak (what does
'uptime' show for load average or what does 'top' show for that or cpu
usage. A memory leak might be causing constant swap. I also know that
some lib used by netscape can bog your system something awful if you exit
X without exiting netscape.
Or you could have a heat condition. I started losing hard drive
interrupts to the point that my system was choking, but I never thought
about checking the time. Clearing out a wad of lint the size of your fist
from in front of my inlet fan solved that.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: sony vaio laptop??
Date: Sat, 16 Sep 2000 07:32:47 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Fri, 15 Sep 2000, sami k mossessian <[EMAIL PROTECTED]> wrote:
>Hi,does anyone know if I can install linux on sony vaio laptop (500/64/P),
>and will I have any problems??
You don't say what model you have (I assume those numbers mean 500 MHz,
64MB Pentium of some kind), but I am running Mandrake 7.0 with an updated
2.2.16 generic kernel (not sure what changed in 2.2.17) on a PCG-F450. My
writeup on that is http://www.de-srv.com/linux/sonyF460.html
The 2.5MB Neomagic video works with the standard SVGA driver, and the 6MB
Neomagic works with some manual intervention or in framebuffer mode. The
Yamaha sound chip might not be supported by the kernel yet, but works with
the latest downloaded Alsa sound drivers or more easily with commercial
opensound.com drivers.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: macarena99 <[EMAIL PROTECTED]>
Subject: Not recognising 128 MB of Ram
Date: Sat, 16 Sep 2000 16:09:39 +0800
Hi
I am running Red Hat 6.2 on my computer with 128 MB of Ram. But when i
look up the info on my memory, it states that total memory is 62.6 MB.
How do i enable 128 MB of Ram on my system.
Thanks in advance
Arun
------------------------------
From: [EMAIL PROTECTED] (Anthony Campbell)
Subject: Re: Clock won't stay set right
Date: 16 Sep 2000 08:35:19 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 16 Sep 2000 05:05:49 GMT, Fester <[EMAIL PROTECTED]> wrote:
>For some reason, my clock system clock gains about 30 minutes every week,
>and I have to continually reset it.
>
>I don't recall this happening back when this computer used to run
>windows... is it a Linux problem, or a "replace your battery, stupid"
>problem?
>
>--
>-- Fester
>
> We like Roy.
>======================================
>
>
Why don't you run adjtimex? It's designed to compensate for this
problem.
--
Anthony Campbell - running Linux Debian 2.1 (Windows-free zone)
Book Reviews: http://www.pentelikon.freeserve.co.uk/bookreviews/
Skeptical articles: http://www.freethinker/uklinux.net/
"Palo y tente tieso." (Spanish proverb)
Free translation: "Hold fast is your only dog."
------------------------------
From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: partition table corrupt
Date: Sat, 16 Sep 2000 08:42:43 GMT
john <[EMAIL PROTECTED]> wrote:
>Findpart, version 3.9.
>Copyright Svend Olaf Mikkelsen, 2000.
>
>Searches for partitions type 01, 04, 06, 07, 0B, 0C, 0E, 82, 83,
>plus Fdisk F6 and Lilo sectors. Information based on bootsectors
>is marked B. If the disk is larger than supported by BIOS, the
>supported part of the disk is examined. Disks are numbered from 1.
>
>OS: DOS 7.10 WINDOWS 4.03
>
>Disk: 1 Cylinders: 3111 Heads: 255 Sectors: 63 MB: 24403
>
>-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CHS
> 0 - 06 63 4192902 2047 0 1 1 260 254 63 B OK
> 261 1 83 63 4192902 2047 261 1 1 521 254 63 NB OK
> 261 2 05 4192965 4192965 2047 522 0 1 782 254 63 261 OK
> 261 - 83 63 4192896 2047 261 1 1 521 254 57 B0 OK
> 320 1 0B 63 3084417 1506 320 1 1 511 254 63 R0 OK
> 320 2 05 5140800 1847475 902 512 0 1 626 254 63 192 OK
> 0 - 0B 5140863 3084417 1506 320 1 1 511 254 63 B OK
> 522 1 06 63 4192902 2047 522 1 1 782 254 63 OK OK
> 522 2 05 8385930 5124735 2502 783 0 1 1101 254 63 261 OK
> 780 1 0B 63 3694887 1804 780 1 1 1009 254 63 R0 OK
> 780 2 05 13141170 1847475 902 1010 0 1 1124 254 63 192 OK
> 0 - 0B 12530763 3694887 1804 780 1 1 1009 254 63 B OK
> 783 1 0B 63 5124672 2502 783 1 1 1101 254 63 R0 OK
> 783 2 05 13510665 6152895 3004 1102 0 1 721 254 63 261 NB
> 0 - 0B 12578958 5124672 2502 783 1 1 1101 254 63 B OK
> 1102 1 0B 63 6152832 3004 1102 1 1 721 254 63 R0 NB
> 1102 2 05 19663560 3084480 1506 1485 0 1 913 254 63 261 NB
> 0 - 0B 17703693 6152832 3004 1102 1 1 1484 254 63 B OK
> Fdisk F6 sector 1103 0 1
> 1485 1 0B 63 3084417 1506 1485 1 1 913 254 63 R0 NB
> 1485 2 05 22748040 5124735 2502 1677 0 1 208 254 63 261 NB
> 0 - 0B 23856588 3084417 1506 1485 1 1 1676 254 63 B OK
> 1677 1 0B 63 5124672 2502 1677 1 1 208 254 63 R0 NB
> 1677 2 05 27872775 4723110 2306 1996 0 1 502 254 63 261 NB
> 0 - 0B 26941068 5124672 2502 1677 1 1 1995 254 63 B OK
> 1996 1 0B 63 4723047 2306 1996 1 1 502 254 63 R0 NB
> 1996 2 05 32595885 192780 94 2290 0 1 514 254 63 261 NB
> 0 - 0B 32065803 4723047 2306 1996 1 1 2289 254 63 B OK
> 2290 1 82 63 192717 94 2290 1 1 514 254 63 NB
> 0 - 83 36965565 12546765 6126 2301 0 1 3081 254 63 B0 OK
> 0 - 83 36981630 12996585 6345 2302 0 1 3110 254 63 B0 OK
> 0 - 83 39021885 10956330 5349 2429 0 1 3110 254 63 B0 OK
>
>-----FAT CHS -Size Cl --Root -Good -Rep. Maybe --Bad YYMMDD DataMB
> 0 1 2 256 32 512 256 0 0 0 000616 1016
> 261 1 2 Second FAT not found.
> 263 0 2 Second FAT not found.
> 320 1 33 1506 8 2 1506 0 0 0 990707 377
> 522 1 2 256 32 512 256 0 0 0 990916 1032
> 780 1 33 3605 4 2 3605 0 0 0 990703 85
> 783 1 33 5000 4 2 5000 0 0 0 990916 1195
> 1102 1 33 6003 4 2 6003 0 0 0 990916 1221
> 1485 1 33 3010 4 2 3010 0 0 0 990916 985
> 1677 1 33 5000 4 2 5000 0 0 0 990916 2192
> 1996 1 33 4608 4 2 4608 0 0 0 991228 1821
> 3015 1 33 Second FAT not found.
> 3084 0 32 Second FAT not found.
>
>Partitions according to partition tables on first harddisk:
>
>-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CHS
> 0 1*06 63 4192902 2047 0 1 1 260 254 63 OK OK
> 0 2 0F 4192965 32772600 16002 261 0 1 2300 254 63 OK
> 0 3 83 36981630 12996585 6345 2302# 0 1 3110*254 63 OK OK
>
> 261 1 83 63 4192902 2047 261 1 1 521 254 63 NB OK
> 261 2 05 4192965 4192965 2047 522 0 1 782 254 63 OK
>
> 522 1 06 63 4192902 2047 522 1 1 782 254 63 OK OK
> 522 2 05 8385930 5124735 2502 783 0 1 1101 254 63 OK
>
> 783 1 0B 63 5124672 2502 783 1 1 1101 254 63 R0 OK
> 783 2 05 13510665 6152895 3004 1102 0 1 721 254 63 NB
> 1102 0 1 1484 254 63 Actual
>
> 1102 1 0B 63 6152832 3004 1102 1 1 721 254 63 R0 NB
> 1102 1 1 1484 254 63 Actual
> 1102 2 05 19663560 3084480 1506 1485 0 1 913 254 63 NB
> 1485 0 1 1676 254 63 Actual
>
> 1485 1 0B 63 3084417 1506 1485 1 1 913 254 63 R0 NB
> 1485 1 1 1676 254 63 Actual
> 1485 2 05 22748040 5124735 2502 1677 0 1 208 254 63 NB
> 1677 0 1 1995 254 63 Actual
>
> 1677 1 0B 63 5124672 2502 1677 1 1 208 254 63 R0 NB
> 1677 1 1 1995 254 63 Actual
> 1677 2 05 27872775 4723110 2306 1996 0 1 502 254 63 NB
> 1996 0 1 2289 254 63 Actual
>
> 1996 1 0B 63 4723047 2306 1996 1 1 502 254 63 R0 NB
> 1996 1 1 2289 254 63 Actual
> 1996 2 05 32595885 192780 94 2290 0 1 514 254 63 NB
> 2290 0 1 2301 254 63 Actual
>
> 2290 1 82 63 192717 94 2290 1 1 514 254 63 NB
> 2290 1 1 2301 254 63 Actual
The extended partition, Pcyl 0, entry 2, ends cylinder 2300. The last
logical partition however ends at cylinder 2301, outside the extended
partition. To correct this you can delete and recreate the swap
partition a little smaller. You may have to run some Linux commands to
get the swap space recognized. I do not know.
Since cylinder 2301 is not used, another possibility would be to edit
the partition table entry for the extended partition, but I do not
know which tool to recommend for other than experts.
Inside the extended partition you see some NB's in the CHS field. This
indicates that the partition table CHS (cylinder/head/sector) values
does not match the LBA values. Inside an extended partition type (ID)
0F, the CHS values by definition should not be used, so this should be
OK.
The R0 values in the BS (boot sector) fields indicates that the
relative entry in the boot sector is relative to sector 0. The normal
value would be relative to the current partition table sector, but the
boot sectors are OK.
The NB in the BS field for the ext2 partition is a result of the
actual partition size being a little smaller then the partition table
entry. This is as it should be.
--
Svend Olaf
------------------------------
** 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
******************************