| From: |
| Andi Kleen <ak@suse.de> |
| To: |
| discuss@x86-64.org |
| Subject: |
| [discuss] x86_64-2.6.7rc2-1 released |
| Date: |
| Sun, 30 May 2004 20:03:15 +0200 |
A new x86-64 patchkit for the linux kernel has been released.
This release has various bug fixes. Update recommended.
A few of the changes mentioned in the changelog are already in mainline.
ftp://ftp.x86-64.org/pub/linux/v2.6/x86_64-2.6.7rc2-1.bz2
5116b26f696441311ea03eaf306d6696 x86_64-2.6.7rc2-1.bz2
I will send this soon to Linus.
Some known issues:
CONFIG_IDE_TASKFILE_IO can cause disk and memory corruption.
Suspend often doesn't initialize video after wakeup
Generic problem, needs a lot of effort to fix properly. The graphic
card has to be POSTed properly, which is quite complicated.
Need to properly restore APICs after suspend.
VIA and NVIDIA boards are forced to IO-APIC off to work around ACPI bugs.
This will be a major problem once SMP boards with these chipsets
are out.
[VIA issue should be fixed now in post 2.6.6]
G400 DRM crashes machine
IOMMU corruptions with iommu=nofullflush (disabled by default) and
3ware/Qlogic devices.
Underlying bug still undebugged.
Update: BenH had an idea about using dummy scratch pages instead of
invalid entries for unmapped entries. This would prevent bus aborts
for prefetches from the PCI bridge. I tried that, but it also didn't
help for 3ware.
Scheduler does not work well with NUMA (testcase multithreaded STREAM)
It does not distribute threads quickly enough to all CPUs,
which leads to memory getting allocated on the wrong nodes.
The latest scheduler seems to do reasonable now, unfortunately the
new NUMA scheduler in -mm* does much worse.
Some motherboard/cpu combinations do not reboot automatically:
IPSec netlink setup code is not 32bit emulation clean
iptables is not 32bit emulation clean
DeviceMapper is not 32bit emulation clean
gettimeofday gets non monontonous when ntpd corrects drift
i386 has some code that attempts to fix that, but it didn't correctly
work here so I reverted it completely for now.
Newer valgrind in emulation is still mostly broken
When the BIOS doesn't assign PCI regions correctly we seem to assign
addresses >32bit. Need a reliable way to find memory holes.
/dev/mem checks incorrectly for holes.
NMI watchdog IO-APIC mode doesn't seem to work on AMD8111
(local APIC works though and is on by default)
NMI local APIC mode uses a performance counter that stops ticking when CPU
executes HLT. This gives varying NMI watchdog frequencies depending on CPU
load. Should be probably fixed by fixing IO-APIC mode and making that
the default.
[Update: IO-APIC mode works just fine on Intel chipsets, must be some
AMD specific quirk]
X server messes directly with the PCI config registers and can race with
the kernel and can cause data corruption. This needs to be fixed in the X
server by using proper PCI access methods.
Time runs too fast on at least one AMD machine (broken hardware?)
When setting time backwards xtime and vxtime seem to get out of sync,
with large negative timestamps in xtime (as seen in files)
NMI watchdog and other NMI handling doesn't work when oprofile is active.
Need a way to distingush various NMI sources.
NMI watchdog doesn't check if it really expired
NMI handler reads useless legacy registers.
NMI handler can deadlock in printk
Reports that dual Tyan S2885 and S2880 can lock up when multiple IDE channels
are stressed in parallel. "noapic" or "ideFOO=serialize" seems to work
around it. Andre Hedrick thinks it's a generic bug/race in the IDE code.
MSI is not supported because the generic code for that is currently too i386
centric.
/proc/kcore is missing fixes from 2.4 to support negative addresses.
VIA builtin PATA doesn't work with IOMMU. Machines locks up on IDE probing.
[workaround for this enabled now - they use swiotlb]
Windows does a better job at keeping the CPU fans quiet on some machines.
Find out how it does that.
Should add dwarf2 annotation to vsyscall signal trampolines like i386
and pass it using the ELF auxiliary vector.
ChangeLog:
- Add ptep_set_access_flags from i386
- Merge to 2.6.7rc2
- Change memory text mapping to 10MB from 40MB to make alias window smaller
- Back out page_attr_change again since it causes memory corruptions
- Add .bss.page_aligned and align interrupt/exception stacks (idea from Matt Mackall)
- Protect sysenter MSR setup against missing registers.
- Set mce tolerance level to 1 (panic instead of deadlock)
- Fix cross 4GB bug in find_first_bit (Michael Matz)
- Add missing memory clobbers in bitops.h (Suresh B. Siddha)
- Check kernel size at boot up
- Set boot cpu online at boot to fix early printk
- Make pageattr revert for kernel mapping work (pointed out by Jakub Jelinek)
- Fix EFER bit definitions (Dave Jones)
- Revert broken alternative() nops change
- Really add NUMA API syscalls
- Fix comments in 32bit syscall table.
- Quieten all 32bit syscalls that are unimplemented in 32bit.
- Add 32bit emulation for NUMA API syscalls
- Various MCE fixes suggested by Eric Morton, David Boles et.al.
More to come.
- Quieten some printks
- Fix cpu online check in msr driver
- Remove 2GB limit in 64bit sendfile
- Lower polling interval for machine checks to 5 minutes to avoid
overrunning the registers.
- Fix panics at boot with empty node 0
- Handle off line nodes better
- Make memcpy_{from,to}io more compatible with i386 (Roland Dreier)