John,
I do not plan to argue this further in advance.
:-) It wasn't in my intention to argue anything. Just knowledge exchange.
In a microkernel drivers could have their own global namespace and not have
direct access to memory.
As long as the processor doesn't provide any specific
John,
Basically, this boils down to the ancient debate of microkernel vs monolithic
kernel.
Could you, please elaborate on this.
Thanks,
Stephan
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to ecar...@nl.linux.org
Please read the FAQ at
... read some text book etc before this to have correct context ?
This is a learning challenge -sorry, I cannot provide a magic recipe.
Here is how I tackle such situations:
- Start by writing down a list of your H/W knowledge holes
and begin working it one item at a time.
- Get some
Any suggestions what can I read ?
Is your list ready ?:o)
1. User Guide - Data Sheet
2. Application Notes
3. Code examples
4. Use Wikipedia to get quick answers and directions.
I assume you have the basics (from what I already know about you).
So, unless you have a very good
HI Abu,
What I want is some directions.
I want to learn hardware intimately.
If you mean H/W design this is not the good place to ask.
If you mean programming H/W (aka firmware) then I would
start by building some H/W basic knowledge and I would
want to practically implement and
Sri,
I have a doubt regarding devices, with respect to how they operate.
Every device needs some cycles to operate. So, devices like NIC, Video
controller, memory controller, , does they all have their own
clock or core. Or these controllers act in respect to system clock are
Latest news: How-to: LaunchPad programming with Linux
http://hackaday.com/2010/08/11/how-to-launchpad-programming-with-linux/
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
Hi Greg,
In a standard PC design, don't you have 2 arbitrators?
Dave built his explanation on a micro controller architecture
which is very different from the PC/Intel stuff. Depending of the
model you may have one bus or more. There are some DSP
dedicated architectures based on more
Hi,
I know it is not the target of this discussion list but people reading it may
be, also interested in
learning or experimenting at the CPU level. It is difficult if not impossible
to
follow from end to
end an interrupt on a Linux box. Or a UART, or a timer.
Here you can get for $4.30 a
http://en.wikipedia.org/wiki/Comparison_of_Linux_distributions
Please give some online link to what you said I will go through it.
http://www.google.com/search?hl=enclient=firefox-ahs=yTXrls=org.mozilla%3Aen-US%3Aofficialchannel=sq=dennis+ritchie+c+pdfcts=1282966271211aq=2sxaqi=g-s1g-sx9aql=oq=denis+ritcgs_rfai=
Say a short prayer every time you open
Hello,
This question is related to a simple driver implementing a miscellaneous device
under 2-6-32
Using the following code:
/* snippet ---
static struct miscdevice lab1_dev = {
.minor = MISC_DYNAMIC_MINOR,
.name = lab1,
.fops =
Your Subject is very generic.
Well, my subject says I am looking for a migration/port guide. If you
have such document I will be very grateful to get a pointer on it.
Thanks,
Stephan.
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to ecar...@nl.linux.org
a friend asks me for a cheap pci/pcie card with OSS drivers?
Uart/parallel port with something hanging off it (null modem orarduino or
LEDs).
A good place to start:
1. http://microcontrollershop.com/
2. http://www.embeddedarm.com/index.php
Good luck,
/Stephan
--
To unsubscribe from
Again, it all depends on the code. Some interfaces have changed
radically from the past 8 years, while others, not much at all.
Care to post it?
Negotiation becomes tougher and tougher ... :-)
Joking a bit - this reminds me a nice statement I heard in some
TV show discussing
Hi Fabian,
... the convention in many systems is to use a leading
underscore for low level functions
that do little validation and should therefore not be used
directly.
Thank you for the kind explanation.
I wasn't aware about this low_level vs. leading_underscore convention.
Make
Hello,
Is there any User Guide, Tutorial, FAQ, example which explains how to port a
2.4 devfs
driver to a 2.6 udev one.
Thanks,
Stephan.
p.s. I already spent half day googling for and I start feeling the boss
nervousness...
:-)
--
To unsubscribe from this list: send an email with
I use http://www.google.com
and keyword insite:www.kernelnewbies.org
Thanks Tapas !
I learned something new today. Let's share it with others who,
like me didn't know this search feature:
To search with Google only the site: mail.nl.linux.org/kernelnewbies/
for kernel AND build AND 2.4
Hello,
I need to find topics discussed here some time ago. I don't remember exactly
the
date of the discussion - so I'd like to do a search on the whole archive. Is
this possible
and how?
Thanks,
Stephan.
--
To unsubscribe from this list: send an email with
unsubscribe kernelnewbies to
Hi Joel,
because timers execute in interrupt context, not process context.
What do you mean exactly?
My understanding is the kernel uses interrupts to count the time and to
trigger timer routines - but these routine are executed in the context they
were registered. A timer created by a
Hi Greg, Joel,
You're missing a tier of complexity and I'm afraid I don't know the...
Agreed 100% :-)
My intent was not to discuss the whole linux driver topic but to understand
the subtleties of using schedule() in linux drivers.
This point of view I have to say, you guys you did an
Hi Joel,
You need to be clear with yourself on the meaning and the
types/differences of different contexts first, because its really
confusing when you say kernel context (not interrupt).
Could you, please be a little more specific about what is confusing?
As this is learning ground it would
Hi Joel,
1. What event awakes the process? Has the driver any way to control it?
The kernel code executing on behalf of the process is usually waiting
for some resource to become available, we sleep because we can't
return from the middle and have to wait till we get the resource. For
Hi Greg,
driver context? Not really a kernel term to my knowledge. I'll
assume you mean in a driver directly associated with a user space
call. ie. Not in interrupt mode
Sorry for the formulation. And yes I meant exactly what you suggesting.
It is not at all uncommon to have access to
Hello all,
Why would a linux driver call schedule() ?
The LDD proposes this method to fight systems hangs caused by an infinite loop
in the driver. In this
case the schedule() call would be a workaround. I think better fix the
infinite loop and abstain to call
schedule()...
I found more than
Remove them all !
/st
:o)
From: Sandu Popa Marius sandupopamar...@gmail.com
To: Daniel Baluta daniel.bal...@gmail.com
Cc: kernelnewbies@nl.linux.org
Sent: Monday, June 15, 2009 12:22:17 PM
Subject: Re: stop mount/read/write
isn't chmod useful.
thanks,
Daniel
Lukasz,
You don't need a new driver for this purpose. Just write a raw-socket
application,
switch the interface in promiscuous mode and you an send whatever you want.
You have to be root for that. Search the net for raw socket interface.
Stevens - UNIX Network Programming is a very good book
The reason why I would like to do it as a kernel module is performance.
Raw packets has to be filtered (by headers) and/or dumped to disk at
rate close to gigabit per second. Also some of them must be send to
userspace application.
So my question remains open: how to implement such kernel
Hi Kostya,
I had a similar experience and the problem was the SDRAM timing.
This is set up not in the Linux but in the bootloader (U-boot or whatever)
If not the simplest way to find out which driver is incriminated is to unload it
and to run the system for a while without it. It is lengthy,
? Is this type of synch
safe in IRQ context?
Could you provide, please a precise pointer on such a call? or copy here a code
snippet?
Thanks a lot for your interest in helping me,
I'm deeply indebt with some free beer,
StephanT
You forgot to cc kernelnewbies as well..
Yes and I screwed also the first post (the head). Sorry...
This is learning by error :o)
Next time I'll do-it right, promise!
Stephan
31 matches
Mail list logo