Linux-Development-Sys Digest #199, Volume #8 Sun, 8 Oct 00 01:13:11 EDT
Contents:
Re: What is Linux equivalent of Mac Toolbox? (mlw)
cd-rewriter error ("Wilmar Antonisen")
Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid (Robert
Lynch)
USB (root)
Re: USB (Christopher Browne)
Re: USB (Harry George)
Re: new windowing system (The Ghost In The Machine)
Re: question about memory leaks in linux (The Ghost In The Machine)
Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid
preprocessing token" ? ("Emu")
Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a (Robert Lynch)
Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid
preprocessing token" ? ("Emu")
----------------------------------------------------------------------------
From: mlw <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: What is Linux equivalent of Mac Toolbox?
Date: Sat, 07 Oct 2000 17:19:38 -0400
jazz wrote:
>
> Hi,
>
> I want to draw some graphs and show some PICTs in Linux, as I did on
> Macintoshes. What is built in or available to do this kind of graphics?
>
> Thanks
> Jazz
What is it that you want to do?
There are many ways to do many things under Linux.
--
http://www.mohawksoft.com
------------------------------
From: "Wilmar Antonisen" <[EMAIL PROTECTED]>
Subject: cd-rewriter error
Date: Sat, 07 Oct 2000 21:42:14 GMT
Hello maybe some of you guys know what this error means with writng a cd.
recovery needed
I have got an scsi rewriter from plextor model 4220. A scsi cart from expert
and I have allready upgrade my firmware version.
The error is not always but verry often. I use nero and discdupe. It does't
care if i'm using nero or discdupe. It also doesn't care if i'm writing on
the fly or with an image.
I've already contacted people from plextor and they say it's probably
broken. I don't think so because I don't have the error always. The error
isn/t always at the same time. Mostly it's at something of 40 %. But not
always.
Please help me because I don't know what to do!
Thanks Wilmar
------------------------------
From: Robert Lynch <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid
Date: Sat, 07 Oct 2000 14:58:31 -0700
Reply-To: [EMAIL PROTECTED]
Emu wrote:
>
> During the compilation phase of a kernel 2.4.0-test7, 8, and 9, I see a lot
> of these messages, more than normal. What does it mean?
>
> "Warning pasting would not give a valid preprocessing token". Each time I
> see the message it is proceeded by the following,
> bnode.c,inode.c,auth.c,netfilter.c,partition.c,sched.c,proc.c etc etc. My
> kernel is still functional after install and bootup.
>
> The warning messages repeat several times, then moves on, for example:
>
> bnode.c:Warning pasting would not give a valid preprocessing token
> bnode.c:Warning pasting would not give a valid preprocessing token
> bnode.c:Warning pasting would not give a valid preprocessing token
> bnode.c:Warning pasting would not give a valid preprocessing token
> bnode.c:Warning pasting would not give a valid preprocessing token
> bnode.c:Warning pasting would not give a valid preprocessing token
>
> netfilter.c:Warning pasting would not give a valid preprocessing token
> netfilter.c:Warning pasting would not give a valid preprocessing token
> netfilter.c:Warning pasting would not give a valid preprocessing token
> netfilter.c:Warning pasting would not give a valid preprocessing token
> netfilter.c:Warning pasting would not give a valid preprocessing token
>
> Etc Etc. The number of times varies!
>
> I am ccurrently running Red Hat 7.0
>
> I did notice these messages with Red hat 6.2, but I don't rememebr if it was
> more frequent in Red Hat 7.0 or Red Hat 6.2.
>
> Anyhow my kernel is completely monolithic except for the Adaptec AHA1480
> Card Bus Card support. I only had the choice of Module support and not
> built in driver support into the kernel.
>
> Are these messages bad or what? And what can it do to a perfectly running
> kernel? I have 2.4.0-Test-9, running fine.
Are you using a very recent gcc to compile these kernels?
I posted a question similar to yours previously. I got some
answers, but nothing really definitive. In view of the flap
(reported on Slashdot and elsewhere) surrounding RedHat's use of
gcc-2.96 (and also some comments by Linus and others in a kernel
thread), I regressed my compiler to gcc-2.95.2 today, whence
these messages went away. Also, surprisingly (?) the 2.4.0-test9
kernel come out MUCH smaller.
[I know: I should go to 2.91 or so, but I'm installing RH 7.0
shortly and will use "kgcc" for kernel compiles, which is the
same thing.]
Bob L.
--
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: USB
Date: Sat, 07 Oct 2000 23:48:10 +0200
Reply-To: [EMAIL PROTECTED]
Hi all...
I`m wondering, howto use USB interface under linux...
anyone tips where to forward me?
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: USB
Reply-To: [EMAIL PROTECTED]
Date: Sat, 07 Oct 2000 22:16:22 GMT
In our last episode (Sat, 07 Oct 2000 23:48:10 +0200),
the artist formerly known as [EMAIL PROTECTED] said:
>I`m wondering, howto use USB interface under linux...
>anyone tips where to forward me?
I'd forward you to <http://www.linux-usb.org/>
--
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/buses.html>
BIOS = Bugs Inherited from Older Systems
-- [EMAIL PROTECTED]
------------------------------
From: Harry George <[EMAIL PROTECTED]>
Subject: Re: USB
Date: 07 Oct 2000 16:20:20 -0700
root <[EMAIL PROTECTED]> writes:
> Hi all...
>
> I`m wondering, howto use USB interface under linux...
> anyone tips where to forward me?
>
> [EMAIL PROTECTED]
>
Of course there are existing sites and HOWTO's which you should read.
But sometimes it is helpful to see a specific example in detail. Here
are my notes from installing a USB HP 6300 scanner on SUSE 6.4:
=====================
Scanner
After learning SCSI cards and cables are expensive, I tried for
USB. Did the work on fred, because it has more disk space and faster
processor for image manipulation.
SUSE6.4 said it was backpatched for usb. I installed sane. Following
the instructions in /usr/src/linux-2.2.14.SuSE/Documentation/usb/,
esp. scanner.txt and scanner-hp-sane.txt:
1.Run lspci -v, which indicates we have a uhci-style usb.
2.Make the device:
cd /dev
rm usbscanner # it was setup wrong
mknod /dev/usbscanner c 180 48
chmod a+rw /dev/usbscanner
3.Edit modules.conf. Uncomment the 180 line, and add
the usb-uchi alias, post-install, and options
lines. Not sure if the vendor/product data is needed,
but those are the values for a HP 6300C.
#=====================================
# USB
alias char-major-166 acm
alias char-major-180 usbcore
alias char-major-240 usb-serial
alias usb-uhci uhci
post-install usb-uhci modprobe scanner
options scanner vendor=0x03f0 product=0x0601
#=====================================
4.Add it:
modprobe usb-uhci
modprobe scanner
lsmod #shows uchi and scanner installed
5.Establish it for startup:
(edit /etc/rc.config:)
START_USB="yes"
(edit /etc/rc.config.d/usb.rc.config:)
USB_HCI="usb-uhci"
USB_DRIVERS="scanner"
6.Setup sane:
cd /etc/sane.d
(edit dll.conf, commenting out all but hp)
(edit hp.conf to show:)
/dev/usbscanner
option connect-device
Then run xscanimage. It works.
--
Harry George
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (The Ghost In The Machine)
Crossposted-To: comp.os.linux.x,comp.windows.x
Subject: Re: new windowing system
Date: Sun, 08 Oct 2000 00:26:18 GMT
In comp.os.linux.development.system, Fr�d�ric G. MARAND
<[EMAIL PROTECTED]>
wrote
on Wed, 20 Sep 2000 13:54:40 +0200
<8qa8ab$jh5$[EMAIL PROTECTED]>:
>Did you ever see an application using the X protocol directly without going
>through the X library ? I'd be interested in any information about that.
>
>Alexander Viro <[EMAIL PROTECTED]> a �crit dans le message :
>8qa7lj$[EMAIL PROTECTED]
>> In article <[EMAIL PROTECTED]>, Aurel Balmosan <[EMAIL PROTECTED]>
>wrote:
>>
>> >I must disagree. The API is the Xlib. If you write a new Xlib that IS the
>> >X-Server X-applications wouldn't notice.
>>
>> _If_ your applications use Xlib. Which is almost but not quite mandatory.
>> Besides, when was the last time you've seen X with one client?
>[...]
>
>
One of my employers, for performance reasons, wrote bytes directly
to the X/socket connection. Occasionally, that lead to some
peculiar problems, but it worked reasonably well, most of the time.
I certainly wouldn't recommend it for new code unless one understood
very well what was going on, though.
--
[EMAIL PROTECTED] -- insert random misquote here
------------------------------
From: [EMAIL PROTECTED] (The Ghost In The Machine)
Subject: Re: question about memory leaks in linux
Date: Sun, 08 Oct 2000 00:39:00 GMT
In comp.os.linux.development.system, Matthew Gatto
<[EMAIL PROTECTED]>
wrote
on Sun, 01 Oct 2000 21:34:22 GMT
<[EMAIL PROTECTED]>:
>If I write a C program with memory leaks, after execution of the
>program is over, will all that leaked memory be automatically
>de-allocated by the linux kernel?
Yes. In a sense, there *are* no memory leaks in Linux.
(That doesn't mean that a memory leak won't cause problems,
especially if a program doesn't exit. One slightly inelegant
method around that is to do a fork/exec/wait, and the child
program does all the hard work, on demand. That way, if the
child leaks, the leaks die when the child does.)
>I was wondering what kind of
>protections towards this type of thing the linux kernel has built in
>to it so that I can comfortably develop in C with gcc, while not
>having to worry about exhausting my system resources.
Mostly good tracking of memory, I think.
>
>--
>5:16pm up 88 days, 12:43, 4 users, load average: 0.00, 0.02, 0.00
Not bad.
--
[EMAIL PROTECTED] -- insert random misquote here
------------------------------
From: "Emu" <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid
preprocessing token" ?
Date: Sat, 7 Oct 2000 19:56:01 -0500
gcc version like you said is 2.96.
I ahve Red Hat version 7.0 running now with Kernel 2.4.0-test9 without any
problems just those error messages. I guess if it really bad then the
kernel would not boot up or run correctly and everything is :)
How do I regress my gcc? and Keep my original? The one you regressed to
where did you get it? Was it RPM package? Was it difficult to install?
What is kgcc? How can I use that instead with I do 'make bzImage?
Thanks
"Robert Lynch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Emu wrote:
> >
> > During the compilation phase of a kernel 2.4.0-test7, 8, and 9, I see a
lot
> > of these messages, more than normal. What does it mean?
> >
> > "Warning pasting would not give a valid preprocessing token". Each time
I
> > see the message it is proceeded by the following,
> > bnode.c,inode.c,auth.c,netfilter.c,partition.c,sched.c,proc.c etc etc.
My
> > kernel is still functional after install and bootup.
> >
> > The warning messages repeat several times, then moves on, for example:
> >
> > bnode.c:Warning pasting would not give a valid preprocessing token
> > bnode.c:Warning pasting would not give a valid preprocessing token
> > bnode.c:Warning pasting would not give a valid preprocessing token
> > bnode.c:Warning pasting would not give a valid preprocessing token
> > bnode.c:Warning pasting would not give a valid preprocessing token
> > bnode.c:Warning pasting would not give a valid preprocessing token
> >
> > netfilter.c:Warning pasting would not give a valid preprocessing token
> > netfilter.c:Warning pasting would not give a valid preprocessing token
> > netfilter.c:Warning pasting would not give a valid preprocessing token
> > netfilter.c:Warning pasting would not give a valid preprocessing token
> > netfilter.c:Warning pasting would not give a valid preprocessing token
> >
> > Etc Etc. The number of times varies!
> >
> > I am ccurrently running Red Hat 7.0
> >
> > I did notice these messages with Red hat 6.2, but I don't rememebr if it
was
> > more frequent in Red Hat 7.0 or Red Hat 6.2.
> >
> > Anyhow my kernel is completely monolithic except for the Adaptec AHA1480
> > Card Bus Card support. I only had the choice of Module support and not
> > built in driver support into the kernel.
> >
> > Are these messages bad or what? And what can it do to a perfectly
running
> > kernel? I have 2.4.0-Test-9, running fine.
>
> Are you using a very recent gcc to compile these kernels?
>
> I posted a question similar to yours previously. I got some
> answers, but nothing really definitive. In view of the flap
> (reported on Slashdot and elsewhere) surrounding RedHat's use of
> gcc-2.96 (and also some comments by Linus and others in a kernel
> thread), I regressed my compiler to gcc-2.95.2 today, whence
> these messages went away. Also, surprisingly (?) the 2.4.0-test9
> kernel come out MUCH smaller.
>
> [I know: I should go to 2.91 or so, but I'm installing RH 7.0
> shortly and will use "kgcc" for kernel compiles, which is the
> same thing.]
>
> Bob L.
> --
> Robert Lynch-Berkeley CA [EMAIL PROTECTED]
------------------------------
From: Robert Lynch <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a
Date: Sat, 07 Oct 2000 18:28:56 -0700
Reply-To: [EMAIL PROTECTED]
Emu wrote:
>
> gcc version like you said is 2.96.
>
> I ahve Red Hat version 7.0 running now with Kernel 2.4.0-test9 without any
> problems just those error messages. I guess if it really bad then the
> kernel would not boot up or run correctly and everything is :)
>
> How do I regress my gcc? and Keep my original? The one you regressed to
> where did you get it? Was it RPM package? Was it difficult to install?
>
> What is kgcc? How can I use that instead with I do 'make bzImage?
>
> Thanks
(My understanding of the situation, just from reading various
things) since you have RH7.0, it installs (by default? can
install?) /?path?/kgcc, which calls egcs/gcc 2.71 (?) which has
been "officially" blessed (?) by various kernel gods, as right
and proper for compiling chubby, healthy kernels.
You "regress" anyway you can. Hint: search engines are your
friends.
I suspect that at least a few others will opine that you're fine
as is.
Bob L.
> "Robert Lynch" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Emu wrote:
> > >
> > > During the compilation phase of a kernel 2.4.0-test7, 8, and 9, I see a
> lot
> > > of these messages, more than normal. What does it mean?
> > >
> > > "Warning pasting would not give a valid preprocessing token". Each time
> I
> > > see the message it is proceeded by the following,
> > > bnode.c,inode.c,auth.c,netfilter.c,partition.c,sched.c,proc.c etc etc.
> My
> > > kernel is still functional after install and bootup.
> > >
> > > The warning messages repeat several times, then moves on, for example:
> > >
> > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > bnode.c:Warning pasting would not give a valid preprocessing token
> > >
> > > netfilter.c:Warning pasting would not give a valid preprocessing token
> > > netfilter.c:Warning pasting would not give a valid preprocessing token
> > > netfilter.c:Warning pasting would not give a valid preprocessing token
> > > netfilter.c:Warning pasting would not give a valid preprocessing token
> > > netfilter.c:Warning pasting would not give a valid preprocessing token
> > >
> > > Etc Etc. The number of times varies!
> > >
> > > I am ccurrently running Red Hat 7.0
> > >
> > > I did notice these messages with Red hat 6.2, but I don't rememebr if it
> was
> > > more frequent in Red Hat 7.0 or Red Hat 6.2.
> > >
> > > Anyhow my kernel is completely monolithic except for the Adaptec AHA1480
> > > Card Bus Card support. I only had the choice of Module support and not
> > > built in driver support into the kernel.
> > >
> > > Are these messages bad or what? And what can it do to a perfectly
> running
> > > kernel? I have 2.4.0-Test-9, running fine.
> >
> > Are you using a very recent gcc to compile these kernels?
> >
> > I posted a question similar to yours previously. I got some
> > answers, but nothing really definitive. In view of the flap
> > (reported on Slashdot and elsewhere) surrounding RedHat's use of
> > gcc-2.96 (and also some comments by Linus and others in a kernel
> > thread), I regressed my compiler to gcc-2.95.2 today, whence
> > these messages went away. Also, surprisingly (?) the 2.4.0-test9
> > kernel come out MUCH smaller.
> >
> > [I know: I should go to 2.91 or so, but I'm installing RH 7.0
> > shortly and will use "kgcc" for kernel compiles, which is the
> > same thing.]
> >
> > Bob L.
> > --
> > Robert Lynch-Berkeley CA [EMAIL PROTECTED]
--
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
------------------------------
From: "Emu" <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid
preprocessing token" ?
Date: Sat, 7 Oct 2000 23:25:26 -0500
Thanks
"Robert Lynch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Emu wrote:
> >
> > gcc version like you said is 2.96.
> >
> > I ahve Red Hat version 7.0 running now with Kernel 2.4.0-test9 without
any
> > problems just those error messages. I guess if it really bad then the
> > kernel would not boot up or run correctly and everything is :)
> >
> > How do I regress my gcc? and Keep my original? The one you regressed
to
> > where did you get it? Was it RPM package? Was it difficult to install?
> >
> > What is kgcc? How can I use that instead with I do 'make bzImage?
> >
> > Thanks
>
> (My understanding of the situation, just from reading various
> things) since you have RH7.0, it installs (by default? can
> install?) /?path?/kgcc, which calls egcs/gcc 2.71 (?) which has
> been "officially" blessed (?) by various kernel gods, as right
> and proper for compiling chubby, healthy kernels.
>
> You "regress" anyway you can. Hint: search engines are your
> friends.
>
> I suspect that at least a few others will opine that you're fine
> as is.
>
> Bob L.
>
>
> > "Robert Lynch" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > Emu wrote:
> > > >
> > > > During the compilation phase of a kernel 2.4.0-test7, 8, and 9, I
see a
> > lot
> > > > of these messages, more than normal. What does it mean?
> > > >
> > > > "Warning pasting would not give a valid preprocessing token". Each
time
> > I
> > > > see the message it is proceeded by the following,
> > > > bnode.c,inode.c,auth.c,netfilter.c,partition.c,sched.c,proc.c etc
etc.
> > My
> > > > kernel is still functional after install and bootup.
> > > >
> > > > The warning messages repeat several times, then moves on, for
example:
> > > >
> > > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > > bnode.c:Warning pasting would not give a valid preprocessing token
> > > >
> > > > netfilter.c:Warning pasting would not give a valid preprocessing
token
> > > > netfilter.c:Warning pasting would not give a valid preprocessing
token
> > > > netfilter.c:Warning pasting would not give a valid preprocessing
token
> > > > netfilter.c:Warning pasting would not give a valid preprocessing
token
> > > > netfilter.c:Warning pasting would not give a valid preprocessing
token
> > > >
> > > > Etc Etc. The number of times varies!
> > > >
> > > > I am ccurrently running Red Hat 7.0
> > > >
> > > > I did notice these messages with Red hat 6.2, but I don't rememebr
if it
> > was
> > > > more frequent in Red Hat 7.0 or Red Hat 6.2.
> > > >
> > > > Anyhow my kernel is completely monolithic except for the Adaptec
AHA1480
> > > > Card Bus Card support. I only had the choice of Module support and
not
> > > > built in driver support into the kernel.
> > > >
> > > > Are these messages bad or what? And what can it do to a perfectly
> > running
> > > > kernel? I have 2.4.0-Test-9, running fine.
> > >
> > > Are you using a very recent gcc to compile these kernels?
> > >
> > > I posted a question similar to yours previously. I got some
> > > answers, but nothing really definitive. In view of the flap
> > > (reported on Slashdot and elsewhere) surrounding RedHat's use of
> > > gcc-2.96 (and also some comments by Linus and others in a kernel
> > > thread), I regressed my compiler to gcc-2.95.2 today, whence
> > > these messages went away. Also, surprisingly (?) the 2.4.0-test9
> > > kernel come out MUCH smaller.
> > >
> > > [I know: I should go to 2.91 or so, but I'm installing RH 7.0
> > > shortly and will use "kgcc" for kernel compiles, which is the
> > > same thing.]
> > >
> > > Bob L.
> > > --
> > > Robert Lynch-Berkeley CA [EMAIL PROTECTED]
> --
> Robert Lynch-Berkeley CA [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.development.system) 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-Development-System Digest
******************************