Linux-Misc Digest #739, Volume #26                Sun, 7 Jan 01 05:13:03 EST

Contents:
  Make custom audio CD with cdrecord?  (MH)
  Baffled (PhillyFan)
  Re: ppp problem with ISP (Glitch)
  Re: kernel 2.4.0 (Markus Kossmann)
  RAM management ([EMAIL PROTECTED])
  Re: what news reader do you use? ([EMAIL PROTECTED])
  Java  ("Paul")
  exec tcsh,need help ([EMAIL PROTECTED])
  Re: RAM management ("Eric en Jolanda")
  Re: output to /dev/nul (Lew Pitcher)
  Re: Partition overlapped ("Eric en Jolanda")
  Re: Partition overlapped ("Eric en Jolanda")
  Re: linux reaches the big screen (Form@C)
  Re: who's rewriting /etc/fstab? ("Eric en Jolanda")
  Re: nfs problem.. permission denied.? ([EMAIL PROTECTED])
  Re: nfs problem.. permission denied.? ([EMAIL PROTECTED])
  Re: RAM management ([EMAIL PROTECTED])
  Re: /usr/kerberos?? (John Gotts)
  Re: Very Strange (and Severe) Linux Crash ([EMAIL PROTECTED])
  Compiling 2.4.0 kernel w/ RH7.0 (Steve Connet)

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

From: MH <[EMAIL PROTECTED]>
Subject: Make custom audio CD with cdrecord? 
Date: Sat, 6 Jan 2001 21:15:44 -0800

I've burned data CDs using cdrecord and mkisofs, but is it possible to copy 
individual audio tracks from different CDs and then burn them to CD using 
cdrecord?  If so, how?  If not, is there another program(s) that will allow 
me to do this?


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

From: [EMAIL PROTECTED] (PhillyFan)
Subject: Baffled
Date: Sun, 07 Jan 2001 05:22:04 GMT

I'm running Mandrake 7.2.  As root when using ppp I get the following
error:

Jan  6 23:37:51 localhost pppd[1279]: pppd 2.4.0 started by root, uid
0
Jan  6 23:37:51 localhost pppd[1279]: Using interface ppp0
Jan  6 23:37:51 localhost pppd[1279]: Connect: ppp0 <--> /dev/ttyS1
Jan  6 23:37:52 localhost pppd[1279]: Unsupported protocol 'Novell IPX
Control Protocol' (0x802b) received
Jan  6 23:37:57 localhost pppd[1279]: Hangup (SIGHUP)
Jan  6 23:37:57 localhost pppd[1279]: Modem hangup
Jan  6 23:37:57 localhost pppd[1279]: Connection terminated.
Jan  6 23:37:57 localhost pppd[1279]: Exit.


As a non root user my ppp blows up with the KDE crash window  saying I
have a 11 SIGSEV.  Now why would root be able to at least dial in and
connect though momentarily and then disconnecting but non root login
gives me the crash?


2.  when I restart my computer I my monitor goes blank and says I'm
below range 22 MHz.  I have to listen to the hardive and then I know
whet to push to get into Windows or I can turn of my computer and then
I have no problems.
I have a KDS 19" monitor ATI 128 TV out card 32meg

Thanx for any help

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

Date: Sun, 07 Jan 2001 00:21:24 -0500
From: Glitch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ppp problem with ISP



John Todd wrote:
> 
>         With my ISP, I have to cue them which service I want with my
> username, thus:
> SERNAME: myusername%ppp
>         If I leave that out, I get the shell. Maybe call (phone!)
> your ISP and check what they expect?

no, my isp doesn't do that.

to get a shell you enter a '1' at their menu that appears when u dial in
or 'q' for quit, how u get ppp started is beyond me. That isn't an
option anymore so that means the only way is automaticaly starting it.
Windows can do that, Linux can't it seems, at least not with my ISP.

i've called 2 times.  They say PAP is PAP and supplying a username and
password is all that is needed.  That's what I do in Windows98 and it
works fine, why it won't work in linux using the same procedure is
beyond me.  Somehow Windows is able to make the dial up server initiate
a ppp link. Linux won't do that I presume.  Something wont work
correctly, which is obvious.

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

From: Markus Kossmann <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: kernel 2.4.0
Date: Sun, 07 Jan 2001 05:32:04 +0100

root wrote:
> 
> I compiled ker 2.4.0 on a RH7.0, and most of it is well, except for two
> things:
> 
> 1.
> 
> Jan  6 17:14:19 orion rpc.lockd: lockdsvc: Invalid argument
> Jan  6 17:14:19 orion nfslock: rpc.lockd startup failed
> 
> Any reasons for that? Did I missconfigure something? Do I need a more
> recent version of rpc?
> 
No, 2.4 moves the lockd functionality into the kernel. So there is no
need to start rpc.lockd any more. 

-- 
Markus Kossmann                                    
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: RAM management
Date: Sun, 07 Jan 2001 06:40:58 GMT

Hi,

I'm working with BIG and CONTIGUOUS arrays (up to 16MB), that get
created with "new" operator (analogous to "malloc" in C) From
benchmarking profiles it seems that the system can not allocate
contiguous memory for these so, my guess is that it breaks them up into
pieces, which slows down the program. Is there any way to defrag RAM w/o
rebooting or am I being silly?

Thanks

Wroot


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.misc
Subject: Re: what news reader do you use?
Date: Sun, 07 Jan 2001 06:59:00 GMT

In article <Pine.LNX.4.31.0101061037200.5527-100000@darkstar>,
  "Christopher W. Aiken" <[EMAIL PROTECTED]> wrote:
>
> pine and slrn.  I don't care for all the GUI glitz.
>

I've heard, in the earlier days of UNIX, people were reading news by
grepping some files on the system or something, and didn't suspect it
would come down to GUI someday.

Wroot


Sent via Deja.com
http://www.deja.com/

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

From: "Paul" <[EMAIL PROTECTED]>
Subject: Java 
Date: Sun, 07 Jan 2001 07:29:40 GMT

I am being very lazy by not researching myself first but...........I am
starting a class in Java programming and was looking for recommendations for
a compiler/development enviroment for linux. I sometimes have used emacs and
gcc and was wondering if such a combo was possible for Java. Or are there
other suggestions. Thanks

Paul



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

From: [EMAIL PROTECTED]
Subject: exec tcsh,need help
Date: Sun, 07 Jan 2001 07:16:06 GMT

Hi,
RH6.2 Q:
Can i activate tcsh from user's .bash_profile by typing:

if (! $?tcsh && $?prompt && -x /usr/um/bin/tcsh ) then
          exec /usr/um/bin/tcsh

This should act like user with bash typed "tcsh" at the prompt when
logged in. right?.
Not sure about the tcsh's location. I have to "which tcsh".
J


Sent via Deja.com
http://www.deja.com/

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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: RAM management
Date: Sun, 7 Jan 2001 08:41:08 +0100

> I'm working with BIG and CONTIGUOUS arrays (up to 16MB), that get
> created with "new" operator (analogous to "malloc" in C) From
> benchmarking profiles it seems that the system can not allocate
> contiguous memory for these so, my guess is that it breaks them up into
> pieces, which slows down the program. Is there any way to defrag RAM w/o
> rebooting or am I being silly?
>

I don't think there's much point in this. (But I'm no guru)
The malloc'd space will be swapped in and out again frequently.
I never looked into the code, but I don't think there's a guarantee that
contiguous RAM space will remain contiguous after a swap.

Anyway, you better ask in col.development.apps
You're more likely to find people there with knowledge on this issue than
here.

Eric



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

From: Lew Pitcher <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: output to /dev/nul
Date: Sat, 06 Jan 2001 23:00:30 -0500

blix wrote:
> 
> I tend to run a lot of my applications from an xterm (Eterm) window. Like
> this:
> 
> pan&
> 
> But some of them write to stdout which causes my xterm to fill up with
> text from various applications. I tried to do this:
> 
> pan& > /dev/nul
>
> But it said permission denied. Does I need to chmod of the /dev/nul
> device/file or whatever it is so that my blix user can redirect stdout to
> it?

Well, you have two problems with 
  pan& > /dev/nul

First, it's /dev/null , not /dev/nul
Second, You are attempting to have the shell truncate /dev/nul while
running pan in the background. You see, your command
  pan& > /dev/nul
is interpreted as
  pan&
  > /dev/nul

i.e.
First, run pan in background, leave ioredirection alone, no command
parameters
Next, truncate the file /dev/nul

To do what you wanted to do, you should move the ampersand to a point
after the redirection. I.e.
  pan > /dev/nul &
and (of course) you have to correct the filename, so your command should
look like
  pan > /dev/null &


-- 
Lew Pitcher

Master Codewright and JOAT-in-training
Registered Linux User #112576

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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: Partition overlapped
Date: Sun, 7 Jan 2001 08:56:07 +0100

> >Not really. I just don't get it how people keep creating logicals like
this.
>
> I disagree with you.  Here is my partition table for one drive.  I have
> windows and 4 distros of linux going just fine.  The order is reversed and
I
> did it with linux fdisk, much like he did with gpart.  You will see that
> hda7 and hda8 are out of order.

gpart? Was that used??
Let's check... Oh I see you meant GNU's parted.
Not a problem in that case. (although it may have caused the havoc)

>

I know that you can amke weird partition tables. I just don't know why
people keep doing this. It's not too hard to prevent these kind of tables.
My legs start shaking with tables like this. I know linux can handle this,
and so can many other OS's. (I've heard that BeOS cannot)

Partitiontables are the only thing that different OS's on one HDD must agree
on.
Therefor keep them as straightforward as possible.

> Disk /dev/hda: 240 heads, 63 sectors, 559 cylinders
> Units = cylinders of 15120 * 512 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1       135   1020568+   c  Win95 FAT32 (LBA)
> /dev/hda2           136       149    105840   83  Linux
> /dev/hda3           150       158     68040   82  Linux swap
> /dev/hda4           159       559   3031560    5  Extended
> /dev/hda5           159       172    105808+  83  Linux
> /dev/hda6           173       186    105808+  83  Linux
> /dev/hda7           401       546   1103760   83  Linux
> /dev/hda8           187       400   1617777   83  Linux
> /dev/hda9           547       559     98248+  83  Linux
>

make hda4 of type 0x85. You'll lose the annoying D: disk in windows that
windows wants to format each time you touch it.

Eric




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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Re: Partition overlapped
Date: Sun, 7 Jan 2001 09:03:26 +0100

> > delete partitions hda5 and hda6 , and recreate them in the right
> order.
> > print the EXACT CHS values of these partitions on to a piece of paper.
> > If you  recreate them with these numbers (with hda5 and hda6
> switched!) you
> > won't even lose data. A typo is disastrous though. Therefor backup
> what you
> > can before you begin this operation.
>
>
> yeah, I was wondering how can change the order back. which tool do you
> recommend that can do this trick? I know using M$ tools will definately
> wipe everything...

But linux fdisk variants will not run a mkfs, so use one of those
So fdisk/cfdisk/sfdisk : whichever one you like the best, but don't forget
to read manpages first if you don't know the programs yet.

> But still, even if I recreate it with the right order, it still won't
> solve my problem -- Everything would be exactly the same as before I
> tried parted. and vmware will sure fail to configure again.
>
> Hmmm, still confused....

Why did you use parted, if you have PM.
I wonder, if you use PM, what's the number of CHS it reports?

Eric




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

Crossposted-To: alt.os.linux,comp.os.linux.portable,comp.os.linux.advocacy
Subject: Re: linux reaches the big screen
From: [EMAIL PROTECTED] (Form@C)
Date: Sun, 07 Jan 2001 08:01:37 GMT

[EMAIL PROTECTED] wrote in <[EMAIL PROTECTED]>:

<snip>
>I'll be sure and sit far away from the balcony though :)
>

It might be a good idea to wear protective clothing too! Especially if the 
"penguinists" recognise you and are armed with little silver and gold 
frisbees!

:-)

-- 
Mick
Olde Nascom Computers - http://www.mixtel.co.uk

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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: who's rewriting /etc/fstab?
Date: Sun, 7 Jan 2001 09:08:23 +0100

> > volcopy = dd with different syntax?
>
> I am not sure. If you give dd a normal Unix file, it seems to me it
> would defragment it as it copied. You did not give file names, but
> device names to volcopy, such as /dev/hda or something. Of course, maybe
> dd would think that was a normal file and copy it. I am talking the late
> 1970s and do not recall the details. volcopy would make an exact image
> of one file system on another one (assumed the same size, or perhaps the
> target could be larger), holes and fragmentation included.
>

to use dd for volume copy, you'd use

dd if=/dev/hda of=/dev/hdb

No UNIX file(point of argument), no defrag, no touching of data in anyway.
hdb would be an exact copy of hda, partition table included.

Eric




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

From: [EMAIL PROTECTED]
Subject: Re: nfs problem.. permission denied.?
Date: Sun, 07 Jan 2001 08:39:50 GMT

i have repeatedly reboot the system still dont work.

ID



In article <[EMAIL PROTECTED]>,
  Robert Kiesling <[EMAIL PROTECTED]> wrote:
>
> "ID" <[EMAIL PROTECTED]> writes:
>
> > hello,
> >
> > i'm trying to setup nfs with rh7-linux both machines, but seems not
working.
> > on top of a fresh installed linux system,
> > ----
> > fstab of client (globalchinalink)
> > 192.168.0.91:/tmp    /mnt/tmp      nfs      exec,dev,suid,rw 1 1
> > ----
> > /etc/exprots of server (192.168.0.91)
> > /tmp  globalchinalink(rw)
> > ----
> >
> > i'm puzzled,  everything seems right, yet all i got is this error
message.
> > "failed, reason given by server: Permission denied"
>
> I guess that executing "/etc/rc.d/init.d/nfs start" does not, on its
> own, start the NFS server in the std RH 7 configuration.  Use "rpcinfo
> -p" to determine what RPC daemons are running, and then start
> /usr/sbin/rpc.nfsd, /usr/sbin/rpc.rstatd, /usr/sbin/rpc.mountd,
> /usr/sbin/rpc.rquotad, and /usr/sbin/rpc.rusersd, if necessary.
>
> --
> Robert Kiesling <[EMAIL PROTECTED]>
> Web Page :  http://www.mainmatter.com/kiesling
> Linux FAQ:
> http://www.mainmatter.com/linux-faq/toc.html
http://www.mainmatter.com/
> ---
> Tired of spam?  Please forward messages to [EMAIL PROTECTED]
>


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Subject: Re: nfs problem.. permission denied.?
Date: Sun, 07 Jan 2001 08:38:01 GMT

i have repeatedly reboot the server & client
still dont work!!

ID


In article
<[EMAIL PROTECTED]>,
  Robert Kiesling <[EMAIL PROTECTED]>
wrote:
>
> "ID" <[EMAIL PROTECTED]> writes:
>
> > hello,
> >
> > i'm trying to setup nfs with rh7-linux both
machines, but seems not working.
> > on top of a fresh installed linux system,
> > ----
> > fstab of client (globalchinalink)
> > 192.168.0.91:/tmp    /mnt/tmp      nfs
exec,dev,suid,rw 1 1
> > ----
> > /etc/exprots of server (192.168.0.91)
> > /tmp  globalchinalink(rw)
> > ----
> >
> > i'm puzzled,  everything seems right, yet all
i got is this error message.
> > "failed, reason given by server: Permission
denied"
>
> I guess that executing "/etc/rc.d/init.d/nfs
start" does not, on its
> own, start the NFS server in the std RH 7
configuration.  Use "rpcinfo
> -p" to determine what RPC daemons are running,
and then start
> /usr/sbin/rpc.nfsd, /usr/sbin/rpc.rstatd, /usr/s
bin/rpc.mountd,
> /usr/sbin/rpc.rquotad,
and /usr/sbin/rpc.rusersd, if necessary.
>
> --
> Robert Kiesling <[EMAIL PROTECTED]>
> Web Page :  http://www.mainmatter.com/kiesling
> Linux FAQ:
> http://www.mainmatter.com/linux-faq/toc.html
http://www.mainmatter.com/
> ---
> Tired of spam?  Please forward messages to
[EMAIL PROTECTED]
>




Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: Re: RAM management
Date: Sun, 07 Jan 2001 08:52:25 GMT

In article <m3V56.13992$[EMAIL PROTECTED]>,
  "Eric en Jolanda" <[EMAIL PROTECTED]> wrote:
> > I'm working with BIG and CONTIGUOUS arrays (up to 16MB), that get
> > created with "new" operator (analogous to "malloc" in C) From
> > benchmarking profiles it seems that the system can not allocate
> > contiguous memory for these so, my guess is that it breaks them up
into
> > pieces, which slows down the program. Is there any way to defrag RAM
w/o
> > rebooting or am I being silly?
> >
>
> I don't think there's much point in this. (But I'm no guru)
> The malloc'd space will be swapped in and out again frequently.
> I never looked into the code, but I don't think there's a guarantee
that
> contiguous RAM space will remain contiguous after a swap.
>
> Anyway, you better ask in col.development.apps
> You're more likely to find people there with knowledge on this issue
than
> here.
>

I have ENOUGH RAM, so I don't think it should come to swapping. However,
I'm worried that RAM may be organized in such a way that I won't have a
CONTIGUOUS chunk of memory, so it will be emulated or something.

Thanks

Wroot


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (John Gotts)
Subject: Re: /usr/kerberos??
Reply-To: [EMAIL PROTECTED]
Date: Sun, 07 Jan 2001 09:11:36 GMT

On 28 Dec 2000 09:39:41 GMT, Peter Bismuti <[EMAIL PROTECTED]> wrote:

>I found a directory on my Redhat7.0 /usr/kerberos with directories:

>bin/  include/  lib/  man/  sbin/

>Anyone know what this directory is all about?

Pick a file in one of the directories you're curious about and do something
like this:

% rpm -qif /usr/kerberos/bin/sclient
Name        : krb5-devel                   Relocations: (not relocateable)
Version     : 1.2.1                             Vendor: Red Hat, Inc.
Release     : 8                             Build Date: Wed Aug 16 15:47:40
2000Install date: Sat Dec  2 02:35:26 2000      Build Host:
porky.devel.redhat.com
Group       : Development/Libraries         Source RPM: krb5-1.2.1-8.src.rpm
Size        : 2952382                          License: MIT, freely
distributable.
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://web.mit.edu/kerberos/www/
Summary     : Development files needed for compiling Kerberos 5 programs.
Description :
Kerberos is a network authentication system.  The krb5-devel package
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
contains the header files and libraries needed for compiling Kerberos
5 programs. If you want to develop Kerberos-aware programs, you'll
need to install this package.

rpm is your friend.

-- 
John GOTTS <[EMAIL PROTECTED]>  http://linuxsavvy.com/staff/jgotts

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

From: [EMAIL PROTECTED]
Subject: Re: Very Strange (and Severe) Linux Crash
Date: Sat, 6 Jan 2001 11:46:04 GMT

[EMAIL PROTECTED] wrote:

: So, to make a long story short: Never ignore disk errors, even on disks
: you
: don't care about.

Hmm... If the two disks are hanging off the same disk controller,
they may well affect each other.

Sometimes this is caused by incorrect jumper settings (or even
bad contact at the jumpers) at the drives. So the controller 
may end up writing to the wrong drive.

It may be even simpler.
As stupid as it sounds, are your fans ok?
You may have had a problem with an overheated disk controller,
that went away when you removed the covers.

In any case, this looks much more like hardware than a kernel bug.

Good Luck,
Friedhelm

-- 
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"
===================================================================
Friedhelm Mehnert,  Berliner Allee 42,  22850 Norderstedt,  Germany
phone + fax: +49-40-5236562        email: [EMAIL PROTECTED]
===================================================================


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

Subject: Compiling 2.4.0 kernel w/ RH7.0
From: Steve Connet <[EMAIL PROTECTED]>
Date: Sun, 07 Jan 2001 09:43:50 GMT

Hello,

I downloaded the linux kernel 2.4.0 source and am compiling it now, as
described in the README file.

In my boot directory there are links, which the README does not
mention.

        System.map -> System.map-2.2.16-22
        kernel.h -> kernel.h-2.2.16
        module-info -> module-info-2.2.16-22

After I compile 2.4.0 does it create a new System.map-2.4.0 for me?
And a module-info-2.4.0? Where do I get these? Do I create them? If
so, how?

If not, do I just leaves those links? If they are used won't the new
vmlinuz-2.4.0 get confused with those old map and module info?

What should I do with them?
There is alos a boot.0300, boot.b, and chain.b, map, and message
files. Do I need to do anything with those?

-- 
Steve Connet (steve.connet@home`NO-SPAM`.com)

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


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