Linux-Misc Digest #668, Volume #24 Wed, 31 May 00 21:13:02 EDT
Contents:
Re: Can't Mount 6GB FAT32 (David Efflandt)
Re: Sound Volume (=?iso-8859-1?Q?Beno=EEt?= Smith)
Re: Redirecting the stdout of a running process? (Floyd Davidson)
Re: Clock Synchronization problem... (David Efflandt)
Re: Winmodems )Re: Need ideas for university funded project for linux) (Victor
Wagner)
Re: Winmodems )Re: Need ideas for university funded project for linux) (Victor
Wagner)
Re: Can't Mount 6GB FAT32 (Brett Rosselle)
Re: Winmodems )Re: Need ideas for university funded project for linux) (JEDIDIAH)
USB Zip under linux 6.0? (Chris Sparks)
Re: recursive mv? (Prasanth A. Kumar)
Re: Kernel Building Question (Chris Carbaugh)
Re: <><>StartX???<><> (Floyd Davidson)
Re: Kernel Building Question (Prasanth A. Kumar)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Can't Mount 6GB FAT32
Date: 31 May 2000 23:10:46 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 31 May 2000 07:15:18 -0500, Brett Rosselle <[EMAIL PROTECTED]> wrote:
>Error is wring FS type, bad option, bad superblock, on /dev/hda1, or too
>many mounted file systems. FDISK reports ID c, Win95 FAT32 (LBA) on the
>6GB drive.
>
>On the 1.6 GB FAT32 drive that I can mount, FDISK reports ID c Win95 FAT32
>(LBA). They appear to be the same type.
>
>I am using Mandrake 7.0, kernel version 2.2.14.
Are you mounting each partition on a different dir? Mandrake 7 usually
autmatically detects and sets up mount parameters in /etc/fstab for any
partitions it finds during install. Have you looked at /etc/fstab and are
you sure that this partition is not already mounted somewhere
automatically during boot? The 'df' command can help you determine what
is already mounted or check out the /mnt dir and see if the drive is
already mounted somewhere there.
If not, try a full mount command:
mount -t vfat /dev/hda1 /mnt/Win95c
(assuming you have already created Win95c dir)
>> Brett Rosselle wrote:
>> >
>> > Hi all,
>> >
>> > Can anyone tell me why I can not mount my 6GB FAT32 drive, but I can
>> > mount my 1.6 GB FAT32 drive. I'm not a newbie. I know all about the
>> > FSTAB/MOUNT parameters. This is really bizarre, unless there is some
>> > size/cylinder limitation that I am unaware of, or there are differences
>> > between Win95/FAT32 and Win98/FAT32.
>> >
>> > Any ideas are greatly appreciated.
>
--
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: =?iso-8859-1?Q?Beno=EEt?= Smith <[EMAIL PROTECTED]>
Subject: Re: Sound Volume
Date: Thu, 01 Jun 2000 01:15:24 +0200
Ruediger Otte wrote:
> <snip>
>
> > Is there a way to set the volume I want as default ?
> >
> > Thanks for any answer,
> >
> > --
> >
>
> Hello.
>
> I think it's best to start a mixer every time when the sound-modules
> were loaded by the kernel:
>
> /etc/modules.conf
>
> [...]
> alias char-major-14 mad16
> post-install mad16 /usr/bin/aumix -w80 -p10 [...] (many options)
> [...] ^^^^^
> This should be replaced with the name of the module for
> your soundcard.
>
> R�diger
But how is the latest mixer position restored with this method ?
--
Beno�t Smith
Just a Rhyme Without a Reason
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Redirecting the stdout of a running process?
Date: 31 May 2000 14:26:30 -0800
George Smiley <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Abstract of my problem:
> Is it possible to redirect the stdout of a running process? If so,
>how?
>
> Details.
>
> I have a program called a.out that writes a loop index
> to the stdout. I put this program in the background
> using
>
> nohup a.out >& /dev/null &
>
> I then log out of the workstation and go home. The next day,
> I want to find out how much the program has completed. How can I
> change the redirection of the program and cause its stdout to be
> directed at a desired xterm?
>
> Please reply to this newsgroup. Thanks for any help.
>
> George.
Send the output to a file instead, then use 'tail -f' on the file
to monitor it whenever you want to see the output in real time.
You'll need some mechanism to trim the file to size on a regular
basis. There are many ways to do that, cron being one obvious way.
Floyd
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Clock Synchronization problem...
Date: 31 May 2000 23:23:49 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 1 Jun 2000 02:28:14 +0800, Jonathan <[EMAIL PROTECTED]> wrote:
> Does anyone have the experience in using the API adjtimex()
> to adjust the kernel time of the machine running Linux ?
> Recently, I am studying in the "clock synchronization of the linux
>clusters" area,
> and have implemented some algorithms to synch. the clocks between
>some machines
> running linux OS.
>
> Any suggestion or Info. is appreciated.
>Thanks,
>
>Jonathan Chen
>[EMAIL PROTECTED]
In RedHat I simply use 'ntpdate' (from xntp package) to update system time
from internet time servers and then 'setclock' to set the cmos clock.
Other distros may have 'hdwclock' or 'clock -w' to set the CMOS clock.
The sleep 1 is to allow pppd to stabilize if run from an ip-up script.
The -bs switches do a hard setting of the time instead of skewing it
(since my clocks keep decent time and I rarely run this) and output the
result to /var/log/messages:
#!/bin/sh
sleep 1
# Substitute actual statum 2 hostnames for server1, server2, server3
/usr/sbin/ntpdate -bs server1 server2 server3
/usr/sbin/setclock
--
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] (Victor Wagner)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Winmodems )Re: Need ideas for university funded project for linux)
Date: 31 May 2000 09:51:34 +0400
In comp.os.linux.misc [EMAIL PROTECTED] wrote:
: [EMAIL PROTECTED] (Victor Wagner) writes:
: [using internal power supply connectors to drive external devices]
:> But you have various connectors inside case - for hard disks and so on.
:> Have ever seen how indicators on front panel or 486's coolers are
:> connected to them? Solder a long cable to such a device (female and
:> male connectors connected with 5cm of cable) and you only need to find a
:> hole in case to lead this cable outside.
: In so doing, of course, you run the risk of introducing unpleasant
: interference from the external world. And you also drive the PS
: harder, which makes it heat up faster and last longer.
Of course, you've to do some calculations before doing so.
There are typically figures of allowed 5v and 12v output on the
case of power supply, and it is typically known how much power
particular device consumes.
But consider example of external zip-drive:
If you attach internal zip-drive to the main power supply,
it withstands it.
If you insert just another SCSI controller in the mother board, it
withhands it.
Now you get scsi controller and zip-drive wrapped into the plastic case
just outside your system block. Would you expect something wrong if you
power it from main power-supply?
Really, main reason was following:
Separate power supply units are just not designed for 24x7 operations.
Main power supplys of system blocks are.
I need some devices i.e. modem, operate 24x7 (be ready for call out or
call in).
These power units are not designed to just hang in the wall outlet,
when nothing connected to it. Main power supply too, but there is always
motherboard and hard disks. So if you power thing which you only seldom
use, such as scanner from internal power supply, you can just switch it
on and off using its own power switch, without searching for right
transwormer in long row of wall outlets.
: Maybe I'm a special case, but I already ruined a motherboard by
: driving it from an inadequate PS. And I burn through roughly one
: PS per year. Bear in mind that, with that one exception, all the PSes
: have been at or above the rated level. I don't want to think how fast
: I'd be flying through 'em if I started hooking in all the other crap
: I've got.
In Russian newsgroups, in such cases people usially refer to /dev/hands
or handsd(8). Of course, my solution is for people who at least pass the
university course of physics, and better have some engineering trainig,
so they can sum up numbers from documentation on devices, and compare it
with number on power supply. To be honest, I don't do soldering myself -
I ask my friend who is qualified radio amateur.
: --
: Eric P. McCoy ([EMAIL PROTECTED])
: non-combatant, n. A dead Quaker.
: - Ambrose Bierce, _The Devil's Dictionary_
--
The whole history of computers is rampant with cheerleading at best and
bigotry at worst.
-- Larry Wall in <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Victor Wagner)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Winmodems )Re: Need ideas for university funded project for linux)
Date: 31 May 2000 09:58:56 +0400
In comp.os.linux.misc JEDIDIAH <[EMAIL PROTECTED]> wrote:
: Nope. It's actually quite simple to manipulate the IRQ assignments
: in a modern BIOS. If your COM2 isn't already occupied by something
: else then there isn't going to be any "fiddling" at all actually.
: This is especially true for a modem that comes preset from the factory
: to use COM2.
: As far as "plugging in a connector" constituting 'installation', that's
: just assinine. If that sort of thing bothers you (plugging something
: into a socket) then you need to move to Lancaster county.
Sort of thing which bothers me is
1. Making sure that no long-running backgroung computation job is
running
2. Tell all my family members, that they cannot use their X terminals a
while
3. disconnecting all the cables from machine.
4. Lifting machine from behind my desk where it usially rests happily
5. Unscrewing the case
6. Now comes the thing which you only meant as installation of the card
7. Booting machine outside of its usial place to check if card installed
correctly
8. Shutting it down again and putting into the usial place.
9. Connecting all cables back again
10. Booting it and checking if it sees anything it should see, including
X terminals.
:>
:>External modems are ones whose installation doesn't interrupt system
:>operation. You bring in from shop, you connect it, you turn it on, and
:>other users of your machine do their work in the same time.
: As 'downtime maintenance' goes, plugging in an ISA modem is
: waaay down on the list in terms of turnaround time and end
: user deprivation. Nevermind the fact that not every random
: PC is going to be something 'mission critical' where HA is
: required.
X terminals is the key word. Typically I have to do such kind of
maintainance in deep night, to be sure than nobody of my household have
to finish some urgent work just now.
: Although, if your power grid is like your coms net, any talk
: about HA is really absurd anyways.
Power varies from 150 to 260V but there is nothing good UPS cannot cope
with.
Anyway, if there is a black out, X terminals would go down first,
becouse they aren't connected to UPS, and there would be no trouble
taking machine down too.
--
<Skyhook> Where is 'bavaria' proper? I thought it was austria.
-- Gesehen auf #Linux
------------------------------
From: Brett Rosselle <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Can't Mount 6GB FAT32
Date: Wed, 31 May 2000 18:20:27 -0500
Yeah, been there, done that. No dice.
Oh well.
Brett
David Efflandt wrote:
> On Wed, 31 May 2000 07:15:18 -0500, Brett Rosselle <[EMAIL PROTECTED]> wrote:
> >Error is wring FS type, bad option, bad superblock, on /dev/hda1, or too
> >many mounted file systems. FDISK reports ID c, Win95 FAT32 (LBA) on the
> >6GB drive.
> >
> >On the 1.6 GB FAT32 drive that I can mount, FDISK reports ID c Win95 FAT32
> >(LBA). They appear to be the same type.
> >
> >I am using Mandrake 7.0, kernel version 2.2.14.
>
> Are you mounting each partition on a different dir? Mandrake 7 usually
> autmatically detects and sets up mount parameters in /etc/fstab for any
> partitions it finds during install. Have you looked at /etc/fstab and are
> you sure that this partition is not already mounted somewhere
> automatically during boot? The 'df' command can help you determine what
> is already mounted or check out the /mnt dir and see if the drive is
> already mounted somewhere there.
>
> If not, try a full mount command:
>
> mount -t vfat /dev/hda1 /mnt/Win95c
> (assuming you have already created Win95c dir)
>
> >> Brett Rosselle wrote:
> >> >
> >> > Hi all,
> >> >
> >> > Can anyone tell me why I can not mount my 6GB FAT32 drive, but I can
> >> > mount my 1.6 GB FAT32 drive. I'm not a newbie. I know all about the
> >> > FSTAB/MOUNT parameters. This is really bizarre, unless there is some
> >> > size/cylinder limitation that I am unaware of, or there are differences
> >> > between Win95/FAT32 and Win98/FAT32.
> >> >
> >> > Any ideas are greatly appreciated.
> >
>
> --
> 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] (JEDIDIAH)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Winmodems )Re: Need ideas for university funded project for linux)
Date: Wed, 31 May 2000 23:34:02 GMT
On 31 May 2000 09:58:56 +0400, Victor Wagner <[EMAIL PROTECTED]> wrote:
>In comp.os.linux.misc JEDIDIAH <[EMAIL PROTECTED]> wrote:
>
>: Nope. It's actually quite simple to manipulate the IRQ assignments
>: in a modern BIOS. If your COM2 isn't already occupied by something
>: else then there isn't going to be any "fiddling" at all actually.
>
>: This is especially true for a modem that comes preset from the factory
>: to use COM2.
>
>: As far as "plugging in a connector" constituting 'installation', that's
>: just assinine. If that sort of thing bothers you (plugging something
>: into a socket) then you need to move to Lancaster county.
>
>Sort of thing which bothers me is
>1. Making sure that no long-running backgroung computation job is
>running
If you find this difficult, you shouldn't be running a general
purpose operating system.
>2. Tell all my family members, that they cannot use their X terminals a
>while
As if "hey, mebbe I should just wait" is such a brain wracking
contemplation. REAL sysadmins have to be able to schedule downtime
occasionally, forget about individuals with big heads.
>
>3. disconnecting all the cables from machine.
Why? This is simply uncessary.
>4. Lifting machine from behind my desk where it usially rests happily
>5. Unscrewing the case
>6. Now comes the thing which you only meant as installation of the card
>7. Booting machine outside of its usial place to check if card installed
>correctly
>8. Shutting it down again and putting into the usial place.
>9. Connecting all cables back again
>10. Booting it and checking if it sees anything it should see, including
> X terminals.
You simply have a poorly maintainable 'server configuration'.
[deletia]
You aren't exactly running the Unisys corporate backup library here.
--
In what language does 'open' mean 'execute the evil contents of' |||
a document? --Les Mikesell / | \
Need sane PPP docs? Try penguin.lvcm.com.
------------------------------
From: Chris Sparks <[EMAIL PROTECTED]>
Subject: USB Zip under linux 6.0?
Date: Wed, 31 May 2000 23:52:22 GMT
Has anyone managed to get an Iomega USB zip working under Linux 6.0 or
comparable OS?
If so, I would greatly appreciate a pointer in the direction of the
necessary drivers and other stuff that may be required!
Thank you...
Feel free to email me.
chris
------------------------------
Subject: Re: recursive mv?
From: [EMAIL PROTECTED] (Prasanth A. Kumar)
Date: Thu, 01 Jun 2000 00:15:39 GMT
LTho <[EMAIL PROTECTED]> writes:
> Is there such a thing as a recursive mv, that is mv -r <from> <to> or
> some such.
>
> I recognize that the mv is basically a rename, and to 'move' a whole
> directory tree, normally just the top 'directory' is 'mv'ed.
>
> In this case, I want to transer a whole bunch of stuff via NFS from a
> remote machine to my local machine. Possible? Or do I have to do a
>
> cp -r <from> <to>
> rm -rf <from> <to>
>
> thx
> LTho
<snip>
Yes, a move is basically a rename and if done across a partition, it
will be converted to a cp and rm operation.
--
Prasanth Kumar
[EMAIL PROTECTED]
------------------------------
From: Chris Carbaugh <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.setup,comp.os.linux,alt.os.linux,comp.os.linux.questions,alt.linux
Subject: Re: Kernel Building Question
Date: Wed, 31 May 2000 20:16:51 -0400
I've seen this before on a RedHat system.
Can't recall where the option is in menuconfig, but I know it's there.
I'm pretty sure it has the 'pts' in it as well.
Just read EVERY SINGLE OPTION (sounds like fun) and it should stand out
when you see it.
Sorry I can't be more precise,
Chris
"Walter L. Williams" wrote:
>
> Good Morning
>
> Kernel building isn't the mysterious thing it used to be for me.
> However, there are some curiosities that crop up now and
> again and this is one of them.
>
> I have recently built a new kernel to include my 3C905B
> network card and exclude the IDE stuff as I am now all
> SCSI. I get the following message during boot up:
>
> Mounting /dev/pts.modprobe : modprobe ; can't locate module devpts
> mount : fs type devpts not supported by kernel
>
> Now I looked and looked for any reference to a devpts in my
> kernel setup, especially the "file system" part and have come
> up empty. I have tried different thing in the kernel setup and
> get the same results.
>
> Is there anyone out there that knows what this is? I'm baffled
>
> I am on kernel version 2.2.13 (SuSE 6.3) on a 450mhz K6-2
> I am now all SCSI as far as HDs are concerned. I don't supposed
> this is related to the IDE stuff is it?
>
> Any way, Thanks in advance
>
> Walt in Colorado
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: <><>StartX???<><>
Date: 31 May 2000 15:19:34 -0800
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
>N/A <[EMAIL PROTECTED]> wrote:
>: Fatal server error:
>: No Valid Fontpath could be found
>
>: X Connection to :0.0 broken (explicit kill or server shutdown).
>
>: that describes the error i get when typing "startx" to enter into linux as
>: either the 'root' user or my username. What is the Problem please!!!
>
>No Server. Read its error messages when it starts up. You probably forgot
>to configure it.
No Server??? The message above is *from* the server (the X
server, and a font server is not required).
But obviously you are right that the font configuration for the
server is not correct. In the XF86Config file there should be a
section named "Files", and in that section should be a number of
statements for paths to font files. It should look something
like this:
Section "Files"
FontPath "/var/X11R6/lib/fonts/misc/"
FontPath "/var/X11R6/lib/fonts/75dpi/"
EndSection
With perhaps several FontPath entries, and/or if a font server is
in use there might be an entry like this:
FontPath "tcp/localhost:7000"
Where "localhost" is the host where a fonts sever is found, and 7000
is the port.
It may be that the XF86Config file has the configuration, but the
fonts were never installed.
Floyd
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)
------------------------------
Crossposted-To:
comp.os.linux.setup,comp.os.linux,alt.os.linux,comp.os.linux.questions,alt.linux
Subject: Re: Kernel Building Question
From: [EMAIL PROTECTED] (Prasanth A. Kumar)
Date: Thu, 01 Jun 2000 00:31:19 GMT
<snip>
> "Walter L. Williams" wrote:
> >
> > Good Morning
> >
> > Kernel building isn't the mysterious thing it used to be for me.
> > However, there are some curiosities that crop up now and
> > again and this is one of them.
> >
> > I have recently built a new kernel to include my 3C905B
> > network card and exclude the IDE stuff as I am now all
> > SCSI. I get the following message during boot up:
> >
> > Mounting /dev/pts.modprobe : modprobe ; can't locate module devpts
> > mount : fs type devpts not supported by kernel
> >
> > Now I looked and looked for any reference to a devpts in my
> > kernel setup, especially the "file system" part and have come
> > up empty. I have tried different thing in the kernel setup and
> > get the same results.
> >
> > Is there anyone out there that knows what this is? I'm baffled
<snip>
It would be under filesystems, just under the /proc filesystem.
--
Prasanth Kumar
[EMAIL PROTECTED]
------------------------------
** 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
******************************