Linux-Development-Sys Digest #80, Volume #8      Wed, 16 Aug 00 00:13:11 EDT

Contents:
  Kernel 2.4.0-test6 Compile and install module problem? ("E-mu")
  Re: kmail and realtek (Marco van de Voort)
  Remote Boot Pxe toolkit ("Scott Goodwin")
  USB driver (Bernhard Boceck)
  [Fwd: kernel compiling for sparc64 under sparc32] (Daniel Goergen)
  Re: all threads in a process share the same pid? (David Wragg)
  How to detect network interface link state? (Damir Cosic)
  Re: intercepting open/read/close calls (Marc SCHAEFER)
  Recovering from Segmentation Fault on driver load ("Norm Dresner")
  Re: Unrecognized symbols printk - (Rick Ellis)
  Re: insmod with new kernel: unresolved symbols (Rick Ellis)
  kernel uncompression (Kai Xu)
  Submillisecond timing (Jf)
  Re: Submillisecond timing (Damir Cosic)
  Problems with libstdc++ (Michael Uman)
  Kernel 2.4.0-test6!!!!! Anyone have any Problems? ("Emu")
  Re: Kernel 2.4.0-test6 Compile and install module problem? (softrat`)
  Re: Problems with libstdc++ ("D. Stimits")
  Re: Kernel 2.4.0-test6!!!!! Anyone have any Problems? (Jynx)
  Re: Kernel 2.4.0-test6!!!!! Anyone have any Problems? ("E-mu")
  USBD Interface Library for Linux ("trek2k")

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

From: "E-mu" <[EMAIL PROTECTED]>
Subject: Kernel 2.4.0-test6 Compile and install module problem?
Date: Tue, 15 Aug 2000 02:41:01 -0500

I have been testign all the kernels thus far with most pretty much the same
configuration on the same PC laptop Dell Inspirion 7500.

If I configure the Kernel to include "umsdos" I get a binry error at the end
of the compilation and it bombs out.  If I don't include "umsdos" the kernel
does succesfully compile but when I install the modules which is just PCMCAI
and SCSI, the SCSI module bombs out and I get a bunch of depmods at the end?
The scsi module folder thus is not created.


Now  I say again this has not happend on any of the test hkernels thus far
except 2.4.0-test6.  I am runnign Red hat.  Right now I am running
2.4.0-test5.  And yes I compile new kernels generally under the originally
instaled kernel that installs with Read HAt Linux 6.2 which I believe is
2.2.14-5.0.

Could there be soem scripting errors in thsi particular Source of test6???

Anyone see this happen to them??



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

From: [EMAIL PROTECTED] (Marco van de Voort)
Subject: Re: kmail and realtek
Date: 15 Aug 2000 08:29:44 GMT

>2) there seems to some problem with my
>   realtek 8029 nic under linux.
>
>   when i just installed linux it worked great but
>   recently i enetered the network configuration and
>   set the irq to 10. (why i did it don't ask me)
>
>   after that linux has some trouble to bring up
>   the eth0 interface and the point is
>   i can't change the irq back to nothing
>   because the linux DrakConf all the time
>   returns it to 10.

What sound card do you have, and do you load it as module?
Do you initialise your soundcard under dos, and loadlin then into linux?

(Irq 10 is often used for the MPU401 compability of a soundcard)

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

From: "Scott Goodwin" <[EMAIL PROTECTED]>
Subject: Remote Boot Pxe toolkit
Date: Tue, 15 Aug 2000 09:54:23 +0100

Hi

I'm currently trying to configure remote boot, using the bootix pxe toolkit.

How do i need to configure the dhcp server so that it tells the client to
use tftp to download the file i have specified;

My dhcp server conf for the client reads;

option dhcp-class-identifier "PXEClient"
option vendor-encapsulated-options ff;

host pxeclient {
            hardware ethernet 00:D0:09:53:BA:5D;
            filename "pxboot";
            fixed-address 192.168.57.200;

The file pxboot resides in the tftpboot directory and my mtftp.conf has the
entry

pxboot 192.168.57.200

Are these settings correct?

Any help would be appreciated?

[EMAIL PROTECTED]






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

From: Bernhard Boceck <[EMAIL PROTECTED]>
Subject: USB driver
Date: Tue, 15 Aug 2000 11:08:42 +0200

Hi,

I want to use the USB interface under SuSE LINUX 6.4 to control my own
interface board. The problem is, that the USB driver on host side only
transfers one packet per frame. I need a higher transfer rate of short
packages, which is allowed if bulk-transfer is used. Are there new USB
driver available or other solutions for this problem known.


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

From: Daniel Goergen <[EMAIL PROTECTED]>
Subject: [Fwd: kernel compiling for sparc64 under sparc32]
Date: Tue, 15 Aug 2000 15:31:08 +0200

This is a multi-part message in MIME format.
==============52C72EF1A2E02F29C4161D30
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

 
==============52C72EF1A2E02F29C4161D30
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Path: news.t-online.com!newsmm00.btx.dtag.de!t-online.de!news.t-online.com!not-for-mail
From: Daniel Goergen <[EMAIL PROTECTED]>
Newsgroups: comp.os.linux.setup,comp.os.linux.misc
Subject: kernel compiling for sparc64 under sparc32
Date: Tue, 15 Aug 2000 15:16:01 +0200
Organization: T-Online
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 966345398 12 21556 320066482448-0001 000815 13:16:38
X-Complaints-To: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.15 i686)
X-Accept-Language: en
Xref: news.t-online.com comp.os.linux.setup:359777 comp.os.linux.misc:401129

Hello!
How can I compile a Kernel for a sparc64 on a sparc32 machine?

==============52C72EF1A2E02F29C4161D30==


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

From: David Wragg <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: all threads in a process share the same pid?
Date: 15 Aug 2000 02:05:47 +0000

[EMAIL PROTECTED] (Linus Torvalds) writes:
> In article <hwDl5.25287$[EMAIL PROTECTED]>,
>  <[EMAIL PROTECTED]> wrote:
> >
> >The standard states that all threads should share the same pid, and
> >different thread ids.
> 
> Easily fixed:
> 
> [snip getpid() implementation] 
> 
> .. and pthread_create() needs to do a "getpid()" call to make
>    sure that the pid cache is primed. "fork()" needs to clear
>    the cached pid etc ..
> 
> If the pthreads library doesn't do this already, then it should.

And if we're going to have such a lousy implementation of POSIX
threads, then why implement it at all.

Yes, it would satisfy a few trivial programs.  But real programs don't
just do getpid() for the fun of it, they usually do it so they can
pass the pid to a syscall, or pass the pid to another program which
may pass it to a syscall.  And not all of those syscalls will
currently do the POSIXly correct thing (perhaps most importantly
kill(), but many others too).

The solution you suggest might give the impression that LinuxThreads
was nearer to POSIX compliance, when in fact it would just expose many
more subtle areas of non-compliance.  If this getpid() implementation
was added as part of a concerted effort to develop a high-quality
fully compliant POSIX threads implementation, then great, but
otherwise I have difficulty seeing the point.


David Wragg

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

From: Damir Cosic <[EMAIL PROTECTED]>
Subject: How to detect network interface link state?
Date: Tue, 15 Aug 2000 10:31:14 -0600


Is there a way to tell if network
link is up or down? Obviously card
knows if it's connected and it 
shows that with link LED, but how
can I check that from code?

Damir

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

From: Marc SCHAEFER <[EMAIL PROTECTED]>
Subject: Re: intercepting open/read/close calls
Date: 15 Aug 2000 09:08:15 GMT

Bernhard Mogens Ege <[EMAIL PROTECTED]> wrote:
: Any idea on what would be possible/easiest?

I have successfully experimented on Debian 2.1 (kernel 2.2.16)

   http://www-internal.alphanet.ch/~schaefer/software.html

look for intercept


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

Reply-To: "Norm Dresner" <[EMAIL PROTECTED]>
From: "Norm Dresner" <[EMAIL PROTECTED]>
Subject: Recovering from Segmentation Fault on driver load
Date: Tue, 15 Aug 2000 18:31:55 GMT

Okay, I know, "Don't do that!"  Sure, but if every driver I wrote worked the
first time I insmod-ed it, I'd have to change my name to G-d.

So, I do an insmod and this driver produces a segmentation fault, say
because some subscript is 89 gazillion instead of 3, and it seems stuck
there.  I can't rmmod to remove it.

Do I really have to reboot, or is there some other way to force the kernel
to unload an uninitialized module?

Thanks
    Norm



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

From: [EMAIL PROTECTED] (Rick Ellis)
Subject: Re: Unrecognized symbols printk -
Date: 15 Aug 2000 19:45:15 GMT

In article <8n1uc6$mun$[EMAIL PROTECTED]>,
Rob Morris <[EMAIL PROTECTED]> wrote:

>#MODCFLAGS := -Wall -DMODULE -D__KERNEL__ -DLINUX

Add a -O

--
http://www.fnet.net/~ellis/photo/linux.html

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

From: [EMAIL PROTECTED] (Rick Ellis)
Subject: Re: insmod with new kernel: unresolved symbols
Date: 15 Aug 2000 19:46:52 GMT

In article <8n1umm$muv$[EMAIL PROTECTED]>,
Rob Morris <[EMAIL PROTECTED]> wrote:

>I am having pretty much the same problem.  Could you elaborate on what you
>mean by "symbol versioning on"?  Are you talking about when you make
>xconfig?     (i.e. configure your kernel/machine)

Under Loadable module support:

   Set version information on all symbols for modules

--
http://www.fnet.net/~ellis/photo/linux.html

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

From: Kai Xu <[EMAIL PROTECTED]>
Subject: kernel uncompression
Date: Tue, 15 Aug 2000 15:44:14 -0400

Hi,

Where is the code in the src tree that does the uncompression
of the compressed kernel ??

Thanks a lot




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

From: Jf <[EMAIL PROTECTED]>
Subject: Submillisecond timing
Date: Tue, 15 Aug 2000 20:29:45 GMT

Hi!

I need to develop an application which core is to write a voltage to an 
external instrument wait a little bit and read a value from another 
instrument. This is nothing difficult in itself but the thing is that the 
whole thing must last 40 microseconds and that I want the error on that 
time to be less than 10%. 
What are the timing possibility in C++? 
I am using Visual C++ 6.0 and the only information I found refers to timer 
with a resolution of 50 milliseconds. Is there anything better than that?

I am currently under windows and some preliminary tests have shown me that 
timing is in fact very unstable. I believe this is due to interupts from 
windows. Can Linux help me in that particular instance for example by 
putting a higher priority on my program over system tasks?


Thank you. Please answer at [EMAIL PROTECTED]

--
Posted via CNET Help.com
http://www.help.com/

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

From: Damir Cosic <[EMAIL PROTECTED]>
Subject: Re: Submillisecond timing
Date: Tue, 15 Aug 2000 14:49:40 -0600


man select:

...

Some code calls select with all three sets empty, n  zero,  and  a 
non-null
timeout as a fairly portable way to sleep with subsecond
precision.          

...

subsecond meaning microsecond.

damir

Jf wrote:
> 
> Hi!
> 
> I need to develop an application which core is to write a voltage to an
> external instrument wait a little bit and read a value from another
> instrument. This is nothing difficult in itself but the thing is that the
> whole thing must last 40 microseconds and that I want the error on that
> time to be less than 10%.
> What are the timing possibility in C++?
> I am using Visual C++ 6.0 and the only information I found refers to timer
> with a resolution of 50 milliseconds. Is there anything better than that?
> 
> I am currently under windows and some preliminary tests have shown me that
> timing is in fact very unstable. I believe this is due to interupts from
> windows. Can Linux help me in that particular instance for example by
> putting a higher priority on my program over system tasks?
> 
> Thank you. Please answer at [EMAIL PROTECTED]
> 
> --
> Posted via CNET Help.com
> http://www.help.com/

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

From: [EMAIL PROTECTED] (Michael Uman)
Subject: Problems with libstdc++
Date: 15 Aug 2000 20:45:50 GMT

Hello,

I've been struggling with a problem in the standard C++ libraries. My code which
is heavily dependent on STL {vector,string} classes messes up when compiled and
run on a Mandrake Linux [Linux milestone.sonic.com 2.2.13-7mdksmp #1 SMP Wed Sep
15 16:38:50 CEST 1999 i686 unknown] machine. This code, when compiled and run on
both a SGI Octane running IRIX 6.5 and a machine running WinNT, runs perfectly.

The problem I am seeing relates to when a string grows larger than 36 characters
{I don't know where that magic # comes from}. But if a string I read from a file
is longer than 36 characters, mysteriously some of the values in a vector stored
in a totally unrelated object get thrashed.

Has anyone seen this problem? What is the work-around. As I said, the code looks
solid {And runs solid on any machine not running Linux}. If anyone is interested
I will send them the source to the project and let them kick the problem around.

For reference:

libstdc++-2.9.0-30
glibc-2.1.3-15                                                                         
                                     
pgcc-1.1.3-3mdk 

Please reply to : [EMAIL PROTECTED]

-- 
//-------------------------------------------------------
// PROGRAMMER  : Michael A. Uman
// PROJECT     : Email Signature
// TITLE       : Senior Software Engineer
// EMAIL       : mailto:[EMAIL PROTECTED]
//-------------------------------------------------------


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

From: "Emu" <[EMAIL PROTECTED]>
Subject: Kernel 2.4.0-test6!!!!! Anyone have any Problems?
Date: 15 Aug 2000 22:06:13 GMT

I am using Red Hat Distribution Version 6.2.

I noticed that my modutil needed updating as well as pcmcia-cs.   That still
does not resolve the errors I get after configuring the Kernel for 'umsdos'
support.  I get a binary output error at the end of the compilation.  If I
remove 'umsdos' and re-compile the kernel it successfully compiles but there
is a problem with the module_install step.  I get a bunch of depmods at the
end and it bombs out.

So far I have not had any problems with any of the test kernels until this
one.

I am using a Dell Inspirion Model 7500.  It only takes 5 minutes now for me
to compile a kernel on my 750 mgh PIII.  On my 233mmmx intel it took almost
30 minutes to complile these test kernels.  what a huge difference in
time.:):):):)



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

From: softrat` <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.0-test6 Compile and install module problem?
Date: Tue, 15 Aug 2000 15:16:22 -0700

E-mu wrote:
> 
> I have been testign all the kernels thus far with most pretty much the same
> configuration on the same PC laptop Dell Inspirion 7500.
> 
> If I configure the Kernel to include "umsdos" I get a binry error at the end
> of the compilation and it bombs out.  If I don't include "umsdos" the kernel
> does succesfully compile but when I install the modules which is just PCMCAI
> and SCSI, the SCSI module bombs out and I get a bunch of depmods at the end?
> The scsi module folder thus is not created.
> 
> Now  I say again this has not happend on any of the test hkernels thus far
> except 2.4.0-test6.  I am runnign Red hat.  Right now I am running
> 2.4.0-test5.  And yes I compile new kernels generally under the originally
> instaled kernel that installs with Read HAt Linux 6.2 which I believe is
> 2.2.14-5.0.
> 
> Could there be soem scripting errors in thsi particular Source of test6???
> 
> Anyone see this happen to them??

Try updating your 'modutils' package.

the softrat
mailto:[EMAIL PROTECTED]
-- 
Life is like a simile.

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

Date: Tue, 15 Aug 2000 18:42:03 -0600
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Problems with libstdc++

Michael Uman wrote:
> 
> Hello,
> 
> I've been struggling with a problem in the standard C++ libraries. My code which
> is heavily dependent on STL {vector,string} classes messes up when compiled and
> run on a Mandrake Linux [Linux milestone.sonic.com 2.2.13-7mdksmp #1 SMP Wed Sep
> 15 16:38:50 CEST 1999 i686 unknown] machine. This code, when compiled and run on
> both a SGI Octane running IRIX 6.5 and a machine running WinNT, runs perfectly.
> 
> The problem I am seeing relates to when a string grows larger than 36 characters
> {I don't know where that magic # comes from}. But if a string I read from a file
> is longer than 36 characters, mysteriously some of the values in a vector stored
> in a totally unrelated object get thrashed.
> 
> Has anyone seen this problem? What is the work-around. As I said, the code looks
> solid {And runs solid on any machine not running Linux}. If anyone is interested
> I will send them the source to the project and let them kick the problem around.
> 
> For reference:
> 
> libstdc++-2.9.0-30
> glibc-2.1.3-15
> pgcc-1.1.3-3mdk
> 
> Please reply to : [EMAIL PROTECTED]
> 
> --
> //-------------------------------------------------------
> // PROGRAMMER  : Michael A. Uman
> // PROJECT     : Email Signature
> // TITLE       : Senior Software Engineer
> // EMAIL       : mailto:[EMAIL PROTECTED]
> //-------------------------------------------------------

I sent a note on comp.os.linux.development.apps, but noticed this here
as well. Check the apps answer, it may be you are using the wrong
compiler.

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

From: [EMAIL PROTECTED] (Jynx)
Subject: Re: Kernel 2.4.0-test6!!!!! Anyone have any Problems?
Date: 16 Aug 2000 01:12:02 GMT

On 15 Aug 2000 22:06:13 GMT, Emu posted:
Subject: Re: Kernel 2.4.0-test6!!!!!.....

You need to understand that most experienced ng users (who I expect
you'd like to engage with your problem) use killfile filters that
plonk Subject:'s with 2 or more exclamation marks.

Because I am _testing_ my killfile just now, that's why.....

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

From: "E-mu" <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.0-test6!!!!! Anyone have any Problems?
Date: 16 Aug 2000 03:14:22 GMT


"Jynx" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On 15 Aug 2000 22:06:13 GMT, Emu posted:
> Subject: Re: Kernel 2.4.0-test6!!!!!.....
>
> You need to understand that most experienced ng users (who I expect
> you'd like to engage with your problem) use killfile filters that
> plonk Subject:'s with 2 or more exclamation marks.
>
> Because I am _testing_ my killfile just now, that's why.....


Sorry , what are you saying my friend?



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

From: "trek2k" <jpo_tsushin@#NNO_SPAMM#hotmail.com>
Subject: USBD Interface Library for Linux
Date: Tue, 15 Aug 2000 22:28:03 -0700

I am trying to write a driver for my SCM Microsystems eUSB Smart Media card
reader.  Can anyone direct me to the USBD interface library for kernel 2.4
and/or documentation/header files?  Thanks!
Josh



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


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

Reply via email to