Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-29 Thread Arjan van de Ven
On Fri, 2005-01-28 at 23:12 +0100, Lorenzo Hernndez Garca-Hierro wrote: El vie, 28-01-2005 a las 21:47 +0100, Arjan van de Ven escribi: as for obsd_get_random_long().. would it be possible to use the get_random_int() function from the patches I posted the other day? They use the existing

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-29 Thread Arjan van de Ven
On Fri, 2005-01-28 at 23:12 +0100, Lorenzo Hernndez Garca-Hierro wrote: El vie, 28-01-2005 a las 21:47 +0100, Arjan van de Ven escribi: as for obsd_get_random_long().. would it be possible to use the get_random_int() function from the patches I posted the other day? They use the existing

Re: [PATCH] relayfs redux, part 2

2005-01-29 Thread Andi Kleen
Tom Zanussi [EMAIL PROTECTED] writes: Hi, This patch is the result of the latest round of liposuction on relayfs - the patch size is now 44K, down from 110K and the 200K before that. I'm posting it as a patch against 2.6.10 rather than -mm in order to make it easier to review, but will

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread Arjan van de Ven
I actually just tried to paxtest a fresh Fedora Core 3, unadultered, that I installed, and it FAILED every test. After a while, spender reminded me about PT_GNU_STACK. It failed everything but the Executable Stack test after execstack -c *. The randomization tests gave 13(heap-etexec),

Re: compat ioctl for submiting URB

2005-01-29 Thread Christopher Li
It is nice to know all that. I guess I did not know much about the other 64 bit systems. I will update and resend my patch. Thanks! Chris On Fri, Jan 28, 2005 at 09:45:38PM -0800, Roland Dreier wrote: Christopher This patch is for the case that running 32 bit Christopher application

Re: [ANN] removal of certain net drivers coming soon: eepro100, xircom_tulip_cb, iph5526

2005-01-29 Thread Greg KH
On Thu, Jan 27, 2005 at 03:45:40PM -0500, Jeff Garzik wrote: (GregKH cc'd for his deprecated list) It's a file in the Documentation/ directory, feel free to just patch it, adding entries for these drivers. thanks, greg k-h - To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] relayfs redux, part 2

2005-01-29 Thread Greg KH
On Fri, Jan 28, 2005 at 01:38:22PM -0600, Tom Zanussi wrote: +extern void * alloc_rchan_buf(unsigned long size, + struct page ***page_array, + int *page_count); +extern void free_rchan_buf(void *buf, +struct page

Re: compat ioctl for submiting URB

2005-01-29 Thread Christopher Li
On Sat, Jan 29, 2005 at 07:33:31AM +0100, Andi Kleen wrote: Looks reasonable from a first look. Issues: - Should use CONFIG_COMPAT, not x86-64 specific symbols Agree. - Why can't you set URB_COMPAT transparently in the emulation layer? Then existing applications would hopefully work

Re: [discuss] [PATCH] Move HPET options from top level, enable HPET_TIMER prompt

2005-01-29 Thread Andi Kleen
On Fri, Jan 28, 2005 at 11:55:13AM -0500, Pavel Roskin wrote: Hello! make menuconfig for x86_64 looks somewhat funky: [ ] Provide RTC interrupt (NEW) I will move that thanks. Code maturity level options --- General setup --- ... I believe all x86_64 specific options for

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-29 Thread Valdis . Kletnieks
On Fri, 28 Jan 2005 21:47:45 +0100, Arjan van de Ven said: as for obsd_get_random_long().. would it be possible to use the get_random_int() function from the patches I posted the other day? They use the existing random.c infrastructure instead of making a copy... I still don't understand

Re: ptrace single-stepping change breaks Wine

2005-01-29 Thread Kari Hurtta
[ Reading just long long thread (actually from gmane.comp.emulators.wine.devel) ] [EMAIL PROTECTED] Linus Torvalds [EMAIL PROTECTED]: + + /* + * Was the TF flag set by a debugger? If so, clear it now, + * so that register information is correct. +

[PATCH] compat USB ioctl take II was Re: compat ioctl for submiting URB

2005-01-29 Thread Christopher Li
On Sat, Jan 29, 2005 at 07:33:31AM +0100, Andi Kleen wrote: Issues: - Should use CONFIG_COMPAT, not x86-64 specific symbols Fixed. - Why can't you set URB_COMPAT transparently in the emulation layer? Then existing applications would hopefully work without changes, right? Now I see it. That

[PATCH 1/4] readahead: unneeded prev_page assignments

2005-01-29 Thread Oleg Nesterov
There is no point in setting ra-prev_page before 'goto out', it will be overwritten anyway. Signed-off-by: Oleg Nesterov [EMAIL PROTECTED] --- 2.6.11-rc2/mm/readahead.c~ Wed Jan 12 11:44:55 2005 +++ 2.6.11-rc2/mm/readahead.c Mon Jan 24 20:19:38 2005 @@ -432,7 +432,6 @@

[PATCH 2/4] readahead: cleanup get_next_ra_size

2005-01-29 Thread Oleg Nesterov
get_next_ra_size() can get all info from file_ra_state. Signed-off-by: Oleg Nesterov [EMAIL PROTECTED] --- 2.6.11-rc2/mm/readahead.c~ 2005-01-26 19:29:49.0 +0300 +++ 2.6.11-rc2/mm/readahead.c 2005-01-27 22:14:39.0 +0300 @@ -85,14 +85,16 @@ static unsigned long

[PATCH 3/4] readahead: factor out duplicated code

2005-01-29 Thread Oleg Nesterov
This patch introduces make_ahead_window() function for simplification of page_cache_readahead. Signed-off-by: Oleg Nesterov [EMAIL PROTECTED] --- 2.6.11-rc2/mm/readahead.c~ 2005-01-27 22:14:39.0 +0300 +++ 2.6.11-rc2/mm/readahead.c 2005-01-29 15:51:04.0 +0300 @@ -406,6 +406,37

Re: multiple neighbour cache tables for AF_INET

2005-01-29 Thread Herbert Xu
On Sat, Jan 29, 2005 at 07:46:05AM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote: In article [EMAIL PROTECTED] (at Sat, 29 Jan 2005 09:19:49 +1100), Herbert Xu [EMAIL PROTECTED] says: IMHO you need to give the user a way to specify which table they want to operate on. If they don't

[PATCH 4/4] readahead: cleanup blockable_page_cache_readahead

2005-01-29 Thread Oleg Nesterov
I think that do_page_cache_readahead() can be inlined in blockable_page_cache_readahead(), this makes the code a bit more readable in my opinion. Also makes check_ra_success() static inline. Signed-off-by: Oleg Nesterov [EMAIL PROTECTED] --- 2.6.11-rc2/mm/readahead.c~ 2005-01-29

Re: [PATCH 3/4] readahead: factor out duplicated code

2005-01-29 Thread Oleg Nesterov
This patch introduces make_ahead_window() function for simplification of page_cache_readahead. If you will count this patch acceptable, I'll rediff it against next mm iteration. For your convenience here is the code with the patch applied. int make_ahead_window(mapping, filp, ra, int force) {

I2C updates for 2.4.29

2005-01-29 Thread Jean Delvare
Hi Marcelo, hi all, I have a number of I2C updates for 2.4.29 waiting. All of them are rather small and independent, gathered during the 2.4.28 cycle and already applied to i2c CVS. Individual patches follow, please apply. Thanks. -- Jean Delvare http://khali.linux-fr.org/ - To unsubscribe

[PATCH 2.4] I2C updates for 2.4.29 (1/3)

2005-01-29 Thread Jean Delvare
Original reports and discussion: http://archives.andrew.net.au/lm-sensors/msg28512.html http://archives.andrew.net.au/lm-sensors/msg28581.html Bottom line: The bit and pcf i2c algorithms should declare themselves fully I2C capable, but do not. Credits go to Ian Campbell for noticing and

Re: [PATCH] Fix large allocation in nfsd init

2005-01-29 Thread Anton Blanchard
Hi Neil, Given that the purpose of this order-5 allocation is to provide storage for 1024 struct svc_cacherep structs, it would seem that a better approach would be to just do 1024 kmallocs. I'll try to knock a patch together in next week sometime. That works for me. Anton - To

[PATCH 2.4] I2C updates for 2.4.29 (2/3)

2005-01-29 Thread Jean Delvare
While editing i2c-algo-bit.c and i2c-algo-pcf.c (see 1/3 of this patch set), I noticed that both files include header files they do not need at all (namely linux/ioport.h and asm/uaccess.h). The following patch cleans this, additionally bringing the files in line with what we have in i2c CVS (thus

Re: Fwd: Re: flush_cache_page()

2005-01-29 Thread Russell King
On Tue, Jan 11, 2005 at 04:07:09PM -0800, Linus Torvalds wrote: On Tue, 11 Jan 2005, Russell King wrote: Any responses on this? Didn't get any last time I mailed this out. I don't have any real objections. I'd like it verified that gcc can compile away all the overhead on the architectures

[PATCH 2.4] I2C updates for 2.4.29 (3/3)

2005-01-29 Thread Jean Delvare
Original discussion: http://archives.andrew.net.au/lm-sensors/msg29038.html http://archives.andrew.net.au/lm-sensors/msg29041.html Bottom line: The id member of the i2c_client structure was discarded in Linux 2.6 due to a lack of consistent use and overall need. While we of course won't backport

Re: [Bug 4081] New: OpenOffice crashes while starting due to a threading error

2005-01-29 Thread Richard Hughes
On Fri, 28 Jan 2005 15:57:13 -0800, Stephen Hemminger wrote: Note: on 2.6.10 /dev/dri/card0 crw-rw-rw- on 2.6.11-rc2 /dev/dri/card0 crw-rw /dev/dri/card1 crw-rw Changing permissions seems to fix (it for startup), will try more and see if udev remembers not to

Re: Possible bug in keyboard.c (2.6.10)

2005-01-29 Thread Roman Zippel
Hi, On Fri, 28 Jan 2005, Vojtech Pavlik wrote: I'm very sorry about the locking, but the thing grew up in times of kernel 2.0, which didn't require any locking. There are a few possible races with device registration/unregistration, and it's on my list to fix that, however under normal

Re: [Bug 4081] New: OpenOffice crashes while starting due to a threading error

2005-01-29 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: stat64(/dev/dri/card14, 0xbff9c8bc) = -1 ENOENT (No such file or directory) What is at fault? Certainly oo shouldn't just seg-fault, but should the permissions on /dev/dri/card* be crw-rw or crw-rw-rw-? it is not a permission thing, it tells

Re: OpenOffice crashes due to incorrect access permissions on /dev/dri/card*

2005-01-29 Thread Richard Hughes
On Sat, 29 Jan 2005 12:49:16 +, Richard Hughes wrote: Note, that strace glxgears gives exactly the same output, going from 0 to 14 and then seg-faulting, so it's *not just a oo problem*. I know it's bad to answer your own post, but here goes. I changed my

[2.6 patch] drivers/block/aoe/aoechr.c cleanups

2005-01-29 Thread Adrian Bunk
This patch contains the following cleanups: - make the needlessly global struct aoe_fops static - #if 0 the unused global function aoechr_hdump Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/block/aoe/aoechr.c |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) ---

[2.6 patch] cfq-iosched.c: make some code static

2005-01-29 Thread Adrian Bunk
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- linux-2.6.11-rc2-mm1-full/drivers/block/cfq-iosched.c.old 2005-01-29 14:05:30.0 +0100 +++ linux-2.6.11-rc2-mm1-full/drivers/block/cfq-iosched.c 2005-01-29 14:05:49.0

[2.6 patch] drivers/block/paride/ cleanups

2005-01-29 Thread Adrian Bunk
The patch below does the following cleanups in each if the five changed C files: - #ifndef MODULE: remove unused setup function - make a needlessly global struct static - pf.c: pf_init_units can be static and __init After this cleanup, setup.h is completely unuse and therefore removed.

[2.6 patch] deadline-iosched.c: make a struct static

2005-01-29 Thread Adrian Bunk
This patch makes a needlessly global struct static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c.old 2005-01-29 14:07:00.0 +0100 +++ linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c 2005-01-29

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Pierre Ossman
Pierre Ossman wrote: Geert Uytterhoeven wrote: MMC_WBSD depends on ISA (needs isa_virt_to_bus()) Thanks. Shouldn't have missed something so obvious :) Russell, can you fix this in your next merge? Russell, please undo this patch. isa_virt_to_bus() is not dependent on CONFIG_ISA. It causes

[2.6 patch] drivers/block/cciss*: misc cleanups

2005-01-29 Thread Adrian Bunk
This patch contains the following cleanups: - make some needlesly global code static - cciss_scsi.c: remove the unused global function cciss_scsi_info - cciss.c: - init_cciss_module - cciss_init - cleanup_cciss_module - cciss_cleanup Signed-off-by: Adrian Bunk [EMAIL PROTECTED] ---

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Christoph Hellwig
On Sat, Jan 29, 2005 at 02:37:39PM +0100, Pierre Ossman wrote: Pierre Ossman wrote: Geert Uytterhoeven wrote: MMC_WBSD depends on ISA (needs isa_virt_to_bus()) Thanks. Shouldn't have missed something so obvious :) Russell, can you fix this in your next merge? Russell, please

Re: [PATCH] OProfile: Fix oops on undetected CPU type

2005-01-29 Thread John Levon
On Fri, Jan 28, 2005 at 12:06:19PM -0700, Zwane Mwaikambo wrote: = drivers/oprofile/oprofile_files.c 1.7 vs edited = --- 1.7/drivers/oprofile/oprofile_files.c 2005-01-04 19:48:23 -07:00 +++ edited/drivers/oprofile/oprofile_files.c 2005-01-28 11:36:25 -07:00 @@ -63,7 +63,9 @@

system calls

2005-01-29 Thread Rodrigo Ramos
Hi, I would like to know how many groups of system calls are there at Linux 2.4 and 2.6? Where can I find these informations in the Kernel? Best Regards, Rodrigo Ramos www.triforsec.com.br - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: Fwd: Re: flush_cache_page()

2005-01-29 Thread James Bottomley
On Sat, 2005-01-29 at 11:37 +, Russell King wrote: Thanks for the response. However, apart from Ralph, Paul and yourself, it seems none of the other architecture maintainers care about this patch - the original mail was BCC'd to the architecture list. Maybe that's an implicit acceptance

RE: [Discuss][i386] Platform SMIs and their interferance with tsc based delay calibration

2005-01-29 Thread Pallipadi, Venkatesh
-Original Message- From: Andrew Morton [mailto:[EMAIL PROTECTED] Subject: Re: [Discuss][i386] Platform SMIs and their interferance with tsc based delay calibration Please don't send emails which contain 500-column lines? Sorry. Something got messed up during cut and paste onto my

RE: [Discuss][i386] Platform SMIs and their interferance with tsc based delay calibration

2005-01-29 Thread Pallipadi, Venkatesh
-Original Message- From: Andi Kleen [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 10:24 PM To: Pallipadi, Venkatesh Cc: Seth, Rohit; Mallick, Asit K; linux-kernel@vger.kernel.org; [EMAIL PROTECTED] Subject: Re: [Discuss][i386] Platform SMIs and their interferance with tsc

Re: Ooops unmounting a defect DVD

2005-01-29 Thread James Bottomley
I wouldn't have noticed this at all since you didn't send it to the scsi list, but fortunately, Al Viro drew it politely to my attention as another example of SCSI refcounting problems. The issue seems to be that we have a spurious scsi_cd_put() on the error path of sr_open(). The sr_block_..()

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Russell King
Christoph, did you mean to add anything? On Sat, Jan 29, 2005 at 01:57:14PM +, Christoph Hellwig wrote: On Sat, Jan 29, 2005 at 02:37:39PM +0100, Pierre Ossman wrote: Pierre Ossman wrote: Geert Uytterhoeven wrote: MMC_WBSD depends on ISA (needs isa_virt_to_bus()) Thanks.

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Christoph Hellwig
On Sat, Jan 29, 2005 at 02:54:17PM +, Russell King wrote: Christoph, did you mean to add anything? Yes, this somehow got lost: - Russell, please undo this patch. isa_virt_to_bus() is not dependent on CONFIG_ISA. It causes problems on x86_64 platforms which cannot enable ISA

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Russell King
On Sat, Jan 29, 2005 at 03:00:23PM +, Christoph Hellwig wrote: Either way a new driver shouldn't use isa_virt_to_bus at all but rather use the proper DMA API and all those problems go away. One thing which comes up in this instance is: what struct device should be used. With ISA devices

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Christoph Hellwig
On Sat, Jan 29, 2005 at 03:13:46PM +, Russell King wrote: One thing which comes up in this instance is: what struct device should be used. Current convention is to use a NULL device, it's from pre-generic DMA times were only the pci_* types existed. - To unsubscribe from this list: send

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Pierre Ossman
Christoph Hellwig wrote: Russell, please undo this patch. isa_virt_to_bus() is not dependent on CONFIG_ISA. It causes problems on x86_64 platforms which cannot enable ISA support. Actually it is, x86_64 just refuses to set CONFIG_ISA despite having isa-like devices. Either way a new

Re: UDF madness

2005-01-29 Thread Christoph Hellwig
On Wed, Jan 26, 2005 at 08:11:41PM -0800, Andrew Morton wrote: Yes, me too. generic_shutdown_super() takes lock_super(). And udf uses lock_super for protecting its block allocation data strutures. Trivial deadlock on unmount. Filesystems really shouldn't be using lock_super() for internal

radeonfb - oops

2005-01-29 Thread Pawe Sikora
Hi, I get on serial console only this: # dmesg radeonfb_pci_register BEGIN radeonfb: ref_clk=2700, ref_div=60, xclk=15500 from BIOS radeonfb: probed SDR SGRAM 65536k videoram radeon_get_moninfo: bios 4 scratch = 202 Unable to handle kernel paging request at virtual address 083d5020

Re: [PATCH] ppc32: Add support for Pegasos machines

2005-01-29 Thread Olaf Hering
On Wed, Jan 26, Linux Kernel Mailing List wrote: ChangeSet 1.2046, 2005/01/25 20:33:08-08:00, [EMAIL PROTECTED] [PATCH] ppc32: Add support for Pegasos machines This patch, mostly from Sven Luther and reworked by me, adds support for Pegasos machines to the ppc32

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Christoph Hellwig
On Sat, Jan 29, 2005 at 04:31:16PM +0100, Pierre Ossman wrote: The problem was that the DMA API didn't work for x86_64 when I wrote the driver. I see now that it has been fixed. isa_virt_to_bus still works even though CONFIG_ISA is not configured. So It may not exist at all. - To

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Pierre Ossman
Christoph Hellwig wrote: On Sat, Jan 29, 2005 at 04:31:16PM +0100, Pierre Ossman wrote: The problem was that the DMA API didn't work for x86_64 when I wrote the driver. I see now that it has been fixed. isa_virt_to_bus still works even though CONFIG_ISA is not configured. So It may not

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Christoph Hellwig
On Sat, Jan 29, 2005 at 05:08:32PM +0100, Pierre Ossman wrote: For i386 and x86_64 it's defined as virt_to_phys in asm/io.h without any #ifdef:s protecting it. Not all the world is a PC - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [Wbsd-devel] [PATCH 540] MMC_WBSD depends on ISA

2005-01-29 Thread Pierre Ossman
Christoph Hellwig wrote: On Sat, Jan 29, 2005 at 05:08:32PM +0100, Pierre Ossman wrote: For i386 and x86_64 it's defined as virt_to_phys in asm/io.h without any #ifdef:s protecting it. Not all the world is a PC Then the dependency should in that case be on architectures. It is

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread Arjan van de Ven
On Sat, 2005-01-29 at 11:21 -0500, John Richard Moser wrote: -BEGIN PGP SIGNED MESSAGE- These are the only places mprotect() is mentioned; a visual scan confirms no trickery: if( fork() == 0 ) { /* Perform a dirty (but not unrealistic) trick to circumvent

Re: [PATCH] OProfile: Fix oops on undetected CPU type

2005-01-29 Thread Zwane Mwaikambo
On Sat, 29 Jan 2005, John Levon wrote: On Fri, Jan 28, 2005 at 12:06:19PM -0700, Zwane Mwaikambo wrote: = drivers/oprofile/oprofile_files.c 1.7 vs edited = --- 1.7/drivers/oprofile/oprofile_files.c 2005-01-04 19:48:23 -07:00 +++ edited/drivers/oprofile/oprofile_files.c

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread Arjan van de Ven
On Sat, 2005-01-29 at 11:21 -0500, John Richard Moser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan van de Ven wrote: I actually just tried to paxtest a fresh Fedora Core 3, unadultered, that I installed, and it FAILED every test. After a while, spender reminded me about

Re: Why does the kernel need a gig of VM?

2005-01-29 Thread Chris Friesen
John Richard Moser wrote: So what's the layout of that top 1G? What's it all used for? Is there some obscene restriction of 1G of shared memory or something that gets mapped up there? How much does it need, and why? What, if anything, is variable and likely to do more than 10 or 15 megs of

Re: Fwd: Re: flush_cache_page()

2005-01-29 Thread Ralf Baechle
On Sat, Jan 29, 2005 at 08:29:22AM -0600, James Bottomley wrote: On Sat, 2005-01-29 at 11:37 +, Russell King wrote: Thanks for the response. However, apart from Ralph, Paul and yourself, Who are you talking about ;-) it seems none of the other architecture maintainers care about this

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan van de Ven wrote: On Sat, 2005-01-29 at 11:21 -0500, John Richard Moser wrote: -BEGIN PGP SIGNED MESSAGE- These are the only places mprotect() is mentioned; a visual scan confirms no trickery: if( fork() == 0 ) {

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan van de Ven wrote: On Sat, 2005-01-29 at 11:21 -0500, John Richard Moser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arjan van de Ven wrote: I actually just tried to paxtest a fresh Fedora Core 3, unadultered, that I installed,

[2.6 patch] mark the mcd cdrom driver as BROKEN

2005-01-29 Thread Adrian Bunk
The mcd driver drives only very old hardware (some single and double speed CD drives that were connected either via the soundcard or a special ISA card), and the mcdx driver offers more functionality for the same hardware. My plan is to mark MCD as broken in 2.6.11 and if noone complains

[2.6 patch] drivers/cdrom/isp16.c: small cleanups

2005-01-29 Thread Adrian Bunk
This patch makes the needlessly global function isp16_init static. As a result, it turned out that both this function and some other code are only required #ifdef MODULE. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/cdrom/isp16.c | 13 - drivers/cdrom/isp16.h |1

Re: [2.6 patch] mark the mcd cdrom driver as BROKEN

2005-01-29 Thread Jean Delvare
Hi Adrian, The mcd driver drives only very old hardware (some single and double speed CD drives that were connected either via the soundcard or a special ISA card), and the mcdx driver offers more functionality for the same hardware. My plan is to mark MCD as broken in 2.6.11 and if

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread Jakub Jelinek
On Sat, Jan 29, 2005 at 01:31:46AM -0500, John Richard Moser wrote: Finally, although an NX stack is nice, you should probably take into account IBM's stack smash protector, ProPolice. Any attack that can evade SSP reliably can evade an NX stack; but ProPolice protects from other overflows.

Re: OpenOffice crashes due to incorrect access permissions on /dev/dri/card*

2005-01-29 Thread Alessandro Suardi
On Sat, 29 Jan 2005 13:02:51 +, Richard Hughes [EMAIL PROTECTED] wrote: On Sat, 29 Jan 2005 12:49:16 +, Richard Hughes wrote: Note, that strace glxgears gives exactly the same output, going from 0 to 14 and then seg-faulting, so it's *not just a oo problem*. I know it's bad to

Re: [Discuss][i386] Platform SMIs and their interferance with tsc based delay calibration

2005-01-29 Thread Linus Torvalds
On Fri, 28 Jan 2005, Venkatesh Pallipadi wrote: Current tsc based delay_calibration can result in significant errors in loops_per_jiffy count when the platform events like SMIs (System Management Interrupts that are non-maskable) are present. This could lead to potential kernel panic().

Re: system calls

2005-01-29 Thread Robert Love
On Sat, 2005-01-29 at 10:53 -0300, Rodrigo Ramos wrote: I would like to know how many groups of system calls are there at Linux 2.4 and 2.6? Where can I find these informations in the Kernel? I don't know what you mean by groups (a nonempty set G with binary operation * s.t. G is

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jakub Jelinek wrote: On Sat, Jan 29, 2005 at 01:31:46AM -0500, John Richard Moser wrote: Finally, although an NX stack is nice, you should probably take into account IBM's stack smash protector, ProPolice. Any attack that can evade SSP reliably

Re: [2.6 patch] drivers/cdrom/isp16.c: small cleanups

2005-01-29 Thread Bartlomiej Zolnierkiewicz
Hi, On Sat, 29 Jan 2005 18:11:08 +0100, Adrian Bunk [EMAIL PROTECTED] wrote: This patch makes the needlessly global function isp16_init static. As a result, it turned out that both this function and some other code are only required #ifdef MODULE. Your patch is correct but it is wrong. ;)

Re: Ooops unmounting a defect DVD

2005-01-29 Thread Oliver Neukum
Am Samstag, 29. Januar 2005 15:46 schrieb James Bottomley: I wouldn't have noticed this at all since you didn't send it to the scsi list, but fortunately, Al Viro drew it politely to my attention as another example of SCSI refcounting problems. Sorry, it happening in cdrom_release fooled me

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread Christoph Hellwig
On Sat, Jan 29, 2005 at 12:49:05PM -0500, John Richard Moser wrote: The ideas in IBM's ProPolice changes are good and worth implementing, but the current implementation is bad. Lies. I've read the paper on the current implementation, it's definitely good. It only operates on C/C++

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christoph Hellwig wrote: On Sat, Jan 29, 2005 at 12:49:05PM -0500, John Richard Moser wrote: The ideas in IBM's ProPolice changes are good and worth implementing, but the current implementation is bad. Lies. I've read the paper on the current

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread Rik van Riel
On Sat, 29 Jan 2005, John Richard Moser wrote: Did I miss the target? *Aims in the other direction then?* Depends. If you aimed to kick your own arse, you did pretty well. -- Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as

Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

2005-01-29 Thread Fruhwirth Clemens
On Tue, 2005-01-25 at 10:52 -0500, James Morris wrote: On Mon, 24 Jan 2005, Andrew Morton wrote: These patches clash badly with Michael Ludvig's work:

Re: Patch 4/6 randomize the stack pointer

2005-01-29 Thread Christoph Hellwig
On Sat, Jan 29, 2005 at 01:10:54PM -0500, John Richard Moser wrote: Yeah, I guess your extensive compiler internals experience and knowledge of gcc internals weights a lot more than the opinion of the gcc team.. I read implementation as the way it's implemented, not as the quality of

Re: system calls

2005-01-29 Thread Andries Brouwer
On Sat, Jan 29, 2005 at 12:47:38PM -0500, Robert Love wrote: System calls are prefixed by sys_. Thus, read(2) is implemented in the kernel as sys_read(). Now that you say this - of course you know that the actual situation is much more messy. Sometimes I wonder whether it would be useful to

Re: [PATCH] OpenBSD Networking-related randomization port

2005-01-29 Thread Florian Weimer
* Lorenzo Hernández García-Hierro: As it's impact is minimal (in performance and development/maintenance terms), I recommend to merge it, as it gives a basic prevention for the so-called system fingerprinting (which is used most by kids to know how old and insecure could be a target system,

Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

2005-01-29 Thread Andrew Morton
Fruhwirth Clemens [EMAIL PROTECTED] wrote: My advise is, drop Michaels patches for now, merge scatterwalker and add an ability to change the stepsize dynamically in the run. Then I will finish my port and post it. If we can agree on this agenda, I'll shift my focus to scatterwalker

Re: critical bugs in md raid5 and ATA disk failure/recovery modes

2005-01-29 Thread Pavel Machek
Hi! The nasty part there is that it can affect completely unrelated data too (on a traditional disk you normally only lose the data that is currently being written) because of of the relationship between stripes on different disks. Well, you could set stripe size to 512B; that way,

Re: critical bugs in md raid5 and ATA disk failure/recovery modes

2005-01-29 Thread Andi Kleen
Well, you could set stripe size to 512B; that way, RAID-5 would be *very* slow, but it should have same characteristics as normal disc w.r.t. crash. Unrelated data would not be lost, and you'd either get old data or new data... When you lose a disk during recovery you can still lose unrelated

Re: critical bugs in md raid5 and ATA disk failure/recovery modes

2005-01-29 Thread Pavel Machek
Hi! Well, you could set stripe size to 512B; that way, RAID-5 would be *very* slow, but it should have same characteristics as normal disc w.r.t. crash. Unrelated data would not be lost, and you'd either get old data or new data... When you lose a disk during recovery you can still

Re: AT keyboard dead on 2.6

2005-01-29 Thread Vojtech Pavlik
On Fri, Jan 28, 2005 at 02:27:20PM -0500, Dmitry Torokhov wrote: On Fri, 28 Jan 2005 20:22:32 +0100, Wiktor [EMAIL PROTECTED] wrote: Hi, This dmesg looks like the keyboard works perfectly OK. Do new lines appear in dmesg when you press keys while the system is running?

Re: AT keyboard dead on 2.6

2005-01-29 Thread Vojtech Pavlik
On Fri, Jan 28, 2005 at 08:22:32PM +0100, Wiktor wrote: Hi, This dmesg looks like the keyboard works perfectly OK. Do new lines appear in dmesg when you press keys while the system is running? .no? no, they don't. i've new dmesg for you - it reports timeouts while trying to

Re: AT keyboard dead on 2.6

2005-01-29 Thread Vojtech Pavlik
On Fri, Jan 28, 2005 at 08:49:03PM +0100, Wiktor wrote: Hi, Could you please try editing drivers/input/serio/i8042.c and add udelay(20) before and after calls to i8042_write_data() in i8042_kbd_write() and i8042_command(). of course i could, will it make kernel not detect smoked AUX port?

[PATCH 1/3] Fix MUX mode disabling.

2005-01-29 Thread Vojtech Pavlik
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/for-linus === [EMAIL PROTECTED], 2005-01-28 21:11:52+01:00, [EMAIL PROTECTED] input: Fix MUX mode disabling. Signed-off-by: Vojtech Pavlik [EMAIL

Re: i8042 access timings

2005-01-29 Thread Vojtech Pavlik
On Fri, Jan 28, 2005 at 04:20:58PM +0200, Jaco Kroon wrote: Vojtech Pavlik wrote: On Thu, Jan 27, 2005 at 09:29:47PM +0100, Andries Brouwer wrote: So what _might_ happen is that we write the command, and then i8042_wait_write() thinks that there is space to write the data immediately,

[PATCH 2/3] Document the atkbd.softraw module parameter.

2005-01-29 Thread Vojtech Pavlik
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/for-linus === [EMAIL PROTECTED], 2005-01-29 12:27:56+01:00, [EMAIL PROTECTED] input: Document the atkbd.softraw module parameter. From: Andries Brouwer

2.6.10-ac11 announcement?

2005-01-29 Thread Ralf Hildebrandt
Where is the 2.6.10-ac11 announcement? -- Ralf Hildebrandt (i.A. des IT-Zentrum) [EMAIL PROTECTED] Charite - Universitätsmedizin BerlinTel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-BerlinFax. +49 (0)30-450 570-962 IT-Zentrum Standort CBF

patch - ftdi_sio.c floods my logs with write request of 0 bytes

2005-01-29 Thread Elias Oltmanns
Hi there, unfortunately, I'm everything else but a developer, so please be a bit patient with me. As indicated by the subject, I got annoyed by the error message mentioned flooding my log files. Comparing ftdi_sio.c to some of the other usb-serial converter drivers, I decided to apply the

How do I get a list of all pids on 2.6? (what's wrong with this code)

2005-01-29 Thread Jed Brazos
Hi, I'm trying to list all of the tasks and their children. (Im using a 2.6.5-7 kernel) The code below does not list all of the pids as compared to the /proc entries. Why does the following code not list all of the active pids in the system? please cc this id. ---

Re: AT keyboard dead on 2.6

2005-01-29 Thread Vojtech Pavlik
On Fri, Jan 28, 2005 at 09:22:20PM +0100, Wiktor wrote: Hi, We do test AUX port and your port appears to be perfectly functional from the kernel point of view - it porperly responds to AUX_LOOP commands, does not claim to support MUX mode and KBC properly sets status register when asked to

[PATCH 3/3] Fix 'event field not found' message filling logs

2005-01-29 Thread Vojtech Pavlik
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/for-linus === [EMAIL PROTECTED], 2005-01-29 13:09:24+01:00, [EMAIL PROTECTED] input: Ignore non-LED events in hid-input hidinput_event(). This gets rid

Re: [PATCH] Restrict procfs permissions

2005-01-29 Thread Rene Scharfe
Al Viro wrote: On Sat, Jan 29, 2005 at 03:45:42AM +0100, Rene Scharfe wrote: The patch is inspired by the /proc restriction parts of the GrSecurity patch. The main difference is the ability to configure the restrictions dynamically. You can change the umask setting by running # mount -o

Re: OpenOffice crashes due to incorrect access permissions on /dev/dri/card*

2005-01-29 Thread Jon Smirl
On Sat, 29 Jan 2005 13:02:51 +, Richard Hughes [EMAIL PROTECTED] wrote: On Sat, 29 Jan 2005 12:49:16 +, Richard Hughes wrote: Note, that strace glxgears gives exactly the same output, going from 0 to 14 and then seg-faulting, so it's *not just a oo problem*. I know it's bad to

[PATCH 0/3] - Three more input fixes for 2.6.11

2005-01-29 Thread Vojtech Pavlik
Hi! The previous set introduced one bug, mostly harmless, but pretty annoying - the hid-input driver fills the logs with the 'event field not found' message. I'm sorry for that, I just tested that the patch does what it should and didn't check the logs. The last of these three patches fixes

Re: [PATCH 0/16] New set of input patches

2005-01-29 Thread Vojtech Pavlik
On Thu, Jan 27, 2005 at 01:18:55PM -0500, Dmitry Torokhov wrote: On Thu, 27 Jan 2005 17:36:05 +0100, Vojtech Pavlik [EMAIL PROTECTED] wrote: On Thu, Jan 27, 2005 at 05:15:18PM +0100, Vojtech Pavlik wrote: OK. I'll go through them, and apply as appropriate. I still need to wrap my mind

Re: Possible bug in keyboard.c (2.6.10)

2005-01-29 Thread Vojtech Pavlik
On Fri, Jan 28, 2005 at 10:59:39PM +0100, Andries Brouwer wrote: On Fri, Jan 28, 2005 at 12:10:05PM +0100, Vojtech Pavlik wrote: And, btw, raw mode in 2.6 is not badly broken. It works as it is intended to. If you want the 2.4 behavior on x86, you just need to specify atkbd.softraw=0 on

Re: AT keyboard dead on 2.6

2005-01-29 Thread Vojtech Pavlik
On Fri, Jan 28, 2005 at 08:39:42PM +0100, Wiktor wrote: Hi, IT WORKED! Please try i8042.noaux=1. You say you're using a serial mouse in your other e-mail, so the system may not have an AUX port yet the kernel thinks it does. This may cause the keyboard to stop responding. command line

Re: Possible bug in keyboard.c (2.6.10)

2005-01-29 Thread Vojtech Pavlik
On Sat, Jan 29, 2005 at 01:11:08PM +0100, Roman Zippel wrote: I'm very sorry about the locking, but the thing grew up in times of kernel 2.0, which didn't require any locking. There are a few possible races with device registration/unregistration, and it's on my list to fix that, however

Re: USB HID events and Microsoft wheel mouse

2005-01-29 Thread Vojtech Pavlik
On Fri, Jan 28, 2005 at 11:02:52PM -0500, Jon Smirl wrote: Something changed in the Linus BK kernel in the last few days so that I get drivers/usb/input/hid-input.c: event field not found in dmesg everytime I move my MS Wheel mouse. Any ideas on how to get rid of this? The events are

  1   2   3   4   >