Re: [PATCH] constify tables in kernel/sysctl_check.c

2007-12-21 Thread Eric W. Biederman
"Jan Beulich" <[EMAIL PROTECTED]> writes: Eric W. Biederman <[EMAIL PROTECTED]> 21.12.07 00:05 >>> >>"Jan Beulich" <[EMAIL PROTECTED]> writes: >> >>> Remains the question whether it is intended that many, perhaps even >>> large, tables are compiled in without ever having a chance to get

[RFC] USB Kconfig: Declutter USB Kconfig Menu

2007-12-21 Thread Al Boldi
The current USB Kconfig menu is rather cluttered and unorganized. Propose new layout as follows: l USB support qk x Arrow keys navigate the menu. selects submenus --->. Highlighted letters x x are hotkeys.

Re: drive appears confused; hda lost interrupt; IRQ169: nobody cared

2007-12-21 Thread Alan Cox
> I changed the mainboard of this computer recently to this P4P800-SE from > a rubish oem SIS chipset board and I had the problems right away, > starting with kernel 2.6.18 but problems persist even with 2.6.23 > (Debian kernels). Your IRQ routing appears broken. That is usually a BIOS problem.

Re: [patch 21/24] Immediate Values - x86 Optimization NMI and MCE support (updated)

2007-12-21 Thread Mathieu Desnoyers
x86 optimization of the immediate values which uses a movl with code patching to set/unset the value used to populate the register used as variable source. It uses a breakpoint to bypass the instruction being changed, which lessens the interrupt latency of the operation and protects against NMIs

Re: [patch 14/24] Immediate Values - x86 Optimization (updated)

2007-12-21 Thread Mathieu Desnoyers
x86 optimization of the immediate values which uses a movl with code patching to set/unset the value used to populate the register used as variable source. Changelog: - Use text_poke_early with cr0 WP save/restore to patch the bypass. We are doing non atomic writes to a code region only touched

Re: [patch 14/24] Immediate Values - x86 Optimization (updated)

2007-12-21 Thread Mathieu Desnoyers
* H. Peter Anvin ([EMAIL PROTECTED]) wrote: > Mathieu Desnoyers wrote: >> Argh.. Rusty asked to have a simplified version first, and then to >> implement the "more complex" one on top of it. However, in order to get >> the reentrancy I need for the markers, I need the complex version of the >>

Re: [Jan Beulich] [PATCH] constify tables in kernel/sysctl_check.c

2007-12-21 Thread Eric W. Biederman
Dave Jones <[EMAIL PROTECTED]> writes: > On Thu, Dec 20, 2007 at 04:14:05PM -0700, Eric W. Biederman wrote: > > > Remains the question whether it is intended that many, perhaps even > > large, tables are compiled in without ever having a chance to get used, > > i.e. whether there shouldn't

Re: [PATCH 2/2] scsi: Use new __dma_buffer to align sense buffer in scsi_cmnd

2007-12-21 Thread Matthew Wilcox
On Fri, Dec 21, 2007 at 10:33:26AM +, Alan Cox wrote: > On Fri, 21 Dec 2007 13:30:08 +1100 > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > The sense buffer ins scsi_cmnd can nowadays be DMA'ed into directly > > by some low level drivers (that typically happens with USB mass > >

Re: [PATCH 06/63] ide-cd: fix error messages in cdrom_write_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

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

Re: [PATCH 0/10] sysfs network namespace support

2007-12-21 Thread Eric W. Biederman
Greg KH <[EMAIL PROTECTED]> writes: > On Sat, Dec 01, 2007 at 02:06:58AM -0700, Eric W. Biederman wrote: >> >> Now that we have network namespace support merged it is time to >> revisit the sysfs support so we can remove the dependency on !SYSFS. > > > > Oops, I forgot to apply this to my tree.

Re: [PATCH] w1-gpio: Add GPIO w1 bus master driver (v2)

2007-12-21 Thread Evgeniy Polyakov
On Fri, Dec 21, 2007 at 02:45:46PM +0200, Ville Syrjala ([EMAIL PROTECTED]) wrote: > Add a GPIO 1-wire bus master driver. The driver used the GPIO API to > control the wire and the GPIO pin can be specified using platform data > similar to i2c-gpio. The driver was tested with AT91SAM9260 +

Re: [PATCH 07/63] ide-cd: add error message for DMA error to cdrom_read_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH 42/63] ide-cd: coding style fixes for cdrom_get_toc_entry()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: This is a preparation to move code handling cdrom.c IOCTLs out of ide-cd.c. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 14/63] ide-cd: fix trailing whitespaces in changelog

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH 17/63] ide-cd: remove unused defines from ide-cd.h

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-21 Thread Pavel Machek
On Tue 2007-12-18 17:06:24, Matthew Bloch wrote: > Hi - I'm trying to come up with a way of thoroughly testing every byte > of RAM from within Linux on amd64 (so that it can be automated better > than using memtest86+), and came up with an idea which I'm not sure is > supported or practical. > >

Re: [PATCH -mm 05/43] compat_binfmt_elf

2007-12-21 Thread Arnd Bergmann
On Thursday 20 December 2007, Roland McGrath wrote: > This adds fs/compat_binfmt_elf.c, a wrapper around fs/binfmt_elf.c for > 32-bit ELF support on 64-bit kernels.  It can replace all the hand-rolled > versions of this that each 32/64 arch has, which are all about the same. Great stuff! I've

Re: [PATCH 59/63] ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_rw_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: almost daily Kernel oops with 2.6.23.9 - and now 2.6.23.11 as well

2007-12-21 Thread Hemmann, Volker Armin
On Freitag, 21. Dezember 2007, Mike Galbraith wrote: > On Thu, 2007-12-20 at 19:14 +0100, Hemmann, Volker Armin wrote: > > It is just.. I could be the hardware - but I should have seen the > > same 'problem' with earlier kernels - and the 'almost daily oops' only > > started with 2.6.23. > >

Re: [PATCH 2/3 -mm] kexec jump -v8 : add write support to oldmem device

2007-12-21 Thread huang ying
On Dec 21, 2007 6:17 PM, Pavel Machek <[EMAIL PROTECTED]> wrote: > Hi! > > > This patch adds writing support for /dev/oldmem. This can be used to > > > > - Communicate between original kernel and kexeced kernel through write > > to some pages in original kernel. > > > > - Restore the memory

Re: [PATCH 63/63] ide-cd: update driver version, comments and copyrights

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: * Bump driver version. * Remove filename and stale TODO from comments. * Add my copyrights. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send

Re: [PATCH 46/63] ide-cd: call blk_dump_rq_flags() on "missing data" in cdrom_newpc_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

[PATCH] w1-gpio: Add GPIO w1 bus master driver (v2)

2007-12-21 Thread Ville Syrjala
Add a GPIO 1-wire bus master driver. The driver used the GPIO API to control the wire and the GPIO pin can be specified using platform data similar to i2c-gpio. The driver was tested with AT91SAM9260 + DS2401. Signed-off-by: Ville Syrjala <[EMAIL PROTECTED]> --- Version 2 of the patch changes the

Re: [PATCH 21/63] ide-cd: remove unused and write-only struct ide_cd_config_flags fields

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: unused fields: * ->writing * ->reserved write-only fields: * ->playmsf_as_bcd * ->subchan_as_bcd * ->test_write * ->supp_disc_present Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei

Re: Trying to convert old modules to newer kernels

2007-12-21 Thread Jan Engelhardt
On Dec 21 2007 12:08, James Courtier-Dutton wrote: > That being said, I don't think sse and mmx are available in kernel > space, so I would have suggested doing all the grunt work in > userspace would be better for this persons application so that he > could use sse and mmx etc. > They are

Re: [PATCH] w1-gpio: Add GPIO w1 bus master driver

2007-12-21 Thread Ville Syrjälä
On Fri, Dec 21, 2007 at 01:41:28PM +0300, Evgeniy Polyakov wrote: > Hi Ville. > > On Fri, Dec 21, 2007 at 09:34:01AM +0200, Ville Syrjala ([EMAIL PROTECTED]) > wrote: > > Add a GPIO 1-wire bus master driver. The driver used the GPIO API to > > control the wire and the GPIO pin can be specified

Re: [PATCH 20/63] ide-cd: remove needless zeroing of 'info' fields from ide_cdrom_setup()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: ide_cd_probe() zeroes 'info' prior to calling ide_cdrom_setup() so there is no need to explicitly zero 'info' fields in the latter function. Ditto for fields of CDROM_STATE_FLAGS(), CDROM_CONFIG_FLAGS() and 'cdi' (all are embedded in 'info').

Re: [PATCH 22/63] ide-cd: remove struct atapi_{mechstat_header,changer_info,slot}

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: * Remove ->changer_info from struct cdrom_info (it is never allocated). * Remove unused struct atapi_{mechstat_header,changer_info,slot}. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR,

Re: Warnings from sched_debug.c

2007-12-21 Thread Meelis Roos
> it should be harmless. Does the patch below fix the warnings? Yes, the warnings are gone, thanks! However, I found another somewhat strange thing while testing it - touching kernels/sched_debug.c does not cause a recompile since sched_debug.c is only #included from sched.c. Found it because

Re: Linux 2.6.24-rc5 x86 architecture no longer Oopses...

2007-12-21 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > > +/* > > + * Migration helpers - the proper API is the local_read_flags API. > > + * Will go away in v2.6.26. > > + */ > > +#define local_save_flags local_read_flags > > +#define __local_save_flags __local_read_flags > > +#define

Re: Major regression on hackbench with SLUB (more numbers)

2007-12-21 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > * Christoph Lameter <[EMAIL PROTECTED]> wrote: > > > H... Some tests here on an 8p 8G machine: > > > In an extreme case (boot with slub_min_order=9 to get huge page sized > > slabs) SLUB can win against SLAB: > > > > N=10 Time: 0.338

Re: [PATCH - SH/Dreamcast] Add support for GD-Rom device

2007-12-21 Thread Jens Axboe
On Fri, Dec 21 2007, Jens Axboe wrote: > static void gdrom_readdisk_dma(struct work_struct *work) > { > ... > > read_command = kzalloc(sizeof(struct packet_command), GFP_KERNEL); > if (!read_command) > probably just defer the work to some time later > >

Re: Trying to convert old modules to newer kernels

2007-12-21 Thread James Courtier-Dutton
J.A. Magallón 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 drivers. We make very high-speed number-crunching drivers that munge high-speed data into images. We

Re: [PATCH 1/3] SG: Move functions to lib/scatterlist.c and add sg chaining allocator helpers

2007-12-21 Thread Herbert Xu
Boaz Harrosh <[EMAIL PROTECTED]> wrote: > > diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h > index 416e000..c3ca848 100644 > --- a/include/linux/scatterlist.h > +++ b/include/linux/scatterlist.h > @@ -7,6 +7,12 @@ > #include > #include > > +struct sg_table { > +

Re: [PATCH 30/63] ide-cd: remove NO_DOOR_LOCKING define

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH - SH/Dreamcast] Add support for GD-Rom device

2007-12-21 Thread Jens Axboe
On Fri, Dec 21 2007, Adrian McMenamin wrote: > On 20/12/2007, Adrian McMenamin <[EMAIL PROTECTED]> wrote: > > This patch adds support for the CD Rom device (called a "GD Rom") on > > the SEGA Dreamcast.This device has a command block similar to a > > standard ATA-3 device, though implements Sega's

Re: [PATCH 34/63] ide-cd: remove duplicate sense keys definitions from ide-cd.h

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: ide-cd.c already uses sense keys definitions from . Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH 0/5] sg_ring for scsi

2007-12-21 Thread Herbert Xu
Rusty Russell <[EMAIL PROTECTED]> wrote: > > 2) It allows others to manipulate sg chains, which couldn't be done before > (eg. the ATA code which wants to append a padding element). Yes chaining at the end is very useful for the crypto layer as well. Thanks, -- Visit Openswan at

Re: [PATCH 23/63] ide-cd: cleanup ide_cdrom_update_speed()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: Major regression on hackbench with SLUB (more numbers)

2007-12-21 Thread Ingo Molnar
* Christoph Lameter <[EMAIL PROTECTED]> wrote: > H... Some tests here on an 8p 8G machine: > In an extreme case (boot with slub_min_order=9 to get huge page sized > slabs) SLUB can win against SLAB: > > N=10 Time: 0.338 Minimally faster > N=20 Time: 0.560 10% faster > N=50 Time:

drive appears confused; hda lost interrupt; IRQ169: nobody cared

2007-12-21 Thread Michael Schmitt
Hi folks, I have some major or at least annoying issues with a Asus P4P800-SE mainboard. It has 2 pATA connectors (so 4 drives) and 2 sATA connectors. In addition I plugged in another sATA controller too (to isolate problems with the mainboard chipset more easily) with two sATA connectors. All

Re: [PATCH 12/63] ide-cd: fix "missing data" handling in cdrom_pc_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: If drive still wants to transfer the data we need to pad the transfer instead of just finishing the request. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this

Re: [PATCH 19/63] ide-cd: remove unused struct atapi_cdrom_subchnl

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH 18/63] ide-cd: remove dead code from cdrom_pc_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

RE: Trailing periods in kernel messages

2007-12-21 Thread David Schwartz
Jan Engelhardt wrote: > On Dec 21 2007 17:56, Herbert Xu wrote: > >> > >> I do not believe "opinions" are relevant here. Relevant would be cites > >> from respected style guides (Fowlers, Oxford Guide To Style et al.) to > >> show they do not need a full stop. > >> > >> I've not found one, but I

Re: [PATCH 16/63] ide-cd: remove stale cdrom_transfer_packet_command() comment

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: ncpfs unlink() handling question

2007-12-21 Thread Anton Altaparmakov
Hi, On 21 Dec 2007, at 11:01, Atro Tossavainen wrote: I've just noticed that ncpfs (or rather, NetWare) doesn't implement POSIX semantics w.r.t. unlink(). Specifically, any operation that expects, according to POSIX, that the contents of an open but unlink()ed file should remain available

Re: [PATCH 13/63] ide-cd: fix DMA error handling in cdrom_newpc_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Make cdrom_newpc_intr() match cdrom_{read,write}_intr() w.r.t. handling DMA errors: * disable DMA before cdrom_decode_status() call * log the device name and the type of the request (read/write) Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL

Re: [PATCH 09/63] ide-cd: fix 'ireason' reporting in cdrom_pc_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Mask 'ireason' variable so only the valid interrupt reason bits will be reported on "drive appears confused" error. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe

Top 10 kernel oopses/warnings for the week of December 21st 2007

2007-12-21 Thread Arjan van de Ven
The http://www.kerneloops.org website collects kernel oops and warning reports from various mailing lists and bugzillas as well as with a client users can install to auto-submit oopses. Below is a top 10 list of the oopses collected in the last 7 days. (Reports prior to 2.6.23 have been omitted

Re: [PATCH 08/63] ide-cd: fix error message in cdrom_pc_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: Trailing periods in kernel messages

2007-12-21 Thread Jan Engelhardt
On Dec 21 2007 19:41, Herbert Xu wrote: >On Fri, Dec 21, 2007 at 11:10:38AM +0100, Jan Engelhardt wrote: >> >> >[XFS] Initialise current offset in xfs_file_readdir correctly >> > >> >The reason is that it lacks a subject. >> >> "current offset" is your subject. > >In my school we were taught

Re: [PATCH 05/63] ide-cd: add missing 'ireason' masking to cdrom_write_intr()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Mask 'ireason' variable with 0x3 so the valid interrupt reason value is passed to cdrom_write_check_ireason() for checking. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To

Re: [PATCH 04/63] ide-cd: fix error messages in cdrom_{read,write}_check_ireason()

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH 01/63] ide-cd: fix SAMSUNG CD-ROM SCR-3231 quirk

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: cdi->mask is cleared by ide_cdrom_register() which is called after the quirk. Fix it by adding new ->no_speed_select flag to struct ide_cd_config_flags and using it in ide_cdrom_register() to set CDC_SELECT_SPEED flag. Signed-off-by: Bartlomiej

Re: [PATCH 02/63] ide-cd: fix ACER/AOpen 24X CDROM speed reporting on big-endian machines

2007-12-21 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: * Fix ACER/AOpen 24X CDROM speed reporting on big-endian machines by adding missing le16_to_cpu() calls. While at it: * Replace ntohs() by be16_to_cpu(). Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL

Re: Trailing periods in kernel messages

2007-12-21 Thread Herbert Xu
On Fri, Dec 21, 2007 at 11:10:38AM +0100, Jan Engelhardt wrote: > > > [XFS] Initialise current offset in xfs_file_readdir correctly > > > >The reason is that it lacks a subject. > > "current offset" is your subject. In my school we were taught that "current offset" is part of the predicate

Re: Linux 2.6.24-rc5 x86 architecture no longer Oopses...

2007-12-21 Thread Andrew Morton
On Fri, 21 Dec 2007 12:12:07 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > I'd suggest that we add a local_read_flags() along with > > local_save_flags(). Then I can merge the parts of the patch which > > don't get destroyed by ongoing churn

Re: [PATCH] Use ilog2() in fs/namespace.c

2007-12-21 Thread Eric Dumazet
On Fri, 21 Dec 2007 02:29:12 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Fri, 14 Dec 2007 18:51:06 +0100 Eric Dumazet <[EMAIL PROTECTED]> wrote: > > > We can use ilog2() in fs/namespace.c to compute hash_bits and hash_mask at > > compile time, not runtime. > > Well noted. > > >

ncpfs unlink() handling question

2007-12-21 Thread Atro Tossavainen
Hello all, I've just noticed that ncpfs (or rather, NetWare) doesn't implement POSIX semantics w.r.t. unlink(). Specifically, any operation that expects, according to POSIX, that the contents of an open but unlink()ed file should remain available to the application that has it open, such as

Re: almost daily Kernel oops with 2.6.23.9 - and now 2.6.23.11 as well

2007-12-21 Thread Ingo Molnar
* Hemmann, Volker Armin <[EMAIL PROTECTED]> wrote: > Ok, so after the holidays I will do the following: > > let memtest86+ run several hours. do a full backup to switch > to r3 and build an unpatched kernel. see if I can reproduce the oops > with .21 and .22 (because AFAIR no oops with 21..

Re: Linux 2.6.24-rc5 x86 architecture no longer Oopses...

2007-12-21 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > I'd suggest that we add a local_read_flags() along with > local_save_flags(). Then I can merge the parts of the patch which > don't get destroyed by ongoing churn and then we can come in and clean > up the stragglers later. ah, indeed. like the

Re: [PATCH -mm 01/43] user_regset header

2007-12-21 Thread David Woodhouse
On Fri, 2007-12-21 at 00:44 -0800, Roland McGrath wrote: > > What's a Red Hat Author? Sorry for the nitpicking, but why don't you > > just use Author like everyone else? > > This text is the standard that my employer specifies. I have never heard of this. -- dwmw2 -- To unsubscribe from

[PATCH] SMbus i2c-i801 ioports request.

2007-12-21 Thread Maxim Uvarov
Seems it was not on lkml mail list. MPCBL0040 target has buggy DC752HRA bios with wrong length of SMBus region (SMBL field). That makes acpi pnp code reserve incorrect region. i2c-801 driver fails on requesting ioport region because half of this region is alredy held by acpi pnp and regions

Re: Warnings from sched_debug.c

2007-12-21 Thread Ingo Molnar
* Meelis Roos <[EMAIL PROTECTED]> wrote: > This happens on sparc64 with 2.6.24-rc6 (gcc-4.2): > > CC kernel/sched.o > In file included from kernel/sched.c:879: > kernel/sched_debug.c: In function 'nsec_high': > kernel/sched_debug.c:38: warning: comparison of distinct pointer types lacks

Re: [PATCH 2/3 -mm] kexec jump -v8 : add write support to oldmem device

2007-12-21 Thread Bernhard Walle
* Pavel Machek <[EMAIL PROTECTED]> [2007-12-21 11:17]: > Or is crashdump only supported on i386? No. Thanks, Bernhard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [patch 17/20] non-reclaimable mlocked pages

2007-12-21 Thread Nick Piggin
On Friday 21 December 2007 07:56, Rik van Riel wrote: > On Wed, 19 Dec 2007 11:04:26 -0500 > > Lee Schermerhorn <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-12-19 at 08:45 -0500, Rik van Riel wrote: > > > On Wed, 19 Dec 2007 11:56:48 +1100 > > > > > > Nick Piggin <[EMAIL PROTECTED]> wrote: > > > >

Re: Linux 2.6.24-rc5 x86 architecture no longer Oopses...

2007-12-21 Thread Andrew Morton
On Fri, 21 Dec 2007 11:27:27 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > local_read_flags(). > > > > > that should have been raw_local_irq_save(flags)! > > > > So raw_local_save_flags() and raw_local_irq_save() have different semantics. > > > > omigawd, what have we done? > > i really

Re: [PATCH 2/2] scsi: Use new __dma_buffer to align sense buffer in scsi_cmnd

2007-12-21 Thread Alan Cox
On Fri, 21 Dec 2007 13:30:08 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > The sense buffer ins scsi_cmnd can nowadays be DMA'ed into directly > by some low level drivers (that typically happens with USB mass > storage). Should that not be fixed in USB storage by using

Re: [PATCH] w1-gpio: Add GPIO w1 bus master driver

2007-12-21 Thread Evgeniy Polyakov
Hi Ville. On Fri, Dec 21, 2007 at 09:34:01AM +0200, Ville Syrjala ([EMAIL PROTECTED]) wrote: > Add a GPIO 1-wire bus master driver. The driver used the GPIO API to > control the wire and the GPIO pin can be specified using platform data > similar to i2c-gpio. The driver was tested with

[PATCH] constify tables in kernel/sysctl_check.c (v2, resend)

2007-12-21 Thread Jan Beulich
Remains the question whether it is intended that many, perhaps even large, tables are compiled in without ever having a chance to get used, i.e. whether there shouldn't #ifdef CONFIG_xxx get added. (Cut-n-paste mistake corrected, pointed out by Dave Jones.) Signed-off-by: Jan Beulich <[EMAIL

[PATCH 2/3] (Resend part #1) Add the RapidIO support to powerpc architecture with memory mapping support.

2007-12-21 Thread Zhang Wei
The patch adds the RapidIO support to powerpc with of-device support. New Serial RapidIO of new Freescale processor, such as MPC8548, MPC8568, is also added. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- arch/powerpc/Kconfig| 12 + arch/powerpc/platforms/85xx/Kconfig |1

Re: Trailing periods in kernel messages

2007-12-21 Thread Alan Cox
> I'm afraid that I completely and utterly disagree. Kernel messages are _not_ > sentences. The vast majority is not well-formed and does not contain any of > the elements that are required for a proper sentence. This wants fixing. > The most kernel messages can be compared to is a rather

Re: [PATCH -mm 01/43] user_regset header

2007-12-21 Thread Peter Zijlstra
On Fri, 2007-12-21 at 00:44 -0800, Roland McGrath wrote: > > What's a Red Hat Author? Sorry for the nitpicking, but why don't you > > just use Author like everyone else? > > This text is the standard that my employer specifies. I can't remember seeing anyone else doing this, and there are

Re: Linux 2.6.24-rc5 x86 architecture no longer Oopses...

2007-12-21 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > > > raw_local_save_flags() doesn't disable interrupts? > > > > argh. Indeed! (I wanted us to fix that misleading name eons ago, to > > The naming of those functions is truly awful and it goes back to year 0. > > > *_save_flags_only(), but some

Re: [PATCH] Use ilog2() in fs/namespace.c

2007-12-21 Thread Andrew Morton
On Fri, 14 Dec 2007 18:51:06 +0100 Eric Dumazet <[EMAIL PROTECTED]> wrote: > We can use ilog2() in fs/namespace.c to compute hash_bits and hash_mask at > compile time, not runtime. Well noted. > [namespace.patch text/plain (1.4KB)] argh. (save-as, read, copy-paste, s/^/> /g) > ---

Re: Linux 2.6.24-rc5 x86 architecture no longer Oopses...

2007-12-21 Thread Ingo Molnar
* Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > btw, I think we should track this as a regression, please. > > Added, http://bugzilla.kernel.org/show_bug.cgi?id=9610, thanks. fixed by: commit c0a698b7443a9fce76b0a849f06c45ac78f3b0a0 Author: Ingo Molnar <[EMAIL PROTECTED]> Date: Fri

Warnings from sched_debug.c

2007-12-21 Thread Meelis Roos
This happens on sparc64 with 2.6.24-rc6 (gcc-4.2): CC kernel/sched.o In file included from kernel/sched.c:879: kernel/sched_debug.c: In function 'nsec_high': kernel/sched_debug.c:38: warning: comparison of distinct pointer types lacks a cast kernel/sched_debug.c:41: warning: comparison of

Re: [PATCH 2/3 -mm] kexec jump -v8 : add write support to oldmem device

2007-12-21 Thread Pavel Machek
Hi! > This patch adds writing support for /dev/oldmem. This can be used to > > - Communicate between original kernel and kexeced kernel through write > to some pages in original kernel. > > - Restore the memory contents of hibernated system in kexec based > hibernation. > > Signed-off-by:

Re: Trailing periods in kernel messages

2007-12-21 Thread Jan Engelhardt
On Dec 20 2007 18:15, Andrew Morton wrote: > >No-period is a kernel idiom, produces perfectly readable output, I have >never ever heard of anyone expressing the least concern over a lack of dots >at the end of their printks and 91% of kernel code agrees. Let's check out some real-world messages,

Re: Trailing periods in kernel messages

2007-12-21 Thread David Miller
From: Jan Engelhardt <[EMAIL PROTECTED]> Date: Fri, 21 Dec 2007 11:10:38 +0100 (CET) > Can we get back to programming? Well, the kernel log messages are programs, the kind that are for humans trying to analyze a problem. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: Trailing periods in kernel messages

2007-12-21 Thread Jan Engelhardt
On Dec 21 2007 17:56, Herbert Xu wrote: >> >> I do not believe "opinions" are relevant here. Relevant would be cites >> from respected style guides (Fowlers, Oxford Guide To Style et al.) to >> show they do not need a full stop. >> >> I've not found one, but I am open to references. > >Well

Re: Trailing periods in kernel messages

2007-12-21 Thread Herbert Xu
Alan Cox <[EMAIL PROTECTED]> wrote: > > I do not believe "opinions" are relevant here. Relevant would be cites > from respected style guides (Fowlers, Oxford Guide To Style et al.) to > show they do not need a full stop. > > I've not found one, but I am open to references. Well from where I

[PATCH 2/3] (Resend part #2) Add RapidIO memory mapping API and simple Bitmap allocation.

2007-12-21 Thread Zhang Wei
Add RapidIO memory mapping API and simple Bitmap allocation with fixed size. Some bugs are fixed. Signed-off-by: Zhang Wei <[EMAIL PROTECTED]> --- drivers/rapidio/Kconfig | 18 +- drivers/rapidio/Makefile|1 + drivers/rapidio/rio-access.c| 10 +-

Re: [PATCH 1/2] DMA buffer alignment annotations

2007-12-21 Thread Russell King
On Fri, Dec 21, 2007 at 01:30:07PM +1100, Benjamin Herrenschmidt wrote: > The current patch only enables such alignment for some PowerPC > platforms that do not have coherent caches. Other platforms such > as ARM, MIPS, etc... can define ARCH_MIN_DMA_ALIGNMENT if they > want to benefit from this,

Re: Increasing initial cwnd size

2007-12-21 Thread David Miller
You might have better luck asking networking questions on the Linux networking developer list, [EMAIL PROTECTED] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH 0/3 -mm] kexec jump -v8

2007-12-21 Thread Huang, Ying
On Fri, 2007-12-21 at 19:35 +1100, Nigel Cunningham wrote: > Hi. > > Huang, Ying wrote: > > This patchset provides an enhancement to kexec/kdump. It implements > > the following features: > > > > - Backup/restore memory used both by the original kernel and the > > kexeced kernel. > > Why the

Re: [PATCH -mm 18/43] powerpc compat_binfmt_elf

2007-12-21 Thread Roland McGrath
> On Thu, Dec 20, 2007 at 03:58:16AM -0800, Roland McGrath wrote: > > +obj-$(CONFIG_PPC64)+= ../../../fs/compat_binfmt_elf.o > > Building files from another directory is nasty. Please add a > CONFIG_BINFMT_COMPAT_ELF so we can simply build it in fs/ If that's better, please post

Re: [PATCH -mm 09/43] compat_sys_ptrace

2007-12-21 Thread Roland McGrath
> Nice, we should have unified the compat ptrace code long ago. There is still more consolidation that can be done, but this is a first step. > Any chance you could make the ifdef symetric to the native ptrace > where an arch defines a symbol if it has it's own ptrace? That would require

Re: [PATCH -mm 01/43] user_regset header

2007-12-21 Thread Roland McGrath
> What's a Red Hat Author? Sorry for the nitpicking, but why don't you > just use Author like everyone else? This text is the standard that my employer specifies. Thanks, Roland -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: [PATCH 0/3 -mm] kexec jump -v8

2007-12-21 Thread Nigel Cunningham
Hi. Huang, Ying wrote: > This patchset provides an enhancement to kexec/kdump. It implements > the following features: > > - Backup/restore memory used both by the original kernel and the > kexeced kernel. Why the kexeced kernel as well? [...] > The features of this patchset can be used as

Re: [ia64] BUG: sleeping in atomic

2007-12-21 Thread Petr Tesarik
David Chinner wrote: > On Wed, Dec 19, 2007 at 11:42:04AM -0500, Kyle McMartin wrote: > >> On Wed, Dec 19, 2007 at 04:54:30PM +1100, David Chinner wrote: >> >>> [ 5667.086055] BUG: sleeping function called from invalid context at >>> kernel/fork.c:401 >>> >>> >> The problem is that

Increasing initial cwnd size

2007-12-21 Thread Sourav Chakraborty
Hello, We are trying to test with kernel version 2.6.20,the RFC 3390 implementation of increased initial congestion window size(~4 when MSS=1460 bytes).We are not getting consistent results meaning,sometimes we see 4 data pkts sent without an ACK received and sometimes we see 3.Also we would like

Increasing initial cwnd size

2007-12-21 Thread Sourav Chakraborty
Hello, We are trying to test with kernel version 2.6.20,the RFC 3390 implementation of increased initial congestion window size(~4 when MSS=1460 bytes).We are not getting consistent results meaning,sometimes we see 4 data pkts sent without an ACK received and sometimes we see 3.Also we would like

Re: [ia64] BUG: sleeping in atomic

2007-12-21 Thread Petr Tesarik
David Chinner wrote: On Wed, Dec 19, 2007 at 11:42:04AM -0500, Kyle McMartin wrote: On Wed, Dec 19, 2007 at 04:54:30PM +1100, David Chinner wrote: [ 5667.086055] BUG: sleeping function called from invalid context at kernel/fork.c:401 The problem is that mmput is called

Re: [PATCH 0/3 -mm] kexec jump -v8

2007-12-21 Thread Nigel Cunningham
Hi. Huang, Ying wrote: This patchset provides an enhancement to kexec/kdump. It implements the following features: - Backup/restore memory used both by the original kernel and the kexeced kernel. Why the kexeced kernel as well? [...] The features of this patchset can be used as

Re: [PATCH -mm 01/43] user_regset header

2007-12-21 Thread Roland McGrath
What's a Red Hat Author? Sorry for the nitpicking, but why don't you just use Author like everyone else? This text is the standard that my employer specifies. Thanks, Roland -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [PATCH -mm 09/43] compat_sys_ptrace

2007-12-21 Thread Roland McGrath
Nice, we should have unified the compat ptrace code long ago. There is still more consolidation that can be done, but this is a first step. Any chance you could make the ifdef symetric to the native ptrace where an arch defines a symbol if it has it's own ptrace? That would require touching

Re: [PATCH -mm 18/43] powerpc compat_binfmt_elf

2007-12-21 Thread Roland McGrath
On Thu, Dec 20, 2007 at 03:58:16AM -0800, Roland McGrath wrote: +obj-$(CONFIG_PPC64)+= ../../../fs/compat_binfmt_elf.o Building files from another directory is nasty. Please add a CONFIG_BINFMT_COMPAT_ELF so we can simply build it in fs/ If that's better, please post the

<    1   2   3   4   5   6   >