lt;http://gpsd.berlios.de/>. The GPRS/GSM
modem is just a "normal" modem that you can use through normal PPP
connections. For SMS, they can typically be sent by sending specific AT
commands to the GSM modem.
Cheers,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, re
ages :-)
Sincerely,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FA
through this bus. One outb() probably requires several (if not
many) clock ticks.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
&qu
ices can only be
programmed through PIO.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl
93
which does
823 if (!open && f->f_op)
824 open = f->f_op->open;
825 if (open) {
826 error = open(inode, f);
827 if (error)
828 goto cleanup_all;
829 }
(ouf)
Sincerly,
Thomas
-
7;t been installed in /lib/modules//.
But again, please read Linux Kernel in a Nutshell, or at least the
relevant parts of it, to at least get a basic understanding of what's
going on.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consultin
ing gcc might be complicated. I would suggest
not to try this for the moment, and stick with available binary
packages.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this
thout the
need to compile it.
But again, why do you want to use Bochs and not Qemu ?
(It seems like you didn't read my previous email...)
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
Le Fri, 26 Dec 2008 15:44:28 +0300,
"Denis Borisevich" a écrit :
> When I call request_irq() with IRQF_SHARED as an argument I get
> -EINVAL. Any ideas?
In request_irq():
if ((irqflags & IRQF_SHARED) && !dev_id)
return -EINVAL;
Sincerly,
. Is there any one who can guide me where to
> start from?
LIRC <http://www.lirc.org/>.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email
smod. modprobe will automatically load the
required dependencies.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubscribe kerne
SK)) {
old_name = old->name;
goto mismatch;
}
The AHCI interrupt is registered with IRQF_SHARED (at least in recent
kernels, I didn't check in 2.6.24). Make sure you also register your
handler with IRQF_SHARED in the flags. If so, then th
r base than Bochs, and is actively
maintained.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar
.clemson.edu/~westall/853/notes/
http://oreilly.com/catalog/9780596002558/
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubscrib
at compile time by depmod, which extracts these
informations from the .ko files.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubs
probe travels through the modules.alias file and loads the
corresponding module. Once loaded the module tells the kernel that it
handles PCI devices identified by some IDs, and its ->probe() method
gets called.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded
markup
for a Python version of this.
If your system already uses D-Bus and HAL, then clearly, this is the
best solution. If your system only relies on udev or mdev, then the
solution proposed by Matthias Kaehlcke (custom udev rules) is good.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electron
not the best place to have such
discussion.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" t
d
from Python, thanks to [2].
Sincerly,
Thomas
[1]
http://friky.svn.sourceforge.net/viewvc/friky/friky2/trunk/friky2/usbkey.py?revision=138&view=markup
[2] http://pyinotify.sourceforge.net/
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, train
rently loaded
character and block drivers.
Better source of informations are dmesg, lspci and lsusb.
Basically, you need to know your hardware, and possibly compile and
boot the kernel several times until you select the correct set of
options. There's no magical recipe I can give you.
Thom
;
>
> What is the rational behind exporting per CPU symbol?
Export per-cpu variables <http://lwn.net/Articles/22911/> to modules ?
current_task is a per-cpu variable:
DEFINE_PER_CPU(struct task_struct *, current_task) = &init_task;
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel,
ELF support, drivers, filesystem, network, etc.
See <http://www.kroah.com/lkn/> for more details about this.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this li
help. Am i making
> any sense at all?
In /boot, you usually have a file named config- that
contains the configuration of the kernel. You can use it to compile a
newer kernel version (I usually copy this file to .config in the new
kernel source tree, and run make oldconfig).
Thomas
--
Thomas P
lists the registered majors by block device driver and character
device drivers.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsu
ed to keep current_nr_sectors
sane
Which confuses me quite a lot.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"un
ely
end the request, but simply move to the next segment (changing
rq->buffer, rq->sector, etc.). How does it work ?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To un
nd_request() is deprecated, I suspect that the goal is to deprecate
all end_*_request() functions as well, is it correct ? If so, is that
correct that one should use blk_end_request() when the queue lock is
not held, and __blk_end_request() if the queue lock is already held ?
Thanks!
Thomas
--
Thomas
achieve, so I don't see how we
could tell you how you should do it. And don't tell us that you wan't
to create and manage userspace processes, tell us why you want to do
that.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
co
er, most people are using a high-lever library like
DirectFB, which makes the use of the framebuffer much easier.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe fr
> ? 2. Any standard GPS Framework ?
You should probably have a look at gpsd, http://gpsd.berlios.de/, which
contains a library called libgps (see
http://gpsd.berlios.de/libgps.html).
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consultin
ations with your
kernel module.
BTW, we could better help you if you described what you are trying to
do exactly.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe
Le Fri, 29 Aug 2008 10:51:10 +0200,
Thomas Petazzoni <[EMAIL PROTECTED]> a écrit :
> So, who is doing the bounce buffering of the bio page when it's stored
> in ZONE_HIGHMEM ? Is it safe for a block driver to blindly use
> rq->buffer without knowing if the bio's page i
Le Fri, 29 Aug 2008 14:17:18 +0530,
"Rohit Sharma" <[EMAIL PROTECTED]> a écrit :
> I have created a module in which i am trying to create file.
http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedde
M ? Is it safe for a block driver to blindly use
rq->buffer without knowing if the bio's page is in HIGHMEM or not ?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To un
> affect builds if not assigned to the present variables?
This question is not related to the Linux kernel. Please ask on a more
appropriate list.
(But anyway, you probably want to read the documentation of make,
automake and autoconf to get some informations).
Sincerly,
Thomas
--
Thom
ges the task state to
TASK_INTERRUPTIBLE or TASK_UNINTERRUPTIBLE: the scheduler will not wake
up until another task or interrupt explicitly wakes you up using
wake_up().
For more details, read page 13 and following of
http://lwn.net/images/pdf/LDD3/ch06.pdf.
Sincerly,
Thomas
--
Thomas Peta
glists/>).
However, be prepared to be ask to test with a more recent kernel.
Kernel developers don't like to debug already fixed bugs.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To
the stack that
is being used.
Does that clarify your question ?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies
Cos and Linux architectures I guess are
> quite different ?
Don't know about uCos, so I can't tell. Anyway you also need to make
sure that the license of your uCos drivers is GPLv2, another
compatible license, or that you are the author of these drivers and
that you can re-license them under
y by the end of the month.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PRO
vid Woodhouse (that you Cc'ed) will certainly
answer your question. You probably should have Cc'ed the
[EMAIL PROTECTED] list as well.
Hope this helps,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free
.pdf
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Ple
lude/linux/init_task.h#L151 for the
definition of this very special task.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email with
&quo
Le Thu, 31 Jul 2008 13:23:18 +0200,
Hinko Kocevar <[EMAIL PROTECTED]> a écrit :
> I would like my kernel to create /dev/console device entry if one is
> not present on root filesystem.
Looks odd that you need something like this. Why not using an initramfs
instead ?
Sincerly,
Thoma
source code comment really,
> could perhaps still be useful.
Wikipedia has a page about this,
<http://en.wikipedia.org/wiki/Cache_coloring>. Fairly limited, though.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training a
serspace program, so your question probably doesn't
belong on kernelnewbies. Moreover, this question is too specific and
would probably be more relevant on pfmon's mailing list.
See <http://www.hpl.hp.com/research/linux/perfmon/mail.php4>
Sincerly,
Thomas
--
Thomas Petazzoni, Free El
mley's article has more detail about DMA,
<http://www.linuxjournal.com/node/7104/print>.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send an email wi
e
BIO_RW_BARRIER flag set in the bi_rw field of the bio structure.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
signature.asc
Description: PGP signature
ef, have been inspired by the training materials of
Free-Electrons (http://www.free-electrons.com), freely available under
the Creative Commons BY-SA license (http://free-electrons.com/training).
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
co
res.
The stack address that you see is a virtual address, as are all the
addresses that you can see in /proc/[pid]/maps.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
signature.asc
Description: PGP signature
p.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
signature.asc
Description: PGP signature
etup.bin
OBJCOPY arch/x86/boot/compressed/vmlinux.bin
GZIParch/x86/boot/compressed/vmlinux.bin.gz
LD arch/x86/boot/compressed/piggy.o
LD arch/x86/boot/compressed/vmlinux
OBJCOPY arch/x86/boot/vmlinux.bin
BUILD arch/x86/boot/bzImage
Sincerly,
Thomas
--
Thomas Petaz
exactly caused
> kernel to panic ?
Yes. See Documentation/oops-tracing.txt for an introduction.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
signature.asc
Description: PGP signature
d a good thing anymore: tell us about what
your entry is, and we can tell you where to put it.
For debugging entries for example, you should use debugfs, which is
specifically designed for that and much easier to use.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embed
network stack at
http://www.cs.clemson.edu/~westall/853/notes/. It may not be completely
uptodate, but at least gives the general idea.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
signature.asc
Description: PGP signature
ollowing
line is executed:
2145 module_free(mod, mod->module_init);
Which frees the init code and data.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
signature.asc
Description: PGP signature
Le Sat, 15 Mar 2008 17:27:30 +0530,
"Pranav Peshwe" <[EMAIL PROTECTED]> a écrit :
> Suggestions gladly welcome.
Report the bug to [EMAIL PROTECTED]
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/train
y the latest 2.6.25-rc, and see if the
problem still exists.
With that information, report a bug to [EMAIL PROTECTED],
mentionning the kernel versions with which your machine is working, the
kernel versions with which it doesn't work, the model of your
motherboard and the kernel configuration
it should not be
marked __initdata.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
signature.asc
Description: PGP signature
Le Tue, 19 Feb 2008 09:06:56 +0100,
Thomas Petazzoni <[EMAIL PROTECTED]> a écrit :
> It's a program, it's a kernel module.
Of course, read:
« It's *NOT* a program, it's a kernel module »
Sorry for the confusion,
Thomas
--
Thomas Petazzoni, Free Electrons
d "program", I suspect that you didn't
use the proper compilation mechanism for kernel modules. See
http://lxr.free-electrons.com/source/Documentation/kbuild/modules.txt).
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-e
nel.
> 4881d000-4896b000 r-xp 03:02 7040012/lib/libc-2.6.so
> 4896b000-4896d000 r--p 0014e000 03:02 7040012/lib/libc-2.6.so
> 4896d000-4896e000 rw-p 0015 03:02 7040012/lib/libc-2.6.so
Code region, read-only data region, writable data region. Again, see
"reade
n "udevmonitor --env" before loading your kernel
module, and watch the events.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
signature.asc
Description: PGP signature
st (which as stated by the
MAINTAINERS file, is the mailing list of choice for discussions about
the SATA subsystem).
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
signature.asc
Description: PGP signature
n the already existing handler for the same IRQ
must also accept to be shared. It also checks that the trigger flags
are the same for all handlers sharing the same IRQ line, but doesn't
check the IRQF_DISABLED flag.
Maybe you could raise attention on this issue on the LKML by sending a
p
reated
manually, or are created automatically by udev [1]. Instead of trying
to mess up with device files in the kernel, you should probably
configure udev instead.
Sincerly,
Thomas
[1] http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
--
Thomas Petazzoni, Free Electrons
Free Embedd
in the directory of module A. Then you must copy it to the
directory of module B, and then compile module B.
See
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=040fcc819a2e7783a570f4bdcdd1f2a7f5f06837
for more informations.
Sincerly,
Thomas
--
Thomas Pet
g addressed might not be currently present in memory,
and the virtual memory sub- system can put the process to sleep while
the page is being transferred into place. This happens, for example,
when the page must be retrieved from swap space.
»
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free
trons.com/source/Documentation/kbuild/modules.txt#442
for more informations.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
signature.asc
Description: PGP signature
tack has a fixed size, of either 8 Kb or 4 Kb on x86.
Of course, kernel threads only have a kernel stack, they don't need a
user stack.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
signature.asc
Description: PGP signature
is it require to change ifdef CONFIG_DEVFS_FS to
> CONFIG_UDEV ???
Without seeing the code, it's fairly impossible to answer your
question. The answer is probably "no", because the API has probably
changed, but we can't tell without looking at the source.
Can you post a
ess.
Look at the code of lookup_address() :
034 if (pmd_large(*pmd))
035 return (pte_t *)pmd;
Note that I'm not sure, it's just a quick idea.
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED]
Free Electrons
http://free-electrons.com
signature.asc
Description: PGP signature
You can learn
more about it at http://www.procode.org/kmemleak/ and
http://lwn.net/Articles/187979/.
However, by reading lib/Kconfig.debug, I just discovered the
CONFIG_SLAB_LEAK option, which seems to indicate that there is some
sort of leak detector for the slab allocator, but I've never tried it.
Sinc
is intelligent enough to check and free those memory
> buffers during unload of the module ?
No, there isn't such a mechanism in the Linux kernel.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More
es, how to interpret it?
Take the Intel Developer manual, volume 1 (available at
http://www.intel.com/products/processor/manuals/), page 78. It
describes the contents of the EFLAGS register.
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)
signature.asc
Description: PGP signature
s of the second page, but
just some random part of the mem_map[] array.
I'd say you're making a confusion between struct page addresses and the
page address itself. Use page_address() to convert a struct page
address to the real page virtual address.
Sincerly,
Thomas
--
Thomas Petazzoni, [E
ory for the first 896 MB of RAM. Accessing the address (x +
PAGE_OFFSET) will in fact access physical address x.
For more information about Linux Virtual Memory management:
www.informit.com/content/images/0131453483/downloads/gorman_book.pdf
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECT
e center. Because the disk rotation
speed is constant, and the information density is constant, the raw
performance of the disk is not the same for all cylinders. The
performance degradation can be up to 50% when comparing performances at
the beginning of the disk and at the end of the disk.
Sin
kernel_lock.c is used).
And CONFIG_LOCK_KERNEL is defined in init/Kconfig as follows:
config LOCK_KERNEL
bool
depends on SMP || PREEMPT
default y
So it's true if you are on SMP *or* if you are using full-preemption
(PREEMPT).
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL P
tion is
empty.
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
signature.asc
Description: PGP signature
dy was using u.generic_ip, but nobody added more
fields to the union, so the union was useless. It's basically a
cleanup. Something kernel hackers can do because the Linux kernel
internal interface is not stable:
http://lxr.free-electrons.com/source/Documentation/stable_api_nonsense.txt.
Sincerly,
Le Mon, 24 Dec 2007 15:42:05 +0100,
"K.Choromanski" <[EMAIL PROTECTED]> a écrit :
> I try to use sys-open in the kernel space and
http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix
n with). Do not hesitate to ask more
specific questions on the list.
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
signature.asc
Description: PGP signature
ernel code is
accessing shared data structures. So with full preemption, some kind of
locking mechanism is used: lock_kernel().
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
ly headers are needed.
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
signature.asc
Description: PGP signature
If it doesn't, then your kernel
headers/sources are not properly installed, or your kernel
installation/packaging process is broken.
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fin
again, which
means that it will look for a new log level.
It explains the behaviour you are seing in your test.
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
signature.asc
Description: PGP signature
et/images/pdf/LDD3/ch06.pdf,
section « Introduction to Sleeping », page 14 of the PDF, page 148 of
the book. It explains how wait queues work.
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.apr
drop-in replacement for SLAB, usable in all situations,
with performances at least equal to the ones of SLAB, but with a better
scalability.
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
mean?
> i tried to google but haven't found any clear hint.
I'd say that it happens if you called enable_irq() two times without
calling disable_irq() in-between.
What kernel version are you using ?
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber,
er you think which is good for newbie) to share with me ?
http://lwn.net/Kernel/LDD3/, chapter 2.
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D
all. So a mapping must be set up
first. This is the role of the ioremap function, introduced in the
section “vmalloc and Friends” in Chapter 1. The function is designed
specifically to assign virtual addresses to I/O memory regions.
»
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], htt
Le Thu, 6 Dec 2007 16:18:24 +0530,
"Sandeep K Sinha" <[EMAIL PROTECTED]> a écrit :
> Am I logically wrong somewhere ??
Yes, you should not open files from the kernel:
http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad
Thomas
--
Thomas Petazzoni, [EMA
y).
It can be a driver problem, but as you haven't posted your code source,
nobody is able to tell. Are you doing the correct things at module
exit ?
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APR
ectly to pointers pointing to userspace part of the address
space, but rather use the copy_from_user(), copy_to_user() functions or
one of their variants.
Thomas
[1] http://www.kernel.org/pub/software/devel/sparse/
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTE
on't have the src code of kernel
> modules, i've become panic. I am using PPC arch m/c with 2.6.14.7
> kernel.
It's normal. The modules must be re-compiled. For example, if you
activate certain kernel-hacking options, things such as spinlock macros
change a lot.
Sincerly,
T
> me some documents about this?
Have a look at the comment before try_to_unmap_cluster(), it explains
what cursor is.
http://lxr.free-electrons.com/source/mm/rmap.c#745
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, htt
oduction article:
http://lwn.net/Articles/24468/
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
--
To unsubscribe f
t you to read Documentation/kbuild/modules.txt completely to
get a better idea of how external modules work.
Sincerly,
Thomas
--
Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org
Jabber, [EMAIL PROTECTED]
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3
e thing as "hard_nr_sectors", but only for the current bio being
handled.
Of course, it would be nice if a block device expert could confirm or
infirm these informations.
Sincerly,
Thomas
--
PETAZZONI Thomas - [EMAIL PROTECTED]
http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED
1 - 100 of 151 matches
Mail list logo