Re: ZFS with Linux: An Open Plea

2007-04-17 Thread linux-os \(Dick Johnson\)
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 wait ? (I love that abusive we

Re: ZFS with Linux: An Open Plea

2007-04-17 Thread linux-os \(Dick Johnson\)
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 contact the

Re: Question: kthread zombie process

2007-03-13 Thread linux-os \(Dick Johnson\)
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 by other

USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
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

Re: USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
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 stock Linux kernel. They only work

Re: USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
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 motherboards, which fail to recognize a USB keyboard when

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
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 linux-kernel, hoping that the problem would sound familiar. All I

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
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 Loading ehci-hcd.ko module insmod /lib/ehci-hcd.ko I don't see you loading OHCI

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
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 I don't see you loading OHCI and I thought AMD boxes used that flavor

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
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 to replace 'nash' because the SCSI drivers spawned

Re: somebody dropped a (warning) bomb

2007-02-12 Thread linux-os \(Dick Johnson\)
On Fri, 9 Feb 2007, Jan Engelhardt wrote: On Feb 9 2007 15:29, linux-os (Dick Johnson) wrote: I was referring to absolute memory, not the offset magic that assembler allows. After all, (reg+relativeOffset) will yield an absolute address. What I was out at: for machines that have more than

User tools for March 11

2007-02-13 Thread linux-os \(Dick Johnson\)
Hi! In the United States, some idiots have decided that the year 2000 scare wasn't enough so they changed the start date for daylight savings time from the first Sunday in April to the second Sunday in March. Does anybody know if there are new tools like `hwclock` and `date`? Will new 'C' runtime

Re: GPL vs non-GPL device drivers

2007-02-15 Thread linux-os \(Dick Johnson\)
On Thu, 15 Feb 2007, Manu Abraham wrote: On 2/15/07, Mws [EMAIL PROTECTED] wrote: hi vj, On Thursday 15 February 2007, v j wrote: This is in reference to the following thread: http://lkml.org/lkml/2006/12/14/63 I am not sure if this is ever addressed in LKML, but linux is _very_

Re: cat, cp operations for tty driver (like for char one)

2007-02-15 Thread linux-os \(Dick Johnson\)
On Thu, 15 Feb 2007, Mockern wrote: I have a question about linux tty driver how to support cp, cat operations in tty driver (like tiny_tty)? (e.g. echo hello tty /dev/ttyS3, cat ttyS10 etc) There a lot of examples with char drivers, but I could not find it for tty Linux driver. It

Re: APIC priorities, can they be changed?

2007-02-15 Thread linux-os \(Dick Johnson\)
On Thu, 15 Feb 2007, Mike Panetta wrote: I am not on the list (corperate email sucks) so please CC any replies to me. Thanks. I am working on a project that has run in to what seems to be an interrupt priority problem. We switched mainboards in our product and went from a system where

Re: cat, cp operations for tty driver (like for char one)

2007-02-16 Thread linux-os \(Dick Johnson\)
On Fri, 16 Feb 2007, Mockern wrote: Thanx for your respond. Does it mean I have to change nothing in my tty driver (based on serial_core.c) to use: cat and cp? No nonstandard special functions to implement? Change nothing. It you are making your own, make sure your iocl() function

Re: GPL vs non-GPL device drivers

2007-02-19 Thread linux-os \(Dick Johnson\)
On Mon, 19 Feb 2007, Michael K. Edwards wrote: On 2/19/07, Alan [EMAIL PROTECTED] wrote: jurisdiction. Copyright infringement is a statutory tort, and the only limits to contracting away the right to sue for this tort are those provided in the copyright statute itself. A contract not to

Re: i386: Why putting __USER_DS in kernel threads stack initialization?

2007-03-19 Thread linux-os \(Dick Johnson\)
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(regs, 0, sizeof(regs)); [...] **regs.xds = __USER_DS; **regs.xes = __USER_DS; [...]

Ramdisk size

2007-02-28 Thread linux-os \(Dick Johnson\)
Hello, On an embedded system, I use two ramdisks. They are both 16 megabytes in size. I can create them interactively in the normal way with mke2fs. However, when the system is booted using isolinux, the RAM disks become corrupted. Apparently isolinux.cfg's ramdisk_size (not documented, only

Kernel threads

2007-03-06 Thread linux-os \(Dick Johnson\)
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

Re: Sleeping thread not receive signal until it wakes up

2007-03-07 Thread linux-os \(Dick Johnson\)
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 will

Re: Sleeping thread not receive signal until it wakes up

2007-03-07 Thread linux-os \(Dick Johnson\)
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 calling IOCTL to get information from the kernel and will be blocked

Re: Sleeping thread not receive signal until it wakes up

2007-03-08 Thread linux-os \(Dick Johnson\)
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: Hi all, I am having this problem. I have a process with 2 threads created. One

Re: Interface for the new fallocate() system call

2007-03-29 Thread linux-os \(Dick Johnson\)
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. Since the mail

Re: getting processor numbers

2007-04-03 Thread linux-os \(Dick Johnson\)
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 doesn't

Re: set up new kernel with grub

2007-04-04 Thread linux-os \(Dick Johnson\)
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 character

Re: uml and -regparm=3

2008-01-09 Thread linux-os (Dick Johnson)
On Wed, 9 Jan 2008, Miklos Szeredi wrote: FASTCALL is defined empty in -mm, but UML is not compiled with -mregparm=3 and so this breaks things (I noticed problems with rwsem_down_write_failed). Tried recompiling UML with -mregparm=3, but that resulted in a strange failure immediately after

Re: Is it possible to change IRQ for certain device?

2008-01-10 Thread linux-os (Dick Johnson)
On Thu, 10 Jan 2008, Jan Marek wrote: Hello lkml, I have problem with my computer: I have motherboard with AMD690G chipset and nVidia VGA card. But I cannot set BIOS, to assign for VGA unique IRQ. VGA card is sharing IRQ with two ohci_hcd (USB 1.1 controllers). But when I want use for X

Re: Building a kernel-source RPM (not a kernel RPM)?

2007-09-12 Thread linux-os \(Dick Johnson\)
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, etc.) -

Re: Wasting our Freedom

2007-09-18 Thread linux-os \(Dick Johnson\)
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 BSD |

Re: PCI Interrupt

2007-09-18 Thread linux-os \(Dick Johnson\)
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:164

Re: PCI Interrupt

2007-09-18 Thread linux-os \(Dick Johnson\)
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 linux-os \(Dick Johnson

Re: PCI Interrupt

2007-09-18 Thread linux-os \(Dick Johnson\)
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.1 on

Re: [PATCH] x86_64: fix problems due to use of outb to port 80 on some AMD64x2 laptops, etc.

2007-12-17 Thread linux-os (Dick Johnson)
On Fri, 14 Dec 2007, David P. Reed wrote: Avi Kivity wrote: kvm will forward a virtual machine's writes to port 0x80 to the real port. The reason is that the write is much faster than exiting and emulating it; the difference is measurable when compiling kernels. Now if the cause is simply

Re: Memory Read Error

2007-12-19 Thread linux-os (Dick Johnson)
On Tue, 18 Dec 2007, Robert Hancock wrote: shashi59 wrote: I am newbie for Linux Kernel.How can I read the memory area like the range between to .Directly i read that area it shows some error like this unable to handle kernel paging request at virtual address . So,I

Trying to convert old modules to newer kernels

2007-12-19 Thread linux-os (Dick Johnson)
Here is a so-called BUG when trying to insert the following module into the kernel (2.6.22.1). BUG: unable to handle kernel paging request at virtual address 6814ec83 printing eip: c016d013 *pde = Oops: [#1] PREEMPT SMP Modules linked in: MemDev parport_pc lp parport nfsd

Re: Trying to convert old modules to newer kernels

2007-12-19 Thread linux-os (Dick Johnson)
On Wed, 19 Dec 2007, Lennart Sorensen wrote: On Wed, Dec 19, 2007 at 03:10:28PM -0500, linux-os (Dick Johnson) wrote: Here is a so-called BUG when trying to insert the following module into the kernel (2.6.22.1). BUG: unable to handle kernel paging request at virtual address 6814ec83

Re: Trying to convert old modules to newer kernels

2007-12-19 Thread linux-os (Dick Johnson)
On Wed, 19 Dec 2007, Jan Engelhardt wrote: On Dec 19 2007 15:10, linux-os (Dick Johnson) wrote: I got rid of __init and anything else that I thought could cause the fault, I anticipate the day removing __init causes a breakage, heh. I mean, if all in-tree modules and LDD3 use

Re: Trying to convert old modules to newer kernels

2007-12-20 Thread linux-os (Dick Johnson)
On Thu, 20 Dec 2007, Lennart Sorensen wrote: On Wed, Dec 19, 2007 at 03:56:45PM -0500, linux-os (Dick Johnson) wrote: On Wed, 19 Dec 2007, Lennart Sorensen wrote: On Wed, Dec 19, 2007 at 03:10:28PM -0500, linux-os (Dick Johnson) wrote: Here is a so-called BUG when trying to insert

Re: Trying to convert old modules to newer kernels

2007-12-20 Thread linux-os (Dick Johnson)
On Thu, 20 Dec 2007, Lennart Sorensen wrote: On Thu, Dec 20, 2007 at 11:13:19AM -0500, linux-os (Dick Johnson) wrote: It never gets to the printk(). You were right about the compilation. Somebody changed the kernel to compile with parameter passing in REGISTERS! This means that EVERYTHING

Re: Trying to convert old modules to newer kernels

2007-12-20 Thread linux-os (Dick Johnson)
On Thu, 20 Dec 2007, Sam Ravnborg wrote: It never gets to the printk(). You were right about the compilation. Somebody changed the kernel to compile with parameter passing in REGISTERS! This means that EVERYTHING needs to be compiled the same way, 'C' calling conventions were not good

Re: Trying to convert old modules to newer kernels

2007-12-20 Thread linux-os (Dick Johnson)
On Thu, 20 Dec 2007, Roland Dreier wrote: It doesn't seem to be something in .config. Do you know how to reconfigure to get parameter passing put back like it was? Our production applications have lots of assembly-language files and I'm sure we are not going to be able to change all

Re: Trying to convert old modules to newer kernels

2007-12-20 Thread linux-os (Dick Johnson)
On Thu, 20 Dec 2007, Sam Ravnborg wrote: On Thu, Dec 20, 2007 at 04:27:37PM -0500, linux-os (Dick Johnson) wrote: On Thu, 20 Dec 2007, Sam Ravnborg wrote: It never gets to the printk(). You were right about the compilation. Somebody changed the kernel to compile with parameter passing

Re: Trying to convert old modules to newer kernels

2007-12-21 Thread linux-os (Dick Johnson)
On Thu, 20 Dec 2007, Bodo Eggert wrote: linux-os (Dick Johnson) [EMAIL PROTECTED] wrote: On Thu, 20 Dec 2007, Sam Ravnborg wrote: It never gets to the printk(). You were right about the compilation. Somebody changed the kernel to compile with parameter passing in REGISTERS! This means

Re: Trying to convert old modules to newer kernels

2007-12-21 Thread linux-os (Dick Johnson)
On Fri, 21 Dec 2007, Lennart Sorensen wrote: On Thu, Dec 20, 2007 at 05:56:19PM -0500, linux-os (Dick Johnson) wrote: Okay. Thanks! I need to do that. On the (now somewhat old) 2.6.18 kernel I use it is an option under Processor type and features called Use register arguments, but yeah

Re: Trying to convert old modules to newer kernels

2007-12-21 Thread linux-os (Dick Johnson)
On Fri, 21 Dec 2007, Lennart Sorensen wrote: On Thu, Dec 20, 2007 at 04:27:37PM -0500, linux-os (Dick Johnson) wrote: I need to get rid of -mregparm=3 on gcc's command line. It is completely incompatible with the standard calling conventions used in all our assembly-language files in our

Re: Is the PCI clock within the spec?

2007-12-04 Thread linux-os (Dick Johnson)
On Tue, 4 Dec 2007, John Sigler wrote: Hello Sébastien, Sébastien Dugué wrote: John Sigler wrote: I have an x86 system, running Linux 2.6.22.1-rt9, in which I plug one or two PCI I/O boards. I had been experiencing complete system lock-ups until I sent the system to the board

Re: Is the PCI clock within the spec?

2007-12-04 Thread linux-os (Dick Johnson)
On Tue, 4 Dec 2007, John Sigler wrote: Dick Johnson wrote: You can't just touch a scope-probe to the PCI clock pin and clip the scope-probe grounding lead to a convenient ground to make these measurements! You need a special fixture that will make a low-inductance connection to the PCI

Possible EXT2 race

2007-12-07 Thread linux-os (Dick Johnson)
On linux-2.6.22.1, executing the following script while the mailer is writing to /var/spool/mail/linux-os. #!/bin/bash while true ; do /var/spool/mail/linux-os; sleep 1; done ...will cause the following errors to occur. Dec 7 04:05:55 chaos kernel: sd 0:0:1:0: [sdb] Sense Key :

Re: Possible EXT2 race

2007-12-07 Thread linux-os (Dick Johnson)
On Fri, 7 Dec 2007, Dave Jones wrote: On Fri, Dec 07, 2007 at 08:15:42AM -0500, linux-os (Dick Johnson) wrote: Dec 7 04:05:55 chaos kernel: sd 0:0:1:0: [sdb] Add. Sense: Peripheral device write fault This sounds more like a hardware problem. Dave There was an attempt to write

Re: [KERNEL]: Avoid divide in IS_ALIGN

2007-11-20 Thread linux-os (Dick Johnson)
On Tue, 20 Nov 2007, Herbert Xu wrote: Hi: [KERNEL]: Avoid divide in IS_ALIGN I was happy to discover the brand new IS_ALIGN macro and quickly used it in my code. To my dismay I found that the generated code used division to perform the test. This patch fixes it by changing the % test

Re: [KERNEL]: Avoid divide in IS_ALIGN

2007-11-21 Thread linux-os (Dick Johnson)
On Tue, 20 Nov 2007, Richard B. Johnson wrote: On Tue, 20 Nov 2007, Herbert Xu wrote: Hi: [KERNEL]: Avoid divide in IS_ALIGN I was happy to discover the brand new IS_ALIGN macro and quickly used it in my code. To my dismay I found that the generated code used division to perform the

Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops

2007-12-11 Thread linux-os (Dick Johnson)
On Tue, 11 Dec 2007, David Newall wrote: Rene Herman wrote: This particular discussion isn't about anything in general but solely about the delay an outb_p gives you on x86 since what is under discussion is not using an output to port 0x80 on that platform to generate it. That could be

Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops

2007-12-11 Thread linux-os (Dick Johnson)
On Tue, 11 Dec 2007, David P. Reed wrote: Alan Cox wrote: The vga driver is somewhat misnamed. In console mode we handle everything back to MDA/HGA and some HGA adapters do need delays. No they don't. I really, really, really know this for a fact. I wrote ASM drivers for every early

Re: [RFT] Port 0x80 I/O speed

2007-12-12 Thread linux-os (Dick Johnson)
On Wed, 12 Dec 2007, Rene Herman wrote: On 12-12-07 13:59, linux-os (Dick Johnson) wrote: On Tue, 11 Dec 2007, [utf-8] Alejandro Riveira Fern?ndez wrote: On my AMD 3800 X2 (2000MHz) ULi M1697 2.6.24-rc5 i get: cycles: out 1844674407370808, in 1844674407369087 It is not constant

Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops

2007-12-12 Thread linux-os (Dick Johnson)
On Tue, 11 Dec 2007, David P. Reed wrote: 1) I found in a book, the Undocumented PC, that I have lying around that the pause recommended for some old adapter chips on the ISA bus was 1 usec. The book carefully points out on various models of PCs how many short jumps are required to

Re: [RESULTS] Port 0x80 I/O speed

2007-12-12 Thread linux-os (Dick Johnson)
On Wed, 12 Dec 2007, Rene Herman wrote: Hi everyone. That was a succesful request, thanks to all who responded. This message also just now went out with all the respondents in CC but I believe that copy isn't making the list, so here's one without... In total you provided 60 reports which

Re: Attitude problems.

2007-12-12 Thread linux-os (Dick Johnson)
On Wed, 12 Dec 2007, David P. Reed wrote: Who has attitude problems here? I have indeed learned a lot about assholes. linux-os (Dick Johnson) wrote: Yep. We are all wrong. You come out of nowhere and claim to be right. Goodbye. Hmmm, I gave you every opportunity to back off your pretense

Re: Attitude problems.

2007-12-14 Thread linux-os (Dick Johnson)
On Wed, 12 Dec 2007, linux-os (Dick Johnson) wrote: On Wed, 12 Dec 2007, David P. Reed wrote: Who has attitude problems here? I have indeed learned a lot about assholes. I hastily responded to this with some invective of my own. I wish to publicly apologize because I was just a bit hasty

Re: Is gcc thread-unsafe?

2007-10-25 Thread linux-os (Dick Johnson)
On Thu, 25 Oct 2007, Andi Kleen wrote: On Thursday 25 October 2007 05:24, Nick Piggin wrote: Basically, what the gcc developers are saying is that gcc is free to load and store to any memory location, so long as it behaves as if the instructions were executed in sequence. This case is

Re: eradicating out of tree modules

2007-10-30 Thread linux-os (Dick Johnson)
On Mon, 29 Oct 2007, Tilman Schmidt wrote: Am 28.10.2007 20:25 schrieb Adrian Bunk: On Sun, Oct 28, 2007 at 07:51:12PM +0100, Tilman Schmidt wrote: Am 28.10.2007 02:55 schrieb Adrian Bunk: Justifying anything with code with not GPL compatible licences has zero relevance here. And there's

RE: Question about free/used memory on Linux

2007-10-22 Thread linux-os (Dick Johnson)
On Sun, 21 Oct 2007, Ravinandan Arakali (rarakali) wrote: Hi Vaidy, Thanks for clarifying several of my doubts. To answer your question about my intention, we currently have a system with 2 GB RAM and I need to find out the actual used and free memory so that we can decide if the same

Re: kernel processes - are they really needed?

2007-10-24 Thread linux-os (Dick Johnson)
On Wed, 24 Oct 2007, Ram wrote: Hi, When i do ps -l. i see the following processes which are obviously started by kernel. Could any one tell me what each of these processes do and can anyone of them can be removed.? PID Uid VmSize Stat Command 1 root584 S init

Re: [PATCH] fix passing argument # of '__memcpy' discards qualifiers from pointer target type warnings

2007-10-24 Thread linux-os (Dick Johnson)
On Wed, 24 Oct 2007, Bodo Eggert wrote: Miguel Botón [EMAIL PROTECTED] wrote: This patch fixes the warnings passing argument 1 of '__memcpy' discards qualifiers from pointer target type and passing argument 2 of '__memcpy' discards qualifiers from pointer target type when compiling some

Re: [PATCH] scsi_error: Fix language abuse.

2008-02-11 Thread linux-os (Dick Johnson)
On Fri, 8 Feb 2008, Mark Hounschell wrote: linux-os (Dick Johnson) wrote: The correct word should be invalid, in spite of the fact that the SCSI committee used invalid syntax. Alan is right. There is nothing illegal in the kernel and if there is, it must be removed as soon

Re: [PATCH] fs/coda: remove static inline forward declarations

2008-02-13 Thread linux-os (Dick Johnson)
On Wed, 13 Feb 2008, [iso-8859-1] Ilpo Järvinen wrote: They're defined later on in the same file with bodies and nothingin between needs them. Signed-off-by: Ilpo Järvinen [EMAIL PROTECTED] --- include/linux/coda_linux.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff

Re: [PATCH] fs/coda: remove static inline forward declarations

2008-02-13 Thread linux-os (Dick Johnson)
On Wed, 13 Feb 2008, [iso-8859-1] Ilpo Järvinen wrote: On Wed, 13 Feb 2008, linux-os (Dick Johnson) wrote: On Wed, 13 Feb 2008, [iso-8859-1] Ilpo Järvinen wrote: They're defined later on in the same file with bodies and nothingin between needs them. Signed-off-by: Ilpo Järvinen [EMAIL

Re: Is there a blackhole /dev/null directory?

2008-02-14 Thread linux-os (Dick Johnson)
On Thu, 14 Feb 2008, Mika Lawando wrote: Jasper Bryant-Greene schrieb: On Thu, 2008-02-14 at 10:30 +0100, rzryyvzy wrote: /dev/null is often very useful, specially if programs force to save data in some file. But some programs like to creates different temporary file names, so /dev/null

Re: Chroot bug

2007-09-26 Thread linux-os \(Dick Johnson\)
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); // enter

Re: Floating Point Issue

2007-09-27 Thread linux-os \(Dick Johnson\)
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

Re: Out of memory management in embedded systems

2007-09-28 Thread linux-os \(Dick Johnson\)
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 evident

Re: Out of memory management in embedded systems

2007-09-28 Thread linux-os \(Dick Johnson\)
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: But an embedded system contains all the software

Re: Out of memory management in embedded systems

2007-09-28 Thread linux-os \(Dick Johnson\)
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 issues with the current overcommitting kernel. A high

Re: yield API

2007-10-02 Thread linux-os (Dick Johnson)
On Tue, 2 Oct 2007, Ingo Molnar wrote: * David Schwartz [EMAIL PROTECTED] wrote: These are generic statements, but i'm _really_ interested in the specifics. Real, specific code that i can look at. The typical Linux distro consists of in execess of 500 millions of lines of code, in tens of

Re: Point of gpl-only modules (flame)

2007-10-03 Thread linux-os (Dick Johnson)
On Tue, 2 Oct 2007, Jan Engelhardt wrote: On Oct 2 2007 23:49, Jimmy wrote: Anyway, I've been trying to figure out what purpose the gpl-only code serves. What good comes out of disabling people from probing modules that do not have a gpl-compatible license? find /lib/modules/`uname -r`

Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD

2007-10-05 Thread linux-os \(Dick Johnson\)
On Fri, 5 Oct 2007, Timur Tabi wrote: Andreas Schwab wrote: The bit mapping on your device is strictly internal to the device and has nothing to do with bit order on the C level. Then I don't understand that point of defining __LITTLE_ENDIAN_BITFIELD. What does it mean for a C-level

Re: Forbid deletion of memory mappings

2007-09-04 Thread linux-os \(Dick Johnson\)
On Thu, 30 Aug 2007, Clemens Kolbitsch wrote: On Thursday 30 August 2007 23:50:21 [EMAIL PROTECTED] wrote: On Thu, 30 Aug 2007 23:41:09 +0200, Clemens Kolbitsch said: On Thursday 30 August 2007 23:34:52 you wrote: On Thu, 30 Aug 2007, Clemens Kolbitsch wrote: is there no way to tell the

Re: ramdisk

2007-09-04 Thread linux-os \(Dick Johnson\)
On Mon, 3 Sep 2007, Xu Yang wrote: Hi everyone, I want to use ramdisk to boot my filesystem, as I can't use NFS and harddisk. I have load the ramdisk into the ram memory (start address :0x400) and in the boot options I specified : root =dev/ram0 initrd=0x400 Since you don't know

Re: Fwd: That whole Linux stealing our code thing

2007-09-04 Thread linux-os \(Dick Johnson\)
On Tue, 4 Sep 2007, Chris Friesen wrote: Daniel Hazelton wrote: On Tuesday 04 September 2007 09:27:02 Krzysztof Halasa wrote: Daniel Hazelton [EMAIL PROTECTED] writes: US Copyright law. A copyright holder, regardless of what license he/she may have released the work under, can still

Re: ramdisk

2007-09-04 Thread linux-os \(Dick Johnson\)
it? thanks, regards, mkknod /dev/ram0 b 1 0 mkknod /dev/ram1 b 1 1 mkknod /dev/ram2 b 1 2 Do this in the file-system you create for the RAM Disk. 2007/9/4, linux-os (Dick Johnson) [EMAIL PROTECTED]: On Mon, 3 Sep 2007, Xu Yang wrote: Hi everyone, I want to use ramdisk to boot my

Re: file system for solid state disks

2007-09-05 Thread linux-os \(Dick Johnson\)
On Wed, 5 Sep 2007, Denys Vlasenko wrote: On Thursday 23 August 2007 09:55, Daniel J Blueman wrote: On 23 Aug, 07:00, Jan Engelhardt [EMAIL PROTECTED] wrote: On Aug 23 2007 01:01, Richard Ballantyne wrote: What file system that is already in the linux kernel do people recommend I use for my

Re: ECC and DMA to/from disk controllers

2007-09-10 Thread linux-os \(Dick Johnson\)
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 naively

Re: request for Linux kernel related project ideas

2007-08-23 Thread linux-os \(Dick Johnson\)
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 formed a group

Re: division and cpu usage

2007-08-24 Thread linux-os \(Dick Johnson\)
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: __addf3

USB Keyboard

2007-08-15 Thread linux-os \(Dick Johnson\)
Hello all, I have been using linux-2.6.16.24 for development. However, when I boot a sustem that uses a Dell USB keyboard with a hub built into a Dell monitor, there are continuous keyboard disconnect messages until I exercise ^S/^Q. Then, everything is fine. I thought maybe there was a bug that

Re: USB Keyboard

2007-08-16 Thread linux-os \(Dick Johnson\)
On Thu, 16 Aug 2007, Jiri Kosina wrote: On Wed, 15 Aug 2007, linux-os (Dick Johnson) wrote: I thought maybe there was a bug that had been fixed in later versions so I built and installed Linux-2.6.22.1. The required usbhid.ko doesn't build, even though it is enabled in .config. Could you

Re: Thinking outside the box on file systems

2007-08-16 Thread linux-os \(Dick Johnson\)
On Thu, 16 Aug 2007, Helge Hafting wrote: Marc Perkel wrote: Kyle, What I'm suggesting is scrapping all existing concepts and replacing them with something entirely new. Posix, Unix, SELinux go away except for an emulation layer for backwards compatibility. What I'm suggesting is to start

Re: Thinking outside the box on file systems

2007-08-20 Thread linux-os \(Dick Johnson\)
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

Re: Software based ECC ?

2007-08-21 Thread linux-os \(Dick Johnson\)
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 bucks for hardware

Re: __LITTLE_ENDIAN vs. __LITTLE_ENDIAN_BITFIELD

2007-10-10 Thread linux-os (Dick Johnson)
On Tue, 9 Oct 2007, Krzysztof Halasa wrote: Jeremy Fitzhardinge [EMAIL PROTECTED] writes: but the gist is that IBM has traditionally bit 0 for MSB and x for LSB. It's a pain to work with: for one, bits in the same place in a word (say, control register) are renumbered in 32 vs 64. I

Re: Ethernet driver problem

2007-10-10 Thread linux-os (Dick Johnson)
On Wed, 10 Oct 2007, Jupe wrote: Hi, I have written an ethernet driver for an ARM based board. Linux version: 2.6.20.1 Ping is working fine. I have written a test server/client application using socket programming (TCP). After the connection is setup the server sends a file to the

Re: halt does not shut the system down

2007-10-16 Thread linux-os (Dick Johnson)
On Tue, 16 Oct 2007, John Sigler wrote: John Sigler wrote: Alexey Starikovskiy wrote: Could you please open bug at bugzilla.kernel.org and put all these files there? http://bugzilla.kernel.org/show_bug.cgi?id=9148 Writing 15361 (i.e. 0x3C01) to ACPI_REGISTER_PM1A_CONTROL appears to

Re: how to use TLB to prevent Linux accessing a particular memory region

2007-10-16 Thread linux-os (Dick Johnson)
On Tue, 16 Oct 2007, veerasena reddy wrote: Hi, I have a board, which has two processors ( one is MIPS on which Linux-2.6.18 kernel runs and another is DSP based processor) and 32MB DDR. Out of 32MB of DDR 8MB is reserved for use by DSP processor. But the MIPS processor downloads

Re: [RFC][PATCH] fix abs() macro to work with types wider than int

2007-04-25 Thread linux-os \(Dick Johnson\)
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 abs(), it was

Re: [RFC][PATCH] fix abs() macro to work with types wider than int

2007-04-25 Thread linux-os \(Dick Johnson\)
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 than once. Andreas. Sure. Macros do that. If that's not okay

Re: assembly code in the loadable kernel module

2007-04-27 Thread linux-os \(Dick Johnson\)
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 do to

Re: assembly code in the loadable kernel module

2007-04-27 Thread linux-os \(Dick Johnson\)
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 them

Re: kernel guide to space

2005-07-21 Thread linux-os \(Dick Johnson\)
On Thu, 21 Jul 2005, Jesper Juhl wrote: On 7/21/05, Kyle Moffett [EMAIL PROTECTED] wrote: On Jul 20, 2005, at 20:45:21, Paul Jackson wrote: [...snip...] *cough* TargetStatistics[TargetID].HostAdapterResetsCompleted *cough* I suspect linus would be willing to accept a few cleanup patches

Re: Kernel doesn't free Cached Memory

2005-07-22 Thread linux-os \(Dick Johnson\)
On Fri, 22 Jul 2005, Bernd Petrovitsch wrote: On Fri, 2005-07-22 at 08:27 -0300, Vinicius wrote: [...] I have a server with 2 Pentium 4 HT processors and 32 GB of RAM, this server runs lots of applications that consume lots of memory to. When I stop this applications, the kernel doesn't

Re: Whats in this vaddr segment 0xffffe000-0xfffff000 ---p ?

2005-07-22 Thread linux-os \(Dick Johnson\)
On Fri, 22 Jul 2005, vamsi krishna wrote: Hello, The location of the vsyscall page is different on 32 and 64 bit machines. So 0xe000 is NOT the address you are looking for while dealing with the 64 bit machine. Rather 0xff60 is the correct location (on x86-64). Both my

  1   2   3   4   5   >