Linux-Development-Sys Digest #651, Volume #7      Sat, 4 Mar 00 14:13:13 EST

Contents:
  Simple driver for pport usage ? (Jens-Eike Jesau)
  Device Driver Developer Wanted (Brian)
  array of semaphores... ("Vitaliy Rabotnik")
  Help! local hosts name resolving does not work (Thomas F. Drescher)
  What's GNU/Linux? (Christopher Browne)
  Linux semaphore set ("Frank V. Castellucci")
  Re: HP Deskjet 710C driver (Markus Kossmann)
  Re: array of semaphores... (Joe Pfeiffer)
  [Fwd: Problem with portmap on Redhat 5.2] (Wallace Barnes III)
  Intel Create & Share Camera Pack (USB) under linux? (Christian 
=?iso-8859-1?Q?J=F6nsson?=)
  Re: array of semaphores... ("Vitaliy Rabotnik")
  Re: unresolved Symbols in modules (simba)
  Re: Absolute failure of Linux dead ahead? (The Ghost In The Machine)
  modem driver ("Terry Williford")
  scheduling in linux... (badri)
  Re: yamaha 724 ("Chaz")
  P.P.S. local hosts name resolving does not work (Thomas F. Drescher)

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

From: Jens-Eike Jesau <[EMAIL PROTECTED]>
Subject: Simple driver for pport usage ?
Date: 04 Mar 2000 02:27:12 +0100


Hi,

i'm trying to port a driver that controls a stepper
motor attached to the pport from Linux 2.0 to Linux 2.2.

There are a lot of changes, and i'm not a good
programmer :-(

So, if anybody knows about some kind of very simple
basic driver for Linux, that builds on top of the
parport_pc driver and deals with the new API for
IRQ usage, please point me to it.

That would help me a lot to get started with my stuff.
Unfortunately most of the basic driver development
ressources i found only deal with Linux 2.0 :-/

1K TIA !

-- 
Gruss / with best regards
Jens-Eike Jesau         <[EMAIL PROTECTED]> http://hp9001.fh-bielefeld.de/~jens

      \\           Linux on a single Disk: www.toms.net/rb
 ,-~~~-\\_                  " The number of UNIX installations has grown
(        .\                   to 10, with more expected "
@\___(__--' RGS    -- The UNIX Programmers Manual, 2nd Edition, June 1972 


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

From: Brian <[EMAIL PROTECTED]>
Subject: Device Driver Developer Wanted
Date: Sat, 04 Mar 2000 02:38:40 GMT

I have an exceptional opportunity for someone who has experience with
Unix or Linux display driver development.

This is a "WORK FROM HOME" full time position with my client, which is a
leading Software Company 
specializing in the development of device drivers.
You will work with some of the best developers in the industry as well
as with some of the top companies in the high technology community.
You will earn a full time salary and benefits, while working in your own
home.

Please contact me for more information, and I will be more than happy to
provide you with additional details.

If you know someone with this type of experience, please contact me
about our referral bonus program.

Brian
[EMAIL PROTECTED]

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

From: "Vitaliy Rabotnik" <[EMAIL PROTECTED]>
Crossposted-To: comp.programming.threads,comp.os.linux.development.apps
Subject: array of semaphores...
Date: 4 Mar 2000 03:12:01 GMT

I now use pthreads to solve the same dining filosophers problem :)
How do I create an array of semaphores for each of 5 philosophers (pthreads)
?
It has to be in C language and runable on Linux OS.

Thank you
======================================================================
Vitaliy Rabotnik
Carleton University
Computer Science III (Software and Computing, Co-op)
WWW: http://chat.carleton.ca/~vrabotni
======================================================================

                   The truth is out there...

======================================================================



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

From: Thomas F. Drescher <[EMAIL PROTECTED]>
Subject: Help! local hosts name resolving does not work
Date: Sat, 04 Mar 2000 05:42:25 GMT

Hi there specialists,

I hope some of the network programmers can help me because i'm=20
fuddling around with this problem since two weeks.. (thats annoying=20
-almost like using WINDOZE- isn't it?!?!)

My SuSE 6.2 system doesn't want to resolve the local host names =96 in=20=

some cases.

Question: Why is the 'route' output different now (Kernel 2.2.10) from=20=

Kernel 2.0.xx ?

1) # /sbin/route (Kernel 2.2)

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref   =20
Use Iface
192.168.111.3   *               255.255.255.255 UH    0      0       =20=

0 plip1
192.168.111.99  *               255.255.255.255 UH    0      0       =20=

0 ippp0
loopback        *               255.0.0.0       U     0      0       =20=

0 lo
default         192.168.111.99  0.0.0.0         UG    0      0       =20=

0 ippp0

2) # /delix5.1/sbin/route (Kernel 2.0)

Kernel routing table
Destination     Gateway         Genmask         Flags MSS    Window=20
Use Iface
zeppo.drescher. *               255.255.255.255 UH    0      0       =20=

0 plip1
groucho-isdn1   *               255.255.255.255 UH    0      0       =20=

0 ippp0
loopback        *               255.0.0.0       U     0      0       =20=

0 lo
default         groucho-isdn1   *               UG    0      0       =20=

0 ippp0

As u see in 2) the /etc/hosts contents are correct. DNS has been shut=20=

down (for now) so the /etc/host.conf contains:

order hosts
multi on

1st consequence/problem: also the names in hosts.allow are not=20
resolved - I can work around by putting in IP numbers  127.0.0.1,=20
192.168.111.1, ... - WHY ?
>Feb 24 03:31:35 groucho in.telnetd[1729]: warning: /etc/hosts.allow,
>line 8: can't verify hostname: gethostbyname(groucho.drescher.net)
>failed

2nd consequence when DNS is enabled: it always tries to dial out the=20=

ippp0 to resolve the local hosts. Hey that costs money here in .de!=20
(How much has the responsible been payed by the phone companies since=20=

i've seen that's a problem which bothers much ppl)  ;-(=20

So any comments and helpful hints are appreciated! Can i find a=20
solution by recompiling the kernel with a special option? I verified=20=

that the second route output is consistent with the /proc/net/route=20
content (Strange: when i delete a route in 1) it disappears...but in=20=

/proc/net/route it is still there, also 2) displays it)

Thanks in advance and kind regards
Thomas.

P.S.:

Another(?) problem is the following tcpdump output - but i think it=20
already has been answered by the networking newsgroup. (No more=20
comment)

# ping 192.168.111.4 (default -> ippp0)

truncated-ip - 1186 bytes missing!0.84.0.216 > 0.0.64.1: (frag=20
0:1280@8192) [ttl 0]
truncated-ip - 1186 bytes missing!0.84.0.218 > 0.0.64.1: (frag=20
0:1280@8192) [ttl 0]
truncated-ip - 1186 bytes missing!0.84.0.220 > 0.0.64.1: (frag=20
0:1280@8192) [ttl 0]
truncated-ip - 1186 bytes missing!0.84.0.222 > 0.0.64.1: (frag=20
0:1280@8192) [ttl 0]

truncated-ip - 16307 bytes missing!0.84.1.107 > 0.0.64.1: (frag=20
31534:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=3D-20[|ip])
truncated-ip - 16307 bytes missing!0.84.1.113 > 0.0.64.1: (frag=20
31528:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=3D-20[|ip])
truncated-ip - 16307 bytes missing!0.84.1.117 > 0.0.64.1: (frag=20
31524:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=3D-20[|ip])
truncated-ip - 16307 bytes missing!0.84.1.121 > 0.0.64.1: (frag=20
31520:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=3D-20[|ip])
truncated-ip - 16307 bytes missing!0.84.1.125 > 0.0.64.1: (frag=20
31516:16401@63488+) [ttl 0] (bad cksum 4500!, optlen=3D-20[|ip])
g




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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.setup
Subject: What's GNU/Linux?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 04 Mar 2000 04:58:04 GMT

Centuries ago, Nostradamus foresaw a time when Mario Klebsch would say:
>Gregory Neil Bastow <[EMAIL PROTECTED]> writes:
>
>>Just make sure you say GNU/Linux when you mean more than the kernel, boys
>>and girls.
>
>What the hell is GNU/Linux? YALD (Yet Another Linux Distribution)?

Read: 

<a href= "http://www.fsf.org/bulletins/bull24.html#SEC8"> What Is a
GNU/Linux System? </a> by Richard M. Stallman

If the FSF had decided to create a Linux distribution, and called it
GNU/Linux, this would have been well and fine.

Unfortunately, RMS spends a whole lot of time repetitively explaining
to people that:

  "We use Linux-based GNU systems today for most of our work, and we
   hope you use them too. But please don't confuse the public by using
   the name "Linux" ambiguously. Linux is the kernel, one of the
   essential major components of the system. The system as a whole is
   more or less the GNU system. Please use the term "Linux-based GNU
   system" or "GNU/Linux" when you talk about the system which is a
   combination of Linux and GNU."

I think he'd accomplish more by "fighting" other battles.

-- 
You are wise, witty, and wonderful, but you spend too much time
reading stupid fortune messages.
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/lsf.html>

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

Date: Thu, 02 Mar 2000 23:00:20 -0500
From: "Frank V. Castellucci" <[EMAIL PROTECTED]>
Subject: Linux semaphore set

In my desire to support monitors into class libraries I am faced with
scalabilty and performance issues in the implementation. What the ideal
solution would be is sparse semaphore sets (either kernel or user space
implemented). This would be robust enough to scale with the number of
concurrent active objects that require the synchronization without
delving into the solution space.

Before moving forward, have I missed a command or api where the number
of semaphores in a Linux semaphore set can be changed (+/-)?

-- 
Frank V. Castellucci
http://corelinux.sourceforge.net
OOA/OOD/C++ Standards and Guidelines for Linux

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

From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: HP Deskjet 710C driver
Date: Sat, 04 Mar 2000 07:34:42 +0100

Jacob Andresen wrote:
> 
> Anybody have info on the 710C? (ie a datasheet of some kind)
> 
> I am in the process of making my Deskjet 710C working in Linux and would
> like any info or location of a working driver
> 
Try http://sourceforge.net/project/?group_id=1322
--
Markus Kossmann                                    
[EMAIL PROTECTED]

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

From: Joe Pfeiffer <[EMAIL PROTECTED]>
Crossposted-To: comp.programming.threads,comp.os.linux.development.apps
Subject: Re: array of semaphores...
Date: 04 Mar 2000 00:08:04 -0700

"Vitaliy Rabotnik" <[EMAIL PROTECTED]> writes:

> I now use pthreads to solve the same dining filosophers problem :)
> How do I create an array of semaphores for each of 5 philosophers (pthreads)
> ?
> It has to be in C language and runable on Linux OS.

You'll probably get a quicker response by asking your professor than
by asking a newsgroup.
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer
VL 2000 Homepage:  http://www.cs.orst.edu/~burnett/vl2000/

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

From: Wallace Barnes III <[EMAIL PROTECTED]>
Subject: [Fwd: Problem with portmap on Redhat 5.2]
Reply-To: [EMAIL PROTECTED]
Date: Fri, 3 Mar 2000 10:39:14 -0500 

Path: 
TTG.TheTaylorGroup.com!attmt2!ip.att.net!news.harvard.edu!purdue!news3!arclight.uoregon.edu!hammer.uoregon.edu!newsfeed.direct.ca!newsfeed.usit.net!feed2.onemain.com!feed1.onemain.com!uunet!ffx.uu.net!spool0.news.uu.net!reader1.news.uu.net!not-for-mail
NNTP-Posting-Host: 199.172.169.19
Newsgroups: comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
From: Wallace Barnes III <[EMAIL PROTECTED]>
Subject: Problem with portmap on Redhat 5.2
Message-ID: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Thu, 2 Mar 2000 11:00:26 -0500 
MIME-Version: 1.0
Lines: 12
X-Newsreader: Microsoft (R) Exchange Internet News Service Version 5.5.2448.0
Organization: Bloomberg LP
Content-Type: text/plain

Hello All,

    I ran into a problem trying to run the portmap daemon that comes
with the RedHat 5.2 distribution. It seems that the child process that
is forked off aborts after sending the following message to syslog:

    "portmap[3018]: run_svc returned unexpectedly"

I checked the code and svc_run is a C extern function which is supposed
to never return. Does anyone no how to fix this apparent bug ? Please
Email me with your response as well. Thanks in advance.

-Wally



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

From: Christian =?iso-8859-1?Q?J=F6nsson?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,linux.dev.kernel
Subject: Intel Create & Share Camera Pack (USB) under linux?
Date: Sat, 04 Mar 2000 10:58:25 GMT

I got me this fun web cam, an  Intel Create & Share Camera Pack,
that is a Universal Serial Bus (USB) device. Now, It works pretty
well under Windows 98, from what I have tried, and now I wonder
if there might be something going on in the linux community concerning
this device.

I have a Red Hat Linux 6.1/Intel system with a recent development
kernel (2.3.49). I'd like to test things with this USB device under
linux.

Any pointers to information concerining this USB Intel Web Cam
under linux is greatly appreciated.

TIA,

/ChJ


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

From: "Vitaliy Rabotnik" <[EMAIL PROTECTED]>
Crossposted-To: comp.programming.threads,comp.os.linux.development.apps
Subject: Re: array of semaphores...
Date: 4 Mar 2000 12:48:18 GMT

"Joe Pfeiffer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Vitaliy Rabotnik" <[EMAIL PROTECTED]> writes:
>
> > I now use pthreads to solve the same dining filosophers problem :)
> > How do I create an array of semaphores for each of 5 philosophers
(pthreads)
> > ?
> > It has to be in C language and runable on Linux OS.
>
> You'll probably get a quicker response by asking your professor than
> by asking a newsgroup.
> --
> Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
> Department of Computer Science       FAX   -- (505) 646-1002
> New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer
> VL 2000 Homepage:  http://www.cs.orst.edu/~burnett/vl2000/

I believe, that this is not true in my case. I wish, I had prof. who could
answer all of my questions,
but the prof.s here don't care about students. They just lecture and leave,
and TA's do marking and explanations.
The TA's themselves may not even know the course material. :(



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

From: simba <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: unresolved Symbols in modules
Date: Sat, 04 Mar 2000 22:45:20 +0900

Hi,
The printk_R**** is versioned kernel symbol, so you also have to compile
your module with defining MODVERSION to generate versioned symbol in your
module same as kernel.

kerdosa

nilesh patel wrote:

>     I am able to compile a module but when I try to insmod it it says
> that the printk_R****    is unresolved .
>     What is the reason for the unresolved symbols ??
>
>     Nilesh


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

From: [EMAIL PROTECTED] (The Ghost In The Machine)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Absolute failure of Linux dead ahead?
Date: Sat, 04 Mar 2000 14:21:44 GMT

In comp.os.linux.advocacy, Wolfgang Weisselberg
<[EMAIL PROTECTED]>
wrote on 3 Mar 2000 16:29:08 GMT
<[EMAIL PROTECTED]>:
>On Thu, 02 Mar 2000 20:41:25 GMT,
>       Jon <[EMAIL PROTECTED]> wrote:
>> On 2 Mar 2000 19:53:00 GMT, [EMAIL PROTECTED]
>> (Wolfgang Weisselberg) wrote:
>
>> > On Thu, 02 Mar 2000 17:52:16 GMT,
>> >    Jon <[EMAIL PROTECTED]> wrote:
>> > > On Thu, 02 Mar 2000 08:20:02 -0500, mlw <[EMAIL PROTECTED]>
>> > > wrote:
>
>> > How many machines do *you* know that are in active use today
>> > *and* were so 15,20,30 years ago?
>
>> 2 that I've worked with personally.  
>
>So, does a single pentium outclass them yet or do you need a dual
>PII for that?  The computing power of 20 years ago is not much
>today compared to entry-level PCs.  Not to mention their economic
>use of several kWatts + aircon power.  Not to mention having to
>look for manufacturers for your core memory (for old machines). 
>
>The only case *I* know of would be *taadaaa* the space shuttle,
>which uses (or at least used at the time of the Challenger) core
>memory.  No RAM chips.  But then the coding standards and the size
>of the programs is somewhat different to what Corps use.

Dunno for sure, but I think the woeful state of the US FAA
computers (at least, woeful because of second-hand reports;
I don't know, personally) is being fixed, very slowly.
Presumably, these upgrades are partly because there's no funding,
and partly because the FAA, like the space shuttle, has to be
very careful with its coding because it just wouldn't do to have
a plane missing on their displays. :-)

Some of the computers are so old they're having to scavenge
for replacement parts.

(I note you're in Germany, though; I have no idea what their
equivalent to this is, or their situation.)

[rest snipped]

-- 
[EMAIL PROTECTED] -- insert random misquote here

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

From: "Terry Williford" <[EMAIL PROTECTED]>
Subject: modem driver
Date: Sat, 4 Mar 2000 11:09:37 -0800

I would like to set up linux on my system today.  However, I need a device
driver for my modem.  It is a Best Data 56Fw pci modem.  Any suggestions?

Thanks in advance....



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

From: badri <[EMAIL PROTECTED]>
Subject: scheduling in linux...
Date: Sat, 04 Mar 2000 12:39:16 -0800

Hi all,
 I have been trying to understand the functioning of I/O under linux.

 I have modified the scheduling algorithm in linux (just to study it in
detail) to process read requests based on priorities. so if there is a
request that is about to be processsed and a higher priority comes in, I
would like to see the higher priority one get processed. For this
purpose, I have replaced make_request call (for read) in ll_rw_block()
by one of my functions (to re-direct it to another queue) where I can
ensure that the ordering is priority based before issuing
make_request().
( I have made the appropriate modifications to let a request carry a
priority).

 Now for my problem... I am struck with how I should start a thread
(more of a reader for the queue that I maintain), to periodically issue
the make_request() to move the requests in my queue to the linux queue.
Obviously, I would like to have this thread running before the first
read request ever comes in.....

 though there might be changes from one kernel version to another, I
believe the mechanism to start the reader is essentially going to
version independent. FYI, I am working with a 2.0.36 kernel.

please help...

thanks a lot in advance

badri


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

From: "Chaz" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: yamaha 724
Date: Sat, 4 Mar 2000 18:36:00 -0000

The YMF724 supports SB & SBpro commands so writing
D1h (speaker on) anf D3h (speaker off) are supported.
However these commands only changes the speaker status (D8h).

for more info and a down loadable data sheet visit :-
http://www.yamahayst.com/pcaudio/ymf724f_body.htm

Its also worth monitoring the ALSA project for more developments

http://www.alsa-project.org/


Timothy D. Prime <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Still playing with the YMF724...
>
> I am fairly convinced my problem is not in the register settings.  I
> have tried several combinations of IRQs, port addresses, etc. -- no
> effect.
>
> I have taken a peek at the commands issued to the SoundBlaster ports.
> One thing I came accross suggested that the commands for turning on/off
> the speaker do not function.
>
> My question is: how does one turn on/off the speaker for the YMF724
> (legacy compatibility or otherwise)?



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

From: Thomas F. Drescher <[EMAIL PROTECTED]>
Subject: P.P.S. local hosts name resolving does not work
Date: Sat, 04 Mar 2000 20:42:35 GMT

Since i have no experience in the following...

Which service or port can i monitor to find out more about host=20
resolving? (How?)
(Is something new here in Kernel 2.2 which i don't know yet?)
How can i switch a debug mode on in order to debug a route lookup?

Thank you again.




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


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