On Tue, 12 Jul 2005, Mateusz Berezecki wrote:
Hi LKML,
What does the message saying "scheduling while atomic" mean?
The kernel prints a stack backtrace after this message appears so I
suppose this is
not a good behaviour. I am finishing an open source driver, and I need
to do all of this
locki
On Tue, 12 Jul 2005, Jan Engelhardt wrote:
Hi,
Vojtech Pavlik @ Tue, 12 Jul 2005 14:10:08 +0200 wrote:
(http://lkml.org/lkml/2005/7/12/122)
On Mon, Jul 11, 2005 at 05:38:05PM -0700, George Anzinger wrote:
HZ TICK RATE jiffie(ns) second(ns) error (ppbillion)
100 11
On Tue, 12 Jul 2005, Mark Williams (MWP) wrote:
Greetings all,
First, im using 2.6.12 with version 3.1 of module-install-utils and GCC 4.0.1.
I simply cannot get kernel modules to install.
Building the kernel and modules works perfecty, no errors.
But on running "make modules_install" i get:
On Tue, 12 Jul 2005, Patrick McHardy wrote:
Denis Vlasenko wrote:
text with 8-char tabs:
struct s {
int n; /* comment */
unsigned int u; /* comment */
};
Same text viewed with tabs set to 4-char width:
struct s {
int n; /* comment */
unsigned int u; /* c
Please read:
http://www.adapti.com/instruction-trace.html
It's part of an advertisement, but will tell you the problems
you will have with a "software solution". Basically, software
can't do it. Also, even hardware won't give you the real
picture because there is too much going on inside the CPU
On Fri, 8 Jul 2005, Denis Vlasenko wrote:
The problem is, I can't see what is causing this misconfiguration
or whatever. I wasn't able to capture such a packet so far either --
it never happened while tcpdump was running.
You may try to add printk("bad boy is: %s\n", current()->comm)),
or dum
On Thu, 7 Jul 2005, Jens Axboe wrote:
On Thu, Jul 07 2005, Richard B. Johnson wrote:
On Thu, 7 Jul 2005, raja wrote:
hi,
Is there any way to get the function address by only knowing the
function Name
thanking you,
-
printf("%p\n", function()); // User code
pr
On Thu, 7 Jul 2005, raja wrote:
hi,
Is there any way to get the function address by only knowing the
function Name
thanking you,
-
printf("%p\n", function()); // User code
printk("%p\n", function()); // Kernel code
This gives you the offset in virtual address-space. Ins
On Thu, 7 Jul 2005, Michael Tokarev wrote:
Richard B. Johnson wrote:
On Wed, 6 Jul 2005, Michael Tokarev wrote:
kernel: 192.168.4.2 sent an invalid ICMP type 11, code 0 error to a
broadcast: 0.0.0.0 on lo
[]
All the IP addresses mentioned are local to this box.
[]
Are you sure `lo` is
On Wed, 6 Jul 2005, Alexey Dobriyan wrote:
On Wednesday 06 July 2005 13:26, Rob Prowel wrote:
When kernel headers are included in compilation of c++
programs the compile fails because some header files
use "new" in a way that is illegal for c++. This
shows up when compiling mySQL under linux 2
On Wed, 6 Jul 2005, Michael Tokarev wrote:
On our gateway machine, wich is running 2.6 kernel, I'm seeing quite
several messages like this:
kernel: 192.168.4.2 sent an invalid ICMP type 11, code 0 error to a broadcast:
0.0.0.0 on lo
last message repeated 3 times
kernel: 192.168.4.2 sent an inv
On Tue, 5 Jul 2005, Karel Kulhavy wrote:
man send(2):
" ENOBUFS
The output queue for a network interface was full. This
gener- ally indicates that the interface has stopped sending, but may
be caused by transient congestion. (Normally, this does not occur
On Tue, 5 Jul 2005, Karel Kulhavy wrote:
Hello
I have written a software to test connected optical datalink in loopback
mode which works by sending a burst of e. g. 1024 raw Ethernet frames
directly to that interface, then waiting a little bit, and counting from
ifconfig how many were received.
On Sun, 3 Jul 2005, Michal Jaegermann wrote:
It dawned on me only now that a "new driver model" introduced
in patches from GKH export symbols like that:
EXPORT_SYMBOL_GPL(class_create);
EXPORT_SYMBOL_GPL(class_destroy);
and so on. The problem is that corresponding old symbols, which
are still
On Wed, 20 Apr 2005, Francesco Oppedisano wrote:
Hi,
i'd like to know how much time does linux kernel run with disabled
interrupts. So i would like to remap the instructions capable of
disabling interrupt to other ones which count how much this time is...
Does already exist a patch or tool capable
On Tue, 19 Apr 2005, Chris Friesen wrote:
Richard B. Johnson wrote:
No. Accompany it with a written offer to __provide__ the source
code for any GPL stuff they used (like the kernel or drivers).
Anything at the application-level is NOT covered by the GPL.
They do not have to give away their trade
On Tue, 19 Apr 2005, Chris Friesen wrote:
Richard B. Johnson wrote:
Violation? They proudly reply in their article in
http://www.linuxdevices.com
that they use Linux, that they embedded a version
of Red Hat, etc.
It's likely that they didn't modify anything in the kernel and
just
Violation? They proudly reply in their article in
http://www.linuxdevices.com
that they use Linux, that they embedded a version
of Red Hat, etc.
It's likely that they didn't modify anything in the kernel and
just used some stripped-down C-libraries to make everything fit.
On Tue, 19 Apr 200
On Fri, 15 Apr 2005, Daniel Souza wrote:
On 4/15/05, Arjan van de Ven <[EMAIL PROTECTED]> wrote:
On Fri, 2005-04-15 at 13:10 -0700, Daniel Souza wrote:
You're welcome, Igor. I needed to intercept syscalls in a little
project that I were implementing, to keep track of filesystem changes,
I assume yo
On Fri, 15 Apr 2005, Allison wrote:
Hi,
I was curious about how kernel rootkits become a part of the kernel ?
One way I guess is by inserting a kernel module. And rootkits also
manage to hide themselves from rootkit detectors.
I'm not sure there really are any "kernel" rootkits. You need to be
roo
On Thu, 14 Apr 2005, sauro wrote:
Greetings.
I am using a 2.4 Linux workstation in text mode (no graphic interface).
After some time, Linux activates the "screensaver" and the monitor goes blank
on "stand by" mode until activity is detected from the mouse or keyboard.
Is it possible to disable th
On Wed, 13 Apr 2005, Theodore Ts'o wrote:
On Wed, Apr 13, 2005 at 08:40:05AM -0400, Richard B. Johnson wrote:
The kernel does NOT have to copy data from user-space before
using it.
Incorrect. It must, or the kernel code in question is by definition
buggy.
What? Explain why a memory-mapped b
On Wed, 13 Apr 2005, Dave Jones wrote:
On Wed, Apr 13, 2005 at 06:55:00PM +0930, Yuri Vilmanis wrote:
> The case in point for me is ATI's binary openGL accelerated drivers (fglrx) -
> these used inter_module_get() to communicate with the agp gart module, for
> obvious reasons - this AGP communicati
On Wed, 13 Apr 2005, Hacksaw wrote:
Why not use it directly
Some of these reasons are:
It seems like you gave reason why userland pointers shouldn't be trusted,
not
why userland data should be copied into kernel land. All the problems you
mentioned would have to be solved by the kernel regardless
On Mon, 11 Apr 2005, Petr Baudis wrote:
Dear diary, on Tue, Apr 12, 2005 at 12:40:21AM CEST, I got a letter
where Pedro Larroy <[EMAIL PROTECTED]> told me that...
Hi
Hello,
I had a quick look at the source of GIT tonight, I'd like to warn you
about the use of hash functions as content indexers.
As
On Mon, 11 Apr 2005, H. Peter Anvin wrote:
[EMAIL PROTECTED] wrote:
Hi Riley, Dave, Peter, i386 boot/workaround maintainers,
I'm resending this patch (from March 28).
This patch incorporates the suggestions from the previous thread and also
switches to using pci_get_device since pci_find_device is
It wasn't the kernel.
Many thanks to those who helped me track down this problem.
It seems that the 'C' runtime library was trapping the call
to reboot() which probably should have been _reboot() in
earlier code to prevent this. Anyway, the fix is to call
the kernel directly so it doesn't get blame
On Fri, 8 Apr 2005, Daniel Jacobowitz wrote:
On Thu, Apr 07, 2005 at 04:50:32PM -0400, Richard B. Johnson wrote:
On Thu, 7 Apr 2005, Jan Harkes wrote:
On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote:
In the not-too distant past, one could disable Ctl-Alt-DEL.
Can't do it an
On Thu, 7 Apr 2005, Jan Harkes wrote:
On Thu, Apr 07, 2005 at 11:16:14AM -0400, Richard B. Johnson wrote:
In the not-too distant past, one could disable Ctl-Alt-DEL.
Can't do it anymore.
...
Observe that reboot() returns 0 and `strace` understands what
parameters were passed. The result is
On Thu, 7 Apr 2005, Randy.Dunlap wrote:
On Thu, 7 Apr 2005 15:46:20 -0400 (EDT) Richard B. Johnson wrote:
| On Thu, 7 Apr 2005, Randy.Dunlap wrote:
|
| > On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote:
| >
| > |
| > | In the not-too distant past, one could disable
On Thu, 7 Apr 2005, Randy.Dunlap wrote:
On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote:
|
| In the not-too distant past, one could disable Ctl-Alt-DEL.
| Can't do it anymore.
What should disabling C_A_D do?
| Script started on Thu 07 Apr 2005 10:58:11 AM EDT
| [SNIPPED le
On Thu, 7 Apr 2005, Randy.Dunlap wrote:
On Thu, 7 Apr 2005 10:23:32 +0200 Magnus Damm wrote:
| On Apr 7, 2005 4:23 AM, Roland Dreier <[EMAIL PROTECTED]> wrote:
| > > > -#define module_init(x) __initcall(x);
| > > > +#define module_init(x) __initcall(x); __module_init_disable(x);
| > >
| > > It
On Thu, 7 Apr 2005, Dave Jones wrote:
On Thu, Apr 07, 2005 at 07:47:41AM -0700, Linus Torvalds wrote:
> So the sysenter sequence might as well look like
>
>pushl $(__USER_DS)
>pushl %ebp
>sti
>pushfl
>..
>
> which actually does three protected pushes thanks to the one-instructio
In the not-too distant past, one could disable Ctl-Alt-DEL.
Can't do it anymore.
Script started on Thu 07 Apr 2005 10:58:11 AM EDT
[SNIPPED leading stuff...]
mprotect(0xb7fe4000, 28672, PROT_READ|PROT_EXEC) = 0
brk(0) = 0x804a000
brk(0x8053000)
On Thu, 7 Apr 2005, Humberto Massa wrote:
David Schmitt wrote:
On Thursday 07 April 2005 09:25, Jes Sorensen wrote:
[snip] I got it from Alteon under a written agreement stating I
could distribute the image under the GPL. Since the firmware is
simply data to Linux, hence keeping it under the GPL s
On Wed, 6 Apr 2005, Catalin Marinas wrote:
Bas Vermeulen <[EMAIL PROTECTED]> wrote:
I am currently working on the bfinnommu linux port for the BlackFin 533.
I need to grab the top 1 MB of memory so I can give it out to drivers
that need non-cached memory for DMA operations.
I did this long time ago
Attached is inline ix86 memcpy() plus test code that tests its
corner-cases. The in-line code makes no jumps, but uses longword
copies, word copies and any spare byte copy. It works at all
offsets, doesn't require alignment but would work fastest if
both source and destination were longword aligned
On Tue, 5 Apr 2005, Julien Wajsberg wrote:
On Apr 5, 2005 4:10 PM, Richard B. Johnson <[EMAIL PROTECTED]> wrote:
On Tue, 5 Apr 2005, Julien Wajsberg wrote:
On Mar 26, 2005 12:59 AM, Julien Wajsberg <[EMAIL PROTECTED]> wrote:
I own an Asus A8N-Sli motherboard with the Nforce4-Sli ch
On Tue, 5 Apr 2005, Josselin Mouette wrote:
Le mardi 05 avril 2005 ÿÿ 11:50 -0400, Richard B. Johnson a ÿÿcrit :
You are mixing apples and oranges. The fact that the GFDL sucks has
nothing to do with the firmware issue. With the current situation of
firmwares in the kernel, it is illegal to
On Tue, 5 Apr 2005, Steven Rostedt wrote:
On Tue, 2005-04-05 at 10:38 -0400, Richard B. Johnson wrote:
On Tue, 5 Apr 2005, John M Flinchbaugh wrote:
I got the debug statement below during boot.
Environment:
Pentium M, Thinkpad R40
Debian unstable
Linux 2.6.12-rc2
Gnu C 3.3.5
On Tue, 5 Apr 2005, Humberto Massa wrote:
Josselin Mouette wrote:
You are mixing apples and oranges. The fact that the GFDL sucks has
nothing to do with the firmware issue. With the current situation of
firmwares in the kernel, it is illegal to redistribute binary images of
the kernel. Full stop. E
On Tue, 5 Apr 2005, John M Flinchbaugh wrote:
I got the debug statement below during boot.
Environment:
Pentium M, Thinkpad R40
Debian unstable
Linux 2.6.12-rc2
Gnu C 3.3.5
binutils 2.15
Debug: sleeping function called from invalid context at mm/slab.c:2090
in_atomic():1, irqs_disabl
On Tue, 5 Apr 2005, Julien Wajsberg wrote:
On Mar 26, 2005 12:59 AM, Julien Wajsberg <[EMAIL PROTECTED]> wrote:
I own an Asus A8N-Sli motherboard with the Nforce4-Sli chipset, and I
experiment the following problem :
Mar 25 22:42:55 evenflow kernel: hda: dma_timer_expiry: dma status == 0x60
Mar 25
On Mon, 4 Apr 2005, Kyle Moffett wrote:
On Apr 04, 2005, at 17:25, Richard B. Johnson wrote:
I don't find stdint.h in the kernel source (up to 2.6.11). Is this
going to be a new addition?
Uhh, no. stdint.h is part of glibc, not the kernel.
It would be very helpful to start using the
On Mon, 4 Apr 2005, Al Viro wrote:
On Mon, Apr 04, 2005 at 10:30:52PM +0200, Renate Meijer wrote:
When used improperly. The #define Al Viro objected to, is
objectionable. It's highly
misleading, as Mr. Viro pointed out. I fail to see where he made
comments on stdint.h
as such.
Comments on stdint.h
On Mon, 4 Apr 2005, Matthew Dharm wrote:
This probably is a silly question, but
Is is possible to open a file, mmap() it into memory, then pass the address
of that map via an ioctl() call to the kernel, which will copy_from_user()
that data?
Yes. A user-mode pointer, passed via ioctl() is valid
On Mon, 4 Apr 2005, David Vrabel wrote:
James Bottomley wrote:
so can you provide an example of a BE bus (or device) used on a LE
platform that would actually benefit from this abstraction?
The Network Processing Engines in the Intel IXP425 are big-endian and
its XScale core may be run in little-en
On Fri, 1 Apr 2005, Steven Rostedt wrote:
On Fri, 2005-04-01 at 16:18 -0500, Steven Rostedt wrote:
On Fri, 2005-04-01 at 12:46 -0800, Matt Mackall wrote:
On Fri, Apr 01, 2005 at 12:26:41PM -0800, Andrew Morton wrote:
Matt Mackall <[EMAIL PROTECTED]> wrote:
This patch tidies up those annoying kernel
On Thu, 31 Mar 2005, Nick Piggin wrote:
linux-os wrote:
For those interested, some file-system tests and a test-tools
are attached.
I'll give it a run when I get a chance. Thanks.
In the meantime, can you try with different io schedulers?
I was trying to emulate some old servers that had new
kernel
On Fri, 1 Apr 2005, Dmitry Torokhov wrote:
On Apr 1, 2005 10:16 AM, Richard B. Johnson <[EMAIL PROTECTED]> wrote:
On Fri, 1 Apr 2005, Renate Meijer wrote:
On Apr 1, 2005, at 3:09 PM, linux-os wrote:
[PATCH snipped]
Cruel joke. Now 80 percent of the Intel clones won't boot.
Those are th
On Fri, 1 Apr 2005, [iso-8859-1] Måns Rullgård wrote:
linux-os <[EMAIL PROTECTED]> writes:
[PATCH snipped]
Cruel joke. Now 80 percent of the Intel clones won't boot.
Those are the ones that run industry, you know, the stuff that
is necessary to earn money.
For now, yes. Hopefully it will change so
On Fri, 1 Apr 2005, Renate Meijer wrote:
On Apr 1, 2005, at 3:09 PM, linux-os wrote:
[PATCH snipped]
Cruel joke. Now 80 percent of the Intel clones won't boot.
Those are the ones that run industry, you know, the stuff that
is necessary to earn money.
Without i386 support, you don't have any embedde
On Fri, 20 Jul 2001, David CM Weber wrote:
> Attached is the file I"m having problems with. I'm compiling it w/
>
> gcc -O3 -c main.c
>
> Thanks in advance,
>
>
> Dave Weber
> Backbone Security, Inc.
> 570-422-7900
>
Top line:
#define __KERNEL__
... compiles without any errors, one warn
On Fri, 20 Jul 2001, Dipak Biswas wrote:
> Hi All,
> I'm quite new to linux world. I've a very awkard question for you.
> That is: I'm writting an user process, where I need all outgoing
> IP packets to be blocked and captured. First, is it really possible? If
> yes, how? I don't want to make
On Fri, 6 Jul 2001, Tracy R Reed wrote:
> On Sun, Jul 01, 2001 at 04:53:25PM -0700, Ben Ford wrote:
> > I seem to recall that MS products cannot be used in aircraft control
> > rooms for this reason.
>
> Your statement above is not necessarily true. By control rooms do you mean
> control towers
On Fri, 6 Jul 2001, Chris Friesen wrote:
> The beginning of mdio_read() in tulip.c goes like this:
>
> static int mdio_read(struct device *dev, int phy_id, int location)
> {
> struct tulip_private *tp = (struct tulip_private *)dev->priv;
> int i;
> int read_cmd = (0xf6 << 10) |
On Fri, 6 Jul 2001, Chris Friesen wrote:
> "Richard B. Johnson" wrote:
> >
> > On Fri, 6 Jul 2001, Chris Friesen wrote:
> >
> > > I am using the following snippet of code to find out some information about the
> > > MII PHY interface of my ether
On Fri, 6 Jul 2001, Chris Friesen wrote:
>
> I am using the following snippet of code to find out some information about the
> MII PHY interface of my ethernet device (which uses the tulip driver). When I
> did some timing measurements with gettimeofday() I found that the ioctl call
> takes a b
On Fri, 6 Jul 2001, Gregory (Grisha) Trubetskoy wrote:
>
> sorry this may be OT:
>
> I wrote a little brogram to read/write the CMOS settings to a file on an
> Intel L440GX motherboard using the outb() to ports 0x70 and 0x71. The idea
> is to save the BIOS settings I like and then be able to bl
On Thu, 5 Jul 2001 [EMAIL PROTECTED] wrote:
> In Linux PPC, the MSR[FP] bit (that is floating point available bit) is off
> (atleast for non-SMP).
>
Yes, so the first FP instruction per process lets "lazy FPU" save/restore
work.
> Due to this, whenever some floating point instruction is execu
On Thu, 5 Jul 2001, Christophe Beaumont wrote:
>
>
> > On Thu, 5 Jul 2001, Vasu Varma P V wrote:
> >
> > > Hi,
> > >
> > > Is there any limitation on DMA memory we can allocate using
> > > kmalloc(size, GFP_DMA)? I am not able to acquire more than
> > > 14MB of the mem using this on my PCI SM
On Thu, 5 Jul 2001, Vasu Varma P V wrote:
> Hi,
>
> Is there any limitation on DMA memory we can allocate using
> kmalloc(size, GFP_DMA)? I am not able to acquire more than
> 14MB of the mem using this on my PCI SMP box with 256MB ram.
> I think there is restriction on ISA boards of 16MB.
> Can
I have been trying to get the following to work:
atomic_t stop;
struct wait_queue wait_queue_stuff, another_wait_queue;
/* Initialized before use with init_wait_queue() */
kernel_thread()
{
for(;;)
{
if(atomic_read(stop))
interruptible_sleep_on(&wait_queue_stuff);
On Tue, 3 Jul 2001, [iso-8859-1] Guillaume Lancelin wrote:
> Writing a device driver for a IO card, I have the following message from
> the kernel:
> Unable to handle kernel paging request at virtual address 000d0804.
> [then it gives the register values]
> Segmentation fault."
>
> This address
I need to stop a kernel thread at a certain place in the
driver code. The task that stopped it needs to know that it's
stopped, i.e., needs to wait until it's sleeping.
Later on, I need to start it. So, I thought that a
semaphore would work. It works the first time, but
not after that. In other
On Mon, 2 Jul 2001 [EMAIL PROTECTED] wrote:
> Hi!
>
> I'm running RedHat 7.0 with all official RH patches applied. The kernel I
> currently run fow a few days is 2.2.19-7.0.8
> I run the pre-compiled kernel of RH. Suddenly I the following messages:
>
> Jul 2 15:12:16 gateway SERVER[1240]: Disp
On Thu, 28 Jun 2001, Michael J Clark wrote:
> Any ideas on hot to easily call an outside program from the kernel (like
> system(), exec()) Is this possible? Thanks
>
> Mike
> -
Look through the drivers and check upon "kernel_thread()". This shares
the process context of 'init' so you can
On Thu, 28 Jun 2001, sebastien person wrote:
> Hi,
>
> I have compiled a 2.4 kernel (I was on 2.2) and it seems that everything
> went well.
Did you install the new kernel?
> But when I tried uname -rs I found a 2.2 kernel ? Is it possible
> that the 2.4 kernel run and that uname -rs result is
I just got a bunch of messages from vger.kernel.org, sent to
[EMAIL PROTECTED], claiming a "local configuration error"
and some kind of a loop.
There is no configuration that has changed on that machine for
at least two years although our firewall got updated last week
to fix the ECN bug.
I che
On Mon, 25 Jun 2001, Timur Tabi wrote:
> ** Reply to message from James Lamanna <[EMAIL PROTECTED]> on Sat, 23
> Jun 2001 22:10:58 -0700
>
>
> > It would be nice to have it working under 2.4, so is there someplace
> > that outlines some of the major things that would have changed so I can
> > u
On Sun, 24 Jun 2001, Keith Owens wrote:
> On Sat, 23 Jun 2001 21:56:06 -0400 (EDT),
> "Richard B. Johnson" <[EMAIL PROTECTED]> wrote:
> >FYI, structures are designed to be accessed only by their member-names.
> >Therefore, the compiler is free to put members
On Sat, 23 Jun 2001, Der Herr Hofrat wrote:
>
> Hi !
>
> can someone explain to me whats happening here ?
>
> --simple.c--
> #include
> #include
>
> struct { short x; long y; short z; }bad_struct;
> struct { long y; short x; short z; }good_struct;
>
[SNIPPED...]
> ---
On Sat, 23 Jun 2001, Wan Hing Wah wrote:
> I'm doing a project which port a component testing program in DOS which
> use GPIB to linux
> Does the Linux kernel support GPIB?
>
>
> I find a linux gpib driver in the linux lab project
> http://www.llp.fu-berlin.de/
>
GPIB is terribly device-spec
On Fri, 22 Jun 2001, Alan Cox wrote:
> > I could not find any reference to BIOS int 0x15, function 0x87, block-
> > move, used to copy the kernel to above the 1 megabyte real-mode
> > boundary. I think this is still used.
>
> I dont think the kernel has ever used it. The path has always been to
On Fri, 22 Jun 2001, Schilling, Richard wrote:
>
> You've described a relatively complicated procedure well in this document.
> My only suggestion would be to reference the applicable source code files
> throughout the text, so that it's easy to find the associated code.
>
I could not find any
On Fri, 22 Jun 2001, Anders Larsen wrote:
> "Richard B. Johnson" wrote:
> >
> > QNX does not have any difference between user-space and kernel space.
> > It's not paged-virtual. It's just one big sheet of address space
> > with no memory protectio
On Thu, 21 Jun 2001, Pete Zaitcev wrote:
> > There is no such thing as a "user mode" interrupt service routine.
> > There never was one, and there will never be one on any machine
> > that fetches instructions from memory for execution. [...]
>
> If memory does not deceive me, SunLab Spring proc
On Thu, 21 Jun 2001, Abramo Bagnara wrote:
> Alan Cox wrote:
> >
> > > (i.e. counted). An alternative to queuing (user selectable) is to block
> > > interrupt generation at hardware level in kernel space immediately
> > > before notification.
> > >
> > > I'm missing something?
> >
> > IRQ 9 sha
On Thu, 21 Jun 2001, Randal, Phil wrote:
> Jonathan Morton wrote:
>
> > I should instead write 59 ±2°C, since that is the most precision
> > I can possibly know it to. With some advanced measuring techniques
> > it *may* be acceptable to write 59.43 ±2°C *at most*, and then only
> > if you real
On Tue, 19 Jun 2001, Timur Tabi wrote:
> ** Reply to message from "Petr Vandrovec" <[EMAIL PROTECTED]> on Tue, 19 Jun
> 2001 01:36:26 MET-1
>
>
> > No. Another CPU might increment value between LOCK INCL and
> > fetching v->counter. On ia32 architecture you are almost out of
> > luck. You can e
On Mon, 18 Jun 2001, Kelledin Tane wrote:
> At this point, I'm trying to get an initrd working properly. So far, it
> works, the system boots, etc. etc., but whenever I try to do a "blockdev
> --flushbufs /dev/ram0", I get "device or resource busy"
>
> When I mount the filesystem to check it ou
On Mon, 18 Jun 2001 [EMAIL PROTECTED] wrote:
> Hello,
>
> I've the following problem.
> If the peer has closed its socket connection the second write to this
> socket should return -1 and errno should be set to EPIPE (if SIGPIPE is
> set
> to be ignored). This never happens with my code. Why
On 16 Jun 2001, Bill Pringlemeir wrote:
>
> I have been looking at the emu10k1 driver and I had a few questions
> about general idioms used there.
>
> In a line like this,
>
> [main.c, line 175]
>
> for (count = 0; count < sizeof(card->digmix) / sizeof(card->digmix[0]);
>count++) {
>
On Fri, 15 Jun 2001, David Schwartz wrote:
>
> > Spinlocks are machine dependent. A simple increment of a byte
> > memory variable, spinning if it's not 1 will do fine. Decrementing
> > this variable will release the lock. A `lock` prefix is not necessary
>
On Fri, 15 Jun 2001, Ingo Oeser wrote:
> On Thu, Jun 14, 2001 at 05:05:07PM -0400, Richard B. Johnson wrote:
> > The problem is that a data acquisition board across the PCI bus
> > gives a data transfer rate of 10 to 11 megabytes per second
> > with a UP kernel, and the
On Thu, 14 Jun 2001, Roger Larsson wrote:
> On Thursday 14 June 2001 23:05, you wrote:
> > On Thu, 14 Jun 2001, Roger Larsson wrote:
> > > Hi,
> > >
> > > Wait a minute...
> > >
> > > Spinlocks on a embedded system? Is it _really_ SMP?
> >
> > The embedded system is not SMP. However, there is def
On Thu, 14 Jun 2001, Roger Larsson wrote:
> Hi,
>
> Wait a minute...
>
> Spinlocks on a embedded system? Is it _really_ SMP?
>
The embedded system is not SMP. However, there is definite
advantage to using an unmodified kernel that may/may-not
have been compiled for SMP. Of course spin-locks ar
I __finally__ got back on "the list". They finally fixed the
company firewall!
During my absence, I had the chance to look at some SMP code
because of a performance problem (a few microseconds out of
spec on a 130 MHz embedded system) and I have a question about
the current spin-locks.
Spin-lo
On Fri, 18 May 2001, sebastien person wrote:
> Le Fri, 18 May 2001 08:32:33 -0400 (EDT)
> Bart Trojanowski <[EMAIL PROTECTED]> a ecrit :
>
> > On Fri, 18 May 2001, sebastien person wrote:
> >
> > > I have a network module that need to regularly get data from network
> > > adaptater.
> > > But I
On 17 May 2001, H. Peter Anvin wrote:
> Followup to: <[EMAIL PROTECTED]>
> By author:Tim Hockin <[EMAIL PROTECTED]>
> In newsgroup: linux.dev.kernel
> >
> > The aic7xxx assembler requiring libdb1 is a bungle. Getting the headers
> > for that right on various distros is not easy. Add to th
Hello;
I downloaded linux-2.4.4. The basic kernel compiles but the aic7xxx
SCSI module that I require on some machines, doesn't.
[SNIPPED `make modules`]
make -C scsi modules
make[2]: Entering directory `/usr/src/linux-2.4.4/drivers/scsi'
ld -m elf_i386 -r -o scsi_mod.o scsi.o hosts.o scsi_i
On Wed, 16 May 2001, Massimo Dal Zotto wrote:
> Hi,
>
> I have recently upgraded the kernel from 2.2.19 to 2.4.4 and discovered
> that it assigns the /dev/sd... devices in the wrong order with respect both
> to the behavior of kernel 2.2.19 and to the `scsihosts' boot option which I
> specified
I lifted the following kernel-thread code from
../linux/drivers/net/8139too.c, just added a procedure to call.
static int gpib_thread(void *unused)
{
unsigned long timeout;
daemonize();
spin_lock_irq(¤t->sigmask_lock);
sigemptyset(¤t->blocked);
recalc_sigpending(current);
On Thu, 10 May 2001, H. Peter Anvin wrote:
> [EMAIL PROTECTED] wrote:
> >
> > On 05/10/2001 at 05:38:32 PM [EMAIL PROTECTED] (H. Peter Anvin) wrote:
> >
> > >Sounds like someone has just clarified what the heck it means. "tty"
> > >and "typewriter" aren't exactly the same thing (even though "t
I noticed that my favorite "errno" has now gotten trashed by
the newer 'C' runtime libraries.
ENOTTY has been for ages, "Not a typewriter".
It's now been changed to "Inappropriate ioctl for device".
Methinks that this means that ../linux/include/asm/errno.h now needs
to be updated:
-#define
On Tue, 8 May 2001, Jens Axboe wrote:
> On Tue, May 08 2001, Richard B. Johnson wrote:
> > > Use a kernel thread? If you don't need to access user space, context
> > > switches are very cheap.
> > >
> > > > So, what am I supposed to do to add a p
On Tue, 8 May 2001, george anzinger wrote:
> "Richard B. Johnson" wrote:
> >
> > To driver wizards:
> >
> > I have a driver which needs to wait for some hardware.
> > Basically, it needs to have some code added to the run-queue
> > so it can ge
On Tue, 8 May 2001, Alan Cox wrote:
> > I have a driver which needs to wait for some hardware.
> > Basically, it needs to have some code added to the run-queue
> > so it can get some CPU time even though it's not being called.
>
> Wht does it have to wait ? Why cant it just poll and come back ne
On Tue, 8 May 2001, Jens Axboe wrote:
> On Tue, May 08 2001, Richard B. Johnson wrote:
> >
> > To driver wizards:
> >
> > I have a driver which needs to wait for some hardware.
> > Basically, it needs to have some code added to the run-queue
> > so it can
To driver wizards:
I have a driver which needs to wait for some hardware.
Basically, it needs to have some code added to the run-queue
so it can get some CPU time even though it's not being called.
It needs to get some CPU time which can be "turned on" or
"turned off" as a result of an interrup
1 - 100 of 439 matches
Mail list logo