On Wed, 10 Jan 2007, Robert P. J. Day wrote:
> On Wed, 10 Jan 2007, linux-os (Dick Johnson) wrote:
>
>>
>> On Wed, 10 Jan 2007, Robert P. J. Day wrote:
>
>>> just FYI, the reason i brought this up in the first place is that
>>> i noticed that the ALIGN
On Wed, 10 Jan 2007, Aubrey wrote:
> Hi all,
>
> Opening file with O_DIRECT flag can do the un-buffered read/write access.
> So if I need un-buffered access, I have to change all of my
> applications to add this flag. What's more, Some scripts like "cp
> oldfile newfile" still use pagecache and b
On Fri, 12 Jan 2007, Erik Mouw wrote:
> On Fri, Jan 12, 2007 at 11:27:01AM +0100, Jesper Juhl wrote:
>> On 12/01/07, congwen <[EMAIL PROTECTED]> wrote:
>>> Hello everyone, I want to create and read/write a file in Linux kernel or
>>> device driver,
>>
>> Don't read/write user space files from ker
> Hi!
>
> Hallo.
>
> We are building embedded devices based on Linux and we use a ramdisk as
> our root device in order to avoid problems with people switching off the
> unit without a proper shutdown and to save write-cycles on our flash disc.
>
> Using a 2.6.12 kernel it was no problem to boot
> On 11/16/06, ranjith kumar <[EMAIL PROTECTED]> wrote:
> Hi,
> How to disable interrupts on pentium 4 (or any
> i386)
> machine?
>
> I tried to include "cli" instruction in a kernel
> module. But got runtime error.
In a module, "cli" should not be an illegal opcode, but in user-mod
On Wed, 22 Nov 2006, Jun Sun wrote:
>
> I am plowing along as I am learning about the in'n'outs about i386. I am
> totally stuck on this one. I would appreciate any help.
>
> As you can see, the function turns off paging mode (of course it
> runs from identically mapped page) and tries to jump
On Mon, 27 Nov 2006, Jon Ringle wrote:
> Robert Hancock wrote:
>> Jon Ringle wrote:
>>> Hi,
>>>
>>> I need to reserve a page of memory at a specific area of RAM that will
>>> be used as a "shared memory" with another processor over PCI. How can I
>>> ensure that the this area of RAM gets reseved
On Mon, 27 Nov 2006, Jun Sun wrote:
>
> On Mon, Nov 27, 2006 at 08:58:57AM -0500, linux-os (Dick Johnson) wrote:
>>
>> I think it probably resets the instant that you turn off paging. To
>> turn off paging, you need to copy some code (properly linked) to an
>> are
On Tue, 28 Nov 2006, Jun Sun wrote:
> On Tue, Nov 28, 2006 at 08:46:44AM -0500, linux-os (Dick Johnson) wrote:
>>
>> On Mon, 27 Nov 2006, Jun Sun wrote:
>>
>>>
>>> On Mon, Nov 27, 2006 at 08:58:57AM -0500, linux-os (Dick Johnson) wrote:
>>>>
&
On Tue, 13 Mar 2007, Mockern wrote:
> Hi,
>
> I use kthread in my driver. The problem is that I can't kill process
> with kill_proc function. After rmmod my_driver, ps command shows again SW
> my_driver.
>
> How can I remove this process?
>
> Thank you
>
You need to follow the procedures used b
I have multiple AMD 64-bit servers in several configurations,
with several different motherboards, which fail to recognize
a USB keyboard when booted from a "stock" Linux kernel.
They only work with a RedHat kernel! I have removed all but
one CPU from one in an attempt to find the problem.
The d
On Thu, 15 Mar 2007, Jiri Kosina wrote:
> On Thu, 15 Mar 2007, linux-os (Dick Johnson) wrote:
>
>> I have multiple AMD 64-bit servers in several configurations, with
>> several different motherboards, which fail to recognize a USB keyboard
>> when booted from a "s
On Thu, 15 Mar 2007, Jiri Kosina wrote:
> (added linux-usb-devel@lists.sourceforge.net to CC)
>
> On Thu, 15 Mar 2007, linux-os (Dick Johnson) wrote:
>
>>>> I have multiple AMD 64-bit servers in several configurations, with
>>>> several different motherb
On Thu, 15 Mar 2007, Alan Stern wrote:
> On Thu, 15 Mar 2007, linux-os (Dick Johnson) wrote:
>
>>>> Ouch! I can't do anything by copy from a screen! There is no way to get
>>>> `dmesg` without the keyboard! That's why I sent a request to
>>>&g
On Thu, 15 Mar 2007, Alan Stern wrote:
> On Thu, 15 Mar 2007, Dmitry Torokhov wrote:
>
>> On 3/15/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote:
>>> echo "Loading uhci-hcd.ko module"
>>> insmod /lib/uhci-hcd.ko
>>> echo "Loa
On Thu, 15 Mar 2007, Dmitry Torokhov wrote:
> On 3/15/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote:
>> echo "Loading uhci-hcd.ko module"
>> insmod /lib/uhci-hcd.ko
>> echo "Loading ehci-hcd.ko module"
>> insmod /lib/ehci-hcd.ko
>
On Thu, 15 Mar 2007, Jiri Kosina wrote:
> On Thu, 15 Mar 2007, linux-os (Dick Johnson) wrote:
>
> [...]
>> The initrd "linuxrc" file that loads the modules is here. One can see
>> the order in which the modules are loaded. We had to make our own shell
>&g
On Tue, 17 Apr 2007, Xavier Bestel wrote:
> On Tue, 2007-04-17 at 10:59 -0400, linux-os (Dick Johnson) wrote:
>> So, what needs to be done is simply find out the specifications of
>> the file-system.
>
> I didn't know that was that simple, great !
> So, what do we wa
On Tue, 17 Apr 2007, Theodore Tso wrote:
> On Tue, Apr 17, 2007 at 02:54:32AM -0400, David R. Litwin wrote:
>>> The license that protects the code we write is far from nonsense.
>>
>> I know. In the end, this is the reason this topic is being discussed.
>>
>> I suggest the first thing you do is c
On Sun, 18 Mar 2007, Ahmed S. Darwish wrote:
> Hi list,
>
> Reading the kernel threads initialization code I see:
>
> int kernel_thread(...) {
>
> struct pt_regs regs;
> memset(®s, 0, sizeof(regs));
> [...]
> **regs.xds = __USER_DS;
> **regs.xes = __USER_DS;
> [...
On Wed, 25 Apr 2007, John Anthony Kazos Jr. wrote:
I think it's like it is just to be consistent with abs() in C,
which also contains labs() and llabs().
>>> We actually had labs() before (few months ago), but since it was not
>>> used, and if it would it seemed better to just fix
On Wed, 25 Apr 2007, Andreas Schwab wrote:
> "linux-os (Dick Johnson)" <[EMAIL PROTECTED]> writes:
>
>> I think this works, regardless of the length of the integers:
>>
>> #define abs(x) (((x)<0)?-(x):(x))
>
> But it evaluates its argument more th
On Fri, 27 Apr 2007, Parav K Pandit wrote:
> Hi,
>
> I have written one function in assembly for my kernel module.
> Function is in module3.s file.
> I have added the module3.o file in the object list in the Makefile.
> But it shows compile time warning and following output.
>
> What do I need to
On Fri, 27 Apr 2007, Daniel Hazelton wrote:
> On Friday 27 April 2007 07:57:58 Marat Buharov wrote:
>> On 4/27/07, Parav K Pandit <[EMAIL PROTECTED]> wrote:
[SNIPPED all the junk]
>
> Most companies require that *ANY* e-mail sent by employees while at work
> contain disclaimers like those. Some of
Hello,
In linux-2.6.16.24, there is a problem with kernel threads
and the aic79xx.c driver.
When nash is executing /initrd/linuxrc in the initial RAM disk
during boot, it will be installing drivers. One driver, aic79xx.c
creates some kernel threads that will exit after the initialization
procedu
On Wed, 7 Mar 2007, Luong Ngo wrote:
> Hi all,
>
> I am having this problem. I have a process with 2 threads created. One
> of the thread will keep calling IOCTL to get information from the
> kernel and will be blocked if there is no new information. If there is
> information retured, the thread
>
> On 3/7/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote:
>>
>> On Wed, 7 Mar 2007, Luong Ngo wrote:
>>
>>> Hi all,
>>>
>>> I am having this problem. I have a process with 2 threads created. One
>>> of the thread will keep
On Wed, 7 Mar 2007, Luong Ngo wrote:
> On 3/7/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> On 3/7/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote:
>>>>
>>>> On Wed, 7 Mar 2007, Luong Ngo wrote:
>>&g
On Thu, 29 Mar 2007, Jan Engelhardt wrote:
> Hi,
>
> On Mar 29 2007 17:21, Amit K. Arora wrote:
>>
>> We need to come up with the best possible layout of arguments for the
>> fallocate() system call. Various architectures have different
>> requirements for how the arguments should look like. Sinc
On Tue, 3 Apr 2007, Ulrich Drepper wrote:
> More and more code depends on knowing the number of processors in the
> system to efficiently scale the code. E.g., in OpenMP it is used by
> default to determine how many threads to create. Creating more threads
> than there are processors/cores does
On Wed, 4 Apr 2007, Michael wrote:
> Hi,
>
> I compiled a new kernel: 2.6.20.3, and hope to test it without removing
> my old kernel.
You don't need to remove your old kernel. Log in as root.
# cd /usr/src/linux-2.6.20.3
If your current kernel is 2.6.20.3, edit the Makefile to
add some characte
On Mon, 10 Sep 2007, Bruce Allen wrote:
> Dear LKML,
>
> Apologies in advance for potential mis-use of LKML, but I don't know where
> else to ask.
>
> An ongoing study on datasets of several Petabytes have shown that there
> can be 'silent data corruption' at rates much larger than one might
> na
On Wed, 12 Sep 2007, Jan Engelhardt wrote:
>
> On Sep 12 2007 20:23, Bernd Petrovitsch wrote:
>> On Wed, 2007-09-12 at 20:16 +0200, Sam Ravnborg wrote:
But we are talking[0] about a kernel-source-$VERSION.$ARCH.rpm's
which contain the kernel sources (read: lots of .c and .h files,
On Wed, 26 Sep 2007, David Newall wrote:
> Olivier Galibert wrote:
>> chroot does not allow you to walk out if you're in.
>
> You're mistaken. Or more properly, further use of chroot lets you walk
> out. This really has been said before, and before, and before.
>
>chroot("subtree"); // en
If Windows lets you get away with this, then Windows is broken.
memset(ch,'\0',strlen(ch) );
'ch' is uninitialized local data. Nobody knows what evil lurks...
Thay said, the kernel will make sure that any data that gets
put into your address-space doesn't contain anybody else's
information --t
On Fri, 28 Sep 2007, [iso-8859-1] Daniel Spång wrote:
> Applications with dynamic input and dynamic memory usage have some
> issues with the current overcommitting kernel. A high memory usage
> situation eventually results in that a process is killed by the OOM
> killer. This is especially eviden
On Fri, 28 Sep 2007, [iso-8859-1] Daniel Spång wrote:
> On 9/28/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote:
>>
>> On Fri, 28 Sep 2007, [iso-8859-1] Daniel Spång wrote:
>>
>>> On 9/28/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote:
>
On Fri, 28 Sep 2007, [iso-8859-1] Daniel Spång wrote:
> On 9/28/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote:
>>
>> On Fri, 28 Sep 2007, [iso-8859-1] Daniel Spång wrote:
>>
>>> Applications with dynamic input and dynamic memory usage have some
>&g
On Tue, 18 Sep 2007, Bodo Eggert wrote:
> Paul de Weerd <[EMAIL PROTECTED]> wrote:
>> On Mon, Sep 17, 2007 at 03:38:45PM +0200, Adrian Bunk wrote:
>
>> | It's not about lazyness of BSD developers, many people who consider the
>> | BSD licence more free than the GPL argue that the advantage of the
On Tue, 18 Sep 2007 [EMAIL PROTECTED] wrote:
>
> I have a CAN PCI card installed on my Ubuntu box.
> I understand that PCI interrupts should be level rather than edge
> triggered.
>
> The output of cat /proc/interrupts is :-
>
> CPU0
> 0:1614601IO-APIC-edge timer
> 1:
On Tue, 18 Sep 2007 [EMAIL PROTECTED] wrote:
> The driver already does that ...
>
> result =
>request_irq(irq, can_pci_interrupt, SA_INTERRUPT | SA_SHIRQ,
>pDevice->au8IrqName, pDevice);
>
>
> Any other ideas?
>
> Duncan
&
On Tue, 18 Sep 2007 [EMAIL PROTECTED] wrote:
> Sorted.
>
> A setting in the BIOS meant it was storing old configuration data.
> After disabling this option, it became a level triggered interrupt and
> everything now works!
>
> Thanks.
Good!
Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.
On Mon, 20 Aug 2007, Marc Perkel wrote:
>
[Snipped...]
>
> What's the point? People are openly hostile to new
> ideas here. I started out nice and laid out my ideas
> and you have a bunch of morons who attack anything
> new.
[Snopped...]
>
> Marc Perkel
> Junk Email Filter dot com
> http://www.
On Tue, 21 Aug 2007, Bodo Eggert wrote:
> Folkert van Heusden <[EMAIL PROTECTED]> wrote:
>
http://pdos.csail.mit.edu/papers/softecc:ddopson-meng
> softecc_ddopson-meng.pdf
"SoftECC : A System for Software Memory Integrity Checking"
>>>
>>> Personally, I'd recommend just shelling out the
On Thu, 23 Aug 2007, Robert P. J. Day wrote:
> On Thu, 23 Aug 2007, Clemens Koller wrote:
>
>> shaneed cm schrieb:
>>> Hi,
>>> This is a request for Linux kernel related project ideas.
>>> I am Computer Science Engineering final year student. We have to do
>>> a project of one year duration . I
On Thu, 23 Aug 2007, Luka Napotnik wrote:
> Hello.
>
> I'm new to kernel development and have some questions.
>
> 1. Why can't I divide with regular casting to double ((double)a /
> (double)b)? It gives me strange errors when compiling:
>
> WARNING: "__divdf3" [/root] undefined!
> WARNING: "__
301 - 346 of 346 matches
Mail list logo