Re: 2.4.0+aic7xxx doesn't boot, 2.2.17 OK

2001-01-16 Thread Anders Peter Fugmann
I saw the exact same problem on my Adaptec scsi controller. I initially solved the problem setting the data transfer rate from 80Mb/s to 40MB/s, but I see that yours is already 40MB/s, so this is not an option for you. Later I saw an announcement from Justin T. Gibbs, who, I beleive, is

Exporting symbols from a module.

2001-05-15 Thread Anders Peter Fugmann
Hi. I've got a simple question - how export symbols from one module, and use them in another. I have two modules - 'kvaser' and 'can_master'. 'kvaser' exports some functions, and 'can_master' needs to use call these functions. I used EXPORT_SYMBOL, and declared the function extern, but i

Re: Exporting symbols from a module.

2001-05-15 Thread Anders Peter Fugmann
Hi. Thanks for your reply. I'm not sure where to put this in my Makefile. (tried, but it did not help) Could you please send an example. Thanks in advance. Anders Fugmann Andreas Dilger wrote: I just recently had this problem, and your Makefile is missing: export-objs := file name.o

Re: Exporting symbols from a module.

2001-05-17 Thread Anders Peter Fugmann
Hi Andreas. I now see what you mean, and I will give it a try. But actually I'm not compiling it under the linux kernel tree, and I really would like a way to export symbols, while compiling outside the kernel tree. How would I accomplish that? Regards Anders Fugmann Andreas Dilger wrote:

Re: Exporting symbols from a module.

2001-05-17 Thread Anders Peter Fugmann
\ /usr/src/linux/modversions.h Now all works correctly, and I can load my modules. Thanks for all your help. eps. the tip when I try to compile it in the kernel tree. Anders Fugmann Anders Peter Fugmann wrote: Hi Andreas. I now see what you mean, and I will give it a try. But actually

Q: procfs entry.

2001-05-18 Thread Anders Peter Fugmann
Hi again. I have a question about the function parsed for reading a procfs entry. I've used the skeleton from drivers/char/misc.c, and all works perfectly, but I see a potential flaw. static int misc_read_proc(char *buf, char **start, off_t offset, int len, int

BH implementation question

2001-03-20 Thread Anders Peter Fugmann
Hi I have a couple of questions to the kernel code. I have been trying to fully inderstand (and doccument) the changes in 2.4 wrt. Tasklets and softirq's, BH's and task queues. In my try to understand how it all works, I came across the code: (linux/kernel/softirq.c: 246) static void

Re: kernel 2.4.2 network performances

2001-03-21 Thread Anders Peter Fugmann
Hi Jerome. As Mr. Hafting says, is seems that there is a softirq missing somewhere. If this is the case, it should help to make some add some systemcalls in your program, since a softirq should happen at every system-call exit. Try adding: getpid(); in the innermost loop, and see if

Re: kernel 2.4.2 network performances

2001-03-22 Thread Anders Peter Fugmann
Hi again. I've written my own test program, and I get 12M throughput. I used a packet size of 1024 Bytes. Smaller packages seems to result in less throughput. There was no load on the machine I tested on. Does the throughput get better is there is a lot of stress on the machine? (eg.

CANBus driver.

2001-04-30 Thread Anders Peter Fugmann
Hi. Some of my fellow students and I, have started a project in which we have to implement a linux driver for a CANbus ISA card ( AROS: A-858D PCCAN -x ver. 1.12). Does there exist any work on a CANBus driver for linux already? Also, is there any interrest for this kind of driver, or would

Re: CANBus driver.

2001-05-01 Thread Anders Peter Fugmann
Hi Mark. Thanks for your reply - its nice to hear the there is some interrest in out project. Clayton, Mark wrote: I am always interested in CAN stuff on Linux. Where can I find more info in the card you plan to use? See: http://www.kvaser.se We will contact Kvaser to get the technical

Re: FYI: ECN approved as Standard

2001-06-14 Thread Anders Peter Fugmann
Hi Jamal Great to hear, but I cannot find anything that backs it up. I really want to see the final RFC. Perhaps you could send me an URL pointing to it? TIA Anders Fugmann jamal wrote: The IESG approved ECN as a proposed standard on the 12th of June. That means as of now, anyone

Exporting symbols from a module.

2001-05-15 Thread Anders Peter Fugmann
Hi. I've got a simple question - how export symbols from one module, and use them in another. I have two modules - 'kvaser' and 'can_master'. 'kvaser' exports some functions, and 'can_master' needs to use call these functions. I used EXPORT_SYMBOL, and declared the function extern, but i

Re: Exporting symbols from a module.

2001-05-15 Thread Anders Peter Fugmann
Hi. Thanks for your reply. I'm not sure where to put this in my Makefile. (tried, but it did not help) Could you please send an example. Thanks in advance. Anders Fugmann Andreas Dilger wrote: >> > I just recently had this problem, and your Makefile is missing: > > export-objs := .o > >

Re: Exporting symbols from a module.

2001-05-17 Thread Anders Peter Fugmann
Hi Andreas. I now see what you mean, and I will give it a try. But actually I'm not compiling it under the linux kernel tree, and I really would like a way to export symbols, while compiling outside the kernel tree. How would I accomplish that? Regards Anders Fugmann Andreas Dilger wrote:

Re: Exporting symbols from a module.

2001-05-17 Thread Anders Peter Fugmann
\ /usr/src/linux/modversions.h Now all works correctly, and I can load my modules. Thanks for all your help. eps. the tip when I try to compile it in the kernel tree. Anders Fugmann Anders Peter Fugmann wrote: > Hi Andreas. > > I now see what you mean, and I will give

Q: procfs entry.

2001-05-18 Thread Anders Peter Fugmann
Hi again. I have a question about the function parsed for reading a procfs entry. I've used the skeleton from drivers/char/misc.c, and all works perfectly, but I see a potential flaw. static int misc_read_proc(char *buf, char **start, off_t offset, int len, int

Re: 2.4.0+aic7xxx doesn't boot, 2.2.17 OK

2001-01-16 Thread Anders Peter Fugmann
I saw the exact same problem on my Adaptec scsi controller. I initially solved the problem setting the data transfer rate from 80Mb/s to 40MB/s, but I see that yours is already 40MB/s, so this is not an option for you. Later I saw an announcement from Justin T. Gibbs, who, I beleive, is

CANBus driver.

2001-04-30 Thread Anders Peter Fugmann
Hi. Some of my fellow students and I, have started a project in which we have to implement a linux driver for a CANbus ISA card ( AROS: A-858D PCCAN -x ver. 1.12). Does there exist any work on a CANBus driver for linux already? Also, is there any interrest for this kind of driver, or would

Re: CANBus driver.

2001-05-01 Thread Anders Peter Fugmann
Hi Mark. Thanks for your reply - its nice to hear the there is some interrest in out project. Clayton, Mark wrote: > I am always interested in CAN stuff on Linux. Where can I find > more info in the card you plan to use? See: http://www.kvaser.se We will contact Kvaser to get the

BH implementation question

2001-03-20 Thread Anders Peter Fugmann
Hi I have a couple of questions to the kernel code. I have been trying to fully inderstand (and doccument) the changes in 2.4 wrt. Tasklets and softirq's, BH's and task queues. In my try to understand how it all works, I came across the code: (linux/kernel/softirq.c: 246) static void

Re: kernel 2.4.2 network performances

2001-03-21 Thread Anders Peter Fugmann
Hi Jerome. As Mr. Hafting says, is seems that there is a softirq missing somewhere. If this is the case, it should help to make some add some systemcalls in your program, since a softirq should happen at every system-call exit. Try adding: getpid(); in the innermost loop, and see if

Re: kernel 2.4.2 network performances

2001-03-22 Thread Anders Peter Fugmann
Hi again. I've written my own test program, and I get 12M throughput. I used a packet size of 1024 Bytes. Smaller packages seems to result in less throughput. There was no load on the machine I tested on. Does the throughput get better is there is a lot of stress on the machine? (eg.

Re: FYI: ECN approved as Standard

2001-06-14 Thread Anders Peter Fugmann
Hi Jamal Great to hear, but I cannot find anything that backs it up. I really want to see the final RFC. Perhaps you could send me an URL pointing to it? TIA Anders Fugmann jamal wrote: > > The IESG approved ECN as a proposed standard on the 12th of June. > That means as of now, anyone

problem detecting QUANTUM scsi disks in Wide mode.

2000-11-11 Thread Anders Peter Fugmann
Hi I'm having problems with an Adaptec AIC-7890/1 Ultra2 SCSI adapter. under kernel 2.4.0-test10. Under boot, the the two Quantum scsi disks are not detected correctly, and the root partition could not be mounted (because it could not find the disks). Written of the screen: Host: