Re: sched_yield() makes OpenLDAP slow

2005-08-19 Thread Chris Wedgwood
On Thu, Aug 18, 2005 at 11:03:45PM -0700, Howard Chu wrote: > If the 2.6 kernel makes this programming model unreasonably slow, > then quite simply this kernel is not viable as a database platform. Pretty much everyone else manages to make it work. - To unsubscribe from this list: send the line "

Re: [PATCH/RFT 4/5] CLOCK-Pro page replacement

2005-08-19 Thread Rusty Russell
On Wed, 2005-08-17 at 21:48 -0700, David S. Miller wrote: > From: Andrew Morton <[EMAIL PROTECTED]> > Date: Wed, 17 Aug 2005 21:05:32 -0700 > > > Perhaps by uprevving the compiler version? > > Can't be, we definitely support gcc-2.95 and that compiler > definitely has the bug on sparc64. I belie

Re: [PATCH 2.6-mm] tms380tr: remove prototypes in Space.c

2005-08-19 Thread Jeff Garzik
these two patches look OK to me, but didn't apply. Can you please resend, according to http://linux.yyz.us/patch-format.html ? Jeff - 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 1/3] dlm: use configfs

2005-08-19 Thread David Teigland
On Thu, Aug 18, 2005 at 02:23:48PM -0700, Mark Fasheh wrote: > On Thu, Aug 18, 2005 at 02:07:50PM +0800, David Teigland wrote: > > + * /config/dlm//spaces//nodes//nodeid > > + * /config/dlm//spaces//nodes//weight > > + * /config/dlm//comms//nodeid > > + * /config/dlm//comms//local > > + * /config/

Re: [PATCH/RFT 4/5] CLOCK-Pro page replacement

2005-08-19 Thread Andrew Morton
Rusty Russell <[EMAIL PROTECTED]> wrote: > > On Wed, 2005-08-17 at 21:48 -0700, David S. Miller wrote: > > From: Andrew Morton <[EMAIL PROTECTED]> > > Date: Wed, 17 Aug 2005 21:05:32 -0700 > > > > > Perhaps by uprevving the compiler version? > > > > Can't be, we definitely support gcc-2.95 and th

Re: [PATCH/RFT 4/5] CLOCK-Pro page replacement

2005-08-19 Thread Rusty Russell
On Fri, 2005-08-19 at 00:10 -0700, Andrew Morton wrote: > Rusty Russell <[EMAIL PROTECTED]> wrote: > > I believe we just ignored sparc64. That usually works for solving these > > kind of bugs. 8) > > heh. iirc, it was demonstrable on x86 also. No. gcc-2.95 on Sparc64 put uninititialized vars i

Re: sysfs: write returns ENOMEM?

2005-08-19 Thread Pekka Enberg
Hi Dmitry, On 8/19/05, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > According to the SuS write() can not return ENOMEM, only ENOBUFS is allowed > (surprisingly read() is allowed to use both ENOMEM and ENOBUFS): > > http://www.opengroup.org/onlinepubs/95399/functions/write.html > > Should we

lost ticks and Hangcheck

2005-08-19 Thread Nathan Becker
Hi, I'm running kernel 2.6.12.5 with x86_64 target on an AMD X2 4800+ and Gigabyte GA-K8NXP-SLI motherboard (bios version F8). I'm having a problem with lost clock ticks. The dmesg says warning: many lost ticks. Your time source seems to be instable or some driver is hogging interupts Also

Re: [PATCH] MMC host class

2005-08-19 Thread Russell King
On Fri, Aug 19, 2005 at 08:14:27AM +0200, Pierre Ossman wrote: > * Things that assume there's a name for every kobject. The name is assigned when the host is added to the mmc subsystem, not when it's allocated. This is the same behaviour as other subsystems (eg, networking) and I don't see a prob

Re: [PATCH] mmc: Multi-sector writes

2005-08-19 Thread Pavel Machek
Hi! > >>* Transport problem. The driver will report back a CRC error, timeout or > >>whatnot and break. We might not know how many sectors survived so we try > >>again, going sector-by-sector. We might get a transfer error again, > >>possibly even before the previous one. But at this point the tra

Reboot from linux,it will hang after the system POST

2005-08-19 Thread gnome boxer
I use fedora core 4,when I reboot from linux(not from windows or BIOS),it will hang after the system POST This only happens in reboot from linux kernel within 2.6.10-2.6.13-rc4(not from BIOS or windows).when I use grub to handle boot ,the grub will hang after the system POST,must reboot again from

Re: [PATCH] mmc: Multi-sector writes

2005-08-19 Thread Pierre Ossman
Pavel Machek wrote: > >Maybe the card is pretty close to going to crash, but... two disk >successive disk errors still should not be cause for journal >corruption. > >[Also errors could be corelated. Imagine severe overheat. You'll >successive failing writes, but if you let cool it down, you'll st

sleep under spinlock, sequencer.c, 2.6.12.5

2005-08-19 Thread Peter T. Breuer
The following "sleep under spinlock" is still present as of linux 2.6.12.5 in sound/oss/sequencer.c in midi_outc: n = 3 * HZ; /* Timeout */ spin_lock_irqsave(&lock,flags); while (n && !midi_devs[dev]->outputc(dev, data)) { interruptible_sleep_

Re: SATA status report updated

2005-08-19 Thread Simon Oosthoek
Jeff Garzik wrote: Things in SATA-land have been moving along recently, so I updated the software status report: http://linux.yyz.us/sata/software-status.html Although I have not updated it in several weeks, folks may wish to refer to the hardware status report as well: http://lin

Re: zero-copy read() interface

2005-08-19 Thread Jörn Engel
On Thu, 18 August 2005 16:34:18 -0700, dean gaudet wrote: > On Thu, 18 Aug 2005, Folkert van Heusden wrote: > > > Doesn't that one also use copying? I've also heard that using mmap is > > expensive due to pagefaulting. I've found, for example, that copying a > > 1.3GB file using read/write instead

Re: Linux under 8MB

2005-08-19 Thread Ondrej Zary
I've made a printserver with i386DX/25, 8MB RAM and 170MB HDD. Kernel is 2.6.12 (very light - 1.2MB uncompressed), userspace is based on Slackware 9.0 (init scripts modified), print server is CUPS. It boots in about a minute. It ran with 4MB too but the boot time was around 15 minutes :-) (with

Fix to Linux FAT12 mount issue?

2005-08-19 Thread Mukund JB`.
Dear all, Its time that there should be a fix applied to the FAT12 subsystem in Linux. I have noted that removable device FAT12 formatted in Camera like digital media does NOT have the FAT12 in sector 0 instead it has a partition table that speaks about the FAT12 fs start sector. Such devices tha

Re: SATA status report updated

2005-08-19 Thread Rainer Koenig
Hi Simon, Simon Oosthoek <[EMAIL PROTECTED]> writes: > I'm wondering how the support for the SIS 182 controller is doing, I > noticed they have a GPL driver on their website for kernel 2.6.10, > which is not a drop in replacement for sata_sis.c in 2.6.12.5, I > haven't tried compiling it as an ad

2.6.12.5: P4 2.0GHz detected as 2.6GHz?

2005-08-19 Thread Martin Zwickel
Did someone overclock our router or is this a misdetection? dmesg: Linux version 2.6.12.5 ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Thu Aug 18 11:23:14 CEST 2005 ... Kernel command line: auto BOOT_IMAGE=Linux2.6.12.5 ro root=303 Local APIC disabled by BIOS -- you can enable i

Re: cpuinfo(1)

2005-08-19 Thread Christoph Hellwig
On Thu, Aug 18, 2005 at 09:48:00PM -0400, Lee Revell wrote: > What ever happened with cpuinfo(1)? This thread: > > http://64.233.161.104/search?q=cache:_uCmn69gfyoJ:lists.debian.org/lsb-discuss/2002/01/msg00084.html+cpuinfo&hl=en > > ended inconclusively. LSB people apparently didn't care. Giv

Re: Fix to Linux FAT12 mount issue?

2005-08-19 Thread Christoph Hellwig
On Fri, Aug 19, 2005 at 02:23:11PM +0530, Mukund JB`. wrote: > Dear all, > > Its time that there should be a fix applied to the FAT12 subsystem in > Linux. > I have noted that removable device FAT12 formatted in Camera like > digital media does NOT have the FAT12 in sector 0 instead it has a > par

Re: lost ticks and Hangcheck

2005-08-19 Thread Kurt Wall
On Fri, Aug 19, 2005 at 12:41:07AM -0700, Nathan Becker took 37 lines to write: > Hi, > > I'm running kernel 2.6.12.5 with x86_64 target on an AMD X2 4800+ and > Gigabyte GA-K8NXP-SLI motherboard (bios version F8). I'm having a problem > with lost clock ticks. The dmesg says > > warning: many

Re: 2.6.12.5: P4 2.0GHz detected as 2.6GHz?

2005-08-19 Thread Ondrej Zary
Martin Zwickel wrote: Did someone overclock our router or is this a misdetection? model name : Intel(R) Celeron(R) CPU 2.00GHz cpu MHz : 2655.765 Looks like the FSB is set to 133MHz (533) instead of 100MHz (400) - in BIOS or by jumpers on the board. -- Ondrej Zary - To unsubscr

Re: 2.6.12.5: P4 2.0GHz detected as 2.6GHz?

2005-08-19 Thread Patrick McFarland
On Friday 19 August 2005 05:37 am, Martin Zwickel wrote: > Did someone overclock our router or is this a misdetection? > Detected 2655.765 MHz processor. > CPU: Intel(R) Celeron(R) CPU 2.00GHz stepping 07 > model name : Intel(R) Celeron(R) CPU 2.00GHz > cpu MHz : 2655.765 I bet it

[Alsa drivers] Creatives X-Fi chip

2005-08-19 Thread Emmanuel Fleury
Hi all, I did try to look for Alsa drivers for the new X-Fi chip from Creatives (http://www.tomshardware.com/consumer/20050818/), but I didn't find any. I there something running around this chip ? Or no plan yet ? Regards -- Emmanuel Fleury Assistant Professor | Office: B1-201 Comput

Re: [RFC][PATCH] Rename PageChecked as PageMiscFS

2005-08-19 Thread David Howells
Pavel Machek <[EMAIL PROTECTED]> wrote: > > I disagree again. I don't think PageFsMisc() is particularly ugly or > > unreadable; and it makes it a touch more likely that someone reading code > > that uses it will notice that it's a miscellaneous flag specifically for > > filesystem use (you can't

Re: [Hdaps-devel] Re: HDAPS, Need to park the head for real

2005-08-19 Thread Jon Escombe
Please make it "echo 1 > frozen", then userspace can do "echo 0 > frozen" after five seconds. What if the code to do "echo 0 > frozen" is swapped out to disk? ;) Emergency head parker needs to be pagelocked for other reasons. You do not want to page it from disk while your note

Re: [PATCH] Mobil Pentium 4 HT and the NMI

2005-08-19 Thread Mikael Pettersson
On Thu, 18 Aug 2005 20:23:00 -0700, Andrew Morton wrote: >Steven Rostedt <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I'm resending this since I don't see it in git yet, and I'm wondering if >> there is a problem with this patch. I have a IBM ThinkPad G41 with a >> Mobile Pentium 4 HT. Without thi

Re: sched_yield() makes OpenLDAP slow

2005-08-19 Thread Nikita Danilov
Howard Chu <[EMAIL PROTECTED]> writes: [...] > concurrency. It is the nature of such a system to encounter deadlocks > over the normal course of operations. When a deadlock is detected, some > thread must be chosen (by one of a variety of algorithms) to abort its > transaction, in order to allow

Re: [Hdaps-devel] Re: HDAPS, Need to park the head for real

2005-08-19 Thread Jens Axboe
On Fri, Aug 19 2005, Jon Escombe wrote: > > Please make it "echo 1 > frozen", then userspace can do "echo 0 > > frozen" > after five seconds. > > > >>>What if the code to do "echo 0 > frozen" is swapped out to disk? ;) > >>> > >>> > >>Emergency head parker needs

Re: Environment variables inside the kernel?

2005-08-19 Thread Guillermo López Alejos
> On Friday 19 August 2005 01:12, Alan Cox wrote: > ---[ 8< ]- > > Essentially environment is user space business and you can't get at it > > from the kernel. > -[ 8< ] > > I think the OP has his answer here. If someone knows what he is talking about, > it's Ala

Re: 2.6.13-rc6-rt9

2005-08-19 Thread Karsten Wiese
Chuck wrote: > I'm still getting the same oops when rebooting. the same process (reboot) > similar call trace (some addresses are slightly different but the functions > are the same: > disable_IO_APIC+0x5a/0x90 (8) > machine_restart+0x5/0x9 (28) > sys_reboot+0x147/0x156 (4) > netdev_run_todo+0xa4/0

Re: [git patches] ide update

2005-08-19 Thread Bartlomiej Zolnierkiewicz
On 8/19/05, Alan Cox <[EMAIL PROTECTED]> wrote: > On Iau, 2005-08-18 at 23:37 +0200, Bartlomiej Zolnierkiewicz wrote: > > + },{ /* 14 */ > > + .name = "Revolution", > > + .init_hwif = init_hwif_generic, > > + .channels = 2, > > +

Re: [git] libata-dev queue updated

2005-08-19 Thread Daniel Drake
Hi Jeff, Jeff Garzik wrote: I finally got around to creating something that has been missing since BitKeeper disappeared, and something that Andrew has been wanting from me for a while: an amalgamation of all the libata-dev branches that I maintain internally. You are missing two sata_promise

Re: pmac_nvram problems

2005-08-19 Thread Johannes Berg
On Fri, 2005-08-19 at 07:40 +1000, Benjamin Herrenschmidt wrote: > Just a question: Why do you want to have the nvram low level code as a > module ? It's sort-of an intergral part of the arch code ... Because I Can (TM). Actually, I just did this because of the suspend issue where OSX would reset

Re: PROBLEM: "drive appears confused" and "irq 18: nobody cared!"

2005-08-19 Thread Alexander Fieroch
Andrew Morton wrote: > If > any bugs remain, please raise entries for them at bugzilla.kernel.org, > thanks. I've raised an entry for that bug at http://bugzilla.kernel.org/show_bug.cgi?id=5084 Perhaps you want to add your address to the CC-list and perhaps you get new ideas with the different sys

second_overflow

2005-08-19 Thread smiling_23
Hi, I am trying to understand the timer adjustment calculation in Linuxkernel 2.6.12.5. How the time_adj is going to effect the change in HZ. For example if i modified the HZ to 2000. Then what will hapen to the time_adj. is there any separate calculation of time_adj is required for HZ 2000

Re: [PATCH] Mobil Pentium 4 HT and the NMI

2005-08-19 Thread Philippe Elie
On Thu, 18 Aug 2005 at 20:23 +, Andrew Morton wrote: > Steven Rostedt <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I'm resending this since I don't see it in git yet, and I'm wondering if > > there is a problem with this patch. I have a IBM ThinkPad G41 with a > > Mobile Pentium 4 HT. Wit

Re: Multiple virtual address mapping for the same code on IA-64 linux kernel.

2005-08-19 Thread Ingo Oeser
Hi, On Friday 19 August 2005 00:18, George Anzinger wrote: > Not to say that is wrong but just to make it clear that saying the > itanium speed is is like saying that a cummings diesel is fast with > out saying what sort of car/truck it is mounted in. Yes, esp. since we all known that the fast

Kernel bug: Bad page state: related to generic symlink code and mmap

2005-08-19 Thread Anton Altaparmakov
Hi, There is a bug somewhere in 2.6.11.4 and I can't figure out where it is. I assume it is present in older and newer kernels, too as the related code hasn't changed much AFAICS and googling for "Bad page state" returns rather a lot of hits relating to both older (up to 2.5.70!) and newer kernels

2.6.13-rc6-mm1

2005-08-19 Thread Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ - Lots of fixes, updates and cleanups all over the place. - If you have the right debugging options set, this kernel will generate a storm of sleeping-in-atomic-code warnings at boot, from the scsi code.

Re: [Hdaps-devel] Re: HDAPS, Need to park the head for real

2005-08-19 Thread Stefan Rompf
Dave Hansen wrote: > In reality, that probably means a statically compiled daemon that > mlock()s itself, and any structures that it will need. It _might_ even > need to keep an open file descriptor on the "frozen" file. Because, in > theory, that file could be written out to the sysfs backing s

RE: The Linux FAT issue on SD Cards.. maintainer support please

2005-08-19 Thread Mukund JB`.
Dear Lennart, >> I found that both of then do NOT have the partition table. > >If you don't use fdisk to create a partition on the card, then you won't >have one. I am having the partition table on the cam formatted CARD i.e. the partition 0. > If you mkdosfs on /dev/tfa0 then you loose the

Re: [git] libata-dev queue updated

2005-08-19 Thread Brett Russ
Jeff Garzik wrote: In such cases, patches are divided into branches by category: ncq (NCQ queueing support), chs-support (C/H/S support), adma (new ADMA driver), sil24 (new Silicon Image 312x driver), passthru (ATA passthrough/SMART support), etc. Jeff, The below doesn't seem to include NCQ.

RE: [Hdaps-devel] Re: HDAPS, Need to park the head for real

2005-08-19 Thread Alejandro Bonilla
> On Fri, Aug 19 2005, Jon Escombe wrote: > > For hard disk protection, I prefer the idea of the userspace code > > thawing the drive based on current accelerometer data, rather than > > simply waking up after x seconds (maybe you're running for > a bus rather > > than falling off a table)... > >

Re: The Linux FAT issue on SD Cards.. maintainer support please

2005-08-19 Thread Lennart Sorensen
On Fri, Aug 19, 2005 at 05:09:06PM +0530, Mukund JB`. wrote: > To handle it in a similarly in Linux we need to support this driver with > partitions. There looks a loop hole in the driver. > I will verify and fix it today. I suggest having a look at how other drivers use the add_disk call, since

Re: [PATCH for 2.6.13] iSeries build with newer assemblers and compilers

2005-08-19 Thread Pavel Machek
Hi! > Paulus suggested that we put xLparMap in its own .c file so that we can > generate a .s file to be included into head.S. This doesn't get around > the problem of having it at a fixed address, but it makes it more > palatable. This is probably too late, but > -#if 0 > struct HvReleaseD

Re: 2.6.13-rc6-rt9

2005-08-19 Thread Steven Rostedt
On Fri, 2005-08-19 at 02:39 -0400, Steven Rostedt wrote: > Ingo, can't you get rt.c to be more confusing. I mean it is too simple. > We need to add a few more underscores here and there :-) Seriously, > that rt.c is mind boggling. It was nice before, now it is just screaming > for a cleanup (come

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Brice Goglin
Hi Andrew, Got this warning: drivers/char/drm/drm_agpsupport.c:429:5: warning: "LINUX_VERSION_CODE" is not defined This test is for old 2.4 code. The attached patch simply removes it. Signed-off-by: Brice Goglin <[EMAIL PROTECTED]> Regards, Brice --- linux-mm/drivers/char/drm/drm_agpsupport.c.

[PATCH] fix klist to have the same klist_add semantics as list_head

2005-08-19 Thread James Bottomley
at the moment, the list_head semantics are list_add(node, head) whereas current klist semantics are klist_add(head, node) This is bound to cause confusion, and since klist is the newcomer, it should follow the list_head semantics. I also added missing include guards to klist.h Signed-off-by:

Re: [RFC,PATCH] Use RCU to protect tasklist for unicast signals

2005-08-19 Thread Oleg Nesterov
Paul E. McKenney wrote: > > I have indeed been thinking along these lines, but all of the devil plans > that I have come up thus far are quite intrusive, and might have some > performance problems in some situations. So it seems best to remove > tasklist_lock in steps: > > 1.Single-recipient c

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Brice Goglin
drivers/char/sysrq.c: In function 'sysrq_handle_showregs': drivers/char/sysrq.c:186: warning: statement with no effect This is caused by a smp call while CONFIG_SMP is not set. The attached patch fixes this. Signed-off-by: Brice Goglin <[EMAIL PROTECTED]> Brice --- linux-mm/drivers/char/sysrq.

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Reuben Farrelly
Hi, On 19/08/2005 11:33 p.m., Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ - Lots of fixes, updates and cleanups all over the place. - If you have the right debugging options set, this kernel will generate a storm of sleeping-i

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Brice Goglin
Le 19.08.2005 15:18, Brice Goglin a écrit : > drivers/char/sysrq.c: In function 'sysrq_handle_showregs': > drivers/char/sysrq.c:186: warning: statement with no effect > > This is caused by a smp call while CONFIG_SMP is not set. > The attached patch fixes this. Oops, reverted by mistake. Good one

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Brice Goglin
arch/i386/kernel/traps.c: In function 'die_nmi': arch/i386/kernel/traps.c:633: warning: statement with no effect Another smp_nmi_call. Signed-off-by: Brice Goglin <[EMAIL PROTECTED]> Brice --- linux-mm/arch/i386/kernel/traps.c.old 2005-08-19 15:19:14.0 +0200 +++ linux-mm/arch/i38

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Russell King
On Fri, Aug 19, 2005 at 03:25:19PM +0200, Brice Goglin wrote: > arch/i386/kernel/traps.c: In function 'die_nmi': > arch/i386/kernel/traps.c:633: warning: statement with no effect > > Another smp_nmi_call. > > Signed-off-by: Brice Goglin <[EMAIL PROTECTED]> Since you're going to be adding #ifdef

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Brice Goglin
Le 19.08.2005 15:27, Russell King a écrit : > Since you're going to be adding #ifdef CONFIG_SMP...#endif around each > of these, why not fix where it's declared/defined to be empty? Probably because I'm too lazy to find a nice way to fix it :) smp_nmi_call_function may return an error but I don't

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Russell King
On Fri, Aug 19, 2005 at 03:41:29PM +0200, Brice Goglin wrote: > Le 19.08.2005 15:27, Russell King a écrit : > > Since you're going to be adding #ifdef CONFIG_SMP...#endif around each > > of these, why not fix where it's declared/defined to be empty? > > Probably because I'm too lazy to find a nice

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Brice Goglin
Le 19.08.2005 15:45, Russell King a écrit : > #ifdef CONFIG_SMP > extern int smp_nmi_call_function(void (*fn)(void *), void *priv, int whatever); > #else > static inline int smp_nmi_call_function(void (*fn)(void *), void *priv, int whatever) > { > return 0; > } > #endif > > Obviously I've pro

kernel 2.6.10-2.6.13-rc4 hang reboot from linux(not from windows or from BIOS),but 2.6.8 and 2.6.9 haven't

2005-08-19 Thread gnome boxer
I use fedora core 4,when I rebooted from linux(not from windows or BIOS),it will hang after the system POST before grub display the stage 1.5 on the screen,so I must reboot again from there using CRTL+ALT+DEL I don't know whether this belongs to grub or belongs to the linux reboot changes from 2.6

[PATCH] for acpi S1 power cycle resume problems

2005-08-19 Thread William Morrow
Hi I was told that if I had a patch to submit for a baseline change that this was the place to do it. If not, please let me know... thanks, morrow Patched against 2.6.11 baseline problems fixed: 1) OHCI_INTR_RD not being cleared in ohci interrupt handler results in interrupt storm and system h

Re: Kernel bug: Bad page state: related to generic symlink code and mmap

2005-08-19 Thread Al Viro
On Fri, Aug 19, 2005 at 12:14:48PM +0100, Anton Altaparmakov wrote: > Hi, > > There is a bug somewhere in 2.6.11.4 and I can't figure out where it is. > I assume it is present in older and newer kernels, too as the related > code hasn't changed much AFAICS and googling for "Bad page state" > retur

Re: kernel OOPS for XFS in xfs_iget_core (using NFS+SMP+MD)

2005-08-19 Thread kristina clair
No, it doesn't. Is that something that should help? Now that the error has occurred once, it occurred again within 24 hours. Thanks, Kristina On 8/18/05, Nathan Scott <[EMAIL PROTECTED]> wrote: > On Thu, Aug 18, 2005 at 06:49:05PM +, kristina clair wrote: > > I've just come across this oops

Re: [PATCH] configfs: export config_group_find_obj

2005-08-19 Thread Joel Becker
On Thu, Aug 18, 2005 at 02:26:02PM +0800, David Teigland wrote: > In the dlm I use config_group_find_obj() which isn't exported. Did you notice the /* XXX Locking */? Let me go see how you use it, if it is the best way, we'll need to revisit the function and be sure it's happy. Joel >

Re: [PATCH] configfs: export config_group_find_obj

2005-08-19 Thread Joel Becker
On Thu, Aug 18, 2005 at 02:17:49PM -0700, Joel Becker wrote: > On Thu, Aug 18, 2005 at 02:26:02PM +0800, David Teigland wrote: > > In the dlm I use config_group_find_obj() which isn't exported. > > Did you notice the /* XXX Locking */? Let me go see how you use > it, if it is the best way,

Re: [PATCH] configfs: export config_group_find_obj

2005-08-19 Thread Joel Becker
On Thu, Aug 18, 2005 at 02:20:23PM -0700, Joel Becker wrote: > On Thu, Aug 18, 2005 at 02:17:49PM -0700, Joel Becker wrote: > > On Thu, Aug 18, 2005 at 02:26:02PM +0800, David Teigland wrote: > > > In the dlm I use config_group_find_obj() which isn't exported. > > > > Did you notice the /* XXX

Re: kernel 2.6.10-2.6.13-rc4 hang reboot from linux(not from windows or from BIOS),but 2.6.8 and 2.6.9 haven't

2005-08-19 Thread gnome boxer
2005/8/19, roucaries bastien <[EMAIL PROTECTED]>: > On 8/19/05, gnome boxer <[EMAIL PROTECTED]> wrote: > > I use fedora core 4,when I rebooted from linux(not from windows or > > BIOS),it will hang after the system POST before grub display the stage > > 1.5 on the screen,so I must reboot again from

Re: kernel 2.6.10-2.6.13-rc4 hang reboot from linux(not from windows or from BIOS),but 2.6.8 and 2.6.9 haven't

2005-08-19 Thread gnome boxer
> > Seems your bios reboot routine is buggy. The preevious option are workarround. > If this was my BIOS' buggy,Why I used windows haven't this buggy or linux older than 2.6.10 haven't this? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EM

[PATCH] mips: add pcibios_select_root

2005-08-19 Thread Yoichi Yuasa
Hi, This patch has added pcibios_select_root to MIPS. Please apply. Yoichi Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]> diff -urN -X dontdiff mm1-orig/include/asm-mips/pci.h mm1/include/asm-mips/pci.h --- mm1-orig/include/asm-mips/pci.h 2005-08-20 00:04:18.0 +0900 +++ mm1/include

Re: kernel 2.6.10-2.6.13-rc4 hang reboot from linux(not from windows or from BIOS),but 2.6.8 and 2.6.9 haven't

2005-08-19 Thread gnome boxer
2005/8/19, roucaries bastien <[EMAIL PROTECTED]>: > On 8/19/05, gnome boxer <[EMAIL PROTECTED]> wrote: > > I use fedora core 4,when I rebooted from linux(not from windows or > > BIOS),it will hang after the system POST before grub display the stage > > 1.5 on the screen,so I must reboot again from

Re: 2.6.13-rc6-rt9

2005-08-19 Thread Steven Rostedt
On Fri, 2005-08-19 at 09:00 -0400, Steven Rostedt wrote: > On Fri, 2005-08-19 at 02:39 -0400, Steven Rostedt wrote: > I haven't thought of a good way yet to solve the race condition with > dependent sleeper. (Except by turning off CONFIG_WAKEUP_TIMING :-) > OK, I found one simple solution. The p

Re: 2.6.13-rc6-git10 test report [x86_64](WITHOUT NVIDIA MODULE)

2005-08-19 Thread Peter Buckingham
Hi Sean, Sean Bruno wrote: Well, I do have IOMMU enabled in my kernel .config. I have attached it to this message as well. I would appreciate any guidance as I pretty much have no idea what 99% of the items in here are for. This is the .config that I used to build the kernel from the dmesg ou

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Ed Tomlinson
On Friday 19 August 2005 07:33, Andrew Morton wrote: > - Lots of fixes, updates and cleanups all over the place. > > - If you have the right debugging options set, this kernel will generate >   a storm of sleeping-in-atomic-code warnings at boot, from the scsi code. >   It is being worked on. > >

Re: 2.6.13-rc6-git10 test report [x86_64](WITHOUT NVIDIA MODULE)

2005-08-19 Thread Andi Kleen
On Fri, Aug 19, 2005 at 08:38:25AM -0700, Peter Buckingham wrote: > Hi Sean, > > Sean Bruno wrote: > >Well, I do have IOMMU enabled in my kernel .config. I have attached it > >to this message as well. I would appreciate any guidance as I pretty > >much have no idea what 99% of the items in here

Re: 2.6.13-rc6-git10 test report [x86_64](WITHOUT NVIDIA MODULE)

2005-08-19 Thread Peter Buckingham
Andi Kleen wrote: At least his original error message can only happen when CONFIG_GART_IOMMU is disabled. PCI-DMA: More that 4GB of RAM and no IOMMU PCI-DMA: 32bit PCI IO may malfunction.<6>PCI-DMA: Disabling

Re: 2.6.13-rc6-git10 test report [x86_64](WITHOUT NVIDIA MODULE)

2005-08-19 Thread Andi Kleen
On Fri, Aug 19, 2005 at 08:52:15AM -0700, Peter Buckingham wrote: > Andi Kleen wrote: > >At least his original error message can only happen when CONFIG_GART_IOMMU > >is disabled. > > > >PCI-DMA: More that 4GB of RAM and no IOMMU > >PCI-DMA: 32bit PCI IO may malfu

Re: 2.6.13-rc6-git10 test report [x86_64](WITHOUT NVIDIA MODULE)

2005-08-19 Thread Peter Buckingham
Andi Kleen wrote: On Fri, Aug 19, 2005 at 08:52:15AM -0700, Peter Buckingham wrote: Andi Kleen wrote: At least his original error message can only happen when CONFIG_GART_IOMMU is disabled. PCI-DMA: More that 4GB of RAM and no IOMMU PCI-DMA: 32bit PCI IO ma

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Benoit Boissinot
On 8/19/05, Ed Tomlinson <[EMAIL PROTECTED]> wrote: > On Friday 19 August 2005 07:33, Andrew Morton wrote: > > - Lots of fixes, updates and cleanups all over the place. > > > > - If you have the right debugging options set, this kernel will generate > > a storm of sleeping-in-atomic-code warnings a

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Dave Kleikamp
It seems that git-ocfs2.patch duplicates the update-filesystems-for-new-delete_inode-behavior.patch. I noticed it adds duplicate statements like: diff -puN fs/ext2/inode.c~git-ocfs2 fs/ext2/inode.c diff -puN fs/ext3/inode.c~git-ocfs2 fs/ext3/inode.c --- devel/fs/ext3/inode.c~git-ocfs2 2005-08

Re: 2.6.13-rc6-git10 test report [x86_64](WITHOUT NVIDIA MODULE)

2005-08-19 Thread Sean Bruno
On Fri, 2005-08-19 at 08:59 -0700, Peter Buckingham wrote: > Andi Kleen wrote: > > On Fri, Aug 19, 2005 at 08:52:15AM -0700, Peter Buckingham wrote: > > > >>Andi Kleen wrote: > >> > >>>At least his original error message can only happen when CONFIG_GART_IOMMU > >>>is disabled. > >>> > >>>PCI-DMA:

Re: sysfs: write returns ENOMEM?

2005-08-19 Thread Greg KH
On Fri, Aug 19, 2005 at 12:55:25AM -0500, Dmitry Torokhov wrote: > [Apologies if you see this message twice - I accidentially sent it in HTML > format first time around and I am pretty sure LKML will eat it] > > Hi, > > According to the SuS write() can not return ENOMEM, only ENOBUFS is allowed

Re: 2.6.13-rc6-git10 test report [x86_64](WITHOUT NVIDIA MODULE)

2005-08-19 Thread Peter Buckingham
Sean Bruno wrote: Well, there doesn't appear to be any reference to a setting in my BIOS for this size(IOMMU). So I don't think that I can change it! :( well, it doesn't really matter since the kernel enables the IOMMU anyway. if you want to change the size you can pass that as a parameter

Re: [RFC][PATCH] Rename PageChecked as PageMiscFS

2005-08-19 Thread Daniel Phillips
On Friday 19 August 2005 20:04, David Howells wrote: > Pavel Machek <[EMAIL PROTECTED]> wrote: > > > I disagree again. I don't think PageFsMisc() is particularly ugly or > > > unreadable; and it makes it a touch more likely that someone reading > > > code that uses it will notice that it's a miscel

Re: [PATCH] Add pci_walk_bus function to PCI core (nonrecursive)

2005-08-19 Thread Linas Vepstas
Hi, On Thu, Aug 18, 2005 at 02:58:28PM +1000, Benjamin Herrenschmidt was heard to remark: > On Thu, 2005-08-18 at 14:33 +1000, Paul Mackerras wrote: > > This patch adds a > > function to the PCI core that traverses all the PCI devices on a PCI > > bus and under any PCI-PCI bridges on that bus (an

Re: Kernel bug: Bad page state: related to generic symlink code and mmap

2005-08-19 Thread Anton Altaparmakov
On Fri, 2005-08-19 at 15:20 +0100, Al Viro wrote: > On Fri, Aug 19, 2005 at 12:14:48PM +0100, Anton Altaparmakov wrote: > > There is a bug somewhere in 2.6.11.4 and I can't figure out where it is. > > I assume it is present in older and newer kernels, too as the related > > code hasn't changed much

Re: Kernel bug: Bad page state: related to generic symlink code and mmap

2005-08-19 Thread Al Viro
On Fri, Aug 19, 2005 at 04:44:06PM +0100, Anton Altaparmakov wrote: > I tried stracing nautilus to answer your question. And this time for > the first time instead of a Bad page state I got a BUG() triggered in > fs/namei.c, the arrow below marks the spot: > > void page_put_link(struct dentry *de

Re: Kernel bug: Bad page state: related to generic symlink code and mmap

2005-08-19 Thread Linus Torvalds
On Fri, 19 Aug 2005, Anton Altaparmakov wrote: > > struct page *page; > page = find_get_page(dentry->d_inode->i_mapping, 0); > if (!page) > > BUG(); Something has truncated the mapping. My guess is that you had a cache invalidate ev

Re: Kernel bug: Bad page state: related to generic symlink code and mmap

2005-08-19 Thread Al Viro
On Fri, Aug 19, 2005 at 09:07:35AM -0700, Linus Torvalds wrote: > Hmm.. NFS _does_ use the page cache for symlinks, but uses it slightly > differently: instead of relying on the page cache entry being the same > when freeing the page, it just caches the page it looked up in the page > cache (ie

Re: Kernel bug: Bad page state: related to generic symlink code and mmap

2005-08-19 Thread Linus Torvalds
On Fri, 19 Aug 2005, Linus Torvalds wrote: > > The generic "page cache for symlinks" code does _not_ support invalidating > the cache while it's being used. A local filesystem will obviously never > invalidate the cache at all. > > Hmm.. NFS _does_ use the page cache for symlinks [..] Looki

Re: Kernel bug: Bad page state: related to generic symlink code and mmap

2005-08-19 Thread Linus Torvalds
On Fri, 19 Aug 2005, Linus Torvalds wrote: > > - document this as a fundamental fact, and apply the ncpfs patch. Local >filesystems can still continue to use the generic helper functions >(all other users _are_ local filesystems). Actually, looking at the ncpfs patch, I'd rather not

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Avuton Olrich
On 8/19/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > - Lots of fixes, updates and cleanups all over the place. Problem: Badness during boot, seems to pertain to USB serial driver/gameport Kernel Version: Linux version 2.6.13-rc6-mm1 ([EMAIL PROTECTED]) (gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.

Re: 2.6.13-rc6-rt9

2005-08-19 Thread Peter Zijlstra
Hi Ingo, Paul, others, I'm trying to run a user-mode-linux guest under the RT kernel however the uml process never gets out of the calibrate delay loop. It seems as if the signal never gets through. A non -rt host kernel does work (with a similar .config). Could this be related to pauls task lis

Re: [PATCH 2.6.13-rc6 1/2] New Syscall: get rlimits of any process (update)

2005-08-19 Thread Elliot Lee
On Thu, 18 Aug 2005, Alan Cox wrote: > > Also some documention for specific services show that there is a need to > > adjust rlimits per process at runtime, e.g.: > > http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.4 > > http://slacksite.com/apache/logging.html > > http://staff.in2.hr/denis/or

Re: Kernel bug: Bad page state: related to generic symlink code and mmap

2005-08-19 Thread Al Viro
On Fri, Aug 19, 2005 at 09:43:17AM -0700, Linus Torvalds wrote: > Actually, looking at the ncpfs patch, I'd rather not apply that patch > as-is. It looks like it will totally disable symlink caching, which would > be kind of sad. Somebody willing to do the same thing NFS does? > > NFS hides away

2.6.13-rc6-mm1: drivers/scsi/aic7xxx/ compile error

2005-08-19 Thread Adrian Bunk
<-- snip --> ... LD drivers/scsi/aic7xxx/built-in.o drivers/scsi/aic7xxx/aic79xx.o: In function `aic_parse_brace_option': : multiple definition of `aic_parse_brace_option' drivers/scsi/aic7xxx/aic7xxx.o:: first defined here make[3]: *** [drivers/scsi/aic7xxx/built-in.o] Error 1 <-- snip

Re: 2.6.13-rc6-mm1: drivers/scsi/aic7xxx/ compile error

2005-08-19 Thread Christoph Hellwig
On Fri, Aug 19, 2005 at 06:40:36PM +0200, Adrian Bunk wrote: > <-- snip --> > > ... > LD drivers/scsi/aic7xxx/built-in.o > drivers/scsi/aic7xxx/aic79xx.o: In function `aic_parse_brace_option': > : multiple definition of `aic_parse_brace_option' > drivers/scsi/aic7xxx/aic7xxx.o:: first def

[PATCH] negative timer loop with lots of IPv4 peers

2005-08-19 Thread Dave Johnson
Found this bug while doing some scaling testing that created 500K inet peers. peer_check_expire() in net/ipv4/inetpeer.c isn't using inet_peer_gc_mintime correctly and will end up creating an expire timer with less than the minimum duration, and even zero/negative if enough active peers are prese

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Andrew Morton
Reuben Farrelly <[EMAIL PROTECTED]> wrote: > > Hi, > > On 19/08/2005 11:33 p.m., Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ > > > > - Lots of fixes, updates and cleanups all over the place. > > > > - If you have the right deb

floppy driver in 2.6.12.5

2005-08-19 Thread Cezary Sliwa
Just wanted to format a floppy disk with fdformat, no way: Aug 14 22:28:45 kwant kernel: floppy0: unexpected interrupt Aug 14 22:28:45 kwant kernel: floppy0: sensei repl[0]=80 Aug 14 22:28:49 kwant kernel: floppy0: -- FDC reply errorfloppy0: unexpected interrupt Aug 14 22:28:49 kwant kernel:

Re: 2.6.13-rc6-mm1

2005-08-19 Thread Jesper Juhl
On 8/19/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ > menuconfig complains a little : $ make menuconfig scripts/kconfig/mconf arch/i386/Kconfig drivers/char/Kconfig:847:warning: 'select' used by config

  1   2   3   >