Linux-Development-Sys Digest #222, Volume #8 Tue, 17 Oct 00 15:13:14 EDT
Contents:
Looking for Western Digital databook ("Ido Bar-Tana")
Re: binfmt_misc and kmod (Wouter Verhelst)
K62-550 3DNow! ("John Hall")
export symbol in dev.c how? (NortonNg)
Re: LILO version 21.6 released (Rudi Sluijtman)
Re: 75E48FC8 Visio for Linux (Christopher Browne)
Re: ftp performence over wireless lan (Matthew Patterson)
Re: K62-550 3DNow! (Matthew Patterson)
install disks (Matthew Patterson)
Re: Accessing Memory on Device Boards ("Norm Dresner")
R: ioremap not in namespce...? ("newswind")
17 10 ("newswind")
Re: ftp performence over wireless lan (Kaz Kylheku)
Re: M820E linux driver (JMJ)
Re: Looking for Western Digital databook (David Weis)
Re: K62-550 3DNow! (jwk)
----------------------------------------------------------------------------
From: "Ido Bar-Tana" <[EMAIL PROTECTED]>
Subject: Looking for Western Digital databook
Date: Tue, 17 Oct 2000 17:27:48 +0200
I am in need to write a SVGALIB driver for the Western Digital WD90C30 chip,
which is used on older Thinkpads.
Does any of you kind soul has a pointer to this chip databook.
Any and all info would be greatly appreciated.
Ido
------------------------------
From: [EMAIL PROTECTED] (Wouter Verhelst)
Subject: Re: binfmt_misc and kmod
Date: Tue, 17 Oct 2000 15:47:00 GMT
In article <cIKF5.15052$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Wouter Verhelst) writes:
> Hi,
>
> I'm using binfmt_misc to be able to run java programs easily. I
> compiled binfmt_misc as a module, because I don't need it that often.
> this way it is not being loaded when I don't need it.
>
> I'm using kmod, together with a cron'ed "rmmod -a" to make sure that
> unused modules get removed from the kernel, but get loaded when I need
> them.
>
> However, this does not work for binfmt_misc. First, I wondered why,
> then added a post-install line to /etc/modules.conf which configures
> binfmt_misc. Still, this doesn't work. Do I have to do something
> special with binfmt_misc, or is it impossible in the current
> implementation?
>
> In the latter situation: is it easy to change things so that
> binfmt_misc gets loaded when the kernel doesn't know what to do with a
> binary file (and binfmt_misc isn't loaded at that time)?
>
> It would be very convenient. This way, I manually have to enter
> 'modprobe binfmt_misc' when I need it, and 'rmmod binfmt_misc' when it
> can be removed (I tried to use the -k option to modprobe so that
> binfmt_misc would be unloaded by rmmod -a, but after I ran rmmod -a
> three or four times, binfmt_misc was still loaded).
>
> TIA,
It seems as though
- Nobody knows the answer to my question, or
- I read the wrong docs, this is to be found in some FAQ somewhere, or
- Wrong newsgroup, or
- My post was very unclear ;-)
Can anyone tell me which of these three things is correct? I'd really
like to know the answer to my question.
--
wouter punt verhelst op advalvas in Belgi�
5:44pm up 6:06, 2 users, load average: 1.01, 1.01, 1.00
Voor een vertaling van Documentation/Configure.help naar het Nederlands:
http://users.pandora.be/wouter.verhelst/configure.html
Help fight continental drift.
------------------------------
From: "John Hall" <[EMAIL PROTECTED]>
Subject: K62-550 3DNow!
Date: Tue, 17 Oct 2000 16:01:14 GMT
How's the support for this cpu? I'm purchasing a laptop within the next week
and the one I have my eye on has one of these. I know Linux will run fine on
it, but i'm curious about performance. I know this chip emulates MMX to a
certain degree, but that you really need to specifically take advantage of
the 3DNOW! instruction set to see the bigger benefit. Does anyone have any
comment? Specifically i'm curious if 3DNow acceleration has been implemented
in the kernel or in any of the X servers, or if I can compile my own X
server with 3dNow support.
Thanks in advance.
------------------------------
From: NortonNg <[EMAIL PROTECTED]>
Subject: export symbol in dev.c how?
Date: Tue, 17 Oct 2000 16:19:32 +0000 (UTC)
hi all,
i need to hook the packet processing function net_bh() in
dev.c, so that i use EXPORT_SYMBOL to export a function pointer,
the symbol was apper in /boot/Symbol.map like that:
c015cd9c T ipsec_fwd_null_entry
c0230d28 D ipsec_fwd_hook
but i failed to use the exported symbol from my module.
the error messages are...
% insmod ./dipsec.o
./dipsec.o: unresolved symbol ipsec_fwd_hook
./dipsec.o: unresolved symbol ipsec_fwd_null_entry
%
any suggestions??
my code in dev.c are:
===== dev.c ==========
...
...
int ipsec_fwd_null_entry( struct sk_buff *sk)
{
return 0;
}
int (*ipsec_fwd_hook)(struct sk_buff *)= &ipsec_fwd_null_entry;
EXPORT_SYMBOL(ipsec_fwd_hook);
EXPORT_SYMBOL(ipsec_fwd_null_entry);
..
...
....
========== my module ===========
...
..
extern int ipsec_fwd_null_entry(struct sk_buff *sk);
extern int (*ipsec_fwd_hook)(struct sk_buff *);
int init_module( void)
{
MOD_INC_USE_COUNT;
printk("The distributed packet module\n");
ipsec_fwd_hook=&ipsec_packet_fwd_entry;
return 0;
}
void cleanup_module()
{
MOD_DEC_USE_COUNT;
ipsec_fwd_hook=&ipsec_fwd_null_entry;
}
==============================
------------------------------
Subject: Re: LILO version 21.6 released
From: Rudi Sluijtman <[EMAIL PROTECTED]>
Date: Tue, 17 Oct 2000 16:30:23 GMT
John in SD <[EMAIL PROTECTED]> writes:
> RedHat has based their release 7.0 version of LILO on 21.4.4. The mods for a
> PCX file are theirs, not mine, and will only work on VGA systems.
>
> The menu interface introduced with LILO 21.5 is based on a text screen, and
> works on MDA, EGA, and VGA systems.
Thanks.
"Simply" using a PCX file (the size is the biggest problem) works great
with RedHat's version. But I will keep in mind that the message file
is ment for text mode only.
Regards,
Rudi Sluijtman.
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: 75E48FC8 Visio for Linux
Reply-To: [EMAIL PROTECTED]
Date: Tue, 17 Oct 2000 16:39:13 GMT
In our last episode (16 Oct 2000 22:50:00 +0100),
the artist formerly known as Nix said:
>Larry Blanchard <[EMAIL PROTECTED]> writes:
>
>> Linuxcad again ????
>
>I wonder if they are related to LinuxOne? There is a certain
>similarity in their names and in the truthfulness of their
>advertising.
Both actually _do_ have a product, arguably of dubious value, which is
a further similarity...
... But not enough of one to necessarily imply a relationship ...
>> This thing's had so many stakes through its heart that it's sprouting
>> leaves :-).
>
>Leaves of purest spam.
Indeed.
--
(concatenate 'string "aa454" "@" "freenet.carleton.ca")
<http://www.ntlug.org/~cbbrowne/lsf.html>
"A good system can't have a weak command language." -- Alan Perlis
------------------------------
From: Matthew Patterson <[EMAIL PROTECTED]>
Subject: Re: ftp performence over wireless lan
Date: Tue, 17 Oct 2000 12:14:41 -0500
something that i've noticed about ftp: when you do a transfer, if the actual
transfer takes less than 1 second, the transfer rate is completely inaccurate.
However, when you do a transfer that takes more than one second, it gives a more
accurate report.
just a thought.
MHP
Jerome Corre wrote:
>
> hi,
>
> I have set up a wireless lan between two pc (both running redhat 6.1)
> using two Wavelan IEEE turbo (now call orinico) and two range extender.
>
> I wanted to test what sort of speed i could get over the wireless link,
> using ftp if first tryed 'get a22kfile /dev/null' I get rate between
> 100kbyte per sec and 640kbyte per sec. which i am happy with
>
> but when i try bigger file the performance goes down completely:
> 'get a300kfile /dev/null' or 'get a 1Mfile /dev/null' give rates around
> 1kbyte per second, and i can't figure out what the problem is?
>
> I have look through old post in the newsgroup but could not find
> anything useful.
>
> thanks for any help
>
> regards
>
> Jerome
>
> --
> Jerome Corre
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: Matthew Patterson <[EMAIL PROTECTED]>
Subject: Re: K62-550 3DNow!
Date: Tue, 17 Oct 2000 12:20:47 -0500
funny kind of thing: i've seen equal with an amd than with an intel. same clock
speed, same amount or ram, same bus speed, same exact peripherals. this is with
a 2.2.x series kernel. i haven't tried with a 2.4 yet, but i did see that the
kernel does now separate the intel and the amd, as well as crusoe and winchip.
be interesting to see some comparison on 2.4 kernels with the specific proc type
chosen. may as well throw a crusoe into the bout also and see if it is cooler
because it is slower.
John Hall wrote:
>
> How's the support for this cpu? I'm purchasing a laptop within the next week
> and the one I have my eye on has one of these. I know Linux will run fine on
> it, but i'm curious about performance. I know this chip emulates MMX to a
> certain degree, but that you really need to specifically take advantage of
> the 3DNOW! instruction set to see the bigger benefit. Does anyone have any
> comment? Specifically i'm curious if 3DNow acceleration has been implemented
> in the kernel or in any of the X servers, or if I can compile my own X
> server with 3dNow support.
>
> Thanks in advance.
------------------------------
From: Matthew Patterson <[EMAIL PROTECTED]>
Subject: install disks
Date: Tue, 17 Oct 2000 12:30:10 -0500
can anyone describe what the boot process looks like for a distrobution install
disk, or point me to a nice reference? i am wondering because i looks like lilo
is involved in this process usually, and my understanding was that in order for
lilo not to complain one would need to specify a root device. awfully hard to do
when one doesn't know the device that the cdrom will register itself as on every
system out there. yet somehow it gets added to the system. The other possibility
that i've come up with is that a ramdisk gets set up as / and the cdrom is
mounted by some program called up by an init= option for the kernel, but to run
this program the filesystem it sits on would need to be mounted. maybe i'm the
only one who doesn't get it, but it seems that i really don't get it in this
case.
thanks in advance
MHP
------------------------------
Reply-To: "Norm Dresner" <[EMAIL PROTECTED]>
From: "Norm Dresner" <[EMAIL PROTECTED]>
Subject: Re: Accessing Memory on Device Boards
Date: Tue, 17 Oct 2000 17:35:15 GMT
Is this x86? If so, what version of the kernel? (If not, what is it?)
Norm
Anders Prisak <[EMAIL PROTECTED]> wrote in message
news:8sfr0v$oit$[EMAIL PROTECTED]...
> Hi,
> I'm trying to write a device driver for 82C200 based ISA CANBus card for
> linux as the driver I've found doesn't seem to work. I'm quite new at this
> stuff, I know how to write and insert modules but I have problems
contacting
> the device board. The registers are supposed to be located at 0xDA00 up to
> 0xDC00. I've tried to use readb() and writeb() to access them but I don't
> think I'm getting anything through to the card. For example I wrote:
>
> writeb(0x1, 0xDA00)
>
> I don't get any error message when inserting the module and running the
code
> but it just doesn't write anything to the registers on the board (I was
able
> to check that in dos).
>
>
> --------------
> Anders Prisak
>
>
------------------------------
From: "newswind" <[EMAIL PROTECTED]>
Subject: R: ioremap not in namespce...?
Date: Tue, 17 Oct 2000 19:25:42 +0200
Ciao Amico o Amica, sono Uncino,
ti chiedo se vorresti dare uno sguardo al mio sito,
http://www.uncino1.it in modo di avere anche un tuo
parere grazie, aspetto risposta saluti Uncino
P.S.: se vuoi che la tua e-mail sia rimossa da
questa Mailing-list, SCRIVI A: [EMAIL PROTECTED]
e cancellati, ti ringrazio, saluti Uncino
Kasper Dupont <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
> Arne Driescher wrote:
> >
> > >
> > > Hmmm... I DO see the same __ioremap in my System.map file - I don't
see it when I
> > > run ksyms however.
> > > I must admit, I'm confused. Where exactly does the module look for it?
I thought
> > > that in order for a module to access it, it would
> > > have to be listed in ksyms' output...but Why would it be in my
System.map and not in
> > > ksyms' output?
> > >
> > Don't qoute me on this but as far as I know the module loader
> > uses System.map to resolve references to kernel functions.
> > Running ksyms on my system:
> > pc45:[~]> ksyms -a | grep ioremap
> > c010ee54 __ioremap
> > shows the reference to ioremap.
> > From System.map:
> > c010ee54 T __ioremap
> >
> > Both are the same. Perhaps you should start to build new
> > kernel until you have the same result in both cases.
> >
> > -Arne
>
> It is for sure the module loader, that has to find
> the symbol. You could try using strace to see what
> the module loader actually does. "strace insmod
> module.o" or similar.
>
> --
> Kasper Dupont
------------------------------
From: "newswind" <[EMAIL PROTECTED]>
Subject: 17 10
Date: Tue, 17 Oct 2000 19:26:06 +0200
Ciao Amico o Amica, sono Uncino,
ti chiedo se vorresti dare uno sguardo al mio sito,
http://www.uncino1.it in modo di avere anche un tuo
parere grazie, aspetto risposta saluti Uncino
P.S.: se vuoi che la tua e-mail sia rimossa da
questa Mailing-list, SCRIVI A: [EMAIL PROTECTED]
e cancellati, ti ringrazio, saluti Uncino
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: ftp performence over wireless lan
Reply-To: [EMAIL PROTECTED]
Date: Tue, 17 Oct 2000 17:33:10 GMT
On Tue, 17 Oct 2000 12:14:41 -0500, Matthew Patterson <[EMAIL PROTECTED]> wrote:
[ Please don't top-post! Replies go below the quotes. ]
>Jerome Corre wrote:
>>
>> hi,
>>
>> I have set up a wireless lan between two pc (both running redhat 6.1)
>> using two Wavelan IEEE turbo (now call orinico) and two range extender.
>>
>> I wanted to test what sort of speed i could get over the wireless link,
>> using ftp if first tryed 'get a22kfile /dev/null' I get rate between
>> 100kbyte per sec and 640kbyte per sec. which i am happy with
>>
>> but when i try bigger file the performance goes down completely:
>> 'get a300kfile /dev/null' or 'get a 1Mfile /dev/null' give rates around
>> 1kbyte per second, and i can't figure out what the problem is?
>>
>> I have look through old post in the newsgroup but could not find
>> anything useful.
>
>something that i've noticed about ftp: when you do a transfer, if the actual
>transfer takes less than 1 second, the transfer rate is completely inaccurate.
>However, when you do a transfer that takes more than one second, it gives a more
>accurate report.
Not quite. Only the measurement of an FTP send is grossly inaccurate for small
transfers, because you are really measuring the bandwidth between FTP and your
kernel's network buffers. The measurement of FTP receives is better, because it
measures the actual rate of arrival of bytes into the FTP client. The kernel
does not delay the forwarding of received data to the application unless there
are holes in it due to dropped or out of order frames; it's not going to block
receives until it has a large chunk and then deliver it all at once. Note that
the article you are replying to is talking about receive (ftp get)
measurements. A 1K per second link is normally not going to look like 100K per
second on small file receives!
I would suggest this: use a network analysis tool like tcpdump or Ethereal to
see what is going on. It sounds like there are errors on the link which are
slowing down the transfer. When a TCP connection starts, it is in a
congestion-avoiding slow start mode, which could explain why tiny files are
transferred quickly; it could be that the error rate goes up when the network
is asked to work harder. Or there could be intermittent problems with the
datalink; rare enough to allow a small file to quickly sneak through, but
frequent enough to cause a serious interference with large transfers. Another
thing to try is to just use the old fashioned FTP client and turn on the hash
mark printing. This will tell you whether you are getting a continuous receive,
or whether it comes in large, fast bursts interrupted by stalls. The latter
indicate datalink problems.
--
Any hyperlinks appearing in this article were inserted by the unscrupulous
operators of a Usenet-to-web gateway, without obtaining the proper permission
of the author, who does not endorse any of the linked-to products or services.
------------------------------
From: [EMAIL PROTECTED] (JMJ)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.portable
Subject: Re: M820E linux driver
Date: Tue, 17 Oct 2000 17:55:13 GMT
Reply-To: [EMAIL PROTECTED]
x-no-archive: yes
On Sun, 08 Oct 2000 20:53:20 -0500, Ming Kee
=?iso-8859-1?Q?=A9=FA=B0O?= <[EMAIL PROTECTED]> wrote:
>alas...there's NO driver for supplied card for M820e, I am using Adaptec
>1480...
There's the beginnings of a driver at:
http://www.netlab.is.tsukuba.ac.jp/~yokota/izumi/ninja/
But it's way beyond my capabilities to do anything to it, and I
couldn't get it to work "as is." Of course, that might also be due to
some error I made.
JMJ
[EMAIL PROTECTED]
------------------------------
From: David Weis <[EMAIL PROTECTED]>
Subject: Re: Looking for Western Digital databook
Date: Tue, 17 Oct 2000 13:12:55 -0500
Finding the data might be pretty tough, but you could check the XFree86
source to find out how they drive the chip.
david
On Tue, 17 Oct 2000, Ido Bar-Tana wrote:
> I am in need to write a SVGALIB driver for the Western Digital WD90C30 chip,
> which is used on older Thinkpads.
>
> Does any of you kind soul has a pointer to this chip databook.
>
> Any and all info would be greatly appreciated.
>
> Ido
>
>
>
>
>
--
David Weis | "Great spirits will always encounter violent
[EMAIL PROTECTED] | opposition from mediocre minds" - Einstein
http://www.sjdjweis.com/ |
------------------------------
From: [EMAIL PROTECTED] (jwk)
Subject: Re: K62-550 3DNow!
Date: 17 Oct 2000 18:41:28 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 17 Oct 2000 16:01:14 GMT, John Hall
<[EMAIL PROTECTED]> wrote:
>How's the support for this cpu? I'm purchasing a laptop within the next week
>and the one I have my eye on has one of these. I know Linux will run fine on
>it, but i'm curious about performance. I know this chip emulates MMX to a
>certain degree, but that you really need to specifically take advantage of
>the 3DNOW! instruction set to see the bigger benefit. Does anyone have any
>comment? Specifically i'm curious if 3DNow acceleration has been implemented
>in the kernel or in any of the X servers, or if I can compile my own X
>server with 3dNow support.
>
>Thanks in advance.
>
There are some routines in the kernel that use 3DNow! (checksumming,
some raid computations). The difference won't be that great. A certain
mp3-encoder has a 3DNow! enhanced version. That could be a bigger
difference, but not shocking.
Good luck,
Jurriaan
--
I am the current of vengeance gurgling through your sewer
Darkwing Duck
GNU/Linux 2.2.18pre15 SMP 2x1117 bogomips load av: 1.15 0.98 0.92
------------------------------
** 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
******************************