2004-01-23 09:38:26

by Andrew Morton

[permalink] [raw]
Subject: 2.6.2-rc1-mm2


ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc1/2.6.2-rc1-mm2/


- There is a new debug check in here which drops a stack trace when a piece
of code calls one of the sleep_on() functions without lock_kernel() held.
This is almost certainly a bug. Please try to identify (from the trace)
which subsystem is the culprit and copy its maintainer when reporting such
traces.

After ten such warnings the diagnostic shuts itself up.

- A big SiS framebuffer driver update. Please test, and include Thomas
Winischhofer <[email protected]> in any reports.

- Included the latest ACPI test tree. Please copy
[email protected] on any ACPI-related reports.

- Another MD update.


Changes since 2.6.2-rc1-mm1:


linus.patch

Latest Linus tree

-dummy-init-fix.patch
-raid6-3.patch
-raid6-doc-fix.patch
-ppc64-missing-sched_balance_exec.patch
-ppc64-include-i2c-in-config.patch
-pcmcia-update.patch

Merged

netdev.patch

Latest netdev tree

+speedo-warning-fix.patch

Fix a warning in it.

+raid6-ia64-fix.patch

RAID6 fix

+ppc32-signal-context-fixes.patch
+ppc32-MBX-mac-address-fix.patch
+ppc32-watchdog-defines-fixes.patch

ppc32 fix

+big-pmac-update.patch

Rolled-up Power Mac update

-acpi-20031203.patch
+acpi.patch

Latest ACPI test tree

+ppc64-use-preferred-console.patch

PPC64 console selection. Undocumented in kernel-parameters.txt :(

+update-post-halloween-url.patch
+restore-24-mtrr-feature.patch
+pci-probing-typo.patch
+aty128fb-logic-error.patch
+remove-unused-CONFIG-symbol.patch
+decruft-ATM-HE-driver.patch
+radeonfb-logic-error.patch
+xfs-logic-error.patch
+OOSTORE-needs-MTRR.patch

2.4 syncups from Dave Jones.

+use-pmtmr-for-delay_pmtmr.patch

Fix a boot-time crash which occurs when testing the APIC timer when using
the ACPI PM timer. This causes bogomips to be reported at 50% of what it
used to be.

-sysfs-class-06-raw.patch

Dropped - it had problems and the raw driver isn't really an area for new
development.

+sched-arch_init_sched_domains-fix.patch
+sched-find_busiest_group-clarification.patch
+sched-remove-noisy-printks.patch

CPU scheduler cleanups and fixes

-sis-DRM-floating-point-removal.patch

This was wrong.

+fix-blockdev-getro.patch

fix `blockdev --getro'

+RAW_GETBIND-compat_ioctl-fix.patch

Fix RAW_GETBIND 32->64 bit wrapper.

+simplify-flow_c-cpu-handling.patch

Simplify cpu handling in net/core/flow.c

+flow-cpucontrol-fix.patch

Fix it for uniprocessor builds

+remove-kstat-cpu-notifiers.patch

Remove unused CPU notifiers.

+support-wider-consoles.patch

Support consoles up to 255 columns

+remove-valid_addr_bitmap.patch

Remove unused valid_addr_bitmap

+osst-warning-fix.patch

Fix a warning in the OSST driver

+request_firmware-del_timer-fix.patch

Use del_timer_sync()

+sisfb-update.patch

Updated SiS fb driver

+init-cpu_vm_mask-in-init_mm.patch

Initialise init_mm.cpu_vm_mask

+raw-is-obsolete.patch

Mark the raw driver as obsolete, say rude things about it in Kconfig

+sleep_on-needs_lock_kernel.patch

Emit diagnostics when the sleep_on() functions are used without
lock_kernel()

+dvb-mailing-list.patch

MAINTAINERS update

+ncpfs-stack-usage-fix.patch

Reduced stack usage in the ncpfs driver.

+remove_suid-fix.patch

Fix performance problems with remove_suid()

+md-01-shutdown-hang-fix.patch
+md-02-preferred_minor-fix.patch
+md-03-debugging-output-cleanup.patch
+md-04-personality-stats-collection.patch
+md-05-device-in-error-printing-fix.patch
+md-06-allow-partitioning.patch
+md-07-md-appear-in-proc-partitions.patch

MD update

+remove-SIIG-PCI-IDs-from-parport_pc.patch

Remove defunct PCI IDs

+i830-agp-pm-fix.patch

Fixup for the Intel i830 AGP driver





All 299 patches:

linus.patch

mm.patch
add -mmN to EXTRAVERSION

alsa-101.patch
ALSA 1.0.1

alsa-cmipci-joystick-fix.patch

netdev.patch

speedo-warning-fix.patch
eepro100.c warning fix

kgdb-ga.patch
kgdb stub for ia32 (George Anzinger's one)
kgdbL warning fix
kgdb buffer overflow fix
kgdbL warning fix
kgdb: CONFIG_DEBUG_INFO fix
x86_64 fixes

kgdb-doc-fix.patch
correct kgdb.txt Documentation link (against 2.6.1-rc1-mm2)

kgdboe-netpoll.patch
kgdb-over-ethernet via netpoll

kgdboe-non-ia32-build-fix.patch

kgdb-x86_64-support.patch
kgdb for x86_64 2.6 kernels

kgdb-x86_64-build-fix.patch
fix x86_64 build with CONFIG_KGDB=n

kgdb-warning-fixes.patch
kgdb warning fixes

lsi-megaraid-pci-id.patch
LSI Logic MegaRAID3 PCI ID

raid6-ia64-fix.patch
RAID-6 fix for IA-64

ppc32-signal-context-fixes.patch
ppc32: Fixes to the signal context code

ppc32-MBX-mac-address-fix.patch
ppc32: MBX MAC address fix

ppc32-watchdog-defines-fixes.patch
ppc32: watchdog definition fixes

big-pmac-update.patch
big PMAC update

must-fix.patch
must fix lists update
must fix list update
mustfix update

must-fix-update-5.patch
must-fix update

psmouse-drop-timed-out-bytes.patch
psmouse: log and discard timed out bytes

acpi.patch

acpi-20031203-fix.patch

acpi-frees-irq0.patch
acpi frees free irq0

ppc64-include_guards.patch
ppc64: add missing include guards, from Nathan Lynch

ppc64-lparcfg_write.patch
ppc64: lparcfg_write

ppc64-no_device_tree.patch
ppc64: fixes for compile with CONFIG_PROC_DEVICETREE=n, from Nathan Lynch

ppc64-ppc32_timer_create.patch
ppc64: missing set_fs(KERNEL_DS) in ppc32_timer_create, from Marcus Meissner

ppc64-defconfig_update.patch
ppc64: defconfig update

ppc64-use-preferred-console.patch
ppc64: Use preferred_console to select a reasonable default console

ppc64-bar-0-fix.patch
Allow PCI BARs that start at 0

ppc64-reloc_hide.patch

update-post-halloween-url.patch
Update post-halloween doc url.

restore-24-mtrr-feature.patch
Restore 2.4 MTRR feature.

pci-probing-typo.patch
PCI probing typo?

aty128fb-logic-error.patch
logic error in aty128fb

remove-unused-CONFIG-symbol.patch
Remove unused CONFIG symbol.

decruft-ATM-HE-driver.patch
Little cleanups to ATM HE driver.

radeonfb-logic-error.patch
logic error in radeonfb.

xfs-logic-error.patch
logic error in XFS

OOSTORE-needs-MTRR.patch
OOSTORE needs MTRR.

nuke-noisy-printks.patch
quiet down SMP boot messages

invalidate_inodes-speedup.patch
invalidate_inodes speedup
more invalidate_inodes speedup fixes

cfq-4.patch
CFQ io scheduler
CFQ fixes

config_spinline.patch
uninline spinlocks for profiling accuracy.

ramdisk-cleanup.patch

intel8x0-cleanup.patch
intel8x0 cleanups

pdflush-diag.patch

zap_page_range-debug.patch
zap_page_range() debug

get_user_pages-handle-VM_IO.patch

support-zillions-of-scsi-disks.patch
support many SCSI disks

pci_set_power_state-might-sleep.patch

CONFIG_STANDALONE-default-to-n.patch
Make CONFIG_STANDALONE default to N

extra-buffer-diags.patch

CONFIG_SYSFS.patch
From: Pat Mochel <[email protected]>
Subject: [PATCH] Add CONFIG_SYSFS

CONFIG_SYSFS-boot-from-disk-fix.patch

slab-leak-detector.patch
slab leak detector

loop-remove-blkdev-special-case.patch

loop-highmem.patch
remove useless highmem bounce from loop/cryptoloop

loop-bio-handling-fix.patch
loop: BIO handling fix

loop-init-fix.patch
loop.c doesn't fail init gracefully

acpi-pm-timer-3.patch
ACPI PM timer version 3

acpi-pm-timer-kill-printks.patch

use-pmtmr-for-delay_pmtmr.patch
Subject: Re: pester [email protected]

scale-nr_requests.patch
scale nr_requests with TCQ depth

truncate_inode_pages-check.patch

local_bh_enable-warning-fix.patch

pnp-fix-2.patch
PnP Fixes #2

pnp-fix-3.patch
PnP Fixes #3

alsa-pnp-fix.patch
ALSA pnp fix

sysfs-class-10-vc.patch
From: Greg KH <[email protected]>
Subject: [PATCH] add sysfs class support for vc devices [10/10]

sched-find_busiest_node-resolution-fix.patch
sched: improved resolution in find_busiest_node

sched-domains.patch
sched: scheduler domain support

sched-clock-fixes.patch
fix sched_clock()

sched-build-fix.patch
sched: fix for NR_CPUS > BITS_PER_LONG

sched-sibling-map-to-cpumask.patch
sched: cpu_sibling_map to cpu_mask

p4-clockmod-sibling-map-fix.patch
p4-clockmod sibling_map fix

p4-clockmod-more-than-two-siblings.patch
p4-clockmod: handle more than two siblings

sched-domains-i386-ht.patch
sched: implement domains for i386 HT

sched-domain-tweak.patch
i386-sched-domain code consolidation

sched-no-drop-balance.patch
sched: handle inter-CPU jiffies skew

sched-arch_init_sched_domains-fix.patch
Change arch_init_sched_domains to use cpu_online_map

sched-find_busiest_group-clarification.patch
sched: clarify find_busiest_group

sched-remove-noisy-printks.patch

acpi-numa-printk-level-fixes.patch
ACPI NUMA quiet printk and cleanup

ide-siimage-seagate.patch

fa311-mac-address-fix.patch
wrong mac address with netgear FA311 ethernet card

laptop-mode-2.patch
laptop-mode for 2.6, version 6
Documentation/laptop-mode.txt
laptop-mode documentation updates

laptop-mode-doc-update-4.patch
Laptop mode documentation addition

vt-locking-fixes-2.patch
VT locking fixes

pid_max-fix.patch
Bug when setting pid_max > 32k

use-soft-float.patch
Use -msoft-float

DRM-cvs-update.patch
DRM cvs update

drm-include-fix.patch

kthread-primitive.patch
kthread primitive

kthread-block-all-signals.patch
kthread: block all signals

use-kthread-primitives.patch
Use kthread primitives

ide-pci-modules-fix.patch
fix issues with loading PCI IDE drivers as modules

sysfs-pin-kobject.patch
sysfs: pin kobjects to fix use-after-free crashes

limit-hash-table-sizes.patch
Limit hash table size

disable-G400-DRM-on-x86_64.patch
Disable G400 DRM driver on x86-64

x86_64-merge.patch
x86-64 merge for 2.6.1

slab-poison-hex-dumping.patch
slab: hexdump for check_poison

pentium-m-support.patch
add Pentium M and Pentium-4 M options

old-gcc-supports-k6.patch
gcc 2.95 supports -march=k6 (no need for check_gcc)

amd-elan-is-a-different-subarch.patch
AMD Elan is a different subarch

better-i386-cpu-selection.patch
better i386 CPU selection

cpu-options-default-to-y.patch
cpu options default to "yes"

i386-default-to-n.patch

serial-02-fixups.patch
serial fixups (untested)
serial-02 fixes
serial-02 fixes

serial-03-fixups.patch
more serial driver fixups
serial-03 fixes
serial-03 fixes

ia32-MSI-vector-handling-fix.patch
ia32 MSI vector handling fix

PP0-full_list-RC1.patch
parport fixes [1/5]

PP1-parport_locking-RC1.patch
parport fixes [2/5]

PP2-enumerate1-RC1.patch
parport fixes [3/5]

PP2-enumerate1-RC1-fix.patch

PP3-parport_gsc-RC1.patch
parport fixes [4/5]

PP4-bwqcam-RC1.patch
parport fixes [5/5]

bw-qcam-typo-fix.patch
bw-qcam typo fix

PP5-daisy-RC1.patch
parport fixes [2/5]

PI0-schedule_claimed-RC1.patch
paride cleanups and fixes [1/24]

PI1-expansion-RC1.patch
paride cleanups and fixes [2/24]

PI2-crapectomy-RC1.patch
paride cleanups and fixes [3/24]

PI3-ps_ready-RC1.patch
paride cleanups and fixes [4/24]

PI4-pd_busy-RC1.patch
paride cleanups and fixes [5/24]

PI5-do_pd_io-RC1.patch
paride cleanups and fixes [6/24]

PI6-bogus_requests-RC1.patch
paride cleanups and fixes [7/24]

PI7-claim_reorder-RC1.patch
paride cleanups and fixes [8/24]

PI8-do_pd_request1-RC1.patch
paride cleanups and fixes [9/24]

PI9-run_fsm-RC1.patch
paride cleanups and fixes [10/24]

PI10-action-RC1.patch
paride cleanups and fixes [2/24]

PI11-disconnect-RC1.patch
paride cleanups and fixes [12/24]

PI12-unclaim-RC1.patch
paride cleanups and fixes [13/24]

PI13-run_fsm-loop-RC1.patch
paride cleanups and fixes [14/24]

PI14-next_request-RC1.patch
paride cleanups and fixes [15/24]

PI15-do_pd_io-gone-RC1.patch
paride cleanups and fixes [16/24]

PI16-pd_claimed-RC1.patch
paride cleanups and fixes [17/24]

PI17-connect-RC1.patch
paride cleanups and fixes [18/24]

PI18-reorder-RC1.patch
paride cleanups and fixes [19/24]

PI19-special1-RC1.patch
paride cleanups and fixes [20/24]

PI20-gendisk_setup-RC1.patch
paride cleanups and fixes [21/24]

PI21-present-RC1.patch
paride cleanups and fixes [22/24]

PI22-pd_init_units-RC1.patch
paride cleanups and fixes [23/24]

PI23-special2-RC1.patch
paride cleanups and fixes [24/24]

PI24-paride64-RC1.patch
paride cleanups and fixes [25/24]

IMM0-lindent-RC1.patch
drivers/scsi/imm.c cleanups and fixes [1/8]

IMM1-references-RC1.patch
drivers/scsi/imm.c cleanups and fixes [2/8]

IMM2-claim-RC1.patch
drivers/scsi/imm.c cleanups and fixes [3/8]

IMM3-scsi_module-RC1.patch
drivers/scsi/imm.c cleanups and fixes [4/8]

IMM4-imm_probe-RC1.patch
drivers/scsi/imm.c cleanups and fixes [5/8]

IMM5-imm_wakeup-RC1.patch
drivers/scsi/imm.c cleanups and fixes [6/8]

IMM6-imm_hostdata-RC1.patch
drivers/scsi/imm.c cleanups and fixes [7/8]

IMM7-imm_attach-RC1.patch
drivers/scsi/imm.c cleanups and fixes [8/8]

PPA0-ppa_lindent-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [1/9]

PPA1-ppa_references-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [2/9]

PPA2-ppa_claim-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [3/9]

PPA3-ppa_scsi_module-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [4/9]

PPA4-ppa_probe-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [5/9]

PPA5-ppa_wakeup-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [6/9]

PPA6-ppa_hostdata-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [7/9]

PPA7-ppa_attach-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [8/9]

PPA8-ppa_lock_fix-RC1.patch
drivers/scsi/ppa.c cleanups and fixes [9/9]

nfs-01-rpc_pipe_timeout.patch
NFSv4/RPCSEC_GSS: userland upcall timeouts

nfs-02-auth_gss.patch
RPCSEC_GSS: More fixes to the upcall mechanism.

nfs-03-pipe_close.patch
RPCSEC_GSS: detect daemon death

nfs-04-fix_nfs4client.patch
NFSv4: oops fix

nfs-05-fix_idmap.patch
NFSv4: client name fixes

nfs-06-fix_idmap2.patch
NFSv4: Bugfixes and cleanups client name to uid mapper.

nfs-07-gss_krb5.patch
RPCSEC_GSS: Make it safe to share crypto tfms among multiple threads.

nfs-08-gss_missingkfree.patch
RPCSEC_GSS: Oops. Major memory leak here.

nfs-09-memleaks.patch
RPCSEC_GSS: Fix two more memory leaks found by the stanford checker.

nfs-10-refleaks.patch
RPCSEC_GSS: Fix yet more memory leaks.

nfs-11-krb5_cleanup.patch
RPCSEC_GSS: krb5 cleanups

nfs-12-gss_nokmalloc.patch
RPCSEC_GSS: memory allocation fixes

nfs-13-krb5_integ.patch
RPCSEC_GSS: Client-side only support for rpcsec_gss integrity protection.

nfs-14-clnt_seqno_to_req.patch
RPCSEC_GSS: gss sequence number history fixes

nfs-15-encode_pages_tail.patch
XDR: page encoding fix

nfs-16-rpc_clones.patch
RPC: transport sharing

nfs-17-rpc_clone2.patch
NFSv4/RPCSEC_GSS: use RPC cloning

nfs-18-renew_xdr.patch
NFSv4: make RENEW a standalone RPC call

nfs-19-renewd.patch
NFSv4: make lease renewal daemon per-server

nfs-20-fsinfo_xdr.patch
NFSv4: Split the code for retrieving static server information out of the GETATTR compound.

nfs-21-setclientid_xdr.patch
NFSv4: Make SETCLIENTID and SETCLIENTID_CONFIRM standalone operations

nfs-22-errno.patch
NFSv4: errno fixes

nfs-23-open_reclaim.patch
NFSv4: Preparation for the server reboot recovery code.

nfs-24-state_recovery.patch
NFSv4: Basic code for recovering file OPEN state after a server reboot.

nfs-25-soft.patch
RPC/NFSv4: Allow lease RENEW calls to be soft

nfs-26-sock_disconnect.patch
RPC: TCP timeout fixes

nfs-27-atomic_open.patch
NFSv4: Atomic open()

nfs-28-open_owner.patch
NFSv4: Share open_owner structs

nfs-29-fix_idmap3.patch
NFSv4: fix multi-partition mount oops

nfs_idmap-warning-fix.patch

nfs-30-lock.patch
NFSv4: Add support for POSIX file locking.

nfs-old-gcc-fix.patch
NFS: fix for older gcc's

nfs-31-attr.patch
NFSv2/v3/v4: New attribute revalidation code

ghash.patch
ghash.h from 2.4

tty_io-uml-fix.patch
uml: make tty_init callable from UML functions

uml-update.patch
UML update

blk_congestion_wait-return-remaining.patch
return remaining jiffies from blk_congestion_wait()

vmscan-remove-priority.patch
mm/vmscan.c: remove unused priority argument.

kswapd-throttling-fixes.patch
kswapd throttling fixes

kbuild-unmangle-include-options.patch
kbuild: Unmangle include options for gcc

sunrpc-sleep_on-removal.patch
remove sleep_on from sunrpc

use-funit-at-a-time.patch
Use -funit-at-a-time when possible

add-config-for-mregparm-3-ng.patch
Add CONFIG for -mregparm=3

fix-x86_64-gcc-34-warnings.patch
Fix gcc 3.4 warnings in x86-64

fix-more-gcc-34-warnings.patch
Fix more gcc 3.4 warnings

gcc-34-string-fixes.patch
string fixes for gcc 3.4

gcc-35-bio_phys_segments.patch
gcc-3.5: fix extern inline decls

gcc-35-ident-warnings.patch
gcc-3.5: #ident fixes

gcc-35-binfmt_elf-warning-fix.patch
gcc-3.5: binfmt_elf warning fix

gcc-35-pcm_misc-warnings.patch
gcc-3.5: pcm_misc.c warnings

gcc-35-pcm_plugin-warnings.patch

gcc-35-reiserfs-fixes.patch
gcc-3.5: reiserfs fixes

gcc-35-tcp_put_port-fix.patch
gcc-3.5: tcp_put_port() fix

gcc-35-ip6-ndisc-fix.patch
gcc-3.5: ipv6/ndisc.c fixes

gcc-35-ide-fix.patch
gcc-3.5: ide.h fixes

gcc-35-elevator.patch
gcc-3.5: elevator.h fixes

gcc-35-keyboard-fixes.patch
gcc-3.5: keyboard.c fixes

gcc-35-exit-fix.patch
gcc-3.5: _exit fix

gcc-35-parport.patch
Fix inlining failure (all GCCs) in parport

gcc-34-compilation-fixes.patch
More 3.4 compilation fixes

gcc-35-seq_clientmgr.patch
gcc-3.5: sound/core/seq/seq_clientmgr.c

gcc-35-tg3.patch
gcc-3.5: tg3.c warnings

gcc-35-parport2.patch
gcc-3.5: parport warnings

gcc-35-i810_accel.patch
gcc-3.5: i810_accel fix

gcc-35-puts-fix.patch
gcc-3.5: misc.c warning fix

bitmap-parsing-printing-v4.patch
bitmap parsing/printing routines, version 4

bitmap-parsing-cleanup.patch
bitmap parsing/printing routines cleanup

non-readable-binaries.patch
Handle non-readable binfmt_misc executables

fix-improve-modular-ide.patch
fix/improve modular IDE

janitor-09-i387-usercopy-check.patch
i387: handle copy_from_user() error

doc-remove-modules-conf-references.patch
Documentation: remove /etc/modules.conf refs

more-MODULE_ALIASes.patch
add some more MODULE_ALIASes

bonding-alias-revert-and-docco-fix.patch
bonding alias revert and documentation fix

simplify-net_ratelimit.patch
simplify net_ratelimit()

printk-rate_limit-fixes.patch
printk_ratelimit() tweaks

aha1542-warning-fix.patch
aha1542.c warning fix

x86_64-kconfig-i2c-menu.patch
kconfig: no i2c on amd64

ide-legacy-build-fix.patch
Fix compile error with IDE legacy driver

readX_relaxed.patch
add readX_relaxed() interface

kconfig-use-select.patch
kconfig: Improve warnings related to select

kconfig-remove-enable.patch
kconfig/wireless: Replace enable with select

use-attribute-const-everywhere.patch
use __attribute_const__ everywhere

edd-disksig.patch
EDD: read disk80 MBR signature, export through edd module

swsusp-stop-DMA-on-resume.patch
swsusp does not stop DMA properly during resume

swsusp-stop-DMA-on-resume-fix.patch

swsusp-trivial-cleanups.patch
Trivial cleanups for swsusp

swsusp-more-cleanups.patch
More cleanups for swsusp

swsusp-software_suspend-retval-fix.patch
Allow software_suspend to fail

vmalloc-address-offset-fix.patch
vmalloc address offset fix

ia64-include-i2c-in-config.patch
ia64: include i2c in config

hugetlbfs_remove_dirent.patch
hugetlbfs directory entry cleanup

libfs_timestamp_fixes.patch
libfs mtime/ctime updates

hugetlbfs_cleanup.patch
hugetlbfs cleanup

w9966-stack-usage-fix.patch
Fix large stack allocation in w9966 driver.

ttusb-stack-space-fix.patch
Fix up 4KB stack allocation in DVB USB driver.

console_driver-definition-fix.patch
missing `console_driver' with CONFIG_VT && !CONFIG_VT_CONSOLE

partition-naming-fix.patch
Make naming of parititions in sysfs match /proc/partitions.

ppc32-1000-hz.patch
ppc32: Set HZ to 1000 on ppc32

rq_for_each_bio-fix-again.patch
Fix rq_for_each_bio() macro again

fix-blockdev-getro.patch
fix blockdev --getro for sr, sd, ide-floppy

RAW_GETBIND-compat_ioctl-fix.patch
The RAW_GETBIND compat_ioctl fails

simplify-flow_c-cpu-handling.patch
Simplify net/flow.c

flow-cpucontrol-fix.patch

remove-kstat-cpu-notifiers.patch
Remove kstat cpu notifiers

support-wider-consoles.patch
console: support for > 127 chars

remove-valid_addr_bitmap.patch
remove valid_addr_bitmap

osst-warning-fix.patch
osst.c: suppress page allocation failure warnings

request_firmware-del_timer-fix.patch
request_firmware(): use del_timer_sync()

sisfb-update.patch
sisfb update

init-cpu_vm_mask-in-init_mm.patch
initialise cpu_vm_mask in init_mm

raw-is-obsolete.patch
deprecate the raw driver

sleep_on-needs_lock_kernel.patch
sleep_on(): check for lock_kernel

dvb-mailing-list.patch
linux-dvb open mailing list

ncpfs-stack-usage-fix.patch
Fix deep stack usage in ncpfs

remove_suid-fix.patch
remove_suid() fix

md-01-shutdown-hang-fix.patch
md: Fix possible hang in raid shutdown.

md-02-preferred_minor-fix.patch
md: Move the test in preferred_minor to where it is used.

md-03-debugging-output-cleanup.patch
md: Fixes to make debuging output nicer.

md-04-personality-stats-collection.patch
md: Collect device IO statistics for MD personalities.

md-05-device-in-error-printing-fix.patch
md: Change the way the name of an md device is printed in error messages.

md-06-allow-partitioning.patch
md: Allow partitioning of MD devices.

md-07-md-appear-in-proc-partitions.patch
md: Make sure md devices appear in /proc/partitions

remove-SIIG-PCI-IDs-from-parport_pc.patch
remove SIIG combo cards PCI ids from parport_pc

i830-agp-pm-fix.patch
Intel i830 AGP fix

list_del-debug.patch
list_del debug check

print-build-options-on-oops.patch

show_task-free-stack-fix.patch
show_task() fix and cleanup

oops-dump-preceding-code.patch
i386 oops output: dump preceding code

lockmeter.patch

4g-2.6.0-test2-mm2-A5.patch
4G/4G split patch
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g/4g usercopy atomicity fix
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g/4g usercopy atomicity fix
4G/4G preempt on vstack
4G/4G: even number of kmap types
4g4g: fix __get_user in slab
4g4g: Remove extra .data.idt section definition
4g/4g linker error (overlapping sections)
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g4g: show_registers() fix
4g/4g usercopy atomicity fix
4g4g: debug flags fix
4g4g: Fix wrong asm-offsets entry
cyclone time fixmap fix
4G/4G preempt on vstack
4G/4G: even number of kmap types
4g4g: fix __get_user in slab
4g4g: Remove extra .data.idt section definition
4g/4g linker error (overlapping sections)
4G/4G: remove debug code
4g4g: pmd fix
4g/4g: fixes from Bill
4g4g: fpu emulation fix
4g4g: show_registers() fix
4g/4g usercopy atomicity fix
4g4g: debug flags fix
4g4g: Fix wrong asm-offsets entry
cyclone time fixmap fix
use direct_copy_{to,from}_user for kernel access in mm/usercopy.c
4G/4G might_sleep warning fix
4g/4g pagetable accounting fix
Fix 4G/4G and WP test lockup
4G/4G KERNEL_DS usercopy again
Fix 4G/4G X11/vm86 oops
Fix 4G/4G athlon triplefault
4g4g SEP fix
Fix 4G/4G split fix for pre-pentiumII machines
4g/4g PAE ACPI low mappings fix

4g4g-locked-userspace-copy.patch
Do a locked user-space copy for 4g/4g

ppc-fixes.patch
make mm4 compile on ppc

O_DIRECT-race-fixes-rollup.patch
DIO fixes forward port and AIO-DIO fix
O_DIRECT race fixes comments
O_DRIECT race fixes fix fix fix
DIO locking rework
O_DIRECT XFS fix

dio-aio-fixes.patch
direct-io AIO fixes
dio-aio fix fix

aio-fallback-bio_count-race-fix-2.patch
AIO+DIO bio_count race fix

aio-sysctl-parms.patch
aio sysctl parms




2004-01-23 13:30:48

by Thomas Schlichter

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

Hi,

Am Freitag, 23. Januar 2004 10:37 schrieb Andrew Morton:
> +use-pmtmr-for-delay_pmtmr.patch
>
> Fix a boot-time crash which occurs when testing the APIC timer when using
> the ACPI PM timer. This causes bogomips to be reported at 50% of what it
> used to be.

I don't know which Oops this fixes, but with this patch my bogomips value is
8.19 (!!!) instead of ~1300. With clock=pit I get about 1300 bogomips, and
with clock=tsc I get about 2600 bogomips. The CPU is a 1300MHz AMD Duron.

Regards
Thomas Schlichter


Attachments:
(No filename) (527.00 B)
signed data
(No filename) (189.00 B)
signature
Download all attachments

2004-01-23 15:09:04

by Jan Ischebeck

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

Hi Andrew,

With the latest pmtmr fixes, synaptics mouse driver is in sync again and
my bogomips are correct too. (synaptics had been loosing packages in -mm
releases the last weeks)

Only the radeon dri driver cannot be inserted because of an missing
symbol:
radeon: Unknown symbol cmpxchg

Thx for the frequent releases,
Jan

2004-01-23 15:13:21

by Ed Tomlinson

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

Hi,

This fails to boot here. Config is 2-rc1 updated with oldconfig. It seems that it cannot
find root. I did enable generic ide. If required, I'll enable a serial console and get a log
tonight.

Ed

2004-01-23 16:02:33

by Rudo Thomas

[permalink] [raw]
Subject: keyboard and USB problems (Re: 2.6.2-rc1-mm2)

Linux version 2.6.2-rc1-mm2 ([email protected]) (gcc version 3.3.2 20031201 (Gentoo Linux 3.3.2-r4, propolice)) #2 Fri Jan 23 11:45:51 CET 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fffc000 (usable)
BIOS-e820: 000000000fffc000 - 000000000ffff000 (ACPI data)
BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
zapping low mappings.
On node 0 totalpages: 65532
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 61436 pages, LIFO batch:14
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ASUS ) @ 0x000f5c10
ACPI: RSDT (v001 ASUS A7V333 0x42302e31 MSFT 0x31313031) @ 0x0fffc000
ACPI: FADT (v001 ASUS A7V333 0x42302e31 MSFT 0x31313031) @ 0x0fffc0b2
ACPI: BOOT (v001 ASUS A7V333 0x42302e31 MSFT 0x31313031) @ 0x0fffc030
ACPI: MADT (v001 ASUS A7V333 0x42302e31 MSFT 0x31313031) @ 0x0fffc058
ACPI: DSDT (v001 ASUS A7V333 0x00001000 MSFT 0x0100000b) @ 0x00000000
ACPI: PM-Timer IO Port: 0xe408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:6 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 2, address 0xfec00000, IRQ 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI BALANCE SET
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Built 1 zonelists
current: c02c1a60
current->thread_info: c0300000
Initializing CPU#0
Kernel command line: auto BOOT_IMAGE=linux-mm rw root=302 nmi_watchdog=1
PID hash table entries: 1024 (order 10: 8192 bytes)
Detected 1535.887 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 80x25
Memory: 256444k/262128k available (1552k kernel code, 4956k reserved, 489k data, 136k init, 0k highmem)
Calibrating delay loop... 8.19 BogoMIPS
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1cbfbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(TM) XP 1800+ stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
activating NMI Watchdog ... done.
testing NMI watchdog ... OK.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1535.0001 MHz.
..... host bus clock speed is 266.0956 MHz.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xf17e0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031203
IOAPIC[0]: Set PCI routing entry (2-9 -> 0x71 -> IRQ 9 Mode:1 Active:1)
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
IOAPIC[0]: Set PCI routing entry (2-17 -> 0xa9 -> IRQ 17 Mode:1 Active:1)
00:00:05[A] -> 2-17 -> IRQ 17
IOAPIC[0]: Set PCI routing entry (2-18 -> 0xb1 -> IRQ 18 Mode:1 Active:1)
00:00:05[B] -> 2-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (2-19 -> 0xb9 -> IRQ 19 Mode:1 Active:1)
00:00:06[A] -> 2-19 -> IRQ 19
Pin 2-17 already programmed
Pin 2-19 already programmed
IOAPIC[0]: Set PCI routing entry (2-16 -> 0xc1 -> IRQ 16 Mode:1 Active:1)
00:00:0c[B] -> 2-16 -> IRQ 16
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
IOAPIC[0]: Set PCI routing entry (2-21 -> 0xc9 -> IRQ 21 Mode:1 Active:1)
00:00:11[D] -> 2-21 -> IRQ 21
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
number of MP IRQ sources: 15.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00178002
....... : max redirection entries: 0017
....... : PRQ implemented: 1
....... : IO APIC version: 0002
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 001 01 0 0 0 0 0 1 1 39
02 001 01 0 0 0 0 0 1 1 31
03 001 01 0 0 0 0 0 1 1 41
04 001 01 0 0 0 0 0 1 1 49
05 001 01 0 0 0 0 0 1 1 51
06 001 01 0 0 0 0 0 1 1 59
07 001 01 0 0 0 0 0 1 1 61
08 001 01 0 0 0 0 0 1 1 69
09 001 01 0 1 0 1 0 1 1 71
0a 001 01 0 0 0 0 0 1 1 79
0b 001 01 0 0 0 0 0 1 1 81
0c 001 01 0 0 0 0 0 1 1 89
0d 001 01 0 0 0 0 0 1 1 91
0e 001 01 0 0 0 0 0 1 1 99
0f 001 01 0 0 0 0 0 1 1 A1
10 001 01 1 1 0 1 0 1 1 C1
11 001 01 1 1 0 1 0 1 1 A9
12 001 01 1 1 0 1 0 1 1 B1
13 001 01 1 1 0 1 0 1 1 B9
14 000 00 1 0 0 0 0 0 0 00
15 001 01 1 1 0 1 0 1 1 C9
16 000 00 1 0 0 0 0 0 0 00
17 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9-> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ17 -> 0:17
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ21 -> 0:21
.................................... done.
ACPI: No IRQ known for interrupt pin A of device 0000:00:11.1
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x80
Machine check exception polling timer started.
ikconfig 0.7 with /proc/config*
devfs: v1.22 (20021013) Richard Gooch ([email protected])
devfs: boot_options: 0x0
Initializing Cryptographic API
PCI: Via IRQ fixup for 0000:00:09.0, from 5 to 3
PCI: Via IRQ fixup for 0000:00:09.1, from 11 to 0
PCI: Via IRQ fixup for 0000:00:11.2, from 9 to 5
PCI: Via IRQ fixup for 0000:00:11.3, from 9 to 5
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1)
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
ACPI: No IRQ known for interrupt pin A of device 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide0: BM-DMA at 0xa800-0xa807, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xa808-0xa80f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 6E040L0, ATA DISK drive
hdb: WDC WD136BA, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: SAMSUNG DVD-ROM SD-616T, ATAPI CD/DVD-ROM drive
hdd: Hewlett-Packard CD-Writer Plus 9100, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdb: max request size: 128KiB
hdb: 26712000 sectors (13676 MB) w/1961KiB Cache, CHS=26500/16/63, UDMA(33)
/dev/ide/host0/bus0/target1/lun0: p1 p2
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda2) for (hda2)
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem).
Freeing unused kernel memory: 136k freed
Adding 530136k swap on /dev/hda3. Priority:-1 extents:1
cdrom: : unknown mrw mode page
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 32X CD-ROM CD-R/RW drive, 4096kB Cache, UDMA(33)
inserting floppy driver for 2.6.2-rc1-mm2
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at 0xd0907000, 00:0a:cd:03:b6:03, IRQ 18
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
Creative EMU10K1 PCI Audio Driver, version 0.20a, 11:38:03 Jan 23 2004
emu10k1: EMU10K1 rev 7 model 0x8061 found, IO at 0xb400-0xb41f, IRQ 19
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
emu10k1: SBLive! 5.1 card detected
cmpci: version $Revision: 5.64 $ time 11:37:55 Jan 23 2004
cmpci: found CM8738 adapter at io 0xd800 irq 17
cmpci: chip version = 055
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci_hcd 0000:00:09.0: UHCI Host Controller
uhci_hcd 0000:00:09.0: irq 19, io base 0000d400
uhci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 1
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:09.1: UHCI Host Controller
uhci_hcd 0000:00:09.1: irq 16, io base 0000d000
uhci_hcd 0000:00:09.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:11.2: UHCI Host Controller
uhci_hcd 0000:00:11.2: irq 21, io base 0000a400
uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:11.3: UHCI Host Controller
uhci_hcd 0000:00:11.3: irq 21, io base 0000a000
uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ehci_hcd 0000:00:09.2: EHCI Host Controller
ehci_hcd 0000:00:09.2: irq 17, pci mem d091f000
ehci_hcd 0000:00:09.2: new USB bus registered, assigned bus number 5
ehci_hcd 0000:00:09.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Dec-29
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 4 ports detected
i8042.c: Can't write CTR while closing AUX.
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
hub 3-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?
blk: queue c13c3e00, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c13c3a00, I/O limit 4095Mb (mask 0xffffffff)


Attachments:
(No filename) (670.00 B)
dmesg-mm2 (12.72 kB)
Download all attachments

2004-01-23 16:20:22

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: keyboard and USB problems (Re: 2.6.2-rc1-mm2)

On Fri, Jan 23, 2004 at 05:01:52PM +0100, Rudo Thomas wrote:
> Hi.
>
> I don't seem to be able to type anything on the keyboard in 2.6.2-rc1-mm2. It
> works fine in -rc1-mm1. There are a few differences in dmesg output of mm2
> compared to mm1.
>
> BogoMIPS is figured out to be 8.19 (this was already reported by another user),

... this the root cause of the following problems.

> and i8042.c complaints with this:
> i8042.c: Can't write CTR while closing AUX.

... bogomips is used in udelay() and that's used for waiting. If
bogomips is measured lower than real, the wait takes shorter and the
hardware doesn't do what it should in that short time.

Try disabling ACPI for a start ...

> After browsing through the dmesg output, I noticed this one:
> hub 3-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?
>
> Normally (ie. in -mm1 and below) it reads:
> hub 3-0:1.0: new USB device on port 2, assigned address 2
>
> The full output is attached, of course.
>
> Is there a patch I should try to revert, Andrew?
>
> Thanks,
> Rudo.

> Linux version 2.6.2-rc1-mm2 ([email protected]) (gcc version 3.3.2 20031201 (Gentoo Linux 3.3.2-r4, propolice)) #2 Fri Jan 23 11:45:51 CET 2004
> BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000000fffc000 (usable)
> BIOS-e820: 000000000fffc000 - 000000000ffff000 (ACPI data)
> BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
> BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
> BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
> BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> 255MB LOWMEM available.
> zapping low mappings.
> On node 0 totalpages: 65532
> DMA zone: 4096 pages, LIFO batch:1
> Normal zone: 61436 pages, LIFO batch:14
> HighMem zone: 0 pages, LIFO batch:1
> DMI 2.3 present.
> ACPI: RSDP (v000 ASUS ) @ 0x000f5c10
> ACPI: RSDT (v001 ASUS A7V333 0x42302e31 MSFT 0x31313031) @ 0x0fffc000
> ACPI: FADT (v001 ASUS A7V333 0x42302e31 MSFT 0x31313031) @ 0x0fffc0b2
> ACPI: BOOT (v001 ASUS A7V333 0x42302e31 MSFT 0x31313031) @ 0x0fffc030
> ACPI: MADT (v001 ASUS A7V333 0x42302e31 MSFT 0x31313031) @ 0x0fffc058
> ACPI: DSDT (v001 ASUS A7V333 0x00001000 MSFT 0x0100000b) @ 0x00000000
> ACPI: PM-Timer IO Port: 0xe408
> ACPI: Local APIC address 0xfee00000
> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> Processor #0 6:6 APIC version 16
> ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
> ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
> IOAPIC[0]: Assigned apic_id 2
> IOAPIC[0]: apic_id 2, version 2, address 0xfec00000, IRQ 0-23
> ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge)
> ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
> ACPI BALANCE SET
> Enabling APIC mode: Flat. Using 1 I/O APICs
> Using ACPI (MADT) for SMP configuration information
> Built 1 zonelists
> current: c02c1a60
> current->thread_info: c0300000
> Initializing CPU#0
> Kernel command line: auto BOOT_IMAGE=linux-mm rw root=302 nmi_watchdog=1
> PID hash table entries: 1024 (order 10: 8192 bytes)
> Detected 1535.887 MHz processor.
> Using pmtmr for high-res timesource
> Console: colour VGA+ 80x25
> Memory: 256444k/262128k available (1552k kernel code, 4956k reserved, 489k data, 136k init, 0k highmem)
> Calibrating delay loop... 8.19 BogoMIPS
> Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000
> CPU: After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 256K (64 bytes/line)
> CPU: After all inits, caps: 0383fbff c1cbfbff 00000000 00000020
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU: AMD Athlon(TM) XP 1800+ stepping 02
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> enabled ExtINT on CPU#0
> ESR value before enabling vector: 00000000
> ESR value after enabling vector: 00000000
> ENABLING IO-APIC IRQs
> init IO_APIC IRQs
> IO-APIC (apicid-pin) 2-0, 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected.
> ..TIMER: vector=0x31 pin1=2 pin2=-1
> activating NMI Watchdog ... done.
> testing NMI watchdog ... OK.
> Using local APIC timer interrupts.
> calibrating APIC timer ...
> ..... CPU clock speed is 1535.0001 MHz.
> ..... host bus clock speed is 266.0956 MHz.
> NET: Registered protocol family 16
> PCI: PCI BIOS revision 2.10 entry at 0xf17e0, last bus=1
> PCI: Using configuration type 1
> mtrr: v2.0 (20020519)
> ACPI: Subsystem revision 20031203
> IOAPIC[0]: Set PCI routing entry (2-9 -> 0x71 -> IRQ 9 Mode:1 Active:1)
> ACPI: Interpreter enabled
> ACPI: Using IOAPIC for interrupt routing
> ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
> ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
> ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 *12 14 15)
> ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 12 14 15)
> ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14)
> ACPI: PCI Root Bridge [PCI0] (00:00)
> PCI: Probing PCI hardware (bus 00)
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
> IOAPIC[0]: Set PCI routing entry (2-17 -> 0xa9 -> IRQ 17 Mode:1 Active:1)
> 00:00:05[A] -> 2-17 -> IRQ 17
> IOAPIC[0]: Set PCI routing entry (2-18 -> 0xb1 -> IRQ 18 Mode:1 Active:1)
> 00:00:05[B] -> 2-18 -> IRQ 18
> IOAPIC[0]: Set PCI routing entry (2-19 -> 0xb9 -> IRQ 19 Mode:1 Active:1)
> 00:00:06[A] -> 2-19 -> IRQ 19
> Pin 2-17 already programmed
> Pin 2-19 already programmed
> IOAPIC[0]: Set PCI routing entry (2-16 -> 0xc1 -> IRQ 16 Mode:1 Active:1)
> 00:00:0c[B] -> 2-16 -> IRQ 16
> Pin 2-17 already programmed
> Pin 2-18 already programmed
> Pin 2-16 already programmed
> Pin 2-17 already programmed
> Pin 2-18 already programmed
> Pin 2-19 already programmed
> Pin 2-17 already programmed
> Pin 2-18 already programmed
> Pin 2-19 already programmed
> Pin 2-16 already programmed
> Pin 2-18 already programmed
> Pin 2-19 already programmed
> Pin 2-16 already programmed
> Pin 2-17 already programmed
> Pin 2-19 already programmed
> Pin 2-16 already programmed
> Pin 2-17 already programmed
> Pin 2-18 already programmed
> IOAPIC[0]: Set PCI routing entry (2-21 -> 0xc9 -> IRQ 21 Mode:1 Active:1)
> 00:00:11[D] -> 2-21 -> IRQ 21
> Pin 2-19 already programmed
> Pin 2-16 already programmed
> Pin 2-17 already programmed
> Pin 2-16 already programmed
> Pin 2-17 already programmed
> number of MP IRQ sources: 15.
> number of IO-APIC #2 registers: 24.
> testing the IO APIC.......................
> IO APIC #2......
> .... register #00: 02000000
> ....... : physical APIC id: 02
> ....... : Delivery Type: 0
> ....... : LTS : 0
> .... register #01: 00178002
> ....... : max redirection entries: 0017
> ....... : PRQ implemented: 1
> ....... : IO APIC version: 0002
> .... IRQ redirection table:
> NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
> 00 000 00 1 0 0 0 0 0 0 00
> 01 001 01 0 0 0 0 0 1 1 39
> 02 001 01 0 0 0 0 0 1 1 31
> 03 001 01 0 0 0 0 0 1 1 41
> 04 001 01 0 0 0 0 0 1 1 49
> 05 001 01 0 0 0 0 0 1 1 51
> 06 001 01 0 0 0 0 0 1 1 59
> 07 001 01 0 0 0 0 0 1 1 61
> 08 001 01 0 0 0 0 0 1 1 69
> 09 001 01 0 1 0 1 0 1 1 71
> 0a 001 01 0 0 0 0 0 1 1 79
> 0b 001 01 0 0 0 0 0 1 1 81
> 0c 001 01 0 0 0 0 0 1 1 89
> 0d 001 01 0 0 0 0 0 1 1 91
> 0e 001 01 0 0 0 0 0 1 1 99
> 0f 001 01 0 0 0 0 0 1 1 A1
> 10 001 01 1 1 0 1 0 1 1 C1
> 11 001 01 1 1 0 1 0 1 1 A9
> 12 001 01 1 1 0 1 0 1 1 B1
> 13 001 01 1 1 0 1 0 1 1 B9
> 14 000 00 1 0 0 0 0 0 0 00
> 15 001 01 1 1 0 1 0 1 1 C9
> 16 000 00 1 0 0 0 0 0 0 00
> 17 000 00 1 0 0 0 0 0 0 00
> IRQ to pin mappings:
> IRQ0 -> 0:2
> IRQ1 -> 0:1
> IRQ3 -> 0:3
> IRQ4 -> 0:4
> IRQ5 -> 0:5
> IRQ6 -> 0:6
> IRQ7 -> 0:7
> IRQ8 -> 0:8
> IRQ9 -> 0:9-> 0:9
> IRQ10 -> 0:10
> IRQ11 -> 0:11
> IRQ12 -> 0:12
> IRQ13 -> 0:13
> IRQ14 -> 0:14
> IRQ15 -> 0:15
> IRQ16 -> 0:16
> IRQ17 -> 0:17
> IRQ18 -> 0:18
> IRQ19 -> 0:19
> IRQ21 -> 0:21
> .................................... done.
> ACPI: No IRQ known for interrupt pin A of device 0000:00:11.1
> PCI: Using ACPI for IRQ routing
> PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
> SBF: Simple Boot Flag extension found and enabled.
> SBF: Setting boot flags 0x80
> Machine check exception polling timer started.
> ikconfig 0.7 with /proc/config*
> devfs: v1.22 (20021013) Richard Gooch ([email protected])
> devfs: boot_options: 0x0
> Initializing Cryptographic API
> PCI: Via IRQ fixup for 0000:00:09.0, from 5 to 3
> PCI: Via IRQ fixup for 0000:00:09.1, from 11 to 0
> PCI: Via IRQ fixup for 0000:00:11.2, from 9 to 5
> PCI: Via IRQ fixup for 0000:00:11.3, from 9 to 5
> ACPI: Power Button (FF) [PWRF]
> ACPI: Processor [CPU0] (supports C1)
> pty: 256 Unix98 ptys configured
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: IDE controller at PCI slot 0000:00:11.1
> ACPI: No IRQ known for interrupt pin A of device 0000:00:11.1
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1
> ide0: BM-DMA at 0xa800-0xa807, BIOS settings: hda:DMA, hdb:DMA
> ide1: BM-DMA at 0xa808-0xa80f, BIOS settings: hdc:DMA, hdd:DMA
> hda: Maxtor 6E040L0, ATA DISK drive
> hdb: WDC WD136BA, ATA DISK drive
> Using anticipatory io scheduler
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hdc: SAMSUNG DVD-ROM SD-616T, ATAPI CD/DVD-ROM drive
> hdd: Hewlett-Packard CD-Writer Plus 9100, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: max request size: 128KiB
> hda: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
> /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
> hdb: max request size: 128KiB
> hdb: 26712000 sectors (13676 MB) w/1961KiB Cache, CHS=26500/16/63, UDMA(33)
> /dev/ide/host0/bus0/target1/lun0: p1 p2
> mice: PS/2 mouse device common for all mice
> serio: i8042 AUX port at 0x60,0x64 irq 12
> serio: i8042 KBD port at 0x60,0x64 irq 1
> input: AT Translated Set 2 keyboard on isa0060/serio0
> NET: Registered protocol family 2
> IP: routing cache hash table of 2048 buckets, 16Kbytes
> TCP: Hash tables configured (established 16384 bind 32768)
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> NET: Registered protocol family 15
> found reiserfs format "3.6" with standard journal
> Reiserfs journal params: device hda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
> reiserfs: checking transaction log (hda2) for (hda2)
> Using r5 hash to sort names
> VFS: Mounted root (reiserfs filesystem).
> Freeing unused kernel memory: 136k freed
> Adding 530136k swap on /dev/hda3. Priority:-1 extents:1
> cdrom: : unknown mrw mode page
> hdc: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.20
> hdd: ATAPI 32X CD-ROM CD-R/RW drive, 4096kB Cache, UDMA(33)
> inserting floppy driver for 2.6.2-rc1-mm2
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> 8139too Fast Ethernet driver 0.9.27
> eth0: RealTek RTL8139 at 0xd0907000, 00:0a:cd:03:b6:03, IRQ 18
> eth0: Identified 8139 chip type 'RTL-8100B/8139D'
> Creative EMU10K1 PCI Audio Driver, version 0.20a, 11:38:03 Jan 23 2004
> emu10k1: EMU10K1 rev 7 model 0x8061 found, IO at 0xb400-0xb41f, IRQ 19
> ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
> emu10k1: SBLive! 5.1 card detected
> cmpci: version $Revision: 5.64 $ time 11:37:55 Jan 23 2004
> cmpci: found CM8738 adapter at io 0xd800 irq 17
> cmpci: chip version = 055
> drivers/usb/core/usb.c: registered new driver usbfs
> drivers/usb/core/usb.c: registered new driver hub
> drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
> uhci_hcd 0000:00:09.0: UHCI Host Controller
> uhci_hcd 0000:00:09.0: irq 19, io base 0000d400
> uhci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 1
> eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> uhci_hcd 0000:00:09.1: UHCI Host Controller
> uhci_hcd 0000:00:09.1: irq 16, io base 0000d000
> uhci_hcd 0000:00:09.1: new USB bus registered, assigned bus number 2
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 2 ports detected
> uhci_hcd 0000:00:11.2: UHCI Host Controller
> uhci_hcd 0000:00:11.2: irq 21, io base 0000a400
> uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 3
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 2 ports detected
> uhci_hcd 0000:00:11.3: UHCI Host Controller
> uhci_hcd 0000:00:11.3: irq 21, io base 0000a000
> uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 4
> hub 4-0:1.0: USB hub found
> hub 4-0:1.0: 2 ports detected
> ehci_hcd 0000:00:09.2: EHCI Host Controller
> ehci_hcd 0000:00:09.2: irq 17, pci mem d091f000
> ehci_hcd 0000:00:09.2: new USB bus registered, assigned bus number 5
> ehci_hcd 0000:00:09.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Dec-29
> hub 5-0:1.0: USB hub found
> hub 5-0:1.0: 4 ports detected
> i8042.c: Can't write CTR while closing AUX.
> drivers/usb/core/usb.c: registered new driver hid
> drivers/usb/input/hid-core.c: v2.0:USB HID core driver
> hub 3-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?
> blk: queue c13c3e00, I/O limit 4095Mb (mask 0xffffffff)
> blk: queue c13c3a00, I/O limit 4095Mb (mask 0xffffffff)


--
Vojtech Pavlik
SuSE Labs, SuSE CR

2004-01-23 17:08:25

by John Cherry

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2 (compile stats)

No change from 2.6.2-rc1-mm1.

Linux 2.6 (mm tree) Compile Statistics (gcc 3.2.2)
Warnings/Errors Summary

Kernel bzImage bzImage bzImage modules bzImage modules
(defconfig) (allno) (allyes) (allyes) (allmod) (allmod)
--------------- ---------- -------- -------- -------- -------- --------
2.6.2-rc1-mm2 0w/0e 0w/264e 144w/ 5e 10w/0e 3w/0e 171w/0e
2.6.2-rc1-mm1 0w/0e 0w/264e 144w/ 5e 10w/0e 3w/0e 171w/0e
2.6.1-mm5 2w/5e 0w/264e 153w/11e 10w/0e 3w/0e 180w/0e
2.6.1-mm4 0w/821e 0w/264e 154w/ 5e 8w/1e 5w/0e 179w/0e
2.6.1-mm3 0w/0e 0w/0e 151w/ 5e 10w/0e 3w/0e 177w/0e
2.6.1-mm2 0w/0e 0w/0e 143w/ 5e 12w/0e 3w/0e 171w/0e
2.6.1-mm1 0w/0e 0w/0e 146w/ 9e 12w/0e 6w/0e 171w/0e
2.6.1-rc2-mm1 0w/0e 0w/0e 149w/ 0e 12w/0e 6w/0e 171w/4e
2.6.1-rc1-mm2 0w/0e 0w/0e 157w/15e 12w/0e 3w/0e 185w/4e
2.6.1-rc1-mm1 0w/0e 0w/0e 156w/10e 12w/0e 3w/0e 184w/2e
2.6.0-mm2 0w/0e 0w/0e 161w/ 0e 12w/0e 3w/0e 189w/0e
2.6.0-mm1 0w/0e 0w/0e 173w/ 0e 12w/0e 3w/0e 212w/0e

Web page with links to complete details:
http://developer.osdl.org/cherry/compile/

John

2004-01-23 17:59:41

by john stultz

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

On Fri, 2004-01-23 at 05:30, Thomas Schlichter wrote:
> Hi,
>
> Am Freitag, 23. Januar 2004 10:37 schrieb Andrew Morton:
> > +use-pmtmr-for-delay_pmtmr.patch
> >
> > Fix a boot-time crash which occurs when testing the APIC timer when using
> > the ACPI PM timer. This causes bogomips to be reported at 50% of what it
> > used to be.
>
> I don't know which Oops this fixes, but with this patch my bogomips value is
> 8.19 (!!!) instead of ~1300. With clock=pit I get about 1300 bogomips, and
> with clock=tsc I get about 2600 bogomips. The CPU is a 1300MHz AMD Duron.

I know it feels like a kick in the pants when your BogoMIPS drops to
leves not seen since the 80s, but the value you are getting is expected.
Since the patch above uses the pmtmr for __delay(), loops_per_jiffies is
then calibrated to the ACPI PM timer's frequency instead of aproximately
the cpu's freq.

This was necessary, because on some systems calibrate_dealy()
incorrectly calibrates delays. Your system shows this, but its your
cycle based delay (clock=tsc) which is overestimated, so you see no
problem. The case Andrew describes above is when the loop based delay
(clock=pit or clock=pmtmr w/o this patch) is under estimated causing
problems when we initialize the APIC timer.

Additionally, since we're no longer dependent on the cpu speed,
speedstep like changes to the cpu freqency no longer affects time.

thanks
-john

2004-01-23 18:46:04

by Andrew Morton

[permalink] [raw]
Subject: Re: keyboard and USB problems (Re: 2.6.2-rc1-mm2)

Vojtech Pavlik <[email protected]> wrote:
>
> On Fri, Jan 23, 2004 at 05:01:52PM +0100, Rudo Thomas wrote:
> > Hi.
> >
> > I don't seem to be able to type anything on the keyboard in 2.6.2-rc1-mm2. It
> > works fine in -rc1-mm1. There are a few differences in dmesg output of mm2
> > compared to mm1.
> >
> > BogoMIPS is figured out to be 8.19 (this was already reported by another user),
>
> ... this the root cause of the following problems.
>
> > and i8042.c complaints with this:
> > i8042.c: Can't write CTR while closing AUX.
>
> ... bogomips is used in udelay() and that's used for waiting. If
> bogomips is measured lower than real, the wait takes shorter and the
> hardware doesn't do what it should in that short time.
>
> Try disabling ACPI for a start ...

Disabling CONFIG_X86_PM_TIMER should fix it up too.

2004-01-23 18:42:10

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

Ed Tomlinson <[email protected]> wrote:
>
> Hi,
>
> This fails to boot here. Config is 2-rc1 updated with oldconfig. It seems that it cannot
> find root.

That's odd.

> I did enable generic ide. If required, I'll enable a serial console and get a log
> tonight.

Would be appreciated, thanks. Or you could try reverting
suspicious-looking new patches which were added to mm2.

2004-01-23 18:39:07

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

Jan Ischebeck <[email protected]> wrote:
>
> Hi Andrew,
>
> With the latest pmtmr fixes, synaptics mouse driver is in sync again and
> my bogomips are correct too. (synaptics had been loosing packages in -mm
> releases the last weeks)

OK, thanks.

> Only the radeon dri driver cannot be inserted because of an missing
> symbol:
> radeon: Unknown symbol cmpxchg

You'll need to disable 386 support in the processor selection menu.

2004-01-23 19:15:27

by Adrian Bunk

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

On Fri, Jan 23, 2004 at 04:08:58PM +0100, Jan Ischebeck wrote:

>...
> Only the radeon dri driver cannot be inserted because of an missing
> symbol:
> radeon: Unknown symbol cmpxchg

This is a known problem if your .config includes support for the 386
cpu.

Unselect

Processor type and features
Processor support
386

and recompile your kernel.

> Thx for the frequent releases,
> Jan

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2004-01-23 19:28:08

by john stultz

[permalink] [raw]
Subject: Re: keyboard and USB problems (Re: 2.6.2-rc1-mm2)

On Fri, 2004-01-23 at 08:19, Vojtech Pavlik wrote:
> On Fri, Jan 23, 2004 at 05:01:52PM +0100, Rudo Thomas wrote:
> > BogoMIPS is figured out to be 8.19 (this was already reported by another user),
>
> ... this the root cause of the following problems.
>
> > and i8042.c complaints with this:
> > i8042.c: Can't write CTR while closing AUX.
>
> ... bogomips is used in udelay() and that's used for waiting. If
> bogomips is measured lower than real, the wait takes shorter and the
> hardware doesn't do what it should in that short time.

Well, loops_per_jiffy is actually being measured correctly as we're
using the acpi pm timesource to time udelay(). However there is a loss
of resolution using the slower time source, so udelay(1) might take
longer then 1 us.

If that is going to cause problems, then we'll need to pull out the
use-pmtmr-for-delay_pmtmr patch. I guess our only option is then to use
the TSC for delay_pmtrm() (as a loop based delay fails in other cases).
I'll write that up and send it your way, Andrew.

thanks
-john


2004-01-23 19:54:35

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: keyboard and USB problems (Re: 2.6.2-rc1-mm2)

On Fri, Jan 23, 2004 at 11:27:41AM -0800, john stultz wrote:
> On Fri, 2004-01-23 at 08:19, Vojtech Pavlik wrote:
> > On Fri, Jan 23, 2004 at 05:01:52PM +0100, Rudo Thomas wrote:
> > > BogoMIPS is figured out to be 8.19 (this was already reported by another user),
> >
> > ... this the root cause of the following problems.
> >
> > > and i8042.c complaints with this:
> > > i8042.c: Can't write CTR while closing AUX.
> >
> > ... bogomips is used in udelay() and that's used for waiting. If
> > bogomips is measured lower than real, the wait takes shorter and the
> > hardware doesn't do what it should in that short time.
>
> Well, loops_per_jiffy is actually being measured correctly as we're
> using the acpi pm timesource to time udelay(). However there is a loss
> of resolution using the slower time source, so udelay(1) might take
> longer then 1 us.

Longer udelay shouldn't cause trouble. Shorter one definitely would.

> If that is going to cause problems, then we'll need to pull out the
> use-pmtmr-for-delay_pmtmr patch. I guess our only option is then to use
> the TSC for delay_pmtrm() (as a loop based delay fails in other cases).
> I'll write that up and send it your way, Andrew.

I've seen the PM timer breaking the mouse operation rather badly in the
past, the lost-sync check was triggering for many people when the PM
timer was used. This implies time inacurracy in the range of 0.5
seconds. Could that happen somehow?

--
Vojtech Pavlik
SuSE Labs, SuSE CR

2004-01-23 20:16:43

by john stultz

[permalink] [raw]
Subject: Re: keyboard and USB problems (Re: 2.6.2-rc1-mm2)

On Fri, 2004-01-23 at 11:54, Vojtech Pavlik wrote:
> On Fri, Jan 23, 2004 at 11:27:41AM -0800, john stultz wrote:
> > Well, loops_per_jiffy is actually being measured correctly as we're
> > using the acpi pm timesource to time udelay(). However there is a loss
> > of resolution using the slower time source, so udelay(1) might take
> > longer then 1 us.
>
> Longer udelay shouldn't cause trouble. Shorter one definitely would.

Hmm.

> > If that is going to cause problems, then we'll need to pull out the
> > use-pmtmr-for-delay_pmtmr patch. I guess our only option is then to use
> > the TSC for delay_pmtrm() (as a loop based delay fails in other cases).
> > I'll write that up and send it your way, Andrew.
>
> I've seen the PM timer breaking the mouse operation rather badly in the
> past, the lost-sync check was triggering for many people when the PM
> timer was used. This implies time inacurracy in the range of 0.5
> seconds. Could that happen somehow?

Not in a way that I yet understand. Do you see similar problems with
folks using clock=pit?

thanks
-john


2004-01-23 21:10:50

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: keyboard and USB problems (Re: 2.6.2-rc1-mm2)

On Fri, Jan 23, 2004 at 12:15:03PM -0800, john stultz wrote:

> > > If that is going to cause problems, then we'll need to pull out the
> > > use-pmtmr-for-delay_pmtmr patch. I guess our only option is then to use
> > > the TSC for delay_pmtrm() (as a loop based delay fails in other cases).
> > > I'll write that up and send it your way, Andrew.
> >
> > I've seen the PM timer breaking the mouse operation rather badly in the
> > past, the lost-sync check was triggering for many people when the PM
> > timer was used. This implies time inacurracy in the range of 0.5
> > seconds. Could that happen somehow?
>
> Not in a way that I yet understand. Do you see similar problems with
> folks using clock=pit?

Yes, I do. However in several cases using clock=pit cured the problem.
In other cases the problem was cured by killing a battery applet in X.

--
Vojtech Pavlik
SuSE Labs, SuSE CR

2004-01-23 23:29:10

by J.A. Magallon

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2


On 01.23, Andrew Morton wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc1/2.6.2-rc1-mm2/
>
>

Still have to try with -mm2, but with mm1, my i2c temp sensors are scaled by 10 !!
It is fun to read my processor runs at 400 ?C ;)

werewolf:/sys/bus/i2c/devices/1-0290# sensors -v
sensors version 2.8.2
werewolf:/sys/bus/i2c/devices/1-0290# cat temp_input1
38000
werewolf:/sys/bus/i2c/devices/1-0290# cat temp_input2
40000

??

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrake Linux release 10.0 (Cooker) for i586
Linux 2.6.2-rc1-jam1 (gcc 3.3.2 (Mandrake Linux 10.0 3.3.2-4mdk))

2004-01-24 00:28:39

by john stultz

[permalink] [raw]
Subject: [PATCH] use-tsc-for-delay_pmtmr.patch

On Fri, 2004-01-23 at 11:27, john stultz wrote:
> If that is going to cause problems, then we'll need to pull out the
> use-pmtmr-for-delay_pmtmr patch. I guess our only option is then to use
> the TSC for delay_pmtrm() (as a loop based delay fails in other cases).
> I'll write that up and send it your way, Andrew.

Andrew,
Here's the patch to replace use-pmtmr-for-delay_pmtmr. It simply uses
the TSC for delay_pmtmr much as delay_tsc does. The only gottcha is
that __delay will be affected by cpu-frequency changes (much as the
existing loop based delay) until I hook in the cpufreq notificaiton into
the ACPI PM timesource code. I'll get to that issue early next week
(sorry, I had a few other things I had to finish today).
Let me know if this solves the APIC trouble on your system and if so,
I'd be interested to see how it works in -mm.

thanks
-john

diff -Nru a/arch/i386/kernel/timers/timer_pm.c b/arch/i386/kernel/timers/timer_pm.c
--- a/arch/i386/kernel/timers/timer_pm.c Fri Jan 23 13:57:38 2004
+++ b/arch/i386/kernel/timers/timer_pm.c Fri Jan 23 13:57:38 2004
@@ -73,6 +73,10 @@
if (!pmtmr_ioport)
return -ENODEV;

+ /* we use the TSC for delay_pmtmr, so make sure it exists */
+ if (!cpu_has_tsc)
+ return -ENODEV;
+
/* "verify" this timing source */
value1 = read_pmtmr();
for (i = 0; i < 10000; i++) {
@@ -173,23 +177,16 @@
return ret;
}

-static void delay_pmtmr(unsigned long total_loops)
+static void delay_pmtmr(unsigned long loops)
{
- u32 then, now;
- unsigned long loops;
+ unsigned long bclock, now;

- do{
- if (total_loops > ACPI_PM_MASK)
- loops = ACPI_PM_MASK;
- else
- loops = total_loops;
- total_loops -= loops;
-
- then = read_pmtmr();
- do{
- now = read_pmtmr();
- } while (((now - then)&ACPI_PM_MASK) < loops);
- } while (total_loops);
+ rdtscl(bclock);
+ do
+ {
+ rep_nop();
+ rdtscl(now);
+ } while ((now-bclock) < loops);
}




2004-01-24 00:47:10

by Ed Tomlinson

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

On January 23, 2004 01:43 pm, Andrew Morton wrote:
> Ed Tomlinson <[email protected]> wrote:
> > Hi,
> >
> > This fails to boot here. Config is 2-rc1 updated with oldconfig. It
> > seems that it cannot find root.
>
> That's odd.

It turned out to be a distcc problem. I rebuilt locally and it booting ok
now...

Ed

2004-01-24 00:48:56

by Valdis Klētnieks

[permalink] [raw]
Subject: More timer/bogomip damage (was Re: keyboard and USB problems (Re: 2.6.2-rc1-mm2)

On Fri, 23 Jan 2004 10:46:53 PST, Andrew Morton said:

> > > BogoMIPS is figured out to be 8.19 (this was already reported by another
user),

> Disabling CONFIG_X86_PM_TIMER should fix it up too.

My Dell C840 got bit by the 8.19 bogomips too, and I found some MORE damage
caused by this.

2.6.2-rc1-mm1 with X86_PM_TIMER finds my Ethernet cards just fine.

2.6.2-rc1-mm2, the 3c59x driver fails to find the MAC address for the cards:
(the Xircom pcmcia (eth2 below) and Orinoco wireless (eth3) drivers *do* find
their cards):

% ip link show
1: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
2: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
4: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
6: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:10:a4:9c:a8:86 brd ff:ff:ff:ff:ff:ff
7: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:02:2d:5c:11:48 brd ff:ff:ff:ff:ff:ff

(eth0 is the onboard ethernet, eth1 was the one on the docking station). lspci says:

0000:02:00.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)

Building without X86_PM_TIMER the 3c905 is found:

% ip link show
1: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:06:5b:b9:5e:27 brd ff:ff:ff:ff:ff:ff
2: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
5: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:10:a4:9c:a8:86 brd ff:ff:ff:ff:ff:ff
6: eth5: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:02:2d:5c:11:48 brd ff:ff:ff:ff:ff:ff

(Am roaming and not docked, which is why the dock 3c905 isn't listed)




Attachments:
(No filename) (226.00 B)

2004-01-24 00:52:10

by Karol Kozimor

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

Thus wrote Andrew Morton:
> - There is a new debug check in here which drops a stack trace when a piece
> of code calls one of the sleep_on() functions without lock_kernel() held.
> This is almost certainly a bug. Please try to identify (from the trace)
> which subsystem is the culprit and copy its maintainer when reporting such
> traces.

#v+
Linux version 2.6.2-rc1-mm2 (sziwan@nadir) (gcc version 3.3.2) #11 Fri Jan 23 22:45:18 CET 2004
[...]
Badness in interruptible_sleep_on at kernel/sched.c:2230
Call Trace:
[<c011aa82>] interruptible_sleep_on+0xd1/0xd6
[<c011a784>] default_wake_function+0x0/0x12
[<c01df0b1>] pagebuf_daemon+0x0/0x230
[<c01df2c6>] pagebuf_daemon+0x215/0x230
[<c01df087>] pagebuf_daemon_wakeup+0x0/0x2a
[<c01df0b1>] pagebuf_daemon+0x0/0x230
[<c0109255>] kernel_thread_helper+0x5/0xb

[...]
XFS mounting filesystem hda5
Badness in interruptible_sleep_on at kernel/sched.c:2230
Call Trace:
[<c011aa82>] interruptible_sleep_on+0xd1/0xd6
[<c011a784>] default_wake_function+0x0/0x12
[<c01df2c6>] pagebuf_daemon+0x215/0x230
[<c01df087>] pagebuf_daemon_wakeup+0x0/0x2a
[<c01df0b1>] pagebuf_daemon+0x0/0x230
[<c0109255>] kernel_thread_helper+0x5/0xb

Ending clean XFS mount for filesystem: hda5
#v-

[there was more of that, omitted]
Best regards,

--
Karol 'sziwan' Kozimor
[email protected]

2004-01-24 07:00:58

by Greg KH

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2

On Sat, Jan 24, 2004 at 12:29:06AM +0100, J.A. Magallon wrote:
>
> On 01.23, Andrew Morton wrote:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.2-rc1/2.6.2-rc1-mm2/
> >
> >
>
> Still have to try with -mm2, but with mm1, my i2c temp sensors are scaled by 10 !!
> It is fun to read my processor runs at 400 ?C ;)
>
> werewolf:/sys/bus/i2c/devices/1-0290# sensors -v
> sensors version 2.8.2
> werewolf:/sys/bus/i2c/devices/1-0290# cat temp_input1
> 38000
> werewolf:/sys/bus/i2c/devices/1-0290# cat temp_input2
> 40000
>
> ??

Try using the latest version of lmsensors. It should handle the proper
scaling issues. If not, please let the lmsensors developers know.

thanks,

greg k-h

2004-01-25 15:54:47

by Jan Ischebeck

[permalink] [raw]
Subject: 2.6.2-rc1-mm2: sleep_on_timeout with parport

Trying to print without switching the printer on I got the following
error messages.

lp0 out of paper
Badness in interruptible_sleep_on_timeout at kernel/sched.c:2245
Call Trace:
[<c0121a6f>] interruptible_sleep_on_timeout+0x10f/0x120
[<c0121500>] default_wake_function+0x0/0x20
[<e0a34e5f>] parport_release+0x7f/0x140 [parport]
[<e0a10180>] lp_error+0x40/0xc0 [lp]
[<e0a10289>] lp_check_status+0x89/0xd0 [lp]
[<e0a10318>] lp_wait_ready+0x48/0x80 [lp]
[<e0a1066a>] lp_write+0x31a/0x3e0 [lp]
[<e0a10350>] lp_write+0x0/0x3e0 [lp]
[<c015bee8>] vfs_write+0xb8/0x130
[<c02f298c>] common_interrupt+0x18/0x20
[<c015c012>] sys_write+0x42/0x70
[<c02f1fa7>] syscall_call+0x7/0xb


--
Jan Ischebeck <[email protected]>

2004-01-25 17:57:26

by Al Viro

[permalink] [raw]
Subject: Re: 2.6.2-rc1-mm2: sleep_on_timeout with parport

On Sun, Jan 25, 2004 at 04:55:01PM +0100, Jan Ischebeck wrote:
> Trying to print without switching the printer on I got the following
> error messages.
>
> lp0 out of paper
> Badness in interruptible_sleep_on_timeout at kernel/sched.c:2245
> Call Trace:
> [<c0121a6f>] interruptible_sleep_on_timeout+0x10f/0x120
> [<c0121500>] default_wake_function+0x0/0x20
> [<e0a34e5f>] parport_release+0x7f/0x140 [parport]

Yeah... parport locking primitives (and, frankly, the rest of parport
API) apparently had been designed on serious drugs.

I'm cleaning up that crap; some patches are already in -mm, more will
follow. In particular, yes, parprt_claim()/parport_claim_or_block()/
parport_release() is racy and most of the users have problems with
missing wakeups.