Linux-Development-Sys Digest #201, Volume #8      Mon, 9 Oct 00 11:13:17 EDT

Contents:
  Driver shortage!!! Windows ersatz feasable? (Hermann Samso)
  Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid  ("C. W. 
Wright")
  Re: What is Linux equivalent of Mac Toolbox? (John Hasler)
  Re: M820E linux driver (Ming Kee =?iso-8859-1?Q?=A9=FA=B0O?=)
  Re: What is Linux equivalent of Mac Toolbox? (Christopher Browne)
  Re: Most popular Linux development environment(s)? Graphical? (Christopher Browne)
  About keymap ("Viking")
  How to access a unexported kernel symbol ? (wolf)
  Re: What is Linux equivalent of Mac Toolbox? (John Hasler)
  Re: CVS- Concurrent Version System ("chris@SuSE")
  Re: CVS- Concurrent Version System ("D. Stimits")
  system.map (Frank Contrepois)
  Can't compile xchat-1.5.7 (jruff)
  Re: linux drivers for a sound blaster (Lew Pitcher)
  Re: Most popular Linux development environment(s)? Graphical? 
("[EMAIL PROTECTED]")
  Network Drivers help! (Tasos Kotaras)
  Asynchronous notifications from networking device drivers? ("Mikko Jaakkola")
  PCI Card access problems (driver) (Heiko Bachmann)
  Shared memory problem (Suse 6.4) (Jan Mannekens)
  Re: adjtime and Linux 2.xxx (Michel Bardiaux)

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

From: Hermann Samso <[EMAIL PROTECTED]>
Subject: Driver shortage!!! Windows ersatz feasable?
Date: 9 Oct 2000 00:29:26 GMT


        Would it be possible (not extremely difficult) to use
Windows drivers under Linux? As there seems to be some shortage of them
(for example USB scanner drivers or some new GFX cards), it would be
a nice short term solution to be able to use existing Windows drivers.

        saludos,
                Hermann Samso

*sigh*


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

From: "C. W. Wright" <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.4.0-test7, 8, and 9 "Warning pasting would not give a valid 
Date: Sun, 08 Oct 2000 20:33:40 -0400

> "Warning pasting would not give a valid preprocessing token".  Each time I
> see the message it is proceeded by the following,
> I am ccurrently running Red Hat 7.0

I just did a "so-called" "upgrade" from RH 6.2 to RH 7.0 and I found that even
the Redhad provided SRPM for the installed kernel (2.2.16-22) would not compile
without errors.  I grabbed a fresh 2.2.17 from www.kernel.org and I has the
same "pasting" problem as well as other problems.

The fix I found that permitted flawless compilation of the 2.2.17 kernel and
modules was to change the gcc to kgcc as follows:

HOSTCC  = kgcc

and
CC = $(CROSS_COMPILE)kgcc  -D__KERNEL__ -I$(HPATH)


The kgcc was already installed on the 7.0 system.

Although I have been able to compile two different kernels and a realtime-linux
patched kernel, I havn't been able to compile much of anything else and have it
work.

W. Wright



"THINGS ARE MORE LIKE THEY ARE NOW THAN THEY EVER WERE BEFORE."
- Former U.S. President Dwight D. Eisenhower






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

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: What is Linux equivalent of Mac Toolbox?
Date: Mon, 9 Oct 2000 00:20:50 GMT

Prasanth Kumar writes:
> 'QT' a fully C++ based GUI toolkit but there is a restriction that it is
> free only if you own resultant product is free or otherwise you must
> purchase a commercial license from them (www.trolltech.com).

Qt has now been released under the GPL.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

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

From: Ming Kee =?iso-8859-1?Q?=A9=FA=B0O?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.portable
Subject: Re: M820E linux driver
Date: Sun, 08 Oct 2000 20:53:20 -0500

alas...there's NO driver for supplied card for M820e, I am using Adaptec
1480...

David Aguilera wrote:

> Hello,,,
>
>         Is thier somebody out there the would know were I can get the
> drivers for a HP cd-writer plus model M820e with a PC CARD ( scsi )...
> I'm in need of on quickly... The cd-writer works fine with at scsi
> adaptec 1480... So it the pc card that gives me problem ... Linux is
> always asking me to install the module insmod < module >  I've tried a
> bunch but unsucessful... Any info would be highly apreciated....
>         Thanks.......
>
> David....
>
> [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: What is Linux equivalent of Mac Toolbox?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 09 Oct 2000 02:15:38 GMT

In our last episode (Mon, 9 Oct 2000 00:20:50 GMT),
the artist formerly known as John Hasler said:
>Prasanth Kumar writes:
>> 'QT' a fully C++ based GUI toolkit but there is a restriction that it is
>> free only if you own resultant product is free or otherwise you must
>> purchase a commercial license from them (www.trolltech.com).
>
>Qt has now been released under the GPL.

... With the result that it is only free if your resultant product is
free, otherwise you must purchase some form of "Qt Professional" 
license...

For those for whom "propagandizing" is the point of the exercise,
the adoption of the GPL "changes everything;" from a purely pragmatic
standpoint, things changes a whole lot _LESS_ than the bluster would
imply...
-- 
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/>
Rules of the Evil Overlord  #98. "If an attractive young couple enters
my realm,  I will carefully monitor  their activities. If  I find they
are  happy   and  affectionate,  I  will  ignore   them.   However  if
circumstance  have forced them  together against  their will  and they
spend  all their  time  bickering and  criticizing  each other  except
during the  intermittent occasions when  they are saving  each others'
lives  at  which point  there  are hints  of  sexual  tension, I  will
immediately order their execution." <http://www.eviloverlord.com/>

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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Most popular Linux development environment(s)? Graphical?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 09 Oct 2000 02:16:16 GMT

In our last episode (Sun, 08 Oct 2000 19:27:39 -0400),
the artist formerly known as jazz said:
>I'm thinking of switching from mac to Linux. If I did, what programming
>setup would I likely find myself using? Gnu? Is there anything with
>a graphical interface, esp. for the debugger, as in Codewarrior,
>where you see a window containg your code and you can clearly mark
>breakpoints and follow the program counter steping through your code?
>With windows for variables, stack tracing, etc.?

You won't find one single tool for this...

There are several debuggers based on GDB; look for DDD, Insight FE, Code
Medic, kdbg, HP Wildebeast.

There are also a number of "IDEs" somewhat in the style of that
introduced by Borland, including XWPE, RHIDE, Source Navigator,
WipeOut, Code Crusader, KDevelop.

Vis-a-vis editing/compiling software, it is common for programmers
to wish not to be dependent on the availability or lack thereof of
a particular "IDE"; it is common for programmers to be capable of
coping with the lack of any graphical environment whatsoever.  This
is quite critical if you're trying to work with the kernel; there
may well not be enough of the system functioning to allow you to
have a GUI at all, and debugging in the kernel is Rather Special...

It is not uncommon to use GNU Emacs as an "IDE on Steroids;" combining
it with "etags" provides consider power in editing code...
-- 
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/langide.html>
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson

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

From: "Viking" <[EMAIL PROTECTED]>
Subject: About keymap
Date: Mon, 9 Oct 2000 10:23:47 +0800

My keyboard has a button which is "A" like character (ascii code 142), how
could I show this character in Linux terminal when I press this button?
Thanks for your reply in advance!

Viking Yuan



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

From: wolf <[EMAIL PROTECTED]>
Subject: How to access a unexported kernel symbol ?
Date: Mon, 09 Oct 2000 10:56:32 +0800

Hi ! All

While writing a module, sometimes there is a need to access some kernel
symbol that is not exported , it is, can not be found in /proc/ksyms.
Say , the global variable : main_table .  Practically, it can be handled
by directly accessing /dev/kmem. But, is there any other ways to do that
?

Thanx .


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

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.development.apps
Subject: Re: What is Linux equivalent of Mac Toolbox?
Date: Mon, 9 Oct 2000 03:11:52 GMT

I wrote:
> Qt has now been released under the GPL.

Christopher Browne writes:

> ... With the result that it is only free if your resultant product is
> free,...

The GPL is less restrictive (and more comprehensible) then the Qt1 license.

> For those for whom "propagandizing" is the point of the exercise,
> the adoption of the GPL "changes everything;"...

In particular, it eliminates all the confusion about the KDE license (much
of which was due to misunderstandings of copyright law by many Debian
developers, but that is irrelevant now).

> ...from a purely pragmatic standpoint, things changes a whole lot _LESS_
> than the bluster would imply...

I don't know what "bluster" you are referring to, but if "pragmatic" means
"I want to use Qt in a closed source project", I don't see why you
shouldn't have to pay Troll.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

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

From: "chris@SuSE" <[EMAIL PROTECTED]>
Subject: Re: CVS- Concurrent Version System
Date: Sun, 08 Oct 2000 22:05:50 -0700

thanks very much
getting things started here

ywk



Arturo C wrote:
> 
> On Thu, 05 Oct 2000 15:38:45 -0800, ywk@SuSE <[EMAIL PROTECTED]> wrote:
> >Hi guys
> >
> >any idea how to set up a cvs repository at home running SuSE 6.4
> >coz i wanna use it to keep track a java project with a team of 10 students
> >where to d/l the rpm?
> >suggestions are most welcome
> >
> >ywk
> 
> The CVS RPM is prolly on your CD.
> 
> Here is the CVS manual and a free book:
> http://cvsbook.red-bean.com/
> http://www.cvshome.org/docs/manual/index.html

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

Date: Sun, 08 Oct 2000 23:49:11 -0600
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: CVS- Concurrent Version System

"ywk@SuSE" wrote:
> 
> Hi guys
> 
> any idea how to set up a cvs repository at home running SuSE 6.4
> coz i wanna use it to keep track a java project with a team of 10 students
> where to d/l the rpm?
> suggestions are most welcome
> 
> ywk
> 
> --
> German poem, Ohne Warum :
> Die Ros' ist ohn' Warum,
> sie bluhet, weil sie bluhet,
> /Sie arch't nicht ihrer selbst,
> fragt nicht,
> ob man sie siehet

http://www.cvshome.org/dev/codelinux.html

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

From: Frank Contrepois <[EMAIL PROTECTED]>
Subject: system.map
Date: Sun, 08 Oct 2000 10:50:55 +0200


Hi 
I'm trying to understand how system.map works .. can you help me 
thanx

-- 
Pazzooo

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

From: jruff <[EMAIL PROTECTED]>
Subject: Can't compile xchat-1.5.7
Date: Mon, 09 Oct 2000 06:22:59 GMT

I'm SuSE linux 6.4; kernel 2.2.14; glib 1.2.8; gtk+ 1.2.8.  I'm trying
to install xchat-1.5.7.  I get xchat-1.5.7 "./configure" to run
correctly.  However it fails when I attempt "make".

1)error generated by "make":
=======================================================
make  all-recursive
make[1]: Entering directory `/opt/X-Chat/xchat-1.5.7'
Making all in po
make[2]: Entering directory `/opt/X-Chat/xchat-1.5.7/po'
file=./`echo cs | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH no -o $file cs.po
/bin/sh: no: command not found
make[2]: Leaving directory `/opt/X-Chat/xchat-1.5.7/po'
make[1]: Leaving directory `/opt/X-Chat/xchat-1.5.7'
=======================================================

2)piece of Makefile where the command is being given:
=======================================================
CC = gcc
GENCAT = 
GMSGFMT = PATH=../src:$$PATH no

MSGFMT = no
XGETTEXT = PATH=../src:$$PATH :
MSGMERGE = PATH=../src:$$PATH msgmerge
=======================================================

Please provide some insight.

Thanks,
Chris

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: linux drivers for a sound blaster
Date: Sun, 08 Oct 2000 19:03:21 -0400

GV152M wrote:
> 
> i cant seem to find linux drivers for a sound blaster. anyone able to help?
> thanks.

/usr/src/linux/drivers/sound/sb*.c
or
/lib/modules/*/misc/sb.o


-- 
Lew Pitcher

Master Codewright and JOAT-in-training

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

From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Most popular Linux development environment(s)? Graphical?
Date: Mon, 09 Oct 2000 09:34:40 +0200

Hi,

Code Crusader is based on Code Warrior.
It also has the Code Medic Sister product that integrates with it.
 - part of the JX project
(not GPL but open source)

Cheers
Richard.


jazz wrote:

> I'm thinking of switching from mac to Linux. If I did, what programming
> setup would I likely find myself using? Gnu? Is there anything with a
> graphical interface, esp. for the debugger, as in Codewarrior, where you
> see a window containg your code and you can clearly mark breakpoints and
> follow the program counter steping through your code? With windows for
> variables, stack tracing, etc.?
>
> Thanks
> Jazz


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

From: Tasos Kotaras <[EMAIL PROTECTED]>
Subject: Network Drivers help!
Date: Mon, 09 Oct 2000 11:33:53 +0300

Hello everybody

    Although I already have some experience in char device drivers, I
feel lost as far as network drivers making is concerned.

    My current task is to create an HDLC driver for linux. (I'm going to
use the on-chip capability of PPC860 for that). From what I have seen
from the kernel sources, the socket abstraction that is used for the
network
drivers seems to add awful lot of complexity and overhead. Given that
I'll be using it in an embedded set-up, this is an issue.

    I would like to know if there is any way to avoid doing all this
fuss with the sockets. An idea that crossed my mind was that I may use a
character device driver to do the job. I know that this will be a char
rather than
packet oriented solution, but with some additional effort it will be OK.
Later I will be using write()s and
select()s from a user program to communicate with the driver. I wonder
whether I'm missing something
here, beyond any aesthetic issues of course.

    If I eventually have to make a network driver, I would like somebody
give me some pointers. For example,
I miss issues like, how I can use the driver's functionality from a user
program (is it only through sockets using SOCK-RAW type?), or attach a
home-made protocol functionality, or how I can use ioctls (as long as
there
are no /dev/... file to operate on), etc. etc. I'm afraid, the otherwise
perfect book by Alessandro Rubini doesn't
cover network drivers in as depth as I wished. In the net, the
references are poor too... Are there any books
that cover this topic?

Thanx in advance for you help



--
     `\|||/
      (@@)
 _ooO_(_)_Ooo________________________________
 ______|_____|_____|_____|_____|_____|_____|_____|
_____|__________|_____|_____|____|_____|____|_____
|________Tasos Kotaras___|_____|____|_____|_____|
___|___|__Telecom Software Engineer_____|____|____
_____|_____Access Net & Wireless Comm Dept
|_______|___INTRACOM___|_____|______|______|____
__|___|______Peania 19002, Greece_|_____|____
___e-mail: [EMAIL PROTECTED]|____|____|____|
|_____Phone: +30 1 6690185_______|_____|______




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

From: "Mikko Jaakkola" <[EMAIL PROTECTED]>
Subject: Asynchronous notifications from networking device drivers?
Date: Mon, 09 Oct 2000 13:24:37 GMT

What's the best way to get proprietary notifications from networking device
drivers? I need to get notification data through ioct-interface but I need
someway to signal that data is ready. What is the best way to accomplish
such thing. The only way I can think of is to put pending request from
user-mode to kernel-mode and release it from driver every time when
something happens. Can anybody think of anything else?

- Mikko



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

From: Heiko Bachmann <[EMAIL PROTECTED]>
Subject: PCI Card access problems (driver)
Date: Mon, 09 Oct 2000 16:29:12 +0200

Hi,

I try to develop my first linux driver but ran into some problems. The books
I have and online docs I've found couldn't give all answers so I hope you
can :-)

1. I have the address of the card, 0xe300000. With ioremap() I get a remapped
   address, e.g. 0xc800.....  Can I directly access data (pointer dereference)
   with that remapped address? Which of the addresses do I have to use with
   readb/readw/readl? I guess it's the latter one because the 0xe300... caused
   page faults?

2. This card uses 64MB PCI memory. After remapping, different access methods
   only returned 0xff for all probed values in that 64MB area. I have seen
   that other programmers use mem_map_reserve() for the PCI memory area. Is
   it neccessary in my case? I tried it but nothing changed.

3. A HowTo at TUCOWS described that writing all 1's into a base address
   register and reading again gives the size of the mapped PCI memory. This
   procedure was not for i386 architecture. Testing on my i386 produced
   wrong sizes. Is there a chance to check the size, so that I can use this
   value for ioremap()?  (There are two versions of that card, one with 64MB
   and one with a reduced mem. size of 64KB)

Thanks in advance!

Heiko.


P.S. The mentioned card is a PCI-60A IndustryPack(TM) holder with a
     PLX PCI9080 PCI controller chip. Maybe anyone has already heard about
     that... :-)


-- 
============================================================================
Heiko Bachmann                    Chemnitz University of Technology, Germany

Mail: [EMAIL PROTECTED]   WWW:  http://www.tu-chemnitz.de/~heba/
============================================================================
===  Second hand CD list:  http://www.tu-chemnitz.de/~heba/cd-list.html  ===

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

From: Jan Mannekens <[EMAIL PROTECTED]>
Subject: Shared memory problem (Suse 6.4)
Date: Mon, 09 Oct 2000 16:21:11 +0200

Hi all,

I installed Suse Linux 6.4 and when I try to port a piece of code, I get
problems with the shared memory implementation. The linker doesn't find
the shm_open (open a shared memory object (realtime))function.
Any idea what package I have to install to resolve that problem
(shm_open is not in mman.h)? The funny thing is that 'man mmap'
references to shm_open (mmap is declared in sys/mman.h), while there is
no 'man shm_open'.


Thanks in advance,

Jan.

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

From: Michel Bardiaux <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.kernel
Subject: Re: adjtime and Linux 2.xxx
Date: Mon, 09 Oct 2000 15:01:13 GMT

Nick Maclaren wrote:
> 
> I am not sure if these are the appropriate groups, and I apologise
> if not.
> 
> I am currently updating msntp, and discover that adjtime does not
> work on my system (2.0.36 on Intel) - it stores the adjustment
> correctly, rejects a second one within too short a time, but does
> NOT update the clock.  This isn't made better by the fact that
> "Unix 2000" does not have an equivalent function :-(
> 
> Now, my point isn't that I want a fix, but I am wondering if
> anyone knows how pervasive this is, and whether I should say that
> adjtime should be disabled for Linux in the Makefile.
> 
> Regards,
> Nick Maclaren,
> University of Cambridge Computing Service,
> New Museums Site, Pembroke Street, Cambridge CB2 3QG, England.
> Email:  [EMAIL PROTECTED]
> Tel.:  +44 1223 334761    Fax:  +44 1223 334679

We have ported the BSD timeslave to Linux (Debian slink, kernel 2.0.36)
and adjtime definitely works *in that context*. But we have learned that
adjtime is one accursed API. On many OSes, it is either undocumented
(and Linux is one instance, where did you find the doc on your system?),
or does not work as the %&#$ doc says (e.g. SGI). On Linux, one crucial
line is in <kernel_src_dir>/kernel/sched.c, variable "tickadj". It reads

int tickadj = (500/HZ ? : 1);

in our sources (actually, we run timeslave on a tight leash, every 30
secs, because we need it, and we had to increase tickadj to 20 times
that). Do you have the same? What is your HZ? How did you discover the
clock is not updated?

Now, adjtimex, *that* one is tough! I haven't been able to understand
what it does, and its relation with the kernel PLL, or how the latter
works... so I'm still not able to use adjtimex.

Greetings
-- 
Michel Bardiaux
Peaktime Belgium S.A.  Rue Margot, 37  B-1457 Nil St Vincent
Tel : +32 10 65.44.15  Fax : +32 10 65.44.10

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


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