Re: [Linux-fbdev-devel] [RFC 2.6.20 1/1] fbdev, mm: Deferred IO and hecubafb driver

2007-02-24 Thread Jaya Kumar
On 2/24/07, Antonino A. Daplas <[EMAIL PROTECTED]> wrote: On Fri, 2007-02-23 at 07:32 +0100, Jaya Kumar wrote: Can you create 2 separate patches, one for the deferred_io and another for the driver that uses it? Will do. > +static struct vm_operations_struct hecubafb_vm_ops = { > + .nopage

Re: [RFC 2.6.20 1/1] fbdev,mm: Deferred IO and hecubafb driver

2007-02-24 Thread Jaya Kumar
On 2/23/07, Paul Mundt <[EMAIL PROTECTED]> wrote: On Fri, Feb 23, 2007 at 07:32:28AM +0100, Jaya Kumar wrote: > This is a first pass at abstracting deferred IO out from hecubafb and > into fbdev as was discussed before: > http://marc.theaimsgroup.com/?l=linux-fbdev-devel&m=117187443327466&w=2 > >

Re: [Linux-fbdev-devel] [PATCH] nvidiafb: allow ignoring EDID info

2007-02-24 Thread Giuseppe Bilotta
On 2/24/07, Antonino A. Daplas <[EMAIL PROTECTED]> wrote: On Fri, 2007-02-23 at 14:34 +0100, Giuseppe Bilotta wrote: > > The snowy is constant and abundant, and it seems to be independent of > video size (640 through 1600) and screen occupation (single prompt > line to fullscreen mc session) and

Re: [PATCH] Undo some of the pseudo-security madness

2007-02-24 Thread Florian Weimer
* Samium Gromoff: > Lisp environments can produce standalone executables If you've got a stand-alone executable, you don't need MAP_FIXED. The ELF loader maps the program at a fixed address anyway (at least on i386 and x86_64, I haven't checked others). AFAIK, PolyML has recently made the switc

Re: [PATCH] Undo some of the pseudo-security madness

2007-02-24 Thread Florian Weimer
> Randomisation has nothing to do with C. In fact from a C perspective the > compiler and linker do a lot of work to deal with ELF and loading code at > arbitary addresses for dynamic linking and the like, not the user and > not as language constructs. Perhaps the Lisp universe should wake up and >

REQ_HARDBARRIER and REQ_SOFTBARRIER

2007-02-24 Thread V P
Hi, I'm trying to modify the ordering of I/O requests in Linux kernel, and came across the barrier flags REQ_HARDBARRIER and REQ_SOFTBARRIER. One thing I noticed (which might be wrong) is that all the requests have both these flags set. What is the significance of these flags? Is it a must for a

Re: [PATCH 0/4] coredump: core dump masking support v3

2007-02-24 Thread David Howells
Markus Gutschke <[EMAIL PROTECTED]> wrote: > As an alternative to your kernel patch, you could achieve the same goal in > user space, by linking my coredumper How does it work when you can't actually get back to userspace to have userspace do the coredump? You still have to handle the userspace

[QUESTION] Sata RAID

2007-02-24 Thread Patrick Ale
Hi, Quick question, Since I am going to open my server today to do some pata tests (for the weird detection problems people are giving me fantastic help with, no sarcasm, I really mean it) I thought: why not add two 320GB SATA disks on the SATA controller that the mainboard has. I am wondering:

why is asm-parisc/ioctl.h subtly different from asm-generic/ioctl.h?

2007-02-24 Thread Robert P. J. Day
just noticed that parisc's ioctl.h file, rather than simply including asm-generic/ioctl.h, has its own copy whose sole (meaningful) difference from the generic one is: $ diff include/{asm-generic,asm-parisc}/ioctl.h ... 41,42c54,55 < #define _IOC_WRITE1U < #define _IOC_READ 2U --- > #de

[PATCH] drivers/mfd/sm501.c: Replace pci_module_init with pci_register_driver

2007-02-24 Thread Richard Knutsson
Replace pci_module_init with pci_register_driver Signed-off-by: Richard Knutson <[EMAIL PROTECTED]> --- Compile-tested with "allyes", "allmod" & "allno" on i386 diff --git a/drivers/mfd/sm501.c b/drivers/mfd/sm501.c index 5c5a1e2..c707c8e 100644 --- a/drivers/mfd/sm501.c +++ b/drivers/mfd/sm501.c

[PATCH -mm] drivers/net/vioc/vioc_driver.c: Replace pci_module_init with pci_register_driver

2007-02-24 Thread Richard Knutsson
Replace pci_module_init with pci_register_driver Signed-off-by: Richard Knutson <[EMAIL PROTECTED]> --- Not compile-tested (but should be correct!) --- a/drivers/net/vioc/vioc_driver.c2007-02-24 10:04:03.0 +0100 +++ b/drivers/net/vioc/vioc_driver.c2007-02-24 10:05:01.0 +01

Re: I2O block driver broken in kernel 2.6.19?

2007-02-24 Thread Andrew Morton
(cc's restored. Please, always do reply-to-all) > On Fri, 23 Feb 2007 22:57:27 + (UTC) Mark Gray <[EMAIL PROTECTED]> wrote: > > i2o/hda:<3>Buffer I/O error on device i2o/hda, logical block 0 > > Buffer I/O error on device i2o/hda, logical block 0 > > Same error here. Both 2.6.19 and 2.6.20

Re: isapnp: broken API

2007-02-24 Thread Andrew Morton
> On Fri, 23 Feb 2007 16:25:05 +0100 Sacher Khoudari <[EMAIL PROTECTED]> wrote: > --- linux-2.6.20.1/drivers/pnp/isapnp/core.c.old 2007-02-23 > 16:20:46.0 +0100 > +++ linux-2.6.20.1/drivers/pnp/isapnp/core.c 2007-02-23 16:21:25.0 > +0100 > @@ -943,9 +943,7 @@ > EXPORT_SYMBO

[PATCH] MIPS: Remove unreferenced _IOC_SLMASK macro in ioctl.h.

2007-02-24 Thread Robert P. J. Day
Delete the definition of the apparently unreferenced macro _IOC_SLMASK. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- diff --git a/include/asm-mips/ioctl.h b/include/asm-mips/ioctl.h index cba641a..2036fcb 100644 --- a/include/asm-mips/ioctl.h +++ b/include/asm-mips/ioctl.h @@ -38,1

Re: 2.6.21-rc1: framebuffer/console boot failure

2007-02-24 Thread Andrew Morton
> On Fri, 23 Feb 2007 13:35:50 - (GMT) "Andrew" <[EMAIL PROTECTED]> wrote: > Hi, > > 2.6.21-rc1 fails to boot on my machine. As soon as I switch > from grub the screen turns and remains black with no sign > of Tux or any output. > > I've run a git-bisect between 2.6.20 (which works fine) and

Nvidiafb broken in 2.6.21-rc1

2007-02-24 Thread Andreas Schwab
With 2.6.21-rc1 I get no video signal from nvidiafb on PowerMac G5. Bisection has identified this patch: commit 599a52d12629394236d785615808845823875868 Author: Richard Purdie <[EMAIL PROTECTED]> Date: Sat Feb 10 23:07:48 2007 + backlight: Separate backlight properties from backlight op

Re: [PATCH 0/4] coredump: core dump masking support v3

2007-02-24 Thread Pavel Machek
> Kawai, Hidehiro wrote: > >This patch series is version 3 of the core dump masking feature, > >which provides a per-process flag not to dump anonymous shared > >memory segments. > > I just wanted to remind you that you need to be careful about dumping > the [vdso] segment no matter whether you o

[PATCH][RFC] Make asm-generic/ioctl.h extensible by adding conditionals.

2007-02-24 Thread Robert P. J. Day
Add some preprocessor checking to asm-generic/ioctl.h to allow other ioctl.h headers to simply override what are normally trivial differences. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- as a followup to my earlier post, is it worth making this change to allow at least a couple

[PATCH] usbatm: Create sysfs link "device" from atm class device to usb interface.

2007-02-24 Thread Simon Arlott
There is currently no path from the ATM device in /sys to the USB device's interface that the driver is using; this patch creates a "device" symlink. It is then possible to get to the cxacru ADSL statistics (http://lkml.org/lkml/2007/2/23/328): /sys/class/atm/cxacru0/device $ ls *_rate *_margin

Memory sharing question

2007-02-24 Thread Stephen Dolan
Hi. I'd like to know if it is possible to get two processes to share a memory segment at the same address, e.g. both mmap() the same file and have it return the same address in both. This could be done by mmap()ing it in one of them, communicating the address to the other (via a socket or whatev

2.6.20-almost-rc1: usb oops during resume

2007-02-24 Thread Pavel Machek
Hi! ...is it "use after free"? Greg, could we reduce verbosity of driver model? "PM: Adding info for No Bus:vcs*" is not very useful. I have some patches in bluetooth, but nothing that should really matter. Pavel Bluetooth: L2CAP

Re: 2.6.20-ck1

2007-02-24 Thread Fabio Comolli
On 2/16/07, Con Kolivas <[EMAIL PROTECTED]> wrote: This patchset is designed to improve system responsiveness and interactivity. It is configurable to any workload but the default -ck patch is aimed at the desktop and -cks is available with more emphasis on serverspace. Hi Con. I usually don't

Re: A quick fio test (was Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3)

2007-02-24 Thread Jens Axboe
On Fri, Feb 23 2007, Joel Becker wrote: > On Fri, Feb 23, 2007 at 01:52:47PM +0100, Jens Axboe wrote: > > Results: > > > > Engine Depth Bw (MiB/sec) > > > > libaio1 441 > > syslet1 574 >

[PATCH] needs to include

2007-02-24 Thread Ralf Baechle
sysdev.h uses THIS_MODULE so should include . Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/include/linux/sysdev.h b/include/linux/sysdev.h index 389ccf8..e699ab2 100644 --- a/include/linux/sysdev.h +++ b/include/linux/sysdev.h @@ -22,6 +22,7 @@ #define _SYSDEV_H_ #include +#i

Re: [PATCH] MIPS: Remove unreferenced _IOC_SLMASK macro in ioctl.h.

2007-02-24 Thread Ralf Baechle
On Sat, Feb 24, 2007 at 06:17:09AM -0500, Robert P. J. Day wrote: > Delete the definition of the apparently unreferenced macro > _IOC_SLMASK. Applied. Thanks, Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More ma

ioctls.h (Re: [PATCH][RFC] Make asm-generic/ioctl.h extensible by adding conditionals.)

2007-02-24 Thread Oleg Verych
> From: "Robert P. J. Day" > Newsgroups: gmane.linux.kernel > Subject: [PATCH][RFC] Make asm-generic/ioctl.h extensible by adding > conditionals. > Date: Sat, 24 Feb 2007 06:45:20 -0500 (EST) > as a followup to my earlier post, is it worth making this change to > allow at least a couple arch-sp

Re: [PATCH] USB Elan FTDI: check for workqueue creation v2

2007-02-24 Thread Oleg Verych
> From: Cyrill Gorcunov > Newsgroups: gmane.linux.kernel > Subject: bss zeroing ([PATCH] USB Elan FTDI: check for workqueue creation v2) > Date: Sat, 24 Feb 2007 10:41:15 +0300 [] > Btw, Pete, you are right! C99 ANSI standart says that static pointer > if it not initialized explicitly has to be set

Re: REQ_HARDBARRIER and REQ_SOFTBARRIER

2007-02-24 Thread Jens Axboe
On Sat, Feb 24 2007, V P wrote: > Hi, > > I'm trying to modify the ordering of I/O requests in Linux kernel, and > came across the barrier flags REQ_HARDBARRIER and REQ_SOFTBARRIER. > > One thing I noticed (which might be wrong) is that all the requests > have both these flags set. What is the si

Re: Memory sharing question

2007-02-24 Thread Alan
> with the address as the "start" parameter and MAP_FIXED. However, that > tends to fail, and MAP_FIXED can have annoying side-effects (killing > off other mappings). MAP_FIXED requires you know in advance a good place to put the memory, which isn't too hard with some planning but does get fairly

typo in include/linux/irqflags.h ?

2007-02-24 Thread Nicholas Mc Guire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ! Seems like there was a cut&past error in include/linux/riqflags.h. - --- linux-2.6.20/include/linux/irqflags.h 2007-02-04 09:44:54.0 -0900 +++ linux-2.6.20xm/include/linux/irqflags.h 2008-01-27 20:29:26.0 -0900 @@ -9

Kernel warning from Matrox Framebuffer in 2.6.20.1

2007-02-24 Thread Chris Rankin
Hi, I have just booted 2.6.20.1 on my Pentium 3 machine, which has a G400 MAX graphics card. This machine uses the Matrox framebuffer and TV-OUT modules, and I have found these warnings in the kernel log: **WARNING** I2C adapter driver [DDC:fb0 #0] forgot to specify physical device; fix it! **

Re: typo in include/linux/irqflags.h ?

2007-02-24 Thread Russell King
On Sat, Feb 24, 2007 at 12:45:16PM +0100, Nicholas Mc Guire wrote: > > Hi ! > > Seems like there was a cut&past error in include/linux/riqflags.h. > > > --- linux-2.6.20/include/linux/irqflags.h 2007-02-04 09:44:54.0 > -0900 > +++ linux-2.6.20xm/include/linux/irqflags.h 2008-01-2

Re: [RFC][PATCH 0/3] VM throttling: avoid blocking occasional writers

2007-02-24 Thread Nikita Danilov
Tomoki Sekiyama writes: > Hi, Hello, > [...] > > While Dirty+Writeback pages get more than 40% of memory, process-B is > blocked in balance_dirty_pages() until writeback of some (`write_chunk', > typically = 1536) dirty pages on disk-b is started. May be the simpler solution is to use

Re: [PATCH] sk98lin: handle pci_enable_device() return value in skge_resume()

2007-02-24 Thread Dmitriy Monakhov
Dmitriy Monakhov <[EMAIL PROTECTED]> writes: > This thread looks dead but issue was't fixed. > > Jiri Kosina <[EMAIL PROTECTED]> writes: >>> > - pci_enable_device(pdev); >>> > + ret = pci_enable_device(pdev); >>> > + if (ret) { >>> > + printk(KERN_ERR "sk98lin: Cannot enable PCI device %s

Re: [KJ][RFC][PATCH] BIT macro cleanup

2007-02-24 Thread Vojtech Pavlik
On Fri, Feb 23, 2007 at 01:44:41PM +0530, Milind Choudhary wrote: > Hi all > working towards the cleanup of BIT macro, > I've added one to & cleaned some obvious users. > > include/linux/input.h also has a BIT macro > which does a wrap > so currently i've done something like > > +#undef BI

Re: [KJ][RFC][PATCH] BIT macro cleanup

2007-02-24 Thread Vojtech Pavlik
On Fri, Feb 23, 2007 at 11:43:44PM +0100, Richard Knutsson wrote: > >I am saying that IMO input's BIT definition should be > >adequate for 99% of potential users and that I would be OK with moving > >said BIT definition from input.h to bitops.h and maybe supplementing > >it with LLBIT. I am also s

Re: [KJ][RFC][PATCH] BIT macro cleanup

2007-02-24 Thread Richard Knutsson
Vojtech Pavlik wrote: On Fri, Feb 23, 2007 at 11:43:44PM +0100, Richard Knutsson wrote: Is the reason for the modulo to put a bitmask larger then the variable into an array? The complementary LONG() macro will tell you the index of an array of longs where the bit should be set. Thi

Re: [PATCH] Undo some of the pseudo-security madness

2007-02-24 Thread Samium Gromoff
At Sat, 24 Feb 2007 10:40:51 +0100, Florian Weimer wrote: > > * Samium Gromoff: > > > Lisp environments can produce standalone executables > > If you've got a stand-alone executable, you don't need MAP_FIXED. The > ELF loader maps the program at a fixed address anyway (at least on > i386 and x8

Re: [PATCH] Undo some of the pseudo-security madness

2007-02-24 Thread Samium Gromoff
At Sat, 24 Feb 2007 10:51:20 +0100, Florian Weimer wrote: > > > Randomisation has nothing to do with C. In fact from a C perspective the > > compiler and linker do a lot of work to deal with ELF and loading code at > > arbitary addresses for dynamic linking and the like, not the user and > > not a

Re: typo in include/linux/irqflags.h ?

2007-02-24 Thread Nicholas Mc Guire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Feb 24, 2007 at 12:45:16PM +0100, Nicholas Mc Guire wrote: Hi ! Seems like there was a cut&past error in include/linux/riqflags.h. --- linux-2.6.20/include/linux/irqflags.h 2007-02-04 09:44:54.0 -0900 +++ linux-2.6.20xm/in

Re: [PATCH] Undo some of the pseudo-security madness

2007-02-24 Thread Florian Weimer
* Samium Gromoff: >> > Lisp environments can produce standalone executables >> >> If you've got a stand-alone executable, you don't need MAP_FIXED. The >> ELF loader maps the program at a fixed address anyway (at least on >> i386 and x86_64, I haven't checked others). > > Not so. > > The thing i

Re: Soft lockup on shutdown in nf_ct_iterate_cleanup()

2007-02-24 Thread Patrick McHardy
Chuck Ebbert wrote: > Chuck Ebbert wrote: > >>I was testing a 2.6.20 kernel and got a soft >>lockup on shutdown: >> >>_raw_write_lock+0x5a >>nf_ct_iterate_cleanup+0x3e >>kill_l3proto+0x0 >>nf_conntrack_l3proto_unregister+0x85 >>nf_conntrack_l3proto_ipv4_fini+0x1e >>sys_delete_module+0x18a >>remove

Re: 2.6.20-almost-rc1: usb oops during resume

2007-02-24 Thread Marcel Holtmann
Hi Pavel, > ...is it "use after free"? > > Greg, could we reduce verbosity of driver model? "PM: Adding info for > No Bus:vcs*" is not very useful. > > I have some patches in bluetooth, but nothing that should really > matter. can you try to remove the hci_usb_close() in hci_usb_disconnect(), b

RE: [2.6 patch] the overdue removal of X86_SPEEDSTEP_CENTRINO_ACPI

2007-02-24 Thread Pallipadi, Venkatesh
Ack. Dave: Can you add this patch to cpufreq.git -> mm. Thanks, Venki >-Original Message- >From: Adrian Bunk [mailto:[EMAIL PROTECTED] >Sent: Monday, February 19, 2007 4:07 PM >To: Pallipadi, Venkatesh >Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; >linux-kernel@vger.kernel.org >Subject:

Re: [PATCH] USB Elan FTDI: check for workqueue creation v2

2007-02-24 Thread Cyrill Gorcunov
On Sat, Feb 24, 2007 at 01:46:44PM +0100, Oleg Verych wrote: | > From: Cyrill Gorcunov | > Newsgroups: gmane.linux.kernel | > Subject: bss zeroing ([PATCH] USB Elan FTDI: check for workqueue creation v2) | > Date: Sat, 24 Feb 2007 10:41:15 +0300 | [] | > Btw, Pete, you are right! C99 ANSI standart

Re: [QUESTION] Sata RAID

2007-02-24 Thread Bartlomiej Zolnierkiewicz
use device mapper and dmraid http://people.redhat.com/~heinzm/sw/dmraid/ and please read http://linux-ata.org/faq-sata-raid.html On Saturday 24 February 2007, Patrick Ale wrote: > Hi, > > Quick question, > > Since I am going to open my server today to do some pata tests (for

round_jiffies and load average

2007-02-24 Thread Simon Arlott
I've modified the driver of an USB device (cxacru) to schedule the next poll for status every 1s using round_jiffies_relative instead of just waiting 1s since the last poll was completed. This process takes on average 11ms to complete and while it is waiting for a response it's considered runnin

Re: module-init-tools-3.3-pre10 available

2007-02-24 Thread Jan Engelhardt
On Feb 23 2007 10:41, Jon Masters wrote: > > I think it's like the configure/Makefile.in situation. These files should > technically not be in the repo either (and you removed them in your tree) but > I > re-added them because people have an expectation that: > > ./configure > make > > will do so

Re: [PATCH] drivers/mfd/sm501.c: Replace pci_module_init with pci_register_driver

2007-02-24 Thread Ben Dooks
On Sat, Feb 24, 2007 at 11:46:06AM +0100, Richard Knutsson wrote: > Replace pci_module_init with pci_register_driver Thankyou for spotting this. > Signed-off-by: Richard Knutson <[EMAIL PROTECTED]> Acked-by: Ben Dooks <[EMAIL PROTECTED]> > --- > Compile-tested with "allyes", "allmod" & "allno" o

2.6.16.41 & 2.6.18.7 OK, 2.6.19.5 NOT, 2.6.18.8 KERNEL PANIC

2007-02-24 Thread Mario Vanoni
2.6.18.7 vanilla & 2.6.16.41 vanilla: /dev/hda CD/DVD /dev/hda1 / IDE HD 160GB /dev/hda2 swap /dev/sda1 /xyz SATA HD 320GB /dev/sda2 swap /dev/sdb1 /zzz SATA HD 320GB /dev/sdb2 swap /dev/sdc1 /usb USB KEY 512MB all 100% OK since 12-Dec-2006 2.6.19.5 vanilla: /dev/hda, /dev/hdb OK fsck 1.38 (30-J

Re: MOST(Media Oriented Systems Transport) Interface?

2007-02-24 Thread Robin Getz
On Fri 23 Feb 2007 20:47, Rik van Riel wrote: > Robin Getz wrote: > > Does anyone have a pointer for a MOST (Media Oriented Systems Transport) > > driver? > > Are there any applications that use that protocol? Many - all automotive embedded - If you drive a recent car - from Audi, Aston Martin,

[PATCH] scsi: eata.c potential namespace collision and optimisation

2007-02-24 Thread Heikki Orsila
This fixes a potential namespace collision and does an optimisation for 2.6.20 drivers/scsi/eata.c: * sort() is renamed to eata_sort() to avoid conflict with kernel proper sort(). It does _not_ conflict currently in 2.6.20 so this is a pre-emptive change. *

Re: (Sparc64) 2.6.20 seems to ignore initramfs

2007-02-24 Thread Jan Engelhardt
On Feb 23 2007 15:47, Andrew Walrond wrote: >On Friday 23 February 2007 15:17, Tomasz Chmielewski wrote: >> >> Try to decrease the initramfs size just to know if it boots correctly. >> >> I.e., put just a sh/bash/ash/dash binary there (probably /dev/console >> node, too), executed in init. >> >> T

Re: ioctls.h (Re: [PATCH][RFC] Make asm-generic/ioctl.h extensible by adding conditionals.)

2007-02-24 Thread Robert P. J. Day
On Sat, 24 Feb 2007, Oleg Verych wrote: > > From: "Robert P. J. Day" > > Newsgroups: gmane.linux.kernel > > Subject: [PATCH][RFC] Make asm-generic/ioctl.h extensible by adding > > conditionals. > > Date: Sat, 24 Feb 2007 06:45:20 -0500 (EST) > > > as a followup to my earlier post, is it worth m

Re: module-init-tools-3.3-pre10 available

2007-02-24 Thread Jon Masters
Jan Engelhardt wrote: Out of the box perhaps if it is the .tar.bz2 archive, but the same does not always hold for CVS repos, much less SVNs [random guess on svn]. He who pulls from a developer tree mostly knows to run 'autogen.sh' or 'autoreconf -fi' beforehand. You know what, you're right of

[RFC] Fast assurate clock readable from user space and NMI handler

2007-02-24 Thread Mathieu Desnoyers
Hi, I am trying to improve the Linux kernel time source so it can be read without seqlock from NMI handlers. I have also seen some interest for such an accurate monotonic clock readable from user space. It mainly implies an atomic update of the time value. I am also trying to figure a way to suppo

Re: ioctls.h (Re: [PATCH][RFC] Make asm-generic/ioctl.h extensible by adding conditionals.)

2007-02-24 Thread Oleg Verych
On Sat, Feb 24, 2007 at 10:59:42AM -0500, Robert P. J. Day wrote: > On Sat, 24 Feb 2007, Oleg Verych wrote: > > > > From: "Robert P. J. Day" > > > Newsgroups: gmane.linux.kernel > > > Subject: [PATCH][RFC] Make asm-generic/ioctl.h extensible by adding > > > conditionals. > > > Date: Sat, 24 Feb 2

Re: ipv4 and ipv6 stacks for new link layers?

2007-02-24 Thread Olaf Titz
> This is a pity, because it would be so easy to make the both stacks > totally independent of the actual link layers. It only needs one (or > two) new function pointer in net_device. This function should do the > conversion from IPv4/IPv6 address into corresponding hardware > multicast/broadcast a

Re: ipv4 and ipv6 stacks for new link layers?

2007-02-24 Thread Markku Savela
> > > This is a pity, because it would be so easy to make the both stacks > > totally independent of the actual link layers. It only needs one (or > > two) new function pointer in net_device. This function should do the > > conversion from IPv4/IPv6 address into corresponding hardware > > multicas

Re: input.c: start on release

2007-02-24 Thread Dmitry Torokhov
On Friday 23 February 2007 19:44, Pete Zaitcev wrote: > On Fri, 23 Feb 2007 10:06:14 -0500, "Dmitry Torokhov" <[EMAIL PROTECTED]> > wrote: > > On 2/23/07, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > > > > void input_release_device(struct input_handle *handle) > > > { > > > > > >if (han

Re: [QUESTION] Sata RAID

2007-02-24 Thread Michael-Luke Jones
But using 'fakeraid' (i.e. BIOS RAID) together with dmraid is generally discouraged in favour of using the more stable and well supported Linux Software RAID functionality. Michael-Luke On 24 Feb 2007, at 15:24, Bartlomiej Zolnierkiewicz wrote: use device mapper and dmraid http:/

Re: [QUESTION] Sata RAID

2007-02-24 Thread Patrick Ale
On 2/24/07, Michael-Luke Jones <[EMAIL PROTECTED]> wrote: But using 'fakeraid' (i.e. BIOS RAID) together with dmraid is generally discouraged in favour of using the more stable and well supported Linux Software RAID functionality. Michael-Luke I think I actually used dmraid, and the problem I

Re: Kernel warning from Matrox Framebuffer in 2.6.20.1

2007-02-24 Thread Ondrej Zary
On Saturday 24 February 2007 14:08, Chris Rankin wrote: > Hi, > > I have just booted 2.6.20.1 on my Pentium 3 machine, which has a G400 MAX > graphics card. This machine uses the Matrox framebuffer and TV-OUT modules, > and I have found these warnings in the kernel log: > > **WARNING** I2C adapter

Re: SLUB: The unqueued Slab allocator

2007-02-24 Thread Christoph Lameter
On Fri, 23 Feb 2007, David Miller wrote: > > The general caches already merge lots of users depending on their sizes. > > So we already have the situation and we have tools to deal with it. > > But this doesn't happen for things like biovecs, and that will > make debugging painful. > > If a cra

bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system

2007-02-24 Thread Uwe Bugla
Hi folks, Second attempt now: I already reported to Linus Torvalds and Andrew Morton that it is impossible to mount a conventional floppy drive without hanging up the whole system. Andrew's reaction was quite ambiguous: "We did not break it" Once again and for the last time: I do not state that f

Re: [RFC] Fast assurate clock readable from user space and NMI handler

2007-02-24 Thread Daniel Walker
On Sat, 2007-02-24 at 11:19 -0500, Mathieu Desnoyers wrote: > Hi, > > I am trying to improve the Linux kernel time source so it can be read > without seqlock from NMI handlers. I have also seen some interest for > such an accurate monotonic clock readable from user space. It mainly > implies an at

Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system

2007-02-24 Thread Andrew Morton
> On Sat, 24 Feb 2007 18:54:24 +0100 "Uwe Bugla" <[EMAIL PROTECTED]> wrote: > Hi folks, > Second attempt now: > I already reported to Linus Torvalds and Andrew Morton that it is impossible > to mount a conventional floppy drive without hanging up the whole system. > Andrew's reaction was quite amb

Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system

2007-02-24 Thread Uwe Bugla
Original-Nachricht Datum: Sat, 24 Feb 2007 10:07:29 -0800 Von: Andrew Morton <[EMAIL PROTECTED]> An: "Uwe Bugla" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED], linux-kernel@vger.kernel.org Betreff: Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot

Re: (Sparc64) 2.6.20 seems to ignore initramfs

2007-02-24 Thread Andrew Walrond
On Saturday 24 February 2007 15:23, Jan Engelhardt wrote: > On Feb 23 2007 15:47, Andrew Walrond wrote: > > > >I have tracked this down to a broken version of gnu cpio (latest release, > > 2.7) which was used to create the initramfs archive. Bloody annoying > > since this has bitten me before! Last

Re: [PATCH 18/29] netfilter: notify about NF_QUEUE vs emergency skbs

2007-02-24 Thread Patrick McHardy
Peter Zijlstra wrote: > Emergency skbs should never touch user-space, however NF_QUEUE is fully user > configurable. Notify the user of his mistake and try to continue. > > --- linux-2.6-git.orig/net/netfilter/core.c 2007-02-14 12:09:07.0 > +0100 > +++ linux-2.6-git/net/netfilter/core.c

Re: [PATCH 18/29] netfilter: notify about NF_QUEUE vs emergency skbs

2007-02-24 Thread Peter Zijlstra
On Sat, 2007-02-24 at 16:27 +0100, Patrick McHardy wrote: > Peter Zijlstra wrote: > > Emergency skbs should never touch user-space, however NF_QUEUE is fully user > > configurable. Notify the user of his mistake and try to continue. > > > > --- linux-2.6-git.orig/net/netfilter/core.c 2007-02-14 12:

Re: [PATCH 18/29] netfilter: notify about NF_QUEUE vs emergency skbs

2007-02-24 Thread Patrick McHardy
Peter Zijlstra wrote: > On Sat, 2007-02-24 at 16:27 +0100, Patrick McHardy wrote: > >>> } else if ((verdict & NF_VERDICT_MASK) == NF_QUEUE) { >>>+if (unlikely((*pskb)->emergency)) { >>>+printk(KERN_ERR "nf_hook: NF_QUEUE encountered for " >>>+

Re: [PATCH 18/29] netfilter: notify about NF_QUEUE vs emergency skbs

2007-02-24 Thread Peter Zijlstra
On Sat, 2007-02-24 at 17:17 +0100, Patrick McHardy wrote: > I don't really see why > queueing is special though, dropping the packets in the ruleset > will break things just as well, as will routing them to a blackhole. > I guess the user just needs to be smart enough not to do this. Its user-spa

Re: [PATCH 18/29] netfilter: notify about NF_QUEUE vs emergency skbs

2007-02-24 Thread Patrick McHardy
Peter Zijlstra wrote: > On Sat, 2007-02-24 at 17:17 +0100, Patrick McHardy wrote: > > >>I don't really see why >>queueing is special though, dropping the packets in the ruleset >>will break things just as well, as will routing them to a blackhole. >>I guess the user just needs to be smart enough

Re: [PATCH 18/29] netfilter: notify about NF_QUEUE vs emergency skbs

2007-02-24 Thread Peter Zijlstra
On Sat, 2007-02-24 at 17:40 +0100, Patrick McHardy wrote: > Peter Zijlstra wrote: > > On Sat, 2007-02-24 at 17:17 +0100, Patrick McHardy wrote: > > > > > >>I don't really see why > >>queueing is special though, dropping the packets in the ruleset > >>will break things just as well, as will routin

Re: [RFC] div64_64 support

2007-02-24 Thread Sami Farin
On Fri, Feb 23, 2007 at 17:05:27 -0800, Stephen Hemminger wrote: > Since there already two users of full 64 bit division in the kernel, > and other places maybe hiding out as well. Add a full 64/64 bit divide. > > Yes this expensive, but there are places where it is necessary. > It is not clear if

Re: why is asm-parisc/ioctl.h subtly different from asm-generic/ioctl.h?

2007-02-24 Thread Kyle McMartin
On Sat, Feb 24, 2007 at 05:34:15AM -0500, Robert P. J. Day wrote: > > just noticed that parisc's ioctl.h file, rather than simply > including asm-generic/ioctl.h, has its own copy whose sole > (meaningful) difference from the generic one is: > > $ diff include/{asm-generic,asm-parisc}/ioctl.h >

Re: Detecting section mismatches in vmlinux

2007-02-24 Thread Atsushi Nemoto
On Thu, 22 Feb 2007 00:57:28 +0900 (JST), Atsushi Nemoto <[EMAIL PROTECTED]> wrote: > $ ../build-i386/scripts/mod/modpost ../build-i386/mm/built-in.o > WARNING: ../build-i386/mm/built-in.o - Section mismatch: reference to > .init.data:initkmem_list3 from .text between 'set_up_list3s' (at offset

Re: [PATCH] Print error code in page faults

2007-02-24 Thread Chuck Ebbert
Glauber de Oliveira Costa wrote: > When a page faults comes from a kernel space, the printed summary > leaves us clueless about what kind of access was being tried (which > is encoded in the error_code variable). > > Having it promply available may ease debugging in a bunch of > situations. > > S

Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system

2007-02-24 Thread Uwe Bugla
Original-Nachricht Datum: Sat, 24 Feb 2007 10:07:29 -0800 Von: Andrew Morton <[EMAIL PROTECTED]> An: "Uwe Bugla" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED], linux-kernel@vger.kernel.org Betreff: Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot

Re: input.c: start on release

2007-02-24 Thread Pete Zaitcev
On Sat, 24 Feb 2007 11:57:07 -0500, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > To tell you the truth, all I really want is to hold a static mutex > > across a call to input_close_device(). Can I do that? > > Are you trying to fix locking in mousedev? Yes. -- Pete - To unsubscribe from this

Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system

2007-02-24 Thread Ray Lee
it is definitely NOT my job to repair errors that other responsibility-free people pushed into vanilla mainline without the slightest test effort in some mm-tree for example. Who wasted it must repair it, without the slightest discussion! You're assuming the author didn't test it. For things

Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

2007-02-24 Thread Michael K. Edwards
On 2/23/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: > This is a fundamental misconception. [...] > The scheduler, on the other hand, has to blow and reload all of the > hidden state associated with force-loading the PC and wherever your > architecture keeps its TLS (maybe not the whole TLB, but n

Re: current git crashes on bootup with pci_iounmap()

2007-02-24 Thread Kay Sievers
On Wed, 2007-02-21 at 20:34 +0900, Tejun Heo wrote: > Kay Sievers wrote: > > On 2/13/07, Kay Sievers <[EMAIL PROTECTED]> wrote: > >> On Tue, 2007-02-13 at 17:04 +0100, Marcel Holtmann wrote: > >> > > kernel BUG at lib/iomap.c:254! > >> > > invalid opcode: [#1] > >> > > ... > >> > > > >> > > Th

Re: [PATCH 0/4] coredump: core dump masking support v3

2007-02-24 Thread Markus Gutschke
David Howells wrote: How does it work when you can't actually get back to userspace to have userspace do the coredump? You still have to handle the userspace equivalents of double/triple faults. My experience shows that there are only very rare occurrences of situations where you cannot get b

Re: Detecting section mismatches in vmlinux

2007-02-24 Thread Sam Ravnborg
On Sun, Feb 25, 2007 at 03:53:15AM +0900, Atsushi Nemoto wrote: > > This is a dirty hack to check all built-in.o just after linking > vmlinux. But this can not detect mismatches in libs.a files, and > modpost fails with "... is truncated" message on empty built-in.o > files. > > Maybe checking a

Changelog question

2007-02-24 Thread Nicholas Mc Guire
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ! looking at the Changelogs of the last 2.6.17 kernel and the first 2.6.18 it is obvious that a lot happened in between - are there some changelogs related to 2.6.18 development that are not found at http://www.kernel.org/pub/linux/kernel/v2.6/C

[PATCH] workqueue: kill NOAUTOREL works

2007-02-24 Thread Oleg Nesterov
We don't have any users, and it is not so trivial to use NOAUTOREL works correctly. It is better to simplify API. Delete NOAUTOREL support and rename work_release to work_clear_pending to avoid a confusion. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> --- 6.20-rc6-mm3/include/linux/workqueue

RE: questions about 8250 uart support for adhoc boards

2007-02-24 Thread Stuart MacDonald
From: On Behalf Of Rob Prowel > Russell King wrote: > > You don't even need to do that. Just configure SERIAL_8250_NR_UARTS > > and SERIAL_8250_RUNTIME_UARTS appropriately for your > system. There's > > absolutely no need to build any of the additional modules. > > > Unfortunately what I'm se

Re: SLUB: The unqueued Slab allocator

2007-02-24 Thread Jörn Engel
On Sat, 24 February 2007 09:32:49 -0800, Christoph Lameter wrote: > > If that is a problem for particular object pools then we may be able to > except those from the merging. How much of a gain is the merging anyway? Once you start having explicit whitelists or blacklists of pools that can be m

Re: [PATCH] fbdev driver for S3 Trio/Virge, updated

2007-02-24 Thread Antonino A. Daplas
On Fri, 2007-02-23 at 13:45 +0100, Ondrej Zajicek wrote: > On Thu, Feb 22, 2007 at 08:05:33AM +0800, Antonino A. Daplas wrote: > > On Fri, 2007-02-09 at 20:34 +0100, Ondrej Zajicek wrote: > > > This patch adds driver for S3 Trio / S3 Virge. Driver is tested > > > with most versions of S3 Trio and

Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

2007-02-24 Thread Davide Libenzi
On Sat, 24 Feb 2007, Michael K. Edwards wrote: > The preceding may contain errors in detail -- I am neither a CPU > architect nor an x86 compiler writer nor even a serious kernel hacker. Ok, roger that. But why are you playing "Google & Preach" games to Ingo, that ate bread and CPUs for the last

Re: [patch 04/13] syslets: core code

2007-02-24 Thread Davide Libenzi
On Sat, 24 Feb 2007, Ingo Molnar wrote: > * Davide Libenzi wrote: > > > > +asmlinkage long > > > +sys_threadlet_on(unsigned long restore_stack, > > > + unsigned long restore_eip, > > > + struct async_head_user __user *ahu) > > > > +asmlinkage long sys_threadlet_off(void) > >

Re: [Linux-fbdev-devel] [PATCH] nvidiafb: allow ignoring EDID info

2007-02-24 Thread Antonino A. Daplas
On Sat, 2007-02-24 at 10:16 +0100, Giuseppe Bilotta wrote: > On 2/24/07, Antonino A. Daplas <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-02-23 at 14:34 +0100, Giuseppe Bilotta wrote: > > > > > > The snowy is constant and abundant, and it seems to be independent of > > > video size (640 through 1600)

Re: 2.6.19: ACPI reports AC not present after resume from STD

2007-02-24 Thread Rafael J. Wysocki
Hi, On Saturday, 24 February 2007 10:55, Andrey Borzenkov wrote: > On Вторник 13 февраля 2007, Andrey Borzenkov wrote: > > On Четверг 07 декабря 2006, Lebedev, Vladimir P wrote: > > > Please register new bug, attach acpidump and dmesg. > > > > http://bugzilla.kernel.org/show_bug.cgi?id=7995 > > >

Re: 2.6.21-rc1: T60 resume from suspend to RAM issues

2007-02-24 Thread Michael S. Tsirkin
> Quoting Andrew Morton <[EMAIL PROTECTED]>: > Subject: Re: 2.6.21-rc1: T60 resume from suspend to RAM issues > > > On Fri, 23 Feb 2007 01:38:03 +0200 "Michael S. Tsirkin" <[EMAIL PROTECTED]> > > wrote: > > I tested this: > > commit 9654640d0af8f2de40ff3807d3695109d3463f54 > > and see 2 issues: >

[RFC][PATCH][0/4] Memory controller (RSS Control) (

2007-02-24 Thread Balbir Singh
This patch applies on top of Paul Menage's container patches (V7) posted at http://lkml.org/lkml/2007/2/12/88 It implements a controller within the containers framework for limiting memory usage (RSS usage). The memory controller was discussed at length in the RFC posted to lkml

[RFC][PATCH][1/4] RSS controller setup (

2007-02-24 Thread Balbir Singh
Changelog 1. Change the name from memctlr to memcontrol 2. Coding style changes, call the API and then check return value (for kmalloc). 3. Change the output format, to print sizes in both pages and kB 4. Split the usage and limit files to be independent (cat memcontrol_usage no longer prints

[RFC][PATCH][2/4] Add RSS accounting and control (

2007-02-24 Thread Balbir Singh
Changelog 1. Be consistent, use the C style of returning 0 on success and negative values on failure 2. Change and document the locking used by the controller (I hope I got it right this time :-)) 3. Remove memctlr_double_(un)lock routines 4. Comment the usage of MEMCONTROL_DONT_CHECK_LIMI

[RFC][PATCH][3/4] Add reclaim support (

2007-02-24 Thread Balbir Singh
Changelog 1. Move void *container to struct container (in scan_control and vmscan.c and rmap.c) 2. The last set of patches churned the LRU list, in this release, pages that can do not belong to the container are moved to a skipped_pages list. At the end of the isolation they are added b

  1   2   >