Re: Linux stifles innovation...

2001-02-17 Thread Robert Read
On Sat, Feb 17, 2001 at 12:41:57PM +, Henning P. Schmiedehausen wrote: > > If HP would spent only 5% of their driver writing > buget for Windows into Linux driver development, that I would call "a > move". Have you seen this: http://hp.sourceforge.net/ I certainly don't know what the

Re: kernel/printk.c: increasing the buffer size to capture devfsd debug messages.

2001-02-20 Thread Robert Read
On Wed, Feb 21, 2001 at 02:30:08AM +0900, Ishikawa wrote: > > Has anyone tried 128K buffer size in kernel/printk.c > and still have the kernel boot (without > hard to notice memory corruption problems and other subtle bugs)? > Any hints and tips will be appreciated. I have used 128k and larger

[PATCH] Re: kernel/printk.c: increasing the buffer size to capture devfsd debug messages.

2001-02-20 Thread Robert Read
On Tue, Feb 20, 2001 at 01:37:16PM -0600, Thomas Dodd wrote: > Robert Read wrote: > > > > On Wed, Feb 21, 2001 at 02:30:08AM +0900, Ishikawa wrote: > > > > > > Has anyone tried 128K buffer size in kernel/printk.c > > > and still have the kernel

Re: [PATCH] Re: kernel/printk.c: increasing the buffer size to capture devfsd debug messages.

2001-02-20 Thread Robert Read
On Tue, Feb 20, 2001 at 02:53:04PM -0600, Thomas Dodd wrote: > Robert Read wrote: > > Why not just make the config option in Kbytes. > and do: > > #define LOG_BUF_LEN (CONFIG_PRINTK_BUF_LEN * 1024) > This is good idea, but I believe LOG_BUF_LEN needs to be a power of 2.

[PATCH] configurable printk buffer size

2001-02-20 Thread Robert Read
The obvious solution struck me just after the last email. I change the config parameter to be an order, like the argument to get_free_pages(). How does this look? It's not tested, but there isn't much to it... robert diff --exclude=*~ -ru linux-2.4.2-pre4/arch/i386/config.in linux-2.4.2-pre

Re: can somebody explain how linux support 64G memory

2001-02-20 Thread Robert Read
There are two ways, the PAE flag and the PSE-36 feature introduced in P3. These extensions are documented in the IA-32 Intel Architecture Software Developer's Manuals, which you can find here: http://developer.intel.com/design/Pentium4/manuals/ Look in Volume 3, Chapter 3 for this info. robert

Re: newbie fodder

2001-02-21 Thread Robert Read
This looks great, in fact I was working on something similar for myself. Unfortunately, like all good documentation, it's already slightly out of date. Just this morning I noticed that as of the 2.4.2-preX, the __make_request function no longer contains this code: if (!q->plugged)

[PATCH] use correct include dir for build tools

2001-02-22 Thread Robert Read
Linus, Please apply one line patch to the top level Makefile. This points the build tools at the correct linux include dir. diff -ru linux/Makefile linux-makefile/Makefile --- linux/Makefile Wed Feb 21 16:54:15 2001 +++ linux-makefile/Makefile Thu Feb 22 12:34:57 2001 @@ -16,7 +16,7 @@

Re: [PATCH] use correct include dir for build tools

2001-02-22 Thread Robert Read
Ok, my bad, I forgot about cross-compiles. The problem was scripts/split-include.c includes errno.h, which requires linux/errno.h to exist, and I thought it would be better to use the current kernel's version, rather than the system version. I guess not. robert On Thu, Feb 22, 2001 at 10:28:58P

[patch] set kiobuf io_count once, instead of increment

2001-02-27 Thread Robert Read
Currently in brw_kiovec, iobuf->io_count is being incremented as each bh is submitted, and decremented in the bh->b_end_io(). This means io_count can go to zero before all the bhs have been submitted, especially during a large request. This causes the end_kio_request() to be called before all of

Re: [patch] set kiobuf io_count once, instead of increment

2001-02-28 Thread Robert Read
On Tue, Feb 27, 2001 at 10:50:54PM -0300, Marcelo Tosatti wrote: > > > It seems your patch breaks bh allocation failure handling. If > get_unused_buffer_head() fails, iobuf->io_count never reaches 0, so > processes waiting on kiobuf_wait_for_io() will block forever. > This is true, but it look

Re: binfmt_script and ^M

2001-03-05 Thread Robert Read
On Mon, Mar 05, 2001 at 07:58:52PM +0100, Pozsar Balazs wrote: > > And what does POSIX say about "#!/bin/sh\r" ? > In other words: should the kernel look for the interpreter between the ! > and the newline, or [the first space or newline] or the first whitespace? > > IMHO, the first whitespace.

Re: binfmt_script and ^M

2001-03-05 Thread Robert Read
On Mon, Mar 05, 2001 at 10:05:36PM +0100, Pozsar Balazs wrote: > On Mon, 5 Mar 2001, Robert Read wrote: > > On Mon, Mar 05, 2001 at 07:58:52PM +0100, Pozsar Balazs wrote: > > > > > > And what does POSIX say about "#!/bin/sh\r" ? > > > In other wor

Re: QLogicFC problems with 2.4.x?

2000-12-19 Thread Robert Read
The driver loads for me on 2.4 on Intel, but I don't have access to an Alpha right now. Have you tried Mathew Jacob's driver? It looks like it supports Alpha. http://www.feral.com/isp.html robert On Mon, Dec 18, 2000 at 04:24:38PM -0500, Peter Rival wrote: > Hi, > >I was just lent a QLog

Re: Wiring down Pages

2000-12-21 Thread Robert Read
On Thu, Dec 21, 2000 at 06:46:33PM -0200, Rik van Riel wrote: > > page_cache_drop(page); <= removes your extra count I can't find that function, do you mean page_cache_free() and page_cache_release(), both are aliases for __free_page(). Maybe we need another alias. :) Should non-page cache rela

Re: PC-speaker control

2001-01-01 Thread Robert Read
Try this on the console: setterm -blength 0 no assembly required. :) robert On Mon, Jan 01, 2001 at 06:30:37PM -0200, Rafael Diniz wrote: > Hey, Is there a way to control the PC-speaker with the Linux kernel 2.2? > I want to disable it. > I guy told me that with this assembly code I can disab

Re: devices.txt inconsistency

2001-01-01 Thread Robert Read
devices.txt does need some updating. It still lists char-major-13 as the PC Speaker, but 13 appears to be the major for new input driver, and the joystick driver is now a minor off the that. Are there now two Joystick drivers, or can char-major-15 be obsoleted/deleted? robert On Mon, Jan 01, 20

Re: devices.txt inconsistency

2001-01-01 Thread Robert Read
How's this? Should char-major-15 be obsoleted, deleted or just left in for now? robert --- linux/Documentation/devices.txt.bak Mon Jan 1 15:29:24 2001 +++ linux/Documentation/devices.txt Mon Jan 1 15:33:38 2001 @@ -430,14 +430,14 @@ 1 = /dev/dos_cd1 Second MSCDEX CD

Re: PC-speaker control

2001-01-01 Thread Robert Read
On Tue, Jan 02, 2001 at 01:40:43AM +0100, Daniel Phillips wrote: > Daniel Phillips wrote: > > > > Robert Read wrote: > > > Try this on the console: > > > > > > setterm -blength 0 > > > > > > no assembly required. :) > > > &g

Re: [patch] serial console vs NMI watchdog

2001-03-09 Thread Robert Read
On Sat, Mar 10, 2001 at 01:21:25AM +1100, Andrew Morton wrote: > +static atomic_t nmi_watchdog_enabled = ATOMIC_INIT(0); /* 0 == enabled */ > + > +void enable_nmi_watchdog(int yes) > +{ > + if (yes) > + atomic_inc(&nmi_watchdog_enabled); > + else > + atomic_de

Re: your mail

2001-03-14 Thread Robert Read
On Sun, Mar 11, 2001 at 09:03:09PM -0800, Greg KH wrote: > On Sun, Mar 11, 2001 at 06:06:24PM +0100, Martin Bruchanov wrote: > > > > Bug report from Martin Bruchanov ([EMAIL PROTECTED], [EMAIL PROTECTED]) > > > > > > [1