| From | Subject | Date |
|---|---|---|
| Peter Ambroz | Marvell 6145 PATA controller
Hello!
Will talk about 2.6.25 kernel.
I had recently a problem with marvell pata controllers. Exactly speaking
of "IDE interface: Marvell Technology Group Ltd. 88SE6145 SATA II PCI-E
controller", pci-id 11ab:6145.
There is a (pseudo) driver in the kernel for handling that controller,
called pata_marvell, but it doesn't claim the device.
Instead, ahci driver claims that device, and then just does nothing.
Devices connected to the marvell are not seen by kernel.
After looking into the ...
| Aug 30, 4:50 pm 2008 |
| Elias Oltmanns | Re: [PATCH 2/4] libata: Implement disk shock protection ...
Right, will do.
Maybe I'm missing something but I don't see how I could use msleep()
Well, I really am concerned about dev->sdev. So far, I haven't quite
figured out yet whether under which circumstances I can safely assume
that the scsi counter part of dev including the block layer request
queue has been completely set up and configured so there won't be any
null pointer dereferences. However, if you think that I needn't bother
with stopping the request queue anyway, checking for ...
| Aug 30, 4:38 pm 2008 |
| David Witbrodt | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Yinghai,
I believe I have applied those patches correctly -- but I have only
been using git since Aug. 4, so please verify that I have done what
you asked.
My git tree was originally created by cloning Linus' linux-2.6 tree.
I ran into some difficulty applying the patches, but I found a way to
allow them to apply:
===== SHELL SESSION =============
$ git apply --verbose --check ../split_e820_reserve.patch
Checking patch arch/x86/kernel/e820.c...
Checking patch ...
| Aug 30, 4:29 pm 2008 |
| David Wagner | Re: buffer overflow in /proc/sys/sunrpc/transports
1. Would it be better to use copy_to_user() rather than
access_ok() followed immediately by __copy_to_user()?
2. Is it OK to dereference *lenp directly? Is lenp a pointer into user
memory or kernel memory? If it points to user memory, why is it safe to
dereference it directly? (What about TOCTTOU bugs?) Should there be
some sparse annotations here to ensure the code is not dereferencing
user pointers directly? Later on, proc_do_xprt() also dereferences
*lenp and *ppos directly.
3. ...
| Aug 30, 3:55 pm 2008 |
| Steven King | 2.6.26.[1-3] + x61 tablet + x6ultrabase: no resume after ...
While 2.6.26 made my x61t work with the x6ultrabase, I find that once I have
docked the x61t, I can only resume after a suspend2ram if the x61t is docked.
That is:
Never have been docked: suspend & resume works fine.
Docked: suspend & resume works fine.
Docked, undocked, re-docked: suspend & resume works fine.
Docked, then undocked: never finishes resuming (the disk seems to spin up and
the sleep led goes off, but the system doesnt seem to get any further).
Any suggestions?
attached ...
| Aug 30, 3:35 pm 2008 |
| Justin Piszcz | Re: [smartmontools-support] exception Emask 0x0 SAct 0x0 ...
I have the same controller in my host as well, but it does not appear to
matter whether it happens on the ICH8 controller or other controllers.
I have noticed on Velociraptors I seem to get the same/similar error that
you do as well, and I ran all the same tests as you, to no avail as to getting
any closer to finding the root cause/problem.
(.. more so than the regular old raptor150s)
Besides the annoying messages in the kernel log/syslog/dmesg, does it
affect your system stability in ...
| Aug 30, 3:12 pm 2008 |
| xerces8 | oops during reboot in device_shutdown()
Hi!
While running RIPLinux* 6.3, I got the below oops.
What I did was boot up riplinux from USB key, start X, the run "reboot -f" on VT2.
* - http://www.tux.org/pub/people/kent-robotti/looplinux/rip/
After the oops I run "reboot" again and got the same oops again.
Note: I am not sure if I ran the 32 or 64 bit kernel.
For kernel config and (3 smallish) patches see:
http://www.tux.org/pub/people/kent-robotti/looplinux/rip/docs/kernel.txt
(or ...
| Aug 30, 2:52 pm 2008 |
| Rafael J. Wysocki | [Bug #11343] SATA Cold Boot Problems with 2.6.27-rc[23] ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11343
Subject : SATA Cold Boot Problems with 2.6.27-rc[23] on nVidia 680i
Submitter : Manny Maxwell <mannymax@mannymax.net>
Date : 2008-08-14 4:16 (17 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11279] 2.6.27-rc0 Power Bugs with HP/Compaq Laptops
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11279
Subject : 2.6.27-rc0 Power Bugs with HP/Compaq Laptops
Submitter : Matt Parnell <mparnell@gmail.com>
Date : 2008-08-07 14:57 (24 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11220] Screen stays black after resume
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11220
Subject : Screen stays black after resume
Submitter : Nico Schottelius <nico@schottelius.org>
Date : 2008-07-31 21:05 (31 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Alan Jenkins | Re: [Bug #11237] corrupt PMD after resume
This has been isolated (to disparate buggy BIOSes), patches written and
tested. It's more policy decisions now; mainly whether the workaround
(which wastes 64k) should be applied by default. So I think you should add
Patch :
http://marc.info/?l=linux-kernel&m=122001615314700&w=2
Regards
Alan
--
| Aug 30, 2:49 pm 2008 |
| Rafael J. Wysocki | [Bug #11224] Only three cores found on quad-core machine.
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11224
Subject : Only three cores found on quad-core machine.
Submitter : Dave Jones <davej@redhat.com>
Date : 2008-08-01 18:15 (30 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11438] Upcoming oops in lockdep
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11438
Subject : Upcoming oops in lockdep
Submitter : Arjan van de Ven <arjan@infradead.org>
Date : 2008-08-23 20:49 (8 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11463] sshd hangs on close
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11463
Subject : sshd hangs on close
Submitter : Matthias Urlichs <matthias@urlichs.de>
Date : 2008-08-30 9:18 (1 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11191] 2.6.26-git8: spinlock lockup in c1e_idle()
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11191
Subject : 2.6.26-git8: spinlock lockup in c1e_idle()
Submitter : Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
Date : 2008-07-24 03:22 (38 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11459] kernel crash after wifi connection established
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11459
Subject : kernel crash after wifi connection established
Submitter : Alexey Kuznetsov <ak@axet.ru>
Date : 2008-08-30 03:08 (1 days old)
--
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11410] SLUB list_lock vs obj_hash.lock...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11410
Subject : SLUB list_lock vs obj_hash.lock...
Submitter : Daniel J Blueman <daniel.blueman@gmail.com>
Date : 2008-08-22 21:48 (9 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11462] v2.6.27-rc5 regression: mtd/block device is ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11462
Subject : v2.6.27-rc5 regression: mtd/block device issue with cmd_filter
Submitter : Laurent Pinchart <laurentp@cse-semaphore.com>
Date : 2008-08-29 10:50 (2 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| David Greaves | Re: [Bug #11460] 2.6.27-rc3 to -rc4 regression: init 0 h ...
Yes.
I'm trying to bisect it but came across a bug/problem in git doing bisects.
(see message subject "setlocalversion wasn't producing git labels for bisect")
David
--
| Aug 30, 3:20 pm 2008 |
| Rafael J. Wysocki | [Bug #11439] [2.6.27-rc4-git4] compilation warnings
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11439
Subject : [2.6.27-rc4-git4] compilation warnings
Submitter : Rufus &amp; Azrael <rufus-azrael@numericable.fr>
Date : 2008-08-26 9:37 (5 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11210] libata badness
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11210
Subject : libata badness
Submitter : Kumar Gala <galak@kernel.crashing.org>
Date : 2008-07-31 18:53 (31 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | Re: 2.6.27-rc5-git2: Reported regressions from 2.6.26
Thanks, closed.
Rafael
--
| Aug 30, 2:42 pm 2008 |
| David Miller | Re: 2.6.27-rc5-git2: Reported regressions from 2.6.26
From: "Rafael J. Wysocki" <rjw@sisk.pl>
Should be fixed by:
commit d3d7b53d1ae46534cd73e1073a5c29e3b61a0552
Author: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri Aug 22 19:24:15 2008 +0100
[netdrvr] fix build issue: undefined reference to `NS8390p_init'
Signed-off-by: Alan 'pass the paper bags' Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
--
| Aug 30, 2:32 pm 2008 |
| Rafael J. Wysocki | [Bug #11355] Regression in 2.6.27-rc2 when cross-buildin ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11355
Subject : Regression in 2.6.27-rc2 when cross-building the kernel
Submitter : Larry Finger <Larry.Finger@lwfinger.net>
Date : 2008-08-16 2:38 (15 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Yinghai Lu | Re: [Bug #11388] 2.6.27-rc3 warns about MTRR range; only ...
this should be closed
commit 38cc1c3df77c1bb739a4766788eb9fa49f16ffdf
x86: work around MTRR mask setting
fixed it.
YH
--
| Aug 30, 2:29 pm 2008 |
| Rafael J. Wysocki | [Bug #11230] Kconfig no longer outputs a .config with fr ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11230
Subject : Kconfig no longer outputs a .config with freshly updated defconfigs
Submitter : Josh Boyer <jwboyer@linux.vnet.ibm.com>
Date : 2008-08-02 16:03 (29 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11404] BUG: in 2.6.23-rc3-git7 in do_cciss_intr
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11404
Subject : BUG: in 2.6.23-rc3-git7 in do_cciss_intr
Submitter : rdunlap <randy.dunlap@oracle.com>
Date : 2008-08-21 5:52 (10 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11358] net: forcedeth call restore mac addr in nv_ ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11358
Subject : net: forcedeth call restore mac addr in nv_shutdown path
Submitter : Yinghai Lu <yhlu.kernel@gmail.com>
Date : 2008-08-17 3:30 (14 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11460] 2.6.27-rc3 to -rc4 regression: init 0 hangs ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11460
Subject : 2.6.27-rc3 to -rc4 regression: init 0 hangs in halt
Submitter : David Greaves <david@dgreaves.com>
Date : 2008-08-30 04:07 (1 days old)
--
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11340] LTP overnight run resulted in unusable box
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11340
Subject : LTP overnight run resulted in unusable box
Submitter : Alexey Dobriyan <adobriyan@gmail.com>
Date : 2008-08-13 9:24 (18 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11357] Can not boot up with zd1211rw USB-Wlan Stick
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11357
Subject : Can not boot up with zd1211rw USB-Wlan Stick
Submitter : uwe <kender@freenet.de>
Date : 2008-08-16 14:17 (15 days old)
--
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11264] Invalid op opcode in kernel/workqueue
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11264
Subject : Invalid op opcode in kernel/workqueue
Submitter : Jean-Luc Coulon <jean.luc.coulon@gmail.com>
Date : 2008-08-07 04:18 (24 days old)
--
| Aug 30, 12:50 pm 2008 |
| Larry Finger | Re: [Bug #11355] Regression in 2.6.27-rc2 when cross-bui ...
Not fixed yet.
Larry
--
| Aug 30, 2:34 pm 2008 |
| Rafael J. Wysocki | [Bug #11465] Linux-2.6.27-rc5, drm errors in log
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11465
Subject : Linux-2.6.27-rc5, drm errors in log
Submitter : Gene Heskett <gene.heskett@verizon.net>
Date : 2008-08-30 18:52 (1 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11237] corrupt PMD after resume
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11237
Subject : corrupt PMD after resume
Submitter : Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Date : 2008-08-02 9:51 (29 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11403] 2.6.27-rc2 USB suspend regression
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11403
Subject : 2.6.27-rc2 USB suspend regression
Submitter : Jeremy Fitzhardinge <jeremy@goop.org>
Date : 2008-08-20 20:48 (11 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11209] 2.6.27-rc1 process time accounting
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11209
Subject : 2.6.27-rc1 process time accounting
Submitter : Lukas Hejtmanek <xhejtman@ics.muni.cz>
Date : 2008-07-31 10:43 (31 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11336] 2.6.27-rc2:stall while mounting root fs
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11336
Subject : 2.6.27-rc2:stall while mounting root fs
Submitter : Torsten Kaiser <just.for.lkml@googlemail.com>
Date : 2008-08-12 12:37 (19 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11452] md (regression): reboot/shutdown hangs
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11452
Subject : md (regression): reboot/shutdown hangs
Submitter : Alistair John Strachan <alistair@devzero.co.uk>
Date : 2008-08-28 19:05 (3 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | Re: [Bug #11388] 2.6.27-rc3 warns about MTRR range; only ...
Thanks, closed now.
Rafael
--
| Aug 30, 2:39 pm 2008 |
| Rafael J. Wysocki | [Bug #11308] tbench regression on each kernel release fr ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11308
Subject : tbench regression on each kernel release from 2.6.22 -&gt; 2.6.28
Submitter : Christoph Lameter <cl@linux-foundation.org>
Date : 2008-08-11 18:36 (20 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11215] INFO: possible recursive locking detected p ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11215
Subject : INFO: possible recursive locking detected ps2_command
Submitter : Zdenek Kabelac <zdenek.kabelac@gmail.com>
Date : 2008-07-31 9:41 (31 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11361] my servers with nvidia mcp55 nic don't work ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11361
Subject : my servers with nvidia mcp55 nic don't work with msi in second kernel by kexec
Submitter : Yinghai Lu <yhlu.kernel@gmail.com>
Date : 2008-08-17 6:25 (14 days ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11435] oops due to smp_call_function_single changes
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11435
Subject : oops due to smp_call_function_single changes
Submitter : Avi Kivity <avi@qumranet.com>
Date : 2008-08-24 16:41 (7 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11335] 2.6.27-rc2-git5 BUG: unable to handle kerne ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11335
Subject : 2.6.27-rc2-git5 BUG: unable to handle kernel paging request
Submitter : Randy Dunlap <randy.dunlap@oracle.com>
Date : 2008-08-12 4:18 (19 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11398] hda_intel: IRQ timing workaround is activat ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11398
Subject : hda_intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
Submitter : Frans Pop <elendil@planet.nl>
Date : 2008-08-21 17:17 (10 days ...
| Aug 30, 12:50 pm 2008 |
| Peter Zijlstra | Re: [Bug #11438] Upcoming oops in lockdep
as far as I'm concerned this has nothing to do with lockdep
--
| Aug 30, 2:36 pm 2008 |
| Rafael J. Wysocki | [Bug #11442] btusb hibernation/suspend breakage in curre ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11442
Subject : btusb hibernation/suspend breakage in current -git
Submitter : Rafael J. Wysocki <rjw@sisk.pl>
Date : 2008-08-25 11:37 (6 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11276] build error: CONFIG_OPTIMIZE_INLINING=y cau ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11276
Subject : build error: CONFIG_OPTIMIZE_INLINING=y causes gcc 4.2 to do stupid things
Submitter : Randy Dunlap <randy.dunlap@oracle.com>
Date : 2008-08-06 17:18 (25 days ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | Re: [Bug #11237] corrupt PMD after resume
Done.
Thanks,
Rafael
--
| Aug 30, 3:04 pm 2008 |
| Rafael J. Wysocki | [Bug #11272] BUG: parport_serial in 2.6.27-rc1 for NetMo ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11272
Subject : BUG: parport_serial in 2.6.27-rc1 for NetMos Technology PCI 9835
Submitter : Jaswinder Singh <jaswinderlinux@gmail.com>
Date : 2008-08-05 15:12 (26 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11388] 2.6.27-rc3 warns about MTRR range; only 3 o ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11388
Subject : 2.6.27-rc3 warns about MTRR range; only 3 of 16gb of memory is usable
Submitter : Joshua Hoblitt <j_kernel@hoblitt.com>
Date : 2008-08-20 17:38 (11 days old)
--
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11207] VolanoMark regression with 2.6.27-rc1
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11207
Subject : VolanoMark regression with 2.6.27-rc1
Submitter : Zhang, Yanmin <yanmin_zhang@linux.intel.com>
Date : 2008-07-31 3:20 (31 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11382] e1000e: 2.6.27-rc1 corrupts EEPROM/NVM
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11382
Subject : e1000e: 2.6.27-rc1 corrupts EEPROM/NVM
Submitter : David Vrabel <david.vrabel@csr.com>
Date : 2008-08-08 10:47 (23 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11141] no battery or DC status - Dell i1501
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11141
Subject : no battery or DC status - Dell i1501
Submitter : Gu Rui <chaos.proton@gmail.com>
Date : 2008-07-21 19:43 (41 days old)
Handled-By : Zhao Yakui <yakui.zhao@intel.com>
--
| Aug 30, 12:46 pm 2008 |
| Rafael J. Wysocki | [Bug #11380] lockdep warning: cpu_add_remove_lock at:cpu ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11380
Subject : lockdep warning: cpu_add_remove_lock at:cpu_maps_update_begin+0x14/0x16
Submitter : Ingo Molnar <mingo@elte.hu>
Date : 2008-08-20 6:44 (11 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11441] lots of 'in_atomic():1, irqs_disabled():0' ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11441
Subject : lots of 'in_atomic():1, irqs_disabled():0' with software-raid1
Submitter : jurriaan <thunder7@xs4all.nl>
Date : 2008-08-27 17:05 (4 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | 2.6.27-rc5-git2: Reported regressions from 2.6.26
This message contains a list of some regressions from 2.6.26, for which there
are no fixes in the mainline I know of. If any of them have been fixed already,
please let me know.
If you know of any other unresolved regressions from 2.6.26, please let me know
either and I'll add them to the list. Also, please let me know if any of the
entries below are invalid.
Each entry from the list will be sent additionally in an automatic reply to
this message with CCs to the people involved in reporting ...
| Aug 30, 12:46 pm 2008 |
| Rafael J. Wysocki | [Bug #11464] BUG: kernel-2.6.27-rc5: soft lockup - CPU#X ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11464
Subject : BUG: kernel-2.6.27-rc5: soft lockup - CPU#X stuck for 61s!
Submitter : Thomas Backlund <tmb@mandriva.org>
Date : 2008-08-30 12:46 (1 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11451] /proc/acpi/ibm/wan stopped appearing
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11451
Subject : /proc/acpi/ibm/wan stopped appearing
Submitter : Jeremy Fitzhardinge <jeremy@goop.org>
Date : 2008-08-27 22:11 (4 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11461] build breakage
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11461
Subject : build breakage
Submitter : Helge Deller <deller@gmx.de>
Date : 2008-08-30 10:34 (1 days old)
References : http://marc.info/?l=linux-kernel&m=122009254918593&w=4
Handled-By : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11409] build issue #564 for v2.6.27-rc4 : undefine ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11409
Subject : build issue #564 for v2.6.27-rc4 : undefined reference to `NS8390p_init'
Submitter : Toralf Förster <toralf.foerster@gmx.de>
Date : 2008-08-22 8:33 (9 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11407] suspend: unable to handle kernel paging request
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11407
Subject : suspend: unable to handle kernel paging request
Submitter : Vegard Nossum <vegard.nossum@gmail.com>
Date : 2008-08-21 17:28 (10 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11334] myri10ge: use ioremap_wc: compilation failu ...
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11334
Subject : myri10ge: use ioremap_wc: compilation failure on ARM
Submitter : Martin Michlmayr <tbm@cyrius.com>
Date : 2008-08-10 11:25 (21 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| Rafael J. Wysocki | [Bug #11271] BUG: fealnx in 2.6.27-rc1
This message has been generated automatically as a part of a report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.26. Please verify if it still should be listed and let me know
(either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11271
Subject : BUG: fealnx in 2.6.27-rc1
Submitter : Jaswinder Singh <jaswinderlinux@gmail.com>
Date : 2008-08-05 14:58 (26 days old)
References : ...
| Aug 30, 12:50 pm 2008 |
| roel kluin | [PATCH] ibm_newemac: MAL[12]_IER_EVENTS definition: 2x * ...
MAL[12]_IER_EVENTS definitions have MAL_IER_OTE twice
but lack MAL_IER_DE
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
drivers/net/ibm_newemac/mal.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ibm_newemac/mal.h b/drivers/net/ibm_newemac/mal.h
index eaa7262..717dc38 100644
--- a/drivers/net/ibm_newemac/mal.h
+++ b/drivers/net/ibm_newemac/mal.h
@@ -102,7 +102,7 @@
/* MAL V1 IER bits */
#define MAL1_IER_NWE 0x00000008
#define ...
| Aug 30, 1:48 pm 2008 |
| Yinghai Lu | [PATCH] x86: split e820 reserved entries record to late v4
Linus said we should register some entries in e820 later,
so could let BAR res register at first, or even pnp?
this one replace
| commit a2bd7274b47124d2fc4dfdb8c0591f545ba749dd
| Author: Yinghai Lu <yhlu.kernel@gmail.com>
| Date: Mon Aug 25 00:56:08 2008 -0700
|
| x86: fix HPET regression in 2.6.26 versus 2.6.25, check hpet against BAR, v3
v2: insert e820 reserve resources before pnp_system_init
v3: fix merging problem in tip/x86/core
please drop the one in tip/x86/core use this ...
| Aug 30, 1:36 pm 2008 |
| Yinghai Lu | [PATCH] x86: split e820 reserved entries record to late ...
try to insert_resource second time, by expand the resource...
for case: e820 reserved entry is partially overlapped with bar res...
hope it will never happen
v2: according to Linus, add insert_resource_expand_to_fit, and change
__insert_resource to static without lock
v3: use reserve_region_with_split() instead to hand overlapping
with test case by extend 0xe0000000 - 0xeffffff to 0xdd800000 -
get
e0000000-efffffff : PCI MMCONFIG 0
e0000000-efffffff : reserved
in ...
| Aug 30, 1:34 pm 2008 |
| David Wagner | Re: buffer overflow in /proc/sys/sunrpc/transports
You don't necessarily need control over the values that are written past
the end of the buffer to exploit a buffer overrun bug. If those values
are semi-random but predictable, it may still be possible to exploit the
vulnerability by arranging to stash malicious code at the address that the
return address will be overwritten with. Even if those values are random
and not predictable, it may still be able to fill a large fraction of the
address space with malicious code and thus have a ...
| Aug 30, 1:20 pm 2008 |
| David Miller | [GIT]: Sparc
Three Sparc bug fixes:
1) CONFIG_RELAY recently started using smp_call_function_single()
even though that was not previously referenced from generic
code.
Anyways, add an implementation to 32-bit sparc to fix the
build with RELAY enabled.
2) Resource flag setting fix for PCI sub-devices.
3) Section mismatch fix in sparc64 MM initialization code.
Please pull, thanks a lot!
The following changes since commit 349101da8e1f8e5eb1476b02823da80495224485:
Martin Habets ...
| Aug 30, 1:01 pm 2008 |
| David Greaves | setlocalversion wasn't producing git labels for bisect
Trying to do a bisect with git version 1.5.6.3 didn't work with the setlocalversion script
Running
git name-rev --tags HEAD
gives the output
HEAD tags/v2.6.27-rc4~44^2
This isn't matched by setlocalversion regexp so it makes it harder to make deb-pkg/install/grub/reboot/remove
Of course if this patch is accepted it is going to make life complicated when bisecting around it.
Maybe git should behave as the man page suggests and have the ^X before the ~nnn? (maybe it has been fixed ...
| Aug 30, 12:43 pm 2008 |
| Frans Pop | Huge increase in "io resource overlap" messages on Toshi ...
Up to 2.6.26 the only thing I used to get for pnp 00:08 was:
pnp 00:08: can't add resource for IO 0xa8-0xa9
But now with 2.6.27-rc4/5 I'm suddenly getting a total of 78 (!) lines
(I've not tested earlier .27-rc versions on this box):
pnp 00:08: io resource (0x2e-0x2f) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x62-0x62) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: io resource (0x66-0x66) overlaps 0000:00:1f.5 BAR 0 (0x0-0xff), disabling
pnp 00:08: ...
| Aug 30, 12:37 pm 2008 |
| Arjan van de Ven | Re: Linux-2.6.27-rc5, drm errors in log
On Sat, 30 Aug 2008 14:52:04 -0400
since half this sort of driver is in userspace it helps if you also add
the version of the userspace driver you are using (and if you changed
it recently)
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Aug 30, 12:22 pm 2008 |
| Dave Airlie | Re: Linux-2.6.27-rc5, drm errors in log
Before now we never had this error in here, and its showing up a real
problem with your card, reading the r300 register doesn't matter at
all,
as things have already gone wrong by the time you hit this debug.
The question is if you add the 3 lines into radeon_cp.c at the same
place in -rc4 without the other patches does it still happen..
DRM_INFO("wait for fifo failed status : 0x%08X 0x%08X\n",
RADEON_READ(RADEON_RBBM_STATUS),
...
| Aug 30, 2:06 pm 2008 |
| Gene Heskett | Re: Linux-2.6.27-rc5, drm errors in log
Greetings all;
A re-repeat of a previous posting which has not drawn a comment. With added
content, added CC to a patch author, and some new questions.
Machine is an F8 install, Athlon xp-2800 on an nforce2 motherboard, running
an older radeon 9200SE (RV280 based) video card. No problems if I reboot
to 2.6.27-rc4.
I'm drowning in these errors:
Aug 30 13:21:05 coyote kernel: [14927.850078] [drm] wait for fifo failed status : 0x80076100 0x00000000
Aug 30 13:21:05 coyote kernel: ...
| Aug 30, 11:52 am 2008 |
| Cyrill Gorcunov | Re: buffer overflow in /proc/sys/sunrpc/transports
[Vegard Nossum - Sat, Aug 30, 2008 at 09:42:30PM +0200]
| On Sat, Aug 30, 2008 at 9:06 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > [Vegard Nossum - Sat, Aug 30, 2008 at 08:44:22PM +0200]
| > | Hi,
| > |
| > | I noticed that something weird is going on with /proc/sys/sunrpc/transports.
| > | This file is generated in net/sunrpc/sysctl.c, function proc_do_xprt(). When
| > | I "cat" this file, I get the expected output:
| > |
| > | $ cat /proc/sys/sunrpc/transports
| > | tcp ...
| Aug 30, 12:56 pm 2008 |
| Cyrill Gorcunov | Re: buffer overflow in /proc/sys/sunrpc/transports
[Cyrill Gorcunov - Sat, Aug 30, 2008 at 11:21:12PM +0400]
| [Vegard Nossum - Sat, Aug 30, 2008 at 09:15:16PM +0200]
| | On Sat, Aug 30, 2008 at 9:06 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| | > [Vegard Nossum - Sat, Aug 30, 2008 at 08:44:22PM +0200]
| | > | Hi,
| | > |
| | > | I noticed that something weird is going on with /proc/sys/sunrpc/transports.
| | > | This file is generated in net/sunrpc/sysctl.c, function proc_do_xprt(). When
| | > | I "cat" this file, I get the expected ...
| Aug 30, 12:23 pm 2008 |
| Vegard Nossum | Re: buffer overflow in /proc/sys/sunrpc/transports
Hm. I think this is wrong. Shouldn't we copy as many bytes as the user
indicated?
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
| Aug 30, 12:15 pm 2008 |
| Vegard Nossum | Re: buffer overflow in /proc/sys/sunrpc/transports
BTW, look at this:
$ od -A x -t x1z /proc/sys/sunrpc/transports
000000 74 63 70 20 31 30 34 38 35 37 36 0a 75 64 70 20 >tcp 1048576.udp <
000010 33 32 37 36 38 0a 00 00 00 00 00 00 00 00 00 00 >32768...........<
000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
*
0003e0 00 00 00 00 00 00 00 00 00 00 >..........<
0003ea
...and:
$ strace -e trace=read cat /proc/sys/sunrpc/transports > /dev/null
read(3, ...
| Aug 30, 12:42 pm 2008 |
| Cyrill Gorcunov | Re: buffer overflow in /proc/sys/sunrpc/transports
[Vegard Nossum - Sat, Aug 30, 2008 at 09:15:16PM +0200]
| On Sat, Aug 30, 2008 at 9:06 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > [Vegard Nossum - Sat, Aug 30, 2008 at 08:44:22PM +0200]
| > | Hi,
| > |
| > | I noticed that something weird is going on with /proc/sys/sunrpc/transports.
| > | This file is generated in net/sunrpc/sysctl.c, function proc_do_xprt(). When
| > | I "cat" this file, I get the expected output:
| > |
| > | $ cat /proc/sys/sunrpc/transports
| > | tcp ...
| Aug 30, 12:21 pm 2008 |
| Cyrill Gorcunov | Re: buffer overflow in /proc/sys/sunrpc/transports
[Vegard Nossum - Sat, Aug 30, 2008 at 08:44:22PM +0200]
| Hi,
|
| I noticed that something weird is going on with /proc/sys/sunrpc/transports.
| This file is generated in net/sunrpc/sysctl.c, function proc_do_xprt(). When
| I "cat" this file, I get the expected output:
|
| $ cat /proc/sys/sunrpc/transports
| tcp 1048576
| udp 32768
|
| But I think that it does not check the length of the buffer supplied by
| userspace to read(). With my original program, I found that the ...
| Aug 30, 12:06 pm 2008 |
| Vegard Nossum | buffer overflow in /proc/sys/sunrpc/transports
Hi,
I noticed that something weird is going on with /proc/sys/sunrpc/transports.
This file is generated in net/sunrpc/sysctl.c, function proc_do_xprt(). When
I "cat" this file, I get the expected output:
$ cat /proc/sys/sunrpc/transports
tcp 1048576
udp 32768
But I think that it does not check the length of the buffer supplied by
userspace to read(). With my original program, I found that the stack was
being overwritten by the characters above, even when the length given ...
| Aug 30, 11:44 am 2008 |
| Cyrill Gorcunov | Re: buffer overflow in /proc/sys/sunrpc/transports
[Vegard Nossum - Sat, Aug 30, 2008 at 09:34:21PM +0200]
| On Sat, Aug 30, 2008 at 9:21 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > | Hm. I think this is wrong. Shouldn't we copy as many bytes as the user
| > | indicated?
| >
| > Well, hard to say what user-space programmer is expecting from us.
| > I mean - maybe he (reader) wants only part of results not the whole
| > contents BUT by this way he never know what the whole conetnts would be
| > until trying to read more (ie to check if ...
| Aug 30, 12:44 pm 2008 |
| Cyrill Gorcunov | Re: buffer overflow in /proc/sys/sunrpc/transports
[Vegard Nossum - Sat, Aug 30, 2008 at 09:59:38PM +0200]
| On Sat, Aug 30, 2008 at 9:56 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > | BTW, look at this:
| > |
| > | $ od -A x -t x1z /proc/sys/sunrpc/transports
| > | 000000 74 63 70 20 31 30 34 38 35 37 36 0a 75 64 70 20 >tcp 1048576.udp <
| > | 000010 33 32 37 36 38 0a 00 00 00 00 00 00 00 00 00 00 >32768...........<
| > | 000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >................<
| > | *
| > | ...
| Aug 30, 1:04 pm 2008 |
| Vegard Nossum | Re: buffer overflow in /proc/sys/sunrpc/transports
Sorry, I did it now :-)
$ uname -a
Linux grianne 2.6.27-rc5-00006-gbef69ea-dirty #4 SMP PREEMPT Sat
Aug 30 22:07:18 CEST 2008 i686 i686 i386 GNU/Linux
$ strace -e trace=read cat /proc/sys/sunrpc/transports > /dev/null
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320
\265\0004\0\0\0"..., 512) = 512
read(3, "tcp 1048576\nudp 32768\n\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4074
read(3, "", 4096) = 0
So that problem seems to ...
| Aug 30, 1:13 pm 2008 |
| Cyrill Gorcunov | Re: buffer overflow in /proc/sys/sunrpc/transports
[Vegard Nossum - Sat, Aug 30, 2008 at 10:13:23PM +0200]
| On Sat, Aug 30, 2008 at 10:04 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > [Vegard Nossum - Sat, Aug 30, 2008 at 09:59:38PM +0200]
| > | On Sat, Aug 30, 2008 at 9:56 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > | > | BTW, look at this:
| > | > |
| > | > | $ od -A x -t x1z /proc/sys/sunrpc/transports
| > | > | 000000 74 63 70 20 31 30 34 38 35 37 36 0a 75 64 70 20 >tcp 1048576.udp <
| > | > | 000010 33 32 37 36 ...
| Aug 30, 1:15 pm 2008 |
| Cyrill Gorcunov | Re: buffer overflow in /proc/sys/sunrpc/transports
[Vegard Nossum - Sat, Aug 30, 2008 at 09:42:30PM +0200]
| On Sat, Aug 30, 2008 at 9:06 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > [Vegard Nossum - Sat, Aug 30, 2008 at 08:44:22PM +0200]
| > | Hi,
| > |
| > | I noticed that something weird is going on with /proc/sys/sunrpc/transports.
| > | This file is generated in net/sunrpc/sysctl.c, function proc_do_xprt(). When
| > | I "cat" this file, I get the expected output:
| > |
| > | $ cat /proc/sys/sunrpc/transports
| > | tcp ...
| Aug 30, 12:45 pm 2008 |
| Vegard Nossum | Re: buffer overflow in /proc/sys/sunrpc/transports
"cat" passed buffer of size 4096, yes. But read() still returned 4074.
It looks like it's returning (sizeof(buffer) - x) where it really
should be returning x. Maybe it's this one that should be different?
*lenp -= len;
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
| Aug 30, 12:59 pm 2008 |
| Cyrill Gorcunov | Re: buffer overflow in /proc/sys/sunrpc/transports
[Vegard Nossum - Sat, Aug 30, 2008 at 10:13:23PM +0200]
| On Sat, Aug 30, 2008 at 10:04 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > [Vegard Nossum - Sat, Aug 30, 2008 at 09:59:38PM +0200]
| > | On Sat, Aug 30, 2008 at 9:56 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
| > | > | BTW, look at this:
| > | > |
| > | > | $ od -A x -t x1z /proc/sys/sunrpc/transports
| > | > | 000000 74 63 70 20 31 30 34 38 35 37 36 0a 75 64 70 20 >tcp 1048576.udp <
| > | > | 000010 33 32 37 36 ...
| Aug 30, 1:29 pm 2008 |
| Vegard Nossum | Re: buffer overflow in /proc/sys/sunrpc/transports
For any other file, read(1) + read(1) should be exactly equivalent to
a read(2). What's the difference here?
(Btw, thanks for the quick reply :-))
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
| Aug 30, 12:34 pm 2008 |
| Gene Heskett | Re: Linux-2.6.27-rc5, drm errors in log
Greetings all;
A repeat of a previous posting which has not drawn a comment.
Machine is an F8 install, Athlon xp-2800 on an nforce2 motherboard, running
an older radeon 9200SE video card. No problems if I reboot to 2.6.27-rc4.
I'm drowning in these errors:
Aug 30 13:21:05 coyote kernel: [14927.850078] [drm] wait for fifo failed status : 0x80076100 0x00000000
Aug 30 13:21:05 coyote kernel: [14927.861335] [drm] wait for fifo failed status : 0x80076100 0x00000000
Aug 30 13:21:05 coyote ...
| Aug 30, 10:39 am 2008 |
| Mikael Pettersson | Re: [REGRESSION 2.6.27-rc4-git7] mtd broken by cmdfilter move
David Woodhouse writes:
> On Sat, 2008-08-30 at 19:04 +0200, Mikael Pettersson wrote:
> > I'll leave it to you guys to decide what the proper fix for this mess
> > should be.
>
> I believe it's already been sent to Linus.
I can't find any mention of this in the post 2.6.27-rc5 commit log in
Linus' git tree as of right now. Care to provide a pointer to the fix?
--
| Aug 30, 11:10 am 2008 |
| Mikael Pettersson | Re: [REGRESSION 2.6.27-rc4-git7] mtd broken by cmdfilter move
Greg KH writes:
> > --- linux-2.6.27-rc4-git6/block/cmd-filter.c.~1~ 2008-08-30 17:08:58.000000000 +0200
> > +++ linux-2.6.27-rc4-git6/block/cmd-filter.c 2008-08-30 17:36:36.000000000 +0200
> > @@ -215,6 +215,13 @@ int blk_register_filter(struct gendisk *
> > if (!parent)
> > return -ENODEV;
> >
> > + printk("%s: disk %p queue %p filter %p &filter->kobj %p\n",
> > + __func__, disk, disk->queue, filter, &filter->kobj);
> > + if (filter->kobj.state_initialized) {
> > ...
| Aug 30, 11:07 am 2008 |
| Mikael Pettersson | [REGRESSION 2.6.27-rc4-git7] mtd broken by cmdfilter move
Starting with kernel 2.6.27-rc4-git7 my n2100 arm box throws a bunch
of kobject errors at boot:
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x00040000 : "RedBoot"
0x00040000-0x00d40000 : "ramdisk"
kobject (df8fd510): tried to init an initialized object, something is seriously wrong.
[<c0024c68>] (dump_stack+0x0/0x14) from [<c01136f4>] (kobject_init+0x40/0x78)
[<c01136b4>] (kobject_init+0x0/0x78) from [<c0113c28>] (kobject_init_and_add+0x20/0x44)
r5:df8fd510 ...
| Aug 30, 10:04 am 2008 |
| Mikael Pettersson | Re: [REGRESSION 2.6.27-rc4-git7] mtd broken by cmdfilter move
Mikael Pettersson writes:
> David Woodhouse writes:
> > On Sat, 2008-08-30 at 19:04 +0200, Mikael Pettersson wrote:
> > > I'll leave it to you guys to decide what the proper fix for this mess
> > > should be.
> >
> > I believe it's already been sent to Linus.
>
> I can't find any mention of this in the post 2.6.27-rc5 commit log in
> Linus' git tree as of right now. Care to provide a pointer to the fix?
Never mind, found ...
| Aug 30, 1:00 pm 2008 |
| David Woodhouse | Re: [REGRESSION 2.6.27-rc4-git7] mtd broken by cmdfilter move
I believe it's already been sent to Linus.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Aug 30, 10:23 am 2008 |
| Greg KH | Re: [REGRESSION 2.6.27-rc4-git7] mtd broken by cmdfilter move
Ick, no, don't go poking into the internals of a kobject like this to
fix this kind of problem. If you really don't know if you have
initialized this kobject or not, then you will have reference counting
problems, which need to be fixed for real.
thanks,
greg k-h
--
| Aug 30, 10:20 am 2008 |
| Oleg Nesterov | [PATCH] proc: don't confuse /bin/ps by zombie delay_grou ...
When the main thread exits,
void *do_thread(void *arg)
{
pause();
return NULL;
}
int main(void)
{
pthread_t thr;
pthread_create(&thr, NULL, do_thread, NULL);
syscall(__NR_exit, 0);
return 0;
}
/bin/ps's output looks really confusing, as if the whole process is dead.
I think this even looks like a kernel bug to the user, because it sees a
zombie which is not going to be reaped.
Change get_task_state() to report "S (sleeping)" in this case. Still not
perfect ...
| Aug 30, 10:08 am 2008 |
| Oleg Nesterov | [PATCH] softlockup: minor cleanup, don't check task->sta ...
The recent commit 16d9679f33caf7e683471647d1472bfe133d858 changed
check_hung_task() to filter out the TASK_KILLABLE tasks. We can
move this check to the caller which has to test t->state anyway.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
--- 2.6.27-rc4/kernel/softlockup.c~SOFTLOCKUP 2008-08-30 18:24:40.000000000 +0400
+++ 2.6.27-rc4/kernel/softlockup.c 2008-08-30 21:06:51.000000000 +0400
@@ -180,10 +180,6 @@ static void check_hung_task(struct task_
if (t->flags & PF_FROZEN)
...
| Aug 30, 10:08 am 2008 |
| philipl | [PATCH 1/1] toshiba_acpi: Add support for bluetooth togg ...
There's been a patch floating around for toshiba_acpi that exports an ad-hoc
/proc interface to toggle the bluetooth adapter in a large number of Toshiba
laptops. I'm not sure if it's still relevant for the latest models, but it is
still required for older models such as my Tecra M3.
This change pulls in the low level Toshiba-specific code from the old patch and
sets up an rfkill device and a polled input device to track the state of the
hardware kill-switch.
Signed-off-by: Philip Langdale ...
| Aug 30, 8:57 am 2008 |
| ACCOUNT UPGARDING TEAM | DEAR: EMAIL ACCOUNT OWNER
DEAR: EMAIL ACCOUNT OWNER.
We wish to inform you that we are undergoing account data upgrading, in order
for your email account to be verify and remain active,you are to reply this
message and enter your email ID and password in the space provide
(.........).You are required to do this before the next 72hrs of
receipt of this e-mail, Your email Account will be de-activated and erased
fromour database.
Send Your account upgrading information.
Thank you for using our Webmail ...
| Aug 30, 8:06 am 2008 |
| Török Edwin | Re: Problems with ALPM on devices part of raid array
[Cc-ing linux-kernel since I forgot to do so on my initial report]
Hi Tejun,
I have found a (safe) way to reproduce this problem, without loosing data.
What I found is that setting the link_power_management_policy to
min_power is completely harmless, and works,
however setting it *back* to max_performance causes an ATA link hard
reset, and drives kicked out of RAID array.
For my RAID1 array this is not a big problem, since its resynced fast,
and I can hot-remove/add drives,
however ...
| Aug 30, 7:33 am 2008 |
| Matthew Wilcox | Re: [PATCH] scsi/sd: Fix size output in MB
I was looking at this code recently because it looks really bizarre when
you create a half-petabyte filesystem:
$ sudo insmod drivers/ata/ata_ram.ko capacity=1099511627776 preallocate=0
[12095.028093] ata7.00: 1099511627776 sectors, multi 0: LBA48 NCQ (depth 31/32)
[12095.028093] ata7.00: configured for UDMA/133
[12095.041915] scsi 7:0:0:0: Direct-Access ATA Linux RAM Drive 0.01 PQ: 0 ANSI: 5
[12095.041915] sd 7:0:0:0: [sdc] Very big device. Trying to use READ ...
| Aug 30, 10:45 am 2008 |
| Simon Arlott | Re: [PATCH] scsi/sd: Fix size output in MB
It's unlikely to match what's on the drive, "1000204886016" isn't 1TB
I've gone with five digits, it switches to GB at ~98GB, and to TB
Somehow this stuff got into net-tools (ifconfig) too, so I have a
Sure, patch will follow this email... it can only go as far as 8192EB
and then there's not enough space to store more than 2^64 512-byte
sectors.
(And if you only modify drivers/scsi/sd.c, the kernel make system
won't recompile sd.o!)
--
Simon Arlott
--
| Aug 30, 2:02 pm 2008 |
| Simon Arlott | [PATCH] scsi/sd: Fix size output in MB
The capacity printk'd in bytes is divided by 1000000,
whereas 1048576 would be more consistent with the rest
of the OS and disk-related utilities ('df' etc.).
This change replaces the (sz - (sz/625 - 974))/1950
calculation with a simple right shift by 11 bits
(/2048).
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
---
drivers/scsi/sd.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index e5e7d78..e6fd6fd 100644
--- ...
| Aug 30, 7:08 am 2008 |
| Simon Arlott | [PATCH] scsi/sd: Fix capacity output to show MB/GB/TB/...
The capacity printk'd in bytes is divided by 1000000,
whereas 1048576 would be more consistent with the rest
of the OS and disk-related utilities ('df' etc.).
This change replaces the (sz - (sz/625 - 974))/1950
calculation with a simple right shift to output with
five significant digits the capacity in KB, MB, GB, TB,
PB, or EB. Anything beyond this becomes too large...
---
drivers/scsi/sd.c | 62 ++++++++++++++++++++++++++++++++++------------------
1 files changed, 40 insertions(+), 22 ...
| Aug 30, 2:03 pm 2008 |
| James Bottomley | Re: [PATCH] scsi/sd: Fix size output in MB
Does MMC have the 10^3 requirement like SCSI/ATA disks do, or can you
use 2^10 like standard computer stuff for capacities?
James
--
| Aug 30, 2:45 pm 2008 |
| Matthew Wilcox | Re: [PATCH] scsi/sd: Fix size output in MB
Hm. I bought a 500GB drive last year:
sd 1:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
512 * 976773168
500107862016
512 * 976773168 / (1024 * 1024 * 1024)
465.76174163818359375000
If we report it as 465GB, we will get questions. Even pretending it's
1024 * 1000 * 1000 doesn't work:
512 * 976773168 / (1000 * 1000 * 1024)
488.38658400000000000000
I think we have to stick with dividing by multiples of 1000. It's what
the drive manufacturers do (and I do ...
| Aug 30, 2:57 pm 2008 |
| Pierre Ossman | Re: [PATCH] scsi/sd: Fix size output in MB
On Sat, 30 Aug 2008 11:45:16 -0600
I've been looking at doing something like this for the mmc_block
driver, so a generic helper is welcome. :)
--=20
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
| Aug 30, 1:59 pm 2008 |
| Simon Arlott | Re: [PATCH] scsi/sd: Fix size output in MB
I disagree. The difference between advertised and actual capacity is
only going to get worse when drive capacity increases further.
e.g. "4TB" will only be 3.6TB.
Who is going to be asking these questions about the kernel output, but
not about whatever else reports 465GB, from 'df' to a GUI showing disk
capacity? This actually makes the kernel more consistent with everything
This really depends on whether or not you're going for matching advertised
capacity. I think the extra digit ...
| Aug 30, 3:22 pm 2008 |
| Matthew Wilcox | Re: [PATCH] scsi/sd: Fix size output in MB
I think the most compelling reason for ensuring they're the same is
that you can plug these devices into both an MMC slot directly and a
card-reader and have them show up over USB. You don't want the reported
capacity to change when you do that.
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
| Aug 30, 3:36 pm 2008 |
| Simon Arlott | Re: [PATCH] scsi/sd: Fix size output in MB
If there's a generic function to do this, there could be a Kconfig option
to select the variant (10^3 MB, 2^10 MiB, 2^10 MB ;)), as long as the byte
value is available from the same message.
--
Simon Arlott
--
| Aug 30, 3:24 pm 2008 |
| Pierre Ossman | Re: [PATCH] scsi/sd: Fix size output in MB
On Sat, 30 Aug 2008 16:45:49 -0500
Some do, some don't. I prefer the 2^10 and MiB variants as it avoids
ambiguity.
Rgds
--=20
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
| Aug 30, 3:13 pm 2008 |
| James Bottomley | Re: [PATCH] scsi/sd: Fix size output in MB
linux-scsi is the correct list for this, cc's added
No, this is wrong. By mandated standards the manufacturers are allowed
to calculate MB by dividing by 10^6. This is a fiddle to allow them to
make their drives look slightly bigger. However, we want the printed
information to match that written on the drive, so in this printk, we
use the manufacturer standard for calculation (and then do everything
else in bytes so we don't have to bother with it ever again).
James
--
| Aug 30, 10:24 am 2008 |
| Tejun Heo | [PATCH] block: restore original behavior of /proc/partit ...
/proc/partitions didn't use to write out the header if there was no
partition. However, recent commit 66c64afe changed the behavior.
This is nothing major but there's no reason to change user visible
behavior without a good rationale. Restore the original behavior.
Note that 2.6.28 has clean up changes scheduled which will replace
this rather hacky implementation.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Greg KH <greg@kroah.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
---
...
| Aug 30, 7:02 am 2008 |
| Balbir Singh | Re: Still seeing decreasing stime/utime
Here's the updated revision with task_*time functions moved to sched.c
and inlining removed, except for task_gtime(). I've compiled and
booted a machine (x86_64) with this patch applied.
Reported-by: spencer@bluehost.com
Spencer reported a problem where utime and stime were going negative despite
the fixes in commit b27f03d4bdc145a09fb7b0c0e004b29f1ee555fa. The suspected
reason for the problem is that signal_struct maintains it's own utime and
stime (of exited tasks), these are not updated ...
| Aug 30, 6:55 am 2008 |
| Peter Zijlstra | Re: Still seeing decreasing stime/utime
Thanks Balbir!
--
| Aug 30, 8:32 am 2008 |
| Manfred Spraul | [PATCH] updates & fixes for state machine based rcu code
Hi,
I made some updates to my patch:
- the cpu bitmaps are removed, the outstanding cpus are tracked by an
atomic_t.
- bugfixes for offlining cpus: some irq on/off's were wrong.
- bugfix for offlining a nohz cpu [untested].
- a bugfix the main state machine function: if interrupts arrived after
reading the global state, then the state machine would oops. Now the
local interrupts are disabled early enough. Additionally, BUG_ON's test
for invalid state changes.
- some debug outputs ...
| Aug 30, 6:07 am 2008 |
| Thomas Backlund | Re: BUG: kernel-2.6.27-rc5: soft lockup - CPU#X stuck for 61s!
Nevermind this "BUG: kernel-2.6.27-rc5: soft lockup - CPU#X stuck for
61s!." part ...
It was caused by a Tomoyo patch that was not correct...
This issue is still a real one, but I need to get some oops on it...
I'll report back when I know more
--
Thomas
--
| Aug 30, 2:14 pm 2008 |
| Vegard Nossum | Re: BUG: kernel-2.6.27-rc5: soft lockup - CPU#X stuck for 61s!
Ok, mine is definitely because of hotplug. The issue you are seeing is
probably more important, though, sorry for hijacking your thread. You
should be able to do the SysRq thing as well, though. SysRq-w (dump
blocked tasks) and SysRq-d (held locks) here:
SysRq : Show Blocked State
task PC stack pid father
bash D d450a1ee 5912 3772 3720
f68e1df4 00200046 2fb00387 d450a1ee 2fb00387 00000004 f68e1df0 c015aa4a
c2036d80 f7830cc0 1e881e2a 000000bc ...
| Aug 30, 8:54 am 2008 |
| Vegard Nossum | Re: BUG: kernel-2.6.27-rc5: soft lockup - CPU#X stuck for 61s!
Hi,
I tried your recipe. Well, not exactly. But I also got this during a
kernel build. Notice that the kernel version is a clean v2.6.27-rc5
(i.e. latest Linus -git):
BUG: soft lockup - CPU#1 stuck for 61s! [swapper:0]
irq event stamp: 3585444
hardirqs last enabled at (3585443): [<c015927b>] trace_hardirqs_on+0xb/0x10
hardirqs last disabled at (3585444): [<c0290614>] trace_hardirqs_off_thunk+0xc/8
softirqs last enabled at (3585438): [<c0139fb1>] __do_softirq+0xe1/0x100
softirqs last ...
| Aug 30, 8:30 am 2008 |
| Thomas Backlund | BUG: kernel-2.6.27-rc5: soft lockup - CPU#X stuck for 61s!
Hi, (please cc me as I'm not subscribed)
thought I would post this right now, I'll try to reproduce it with
vanilla 2.6.27-rc5 as soon as the buildhost is back up...
(vanilla 2.6.27-rc5 x86_64 also locked up my laptop wich is a
Core2 Duo T8300 during kernel build with make -j3, but
I dont have any logs of that yet)
Kernel: 2.6.27-rc5 + Mandriva patches
Config: ...
| Aug 30, 5:46 am 2008 |
| Manu Abraham | Merge multiproto tree
[Empty message]
| Aug 30, 4:59 am 2008 |
| Willy Tarreau | Re: Merge multiproto tree
Agreed. Hopefully Mauro knows what this is about!
Willy
--
| Aug 30, 5:26 am 2008 |
| Peter Zijlstra | Re: Merge multiproto tree
This must absolutely be the least informative pull request ever!
--
| Aug 30, 5:24 am 2008 |
| Peter Zijlstra | Re: Merge multiproto tree
[dropped linux-dvb]
Also, this:
Don't do that!
--
| Aug 30, 5:40 am 2008 |
| walter harms | Re: [PATCH] Fix build warning in kernel/auditsc.c
nice catch
I have only an older version here, in that n is constant.
maybe you can do a s/n/ctx->major/g ?
removing the need for the whole variable ?!
re,
wh
--
| Aug 30, 5:04 am 2008 |
| Mauro Carvalho Chehab | Fw: [PATCH 3/5] V4L/DVB: follow lspci device/vendor style
I'm forwarding this message to LKML, since the previous one got rejected there, due
to an error at CC list.
Cheers,
Mauro.
Forwarded message:
Date: Fri, 29 Aug 2008 17:57:56 -0300
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, H. Peter Anvin <hpa@zytor.com>, David Airlie <airlied@linux.ie>, Samuel Ortiz <samuel@sortiz.org>, ...
| Aug 30, 4:22 am 2008 |
| Helge Deller | [PATCH] Re: Linux 2.6.27-rc5
commit da574983de9f9283ba35662c8723627096e160de
Author: Al Viro <viro@zeniv.linux.org.uk>
[PATCH] fix hpux_getdents() - Missing checks for -EFAULT, broken handling of
overflow.
introduced a build breakage:
CC arch/parisc/hpux/fs.o
arch/parisc/hpux/fs.c: In function `filldir':
arch/parisc/hpux/fs.c:107: error: `buffer' undeclared (first use in this
function)
make[1]: *** [arch/parisc/hpux/fs.o] Error 1
This patch fixes it.
Signed-off-by: Helge Deller <deller@gmx.de>
diff ...
| Aug 30, 3:34 am 2008 |
| Rafael J. Wysocki | Re: [PATCH] Re: Linux 2.6.27-rc5
[Adding CCs]
--
| Aug 30, 1:21 pm 2008 |
| Arjan van de Ven | Re: [PATCH] Avoid double flush in do_tlb_flush_all()
On Sat, 30 Aug 2008 12:20:12 +0200
but... the leave_mm won't flush the global tlbs, while
__flush_tlb_all() does, right?
sounds like we do need the behavior
--
| Aug 30, 9:01 am 2008 |
| Andi Kleen | [PATCH] Avoid double flush in do_tlb_flush_all()
Avoid double flush in do_tlb_flush_all()
leave_mm already flushes the TLBs, so don't need to flush directly before that
in do_flush_tlb_all(). Avoid the double flush.
Pointed out by Rainer Weikusat
Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
arch/x86/kernel/tlb_32.c | 5 ++---
arch/x86/kernel/tlb_64.c | 7 +++----
2 files changed, 5 insertions(+), 7 deletions(-)
Index: ...
| Aug 30, 3:20 am 2008 |
| Kevin Diggs | [PATCH v2 5/5] Add PERL script to conrol the PLL via the ...
This patch adds a PERL script that can be used to manipulate the sysfs
attribute provided by pll_if. It can query the current state, change the
state of the inactive PLL, and switch PLLs (assumming that the inactive PLL is
locked to a valid frequency).
My name is Kevin Diggs and I approve this patch.
Signed-off-by: Kevin Diggs <kevdig@hypersurf.com>
Index: Documentation/cpu-freq/pll.pl
===================================================================
--- /dev/null 2004-08-10 ...
| Aug 30, 3:07 am 2008 |
| Kevin Diggs | [PATCH v2 4/5] Add kernel doc for the completion, fix ke ...
This patch adds kernel doc for the completion feature. It is in kernel/sched.c
and include/linux/completion.h.
An error in the split-man.pl PERL snippet in kernel-doc-nano-HOWTO.txt is
also fixed.
My name is Kevin Diggs and I approve this patch.
Signed-off-by: Kevin Diggs <kevdig@hypersurf.com>
Index: Documentation/kernel-doc-nano-HOWTO.txt
===================================================================
--- Documentation/kernel-doc-nano-HOWTO.txt.orig 2008-08-13 02:18:53.000000000 ...
| Aug 30, 2:58 am 2008 |
| Kevin Diggs | [PATCH v2 3/5] Various arch/powerpc changes to support t ...
This patch includes various changes necessary to support the cpufreq driver for
the PowerPC 750GX. Highlights include adding entries to recognize the 750GX to
the cputable (This includes the ... unfortunate pvr that the 750GX used in the
PowerLogix PowerForce 750GX => 0x0008 0203). The PLL switch in idle_6xx.S
during sleep (or nap) was also removed (I tried to add ability to disable this
but the result would not boot?).
My name is Kevin Diggs and I approve this patch.
Signed-off-by: Kevin ...
| Aug 30, 2:49 am 2008 |
| Kevin Diggs | [PATCH v2 2/5] Add cpufreq driver for the IBM PowerPC 750GX
This adds the actual cpufreq driver for the 750GX. It supports all integer
ratios that are valid for the processor model and bus frequency. It is called
cf750gx.
It has two modes of operation. Normal mode uses all valid frequencies. In
minmaxmode, only the minimum and maximum are used. This provides the ability
for very low latency frequency switches.
There is also a sysfs attribute to have it switch off the unused PLL for
additional power savings.
This does NOT support SMP.
I fixed a ...
| Aug 30, 2:40 am 2008 |
| Kevin Diggs | [PATCH v2 1/5] Add low level PLL config register interfa ...
This adds a small module to handle the low level details of dealing with the
PLL config register (HID1) found in the IBM 750GX. It provides 2 possible
interfaces, both selectable via kernel config options. One is a sysfs attribute
and the other is a normal function API. It is called pll_if.
The determination of the bus frequency is what worked on a PowerMac 8600. Any
suggestions on a more general solution are welcome.
After receiving comments, I added an argument for the data item to ...
| Aug 30, 2:28 am 2008 |
| Grant Coady | 2.6.27-rc5 nfs stall - more info
Hi there,
Had another stall, server running 2.6.24.7, clients running 2.6.27-rc5.
On the server the netstat -t gave during stall:
grant@deltree:~$ netstat -t
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:50087 localhost:4743 ESTABLISHED
tcp 0 52 deltree.mire.mine.n:ssh sillywin.mire.mine:3052 ESTABLISHED
tcp 0 0 deltree.mire.mine.n:ssh ...
| Aug 30, 2:28 am 2008 |
| Kevin Diggs | [PATCH v2 0/5] Add a cpufreq driver for the IBM PowerPC 750GX
Hi,
This patch set adds a cpufreq driver for the IBM PowerPC 750GX processor. It
"should" also work for the 750FX. The patches are:
1) Add low level PLL config register interface module
2) Add cpufreq driver for the 750GX
3) Other PowerPC kernel changes necessary to support the above
4) Add kernel doc for the completion feature, fix split-man.pl in
kernel-doc-nano-HOWTO.txt
5) Add pll script to interface with pll_if sysfs attribute
These changes are against 2.6.26.
Thanks for ...
| Aug 30, 2:18 am 2008 |
| Rafael J. Wysocki | Re: [Regression] sshd hangs on close
[Adding CCs]
--
| Aug 30, 1:28 pm 2008 |
| Andrew Morton | Re: [Regression] sshd hangs on close
Please do `echo w > /proc/sysrq-trigger', send the resulting trace.
--
| Aug 30, 2:14 pm 2008 |
| Matthias Urlichs | [Regression] sshd hangs on close
"top" sees multiple instances of:
6008 root 20 3184 D 0 0:00.06 flush_cpu sshd: root@pts/13
This is 2.6.27rc5, preemption and tickless turned on, on a 4-CPU machine.
(OK, two hyperthreaded ones :-P) strace() shows that this happens on the
last close of its /dev/ptmx file descriptor, which hangs.
I'll do a bisect early next week unless somebody else identifies a likely
suspect.
--
Matthias Urlichs
--
| Aug 30, 2:18 am 2008 |
| Andi Kleen | [PATCH] Remove stop_machine during module load v2
Remove stop_machine during module load v2
module loading currently does a stop_machine on each module load to insert
the module into the global module lists. Especially on larger systems this
can be quite expensive.
It does that to handle concurrent lock lessmodule list readers
like kallsyms.
I don't think stop_machine() is actually needed to insert something
into a list though. There are no concurrent writers because the
module mutex is taken. And the RCU list functions know how to ...
| Aug 30, 1:09 am 2008 |
| Paul E. McKenney | Aug 30, 7:02 am 2008 | |
| Yinghai Lu | [PATCH] x86: unify using pci_mmcfg_insert_resource
even with known_bridge insert them late too.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Index: linux-2.6/arch/x86/pci/mmconfig-shared.c
===================================================================
--- linux-2.6.orig/arch/x86/pci/mmconfig-shared.c
+++ linux-2.6/arch/x86/pci/mmconfig-shared.c
@@ -209,7 +209,7 @@ static int __init pci_mmcfg_check_hostbr
return name != NULL;
}
-static void __init pci_mmcfg_insert_resources(unsigned long resource_flags)
+static void __init ...
| Aug 30, 12:58 am 2008 |
| Yinghai Lu | [PATCH] x86: split e820 reserved entries record to late v4
Linus said we should register some entries in e820 later,
so could let BAR res register at first, or even pnp?
this one replace
| commit a2bd7274b47124d2fc4dfdb8c0591f545ba749dd
| Author: Yinghai Lu <yhlu.kernel@gmail.com>
| Date: Mon Aug 25 00:56:08 2008 -0700
|
| x86: fix HPET regression in 2.6.26 versus 2.6.25, check hpet against BAR, v3
v2: insert e820 reserve resources before pnp_system_init
v3: fix merging problem in tip/x86/core
please drop the one in tip/x86/core use this ...
| Aug 30, 12:58 am 2008 |
| Yinghai Lu | [PATCH] pci: fix merging left out for BAR print out
print out for Device BAR address before kernel try to update them.
also change it to KERN_DEBUG instead...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index cce2f4c..4ee06c3 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -304,6 +304,8 @@ static int __pci_read_base(struct pci_dev *dev, enum pci_bar_type type,
} else {
res->start = l64;
res->end = l64 + sz64;
+ printk(KERN_DEBUG "PCI: %s reg %x 64bit ...
| Aug 30, 12:58 am 2008 |
| Yinghai Lu | [PATCH] x86: split e820 reserved entries record to late ...
try to insert_resource second time, by expand the resource...
for case: e820 reserved entry is partially overlapped with bar res...
hope it will never happen
v2: according to Linus, add insert_resource_expand_to_fit, and change
__insert_resource to static without lock
v3: use reserve_region_with_split() instead to hand overlapping
with test case by extend 0xe0000000 - 0xeffffff to 0xdd800000 -
get
e0000000-efffffff : PCI MMCONFIG 0
e0000000-efffffff : reserved
in ...
| Aug 30, 12:58 am 2008 |
| Firstname Lastname | targets of function pointer invocations
Hi all,
The lines 522-523 in function do_acct_process in file kernel/acct.c in version 2.6.26.3 are:
file->f_op->write(file, (char *)&ac,sizeof(acct_t), &file->f_pos);
What are the full set of targets of this function pointer invocation and how can one be sure, by examining the code, that this is in fact the complete set?
Thanks.
SKB
--
| Aug 30, 12:12 am 2008 |
| David Witbrodt | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Yes, it worked fine! :D
BTW, there was an individual who reported a regression back in May on the
very same commit. I was not able to get him to participate in the process
of tracking this down, but he did (suddenly) write a post on his blog a
couple of days ago that he had success using some unspecified git tree HEAD.
I believe that was probably the patch that you have reverted, so once I
know that a new candidate is in place I will let him know on his blog and
see if I can talk him ...
| Aug 29, 11:58 pm 2008 |
| David Witbrodt | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Not sure if you wanted ME to test this, but I've been watching this
argument with Yinghai and became curious...
I updated my git tree so that I have the insert_resource_expand_to_fit()
changes, and the kernel builds fine. Unfortunately, it hangs like all
2.6.2[67] kernels without reverting 3def3d6d... and 1e934dda... (or
without the later patches provided by Ingo and Yinghai).
Sorry if I am interfering... just wanted to inject this data, in case
it's meaningful!
Dave W.
--
| Aug 29, 11:13 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
You'll eventually have something to test, this part was just
Yeah, nothing has changed yet for your case. What should change your case
is the thing Yinghai is working on with the "late add of e820 data to the
resource tree".
His earlier version already worked for you, didn't it? We're really now
just finalizing details (in fact, "insert_resource_expand_to_fit()" is
just a helper function for a detail that may not even matter all that
much).
Linus
--
| Aug 29, 11:21 pm 2008 |
| Greg KH | Re: Fwd: Re: [PATCH] USB: add USB test and measurement c ...
Do you know of any reasonably cheap USB TMC devices out there that I
could buy to help test this driver here? I looked at the device that
thanks,
greg k-h
--
| Aug 29, 11:09 pm 2008 |
| Alexey Dobriyan | [PATCH] proc: fix return value of proc_reg_open() in "to ...
If ->open() wasn't called, returning 0 is misleading and, theoretically,
oopsable:
1. remove_proc_entry clears ->proc_fops, drops lock,
2. ->open "succeeds",
3. ->release oopses, because it assumes ->open was called (single_release()).
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
fs/proc/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/proc/inode.c
+++ b/fs/proc/inode.c
@@ -350,7 +350,7 @@ static int proc_reg_open(struct inode *inode, struct file ...
| Aug 29, 10:34 pm 2008 |
| Alexey Dobriyan | [PATCH] proc: move sysrq-trigger out of fs/proc/
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
drivers/char/sysrq.c | 30 ++++++++++++++++++++++++++++++
fs/proc/proc_misc.c | 26 --------------------------
2 files changed, 30 insertions(+), 26 deletions(-)
--- a/drivers/char/sysrq.c
+++ b/drivers/char/sysrq.c
@@ -23,6 +23,7 @@
#include <linux/reboot.h>
#include <linux/sysrq.h>
#include <linux/kbd_kern.h>
+#include <linux/proc_fs.h>
#include <linux/quotaops.h>
#include <linux/kernel.h>
#include ...
| Aug 29, 10:28 pm 2008 |
| Greg KH | Re: kobject leak in next-20080829
Do they also do so in mainline?
thanks,
greg k-h
--
| Aug 29, 10:43 pm 2008 |
| Alexey Dobriyan | kobject leak in next-20080829
size-32: 3511 kvasprintf+0x57/0x90
size-64: 3059 kobject_create+0x1c/0x40
These two buddies increase after every "modprobe; rmmod" sequence.
--
| Aug 29, 9:42 pm 2008 |
| Alan Cox | Re: [PATCH 2/2] ne.c msleep not mdelay
On Fri, 29 Aug 2008 21:44:53 -0500
It is too critical for a reschedule to occur.
NAK this one.
--
| Aug 30, 1:59 am 2008 |
| David Fries | [PATCH 2/2] ne.c msleep not mdelay
mdelay(10) replaced by msleep(10) to give up the CPU, it's just
waiting for an interrupt, so timing isn't critical.
Signed-off-by: David Fries <david@fries.net>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
---
drivers/net/ne.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ne.c b/drivers/net/ne.c
index b0bf47e..bcbeff7 100644
--- a/drivers/net/ne.c
+++ b/drivers/net/ne.c
@@ -529,7 +529,7 @@ static int __init ...
| Aug 29, 7:44 pm 2008 |
| Alan Cox | Re: [PATCH 2/2] ne.c msleep not mdelay
ISA bus auto-probing doesn't actually work at all well on SMP. The number
of people who have ever been affected by that has always been effectively
nil.
--
| Aug 30, 7:58 am 2008 |
| Atsushi Nemoto | Re: [PATCH 2/2] ne.c msleep not mdelay
There are already some msleep() in probe_irq_on() which is called just
before here. And this part is not protected by any spinlock or
preempt_disable.
So, if rescheduling was dangerous here, we already have potential
problems, no?
---
Atsushi Nemoto
--
| Aug 30, 7:36 am 2008 |
| Alan Cox | Re: [PATCH 2/2] ne.c msleep not mdelay
Yes we do but I didn't manage to stop the other mistakes getting in when
they did. If you take a schedule you get results back from the probe_irq
that tend to suck in other random ISA device events (ISA being edge
triggered nobody was ever careful about spurious irq)
--
| Aug 30, 7:44 am 2008 |
| David Fries | Re: [PATCH 2/2] ne.c msleep not mdelay
There is a probing_active mutex. probe_irq_off has the comment
"nothing prevents two IRQ probe callers from overlapping." Looks to me
I was just going to make the argument that any task that could be run
during msleep, could just as easily run on the other cpu in mdelay (if
there was one).
--
David Fries <david@fries.net>
http://fries.net/~david/ (PGP encryption key available)
--
| Aug 30, 7:57 am 2008 |
| David Fries | Re: [PATCH 1/2] ne.c fix, res->name
The name gets a valid string by that point in time.
drivers/base/platform.c:257
int platform_device_add(struct platform_device *pdev)
for (i = 0; i < pdev->num_resources; i++) {
struct resource *p, *r = &pdev->resource[i];
if (r->name == NULL)
r->name = pdev->dev.bus_id;
--
David Fries <david@fries.net>
http://fries.net/~david/ (PGP encryption key available)
--
| Aug 30, 11:05 am 2008 |
| Atsushi Nemoto | Re: [PATCH 1/2] ne.c fix for hibernate and rmmod oops fix
The res->name might be NULL. You should check it first.
if (res->name && !strcmp(res->name, BAD_STR))
dev->mem_end = BAD;
---
Atsushi Nemoto
--
| Aug 30, 8:03 am 2008 |
| David Fries | [PATCH 1/2] ne.c fix for hibernate and rmmod oops fix
Removing the module would cause a kernel oops as platform_driver_probe
failed to detect a device and unregistered the platform driver on
module init, and cleanup_module would unregister the already
unregistered driver. The suspend and resume functions weren't being
called and the network card didn't function across a suspend to disk
followed by a power cycle.
platform_driver support was added earlier, but without any
platform_device_register* calls I don't think it was being used. Now
all ...
| Aug 29, 7:44 pm 2008 |
| Rajiv Andrade | [PATCH 0/2] TPM
Based on Christoph Hellwig's TPM internal kernel interface
locking question, the following TPM changes were made:
- removal of the BKL calls from the TPM driver, which were
added in the overall misc-char-dev-BKL-pushdown.patch
- continue to protect the tpm_chip_list using the
driver_lock, and add an rcu to protect readers.
The TPM internal kernel interface patch will be posted as
part of the integrity patchset.
drivers/char/tpm/tpm.c | 285 ...
| Aug 29, 8:05 pm 2008 |
| Rajiv Andrade | [PATCH 2/2] TPM: rcu locking
Continue to protect the tpm_chip_list using the driver_lock
as before, and add an rcu to protect readers.
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
---
drivers/char/tpm/tpm.c | 268 ++++++++++++++++++++++++++++++++----------------
1 files changed, 178 insertions(+), 90 deletions(-)
diff --git a/drivers/char/tpm/tpm.c b/drivers/char/tpm/tpm.c
index 59b31e1..704ab01 100644
--- a/drivers/char/tpm/tpm.c
+++ ...
| Aug 29, 8:05 pm 2008 |
| Rajiv Andrade | [PATCH 1/2] TPM: update char dev BKL pushdown
This patch removes the BKL calls from the TPM driver, which
were added in the overall misc-char-dev-BKL-pushdown.patch,
as they are not needed. In addition, renames num_open to
is_open, as only one process can open the file at a time.
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
---
drivers/char/tpm/tpm.c | 35 ++++++++++++++++++-----------------
drivers/char/tpm/tpm.h | 2 +-
2 files changed, 19 insertions(+), 18 ...
| Aug 29, 8:05 pm 2008 |
| Alexey Dobriyan | [PATCH -next] x86: make setup_xstate_init() __init
WARNING: vmlinux.o(.text+0x22453): Section mismatch in reference from the function setup_xstate_init() to the function .init.text:__alloc_bootmem()
The function setup_xstate_init() references the function __init __alloc_bootmem().
This is often because setup_xstate_init lacks a __init annotation or the annotation of __alloc_bootmem is wrong.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
arch/x86/kernel/xsave.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- ...
| Aug 29, 7:03 pm 2008 |
| Dushan Tcholich | Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27- ...
Hello again
I dug a little more and found out some new info.
Unsolved bugreport with same symptoms:
http://marc.info/?l=linux-kernel&m=119613299024398&w=2
Problems appear if I start br0 interface, as context switch rate
increases 200 times. If I start eth0 instead everything looks ok.
The bugreport above had bridging enabled too.
When using eth0 I get:
vmstat -n 1 10
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si ...
| Aug 29, 6:48 pm 2008 |
| Gerardo Exequiel Pozzi | [ 2.6.27-rc5 ] x86-32 results of CONFIG_DEBUG_SECTION_MISMATCH
Hi,
Using:
http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.27-rc5.tar.bz2
The config is here: http://pastebin.com/f1754954e
WARNING: vmlinux.o(.text+0x85a4): Section mismatch in reference from the
function setup_trampoline() to the variable .cpuinit.data:trampoline_end
The function setup_trampoline() references
the variable __cpuinitdata trampoline_end.
This is often because setup_trampoline lacks a __cpuinitdata
annotation or the annotation of trampoline_end is ...
| Aug 29, 5:24 pm 2008 |
| Pekka Enberg | Re: [PATCH 4/6] VM: Annotate pagealloc
[Empty message]
| Aug 30, 3:57 am 2008 |
| Pekka Enberg | Re: [PATCH 5/6] slab: Annotate slab
Hi Steve,
On Sat, Aug 30, 2008 at 2:17 AM, Steve VanDeBogart
OK, I'm biased (I'm one of the kmemcheck developers) but these hooks
to SLAB are too ugly to live with. My preferred solution is that you
reuse the kmemcheck annotations
kmemcheck_slab_alloc()/kmemcheck_slab_free() we have:
http://git.kernel.org/?p=linux/kernel/git/x86/linux-2.6-tip.git;a=commitdiff;h=30532cb...
I'm not sure why you want to treat caches with constructor
differently. Sure, the ...
| Aug 30, 3:50 am 2008 |
| Andrew Morton | Re: [PATCH] dyn_array: using %pF instead of print_fn_des ...
On Fri, 29 Aug 2008 16:34:26 -0700
sure. The code looks rather miserable in an 80-col display.
there's also
WARNING: braces {} are not necessary for single statement blocks
#119: FILE: dyn_array.c:119:
+ if (da->init_work) {
+ da->init_work(da);
+ }
and checkpatch should have detected the misplaced semicolon here:
+ for (daa = __per_cpu_dyn_array_start ; daa < __per_cpu_dyn_array_end; daa++) {
but didn't.
--
| Aug 29, 5:23 pm 2008 |
| Sergei Shtylyov | Re: [PATCH] ide: Build fix for CONFIG_IDE_PROC_FS=n
Hello.
Is surrounding 'extern' declarations by #ifdef's really of any value?
They shouldn't be used if CONFIG_IDE_PROC_FS=n, so no object file
records should be generated.
WBR, Sergei
--
| Aug 30, 4:19 am 2008 |
| Elias Oltmanns | Re: [PATCH] ide: Build fix for CONFIG_IDE_PROC_FS=n
Sorry, I don't quite understand that last sentence. But we definitely
have compile time errors here because the compiler doesn't even know of
ide_proc_entry_t when CONFIG_IDE_PROC_FS is not set. Therefore the
forward declarations appear to be syntactically incorrect, regardless
whether extern or not.
Regards,
Elias
--
| Aug 30, 9:23 am 2008 |
| Sergei Shtylyov | Re: [PATCH] ide: Build fix for CONFIG_IDE_PROC_FS=n
If a variable declared 'extern' is referenced but the module containing
its definition is not linked in, you get unresolved symbol at link time, if
MBR, Sergei
--
| Aug 30, 9:29 am 2008 |
| Sergei Shtylyov | Re: [PATCH] ide: Build fix for CONFIG_IDE_PROC_FS=n
Ah, you probably mean to turn the possible link time errors if the do
get referenced into the compile time errors...
MBR, Sergei
--
| Aug 30, 4:22 am 2008 |
| Tejun Heo | Re: [PATCH 2/4] libata: Implement disk shock protection ...
Hello,
Ehhh... This really should be in libata core layer. Please create the
Which would make this unnecessary and make disk unloading available to
And does the device need this explicit wake up? It will wake up when
And these all can go. If you're worried about recurring events you
can just update timestamp from the sysfs write function and do...
deadline = last_timestamp + delay;
while ((now = jiffies) < deadline) {
...
| Aug 30, 2:33 am 2008 |
| Sergei Shtylyov | Re: [PATCH 1/4] Introduce ata_id_has_unload()
I think it says "supported" where the feature can't be disabled and
"enabled" where it can. Otherwise, this would make a little sense indeed.
Hm, I even found a quote in ATA/PI-7 rev. 4b backing this claim (should've
pasted it into previous mail):
6.17.43 Words (87:85): Features/command sets enabled
Words (87:85) shall indicate features/command sets enabled. If a defined bit
is cleared to zero, the indicated features/command set is not enabled. If a
supported features/command set is ...
| Aug 30, 11:01 am 2008 |
| Sergei Shtylyov | Re: [PATCH 1/4] Introduce ata_id_has_unload()
Hello.
If you read the comments to the words 82:84 and 85:87, they say that
the former indicate the supported features, and the latter indicate the
enabed features AND in case a feature can't be disabled, the latter
words will have the corresponding bit set. So it should be sufficient to
I think that it's preferrable to leave the operator on the same line
with the first operand...
WBR, Sergei
--
| Aug 30, 4:56 am 2008 |
| Elias Oltmanns | Re: [PATCH 1/4] Introduce ata_id_has_unload()
Yes, I tend to agree with you and, in fact, I have been leaning in this
direction myself. However, there is something that really bothers me.
Both entries describing bit 13 of word 87 and 84 are worded alike. In
particular, it says *supported* in both places, whereas in the case of the
other features it would say enabled in one and supported in the other
place.
Well, I'm willing to drop the check for word 87 since I don't like it
myself. Due to my lack of personal experience with ...
| Aug 30, 10:29 am 2008 |
| Vaidyanathan Srinivasan | Re: [PATCH] sched: arch_reinit_sched_domains() must dest ...
Tested-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
This fixes the problem on my 32-bit x86 quad-core, dual socket system.
The sched domains are being rebuilt accurately as expected on changing
sched_mc_power_savings.
However, the fix as such should be further reviewed for correctness.
I verified only the rebuilding of sched domains in my system.
Thanks,
--
| Aug 30, 1:23 pm 2008 |
| Gregory Haskins | Re: [RT PATCH v2] seqlock: serialize against writers
Yeah, you have a point. I still think this patch will solve the
deadlock thing, so please consider it in the interim. I will whip up a
full PI solution next week.
-Greg
| Aug 30, 6:05 am 2008 |
| Peter Zijlstra | Re: [PATCH] seqlock: serialize against writers
I think the technical term is livelock.
So the problem is that the write side gets preempted, and the read side
spins in a non-preemptive fashion?
Looking at the code, __read_seqbegin() doesn't disable preemption, so
even while highly inefficient when spinning against a preempted lock, it
shouldn't livelock, since the spinner can get preempted giving the
Not quite, seqlocks never suffered the cacheline bounce rwlocks have -
which was they strongest point - so I very much not like this ...
| Aug 30, 4:08 am 2008 |
| Peter Zijlstra | Re: [RT PATCH v2] seqlock: serialize against writers
Since we're talking -rt here, determinism rules, so bite the bullet and
do full PI.
The only reason we made all that stuff preemptable is to gain
determinism, that also means we have to do the PI thing.
--
| Aug 30, 5:38 am 2008 |
| Peter Zijlstra | Re: [RT PATCH v2] seqlock: serialize against writers
Ah, the point I was missing is higher-priority realtime task, in which
Still dont like this patch, once you have a rwlock you might as well go
all the way. Esp since this half-arsed construct defeats PI in certain
cases.
--
| Aug 30, 4:17 am 2008 |
| Gregory Haskins | Re: [RT PATCH v2] seqlock: serialize against writers
Why? A full rwlock will still be much slower since the readers will
always need an atomic op. This construct only uses atomic ops in the
slow path under contention, which should be rare, and is thus still
Ouch. While I admit that you can still get into inversion scenarios
once the reader leaves the seqbegin, this is the nature of seqlocks.=20
The only ways I can think of to get around this involve atomic ops in
the fast path, which I think should be avoided. What would you ...
| Aug 30, 5:32 am 2008 |
| Bill Davidsen | Re: Out of mtrrs
I don't, but there have been a LOT of mtrr issues recently. I see that
there were patches to -rc5 in that area. Many of my systems have RAM
they can't use, even in 32bit PAE mode, and I just have the feeling that
there is room for improvement here. For various reasons I would rather
run 32 bit on some machines, and to have 3.2GB RAM used in a 8 or 16GB
machine seems undesirable at the least, and with PAE and at least three
unused mtrr I assume that the problem is soluable, just not today. ...
| Aug 29, 8:16 pm 2008 |
| Helge Hafting | Re: 2.6.27 mtrr fixes do not work
Thank you for taking interest.
The files are attached.
The card is a nvidia card, but I use it in VESA mode because the
binary driver hangs the machine once or twice a week.
Helge Hafting
| Aug 30, 4:11 am 2008 |
| Andrew Morton | Re: [PATCH 1/5] select: add a timespec version of the ti ...
It's a bit dorkward using memset to clear out a structure which
zillions of code sites already know contains only two members.
It could be that two plain old writes is more efficient. (and it could
be that this is how the compiler implements the memset anyway?)
But I'd suggest that adding a new inlined timespec_zero(timespec*) or
timespec_set(timespec*,int,int) would be nicer.
--
| Aug 29, 7:10 pm 2008 |
| Linus Torvalds | Re: [PATCH 1/5] select: add a timespec version of the ti ...
gcc indeed knows about memset(), and will generate just two stores. No
worries,
Linus
--
| Aug 29, 7:54 pm 2008 |
| Arjan van de Ven | Re: [PATCH 4/5] select: make select() use schedule_hrtimeout()
On Fri, 29 Aug 2008 19:33:09 +0100
(side note: "on battery" is the worst possible measure for doing 'do I
need to be power sensitive', but you knew that already)
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Aug 30, 8:25 am 2008 |
| Konstantin Kletschke | Re: SATA Cold Boot problems on >2.6.25 with NV
Of course :-)
dmesg is attached with patch applied. At the end of the patch it (of
course) continues, but only with:
ata1: EH complete
ata1: EH complete
ata1: EH complete
Hmn, to take my pants down entirely: What is this "EH"?
And how does the change of the .reset function affect this? May be, I
You are right, it started immediately without a hitch this morning after
sleeping entirely for a couple of hours.
Kind Regards, Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B ...
| Aug 30, 1:51 pm 2008 |
| Tejun Heo | Re: SATA Cold Boot problems on >2.6.25 with NV
Hmm... Can you post full dmesg output? We used to see things like above
when ATAPI CHECK SENSE handling somehow failed to tell EH that it was an
exception not worth whining about. Maybe EH action mask is not being
I somehow feel pretty optimistic about that part. :-)
--
tejun
--
| Aug 30, 2:14 am 2008 |
| FUJITA Tomonori | Re: MTD/block regression (was Re: Slub debugging NAND er ...
On Fri, 29 Aug 2008 16:28:24 +0200
Really sorry about that. A fix was queued in Jens' tree:
Right, the problem is that MTD uses the same queue for multiple
gendisks. It would be great if a MTD developer could fix it.
Thanks,
--
| Aug 29, 6:34 pm 2008 |
| Haavard Skinnemoen | Re: MTD/block regression (was Re: Slub debugging NAND er ...
On Sat, 30 Aug 2008 10:34:12 +0900
Yeah, I sort of suspected that MTD was doing something unusual.
Unfortunately, I'm not familiar enough with the MTD and block code
to help out here...
Haavard
--
| Aug 30, 3:49 am 2008 |
| David Woodhouse | Re: [patch 1/3] crypto: Add a zlib crypto module
The main thing that's missing for JFFS2 is
"Compress as much of this as you can into X bytes"
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Aug 29, 11:39 pm 2008 |
| Herbert Xu | Re: [patch 1/3] crypto: Add a zlib crypto module
I think we can safely conclude that our current compression
Therefore I suggest that we change the interface rather than
mutilate the implementations.
So here are a few things we should add:
1) Separate alloc functions for comp/decomp to avoid the memory
wastage you've identified.
2) Provide parameters to these alloc functions through an opaque
pointer. The format of the paramters will be determined by the
name of the algorithm, i.e., if you want to change the parameters
...
| Aug 29, 11:23 pm 2008 |
| Vaidyanathan Srinivasan | Re: sched_mc_power_savings broken with CGROUPS+CPUSETS
* Peter Zijlstra <peterz@infradead.org> [2008-08-30 13:26:53]:
The above code helps a quad-core CPU to be treated as two dual core
for performance when sched_mc_power_savings=0 and they will be treated
as one quad core package if sched_mc_power_savings=1 since the power
control (voltage control) is per quad core socket.
On a dual socket machine with two quad core cpus,
sched_mc_power_savings=0 will build:
CPU0 attaching sched-domain:
domain 0: span 0,2 level MC
groups: 0 2
...
| Aug 30, 1:42 pm 2008 |
| Peter Zijlstra | Re: sched_mc_power_savings broken with CGROUPS+CPUSETS
I don't think iterating the domains and setting the flag is sufficient.
Look at this crap (found in arch/x86/kernel/smpboot.c):
cpumask_t cpu_coregroup_map(int cpu)
{
struct cpuinfo_x86 *c = &cpu_data(cpu);
/*
* For perf, we return last level cache shared map.
* And for power savings, we return cpu_core_map
*/
if (sched_mc_power_savings || sched_smt_power_savings)
return per_cpu(cpu_core_map, cpu);
else
...
| Aug 30, 4:26 am 2008 |
| Peter Zijlstra | Re: sched_mc_power_savings broken with CGROUPS+CPUSETS
Same for my dual-core Opteron 12xx, due to this code it normally
I realized what its good for, I'm just not sure I agree with it. I'm
feeling there is something wrong with this, just can't quite put my
finger on it.
I'm just feeling the domain structure should be invariant to such things
- its the same hardware after all, whether we schedule to optimize for
power or performance.
--
| Aug 30, 2:43 pm 2008 |
| Vaidyanathan Srinivasan | Re: sched_mc_power_savings broken with CGROUPS+CPUSETS
Hi Max,
Thank you very much for identifying the source of the problem. I will
test your patch and report.
My BUG_ON() may still fail during the window of change. I will watch
out for that.
--Vaidy
--
| Aug 30, 1:02 pm 2008 |
| Nick Piggin | Re: [PATCH] x86: fix ticket spin lock asm constraints
Hi,
All these ticket lock patches look pretty good to me. Thanks for going over
it so thoroughly.
--
| Aug 29, 10:28 pm 2008 |
| Henrique de Moraes H ... | Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.2 ...
yes, use --no-chain-reply-to. I hate deep threads as well.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
| Aug 30, 6:11 am 2008 |
| Peter Zijlstra | Re: [ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.2 ...
Can this git send-email thing sanely thread these days? It used to be
that each next email was threaded to the next, creating these insanely
deep threads.
quilt mail threads all subsequent emails from the first mail, not from
the previous - a mode I much prefer.
--
| Aug 30, 5:30 am 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
please check attached quilt series based on linus tree.
YH
| Aug 30, 10:55 am 2008 |
| Rafael J. Wysocki | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
What kernel should I apply those to and in what order?
Rafael
--
| Aug 30, 1:46 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
And just to clarify - I think that while you get that error for the
qla2xxx driver, I suspect that your actual resource tree is all good, and
that the PCI allocations were fine.
And then the problem you his is now that the driver literally thinks that
some other driver already took that resource.
The patch I just sent is not actually the patch I think you should do: the
proper patch is to just remove IORESOURCE_BUSY from the e820 resources,
simply because they are _not_ indicative ...
| Aug 29, 11:18 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
cat /proc/iomem please.
YH
--
| Aug 29, 5:27 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Fri, Aug 29, 2008 at 5:08 PM, Linus Torvalds
we need to handle it. otherwise if the BAR go first, and it will stop
other BARs to be registered...
a quirk should do the work....
Rafael, can you send out lspci -tv and lspci --vvxxx too.
YH
--
| Aug 29, 5:20 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Sat, Aug 30, 2008 at 10:39 AM, Linus Torvalds
again, should use MCFG end as the res _end
YH
--
| Aug 30, 11:07 am 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
please check
[PATCH] x86: split e820 reserved entries record to late v4
[PATCH] x86: split e820 reserved entries record to late v4 - fix v6
YH
--
| Aug 30, 1:38 pm 2008 |
| Rafael J. Wysocki | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Could you please rebase them on top of current -git?
Rafael
--
| Aug 30, 10:14 am 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
linus git tree
1. [PATCH] x86: split e820 reserved entries record to late v4
2. [PATCH] x86: split e820 reserved entries record to late v4 - fix v6
tip/master
1. Resource handling: add 'insert_resource_expand_to_fit()' function
2. [PATCH] x86: split e820 reserved entries record to late v4 - fix v6
YH
| Aug 30, 2:12 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Are you really really sure?
Try just removing the IORESOURCE_BUSY. As mentioned, if we expect the PCI
BAR's to work with the e820 resources, then BUSY really is simply not
right any more. Not that I think it should matter either..
The ones that are added _early_ should be IORESOURCE_BUSY (ie the ones
that cover RAM), but the others we now expect to nest with PCI BARs.
But since we add them after we have parsed the BAR's, I don't even see why
the BUSY bit should even matter - we've ...
| Aug 29, 8:24 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
we may not need put reserve entries from e820 into resource tree.
and only insert those sticky resources (with _BUSY) before
pci_assign_unassign and _request_region etc.
YH
--
| Aug 29, 10:02 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
00:00.0 Host bridge: ATI Technologies Inc RD790 Northbridge only dual
slot PCI-e_GFX and HT3 K8 part
Subsystem: ATI Technologies Inc RD790 Northbridge only dual slot
PCI-e_GFX and HT3 K8 part
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Region 3: Memory at <ignored> (64-bit, non-prefetchable)
Capabilities: [c4] HyperTransport: Slave ...
| Aug 30, 9:05 am 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
thanks,
David, can you test those two patches on top of linus tree?
YH
--
| Aug 30, 2:49 pm 2008 |
| Rafael J. Wysocki | Aug 30, 6:32 am 2008 | |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
.. and it even works (apart from a missing '\n' for the expansion report
;).
I tested it with the appended silly test-case, and it shows
...
BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 0000000160000000 (usable)
Expanded resource Kernel dummy due to conflict with Kernel code
Expanded resource Kernel dummy due to conflict with Kernel data
last_pfn = 0x160000 max_arch_pfn = 0x3ffffffff
x86 PAT enabled: cpu 0, old 0x7040600070406, new ...
| Aug 29, 8:15 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Btw, looking at that bogus BAR#3 some more: I don't actually think it's
even an MCFG resource.
I think it's literally the resource that describes the HT window for the
host bridge. So it's literally like the "root" resource - all external
MMIO resources that go over HT have to be in that window.
IOW, I'm starting to think that it's not even broken. It is probably
perfectly real. It's not a "PCI bridge" in the sense that it doesn't
bridge one PCI bus to another, but it's a host ...
| Aug 30, 12:14 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
that is for HW guys.
YH
--
| Aug 30, 12:29 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Fri, Aug 29, 2008 at 6:11 PM, Linus Torvalds
we reverted the commit , David's problem still happen.
the root cause is:
before 2.6.26, call init_apic_mapping and will insert_resource for
lapic address.
and then call e820_resource_resouce (with request_resource) to
register e820 entries.
so the lapic entry in the resource tree will prevent some entry in
e820 to be registered.
later request_resource for BAR res (==hpet) will succeed.
from 2.6.26. we move lapic address registering to ...
| Aug 29, 6:30 pm 2008 |
| Rafael J. Wysocki | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
There are some at:
http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_739_15137,00.html
Well, that's 690/SB600 only and I'm not sure how useful this is.
Thanks,
Rafael
--
| Aug 30, 12:29 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Sat, Aug 30, 2008 at 12:41 PM, Linus Torvalds
Those BIOS porting guide need extra NDA...
they don't want to everyone know that there is lots workaround for
their silicon bugs.
YH
--
| Aug 30, 12:48 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Fri, Aug 29, 2008 at 8:24 PM, Linus Torvalds
please check
__request_region: conflict: (reserved) [dd000000, efffffff], res:
(qla2xxx) [ddffc000, ddffffff]
busy flag
qla2xxx 0000:83:00.0: BAR 1: can't reserve mem region [0xddffc000-0xddffffff]
YH
...
Initializing cgroup subsys cpuset...............................................
Linux version 2.6.27-rc5-tip-00672-ge5c5407-dirty (yhlu@linux-zpir)
(gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision
135036] ...
| Aug 29, 10:22 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Fri, Aug 29, 2008 at 5:45 PM, Linus Torvalds
the quirk work at the first point for David' system.
[PATCH] x86: protect hpet in BAR for one ATI chipset v3
so avoid kernel don't allocate nre resource for it because it can not
allocate the old
address from BIOS.
the same way like some IO APIC address in BAR handling
v3: device id should be 0x4385
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/pci/quirks.c | 16 ++++++++++++++++
1 file changed, 16 ...
| Aug 29, 6:14 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
And that seems utter crap to begin with.
PCI: Using MMCONFIG at e0000000 - efffffff
Where did it get that bogus "ffffffff" end address?
Anyway, that whole MMCONFIG/BAR thing was totally broken to begin with,
and it's reverted now in my tree, so I guess it doesn't much matter.
Linus
--
| Aug 29, 5:08 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Fri, Aug 29, 2008 at 5:08 PM, Linus Torvalds
the BAR is from pci_read_bases..., so that chipset is broken...
they are even supposed to to hide that BAR to os.
YH
--
| Aug 29, 5:11 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Ok, can we please
- *do* get a quirk for known-broken chipsets (at a *PCI* level, this is
not an x86 issue)
- *not* get any more random PCI work-arounds that go through the x86 tree
and aren't even looked at by the (very few) people who actually
understand the PCI resource handling?
IOW, for the first issue, just teach pci_mmcfg_check_hostbridge() about
this broken bridge, and have it fix things up (including hiding the thing,
but also just verifying that the dang ...
| Aug 29, 5:45 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Now, this is probably fine too in theory, but
- you didn't check if the BAR is even enabled, afaik
- the other patch - to move the reserved e820 range later - should make
No, I think this is worth doing, BUT IT MUST NOT BE MERGED BY JUST SENDING
IT TO INGO.
It's not an "x86 patch". It's about the PCI resources.
And those kinds of patches need to be acked by people who know and
understand the PCI resource issues and have some memory of just how
broken machines can ...
| Aug 29, 7:16 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Fri, Aug 29, 2008 at 7:16 PM, Linus Torvalds
i see.
YH
--
| Aug 29, 7:29 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Btw, what was the original regression that commit was
a2bd7274b47124d2fc4dfdb8c0591f545ba749dd trying to fix?
It's not listed in that commit, even though the commit has a "Bisected-by:
David Witbrodt <dawitbro@sbcglobal.net>".
In fact, I can find it with google by searching for
David Witbrodt bisect
and I see that it is 3def3d6ddf43dbe20c00c3cbc38dfacc8586998f.
I'm wondering why that commit wasn't just reverted? Because now that I see
it, I notice that _that_ is the real bug to ...
| Aug 29, 6:11 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
So the problem there was that traditionally, e820_reserve_resource()
expected to be the first one to populate any resources. That's changed,
and that's why it now needs to use "insert_resource()" rather than
Yeah, I don't like it. The quirk I was talking about was the one about
Yeah, no, we do want reserved entries from e820 to show up to at least
Yes. And I do think this is a workable model.
Linus
--
| Aug 29, 7:33 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Ok, and here's the patch to do
insert_resource_expand_to_fit(root, new);
and while I still haven't actually tested it, it looks sane and compiles
to code that also looks sane.
I'll happily commit this as basic infrastructure as soon as somebody ack's
it and tests that it works (and I'll try it myself soon enough, just for
fun)
Linus
---
include/linux/ioport.h | 1 +
kernel/resource.c | 88 ++++++++++++++++++++++++++++++++++-------------
2 files changed, 64 ...
| Aug 29, 7:56 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Fri, Aug 29, 2008 at 7:56 PM, Linus Torvalds
we need to use insert_resource_split_to_fit instead...
otherwise __request_region will not be happy.
have one shrink one
only work with
|----------------|
|---------------------|
still has problem with
|----------------| |------------| |-----------|
|------------------------------------|
need to get rid of middle one too.
YH
---
arch/x86/kernel/e820.c | 20 +++++++++++++-
...
| Aug 29, 8:07 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Fri, Aug 29, 2008 at 8:24 PM, Linus Torvalds
not all. some are MMCONF, some are for GART, and some for fixed lapic,
if we don't add the IORESOURCE_BUSY, why bother to add these entries...
good layout from BIOS, it should only reserve mmio range is not showing in BAR.
for example:
0xdc000000 - 0xdd000000 for GART ( some offset BAR 0x94)
0xdd000000 - 0xde000000 is for bus 0x80
0xde000000 - 0xdf000000 is for bus 0x00
0xe0000000 - 0xf0000000 is for mmconfig ( CPU set it in MSR for amd fam ...
| Aug 29, 9:41 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
You don't understand how the resource allocator works.
IORESOURCE_BUSY is really more of a "legacy bit". It has almost no bearing
on the actual allocations.
Just grep for IORSOURCE_BUSY in kernel/resource.c. The _only_ thing that
cares about busy/non-busy is the legact "request_region()" function. That
one isn't actually used by any core PCI code - it's more of a driver
issue to claim exclusive ownership of particular resources by inserting a
marker in that resource.
So ...
| Aug 29, 10:52 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
please check fix v3
[PATCH] x86: split e820 reserved entries record to late v4 - fix v3
try to insert_resource second time, by expand the resource...
for case: e820 reserved entry is partially overlapped with bar res...
hope it will never happen
v3: use reserve_region_with_split() instead to hand overlapping
with test case by extend 0xe0000000 - 0xeffffff to 0xdd800000 -
get
e0000000-efffffff : PCI MMCONFIG 0
e0000000-efffffff : ...
| Aug 30, 1:02 am 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Ok, this is actually when the driver wants to reserve the BAR, and then it
norices that there is an existing "reservation" there.
So yes, drivers will care - they literally will think that somebody else
owns their resource if they have a BUSY resource inside of them. So this
is a driver protecting against another driver.
The sad part is that it looks like it's entirely due to the PCI code
trying to emulate an ISA driver model, and use a flat resource space - so
it hits the upper ...
| Aug 29, 11:11 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Fri, Aug 29, 2008 at 7:33 PM, Linus Torvalds
orginally it works, because lapic address entry open the big hole for
if update res->end according mmconfig end, before insert it forcibly,
BTW, insert_resource_expand_to_fit need to be replaced with
insert_resource_split_to_fit....
test stub reveal expand will make __request_region not working for
some devices...because reserved_entries from e820 take
IORESOUCE_BUSY...
YH
--
| Aug 29, 8:00 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Except it's still a horrible patch that special-cases all the wrong things
(ie random resources that we just happen to know that ACPI etc cares
about).
There's no way to know in general if ACPI might care deeply where some
random resource is (say, graphics memory) and it might be done with a BAR.
Well, we should probably just remove the IORESOURCE_BUSY part.
Again, that comes from the fact that the e820 resources used to _override_
everything - they were inserted first, and ...
| Aug 29, 8:10 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
there is some problem with fix -v4...on one test machine.
please don't use it now
YH
--
| Aug 30, 11:11 am 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
this one should work.
YH
| Aug 30, 12:06 pm 2008 |
| Rafael J. Wysocki | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
dmesg -s 262144
http://www.sisk.pl/kernel/debug/mainline/2.6.27-rc5/dmesg-test.log
cat /proc/iomem
http://www.sisk.pl/kernel/debug/mainline/2.6.27-rc5/iomem-test.txt
Thanks,
Rafael
--
| Aug 30, 12:51 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
calling pci_subsys_init+0x0/0x120
PCI: Using ACPI for IRQ routing
request_resource: root: (PCI IO) [0, ffff], new: (PCI Bus 0000:01)
[9000, 9fff] conflict 0
request_resource: root: (PCI mem) [0, ffffffffffffffff], new: (PCI Bus
0000:01) [fe700000, fe7fffff] conflict 0
request_resource: root: (PCI mem) [0, ffffffffffffffff], new: (PCI Bus
0000:01) [d8000000, dfffffff] conflict 0
request_resource: root: (PCI IO) [0, ffff], new: (PCI Bus 0000:02)
[a000, bfff] conflict 0
request_resource: root: ...
| Aug 30, 1:10 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Ok, the more I look at this, the more interesting it gets.
In particular, this:
...
ACPI: bus type pnp registered
pnp 00:08: mem resource (0xfec00000-0xfec00fff) overlaps 0000:00:00.0 BAR 3 (0xe0000000-0xffffffff), disabling
pnp 00:08: mem resource (0xfee00000-0xfee00fff) overlaps 0000:00:00.0 BAR 3 (0xe0000000-0xffffffff), disabling
pnp 00:09: mem resource (0xffb80000-0xffbfffff) overlaps 0000:00:00.0 BAR 3 (0xe0000000-0xffffffff), disabling
pnp 00:09: mem resource ...
| Aug 30, 10:39 am 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
No. Again - we shouldn't DO that insane crap.
We simply shouldn't try to compare the BAR start with randomly chosen
things.
So the crap got reverted, and it's not going to get done again. Get over
it.
Linus
--
| Aug 30, 11:43 am 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Sat, Aug 30, 2008 at 11:43 AM, Linus Torvalds
do you agree to use quirk to make the BAR res to have correct end
between pci_probe and pci_resource_survey?
YH
--
| Aug 30, 12:10 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
In general I would agree, but now that I've looked at it a bit more, I
actually don't think it's a bug in the chipset any more. See my previous
email that crossed with yours.
I suspect that that northbridge resource is basically acting as a bridge
resource. So 0xe0000000 - 0xffffffff is actually _correct_. And MCFG being
in that window (and being first in it) is just a detail.
Look at the resource allocations on Rafael's machine: there are two
different classes:
- outside that ...
| Aug 30, 12:31 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Sat, Aug 30, 2008 at 12:31 PM, Linus Torvalds
wonder:
in old kernel, after BAR3 request_filed, pci_assigned_unassigned
should get update resource for that... but it could find that big
space for it.
that is interesting...
YH
--
| Aug 30, 1:14 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
actually it is almost the same to tar ball send you for your system...
YH
--
| Aug 30, 2:13 pm 2008 |
| Rafael J. Wysocki | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
I've just tested these two patches on top of the current Linus' tree and the
system works normally.
Thanks,
Rafael
--
| Aug 30, 2:34 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Exactly. So what happens is that it doesn't actually re-allocate it at
all. Not that it is necessarily even possible - it's quite possible that
that field is effectively locked some way and is read-only. Without
knowing the chipset details, we can only guess.
Linus
--
| Aug 30, 3:41 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Sat, Aug 30, 2008 at 3:41 PM, Linus Torvalds
wait, THAT BAR is 64BIT capable, So kernel should assign 64bit range to it...
not touch it at this time...
except Jordan could find some clue with the DOC.
YH
--
| Aug 30, 3:50 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
I don't think we've ever done new allocations in 64 bits. Although looking
for it, I have to admit that I don't see what would limit us right now.
There used to be some paths that weren't 64-bit clean, but I think we
fixed all of those.
Linus
--
| Aug 30, 4:28 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Sat, Aug 30, 2008 at 4:28 PM, Linus Torvalds
would be some corner case...
didn't see anything there.
calling pcibios_assign_resources+0x0/0x90
request_resource: root: (PCI Bus 0000:01) [fe700000, fe7fffff], new:
(0000:01:00.0) [fe7c0000, fe7dffff] conflict 0
request_resource: root: (PCI Bus 0000:03) [fe900000, fe9fffff], new:
(0000:03:00.0) [fe9c0000, fe9dffff] conflict 0
pci 0000:00:02.0: PCI bridge, secondary bus 0000:01
pci 0000:00:02.0: IO window: 0x9000-0x9fff
pci ...
| Aug 30, 4:39 pm 2008 |
| Yinghai Lu | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
On Sat, Aug 30, 2008 at 12:14 PM, Linus Torvalds
AMD CPU/NB (quad core aka fam 10h later) has MSR to state MMCONFIG, and
the ATI bridge BAR that have same address for MMCONFIG not even have
chance to decode that.
it seems ATI chipset doesn't have public version of doc...like reg
info and BIOS/Kernel porting guide.
YH
--
| Aug 30, 12:26 pm 2008 |
| Linus Torvalds | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Ok, so it's similar to the local APIC in that respect (and presumably IO
APIC too, I haven't checked).
But that still just implies that the BAR probably means something else
totally, and the fact that it happens to have the same value as the MCFG
Yeah, I'm not finding anything either. The 690G databook that Rafael
pointed to does mention the config registers in passing, but it's really
just about electricals (pin setup etc). No BIOS writers guide indeed..
Linus
--
| Aug 30, 12:41 pm 2008 |
| Rafael J. Wysocki | Re: Linux 2.6.27-rc5: System boot regression caused by c ...
Well, I thought something like this happened, but I wasn't quite sure about the
exact mechanism. Thanks for the explanation. :-)
Rafael
--
| Aug 30, 12:20 pm 2008 |
| Brian G. Merrell | Re: [patch 00/03] USB-IP patches
I will indeed continue to work on getting rid of the checkpatch.pl
warnings/errors during the upcoming weeks. I already eliminated the
ones I could figure out without too much effort; I am sure the
remaining ones are trivial to many of you out there, so I welcome
Thanks,
Brian G. Merrell
--
| Aug 29, 10:50 pm 2008 |
| Andrew Morton | Re: [patch 01/03] USB: USB/IP: add common functions needed
On Thu, 28 Aug 2008 16:00:31 -0700
Local variable `flag' is unneeded.
It's a bit sloppy that a user can do
echo wibble > /sys/whatever-file-this-is
and that will set usbip_debug_flag to zero. We should have a library
function somewhere which can be used for this very common pattern.
Something like
/*
* Convert an optionally NULL-terminated digit string into a long. Returns
* a -ve errno if an invalid character was detected. Otherwise returns the
* number of characters whcih ...
| Aug 29, 5:14 pm 2008 |
| David Daney | Re: [Patch 0/6] MIPS: Hardware watch register support fo ...
I think there will have to be at least one more pass at this.
The current design assumes that all debug registers support an identical
set of the I, R, and W bits and Mask.
However sections 8.23 and 8.24 of my
MIPS32® Architecture For Programmers
Volume III: The MIPS32® Privileged Resource Architecture
indicate that they do not have to uniform. I will have to augment the
ptrace structures to report the values for each register instead of a
single global value.
David Daney
--
| Aug 30, 1:37 am 2008 |
| Jeremy Fitzhardinge | Re: [PATCH RFC] x86: check for and defend against BIOS m ...
I would expect you'd get crashes if you had massive corruption in that
area. By default it's being used for the kernel pagetables, so stomping
on them will cause problems. In the cases we've been looking at so far,
it's only been a word or two being stomped.
The low 1Mbyte is used as general memory, so corruption over the whole
area will have widespread effects.
But try this patch (Hugh's version) and see what happens.
J
--
| Aug 29, 6:15 pm 2008 |
| Vegard Nossum | Re: [RFC][PATCH] bitfields API
Hm, and this is exactly the case for the "do_not_encrypt" field of skbuff:
#ifdef CONFIG_IPV6_NDISC_NODETYPE
__u8 ndisc_nodetype:2;
#endif
#if defined(CONFIG_MAC80211) || defined(CONFIG_MAC80211_MODULE)
__u8 do_not_encrypt:1;
#endif
So we have no way to know where or how big the filler should be. This is
why the simple patch above is not sufficient.
Alexey: I have a modified proposal with slightly different syntax ...
| Aug 30, 1:28 am 2008 |
| Goswin von Brederlow | Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
Would it be hard to extend this to block devices as well?
MfG
Goswin
--
| Aug 30, 9:35 am 2008 |
| Archie Cobbs | Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
Well, NBD is the bird in hand, but that doesn't mean it's the best way
to do things generically for all block device emulation applications.
I'd even argue that NBD should be removed from the kernel and replaced
by BUSE plus a user-land daemon. A BUSE interface could be a lot more
general, and simpler.
Not to mention that converting all block reads and writes to TCP
operations that talk to another process on the same machine via the
loopback interface seems awfully ...
| Aug 30, 3:39 pm 2008 |
| Tejun Heo | Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
[Empty message]
| Aug 30, 5:30 am 2008 |
| Mike Hommey | Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
My gutt feeling is that it would have less overhead when done via FUSE
than through nbd, but that could be wrong.
Mike
--
| Aug 30, 11:56 am 2008 |
| Tejun Heo | Re: [PATCH 5/7] FUSE: implement ioctl support
Hello, Eric.
Yeah, that would at least ensure we're not meddling with the wrong
What do you mean by "compat_ioctl" thing? We still allow random
When !allow_others, there's no reason to prevent one user's FUSE
server to corruption the user's processes. Everyone has the innate
32/64bit is not really much problem tho. The kernel just flags the
request as-such and let the userland deal with it.
Miklos, I think Eric's reply pretty much blew the direct access idea
out of water, ...
| Aug 30, 4:40 am 2008 |
| KOSAKI Motohiro | Re: VM: page reclaim does not work on ARM9? [resend]
I guess this isn't code pages.
So, Can you observe /proc/{pid}/smaps file?
it tell you detail of these pages.
Thanks.
--
| Aug 29, 5:49 pm 2008 |
| Pavel Machek | Re: VM: page reclaim does not work on ARM9?
I guess you should have included example .c code... with some macro
magic it should be easy to create.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 30, 6:18 am 2008 |
| Atsushi Nemoto | Re: [PATCH] ne.c fix for hibernate and rmmod oops fix
The name "cleanup_module" is special. I think this should not be used
outside #ifdef MODULE. Please rename it something like
Thanks. You killed two .name and there are still two .name in ne_probe.
---
Atsushi Nemoto
--
| Aug 30, 7:52 am 2008 |
| David Fries | Re: [PATCH] ne.c fix for hibernate and rmmod oops fix
Works for me, thanks for the suggestion, it was just what I was
They didn't use to be the same, with all the cleanup I didn't notice
that they became the same. ne_exit is no more, cleanup_module for
Now that you mention it, it really doesn't have anything to do with
Changed.
Thanks for the feedback, I'll submit round two shortly.
--
David Fries <david@fries.net>
http://fries.net/~david/ (PGP encryption key available)
--
| Aug 29, 7:27 pm 2008 |
| Pavel Machek | Re: [patch] xsave: restore xcr0 during resume
ACK.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 30, 2:57 pm 2008 |
| Nix | Re: Is SKAS still required for UML
Nobody's forward-ported it to recent kernels that I can see, though :/
--
`Not even vi uses vi key bindings for its command line.' --- PdS
--
| Aug 30, 4:46 am 2008 |
| Joe Korty | Re: [PATCH] make might_sleep() display the oopsing process
I wrote and used the patch once, as I wanted to know
which program in a lengthy multiple-program test suite
was triggering the problem. That made it easier coming
up with a shortened test that would replicate the problem.
However I only needed it that one time so this patch can
be considered to be exceptionally optional :)
Joe
--
| Aug 30, 7:45 am 2008 |
| Arjan van de Ven | Re: [PATCH] make might_sleep() display the oopsing process
On Sat, 30 Aug 2008 10:45:20 -0400
WARN() and WARN_ON() already print the oopsing process.
so if might_sleep() just calls one of those it already prints it.
If it doesn't call one of these.. maybe it should?
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Aug 30, 9:04 am 2008 |
| Joe Korty | Re: [PATCH] shrink printk timestamp field
I have no objection...
Joe
--
| Aug 30, 11:57 am 2008 |
| Leon Woestenberg | Re: [PATCH] shrink printk timestamp field
Hello,
On Sat, Aug 30, 2008 at 7:16 PM, Andrew Morton
I second this. If we have timestamps enables, let it be useful for all
current uses. The 3 digits extra are very cheap useful information in
that area (without resorting to more elaborate methods like the
recently merged latency tracer).
Rather than cut 3 digits off, maybe fix some of the too-wide prints
would solve the posters issue better.
Can we please have this patch non-committed or reverted?
Regards,
--
Leon
--
| Aug 30, 10:47 am 2008 |
| Andrew Morton | Re: [PATCH] shrink printk timestamp field
Of course it's useful. If you're working on performance or latency in
a disk, network or USB driver, microsecond resolution is about right.
--
| Aug 30, 10:16 am 2008 |
| Joe Korty | Re: [PATCH] shrink printk timestamp field
I was looking at it from the point of view of finding out where the
boot process was too slow. For that millisecs is enough. I am not
sure where knowing printk output to the microsec would be useful for
solving anything.
Joe
--
| Aug 30, 7:38 am 2008 |
| Tejun Heo | Re: linux-next: Tree for August 27
Hello,
Yeap, in retrospect, enabling BLOCK_EXT_DEVT by default seems too
disruptive. There also are people running off static /dev. I hope
distros enable it during their alphas and betas tho so that they can
Maybe we can add a warning there if BLOCK_EXT_DEVT is enabled or do
you have something else on mind?
Thanks.
--
tejun
--
| Aug 30, 2:10 am 2008 |
| Alexey Dobriyan | Re: [PATCH 1/2] utrace core
Engine grew a refcount.
Was it added to fix some bug?
Old utrace git doesn't have this, new utrace git has only two
posted patches, so asking.
--
| Aug 30, 8:05 am 2008 |
| Christoph Hellwig | Re: [PATCH 2/2] utrace: ptrace cooperation
I don't like this patch in it's current form. Having two different ways
to do ptrace is a rather awkward thing and not very good for testing
coverage. This should not be an option but required. I'm not even sure
keeping a non-utrace version at all is a good idea. I'd rather set a
deadline for arch maintainers to convert everything to the generic
ptrace bits + regsets + tracehook and if they don't manage to do it by
then ptrace will be disabled for those who can't keep up. Of course
this ...
| Aug 30, 6:38 am 2008 |
| Christoph Hellwig | Re: [PATCH 0/2] utrace
I hope my original mail was clear that I'm not principially against
utrace. I think having a generic trace even dispatcher is a good thing
if it is a) not overly complicated (see Alexey
| Aug 30, 6:40 am 2008 |
| Christoph Hellwig | Re: [PATCH 1/2] utrace core
Yes, I've also said this went the old monolithic utrace was first posted
(probably over a year ago) and it was conveniently ignored..
--
| Aug 30, 6:45 am 2008 |
| Christoph Hellwig | Re: [PATCH 0/2] utrace
Yes. And btw, the early utrace patches actually moved the ptrace
state into dynamically allocated per engine state, which would almost
cancel out the additional members required for utrace. I'm not sure
why this went away in the meantime.
--
| Aug 30, 6:43 am 2008 |
| Carsten Emde | Re: 2.6.26.3-rt3 bug report
No. Admittedly, we have not yet started to take care of the 2.6.26 RT
tree. Finishing the 2.6.24 RT tree was quite difficult and took somewhat
longer than earlier trees so we now really need to use it and to
integrate it into the various industrial projects that waited long
enough for it. This will certainly keep us busy during the next weeks or so.
Unfortunately, the "Bad page state" is not the only regression.
Currently, we know of the following problems in 2.6.26.3-rt3:
- Bad page state
- ...
| Aug 30, 7:29 am 2008 |
| Bill Davidsen | Re: An idea .... with code
I, for one, have never been able to figure out how to use dm-crypt with
cryptoloop files. If I had, for instance, a file and knew that if I
started at a certain offset using a certain encryption with a certain
key, and I wanted to mount my part of it, I have never persuaded
dm-crypt to do that.
All proposed solutions have started with copy or convert, neither of
--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the ...
| Aug 29, 7:57 pm 2008 |
| xerces8 | Re: GA-MA790FX-DS5 SATA ahci NCQ erros on Jmicron 20360/ ...
I know, I'm David Balažic (the last commenter on bug, besides you) ;-)
Regards,
David
--
| Aug 30, 11:13 am 2008 |
| Tejun Heo | Re: GA-MA790FX-DS5 SATA ahci NCQ erros on Jmicron 20360/ ...
Well, FWIW, JMB ahci's are one of my favorites and usually very well
This one is being discussed both with JMB and WD. It seems the bridge
chip used in the WD external drives is somehow incompatible with the
JMB ahci's. Don't know whose fault it is or how it can be worked
around yet. The issue is being tracked in the following bugzilla.
http://bugzilla.kernel.org/show_bug.cgi?id=9913
--
tejun
--
| Aug 30, 4:00 am 2008 |
| Lai Jiangshan | Re: [PATCH, RFC, tip/core/rcu] v3 scalable classic RCU i ...
I just had a fast review. so my comments is nothing but cleanup.
Thanks, Lai.
I tried a mask like qsmaskinit before. The system came to deadlock
when I did on/offline cpus.
I didn't find out the whys for I bethought of these two problem:
problem 1:
----race condition 1:
<cpu_down>
synchronize_rcu <called from offline handler in other subsystem>
rcu_offline_cpu
-----race condition 2:
rcu_online_cpu
synchronize_rcu <called from online handler in other ...
| Aug 30, 2:58 am 2008 |
| Manfred Spraul | Re: [PATCH, RFC, tip/core/rcu] v3 scalable classic RCU i ...
Can we disallow synchronize_rcu() from the cpu notifiers? Are there any
users that do a synchronize_rcu() from within the notifiers?
I don't see any other solution.
Something like qsmaskinit is needed - always enumerating all cpus just
doesn't scale.
Perhaps it's possible to rely on CPU_DYING, but I haven't figured out
yet how to handle read-side critical sections in CPU_DYING handlers.
Interrupts after CPU_DYING could be handled by rcu_irq_enter(),
rcu_irq_exit() [yes, they exist on x86: ...
| Aug 30, 6:32 am 2008 |
| Paul E. McKenney | Re: [PATCH, RFC, tip/core/rcu] v3 scalable classic RCU i ...
Very cool!!! I see one of his patches at http://lkml.org/lkml/2008/4/17/342,
but how do I find out which branch of -tip this is on? (I am learning
git, but it is a slow process...)
This would also simplify preemptable RCU's dyntick interface, removing
the need for proofs.
Thanx, Paul
--
| Aug 30, 7:10 am 2008 |
| Peter Zijlstra | Re: [PATCH, RFC, tip/core/rcu] v3 scalable classic RCU i ...
Already done and available in the -tip tree, curtesy of Mathieu.
--
| Aug 30, 2:33 am 2008 |
| Paul E. McKenney | [PATCH, RFC, tip/core/rcu] v3 scalable classic RCU imple ...
Hello!
Still experimental, not for inclusion. But getting better!
Updates from v2:
o Fixed a number of bugs uncovered by running rcutorture in
parallel with onlining and offlining CPUs. Many of these
were due to the fact that there can be a multiple-grace-period
window during which RCU and the process scheduler disagree
about whether a given CPU is offline. The solution was
to make force_quiescent_state() check for RCU waiting on
offlined CPUs, and then cleaning up all the ...
| Aug 29, 5:49 pm 2008 |
| Paul E. McKenney | Re: [PATCH, RFC, tip/core/rcu] v3 scalable classic RCU i ...
First, only one of these race conditions can happen at a time, since
only one online/offline action can be happening at a time.
What I did to solve it was to make force_quiescent_state() check
to see if the CPU currently blocking the grace period is offline.
(The actual checking for offline is in rcu_implicit_offline_qs(),
which is called indirectly from force_quiescent_state().)
So when this race occurs, it is taken care of within three jiffies.
This happened -many- times during my ...
| Aug 30, 7:29 am 2008 |
| Paul E. McKenney | Re: [PATCH, RFC, tip/core/rcu] v3 scalable classic RCU i ...
That works -- thank you!!!
--
| Aug 30, 12:38 pm 2008 |
| Paul E. McKenney | Re: [PATCH, RFC, tip/core/rcu] v3 scalable classic RCU i ...
I made force_quiescent_state() check for offline CPUs. (Well, actually
it is rcu_implicit_offline_qs(), which is indirectly called from
My feeling is that CPU online/offline will be quite rare, so it should
be OK to clean up after the races in force_quiescent_state(), which in
this version is called every three ticks in a given grace period.
Yes, I did worry about the possibility of all CPUs being in dyntick-idle
mode, and the solution for that is (1) don't let a CPU that has ...
| Aug 30, 7:34 am 2008 |
| Peter Zijlstra | Re: [PATCH, RFC, tip/core/rcu] v3 scalable classic RCU i ...
Not sure - my git-foo isn't good enough either :-(
All I can offer is that its available in tip/master (the collective
merge of all of tip's branches) as commit:
0d84b78a606f1562532cd576ee8733caf5a4aed3, which I found using
git-annotate include/linux/hardirq.h
How to find from which particular topic branch it came from, I too am
clueless.
---
commit 0d84b78a606f1562532cd576ee8733caf5a4aed3
Author: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Date: Mon May 12 21:21:07 2008 ...
| Aug 30, 8:40 am 2008 |
| Greg KH | Re: refcount leak in pci_get_device()?
Is this something new? Hasn't this always been that way? Why would you
be wanting to call this function anyway?
thanks,
greg k-h
--
| Aug 29, 10:37 pm 2008 |
| Zhao, Yu | RE: refcount leak in pci_get_device()?
It's been so for a while, guess since 2.5. I meant to say the pci_remove_bus_device(), not pci_remove_bus(), is used by pci hotplug code. If a device is being plugged off, and some drivers are calling pci_get_dev_by_id() to search something, then the warning might be fired through bus_find_device -> klist_iter_init_node ->kref_get.
Thanks,
--
| Aug 29, 11:20 pm 2008 |
| Zhao, Yu | RE: refcount leak in pci_get_device()?
And the pci_get_dev_by_id() is not safe again the PCI device removal. It might fire a warning in bus_find_device() when reference count of the knode_bus is decreased to 0 by pci_remove_bus().
Need to document this or a fix?
Thanks,
Yu
--
| Aug 29, 9:23 pm 2008 |
| Maciej W. Rozycki | Re: 2.6.27-rc3: 'APIC error on CPU1: 00(40)', but only o ...
Debugging code can be added to apic_write() and io_apic_{write,modify}()
so that a warning is output into the kernel log whenever a suspicious
value is written to one of the vector registers. Similarly for MSI/HT
interrupts, although I do not know names of the functions involved off the
head. Due to performance considerations it is unfortunately infeasible to
have such debugging enabled in production kernels.
Maciej
--
| Aug 30, 1:16 pm 2008 |
| Yinghai Lu | Re: 2.6.27-rc3: 'APIC error on CPU1: 00(40)', but only o ...
can you try dump the io apic registers too?
YH
--
| Aug 30, 12:33 pm 2008 |
| Frans Pop | Re: 2.6.27-rc3: 'APIC error on CPU1: 00(40)', but only o ...
Could you please provide some more specific debugging instructions? I'm at
a complete loss what I should do here.
I just re-read the rest of the thread, but I'm afraid most of it is Greek
to me :-/
TIA,
FJP
--
| Aug 30, 12:16 pm 2008 |
| Pavel Machek | Re: Introduce interface to report BIOS bugs (reworked, F ...
Pavel listens, but sees no patch on either this or followup mail.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 30, 6:15 am 2008 |
| Nick Piggin | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
There is a difference. You *have* to pick some value for those things.
The settings can't necessarily be called correct or incorrect.
The default rt sched policy is definitely "broken" in that it very clearly
changes our previous behaviour, documentation, and what other systems do.
You could say that "realtime" in general is not really a single accepted
definition, but *SCHED_FIFO* and *SCHED_RR* in particular do have a well
defined, simple, and widely accepted definition that is undeniably ...
| Aug 29, 11:33 pm 2008 |
| Ian Campbell | Re: NFS regression? Odd delays and lockups accessing an ...
It produced only the following (is that what was expected?):
[146866.448112] -pid- proc flgs status -client- -prog- --rqstp- -timeout -r=
pcwait -action- ---ops--
[146866.448112] 30576 0001 00a0 0 f77a1600 100003 f7903340 15000 xp=
rt_pending fa0ba88e fa0c9df4
[146866.448112] 30577 0004 0080 -11 f77a1600 100003 f7903000 0 xp=
rt_sending fa0ba88e fa0c9df4
Ian.
--=20
Ian Campbell
Life is a concentration camp. You're stuck here and there's no way
out and you can only ...
| Aug 30, 8:47 am 2008 |
| Simon Arlott | Re: [PATCH] net: forcedeth use pci_choose_state instead ...
It appears to be working again as of ee096f75b69913dbad0e6f7f2572513de5c90002.
--
Simon Arlott
--
| Aug 30, 12:39 pm 2008 |
| Hans Verkuil | Re: [PATCH 1/2] byteorder: add a new include/linux/swab. ...
Hi Harvey,
Now that this is merged into 2.6.27-rc5 I'm getting broken builds for
linux/drivers/media/dvb/ttpci/av7110.c. It includes
<linux/byteorder/swabb.h>. Building on the arm gives this error:
In file included from /marune/build/v4l-dvb/v4l/av7110.c:39:
include/linux/byteorder/swabb.h:82:1: warning: "__swahw32" redefined
In file included from include/linux/byteorder.h:5,
from /marune/build/trees/armv5-ixp/linux-2.6.27-rc5/arch/arm/include/asm/byteorder.h:53,
...
| Aug 30, 5:36 am 2008 |
| Frans Pop | Re: [regression] usb: sometimes dead keyboard after boot
The patch seems to do exactly what I was looking for! Details further
down, but first some other comments.
My first boot with your patch was with brltty still enabled. The log
showed the right result, but I wanted to get a cleaner log without all
the USB suspend/resume noise caused by brltty. So I disabled brltty's
init script and rebooted.
This gave a totally unexpected result: ehci now got loaded and initialized
_before_ uhci which of course avoids the problem altogether (see ...
| Aug 30, 7:40 am 2008 |
| Frans Pop | Re: [regression] usb: sometimes dead keyboard after boot
Thanks a lot. That identified the culprit: brltty (which I only have
installed for some very rare testing with the Debian Installer).
I'll file a bug in the Debian BTS as I know the Debian maintainer has very
good contacts with the upstream developers.
--
| Aug 30, 3:44 am 2008 |
| Frans Pop | Re: [regression] usb: sometimes dead keyboard after boot ...
I got lucky on the second boot with -rc5 and USB_DEBUG enabled.
Attached the output of dmesg. After this boot the keyboard was dead and
the telltale "reset low speed USB device" message is present.
Cheers,
FJP
| Aug 30, 8:36 am 2008 |
| Alan Stern | Re: [regression] usb: sometimes dead keyboard after boot ...
Here's the promised patch. Be warned, I haven't tested it at all.
Alan Stern
Index: usb-2.6/drivers/usb/core/hcd.h
===================================================================
--- usb-2.6.orig/drivers/usb/core/hcd.h
+++ usb-2.6/drivers/usb/core/hcd.h
@@ -486,4 +486,7 @@ static inline void usbmon_urb_complete(s
*/
extern struct rw_semaphore ehci_cf_port_reset_rwsem;
+/* This is also for use by khubd and ehci-hcd. */
+extern void usb_wait_for_khubd_idle(void);
+
#endif ...
| Aug 29, 7:48 pm 2008 |
| Matthew Garrett | Re: [ANNOUNCE] ACPI BIOS Guideline for Linux
Not really. It provides approximately no complexity for Linux drivers,
and makes it easier for vendors to provide Windows support. WMI has not
been the hard bit of the drivers I've written. I don't see any reason to
ask vendors not to use it, as long as they're willing to document their
implementation.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| Aug 30, 5:47 am 2008 |
| Nicolas Marot | Re: [PATCH][RESEND] New type of DTV2000H TV Card
Hi Mauro,
The patch looks good for me.
Tested under 2.6.25 and 2.6.26
Reviewed-by: Nicolas Marot <nicolas.marot@gmail.com>
On Sun, Jun 29, 2008 at 2:13 PM, Mauro Carvalho Chehab
--
| Aug 30, 3:35 pm 2008 |
| previous day | today | next day |
|---|---|---|
| August 29, 2008 | August 30, 2008 | August 31, 2008 |
