Linux-Misc Digest #195, Volume #26               Tue, 31 Oct 00 14:13:02 EST

Contents:
  Sound recording (or rather lack of it). ("Barry Samuels")
  linux and Juno ISP (Vikramsimha Haravu)
  tar unfettered ([EMAIL PROTECTED])
  Re: How to use the floppy drive in Linux (Johan Kullstam)
  Startup with a GUI :( (Rahul Asave)
  Re: Startup with a GUI :( (Hilkiah Lavinier)
  Linux/Windows2000 dual OS ("Gilberto E.Urroz")
  Re: CD player apps constantly scanning device ("David ..")
  Re: How to use the floppy drive in Linux (Johan Kullstam)
  Re: Anybody got KDE 2 running on RedHat 7 Yet? ([EMAIL PROTECTED])
  RAID-5 fails when I disconnect disk 0 (Lee Allen)
  Re: daylight savings. (Randall Holobaugh)
  Re: Application required - Word Processor (Tibor Mocsar)
  Re: Anybody got KDE 2 running on RedHat 7 Yet? ([EMAIL PROTECTED])
  Re: syntax highlighting pager? ("Anthony")
  Detect number of CPU's from within a program? ([EMAIL PROTECTED])
  Konqueror:  where? (Jacques Guy)

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

From: "Barry Samuels" <Barry Samuels <[EMAIL PROTECTED]>
Subject: Sound recording (or rather lack of it).
Date: Tue, 31 Oct 2000 18:02:57 +0000

I am running Debian 2.2, kernel 2.2.17pre6 and a SoundBlaster Live using
the Creative/Emu module.

Try as I might I cannot record anything!

When I say I cannot record I mean that, although I can create a file by
using something like Gramofile, Sound-recorder or KRecord, when it is
played back it produces silence (not a scientifically accurate statement)! 
The file size increases by about 8MB per minute.

If I boot the machine into Windows 95 (shudder!!!) I can record and
playback successfully and I can play the recorded .wav file back using
Linux.  The recorded file produced by Linux also produces silence under
windows.

I have tried recording as a user and as root - no difference. 
/dev/dsp has rw permission for owner and group.

I am running KMix and am using the line input socket on the card. 
Recording volume for line input is at maximum.  I put all recording
sliders up to be on the safe side and there is sound coming out of the
speakers.

I'm clean out of ideas.  Any helpful suggestions will be _very_ gratefully
recieved.

Barry Samuels

(The e-mail address above is incorrect my real address is:

bsamuels (AT) datamansys (AND) .co.uk

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

From: [EMAIL PROTECTED] (Vikramsimha Haravu)
Subject: linux and Juno ISP
Date: 31 Oct 2000 13:15:25 -0500


I have tried various ways to dial in to Juno or Netzero or Barnes and N ISP, but
 it hasnt worked. I have succesfully made a PPP connection to my college account
 (using the same methods used to do Juno)  and hence know that my basics are rig
ht.

The error I get when trying to connect to Juno and others is 'PAP authentication
 failed' and LCP terminated. I've checked many times to make sure login and pass
wd are entered correctly in the pap/chap-secrets file. Is there anything differe
nt that one needs to do from logging in to an edu server and a free ISP server?

Please help,

thank you,
Vikram.
---



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

From: [EMAIL PROTECTED]
Date: Tue, 31 Oct 2000 12:11:46 -0500
Subject: tar unfettered

Greetings!

I'm trying to back up a partition on my little laptop HD to my desktop HD.
I install the laptop HD using a special connector into the desktop -- no
problem, the partitions can be seen. I then try to create a tarball on a
partition on the desktop but I get an error like 'error delayed' and the
tar fails.

The laptop partition hpfs (OS/2) and the desktop partition is (FAT16). I
cd to the FAT16 partition and run:

tar czvhf backup.tgz \os2

where '\os2' is the name of the OS2 hpfs partition.

(I've forgotten now if I used any other parameters.)

There's a gotcha somewhere? syntax? cross partition madness? something
else.

I really should try to back up the partition to an ext2 partition which
I'll try the next time I have things set up.

F. 


===========================================================
     Felmon John Davis          
     [EMAIL PROTECTED]           
     [EMAIL PROTECTED]        
     Union College /  Schenectady, NY
     os/2 - ma kauft koi katz em sack
===========================================================


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

Subject: Re: How to use the floppy drive in Linux
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 31 Oct 2000 13:22:03 -0500

[EMAIL PROTECTED] writes:

> I’m new in Linux world; I need to know how to use the floppy drive.How
> do I copy files from hard drive to floppy and how from floppy to hard
> drive. What commands should I use?

<ginsu-announcer-voice>
in linux, the floppy can be used like a tape!
</ginsu-announcer-voice>

i use tar.

tar cvf /dev/fd0 files...
tar tvf /dev/fd0
tar xvf /dev/fd0

set the environment variable TAPE=/dev/fd0 and the floppy will be your
default.

tar cv files...
&c

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
sysengr

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

From: Rahul Asave <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Startup with a GUI :(
Date: Tue, 31 Oct 2000 18:23:47 GMT

Hi Everyone
I finally got Redhat 7.0 onto my computer. Seems like I did the
impossible :)
Anyways, it starts up in ... a DOS like mode, without any GUI login
prompt. How do I get it to startup in GUI mode and then use terminal
windows to give shell commands?
Please help!
Thanks a lot.
Rahul


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

From: Hilkiah Lavinier <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: Startup with a GUI :(
Date: Tue, 31 Oct 2000 18:29:43 +0000

couple of ways.  With RH7 after I got X working I set graphical and
networking as my default boot mode in linux conf, but that didn't work
(dont' know why) so I just edited my /etc/lilo.conf file and I have at
least 3 entries

label=graphical
image=<whatever ur image is>
append=5
restricted
password=xxxxx

label=text
image=<whatever ur image is>
append=3
restricted
password=xxxxx

label=maintenance
image=<whatever ur image is>
restricted
password=xxxxx
append=1

then chmod 600 /etc/lilo.conf

works like a charm for me.



Rahul Asave wrote:

> Hi Everyone
> I finally got Redhat 7.0 onto my computer. Seems like I did the
> impossible :)
> Anyways, it starts up in ... a DOS like mode, without any GUI login
> prompt. How do I get it to startup in GUI mode and then use terminal
> windows to give shell commands?
> Please help!
> Thanks a lot.
> Rahul


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

Subject: Linux/Windows2000 dual OS
From: "Gilberto E.Urroz" <[EMAIL PROTECTED]>
Date: Tue, 31 Oct 2000 11:22:03 -0700

I got this 30GB hard disk computer that my boss bougth for me (nice,
isn't it?) and I tried to install Linux along with the Windows 2000
Professional OS that the computer has.  Partition Magic 5.0, which work
wonderfully under Windows 95 and 98, does not work with Windows 2000
Professional.

Can anyone guide me to a web site or other reference on how to install
Windows 2000 Professional and Linux in the same hard disk?

Thanks,

G.Urroz


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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: CD player apps constantly scanning device
Date: Tue, 31 Oct 2000 12:24:58 -0600

"R.K.Aa." wrote:
> 
> if i add cd player applet to gnome panel, or simply start the CD player
> program, a dmesg will show continous scanning of the disk if no media
> has yet been inserted.
> 
> This means i can't really use cd player applet, if i want to utlize
> dmesg at all. It fills up with redundant info at an alarming rate,
> a zillion of lines all looking like this:
> 
> VFS: Disk change detected on device sr(11,0)
> 
> Any idea why this agressive scanning is going on, and not least why it
> mess up logs? Shuldn't those apps stop polling the device once they've
> realized an audio CD is NOT present? And then leave it up to me - to
> click on something there - to scan again to see if anything has changed?
> 
> Or is there some new gnome autoplay feature with a hickup somewhere?
> 
> The CD player is fairly new, a Plexwriter 12/10/32A. Everything works as
> it should, modules load OK, no errors reported. Reading, writing and
> playing CD's all work fine. Also: If i DO insert an audio-CD in the
> player, the scanning and thus the "disk change" message immediately stops.
> 
> I believe this output in dmesg started first after i upgraded to the
> latest gnome-stuff from helixcode. Running RH6.2 + all relevant upgrades.
> 
> K.


I had the same problem and don't know if this is the fix for it or just
that it is the only thing I can think of that I did that may have fixed
it. When I compiled the 2.2.17 kernel I compiled the IDE module and IDE
cdrom module into the kernel. I no longer get the message. Again I don't
know that that is the proper way to fix it but it is the only thing I
can think of that I did to it.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

Subject: Re: How to use the floppy drive in Linux
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 31 Oct 2000 13:23:25 -0500

"Rob" <[EMAIL PROTECTED]> writes:

> <[EMAIL PROTECTED]> wrote in message news:8tl17h$fjb$[EMAIL PROTECTED]...
> > I'm new in Linux world; I need to know how to use the floppy drive.How
> > do I copy files from hard drive to floppy and how from floppy to hard
> > drive. What commands should I use?
> > Any suggestion is appreciated.
> > Thank you
> >
> >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
> 
> You really need to read up on your file systems mate, but I'll get you
> going.
> 
> You have to mount the drive.

no you don't.  you can use mtools, tar, cpio &c without mounting.

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
sysengr

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

From: [EMAIL PROTECTED]
Subject: Re: Anybody got KDE 2 running on RedHat 7 Yet?
Date: Tue, 31 Oct 2000 18:33:44 GMT

In article <8tj14j$ire$[EMAIL PROTECTED]>,
  "Jeff" <[EMAIL PROTECTED]> wrote:
> I downloaded the rh7 rpms from kde. I
downloaded the
> qt2.2.1 rpms & libso rpm from raw hide and was
able
> to install all rpms with no errors. when I
selected KDE
> from the GUI login window my screen started to
load
> into something and then just brings me back to
the log
> in screen.
>
>
I may have the same problem, the installation
runs with no error with the latest KDE, libpng
and qt rpms, but when I start KDE it says that
dcopserver is not running. If it  happens to you
then this is the way I have resolved the problem:

If you run the command "ldd /usr/bin/dcopserver"
you will see that libqt.so.2 is not resolved
because it is not in the standard library
paths. I have added the path of this library to
the LD_LIBRARY_PATH before running startkde and
see that it works. Following is the content of my
.Xclients-default (myLinux is the name of my
station):

export LD_LIBRARY_PATH=/usr/lib/qt2/lib:
$LD_LIBRARY_PATH
export DISPLAY=myLinux:0
exec
startkde





Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Lee Allen)
Subject: RAID-5 fails when I disconnect disk 0
Reply-To: [EMAIL PROTECTED]
Date: Tue, 31 Oct 2000 18:42:18 GMT

I have RAID installed and working on my system.  Almost.  It works
great unless I disconnect drive 0.  Then it refuses to mount my RAID-5
partition.

More information...
  RedHat 6.2
  3 identical SCSI drives
  non-RAID swap partitions on each drive
  RAID-1 /boot and / partitions on all drives
  RAID-5 for an /mnt1 partition on all drives

If I remove any other drive, the system works fine.
If I remove drive 0 the system boots up okay -- no problem with swap,
/ or /boot -- but the system thinks the RAID-5 /mnt1 filesystem is
corrupt.  e2fsck spits out:

"The superblock could not be read or does not describe a correct 
ext2 filesystem.  If the device is valid and it really contains
an ext2 filesystem (and not swap or ufs or something else), then 
the superblock is corrupt, and you might try running e2fsck with 
an alternate superblock:
  e2fsck -b 8193 <device>

fsck.ext2: Bad magic number in super-block while trying to open
/dev/md2"

I have tried running "e2fsck -b 32768" (the correct location of the
first superblock) and also the second & third superblocks.  Same
error.

My /etc/raidtab specifies persistent-superblock.

Any ideas?

-Lee Allen
===================================================================
/proc/mdstat BEFORE disconnecting drive 0:

Personalities : [raid1] [raid5] 
read_ahead 1024 sectors
md0 : active raid1 sdc1[2] sdb1[1] sda1[0] 2048192 blocks [3/3] [UUU]
md2 : active raid5 sdc5[2] sdb5[1] sda5[0] 4096384 blocks level 5, 64k
chunk, algorithm 0 [3/3] [UUU]
md1 : active raid1 sdc7[2] sdb7[1] sda7[0] 24000 blocks [3/3] [UUU]
===================================================================
/proc/mdstat AFTER disconnecting drive 0 and booting
(note that sdc became sdb, sdb became sda):

Personalities : [raid1] [raid5] 
read_ahead 1024 sectors
md0 : active raid1 sdb1[2] sda1[1] 2048192 blocks [3/2] [_UU]
md2 : active raid5 sdb5[2] sda5[1] 4096384 blocks level 5, 64k chunk,
algorithm 0 [3/2] [_UU]
md1 : active raid1 sdb7[2] sda7[1] 24000 blocks [3/2] [_UU]
unused devices: <none>
===================================================================
/etc/raidtab (md2 is at the bottom):

raiddev             /dev/md0
raid-level                  1
nr-raid-disks               3
chunk-size                  64k
persistent-superblock       1
#nr-spare-disks     0
    device          /dev/sda1
    raid-disk     0
    device          /dev/sdb1
    raid-disk     1
    device          /dev/sdc1
    raid-disk     2
raiddev             /dev/md1
raid-level                  1
nr-raid-disks               3
chunk-size                  64k
persistent-superblock       1
#nr-spare-disks     0
    device          /dev/sda7
    raid-disk     0
    device          /dev/sdb7
    raid-disk     1
    device          /dev/sdc7
    raid-disk     2
raiddev             /dev/md2
raid-level                  5
nr-raid-disks               3
chunk-size                  64k
persistent-superblock       1
#nr-spare-disks     0
    device          /dev/sda5
    raid-disk     0
    device          /dev/sdb5
    raid-disk     1
    device          /dev/sdc5
    raid-disk     2



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

From: Randall Holobaugh <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: daylight savings.
Date: Tue, 31 Oct 2000 12:45:11 +0600

> On Mon, 30 Oct 2000 09:34:05 -0500, Samuel Irlapati
> <[EMAIL PROTECTED]> wrote:
>
> >Is there a way to change the time automatically for daylight savings for
> >Linux?
>

I logged in as root and changed the time using  linuxconf.

Randy



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

From: [EMAIL PROTECTED] (Tibor Mocsar)
Crossposted-To: comp.os.msdos.apps
Subject: Re: Application required - Word Processor
Date: Tue, 31 Oct 2000 21:01:25 +0100

"Barns" <[EMAIL PROTECTED]> writes:
>
>Hi guys,
>
>I dusted off my 386 20 mhz which had been minus a screen for 5 years.
>I just want to use it for word processing. Is there a freeware word
>processing package available. My machine has Linux 1.2.1 and MSDOS 6.22.
>(Did I hear someone laugh - I am from Africa!!)
>

Hmm, I'm confused now: I have the same software on this computer. Am I 
also from Africa??!! :-))

My suggestion: look for the package Multiworks. It's not free, but 
really cheap, 2 (two) USD only and is comparable to MS Works 3.0
Sorry, I don't have the URL handy.
Or go to ftp.simtel.net/pub/simtelnet/msdos and download the file 
SIMDOS-L.ZIP first. You'll find lots of interesting applications and 
utilities. And don't forget to visit Richard Green's invaluable DOS freeware
website! (well, another missing URL).


--
Tibor Mocsar


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

From: [EMAIL PROTECTED]
Subject: Re: Anybody got KDE 2 running on RedHat 7 Yet?
Date: Tue, 31 Oct 2000 18:39:48 GMT

In article <8tj14j$ire$[EMAIL PROTECTED]>,
  "Jeff" <[EMAIL PROTECTED]> wrote:
> I downloaded the rh7 rpms from kde. I downloaded the
> qt2.2.1 rpms & libso rpm from raw hide and was able
> to install all rpms with no errors. when I selected KDE
> from the GUI login window my screen started to load
> into something and then just brings me back to the log
> in screen.
>
>

I may have the same problem, the installation runs with no error with
the latest KDE, libpng and qt rpms, but when I start KDE it says that
dcopserver is not running. If it  happens to you then this is the way I
have resolved the problem:

If you run the command "ldd /usr/bin/dcopserver" you will see that
libqt.so.2 is not resolved because it is not in the standard library
paths. I have added the path of this library to the environment
variable LD_LIBRARY_PATH and see with satisfaction that KDE works!!!

Following is the content of my .Xclients-default (myLinux is the name
of my station)

export LD_LIBRARY_PATH=/usr/lib/qt2/lib:$LD_LIBRARY_PATH
export DISPLAY=myLinux:0
exec startkde



Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "Anthony" <[EMAIL PROTECTED]>
Subject: Re: syntax highlighting pager?
Date: Wed, 01 Nov 2000 03:00:33 +0800

In article <[EMAIL PROTECTED]>,
"Matt Garman" <[EMAIL PROTECTED]> wrote:

> Does there exist a pager with syntax highlighting?  In other words, I'd
> like to be able to do something like "less program.c" and have the
> output in color as it would look if viewed in vim or XEmacs.

There are couple of things you can look at:

(1) Most
http://space.mit.edu/~davis/most.html

"Most" is a souped up viewer that support coloured highlighting, but not
syntax highlighting.  You can even replace less with "Most" in reading man
pages, Most do a good job at highlighting man pages.  It may be possible
to change the highlighting rules to do syntax highligthing, but you will
be better off ask the author directly.

(2) Vim in read-only mode
Simply do alias view='vim -R' in your .bashrc
and dont forget to check if there is a "syntax on" statement in your
.vimrc file.  For source code, Vim can be a good pager.

(3) Mcedit from Midnight Commander
It supports syntax highlighting, but with a blue background and it is an
editor.  Vim in readonly mode would force you do :w! before you can save
changes to the file so you don't accidentally modify the file.  However,
the memory buffer is not protected from modifications.


====== Posted via Newsfeeds.Com, Uncensored Usenet News ======
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
=======  Over 80,000 Newsgroups = 16 Different Servers! ======

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

From: [EMAIL PROTECTED]
Subject: Detect number of CPU's from within a program?
Date: Tue, 31 Oct 2000 18:51:46 GMT

Hello all,

I have a very simple-minded question, but it's driving me nuts.

>From within a C program, how can I tell how many processors
are in the system?

I know that from the command line, I can do "cat /proc/cpuinfo",
but I don't want to try to parse that within a program.
Also, ideally I could use a POSIX system call so that the
code could be ported to Solaris.

Thanks very much for your help.

Robert Dodier


Sent via Deja.com http://www.deja.com/
Before you buy.

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

Date: Tue, 31 Oct 2000 19:09:04 +0000
From: Jacques Guy <[EMAIL PROTECTED]>
Subject: Konqueror:  where?

I keep reading about Konqueror being so much
better than Netscape, but my brain cells must
be on leave because, however hard I tried,
I could not find it. I  did AltaVista searches,
went to Linuxberg.com... nothing.  I am starting
to doubt my sanity, and wondering if I might
no be ready to be recycled into soylent green.
Help please!

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


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

Reply via email to