* Re: mmotm 2009-01-28-02-17 uploaded - docking station issues. [not found] ` <20830.1233246343@turing-police.cc.vt.edu> @ 2009-01-31 5:03 ` Andrew Morton 2009-01-31 8:40 ` Valdis.Kletnieks 0 siblings, 1 reply; 3+ messages in thread From: Andrew Morton @ 2009-01-31 5:03 UTC (permalink / raw) To: Valdis.Kletnieks; +Cc: linux-kernel, Holger Macht, linux-acpi On Thu, 29 Jan 2009 11:25:43 -0500 Valdis.Kletnieks@vt.edu wrote: > On Wed, 28 Jan 2009 02:19:09 PST, akpm@linux-foundation.org said: > > The mm-of-the-moment snapshot 2009-01-28-02-17 has been uploaded to > > > > http://userweb.kernel.org/~akpm/mmotm/ > > % ls -l /sys/devices/platform/dock.0/docked > -r--r--r-- 1 root root 4096 2009-01-29 10:49 /sys/devices/platform/dock.0/docked > % cat /sys/devices/platform/dock.0/docked > ñÞcat: write error: Bad address > > strace of the cat shows: > > open("/sys/devices/platform/dock.0/docked", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 > read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 1812586496 > > Under 2.6.29-rc2-mmotm0116, this would return either "0" or "1", not 4K > of nulls. > Is it due to acpi-dock-dont-eval-_sta-on-every-show_docked-sysfs-read.patch and/or acpi-dock-dont-eval-_sta-on-every-show_docked-sysfs-read-simplification.patch ? -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mmotm 2009-01-28-02-17 uploaded - docking station issues. 2009-01-31 5:03 ` mmotm 2009-01-28-02-17 uploaded - docking station issues Andrew Morton @ 2009-01-31 8:40 ` Valdis.Kletnieks 2009-01-31 8:52 ` Andrew Morton 0 siblings, 1 reply; 3+ messages in thread From: Valdis.Kletnieks @ 2009-01-31 8:40 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel, Holger Macht, linux-acpi [-- Attachment #1: Type: text/plain, Size: 1197 bytes --] On Fri, 30 Jan 2009 21:03:52 PST, Andrew Morton said: > On Thu, 29 Jan 2009 11:25:43 -0500 Valdis.Kletnieks@vt.edu wrote: > > > On Wed, 28 Jan 2009 02:19:09 PST, akpm@linux-foundation.org said: > > > The mm-of-the-moment snapshot 2009-01-28-02-17 has been uploaded to > > > http://userweb.kernel.org/~akpm/mmotm/ > > % ls -l /sys/devices/platform/dock.0/docked > > -r--r--r-- 1 root root 4096 2009-01-29 10:49 /sys/devices/platform/dock.0/docked > > % cat /sys/devices/platform/dock.0/docked > > =F1=DEcat: write error: Bad address > > > > strace of the cat shows: > > > > open("/sys/devices/platform/dock.0/docked", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 > > read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 1812586496 > > Under 2.6.29-rc2-mmotm0116, this would return either "0" or "1", not 4K > > of nulls. > Is it due to > > acpi-dock-dont-eval-_sta-on-every-show_docked-sysfs-read.patch Bingo. Reverting that patch and the sysfs-read-simplified.patch fixed it. So obviously something in there doesn't agree with the innards of my laptop - Dell Latitude D820, BIOS is A09 (current), if that helps anybody... [-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mmotm 2009-01-28-02-17 uploaded - docking station issues. 2009-01-31 8:40 ` Valdis.Kletnieks @ 2009-01-31 8:52 ` Andrew Morton 0 siblings, 0 replies; 3+ messages in thread From: Andrew Morton @ 2009-01-31 8:52 UTC (permalink / raw) To: Valdis.Kletnieks; +Cc: linux-kernel, Holger Macht, linux-acpi On Sat, 31 Jan 2009 03:40:14 -0500 Valdis.Kletnieks@vt.edu wrote: > On Fri, 30 Jan 2009 21:03:52 PST, Andrew Morton said: > > On Thu, 29 Jan 2009 11:25:43 -0500 Valdis.Kletnieks@vt.edu wrote: > > > > > On Wed, 28 Jan 2009 02:19:09 PST, akpm@linux-foundation.org said: > > > > The mm-of-the-moment snapshot 2009-01-28-02-17 has been uploaded to > > > > http://userweb.kernel.org/~akpm/mmotm/ > > > > % ls -l /sys/devices/platform/dock.0/docked > > > -r--r--r-- 1 root root 4096 2009-01-29 10:49 /sys/devices/platform/dock.0/docked > > > % cat /sys/devices/platform/dock.0/docked > > > =F1=DEcat: write error: Bad address > > > > > > strace of the cat shows: > > > > > > open("/sys/devices/platform/dock.0/docked", O_RDONLY) = 3 > > > fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 > > > read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 1812586496 > > > > Under 2.6.29-rc2-mmotm0116, this would return either "0" or "1", not 4K > > > of nulls. > > > Is it due to > > > > acpi-dock-dont-eval-_sta-on-every-show_docked-sysfs-read.patch > > Bingo. Reverting that patch and the sysfs-read-simplified.patch fixed it. > > So obviously something in there doesn't agree with the innards of my laptop - > urgh, acpi-dock-dont-eval-_sta-on-every-show_docked-sysfs-read-simplification.patch is completely wrong (return value) and the insane warning storm which kernel builds create hid that from me. I dropped it. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-31 8:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200901281019.n0SAJ9C6013727@imap1.linux-foundation.org>
[not found] ` <20830.1233246343@turing-police.cc.vt.edu>
2009-01-31 5:03 ` mmotm 2009-01-28-02-17 uploaded - docking station issues Andrew Morton
2009-01-31 8:40 ` Valdis.Kletnieks
2009-01-31 8:52 ` Andrew Morton
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox