| From | Subject | Date |
|---|---|---|
| Rafael J. Wysocki | [PATCH 0/4] PM: Do not destroy/create devices while suspende...
Hi,
Some device drivers register CPU hotplug notifiers and use them to destroy
device objects when removing the corresponding CPUs and to create these objects
when adding the CPUs back.
Unfortunately, this is not the right thing to do during suspend/hibernation,
since in that cases the CPU hotplug notifiers are called after suspending
devices and before resuming them, so the operations in question are carried
out on the objects representing suspended devices which shouldn't be
unregistered behin...
| Jan 1, 7:32 pm 2008 |
| Rafael J. Wysocki | [PATCH 2/4] PM: Do not destroy/create devices while suspende...
From: Rafael J. Wysocki <rjw@sisk.pl>
The MSR driver should not attempt to destroy/create a device while
suspended, unless this device corresponds to a nonboot CPU that
failed to go online during a resume, in which case the PM core should
be asked to remove it.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
arch/x86/kernel/msr.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: linux-2.6/arch/x86/kernel/msr.c
==============================================...
| Jan 1, 7:40 pm 2008 |
| Rafael J. Wysocki | [PATCH 1/4] PM: Introduce destroy_suspended_device()
From: Rafael J. Wysocki <rjw@sisk.pl>
It sometimes is necessary to destroy a device object during a suspend or
hibernation, but the PM core is supposed to control all device objects in that
cases. For this reason, it is necessary to introduce a mechanism allowing one
to ask the PM core to remove a device object corresponding to a suspended
device on one's behalf.
Define function destroy_suspended_device() that will schedule the removal of
a device object corresponding to a suspended device...
| Jan 1, 7:34 pm 2008 |
| Rafael J. Wysocki | [PATCH 4/4] PM: Do not destroy/create devices while suspende...
From: Rafael J. Wysocki <rjw@sisk.pl>
The cpuid driver should not attempt to destroy/create a device while
suspended, unless this device corresponds to a nonboot CPU that
failed to go online during a resume, in which case the PM core should
be asked to remove it.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
arch/x86/kernel/cpuid.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: linux-2.6/arch/x86/kernel/cpuid.c
========================================...
| Jan 1, 7:42 pm 2008 |
| Rafael J. Wysocki | [PATCH 3/4] PM: Do not destroy/create devices while suspende...
From: Rafael J. Wysocki <rjw@sisk.pl>
The x86-64 MCE driver should not attempt to destroy/create a suspended
device, unless it corresponds to a nonboot CPU that failed to go online during
a resume.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
arch/x86/kernel/cpu/mcheck/mce_64.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: linux-2.6/arch/x86/kernel/cpu/mcheck/mce_64.c
===================================================================
--- linux-2.6.orig...
| Jan 1, 7:40 pm 2008 |
| Nigel Cunningham | What's in store for 2008 for TuxOnIce?
Hi all.
With the start of a new year, I suppose it's a good time to think about
what I'd like to do with TuxOnIce this year and see what feedback I get.
First up, I'm thinking about closing the mailing lists and asking people
to use LKML instead for reporting issues and so on. I'm thinking about
this because it will help with allowing people who work on mainline to
see how stable (or otherwise!) TuxOnIce is now. It should also help when
(as often happens) bug reports aren't actually issues with t...
| Jan 1, 6:36 pm 2008 |
| Christian Hesse | Reboot problem (was: Re: [Suspend2-devel] What's in store fo...
Well, I think I still have a bug, though it is possibly a mainline problem and
it's not a showstopper. After a suspend/resume cycle the reboot does not
work. The system hangs with "Rebooting system" (or similar). After that you
have to hard reset the system, which is not really a problem as filesystems
have been unmounted before. Reboot without a suspend cycle before and halt
with and without suspend cycle work without problems.
I'm using toi 3.0-rc3 with kernel 2.6.24-rc6 and beside the proble...
| Jan 1, 7:30 pm 2008 |
| Nigel Cunningham | Re: [Suspend2-devel] Reboot problem
Hi Christian.
Just to clarify, do you mean rebooting after writing an image, or
shutting down and rebooting? It could be that there's some change to the
And to you too!
Nigel
--
| Jan 1, 7:58 pm 2008 |
| Rafael J. Wysocki | Re: What's in store for 2008 for TuxOnIce?
I would also like the TuxOnIce issues related to drivers, ACPI, etc. to go to
one of the kernel-related lists, but I think linux-pm may be better for that
Have you finished the support for freezing filesystems before freezing tasks
that we talked about some time ago?
Greetings,
Rafael
--
| Jan 1, 7:21 pm 2008 |
| Nigel Cunningham | Freezing filesystems (Was Re: What's in store for 2008 for T...
Hi.
I guess that makes sense. I guess people can always be referred to LKML
Hmm. I've had too many things going through my little brain since then.
What I currently have is support for freezing fuse filesystems
separately. It looks like:
int freeze_processes(void)
{
int error;
printk("Stopping fuse filesystems.\n");
freeze_filesystems(FS_FREEZER_FUSE);
freezer_state = FREEZER_FILESYSTEMS_FROZEN;
printk("Freezing user space processes ... ");
...
| Jan 1, 7:54 pm 2008 |
| Pavel Machek | Kohjinsha sleep problems
Hi!
On kohjinsha, wakeup code does not seem to be reached at all. I tried
looking around FACS, but it seems very empty:
(none):/data/l/kohji# acpidump -t FACS
FACS @ 0x1f7bffc0
0000: 46 41 43 53 40 00 00 00 00 00 00 00 00 00 00 00
FACS@...........
0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
................
(none):/data/l/kohji# ia...
| Jan 1, 7:19 pm 2008 |
| Mikko Vinni | Re: IDE/ACPI related hibernation regression: Second attempt ...
... and there the information is. Let me know, if I need to dig some more information
from this old beast.
(Me goes to sleep wondering how to make gmail not wrap lines unnecessarily
or how to make yahoo not break threading. Oh well, I guess this is already
discussed somewhere and I shall just google for it.)
Mikko
--
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! S...
| Jan 1, 6:16 pm 2008 |
| Folkert van Heusden | G965 & on-board serial port
Hi,
I'm trying to figure out a problem that I have with 2 different
motherboards. Both have the Intel G965 chipset, an Intel DG965WH and a
Gigabyte 965G-DS3. What happens is, that datacommunication, either
through normal receiving bytes and via fiddling with signalling lines
(for a dcf-77 radio clock) don't work. To be honest I used a vendor
kernel, a Debian 2.6.22-3-amd64 image.
Is this a known problem?
Folkert van Heusden
--
MultiTail cok yonlu kullanimli bir program, loglari okumak, ve...
| Jan 1, 5:17 pm 2008 |
| Julia Lawall | [PATCH 2/2] drivers/media/common: Add missing video_device_r...
From: Julia Lawall <julia@diku.dk>
Video_device_alloc returns the result of a kzalloc. In this case, the
value is stored in a local variable which is not copied elsewhere before
the point of the error return (video_register_device does not save its
first argument anywhere if it returns a negative value). Thus, a
video_device_release it needed before the error return.
The problem was found using the following semantic match.
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
...
| Jan 1, 5:09 pm 2008 |
| Julia Lawall | [PATCH 1/2] drivers/media/radio: Use video_device_release ra...
From: Julia Lawall <julia@diku.dk>
The file drivers/media/video/videodev.c defines both video_device_alloc and
video_device_release. These are essentially just kzmalloc and kfree,
respectively, but it seems better to use video_device_release, as done in
the other media files, rather than kfree, in case the implementation some
day changes.
The problem was found using the following semantic match.
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
type T,T1,T2;
identifier E;
...
| Jan 1, 5:08 pm 2008 |
| Julia Lawall | [PATCH] net/x25: Add missing x25_neigh_put
From: Julia Lawall <julia@diku.dk>
The function x25_get_neigh increments a reference count. At the point of
the second goto out, the result of calling x25_get_neigh is only stored in
a local variable, and thus no one outside the function will be able to
decrease the reference count. Thus, x25_neigh_put should be called before
the return in this case.
The problem was found using the following semantic match.
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
type T,T1,T2;
...
| Jan 1, 5:07 pm 2008 |
| Julia Lawall | [PATCH] drivers/pcmcia: Add missing iounmap
From: Julia Lawall <julia@diku.dk>
of_iomap calls ioremap, and so should be matched with an iounmap. At the
two error returns, the result of calling of_iomap is only stored in a local
variable, so these error paths need to call iounmap. Furthermore, this
function ultimately stores the result of of_iomap in an array that is local
to the file. These values should be iounmapped at some point. I have
added a corresponding call to iounmap at the end of the function m8xx_remove.
The probl...
| Jan 1, 5:05 pm 2008 |
| Julia Lawall | [PATCH 2/3] arch/powerpc/sysdev: Add missing of_node_put
From: Julia Lawall <julia@diku.dk>
The functions of_find_compatible_node and of_find_node_by_type both call
of_node_get on their result. So any error handling code thereafter should
call of_node_put(np). This is taken care of in the case where there is a goto
out, but not when there is a direct return.
The function irq_alloc_host puts np into the returned structure, which is
stored in the global variable mpc8xx_pic_host, so the reference count
should be set for the lifetime of that variab...
| Jan 1, 5:04 pm 2008 |
| Julia Lawall | [PATCH 3/3] arch/powerpc/platforms/82xx: Add missing of_node...
From: Julia Lawall <julia@diku.dk>
Of_get_parent and of_find_compatible_node do a of_node_get, and thus a
corresponding of_code_put is needed in both the error case and the normal
return case.
The problem was found using the following semantic match.
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
type T,T1,T2;
identifier E;
statement S;
expression x1,x2,x3;
int ret;
@@
T E;
...
* E = \(of_get_parent\|of_find_compatible_node\)(...);
if (E == NULL) S
... wh...
| Jan 1, 5:03 pm 2008 |
| Julia Lawall | [PATCH 1/3] arch/powerpc/platforms/pseries: Add missing of_n...
From: Julia Lawall <julia@diku.dk>
Of_get_parent and of_find_compatible_node do an of_node_get, and thus a
corresponding of_code_put is needed in the error case.
The problem was found using the following semantic match.
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
type T,T1,T2;
identifier E;
statement S;
expression x1,x2,x3;
int ret;
@@
T E;
...
* E = \(of_get_parent\|of_find_compatible_node\)(...);
if (E == NULL) S
... when != of_node_put(...,(T1)E,...)...
| Jan 1, 5:02 pm 2008 |
| Rafael J. Wysocki | 2.6.24-rc6-git7: Reported regressions from 2.6.23
[Empty message]
| Jan 1, 5:02 pm 2008 |
| Linus Torvalds | Re: 2.6.24-rc6-git7: Reported regressions from 2.6.23
That strace shows that trying to open /dev/null fails with ENXIO:
[pid 6050] open("/dev/null", O_RDONLY <unfinished ...>
[pid 6050] <... open resumed> ) = -1 ENXIO (No such device or address)
and everything goes downhill from there.
It would be worth looking at your /dev/null to see what kind of (broken)
device node it is, and get a clue about *why* it is broken.
Hmm. I assume the "-git6" and "-git7" are 2.6.24-rc4-gitX, ie commits
- 2.6.24-rc5-git6: 3e3b391...
| Jan 1, 6:26 pm 2008 |
| Abdel | linux 0.01 released
Hello everybody and happy new year,
I have ported linux 0.01 to gcc-4.x, and bach-3.2 (and few others
programs) can run on it.
so you will find binary Image of linux 0.01 floppy and qemu hdd here:
http://draconux.free.fr/download/os-dev/linux0.01/Image/
nb : also work with bochs, and I have not tested it (yet) on real computer.
----------------
kernel source code :
http://draconux.free.fr/download/os-dev/linux0.01/linux-0.01-rm-3.x/linux-0.01-rm-3.3....
to see change from original lin...
| Jan 1, 4:56 pm 2008 |
| devzero | Re: [BUG] crash - module l440gx buggy ? interfere
same/similar behaviour with
l440gx and container
l440gx and acpiphp
after load of l440gx, container and acpiphp modules do also hang my system on load/unload.
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220
--
| Jan 1, 4:46 pm 2008 |
| Timo Jantunen | ALSA HDA problem with 64-bit kernels
Heip!
I recently moved to 64-bit kernel, but mixed sounds (ie. mpegs played with
a media player) don't work with optical S/PDIF connection. AC3/DTS
passthrough still works, and I can hear the mixed sounds on analog
connector. And yes, I have unmuted the IEC958 mixer setting.
Tested kernels:
ALSA 1.0.14:
2.6.23.1 32bit: works
2.6.23.1 64bit: broken
2.6.23.12 64bit: broken
2.6.23.12 64bit kernel, 32bit userspace: broken
ALSA 1.0.15:
2.6.24-rc6 64bit: broken (and half of the mixer sett...
| Jan 1, 4:21 pm 2008 |
| Berthold Cogel | Oops in evdev_disconnect for kernel 2.6.23.12
Jan 1 17:34:39 wonderland kernel: usb 2-2: USB disconnect, address 3
Jan 1 17:34:39 wonderland kernel: usb 2-2.5: USB disconnect, address 4
Jan 1 17:34:39 wonderland kernel: drivers/input/tablet/wacom_sys.c:
wacom_sys_irq - usb_submit_urb failed with result -19
Jan 1 17:34:39 wonderland kernel: usb 2-2.6: USB disconnect, address 5
Jan 1 17:34:39 wonderland kernel: BUG: unable to handle kernel paging
request at virtual address 00100100
Jan 1 17:34:39 wonderland kernel: printing eip:
Jan 1 1...
| Jan 1, 3:26 pm 2008 |
| Nigel Cunningham | Re: Oops in evdev_disconnect for kernel 2.6.23.12
Hi Berthold.
If you can reproduce it, would you please send the information to the
USB maintainers? I don't modify USB drivers, so it will be an issue in
vanilla. Even if you can't reproduce it immediately, they may well like
to see this report.
Regards,
Nigel
--
| Jan 1, 5:17 pm 2008 |
| Berthold Cogel | Re: Oops in evdev_disconnect for kernel 2.6.23.12
Additional information:
lsusb
Bus 004 Device 003: ID 046d:c404 Logitech, Inc. TrackMan Wheel
Bus 004 Device 002: ID 045e:00db Microsoft Corp. Natural Ergonomic
Keyboard 4000 V1.0
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 004: ID 056a:0065 Wacom Co., Ltd
Bus 002 Device 003: ID 050d:0237 Belkin Components
Bus 002 Device 002: ID 07cc:0340 Carry Computer Eng., Co., Ltd
Bus 002 Device 001: ID...
| Jan 1, 4:35 pm 2008 |
| devzero | [BUG] crash - modules l440gx and parport_pc interfere
there seems some weird interference between l440gx and parport_pc modules
i can reproduceable crash my box by either:
modprobe parport_pc;modprobe l440gx;rmmod parport_pc
or
modprobe l440gx; modprobe parport_pc;rmmod parport_pc
this happens on 2.6.24rc6 and also older kernel (2.6.22)
because i haven`t appropriate hardware.
don`t know if this is a bug in parport_pc or l440gx but maybe its worth reporting.
regards
roland
_____________________________________________________________...
| Jan 1, 3:57 pm 2008 |
| Mikko Vinni | Re: IDE/ACPI related hibernation regression: Second attempt ...
Hi again,
I compiled the kernel (unmodified e697789d64..., I promise) again with DEBUGGING set to 1 in drivers/ide/ide-acpi.c.
Here are the relevant (I hope) parts of dmesg output after 1 suspend/resume:
[ 0.000000] Linux version 2.6.24-rc6-debugide (mikko@ubuntu) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 Tue Jan 1 19:02:07 EET 2008
...
[ 27.472882] alim15x3: ATI Radeon IGP Northbridge is not yet fully tested.
[ 27.472946] ALI15X3: IDE controller (0x10b9:0x5229 r...
| Jan 1, 3:05 pm 2008 |
| Rafael J. Wysocki | Re: IDE/ACPI related hibernation regression: Second attempt ...
Hi,
Please attach the information below to the Bugzilla entry at:
http://bugzilla.kernel.org/show_bug.cgi?id=9673
Thanks,
--
"Premature optimization is the root of all evil." - Donald Knuth
--
| Jan 1, 4:09 pm 2008 |
| Robert Hancock | Re: IDE/ACPI related hibernation regression: Second attempt ...
They're using drivers/ide not libata. I don't think there have been any
ACPI changes very recently in that code.
These lines seem suspicious that the drivers/ide code is doing something
funny to the ACPI layer:
ACPI: Cannot set device to a higher-powered state than parent
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
--
| Jan 1, 3:01 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 2/3] ide: delete filenames from comments
Delete filenames from comments.
While at it:
* Delete versions from comments in ide-dma.c, ide-iops.c, ide-probe.c,
ide-proc.c, ide-taskfile.c, and setup-pci.c (all these files are a part
of IDE core module), and also ide-timing.h.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/arm/bast-ide.c | 3 +--
drivers/ide/arm/icside.c | 2 --
drivers/ide/arm/rapide.c | 2 --
drivers/ide/cris/ide-cris.c | 3 +--
drivers/ide/h8...
| Jan 1, 1:41 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 3/3] ide: update/add my Copyrights
The last years stuff and a trip down memory lane...
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-cd.c | 8 ++++----
drivers/ide/ide-disk.c | 9 +++++----
drivers/ide/ide-dma.c | 7 +++----
drivers/ide/ide-floppy.c | 5 +++--
drivers/ide/ide-probe.c | 3 ++-
drivers/ide/ide-tape.c | 3 ++-
drivers/ide/ide-taskfile.c | 8 ++++----
drivers/ide/ide.c | 3 ++-
drivers/ide/setup-pci.c | 5 +++-...
| Jan 1, 1:42 pm 2008 |
| Bartlomiej Zolnierki... | [PATCH 1/3] ide: use MODULE_VERSION()
* Replace driver versions in comments by DRV_VERSION define.
* Add MODULE_VERSION(DRV_VERSION) to drivers defining DRV_VERSION.
While at it:
* Replace local version defines by DRV_VERSION.
* Bump driver version in ide-floppy to match generic format
("0.99.newide" -> "1.00").
* Change printk() level in ide-floppy banner message to KERN_INFO.
* Bump driver version in IDE core module to match generic format
("Id: ide.c 7.00a2 20020906" -> "7.00").
* Remove unused REVISION def...
| Jan 1, 1:40 pm 2008 |
| Adrian Bunk | Re: [PATCH 1/3] ide: use MODULE_VERSION()
Could you limit this to actively maintained version numbers and also
remove the others from .version, printk's,...?
I do not see any value in printing a version number from 1996 (sic),
and the driver has for sure changed without any update of the
version number.
For actively maintained version numbers (and even more when
distributions backport more recent versions of a driver) printing a
(maintained) driver version number makes sense, but otherwise the kernel
version contains more infor...
| Jan 1, 1:53 pm 2008 |
| Bartlomiej Zolnierki... | Re: [PATCH 1/3] ide: use MODULE_VERSION()
Good point.
On the second thought: maybe we will be better off with limiting
MODULE_VERSION() to the device drivers and the IDE core module for now,
and just removing all these private version numbers from host drivers
(with one or two exceptions they are not printed or exported currently,
moreover exceptions are the cases like stale version numbers from 199x)?
Bart
--
| Jan 1, 2:33 pm 2008 |
| Ingo Molnar | [git pull] x86 fixes
[Empty message]
| Jan 1, 1:21 pm 2008 |
| Richard Purdie | [GIT PULL] LED bugfixes
Linus,
Could you please pull from:
git://git.o-hand.com/linux-rpurdie-leds for-linus
for a couple of LED oops fixes for 2.6.24.
Thanks, Richard
drivers/leds/led-class.c | 8 ++++----
drivers/leds/led-core.c | 4 ++--
drivers/leds/led-triggers.c | 8 ++++----
drivers/leds/leds-locomo.c | 2 +-
drivers/leds/leds.h | 3 ++-
5 files changed, 13 insertions(+), 12 deletions(-)
Richard Purdie (2):
leds: Fix leds_list_lock locking issues
leds: Fix...
| Jan 1, 1:15 pm 2008 |
| Eric Dumazet | [PATCH] X86 : Introduce DEFINE_PER_CPU_PAGE_ALIGNED() macro ...
Hi Ingo
Here is a patch against linux-2.6-x86 git
Thank you
[PATCH] X86 : Introduce DEFINE_PER_CPU_PAGE_ALIGNED() macro for x86 arch to
shrink percpu section
While examining holes in percpu section I found this :
c0659008 D per_cpu__cpu_number
c065900c D per_cpu__irq_regs
<BIG HOLE of about 4000 bytes>
c065a000 D per_cpu__gdt_page
c065b000 d per_cpu__next_check
This is because gdt_page is a percpu variable, defined with
a page alignement, and linker is doing its job.
I intr...
| Jan 1, 12:55 pm 2008 |
| Robin Getz | Re: improve remapping of vmalloc regions
Nick:
http://lkml.org/lkml/2006/4/20/196
It doesn't seem like those made it into mainline - was there a reason why? (I
looked around and didn't see anything).
Thanks
-Robin
--
| Jan 1, 12:16 pm 2008 |
| Boaz Harrosh | WARNING: do not add new typedefs - is that for real?
I have this code:
<c_code>
/*
* osd-r10 4.12.5 Data-In and Data-Out buffer offsets
* byte offset = mantissa * (2^(exponent+8))
*/
typedef __be32 osd_cdb_offset;
osd_cdb_offset __osd_encode_offset(u64 offset, unsigned *padding,
int min_shift, int max_shift);
struct osd_attributes_list_mode {
__be32 get_attr_desc_bytes;
osd_cdb_offset get_attr_desc_offset;
__be32 get_attr_alloc_length;
osd_cdb_offset get_attr_offset;
__be32 set_attr_bytes;
osd_cdb_offset set_attr_o...
| Jan 1, 12:15 pm 2008 |
| Mikko Vinni | Re: IDE/ACPI related hibernation regression: Second attempt ...
Hi,
this doesn't look like the same problem, although I'm in no way an expert.
It is -rc6 (I had to change -rc6 to -rcx in Makefile to support the fallacy of not
having to compile everything from scratch, but had to make mrproper to get
This one?
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00: b9 10 29 52 05 00 90 02 c4 b0 01 01 00 20 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 80 00 00 00 00 00 00 00 00 00 00 3c 10 24 00
30: 00 00 00 00 60 00 00 00 00...
| Jan 1, 12:11 pm 2008 |
| David P. Reed | Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay ove...
[attached the DSDT.dsl file fyi]
Alan, thank you for the pointers. I have been doing variations on this
testing theme for a while - I get intrigued by a good debugging
challenge, and after all it's my machine...
Two relevant new data points, and then some more suggestions:
1. It appears to be a real port. SMI traps are not happening in the
normal outb to 80. Hundreds of them execute perfectly with the expected
instruction counts. If I can trace the particular event that creates
the hard fr...
| Jan 1, 11:59 am 2008 |
| Pavel Machek | Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay ove...
There's nothing easier than always writing 0 to the 0x80 to check if
it hangs in such case...?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Jan 1, 1:31 pm 2008 |
| David P. Reed | Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay ove...
I did try that. Machine in question does hang when you write 0 to 0x80
in a loop a few thousand times. This particular suspicion was that the
problem was caused by the following sort of thing (it's a multi-cpu
system...)
First, some ACPI code writes "meaningful value" X to port 80 that is
sort of a "parameter" to whatever follows. Just because the DSDT
disassembly *calls* it the DBUG port doesn't mean it is *only* used for
debugging. We (Linux) use it for timing delays, after all...
...
| Jan 1, 1:33 pm 2008 |
| Alan Cox | Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay ove...
That does imply some muppet 'extended' the debug interface for power
management on your laptop. Also pretty much proves that for such systems
we do have to move from port 0x80 to another delay approach.
Ingo - the fact that so many ISA bus devices need _p to mean "ISA bus
clocks" says to me we should keep the _p port 0x80 using variant for old
systems/device combinations (eg ISA ethernet cards) which won't show up
in any problem system (we know this from 15 odd years of testing), but
stop using i...
| Jan 1, 12:15 pm 2008 |
| H. Peter Anvin | Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay ove...
I have mentioned this before... I think writing zero to port 0xf0 would
be an acceptable pause interface (to the extent where we need an I/O
port) except on 386 with 387 present; on those systems we can fall back
to 0x80.
-hpa
--
| Jan 1, 5:15 pm 2008 |
| Rene Herman | Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay ove...
[Empty message]
| Jan 1, 5:35 pm 2008 |
| H. Peter Anvin | Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay ove...
Yes, we do. It's exactly this side effect which makes this safer than
either 0x80 or 0xED -- it's a port that *guaranteed* can't be reclaimed
for other purposes without breaking MS-DOS compatibility.
It's specifically a side effect *we don't care about*, except in the
by-now-somewhat-exotic case of 386+387 (where we indeed can't use it
once user code has touched the FPU -- but we can fall back to 0x80 on
those, a very small number of systems.) 486+ doesn't use this interface
under Linux, ...
| Jan 1, 5:44 pm 2008 |
| previous day | today | next day |
|---|---|---|
| November 30, 2007 | January 1, 2008 | January 2, 2008 |
| Andy Whitcroft | clam |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| David Miller | Re: Slow DOWN, please!!! |
git: | |
| Arjan van de Ven | Re: [GIT]: Networking |
| Lennert Buytenhek | [PATCH 08/39] mv643xx_eth: nuke port status register bit defines |
| Jarek Poplawski | Re: HTB accuracy for high speed |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
