* 2.6.22-rc3-mm1
@ 2007-05-31 6:58 Andrew Morton
2007-05-31 12:09 ` 2.6.22-rc3-mm1 Cornelia Huck
` (7 more replies)
0 siblings, 8 replies; 42+ messages in thread
From: Andrew Morton @ 2007-05-31 6:58 UTC (permalink / raw)
To: linux-kernel
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
- Merged the convert-cpusets-to-container-infrastructure patches. These
will probably be dropped and redone.
Boilerplate:
- See the `hot-fixes' directory for any important updates to this patchset.
- To fetch an -mm tree using git, use (for example)
git-fetch git://git.kernel.org/pub/scm/linux/kernel/git/smurf/linux-trees.git tag v2.6.16-rc2-mm1
git-checkout -b local-v2.6.16-rc2-mm1 v2.6.16-rc2-mm1
- -mm kernel commit activity can be reviewed by subscribing to the
mm-commits mailing list.
echo "subscribe mm-commits" | mail majordomo@vger.kernel.org
- If you hit a bug in -mm and it is not obvious which patch caused it, it is
most valuable if you can perform a bisection search to identify which patch
introduced the bug. Instructions for this process are at
http://www.zip.com.au/~akpm/linux/patches/stuff/bisecting-mm-trees.txt
But beware that this process takes some time (around ten rebuilds and
reboots), so consider reporting the bug first and if we cannot immediately
identify the faulty patch, then perform the bisection search.
- When reporting bugs, please try to Cc: the relevant maintainer and mailing
list on any email.
- When reporting bugs in this kernel via email, please also rewrite the
email Subject: in some manner to reflect the nature of the bug. Some
developers filter by Subject: when looking for messages to read.
- Occasional snapshots of the -mm lineup are uploaded to
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/ and are announced on
the mm-commits list.
Changes since 2.6.22-rc2-mm1:
origin.patch
git-acpi.patch
git-alsa.patch
git-avr32.patch
git-cifs.patch
git-cpufreq.patch
git-drm.patch
git-dvb.patch
git-gfs2-nmw.patch
git-hid.patch
git-ieee1394.patch
git-input.patch
git-kbuild.patch
git-kvm.patch
git-leds.patch
git-libata-all.patch
git-md-accel.patch
git-mips.patch
git-mmc.patch
git-mtd.patch
git-ubi.patch
git-netdev-all.patch
git-net.patch
git-backlight.patch
git-battery.patch
git-ioat.patch
git-ioat-vs-git-md-accel.patch
git-nfs.patch
git-nfs-server-cluster-locking-api.patch
git-ocfs2.patch
git-parisc.patch
git-r8169.patch
git-selinux.patch
git-pciseg.patch
git-s390.patch
git-sh.patch
git-scsi-misc.patch
git-scsi-rc-fixes.patch
git-scsi-target.patch
git-unionfs.patch
git-watchdog.patch
git-wireless.patch
git-ipwireless_cs.patch
git-newsetup.patch
git-xfs.patch
git-cryptodev.patch
git-xtensa.patch
git-gccbug.patch
git trees
-powerpc-fix.patch
-freezer-close-potential-race-between-refrigerator-and-thaw_tasks.patch
-freezer-fix-vfork-problem.patch
-freezer-take-kernel_execve-into-consideration.patch
-freezer-fix-kthread_create-vs-freezer-theoretical-race.patch
-freezer-fix-pf_nofreeze-vs-freezeable-race.patch
-freezer-move-frozen_process-to-kernel-power-processc.patch
-ignore-bogus-acpi-info-for-offline-cpus.patch
-slub-debug-fix-object-size-calculation.patch
-fuse-fix-mknod-of-regular-file.patch
-mpc52xx_psc_spi-fix-it-for-config_ppc_merge.patch
-spi-doc-update-describe-clock-mode-bits.patch
-nohz-rate-limit-the-local-softirq-pending-warning-output.patch
-genhd-expose-an-to-user-space.patch
-genhd-send-async-notification-on-media-change.patch
-capabilityh-warning-fix.patch
-remove-unused-header-file-arch-arm-mach-s3c2410-basth.patch
-avr32-ratelimit-segfault-reporting-rate.patch
-cifs-oops-fix.patch
-powerpc-fix-kconfig-select-warning-with-ucc_fast.patch
-8xx-mpc885ads-pcmcia-support-fix.patch
-gregkh-driver-howto-removing-duplicated-entry.patch
-drm-spinlock-initializer-cleanup.patch
-cinergyt2-fix-file-release-handler.patch
-saa7111-fix-picture-settings-cache-bug.patch
-jdelvare-i2c-i2c-legacy-drivers-shouldnt-issue-uevents.patch
-jdelvare-i2c-i2c-usb-tiny-fix-name-length.patch
-jdelvare-i2c-i2c-s3c2410-fix-build-warning.patch
-jdelvare-hwmon-hwmon-ds1621-swapped-limits.patch
-jdelvare-hwmon-hwmon-coretemp-add-more-safety-checks.patch
-jdelvare-hwmon-hwmon-w83627hf-quiet-when-no-chip.patch
-dave-broke-gfs2-26-nmwgit.patch
-use-menuconfig-objects-ii-kvm-virt.patch
-libata-acpi-add-infrastructure-for-drivers-to-use.patch
-pata_acpi-restore-driver-vs-libata-clean-up-sff-init-mess-fix.patch
-optional-led-trigger-for-libata.patch
-libata-add-support-for-ata_16-on-atapi.patch
-drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61.patch
-drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61-fix.patch
-drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61-fix-tidy.patch
-cleanup-libata-hpa-support.patch
-cleanup-libata-hpa-support-fix.patch
-hpt3x2n-correct-revision-boundary.patch
-pata_sis-fix-and-clean-up-some-timing-setups.patch
-ide-aec62xx-kill-speedproc-method-wrapper.patch
-ide-warning-fixes.patch
-ide-add-seagate-stt20000a-to-dma-blacklist.patch
-git-md-accel-build-fix.patch
-sundance-change-phy-address-search-from-phy=1-to-phy=0.patch
-forcedeth-add-vitesse-phy.patch
-forcedeth-fix-power-management-support.patch
-forcedeth-fix-cpu-irq-mask.patch
-forcedeth-version-bump.patch
-use-mutex-instead-of-binary-semaphore-in-idt77252-driver.patch
-use-menuconfig-objects-dccp.patch
-use-menuconfig-objects-ipvs.patch
-use-menuconfig-objects-sctp.patch
-use-menuconfig-objects-tipc.patch
-use-menuconfig-objects-arcnet.patch
-use-menuconfig-objects-toeknring.patch
-af_rxrpc-af_rxrpc-depends-on-ipv4.patch
-af_rxrpc-make-call-state-names-available-if-config_proc_fs=n.patch
-xfrm_algo-warning-fixes.patch
-round_up-macro-cleanup-in-drivers-parisc.patch
-pci-quirks-disable-msi-on-rs400-200-and-rs480.patch
-drivers-scsi-advansysc-cleanups.patch
-remove-unnecessary-check-in-drivers-scsi-sgc.patch
-drivers-scsi-ncr5380c-replacing-yield-with-a.patch
-scsi-cover-up-bugs-fix-up-compiler-warnings-in-megaraid-driver.patch
-fdomainc-get-rid-of-unused-stuff.patch
-scsi-fix-config_scsi_wait_scan=m.patch
-scsi-use-irq_handler_t-where-appropriate.patch
-drivers-scsi-ipsc-remove-kernel-24-code.patch
-drivers-scsi-nsp32c-remove-kernel-24-code.patch
-aic94xx-asd_clear_nexus-should-fail-if-the-cleared-task-does-not-complete.patch
-scsi-megaraid_sas-intercepts-cmd-timeout-and-throttle-io.patch
-scsi-remove-__gfp_dma.patch
-ncr5380-warning-fixes.patch
-gregkh-usb-usb-fix-omninet-memory-leak-found-by-coverity.patch
-gregkh-usb-usb-remove-useless-check-in-mos7840-found-by-coverity.patch
-gregkh-usb-usb-storage-ignore-sitecom-wl-117-usb-wlan.patch
-gregkh-usb-usb-fix-more-ftdi-elan-u132-hcd-include-lossage.patch
-gregkh-usb-usb-handle-more-rndis_host-oddities.patch
-gregkh-usb-usb-remove-usb-docbook-warnings.patch
-gregkh-usb-usb-address-fixme-in-usbnet-wrt-drivers-claiming-multiple-interfaces.patch
-gregkh-usb-ehci-fix-problem-with-bios-handoff.patch
-gregkh-usb-usb-more-autosuspend-timer-stuff.patch
-gregkh-usb-usb-remove-unneeded-warn_on.patch
-gregkh-usb-usb-new-device-pid-for-ftdi_sio-driver.patch
-gregkh-usb-usb-set-the-correct-interrupt-interval-in-usb_bulk_msg.patch
-gregkh-usb-usb-fsl_usb2_udc-fix-umti_wide-support-and-a-compile-warning.patch
-gregkh-usb-usb-auerswald-fix-file-release-handler.patch
-gregkh-usb-usb-remove-duplicate-ids-from-option-card-driver.patch
-gregkh-usb-usb-deref-urb-after-usbmon-is-done-with-it.patch
-gregkh-usb-usb-remove-short-initial-timeout-for-device-descriptor-fetch.patch
-gregkh-usb-usb-don-t-try-to-kzalloc-0-bytes.patch
-gregkh-usb-usb-onetouch-switch-to-using-input_dev-devparent.patch
-gregkh-usb-usb-fix-debug-output-of-ark3116.patch
-gregkh-usb-usb-usblp-use-correct-dma-address-in-case-of-probe-error.patch
-gregkh-usb-usb-fix-usb-ohci-subvendor-for-toshiba-portege-4000.patch
-gregkh-usb-usb-make-the-autosuspend-workqueue-thread-freezable.patch
-gregkh-usb-usb-handle-errors-in-power-level-attribute.patch
-gregkh-usb-usb-fix-ratelimit-call-semantics.patch
-gregkh-usb-usb-fix-race-between-autosuspend-and-unregister-for-root-hubs.patch
-usb-core-hubc-loops-forever-on-resume-from-ram-due-to.patch
-watchdog-documentation.patch
-drivers-net-wireless-libertas-rxc-fix.patch
-arch-x86_64-vdso-vmac-needs-schedh.patch
-x86_64-build-and-use-gdt-on-copied-compressed-kernel.patch
-i386-efi-fix-proc-iomem-type-for-kexec-tools.patch
-bug-in-i386-mtrr-initialization.patch
-xfs-clean-up-shrinker-games.patch
-xfs-use-zero_user_page.patch
-prohibit-rcutorture-from-being-compiled-into-the-kernel.patch
-avoid-zero-size-allocation-in-cache_k8_northbridges.patch
-recalc_sigpending_tsk-fixes.patch
-optimize-compat_core_sys_select-by-a-using-stack-space-for-small-fd-sets.patch
-spi-potential-memleak-in-spidev_ioctl.patch
-fbdev-cleanup-of-sparc-fb-options.patch
-pm2fb-rdac_wr-barriers-clean-up.patch
-pm3fb-various-fixes.patch
-w100fb-fix-compile-warnings.patch
-ps3fb-use-fb_sys_-instead-of-fb_cfb_.patch
-imxfb-remove-ifdefs.patch
-imxfb-fix-memory-hole.patch
-missing-const-from-reiserfs-min_key-declaration.patch
-uselib-add-missing-mnt_noexec-check.patch
x86_64-allocate-sparsemem-memmap-above-4g.patch
-x86_64-allocate-sparsemem-memmap-above-4g-fix.patch
-fuse-generic_write_checks-for-direct_io.patch
-fuse-delete-inode-on-drop.patch
-slub-debug-fix-check-for-super-sized-slabs-512k-64bit-256k.patch
-char-cyclades-fix-deadlock.patch
-simplify-cleanup_workqueue_thread.patch
-simplify-cleanup_workqueue_thread-fix.patch
-simplify-cleanup_workqueue_thread-fix2.patch
-misc-phantom-move-to-unlocked_ioctl.patch
-misc-misc-phantom-move-to-unlocked_ioctl-fix.patch
-misc-phantom-take-care-of-pci-posting.patch
-power-fix-sizeofpage_size-typo.patch
-update-dontdiff-file.patch
-signalfd-retrieve-multiple-signals-with-one-read-call.patch
-signalfd-retrieve-multiple-signals-with-one-read-call-tidy.patch
-i2o-destroy-event-queue-only-when-drv-event-is-set.patch
-i2o-fix-notifiers-when-max_drivers-is-configured.patch
-i2o-eliminate-a-peculiar-constraint-on-i2o_max_drivers.patch
-i386-x86-64-show-that-config_hotplug_cpu-is-required-for-suspend-on-smp.patch
-md-avoid-overflow-in-raid0-calculation-with-large-components.patch
-md-dont-write-more-than-is-required-of-the-last-page-of-a-bitmap.patch
-md-fix-bug-with-linear-hot-add-and-elsewhere.patch
-hisax-fix-error-checking-for-hisax_register.patch
-sch_htb-fix-event-cache-time-calculation.patch
-applesmc-sensors-patch-missing-from-2622-rc2.patch
-off-by-one-in-floppyc.patch
-ecryptfs-delay-writing-0s-after-llseek-until-write.patch
-doc-clocksources.patch
-ehci-fsl-fix-cache-coherency-problem-on-system-with-large-memory.patch
-prevent-going-idle-with-softirq-pending.patch
-i386-fix-early-usage-of-atomic_add_return-and.patch
-omap_uwire-spi_cpha-mode-bugfix.patch
-ads7846-spi_cpha-mode-bugfix.patch
-capifunc-warning-fixes.patch
-hardware-eicon-messagec-warning-fixes.patch
-delete-every-useless-reference-to-noret_type-in-the-tree.patch
-ext4-copy-i_flags-to-inode-flags-on-write.patch
-firestream-warnings.patch
Merged into mainline or a subsystem tree
+slub-more-documentation.patch
+slub-more-documentation-fix.patch
+smpboot-cachesize-comparison-fix-in-smp_tune_scheduling.patch
+pci-quirks-fix-msi-disabling-on-rs400-200-and-rs480.patch
+ntfs_init_locked_inode-fix-array-indexing.patch
+m68k-runtime-patching-infrastructure.patch
+slub-fix-numa--sysfs-bootstrap-issue.patch
+afs-needs-schedh.patch
+m68k-discontinuous-memory-support.patch
2.6.22 queue
+mm-fix-fault-vs-invalidate-race-for-linear-mappings-fix.patch
Fix mm-fix-fault-vs-invalidate-race-for-linear-mappings.patch
+lots-of-architectures-enable-arbitary-speed-tty-support.patch
tty work
+remove-dell-optiplex-gx240-from-the-acpi-blacklist.patch
ACPI fix
-use-menuconfig-objects-ii-sound.patch
Dropped, being redone
-working-3d-dri-intel-agpko-resume-for-i815-chip-tidy.patch
-working-3d-dri-intel-agpko-resume-for-i815-chip-update.patch
Folded into working-3d-dri-intel-agpko-resume-for-i815-chip.patch
+intel_agp-cleanup-intel-private-data.patch
+intel_agp-cleanup-intel-private-data-update.patch
+intel_agp-use-table-for-device-probe.patch
+intel_agp-use-table-for-device-probe-update.patch
AGP stuff
+dm-add-missing-braces-in-driver-debug-code.patch
DM fix
+ppc-remove-dead-code-for-preventing-pread-and-pwrite-calls.patch
+viotape-use-designated-initializers-for-fops-member.patch
powerpc fixes
+gregkh-driver-driver-core-add-missing-kset-uevent.patch
+gregkh-driver-sysfs-make-sysfs_alloc_ino-static.patch
+gregkh-driver-sysfs-fix-parent-refcounting-during-rename-and-move.patch
+gregkh-driver-sysfs-reorganize-sysfs_new_indoe-and-sysfs_create.patch
+gregkh-driver-sysfs-use-iget_locked-instead-of-new_inode.patch
+gregkh-driver-sysfs-fix-root-sysfs_dirent-root-dentry-association.patch
+gregkh-driver-sysfs-move-s_active-functions-to-fs-sysfs-dirc.patch
+gregkh-driver-sysfs-slim-down-sysfs_dirent-s_active.patch
+gregkh-driver-sysfs-use-singly-linked-list-for-sysfs_dirent-tree.patch
Driver tree updates
+jdelvare-i2c-i2c-mv64xxx-numbered-adapter.patch
+jdelvare-i2c-i2c-mpc-numbered-adapter.patch
+jdelvare-i2c-i2c-nforce2-add-smbus-block-transactions.patch
I2C tree updates
+jdelvare-hwmon-hwmon-pc87360-to-platform-driver.patch
+jdelvare-hwmon-hwmon-use-platform_device_add_data.patch
+jdelvare-hwmon-hwmon-lm90-add-max6681-support.patch
+jdelvare-hwmon-hwmon-fault-file-name.patch
+jdelvare-hwmon-hwmon-it87-add-it8726f-support.patch
+jdelvare-hwmon-hwmon-w83627hf-pwm-freq-support.patch
hwmon tree udpates
+hdaps-switch-to-using-input-polldev.patch
+applesmc-switch-to-using-input-polldev.patch
+ams-switch-to-using-input-polldev.patch
Update some monitoring drivers for new input APIs
+ia64-arbitary-speed-tty-ioctl-support.patch
tty work
+joydevc-automatic-re-calibration.patch
+drivers-input-mouse-kconfig-fix-typo.patch
Inupt updates
+use-posix-bre-in-headers-install-target.patch
kbuild fix
-git-leds-fixup.patch
Unneeded
-libata-add-human-readable-error-value-decoding-v2.patch
Folded into libata-add-human-readable-error-value-decoding.patch
+ide-aec62xx-kill-speedproc-method-wrapper-take-2.patch
+ide-ide_in_drive_list-accept-null-as-the-wildcard-for-firmware-revision.patch
+ide-mips-au1xxx_ide-h-use-null-as-firmware-revision-wildcard.patch
+ide-ide_in_drive_list-all-is-not-a-wildcard-anymore.patch
IDE tree updates
-nommu-make-it-possible-for-romfs-to-use-mtd-devices-fix.patch
Folded into nommu-make-it-possible-for-romfs-to-use-mtd-devices.patch
-use-mutex-instead-of-semaphore-in-the-mtd-st-m25pxx-driver-build-fix.patch
Folded into use-mutex-instead-of-semaphore-in-the-mtd-st-m25pxx-driver.patch
+atari_pamsnetc-old-declaration-ritchie-style-fix.patch
netdev fix
+wrong-timeout-value-in-sk_wait_data-v2-fix.patch
+atm-fix-warning.patch
net stuff
+bluetooth-remove-the-redundant-non-seekable-llseek-method.patch
Bluetooth fix
-sunrpc-rename-rpcb_getport_external-routine.patch
-sunrpc-rename-rpcb_getport-to-be-consistent-with-new-rpcb_getport_sync-name.patch
-nfs-remake-nfsroot_mount-as-a-permanent-part-of-nfs-client.patch
-nfs-clean-up-in-kernel-nfs-mount.patch
-nfs-improve-debugging-output-in-nfs-in-kernel-mount-client.patch
-nfs-new-infrastructure-for-nfs-client-in-kernel-mount-option-parsing.patch
-nfs-add-functions-to-parse-nfs-mount-options-to-fs-nfs-superc.patch
-nfs-implement-nfsv2-3-in-kernel-mount-option-parsing.patch
-nfs-add-functions-to-parse-nfs4-mount-options-to-fs-nfs-superc.patch
-nfs-move-nfs_copy_user_string.patch
-nfs-more-nfs4-in-kernel-mount-option-parsing-infrastructure.patch
-nfs-integrate-support-for-processing-nfs4-mount-options-in-fs-nfs-superc.patch
Dropped, being redone
-serial-use-resource_size_t-for-port-io-addresses.patch
-serial-set-dtr-in-uart-for-kernel-serial-console.patch
Dropped
+gregkh-pci-pci_bridge-device.patch
PCI tree update
+allow-aer-to-build-for-config_acpi-=-n.patch
AER fix
+git-scsi-misc-fixup.patch
Fix rejects in git-scsi-misc.patch
+remove-dead-references-to-module_parm-macro.patch
+scsi-lpfc-lpfc_initc-remove-unused-variable.patch
scsi updates
+block-device-elevator-use-list_for_each_entry-instead-of-list_for_each.patch
elevator cleanup
+sparc32-build-fix.patch
Fix sparc32 build
+gregkh-usb-usb-set-default-y-for-config_usb_device_class.patch
+gregkh-usb-usblp-don-t-let-suspend-to-kill-used.patch
+gregkh-usb-usb-usb-gadgets-avoid-le-16-32-_to_cpup.patch
+gregkh-usb-usb-unusual_dev-sync-up-some-reported-devices-from-ubuntu.patch
+gregkh-usb-usb-oti6858-usb-serial-driver.patch
+gregkh-usb-usbmon-add-class-for-binary-interface.patch
+gregkh-usb-usb-add-usb-persist-facility.patch
+gregkh-usb-usb-ehci-ohci-handover-changes.patch
+gregkh-usb-usb-add-reset_resume-device-quirk.patch
+gregkh-usb-usb-ehci-fix-handover-for-designated-full-speed-ports.patch
+gregkh-usb-usb-make-device-reset-stop-retrying-after-disconnect.patch
+gregkh-usb-usb-io_ti-digi-edgeport-update-for-new-devices.patch
+gregkh-usb-usb-patch-to-align-the-various-usb-timers-to-fire-at-the-same-time.patch
+gregkh-usb-usb-rts-cts-handshaking-support-dtr-fixes-for-mct-u232-serial-adapter.patch
+gregkh-usb-usb-usb-gadget-dead-config-cleanup.patch
+gregkh-usb-usb-add-usb_device_and_interface_info-for-device-matching.patch
+gregkh-usb-usb-hubc-loops-forever-on-resume-from-ram-due-to-bluetooth.patch
+gregkh-usb-usb-prevent-char-device-open-deregister-race.patch
+gregkh-usb-usb-rework-c-style-comments.patch
+gregkh-usb-usb-ftdi_sioc-allow-setting-latency-timer-on-ft232rl.patch
+gregkh-usb-usb-ehci-big-endian-data-structures-support.patch
+gregkh-usb-usb-set-config_usb_ehci_big_endian_mmio-_desc-in-usb-host-kconfig.patch
+gregkh-usb-usb-ehci_fsl-update-for-mpc831x-support.patch
+gregkh-usb-usb-use-function-attribute-__maybe_unused.patch
+gregkh-usb-usb-export-linux-usb_gadgetfs-as-linux-usb-gadgetfsh.patch
+gregkh-usb-usb-visor-driver-adapted-to-new-tty-buffering.patch
+gregkh-usb-usb-ti-serial-driver-sleeps-with-spinlock-held.patch
+gregkh-usb-usb-digi-acceleport-adapted-to-new-tty-buffering.patch
+gregkh-usb-usb-generic-usb-serial-to-new-buffering-scheme.patch
+gregkh-usb-pl2303c-patch.patch
+gregkh-usb-usb-usb-serial-gadget-sparse-fixes.patch
+gregkh-usb-usb-core-hubc-prevent-re-enumeration-on-hnp.patch
+gregkh-usb-usb-introduce-usb_anchor.patch
+gregkh-usb-usb-usb-skeleton-use-anchor-to-implement-flush.patch
+gregkh-usb-usb-whiteheat-driver-update.patch
+gregkh-usb-usb-digi_acceleport-further-buffer-clean-up.patch
+gregkh-usb-usb-ehci-safe-endianness-for-transfer-buffers-after-reset-in-case-of-hub-with-tt.patch
USB tree updates
+make-usb-autosuspend-timer-1-sec-jiffy-aligned.patch
+drivers-block-ubc-use-list_for_each_entry.patch
USB fixes
+use-list_for_each_entry-for-iteration-in-prism-54-driver.patch
+b44-ssb-fix-an-invalid-pointer-casting.patch
Wireless fixes
+x86_64-mm-via-no-dac.patch
+x86_64-mm-bug-in-i386-mtrr-initialization.patch
+x86_64-mm-mtrr-sections.patch
+x86_64-mm-allocate-sparsemem-memmap-above-4g-on-x86_64.patch
+x86_64-mm-asm-ptrace_h-needs-linux-compiler_h.patch
+x86_64-mm-gcc-hot-cold.patch
+x86_64-mm-on-cpu-single.patch
+x86_64-mm-xen-add-an-mm-argument-to-alloc_pt.patch
+x86_64-mm-xen-add-a-hook-for-once-the-allocator-is-ready.patch
+x86_64-mm-xen-increase-irq-limit.patch
+x86_64-mm-xen-unstatic-leave_mm.patch
+x86_64-mm-xen-unstatic-smp_store_cpu_info.patch
+x86_64-mm-xen-make-siblingmap-functions-visible.patch
+x86_64-mm-xen-export-__supported_pte_mask.patch
+x86_64-mm-xen-core-xen-implementation.patch
-x86_64-mm-core-xen-implementation.patch
-x86_64-mm-xen-event-channels.patch
+x86_64-mm-xen-xen-event-channels.patch
+x86_64-mm-xen-add-pinned-page-flag.patch
-x86_64-mm-xen-fix-multicall-batching.patch
-x86_64-mm-xen-deal-with-negative-stolen-time.patch
+x86_64-mm-xen-hack-to-prevent-bad-segment-register-reload.patch
-x86_64-mm-xen-add-early-printk-support-via-hvc-console.patch
-x86_64-mm-xen-rename-xen-netif_-structures-to-xen_netif.patch
+revert-x86_64-mm-allocate-sparsemem-memmap-above-4g-on-x86_64.patch
x86 tree updates
-mmconfig-x86_64-i386-insert-unclaimed-mmconfig-resources-fix.patch
-mmconfig-x86_64-i386-insert-unclaimed-mmconfig-resources-update.patch
Folded into mmconfig-x86_64-i386-insert-unclaimed-mmconfig-resources.patch
+x86_64-pm_trace-support.patch
+make-alt-sysrq-p-display-the-debug-register-contents.patch
+i386-flush_tlb_kernel_range-add-reference-to-the-arguments.patch
x86 things
+add-select-phylib-to-the-ucc_geth-kconfig-option.patch
+m68k-parenthesis-balance.patch
+msi-fix-the-ordering-of-msix-irqs.patch
+msi-mask-the-msix-vector-before-we-unmap-it.patch
+potential-parse-error-in-ifdef.patch
+potential-parse-error-in-ifdef-fix.patch
+potential-parse-error-in-ifdef-update.patch
+pci_ids-update-patch-for-intel-ich9m.patch
+x86-fix-oprofile-double-free-was-re-multiple-free.patch
+work-around-dell-e520-bios-reboot-bug.patch
+skeletonfb-fix-of-xxxfb_setup-ifdef.patch
+vt8623fb-arkfb-null-pointer-dereference-fix.patch
+cfag12864bfb-use-sys_-instead-of-cfb_-framebuffer-accessors.patch
+fbdev-move-declaration-of-fb_class-to-linux-fbh.patch
+misc-tifm_7xx1-replace-deprecated-irq-flag.patch
+add-a-trivial-patch-style-checker-v2.patch
+rtc-use-fallback-irq-if-pnp-tables-dont-provide-one.patch
+memory-hotplug-fix-unnecessary-calling-of-init_currenty_empty_zone.patch
+missing-include-linux-mmh-in-drivers-sbus-char-flashc.patch
+tty-fix-leakage-of-erestartsys-to-userland.patch
+isdn4linux-fix-maturity-label-v4.patch
+prism54-maintainers-update.patch
+aacraid-fix-shutdown-handler-to-also-disable-interrupts.patch
+atmel_spi-dma-address-bugfix.patch
+neofb-fix-pseudo_palette-array-overrun-in-neofb_setcolreg.patch
+ramfs-nommu-a-bug-in-ramfs_nommu_resize-function-passing-old-size-to-vmtruncate.patch
+h8300-trival-patches.patch
+vmscan-give-referenced-active-and-unmapped-pages-a-second-trip-around-the-lru.patch
2.6.22 probable-queue
+rework-ptep_set_access_flags-and-fix-sun4c.patch
+unmap_vm_area-becomes-unmap_kernel_range-for-the-public.patch
MM updates
-lazy-freeing-of-memory-through-madv_free.patch
-restore-madv_dontneed-to-its-original-linux-behaviour.patch
Dropped
-add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated-fix-alloc_zeroed_user_highpage-on-m68knommu.patch
-add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated-mark-bio_alloc-allocations-correctly.patch
-add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated-rename-gfp_high_movable-to-gfp_highuser_movable.patch
-add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated-mark-page-cache-pages-as-__gfp_pagecache-instead-of-__gfp_movable.patch
Folded into add-__gfp_movable-for-callers-to-flag-allocations-from-high-memory-that-may-be-migrated.patch
-move-free-pages-between-lists-on-steal-anti-fragmentation-switch-over-to-pfn_valid_within.patch
Folded into move-free-pages-between-lists-on-steal.patch
-group-short-lived-and-reclaimable-kernel-allocations-use-slab_account_reclaim-to-determine-when-__gfp_reclaimable-should-be-used.patch
-group-short-lived-and-reclaimable-kernel-allocations-use-slab_account_reclaim-to-determine-when-__gfp_reclaimable-should-be-used-fix.patch
-group-short-lived-and-reclaimable-kernel-allocations-do-not-annotate-shmem-allocations-explicitly.patch
-group-short-lived-and-reclaimable-kernel-allocations-add-__gfp_temporary-to-identify-allocations-that-are-short-lived.patch
Folded into group-short-lived-and-reclaimable-kernel-allocations.patch
-dont-group-high-order-atomic-allocations-remove-unused-parameter-to-allocflags_to_migratetype.patch
Folded into dont-group-high-order-atomic-allocations.patch
+breakout-page_order-to-internalh-to-avoid-special-knowledge-of-the-buddy-allocator.patch
Update the page mobility patches in -mm
+slub-change-error-reporting-format-to-follow-lockdep-loosely.patch
+slub-change-error-reporting-format-to-follow-lockdep-loosely-fix.patch
Slub updates
+freezer-make-kernel-threads-nonfreezable-by-default.patch
+freezer-make-kernel-threads-nonfreezable-by-default-fix.patch
+freezer-make-kernel-threads-nonfreezable-by-default-fix-fix.patch
Freezer fixes
+blackfin-enable-arbitary-speed-serial-setting.patch
blackfin driver update
+h8300-enable-arbitary-speed-tty-port-setup.patch
tty work
+arm26-enable-arbitary-speed-tty-ioctls-and-split.patch
+arm26-remove-broken-and-unused-macro.patch
arm26 updates
+freezer-run-show_state-when-freezing-times-out.patch
+pm-do-not-require-dev-spew-to-get-pm_debug.patch
+swsusp-remove-incorrect-code-from-userc.patch
+swsusp-remove-code-duplication-between-diskc-and-userc.patch
+swsusp-introduce-restore-platform-operations.patch
+swsusp-fix-hibernation-code-ordering.patch
+hibernation-prepare-to-enter-the-low-power-state.patch
+freezer-avoid-freezing-kernel-threads-prematurely.patch
+freezer-use-__set_current_state-in-refrigerator.patch
+freezer-return-int-from-freeze_processes.patch
+freezer-remove-redundant-check-in-try_to_freeze_tasks.patch
freezer/swsusp updates
+m32r-enable-arbitary-speed-tty-rate-setting.patch
tty work
+etrax-enable-arbitary-speed-setting-on-tty-ports.patch
+cris-replace-old-style-member-inits-with-designated-inits.patch
CRIS updates
+v850-enable-arbitary-speed-tty-ioctls.patch
TTY work
-add-lzo1x-compression-support-to-the-kernel.patch
-add-lzo1x-compression-support-to-the-kernel-fix.patch
-add-lzo1x-compression-support-to-the-kernel-tidy.patch
Dropped
-add-notime-boot-option.patch
Dropped
+define-new-percpu-interface-for-shared-data.patch
+use-the-new-percpu-interface-for-shared-data.patch
+introduce-config_virt_to_bus.patch
+pie-randomization.patch
+remove-unused-tif_notify_resume-flag.patch
+rocketc-fix-unchecked-mutex_lock_interruptible.patch
+only-send-sigxfsz-when-exceeding-rlimits.patch
+rtc-ratelimit-lost-interrupts-message.patch
+reduce-cpusetc-write_lock_irq-to-read_lock.patch
+reduce-cpusetc-write_lock_irq-to-read_lock-fix.patch
+char-n_hdlc-allow-restartsys-retval-of-tty-write.patch
+afs-implement-file-locking.patch
+tty_io-use-kzalloc.patch
+remove-clockevents_releaserequest_device.patch
+kconfig-no-strange-misc-devices.patch
+afs-drop-explicit-extern.patch
+remove-useless-tolower-in-isofs.patch
+char-mxser_new-fix-sparse-warning.patch
+char-tty_ioctl-use-wait_event_interruptible_timeout.patch
+char-tty_ioctl-little-whitespace-cleanup.patch
+char-genrtc-use-wait_event_interruptible.patch
+char-n_r3964-use-wait_event_interruptible.patch
+char-ip2-use-msleep-for-sleeping.patch
+proc-environ-wrong-placing-of-ptrace_may_attach-check.patch
+udf-coding-style-conversion-lindent.patch
+udf-coding-style-conversion-lindent-fixups.patch
+ext2-fix-a-comment-when-ext2_release_file-is-called.patch
+mutex_unlock-later-in-seq_lseek.patch
+zs-move-to-the-serial-subsystem.patch
+fs-block_devc-use-list_for_each_entry.patch
+fault-injection-add-min-order-parameter-to-fail_page_alloc.patch
+fault-injection-fix-example-scripts-in-documentation.patch
+add-printktime-option-deprecate-time.patch
+fs-clarify-dummy-member-in-struct.patch
+dma-mapping-prevent-dma-dependent-code-from-linking-on.patch
Misc
-ext4-extent-overlap-bugfix.patch
-ext4-persistent_allocation_1_ioctl_and_unitialized_extents.patch
-ext4-persistent_allocation_2_support_for_writing_to_unitialized_extent.patch
+ext4-ext4_remove_exported_symbles.patch
+ext4-ext4-fallocate-4-extent_overlap_bugfix.patch
+ext4-ext4-free-blocks-on-insert-extent-failure.patch
+ext4-ext4_extents_on_by_default.patch
+ext4-ext4-propagate_flags.patch
+ext4-ext4-extent-sanity-checks.patch
+ext4-ext4-fallocate-5-ext4_support.patch
+ext4-ext4-fallocate-6-uninit_write_support.patch
+ext4-ext4_expand_inode_extra_isize.patch
+ext4-ext4_expand_inode_isize_fix.patch
+ext4-jbd-stats-through-procfs.patch
+ext4-ext4_remove_subdirs_limit.patch
ext4 tree updates
+spi-add-3wire-mode-flag-fix.patch
+spidev-compiler-warning-gone.patch
SPI updates
-use-menuconfig-objects-ii-isdn.patch
+update-isdn-tree-to-use-pci_get_device.patch
+use-menuconfig-objects-isdn-config_isdn.patch
+use-menuconfig-objects-isdn-config_isdn_i4l.patch
+use-menuconfig-objects-isdn-config_isdn_drv_gigaset.patch
+use-menuconfig-objects-isdn-config_isdn_capi.patch
+use-menuconfig-objects-isdn-config_capi_avm.patch
+use-menuconfig-objects-isdn-config_capi_eicon.patch
Update ISDN Kconfig changes
+ecryptfs-move-ecryptfs-docs-into-documentation-filesystems.patch
ecryptfs update
+rtc-rs5c372-becomes-a-new-style-i2c-driver.patch
rtc maintenance
-lguest-the-host-code-update-for-mm-simplify-boot_params.patch
Dropped
+char-moxa-eliminate-busy-waiting.patch
+char-specialix-remove-busy-waiting.patch
+char-riscom8-eliminate-busy-loop.patch
+char-vt-use-kzalloc.patch
+char-vt-use-array_size.patch
+char-kconfig-mxser_new-remove-experimental-comment.patch
char driver updates
+fbcon-cursor-blink-control.patch
+fbcon-use-struct-device-instead-of-struct-class_device.patch
+fbdev-move-arch-specific-bits-to-their-respective.patch
+fbdev-detect-primary-display-device.patch
+fbcon-allow-fbcon-to-use-the-primary-display-driver.patch
+fbcon-allow-fbcon-to-use-the-primary-display-driver-fix.patch
+fbcon-allow-fbcon-to-use-the-primary-display-driver-fix-2.patch
fbdev things
+fs-introduce-vfs_path_lookup.patch
+sunrpc-use-vfs_path_lookup.patch
+nfsctl-use-vfs_path_lookup.patch
+fs-mark-link_path_walk-static.patch
+fs-remove-path_walk-export.patch
VFS updates
+cfs-scheduler-v14-rc2-mm1.patch
CFS update
+mm-swap-prefetch-increase-aggressiveness-and-tunability.patch
swap prefetch update
+kernel-doc-add-tools-doc-in-makefile.patch
+kernel-doc-fix-unnamed-struct-union-warning.patch
+kernel-doc-strip-c99-comments.patch
+kernel-doc-fix-leading-dot-in-man-mode-output.patch
+kernel-doc-fix-leading-dot-in-man-mode-output-fix.patch
kernel-doc stuff
+coredump-masking-bound-suid_dumpable-sysctl.patch
+coredump-masking-reimplementation-of-dumpable-using-two-flags.patch
+coredump-masking-reimplementation-of-dumpable-using-two-flags-fix.patch
+coredump-masking-add-an-interface-for-core-dump-filter.patch
+coredump-masking-elf-enable-core-dump-filtering.patch
+coredump-masking-elf-fdpic-remove-an-unused-argument.patch
+coredump-masking-elf-fdpic-enable-core-dump-filtering.patch
+coredump-masking-documentation-for-proc-pid-coredump_filter.patch
Filtering for waht the core dumper will dump
+containersv10-basic-container-framework.patch
+containersv10-basic-container-framework-fix.patch
+containersv10-example-cpu-accounting-subsystem.patch
+containersv10-example-cpu-accounting-subsystem-fix.patch
+containersv10-add-tasks-file-interface.patch
+containersv10-add-tasks-file-interface-fix.patch
+containersv10-add-fork-exit-hooks.patch
+containersv10-add-fork-exit-hooks-fix.patch
+containersv10-add-container_clone-interface.patch
+containersv10-add-container_clone-interface-fix.patch
+containersv10-add-procfs-interface.patch
+containersv10-add-procfs-interface-fix.patch
+containersv10-make-cpusets-a-client-of-containers.patch
+containersv10-share-css_group-arrays-between-tasks-with-same-container-memberships.patch
+containersv10-share-css_group-arrays-between-tasks-with-same-container-memberships-fix.patch
+containersv10-simple-debug-info-subsystem.patch
+containersv10-simple-debug-info-subsystem-fix.patch
+containersv10-simple-debug-info-subsystem-fix-2.patch
+containersv10-support-for-automatic-userspace-release-agents.patch
Containers core
+lockdep-sanitise-config_prove_locking.patch
+lockdep-reduce-the-ifdeffery.patch
+lockstat-core-infrastructure.patch
+lockstat-core-infrastructure-fix.patch
+lockstat-core-infrastructure-fix-fix.patch
+lockstat-human-readability-tweaks.patch
+lockstat-hook-into-spinlock_t-rwlock_t-rwsem-and-mutex.patch
lockstat-via-lockdep
-reiser4-use-lzo-library-functions.patch
Dropped
+update-page-order-at-an-appropriate-time-when-tracking-page_owner.patch
Update page-owner-tracking for updates to Mel's stuff
-vdso-print-fatal-signals-fix.patch
Dropped
All 993 patches:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/patch-list
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 6:58 2.6.22-rc3-mm1 Andrew Morton
@ 2007-05-31 12:09 ` Cornelia Huck
2007-05-31 12:15 ` 2.6.22-rc3-mm1 Matthew Wilcox
2007-05-31 15:29 ` 2.6.22-rc3-mm1 Michal Piotrowski
` (6 subsequent siblings)
7 siblings, 1 reply; 42+ messages in thread
From: Cornelia Huck @ 2007-05-31 12:09 UTC (permalink / raw)
To: Andrew Morton
Cc: linux-kernel, SCSI development list, James Bottomley,
Dan Williams
On Wed, 30 May 2007 23:58:23 -0700,
Andrew Morton <akpm@linux-foundation.org> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
With
> +dma-mapping-prevent-dma-dependent-code-from-linking-on.patch
scsi fails to build on !HAS_DMA architectures:
drivers/built-in.o(.text+0x20af6): In function `scsi_dma_map':
: undefined reference to `dma_map_sg'
drivers/built-in.o(.text+0x20b5c): In function `scsi_dma_unmap':
: undefined reference to `dma_unmap_sg'
I split those functions out into a new file. Builds on s390 and i386.
scsi: Don't build scsi_dma_{map,unmap} for !HAS_DMA
Move scsi_dma_{map,unmap} into scsi_lib_dma.c which is only build
if HAS_DMA is set.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
drivers/scsi/Kconfig | 5 ++++
drivers/scsi/Makefile | 6 ++---
drivers/scsi/scsi_lib.c | 38 ---------------------------------
drivers/scsi/scsi_lib_dma.c | 50 ++++++++++++++++++++++++++++++++++++++++++++
include/scsi/scsi_cmnd.h | 2 +
5 files changed, 60 insertions(+), 41 deletions(-)
--- linux-2.6.orig/drivers/scsi/Kconfig
+++ linux-2.6/drivers/scsi/Kconfig
@@ -10,6 +10,7 @@ config RAID_ATTRS
config SCSI
tristate "SCSI device support"
depends on BLOCK
+ select SCSI_DMA if HAS_DMA
---help---
If you want to use a SCSI hard disk, SCSI tape drive, SCSI CD-ROM or
any other SCSI device under Linux, say Y and make sure that you know
@@ -29,6 +30,10 @@ config SCSI
However, do not compile this as a module if your root file system
(the one containing the directory /) is located on a SCSI device.
+config SCSI_DMA
+ bool
+ default n
+
config SCSI_TGT
tristate "SCSI target support"
depends on SCSI && EXPERIMENTAL
--- linux-2.6.orig/drivers/scsi/Makefile
+++ linux-2.6/drivers/scsi/Makefile
@@ -145,9 +145,9 @@ obj-$(CONFIG_SCSI_DEBUG) += scsi_debug.o
obj-$(CONFIG_SCSI_WAIT_SCAN) += scsi_wait_scan.o
scsi_mod-y += scsi.o hosts.o scsi_ioctl.o constants.o \
- scsicam.o scsi_error.o scsi_lib.o \
- scsi_scan.o scsi_sysfs.o \
- scsi_devinfo.o
+ scsicam.o scsi_error.o scsi_lib.o
+scsi_mod-$(CONFIG_SCSI_DMA) += scsi_lib_dma.o
+scsi_mod-y += scsi_scan.o scsi_sysfs.o scsi_devinfo.o
scsi_mod-$(CONFIG_SCSI_NETLINK) += scsi_netlink.o
scsi_mod-$(CONFIG_SYSCTL) += scsi_sysctl.o
scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o
--- linux-2.6.orig/drivers/scsi/scsi_lib.c
+++ linux-2.6/drivers/scsi/scsi_lib.c
@@ -2290,41 +2290,3 @@ void scsi_kunmap_atomic_sg(void *virt)
kunmap_atomic(virt, KM_BIO_SRC_IRQ);
}
EXPORT_SYMBOL(scsi_kunmap_atomic_sg);
-
-/**
- * scsi_dma_map - perform DMA mapping against command's sg lists
- * @cmd: scsi command
- *
- * Returns the number of sg lists actually used, zero if the sg lists
- * is NULL, or -ENOMEM if the mapping failed.
- */
-int scsi_dma_map(struct scsi_cmnd *cmd)
-{
- int nseg = 0;
-
- if (scsi_sg_count(cmd)) {
- struct device *dev = cmd->device->host->shost_gendev.parent;
-
- nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd),
- cmd->sc_data_direction);
- if (unlikely(!nseg))
- return -ENOMEM;
- }
- return nseg;
-}
-EXPORT_SYMBOL(scsi_dma_map);
-
-/**
- * scsi_dma_unmap - unmap command's sg lists mapped by scsi_dma_map
- * @cmd: scsi command
- */
-void scsi_dma_unmap(struct scsi_cmnd *cmd)
-{
- if (scsi_sg_count(cmd)) {
- struct device *dev = cmd->device->host->shost_gendev.parent;
-
- dma_unmap_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd),
- cmd->sc_data_direction);
- }
-}
-EXPORT_SYMBOL(scsi_dma_unmap);
--- linux-2.6.orig/include/scsi/scsi_cmnd.h
+++ linux-2.6/include/scsi/scsi_cmnd.h
@@ -135,8 +135,10 @@ extern void scsi_kunmap_atomic_sg(void *
extern struct scatterlist *scsi_alloc_sgtable(struct scsi_cmnd *, gfp_t);
extern void scsi_free_sgtable(struct scatterlist *, int);
+#ifdef CONFIG_SCSI_DMA
extern int scsi_dma_map(struct scsi_cmnd *cmd);
extern void scsi_dma_unmap(struct scsi_cmnd *cmd);
+#endif
#define scsi_sg_count(cmd) ((cmd)->use_sg)
#define scsi_sglist(cmd) ((struct scatterlist *)(cmd)->request_buffer)
--- /dev/null
+++ linux-2.6/drivers/scsi/scsi_lib_dma.c
@@ -0,0 +1,50 @@
+/*
+ * SCSI library functions depending on DMA
+ */
+
+#include <linux/blkdev.h>
+#include <linux/device.h>
+#include <linux/kernel.h>
+
+#include <scsi/scsi.h>
+#include <scsi/scsi_cmnd.h>
+#include <scsi/scsi_device.h>
+#include <scsi/scsi_host.h>
+
+/**
+ * scsi_dma_map - perform DMA mapping against command's sg lists
+ * @cmd: scsi command
+ *
+ * Returns the number of sg lists actually used, zero if the sg lists
+ * is NULL, or -ENOMEM if the mapping failed.
+ */
+int scsi_dma_map(struct scsi_cmnd *cmd)
+{
+ int nseg = 0;
+
+ if (scsi_sg_count(cmd)) {
+ struct device *dev = cmd->device->host->shost_gendev.parent;
+
+ nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd),
+ cmd->sc_data_direction);
+ if (unlikely(!nseg))
+ return -ENOMEM;
+ }
+ return nseg;
+}
+EXPORT_SYMBOL(scsi_dma_map);
+
+/**
+ * scsi_dma_unmap - unmap command's sg lists mapped by scsi_dma_map
+ * @cmd: scsi command
+ */
+void scsi_dma_unmap(struct scsi_cmnd *cmd)
+{
+ if (scsi_sg_count(cmd)) {
+ struct device *dev = cmd->device->host->shost_gendev.parent;
+
+ dma_unmap_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd),
+ cmd->sc_data_direction);
+ }
+}
+EXPORT_SYMBOL(scsi_dma_unmap);
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 12:09 ` 2.6.22-rc3-mm1 Cornelia Huck
@ 2007-05-31 12:15 ` Matthew Wilcox
2007-05-31 12:20 ` 2.6.22-rc3-mm1 Cornelia Huck
0 siblings, 1 reply; 42+ messages in thread
From: Matthew Wilcox @ 2007-05-31 12:15 UTC (permalink / raw)
To: Cornelia Huck
Cc: Andrew Morton, linux-kernel, SCSI development list,
James Bottomley, Dan Williams
On Thu, May 31, 2007 at 02:09:22PM +0200, Cornelia Huck wrote:
> I split those functions out into a new file. Builds on s390 and i386.
Why not just put #ifdef CONFIG_HAS_DMA / #endif around the pair of
functions? I don't see the need to add a new Kconfig symbol and a new
file for this.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 12:15 ` 2.6.22-rc3-mm1 Matthew Wilcox
@ 2007-05-31 12:20 ` Cornelia Huck
2007-05-31 12:35 ` 2.6.22-rc3-mm1 Jeff Garzik
0 siblings, 1 reply; 42+ messages in thread
From: Cornelia Huck @ 2007-05-31 12:20 UTC (permalink / raw)
To: Matthew Wilcox
Cc: Andrew Morton, linux-kernel, SCSI development list,
James Bottomley, Dan Williams
On Thu, 31 May 2007 06:15:57 -0600,
Matthew Wilcox <matthew@wil.cx> wrote:
> On Thu, May 31, 2007 at 02:09:22PM +0200, Cornelia Huck wrote:
> > I split those functions out into a new file. Builds on s390 and i386.
>
> Why not just put #ifdef CONFIG_HAS_DMA / #endif around the pair of
> functions? I don't see the need to add a new Kconfig symbol and a new
> file for this.
I prefer a new file over #ifdefs in c files. (New dma-dependent stuff
would also have a place where it could go to.)
But I'll do whatever ends up as consensus :)
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 12:20 ` 2.6.22-rc3-mm1 Cornelia Huck
@ 2007-05-31 12:35 ` Jeff Garzik
2007-05-31 15:11 ` 2.6.22-rc3-mm1 Cornelia Huck
2007-05-31 15:13 ` 2.6.22-rc3-mm1 Christoph Hellwig
0 siblings, 2 replies; 42+ messages in thread
From: Jeff Garzik @ 2007-05-31 12:35 UTC (permalink / raw)
To: Cornelia Huck
Cc: Matthew Wilcox, Andrew Morton, linux-kernel,
SCSI development list, James Bottomley, Dan Williams
Cornelia Huck wrote:
> On Thu, 31 May 2007 06:15:57 -0600,
> Matthew Wilcox <matthew@wil.cx> wrote:
>
>> On Thu, May 31, 2007 at 02:09:22PM +0200, Cornelia Huck wrote:
>>> I split those functions out into a new file. Builds on s390 and i386.
>> Why not just put #ifdef CONFIG_HAS_DMA / #endif around the pair of
>> functions? I don't see the need to add a new Kconfig symbol and a new
>> file for this.
>
> I prefer a new file over #ifdefs in c files. (New dma-dependent stuff
> would also have a place where it could go to.)
>
> But I'll do whatever ends up as consensus :)
50 lines isn't much need for a new file.
Jeff
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 12:35 ` 2.6.22-rc3-mm1 Jeff Garzik
@ 2007-05-31 15:11 ` Cornelia Huck
2007-05-31 15:13 ` 2.6.22-rc3-mm1 Christoph Hellwig
1 sibling, 0 replies; 42+ messages in thread
From: Cornelia Huck @ 2007-05-31 15:11 UTC (permalink / raw)
To: Jeff Garzik
Cc: Matthew Wilcox, Andrew Morton, linux-kernel,
SCSI development list, James Bottomley, Dan Williams
On Thu, 31 May 2007 08:35:13 -0400,
Jeff Garzik <jeff@garzik.org> wrote:
> Cornelia Huck wrote:
> > On Thu, 31 May 2007 06:15:57 -0600,
> > Matthew Wilcox <matthew@wil.cx> wrote:
> >
> >> On Thu, May 31, 2007 at 02:09:22PM +0200, Cornelia Huck wrote:
> >>> I split those functions out into a new file. Builds on s390 and i386.
> >> Why not just put #ifdef CONFIG_HAS_DMA / #endif around the pair of
> >> functions? I don't see the need to add a new Kconfig symbol and a new
> >> file for this.
> >
> > I prefer a new file over #ifdefs in c files. (New dma-dependent stuff
> > would also have a place where it could go to.)
> >
> > But I'll do whatever ends up as consensus :)
>
> 50 lines isn't much need for a new file.
OK, so here's an alternative patch:
scsi: Don't build scsi_dma_{map,unmap} for !HAS_DMA
Use #ifdef CONFIG_HAS_DMA for the two dma-dependent functions.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
drivers/scsi/scsi_lib.c | 2 ++
include/scsi/scsi_cmnd.h | 2 ++
2 files changed, 4 insertions(+)
--- linux-2.6.orig/drivers/scsi/scsi_lib.c
+++ linux-2.6/drivers/scsi/scsi_lib.c
@@ -2291,6 +2291,7 @@ void scsi_kunmap_atomic_sg(void *virt)
}
EXPORT_SYMBOL(scsi_kunmap_atomic_sg);
+#ifdef CONFIG_HAS_DMA
/**
* scsi_dma_map - perform DMA mapping against command's sg lists
* @cmd: scsi command
@@ -2328,3 +2329,4 @@ void scsi_dma_unmap(struct scsi_cmnd *cm
}
}
EXPORT_SYMBOL(scsi_dma_unmap);
+#endif
--- linux-2.6.orig/include/scsi/scsi_cmnd.h
+++ linux-2.6/include/scsi/scsi_cmnd.h
@@ -135,8 +135,10 @@ extern void scsi_kunmap_atomic_sg(void *
extern struct scatterlist *scsi_alloc_sgtable(struct scsi_cmnd *, gfp_t);
extern void scsi_free_sgtable(struct scatterlist *, int);
+#ifdef CONFIG_HAS_DMA
extern int scsi_dma_map(struct scsi_cmnd *cmd);
extern void scsi_dma_unmap(struct scsi_cmnd *cmd);
+#endif
#define scsi_sg_count(cmd) ((cmd)->use_sg)
#define scsi_sglist(cmd) ((struct scatterlist *)(cmd)->request_buffer)
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 12:35 ` 2.6.22-rc3-mm1 Jeff Garzik
2007-05-31 15:11 ` 2.6.22-rc3-mm1 Cornelia Huck
@ 2007-05-31 15:13 ` Christoph Hellwig
2007-05-31 22:10 ` 2.6.22-rc3-mm1 Andrew Morton
1 sibling, 1 reply; 42+ messages in thread
From: Christoph Hellwig @ 2007-05-31 15:13 UTC (permalink / raw)
To: Jeff Garzik
Cc: Cornelia Huck, Matthew Wilcox, Andrew Morton, linux-kernel,
SCSI development list, James Bottomley, Dan Williams
On Thu, May 31, 2007 at 08:35:13AM -0400, Jeff Garzik wrote:
> Cornelia Huck wrote:
> >On Thu, 31 May 2007 06:15:57 -0600,
> >Matthew Wilcox <matthew@wil.cx> wrote:
> >
> >>On Thu, May 31, 2007 at 02:09:22PM +0200, Cornelia Huck wrote:
> >>>I split those functions out into a new file. Builds on s390 and i386.
> >>Why not just put #ifdef CONFIG_HAS_DMA / #endif around the pair of
> >>functions? I don't see the need to add a new Kconfig symbol and a new
> >>file for this.
> >
> >I prefer a new file over #ifdefs in c files. (New dma-dependent stuff
> >would also have a place where it could go to.)
> >
> >But I'll do whatever ends up as consensus :)
>
> 50 lines isn't much need for a new file.
The scsi core shouldn't know anything about dma mappings, so a separate
file is a good idea just to keep the separation clean.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 6:58 2.6.22-rc3-mm1 Andrew Morton
2007-05-31 12:09 ` 2.6.22-rc3-mm1 Cornelia Huck
@ 2007-05-31 15:29 ` Michal Piotrowski
2007-05-31 19:58 ` 2.6.22-rc3-mm1 Rafael J. Wysocki
2007-05-31 17:53 ` 2.6.22-rc3-mm1 Michal Piotrowski
` (5 subsequent siblings)
7 siblings, 1 reply; 42+ messages in thread
From: Michal Piotrowski @ 2007-05-31 15:29 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, Rafael J. Wysocki, Pavel Machek, linux-pm
Hi,
Andrew Morton napisał(a):
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
>
FYI suspend to disk doesn't work anymore on my box, system hangs after "Suspending console(s)" message.
[ 186.297753] Shrinking memory... \b-\b\\b|\b/\b-\b\\b|\bdone (113064 pages freed)
[ 187.841914] Freed 452256 kbytes in 1.54 seconds (293.67 MB/s)
[ 187.847730] Suspending console(s)
http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc3-mm1/console.log
http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc3-mm1/mm-config
Regards,
Michal
--
"Najbardziej brakowało mi twojego milczenia."
-- Andrzej Sapkowski "Coś więcej"
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 6:58 2.6.22-rc3-mm1 Andrew Morton
2007-05-31 12:09 ` 2.6.22-rc3-mm1 Cornelia Huck
2007-05-31 15:29 ` 2.6.22-rc3-mm1 Michal Piotrowski
@ 2007-05-31 17:53 ` Michal Piotrowski
2007-05-31 18:08 ` 2.6.22-rc3-mm1 Michal Piotrowski
2007-05-31 18:31 ` 2.6.22-rc3-mm1 Andrew Morton
2007-05-31 20:43 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
` (4 subsequent siblings)
7 siblings, 2 replies; 42+ messages in thread
From: Michal Piotrowski @ 2007-05-31 17:53 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, Rafael J. Wysocki, Satoru Takeuchi
Andrew Morton napisał(a):
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
>
CPU hotplug test triggered this
[ 4972.038008] CPU 1 is now offline
[ 4972.041411] lockdep: not fixing up alternatives.
[ 4972.051553]
[ 4972.051555] =================================
[ 4972.057562] [ INFO: inconsistent lock state ]
[ 4972.062056] 2.6.22-rc3-mm1 #10
[ 4972.065184] ---------------------------------
[ 4972.069663] inconsistent {in-hardirq-W} -> {hardirq-on-W} usage.
[ 4972.075758] sh/702 [HC0[0]:SC0[0]:HE1:SE1] takes:
[ 4972.080554] (&n->list_lock){++..}, at: [<c0181288>] add_partial+0xe/0x27
l *0xc0181288
0xc0181288 is in add_partial (/home/devel/linux-mm/mm/slub.c:1193).
1188 }
1189
1190 static void add_partial(struct kmem_cache_node *n, struct page *page)
1191 {
1192 spin_lock(&n->list_lock);
1193 n->nr_partial++;
1194 list_add(&page->lru, &n->partial);
1195 spin_unlock(&n->list_lock);
1196 }
1197
[ 4972.087650] {in-hardirq-W} state was registered at:
[ 4972.092656] [<c0143bfe>] mark_lock+0x82/0x557
[ 4972.097323] [<c0144c5f>] __lock_acquire+0x476/0xd36
[ 4972.102562] [<c01455bd>] lock_acquire+0x9e/0xb8
[ 4972.107342] [<c0348993>] _spin_lock+0x38/0x62
[ 4972.111993] [<c0181d29>] deactivate_slab+0xb9/0x179
[ 4972.117300] [<c0181e56>] flush_slab+0x6d/0x72
[ 4972.122063] [<c0181e8c>] __flush_cpu_slab+0x31/0x36
[ 4972.127335] [<c0181ea5>] flush_cpu_slab+0x14/0x17
[ 4972.132401] [<c0113d6f>] smp_call_function_interrupt+0x3a/0x56
[ 4972.138607] [<c0104c73>] call_function_interrupt+0x33/0x38
[ 4972.144503] [<c0102b59>] default_idle+0x50/0x69
[ 4972.149421] [<c01023eb>] cpu_idle+0xb3/0xf8
[ 4972.153889] [<c03454fa>] rest_init+0x56/0x58
[ 4972.158402] [<c04f39c7>] start_kernel+0x351/0x359
[ 4972.163450] [<ffffffff>] 0xffffffff
[ 4972.167221] irq event stamp: 2451
[ 4972.170695] hardirqs last enabled at (2451): [<c0104228>] restore_nocheck+0x12/0x15
[ 4972.178699] hardirqs last disabled at (2449): [<c012b4e9>] __do_softirq+0x93/0xe5
[ 4972.186393] softirqs last enabled at (2450): [<c012b535>] __do_softirq+0xdf/0xe5
[ 4972.194216] softirqs last disabled at (2443): [<c0106d39>] do_softirq+0x68/0x11f
l *0xc0104228
0xc0104228 is at include2/asm/bitops.h:246.
241 static int test_bit(int nr, const volatile void * addr);
242 #endif
243
244 static __always_inline int constant_test_bit(int nr, const volatile unsigned long *addr)
245 {
246 return ((1UL << (nr & 31)) & (addr[nr >> 5])) != 0;
247 }
248
249 static inline int variable_test_bit(int nr, const volatile unsigned long * addr)
250 {
l *0xc012b4e9
0xc012b4e9 is in __do_softirq (/home/devel/linux-mm/kernel/softirq.c:241).
236 pending >>= 1;
237 } while (pending);
238
239 local_irq_disable();
240
241 pending = local_softirq_pending();
242 if (pending && --max_restart)
243 goto restart;
244
245 if (pending)
l *0xc012b535
0xc012b535 is in __do_softirq (/home/devel/linux-mm/kernel/softirq.c:252).
247
248 trace_softirq_exit();
249
250 account_system_vtime(current);
251 _local_bh_enable();
252 }
253
254 #ifndef __ARCH_HAS_DO_SOFTIRQ
255
256 asmlinkage void do_softirq(void)
l *0xc0106d39
0xc0106d39 is in do_softirq (/home/devel/linux-mm/arch/i386/kernel/irq.c:222).
217 irqctx->tinfo.previous_esp = current_stack_pointer;
218
219 /* build the stack frame on the softirq stack */
220 isp = (u32*) ((char*)irqctx + sizeof(*irqctx));
221
222 asm volatile(
223 " xchgl %%ebx,%%esp \n"
224 " call __do_softirq \n"
225 " movl %%ebx,%%esp \n"
226 : "=b"(isp)
[ 4972.201901]
[ 4972.201902] other info that might help us debug this:
[ 4972.208669] 4 locks held by sh/702:
[ 4972.212265] #0: (cpu_add_remove_lock){--..}, at: [<c0347499>] mutex_lock+0x1c/0x1f
[ 4972.220304] #1: (sched_hotcpu_mutex){--..}, at: [<c0347499>] mutex_lock+0x1c/0x1f
[ 4972.228273] #2: (workqueue_mutex){--..}, at: [<c0347499>] mutex_lock+0x1c/0x1f
[ 4972.235821] #3: (slub_lock){----}, at: [<c01836d6>] slab_cpuup_callback+0x26/0x5b
l *0xc0347499
0xc0347499 is in mutex_lock (/home/devel/linux-mm/kernel/mutex.c:92).
87 /*
88 * The locking fastpath is the 1->0 transition from
89 * 'unlocked' into 'locked' state.
90 */
91 __mutex_fastpath_lock(&lock->count, __mutex_lock_slowpath);
92 }
93
94 EXPORT_SYMBOL(mutex_lock);
95
96 static void fastcall noinline __sched
l *0xc01836d6
0xc01836d6 is in slab_cpuup_callback (/home/devel/linux-mm/mm/slub.c:2656).
2651 static void for_all_slabs(void (*func)(struct kmem_cache *, int), int cpu)
2652 {
2653 struct list_head *h;
2654
2655 down_read(&slub_lock);
2656 list_for_each(h, &slab_caches) {
2657 struct kmem_cache *s =
2658 container_of(h, struct kmem_cache, list);
2659
2660 func(s, cpu);
[ 4972.243670]
[ 4972.243670] stack backtrace:
[ 4972.248166] [<c0105281>] dump_trace+0x63/0x1eb
[ 4972.252755] [<c0105423>] show_trace_log_lvl+0x1a/0x2f
[ 4972.257969] [<c0106061>] show_trace+0x12/0x14
[ 4972.262463] [<c0106079>] dump_stack+0x16/0x18
[ 4972.266974] [<c0142ff8>] print_usage_bug+0x140/0x14a
[ 4972.272109] [<c0143e1a>] mark_lock+0x29e/0x557
[ 4972.276708] [<c0144cda>] __lock_acquire+0x4f1/0xd36
[ 4972.281740] [<c01455bd>] lock_acquire+0x9e/0xb8
[ 4972.286416] [<c0348993>] _spin_lock+0x38/0x62
[ 4972.290936] [<c0181288>] add_partial+0xe/0x27
[ 4972.295458] [<c0181cd7>] deactivate_slab+0x67/0x179
[ 4972.300497] [<c0181e56>] flush_slab+0x6d/0x72
[ 4972.305018] [<c0181e8c>] __flush_cpu_slab+0x31/0x36
[ 4972.310049] [<c01836e8>] slab_cpuup_callback+0x38/0x5b
[ 4972.315348] [<c01325d2>] notifier_call_chain+0x2b/0x4a
[ 4972.320637] [<c013261e>] __raw_notifier_call_chain+0x19/0x1e
[ 4972.326473] [<c013263d>] raw_notifier_call_chain+0x1a/0x1c
[ 4972.332117] [<c014bb62>] _cpu_down+0x19c/0x25a
[ 4972.336724] [<c014bc48>] cpu_down+0x28/0x3a
[ 4972.341063] [<c027f800>] store_online+0x27/0x5a
[ 4972.345757] [<c027c854>] sysdev_store+0x20/0x25
[ 4972.350443] [<c01c2739>] sysfs_write_file+0xc5/0xfd
[ 4972.355482] [<c0187243>] vfs_write+0xd1/0x15a
[ 4972.360004] [<c0187873>] sys_write+0x3d/0x72
[ 4972.364411] [<c01041e0>] syscall_call+0x7/0xb
[ 4972.368924] [<b7ff0410>] 0xb7ff0410
[ 4972.372562] =======================
[ 4975.412963] lockdep: not fixing up alternatives.
Suspects:
add-suspend-related-notifications-for-cpu-hotplug-statistics.patch
cpu-hotplug-fix-ksoftirqd-termination-on-cpu-hotplug-with-naughty-realtime-process.patch
cpu-hotplug-fix-ksoftirqd-termination-on-cpu-hotplug-with-naughty-realtime-process-fix.patch
http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc3-mm1/console2.log
http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc3-mm1/mm-config
Regards,
Michal
--
"Najbardziej brakowało mi twojego milczenia."
-- Andrzej Sapkowski "Coś więcej"
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 17:53 ` 2.6.22-rc3-mm1 Michal Piotrowski
@ 2007-05-31 18:08 ` Michal Piotrowski
2007-05-31 18:31 ` 2.6.22-rc3-mm1 Andrew Morton
1 sibling, 0 replies; 42+ messages in thread
From: Michal Piotrowski @ 2007-05-31 18:08 UTC (permalink / raw)
To: Michal Piotrowski
Cc: Andrew Morton, linux-kernel, Rafael J. Wysocki, Satoru Takeuchi
Michal Piotrowski napisał(a):
> Andrew Morton napisał(a):
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
>>
>
> CPU hotplug test triggered this
>
> [ 4972.038008] CPU 1 is now offline
> [ 4972.041411] lockdep: not fixing up alternatives.
> [ 4972.051553]
> [ 4972.051555] =================================
> [ 4972.057562] [ INFO: inconsistent lock state ]
> [ 4972.062056] 2.6.22-rc3-mm1 #10
> [ 4972.065184] ---------------------------------
[..]
> [ 4972.372562] =======================
> [ 4975.412963] lockdep: not fixing up alternatives.
>
> Suspects:
> add-suspend-related-notifications-for-cpu-hotplug-statistics.patch
not guilty
> cpu-hotplug-fix-ksoftirqd-termination-on-cpu-hotplug-with-naughty-realtime-process.patch
not guilty
> cpu-hotplug-fix-ksoftirqd-termination-on-cpu-hotplug-with-naughty-realtime-process-fix.patch
not guilty
Regards,
Michal
--
"Najbardziej brakowało mi twojego milczenia."
-- Andrzej Sapkowski "Coś więcej"
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 17:53 ` 2.6.22-rc3-mm1 Michal Piotrowski
2007-05-31 18:08 ` 2.6.22-rc3-mm1 Michal Piotrowski
@ 2007-05-31 18:31 ` Andrew Morton
2007-05-31 18:41 ` 2.6.22-rc3-mm1 Christoph Lameter
1 sibling, 1 reply; 42+ messages in thread
From: Andrew Morton @ 2007-05-31 18:31 UTC (permalink / raw)
To: Michal Piotrowski
Cc: linux-kernel, Rafael J. Wysocki, Satoru Takeuchi,
Christoph Lameter
On Thu, 31 May 2007 19:53:07 +0200
Michal Piotrowski <michal.k.k.piotrowski@gmail.com> wrote:
> Andrew Morton napisa__(a):
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
> >
>
> CPU hotplug test triggered this
>
> [ 4972.038008] CPU 1 is now offline
> [ 4972.041411] lockdep: not fixing up alternatives.
> [ 4972.051553]
> [ 4972.051555] =================================
> [ 4972.057562] [ INFO: inconsistent lock state ]
> [ 4972.062056] 2.6.22-rc3-mm1 #10
> [ 4972.065184] ---------------------------------
> [ 4972.069663] inconsistent {in-hardirq-W} -> {hardirq-on-W} usage.
> [ 4972.075758] sh/702 [HC0[0]:SC0[0]:HE1:SE1] takes:
> [ 4972.080554] (&n->list_lock){++..}, at: [<c0181288>] add_partial+0xe/0x27
>
> l *0xc0181288
> 0xc0181288 is in add_partial (/home/devel/linux-mm/mm/slub.c:1193).
> 1188 }
> 1189
> 1190 static void add_partial(struct kmem_cache_node *n, struct page *page)
> 1191 {
> 1192 spin_lock(&n->list_lock);
> 1193 n->nr_partial++;
> 1194 list_add(&page->lru, &n->partial);
> 1195 spin_unlock(&n->list_lock);
> 1196 }
> 1197
>
>
> [ 4972.087650] {in-hardirq-W} state was registered at:
> [ 4972.092656] [<c0143bfe>] mark_lock+0x82/0x557
> [ 4972.097323] [<c0144c5f>] __lock_acquire+0x476/0xd36
> [ 4972.102562] [<c01455bd>] lock_acquire+0x9e/0xb8
> [ 4972.107342] [<c0348993>] _spin_lock+0x38/0x62
> [ 4972.111993] [<c0181d29>] deactivate_slab+0xb9/0x179
> [ 4972.117300] [<c0181e56>] flush_slab+0x6d/0x72
> [ 4972.122063] [<c0181e8c>] __flush_cpu_slab+0x31/0x36
> [ 4972.127335] [<c0181ea5>] flush_cpu_slab+0x14/0x17
> [ 4972.132401] [<c0113d6f>] smp_call_function_interrupt+0x3a/0x56
> [ 4972.138607] [<c0104c73>] call_function_interrupt+0x33/0x38
> [ 4972.144503] [<c0102b59>] default_idle+0x50/0x69
> [ 4972.149421] [<c01023eb>] cpu_idle+0xb3/0xf8
> [ 4972.153889] [<c03454fa>] rest_init+0x56/0x58
> [ 4972.158402] [<c04f39c7>] start_kernel+0x351/0x359
> [ 4972.163450] [<ffffffff>] 0xffffffff
> [ 4972.167221] irq event stamp: 2451
Yep, that's a bug in slub. We take that lock in the IPI handler. If a CPU
is currently holding that lock and then takes the IPI and enters
add_partial(), it'll deadlock.
> [ 4972.243670]
> [ 4972.243670] stack backtrace:
> [ 4972.248166] [<c0105281>] dump_trace+0x63/0x1eb
> [ 4972.252755] [<c0105423>] show_trace_log_lvl+0x1a/0x2f
> [ 4972.257969] [<c0106061>] show_trace+0x12/0x14
> [ 4972.262463] [<c0106079>] dump_stack+0x16/0x18
> [ 4972.266974] [<c0142ff8>] print_usage_bug+0x140/0x14a
> [ 4972.272109] [<c0143e1a>] mark_lock+0x29e/0x557
> [ 4972.276708] [<c0144cda>] __lock_acquire+0x4f1/0xd36
> [ 4972.281740] [<c01455bd>] lock_acquire+0x9e/0xb8
> [ 4972.286416] [<c0348993>] _spin_lock+0x38/0x62
> [ 4972.290936] [<c0181288>] add_partial+0xe/0x27
> [ 4972.295458] [<c0181cd7>] deactivate_slab+0x67/0x179
> [ 4972.300497] [<c0181e56>] flush_slab+0x6d/0x72
> [ 4972.305018] [<c0181e8c>] __flush_cpu_slab+0x31/0x36
> [ 4972.310049] [<c01836e8>] slab_cpuup_callback+0x38/0x5b
> [ 4972.315348] [<c01325d2>] notifier_call_chain+0x2b/0x4a
> [ 4972.320637] [<c013261e>] __raw_notifier_call_chain+0x19/0x1e
> [ 4972.326473] [<c013263d>] raw_notifier_call_chain+0x1a/0x1c
> [ 4972.332117] [<c014bb62>] _cpu_down+0x19c/0x25a
> [ 4972.336724] [<c014bc48>] cpu_down+0x28/0x3a
> [ 4972.341063] [<c027f800>] store_online+0x27/0x5a
> [ 4972.345757] [<c027c854>] sysdev_store+0x20/0x25
> [ 4972.350443] [<c01c2739>] sysfs_write_file+0xc5/0xfd
> [ 4972.355482] [<c0187243>] vfs_write+0xd1/0x15a
> [ 4972.360004] [<c0187873>] sys_write+0x3d/0x72
> [ 4972.364411] [<c01041e0>] syscall_call+0x7/0xb
> [ 4972.368924] [<b7ff0410>] 0xb7ff0410
> [ 4972.372562] =======================
> [ 4975.412963] lockdep: not fixing up alternatives.
Perhaps a suitable fix would be local_irq_disable() in flush_slab().
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 18:31 ` 2.6.22-rc3-mm1 Andrew Morton
@ 2007-05-31 18:41 ` Christoph Lameter
2007-05-31 18:53 ` 2.6.22-rc3-mm1 Andrew Morton
0 siblings, 1 reply; 42+ messages in thread
From: Christoph Lameter @ 2007-05-31 18:41 UTC (permalink / raw)
To: Andrew Morton
Cc: Michal Piotrowski, linux-kernel, Rafael J. Wysocki,
Satoru Takeuchi
On Thu, 31 May 2007, Andrew Morton wrote:
> > l *0xc0181288
> > 0xc0181288 is in add_partial (/home/devel/linux-mm/mm/slub.c:1193).
> > 1188 }
> > 1189
> > 1190 static void add_partial(struct kmem_cache_node *n, struct page *page)
> > 1191 {
> > 1192 spin_lock(&n->list_lock);
> > 1193 n->nr_partial++;
> > 1194 list_add(&page->lru, &n->partial);
> > 1195 spin_unlock(&n->list_lock);
> > 1196 }
> > 1197
add_partial runs with interrupts disabled. The interrupts are disabled
when we enter SLUB via allocator or free functions.
> > [ 4972.087650] {in-hardirq-W} state was registered at:
> > [ 4972.092656] [<c0143bfe>] mark_lock+0x82/0x557
> > [ 4972.097323] [<c0144c5f>] __lock_acquire+0x476/0xd36
> > [ 4972.102562] [<c01455bd>] lock_acquire+0x9e/0xb8
> > [ 4972.107342] [<c0348993>] _spin_lock+0x38/0x62
> > [ 4972.111993] [<c0181d29>] deactivate_slab+0xb9/0x179
> > [ 4972.117300] [<c0181e56>] flush_slab+0x6d/0x72
> > [ 4972.122063] [<c0181e8c>] __flush_cpu_slab+0x31/0x36
> > [ 4972.127335] [<c0181ea5>] flush_cpu_slab+0x14/0x17
> > [ 4972.132401] [<c0113d6f>] smp_call_function_interrupt+0x3a/0x56
> > [ 4972.138607] [<c0104c73>] call_function_interrupt+0x33/0x38
> > [ 4972.144503] [<c0102b59>] default_idle+0x50/0x69
> > [ 4972.149421] [<c01023eb>] cpu_idle+0xb3/0xf8
> > [ 4972.153889] [<c03454fa>] rest_init+0x56/0x58
> > [ 4972.158402] [<c04f39c7>] start_kernel+0x351/0x359
> > [ 4972.163450] [<ffffffff>] 0xffffffff
> > [ 4972.167221] irq event stamp: 2451
>
> Yep, that's a bug in slub. We take that lock in the IPI handler. If a CPU
> is currently holding that lock and then takes the IPI and enters
> add_partial(), it'll deadlock.
A cpu cannot enter an IPI handler while interrupts are disabled. That
needs to be always the case when the list_lock is held.
> Perhaps a suitable fix would be local_irq_disable() in flush_slab().
As far as I can tell: Interrupts are always disabled when flush_slab is
run.
Sometimes we use spin_lock_irqsave for the list_lock and at other times
spin_lock if interrupts are already disabled. Is that the problem?
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 18:41 ` 2.6.22-rc3-mm1 Christoph Lameter
@ 2007-05-31 18:53 ` Andrew Morton
2007-05-31 18:57 ` 2.6.22-rc3-mm1 Christoph Lameter
0 siblings, 1 reply; 42+ messages in thread
From: Andrew Morton @ 2007-05-31 18:53 UTC (permalink / raw)
To: Christoph Lameter
Cc: Michal Piotrowski, linux-kernel, Rafael J. Wysocki,
Satoru Takeuchi
On Thu, 31 May 2007 11:41:22 -0700 (PDT)
Christoph Lameter <clameter@sgi.com> wrote:
> > Perhaps a suitable fix would be local_irq_disable() in flush_slab().
>
> As far as I can tell: Interrupts are always disabled when flush_slab is
> run.
>
> Sometimes we use spin_lock_irqsave for the list_lock and at other times
> spin_lock if interrupts are already disabled. Is that the problem?
Nope, the problem is in the part of my email which you deleted ;)
[ 4972.243670]
[ 4972.243670] stack backtrace:
[ 4972.248166] [<c0105281>] dump_trace+0x63/0x1eb
[ 4972.252755] [<c0105423>] show_trace_log_lvl+0x1a/0x2f
[ 4972.257969] [<c0106061>] show_trace+0x12/0x14
[ 4972.262463] [<c0106079>] dump_stack+0x16/0x18
[ 4972.266974] [<c0142ff8>] print_usage_bug+0x140/0x14a
[ 4972.272109] [<c0143e1a>] mark_lock+0x29e/0x557
[ 4972.276708] [<c0144cda>] __lock_acquire+0x4f1/0xd36
[ 4972.281740] [<c01455bd>] lock_acquire+0x9e/0xb8
[ 4972.286416] [<c0348993>] _spin_lock+0x38/0x62
[ 4972.290936] [<c0181288>] add_partial+0xe/0x27
[ 4972.295458] [<c0181cd7>] deactivate_slab+0x67/0x179
[ 4972.300497] [<c0181e56>] flush_slab+0x6d/0x72
[ 4972.305018] [<c0181e8c>] __flush_cpu_slab+0x31/0x36
[ 4972.310049] [<c01836e8>] slab_cpuup_callback+0x38/0x5b
[ 4972.315348] [<c01325d2>] notifier_call_chain+0x2b/0x4a
[ 4972.320637] [<c013261e>] __raw_notifier_call_chain+0x19/0x1e
[ 4972.326473] [<c013263d>] raw_notifier_call_chain+0x1a/0x1c
[ 4972.332117] [<c014bb62>] _cpu_down+0x19c/0x25a
[ 4972.336724] [<c014bc48>] cpu_down+0x28/0x3a
[ 4972.341063] [<c027f800>] store_online+0x27/0x5a
[ 4972.345757] [<c027c854>] sysdev_store+0x20/0x25
[ 4972.350443] [<c01c2739>] sysfs_write_file+0xc5/0xfd
[ 4972.355482] [<c0187243>] vfs_write+0xd1/0x15a
[ 4972.360004] [<c0187873>] sys_write+0x3d/0x72
[ 4972.364411] [<c01041e0>] syscall_call+0x7/0xb
[ 4972.368924] [<b7ff0410>] 0xb7ff0410
[ 4972.372562] =======================
[ 4975.412963] lockdep: not fixing up alternatives.
we're not disbling local irqs on the cpu hotplug path.
Could do local_irq_disable() in slab_cpuup_callback(), I guess.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 18:53 ` 2.6.22-rc3-mm1 Andrew Morton
@ 2007-05-31 18:57 ` Christoph Lameter
0 siblings, 0 replies; 42+ messages in thread
From: Christoph Lameter @ 2007-05-31 18:57 UTC (permalink / raw)
To: Andrew Morton
Cc: Michal Piotrowski, linux-kernel, Rafael J. Wysocki,
Satoru Takeuchi
On Thu, 31 May 2007, Andrew Morton wrote:
> we're not disbling local irqs on the cpu hotplug path.
>
> Could do local_irq_disable() in slab_cpuup_callback(), I guess.
Ahh I see.
SLUB: Fix locking for hotplug callbacks.
Hotplug callbacks seem to be performed with interrupts enabled. Slub requires
interrupts to be disabled for flushing caches.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Index: slub/mm/slub.c
===================================================================
--- slub.orig/mm/slub.c 2007-05-31 11:49:48.000000000 -0700
+++ slub/mm/slub.c 2007-05-31 11:54:09.000000000 -0700
@@ -2663,6 +2663,19 @@ static void for_all_slabs(void (*func)(s
}
/*
+ * Version of __flush_cpu_slab for the case that interrupts
+ * are enabled.
+ */
+static void cpu_slab_flush(struct kmem_cache *s, int cpu)
+{
+ unsigned long flags;
+
+ local_irq_save(flags);
+ __flush_cpu_slab(s, cpu);
+ local_irq_restore(flags);
+}
+
+/*
* Use the cpu notifier to insure that the cpu slabs are flushed when
* necessary.
*/
@@ -2676,7 +2689,7 @@ static int __cpuinit slab_cpuup_callback
case CPU_UP_CANCELED_FROZEN:
case CPU_DEAD:
case CPU_DEAD_FROZEN:
- for_all_slabs(__flush_cpu_slab, cpu);
+ for_all_slabs(cpu_slab_flush, cpu);
break;
default:
break;
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 15:29 ` 2.6.22-rc3-mm1 Michal Piotrowski
@ 2007-05-31 19:58 ` Rafael J. Wysocki
[not found] ` <6bffcb0e0705311425q2e00cc69j5006d95c3f0df158@mail.gmail.com>
0 siblings, 1 reply; 42+ messages in thread
From: Rafael J. Wysocki @ 2007-05-31 19:58 UTC (permalink / raw)
To: Michal Piotrowski; +Cc: Andrew Morton, linux-kernel, Pavel Machek, linux-pm
On Thursday, 31 May 2007 17:29, Michal Piotrowski wrote:
> Hi,
>
> Andrew Morton napisał(a):
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
> >
>
> FYI suspend to disk doesn't work anymore on my box, system hangs after "Suspending console(s)" message.
>
> [ 186.297753] Shrinking memory... \b-\b\\b|\b/\b-\b\\b|\bdone (113064 pages freed)
> [ 187.841914] Freed 452256 kbytes in 1.54 seconds (293.67 MB/s)
> [ 187.847730] Suspending console(s)
>
> http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc3-mm1/console.log
> http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc3-mm1/mm-config
Hmm, that might be a couple of things, actually.
To see if the patches directly related to hibernation/suspend cause this, can
you please test 2.6.22-rc3 with the patch series at
http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.22-rc3/patches/
applied?
Greetings,
Rafael
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 6:58 2.6.22-rc3-mm1 Andrew Morton
` (2 preceding siblings ...)
2007-05-31 17:53 ` 2.6.22-rc3-mm1 Michal Piotrowski
@ 2007-05-31 20:43 ` Mariusz Kozlowski
2007-05-31 21:19 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-01 2:01 ` 2.6.22-rc3-mm1 Arnaldo Carvalho de Melo
` (3 subsequent siblings)
7 siblings, 1 reply; 42+ messages in thread
From: Mariusz Kozlowski @ 2007-05-31 20:43 UTC (permalink / raw)
To: Andrew Morton, linuxppc-dev, paulus, Arnd Bergmann; +Cc: linux-kernel
Hello
This is from iMac G3. The spufs_mem_mmap_fault() code looks bad
in arch/powerpc/platforms/cell/spufs/file.c but somehow I'm unable to find
the patch to blame hmm.
arch/powerpc/platforms/cell/spufs/file.c: In function 'spufs_mem_mmap_fault':
arch/powerpc/platforms/cell/spufs/file.c:122: error: 'address' undeclared (first use in this function)
arch/powerpc/platforms/cell/spufs/file.c:122: error: (Each undeclared identifier is reported only once
arch/powerpc/platforms/cell/spufs/file.c:122: error: for each function it appears in.)
arch/powerpc/platforms/cell/spufs/file.c:141: error: expected ';' before 'if'
arch/powerpc/platforms/cell/spufs/file.c:122: warning: unused variable 'addr0'
make[3]: *** [arch/powerpc/platforms/cell/spufs/file.o] Blad 1
make[2]: *** [arch/powerpc/platforms/cell/spufs] Blad 2
make[1]: *** [arch/powerpc/platforms/cell] Blad 2
Regards,
Mariusz
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 20:43 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
@ 2007-05-31 21:19 ` Andrew Morton
2007-06-01 20:50 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
0 siblings, 1 reply; 42+ messages in thread
From: Andrew Morton @ 2007-05-31 21:19 UTC (permalink / raw)
To: Mariusz Kozlowski
Cc: linuxppc-dev, paulus, Arnd Bergmann, linux-kernel, Nick Piggin
On Thu, 31 May 2007 22:43:18 +0200
Mariusz Kozlowski <m.kozlowski@tuxland.pl> wrote:
> Hello
>
> This is from iMac G3. The spufs_mem_mmap_fault() code looks bad
> in arch/powerpc/platforms/cell/spufs/file.c but somehow I'm unable to find
> the patch to blame hmm.
>
> arch/powerpc/platforms/cell/spufs/file.c: In function 'spufs_mem_mmap_fault':
> arch/powerpc/platforms/cell/spufs/file.c:122: error: 'address' undeclared (first use in this function)
> arch/powerpc/platforms/cell/spufs/file.c:122: error: (Each undeclared identifier is reported only once
> arch/powerpc/platforms/cell/spufs/file.c:122: error: for each function it appears in.)
> arch/powerpc/platforms/cell/spufs/file.c:141: error: expected ';' before 'if'
> arch/powerpc/platforms/cell/spufs/file.c:122: warning: unused variable 'addr0'
> make[3]: *** [arch/powerpc/platforms/cell/spufs/file.o] Blad 1
> make[2]: *** [arch/powerpc/platforms/cell/spufs] Blad 2
> make[1]: *** [arch/powerpc/platforms/cell] Blad 2
>
Yeah, that's the fix-fault-vs-invalidate-race patches, or my poor attempt
to fix them when spufs changed. I suppose I'll have a poke at it next time
I get the powerpc machine fired up.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
[not found] ` <6bffcb0e0705311425q2e00cc69j5006d95c3f0df158@mail.gmail.com>
@ 2007-05-31 21:34 ` Rafael J. Wysocki
0 siblings, 0 replies; 42+ messages in thread
From: Rafael J. Wysocki @ 2007-05-31 21:34 UTC (permalink / raw)
To: Michal Piotrowski; +Cc: Andrew Morton, linux-kernel, Pavel Machek, linux-pm
On Thursday, 31 May 2007 23:25, Michal Piotrowski wrote:
> On 31/05/07, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> > On Thursday, 31 May 2007 17:29, Michal Piotrowski wrote:
> > > Hi,
> > >
> > > Andrew Morton napisał(a):
> > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
> > > >
> > >
> > > FYI suspend to disk doesn't work anymore on my box, system hangs after "Suspending console(s)" message.
> > >
> > > [ 186.297753] Shrinking memory... \b-\b\\b|\b/\b-\b\\b|\bdone (113064 pages freed)
> > > [ 187.841914] Freed 452256 kbytes in 1.54 seconds (293.67 MB/s)
> > > [ 187.847730] Suspending console(s)
> > >
> > > http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc3-mm1/console.log
> > > http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.22-rc3-mm1/mm-config
> >
> > Hmm, that might be a couple of things, actually.
> >
> > To see if the patches directly related to hibernation/suspend cause this, can
> > you please test 2.6.22-rc3 with the patch series at
> >
> > http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.22-rc3/patches/
> >
> > applied?
>
> Ok, bug is in suspend tree.
Yup. Please see the message I've just sent (with a fix).
Rafael
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 15:13 ` 2.6.22-rc3-mm1 Christoph Hellwig
@ 2007-05-31 22:10 ` Andrew Morton
2007-06-01 7:09 ` 2.6.22-rc3-mm1 Cornelia Huck
0 siblings, 1 reply; 42+ messages in thread
From: Andrew Morton @ 2007-05-31 22:10 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Jeff Garzik, Cornelia Huck, Matthew Wilcox, linux-kernel,
SCSI development list, James Bottomley, Dan Williams
On Thu, 31 May 2007 16:13:38 +0100
Christoph Hellwig <hch@infradead.org> wrote:
> On Thu, May 31, 2007 at 08:35:13AM -0400, Jeff Garzik wrote:
> > Cornelia Huck wrote:
> > >On Thu, 31 May 2007 06:15:57 -0600,
> > >Matthew Wilcox <matthew@wil.cx> wrote:
> > >
> > >>On Thu, May 31, 2007 at 02:09:22PM +0200, Cornelia Huck wrote:
> > >>>I split those functions out into a new file. Builds on s390 and i386.
> > >>Why not just put #ifdef CONFIG_HAS_DMA / #endif around the pair of
> > >>functions? I don't see the need to add a new Kconfig symbol and a new
> > >>file for this.
> > >
> > >I prefer a new file over #ifdefs in c files. (New dma-dependent stuff
> > >would also have a place where it could go to.)
> > >
> > >But I'll do whatever ends up as consensus :)
> >
> > 50 lines isn't much need for a new file.
>
> The scsi core shouldn't know anything about dma mappings, so a separate
> file is a good idea just to keep the separation clean.
ok, let's go this way.
Cornelia, afaict your patch has no actual delendency upon Dan's
dma-mapping-prevent-dma-dependent-code-from-linking-on.patch, correct? If
so, I can merge it via James and then merge Dan's patch once James has
merged.
If there is a dependency then I guess I merge both into a single diff and
merge it all in one hit.
btw, this:
diff -puN include/scsi/scsi_cmnd.h~scsi-dont-build-scsi_dma_mapunmap-for-has_dma include/scsi/scsi_cmnd.h
--- a/include/scsi/scsi_cmnd.h~scsi-dont-build-scsi_dma_mapunmap-for-has_dma
+++ a/include/scsi/scsi_cmnd.h
@@ -135,8 +135,10 @@ extern void scsi_kunmap_atomic_sg(void *
extern struct scatterlist *scsi_alloc_sgtable(struct scsi_cmnd *, gfp_t);
extern void scsi_free_sgtable(struct scatterlist *, int);
+#ifdef CONFIG_SCSI_DMA
extern int scsi_dma_map(struct scsi_cmnd *cmd);
extern void scsi_dma_unmap(struct scsi_cmnd *cmd);
+#endif
#define scsi_sg_count(cmd) ((cmd)->use_sg)
#define scsi_sglist(cmd) ((struct scatterlist *)(cmd)->request_buffer)
We don't really need the ifdefs here. If someone incorrectly calls these
functions then they'll get a link-time failure anyway. The downside of
removing these ifdefs is that they won't get a compile-time warning, but I
tend to think that this small cost is worth it.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 6:58 2.6.22-rc3-mm1 Andrew Morton
` (3 preceding siblings ...)
2007-05-31 20:43 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
@ 2007-06-01 2:01 ` Arnaldo Carvalho de Melo
2007-06-01 2:12 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-01 3:52 ` 2.6.22-rc3-mm1 Michael Ellerman
` (2 subsequent siblings)
7 siblings, 1 reply; 42+ messages in thread
From: Arnaldo Carvalho de Melo @ 2007-06-01 2:01 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
>
> - Merged the convert-cpusets-to-container-infrastructure patches. These
> will probably be dropped and redone.
>
>
>
>
<BIG SNIP>
> x86 things
>
> +add-select-phylib-to-the-ucc_geth-kconfig-option.patch
> +m68k-parenthesis-balance.patch
> +msi-fix-the-ordering-of-msix-irqs.patch
> +msi-mask-the-msix-vector-before-we-unmap-it.patch
> +potential-parse-error-in-ifdef.patch
> +potential-parse-error-in-ifdef-fix.patch
> +potential-parse-error-in-ifdef-update.patch
> +pci_ids-update-patch-for-intel-ich9m.patch
> +x86-fix-oprofile-double-free-was-re-multiple-free.patch
>
http://lkml.org/lkml/2007/5/30/565 fixes the above patch :-)
<BIG SNIP>
- Arnaldo
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-01 2:01 ` 2.6.22-rc3-mm1 Arnaldo Carvalho de Melo
@ 2007-06-01 2:12 ` Andrew Morton
2007-06-01 2:24 ` 2.6.22-rc3-mm1 Arnaldo Carvalho de Melo
0 siblings, 1 reply; 42+ messages in thread
From: Andrew Morton @ 2007-06-01 2:12 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo; +Cc: linux-kernel
On Thu, 31 May 2007 23:01:15 -0300 Arnaldo Carvalho de Melo <acme@redhat.com> wrote:
> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
> >
> > - Merged the convert-cpusets-to-container-infrastructure patches. These
> > will probably be dropped and redone.
> >
> >
> >
> >
> <BIG SNIP>
> > x86 things
> >
> > +add-select-phylib-to-the-ucc_geth-kconfig-option.patch
> > +m68k-parenthesis-balance.patch
> > +msi-fix-the-ordering-of-msix-irqs.patch
> > +msi-mask-the-msix-vector-before-we-unmap-it.patch
> > +potential-parse-error-in-ifdef.patch
> > +potential-parse-error-in-ifdef-fix.patch
> > +potential-parse-error-in-ifdef-update.patch
> > +pci_ids-update-patch-for-intel-ich9m.patch
> > +x86-fix-oprofile-double-free-was-re-multiple-free.patch
> >
> http://lkml.org/lkml/2007/5/30/565 fixes the above patch :-)
>
I don't know what you mean. The code is already using
for_each_possible_cpu() and
x86-fix-oprofile-double-free-was-re-multiple-free.patch doesn't change
that.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-01 2:12 ` 2.6.22-rc3-mm1 Andrew Morton
@ 2007-06-01 2:24 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 42+ messages in thread
From: Arnaldo Carvalho de Melo @ 2007-06-01 2:24 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
Andrew Morton wrote:
> On Thu, 31 May 2007 23:01:15 -0300 Arnaldo Carvalho de Melo <acme@redhat.com> wrote:
>
>
>> Andrew Morton wrote:
>>
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
>>>
>>> - Merged the convert-cpusets-to-container-infrastructure patches. These
>>> will probably be dropped and redone.
>>>
>>>
>>>
>>>
>>>
>> <BIG SNIP>
>>
>>> x86 things
>>>
>>> +add-select-phylib-to-the-ucc_geth-kconfig-option.patch
>>> +m68k-parenthesis-balance.patch
>>> +msi-fix-the-ordering-of-msix-irqs.patch
>>> +msi-mask-the-msix-vector-before-we-unmap-it.patch
>>> +potential-parse-error-in-ifdef.patch
>>> +potential-parse-error-in-ifdef-fix.patch
>>> +potential-parse-error-in-ifdef-update.patch
>>> +pci_ids-update-patch-for-intel-ich9m.patch
>>> +x86-fix-oprofile-double-free-was-re-multiple-free.patch
>>>
>>>
>> http://lkml.org/lkml/2007/5/30/565 fixes the above patch :-)
>>
>>
>
> I don't know what you mean. The code is already using
> for_each_possible_cpu() and
> x86-fix-oprofile-double-free-was-re-multiple-free.patch doesn't change
> that.
>
>
Yes, the code, i.e. nmi_setup already uses for_each_possible_cpu(), that
is not the problem. The problem is allocate_msr doing a
for_each_online_cpu(), i.e. not allocating for each_possible_cpu. Chris
tested and acked the patch: http://lkml.org/lkml/2007/5/31/36
- Arnaldo
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 6:58 2.6.22-rc3-mm1 Andrew Morton
` (4 preceding siblings ...)
2007-06-01 2:01 ` 2.6.22-rc3-mm1 Arnaldo Carvalho de Melo
@ 2007-06-01 3:52 ` Michael Ellerman
2007-06-01 5:55 ` 2.6.22-rc3-mm1 Eric W. Biederman
2007-06-05 9:11 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 15:16 ` 2.6.22-rc3-mm1 Rusty Russell
7 siblings, 1 reply; 42+ messages in thread
From: Michael Ellerman @ 2007-06-01 3:52 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, ebiederm
On 5/31/07, Andrew Morton <akpm@linux-foundation.org> wrote:
>
...
> +msi-fix-the-ordering-of-msix-irqs.patch
> +msi-mask-the-msix-vector-before-we-unmap-it.patch
...
> 2.6.22 probable-queue
I think these two should be in the 2.6.22 definite-queue, unless Eric disagrees.
cheers
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-01 3:52 ` 2.6.22-rc3-mm1 Michael Ellerman
@ 2007-06-01 5:55 ` Eric W. Biederman
0 siblings, 0 replies; 42+ messages in thread
From: Eric W. Biederman @ 2007-06-01 5:55 UTC (permalink / raw)
To: Michael Ellerman; +Cc: Andrew Morton, linux-kernel
"Michael Ellerman" <michael@ellerman.id.au> writes:
> On 5/31/07, Andrew Morton <akpm@linux-foundation.org> wrote:
>>
> ...
>> +msi-fix-the-ordering-of-msix-irqs.patch
>> +msi-mask-the-msix-vector-before-we-unmap-it.patch
> ...
>> 2.6.22 probable-queue
>
> I think these two should be in the 2.6.22 definite-queue, unless Eric disagrees.
They are simple bug fixes for regression in 2.6.22 so I don't see a reason
to delay them.
Eric
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 22:10 ` 2.6.22-rc3-mm1 Andrew Morton
@ 2007-06-01 7:09 ` Cornelia Huck
0 siblings, 0 replies; 42+ messages in thread
From: Cornelia Huck @ 2007-06-01 7:09 UTC (permalink / raw)
To: Andrew Morton
Cc: Christoph Hellwig, Jeff Garzik, Matthew Wilcox, linux-kernel,
SCSI development list, James Bottomley, Dan Williams
On Thu, 31 May 2007 15:10:05 -0700,
Andrew Morton <akpm@linux-foundation.org> wrote:
> Cornelia, afaict your patch has no actual delendency upon Dan's
> dma-mapping-prevent-dma-dependent-code-from-linking-on.patch, correct? If
> so, I can merge it via James and then merge Dan's patch once James has
> merged.
AFAICS there's no dependency in that direction.
> diff -puN include/scsi/scsi_cmnd.h~scsi-dont-build-scsi_dma_mapunmap-for-has_dma include/scsi/scsi_cmnd.h
> --- a/include/scsi/scsi_cmnd.h~scsi-dont-build-scsi_dma_mapunmap-for-has_dma
> +++ a/include/scsi/scsi_cmnd.h
> @@ -135,8 +135,10 @@ extern void scsi_kunmap_atomic_sg(void *
> extern struct scatterlist *scsi_alloc_sgtable(struct scsi_cmnd *, gfp_t);
> extern void scsi_free_sgtable(struct scatterlist *, int);
>
> +#ifdef CONFIG_SCSI_DMA
> extern int scsi_dma_map(struct scsi_cmnd *cmd);
> extern void scsi_dma_unmap(struct scsi_cmnd *cmd);
> +#endif
>
> #define scsi_sg_count(cmd) ((cmd)->use_sg)
> #define scsi_sglist(cmd) ((struct scatterlist *)(cmd)->request_buffer)
>
> We don't really need the ifdefs here. If someone incorrectly calls these
> functions then they'll get a link-time failure anyway. The downside of
> removing these ifdefs is that they won't get a compile-time warning, but I
> tend to think that this small cost is worth it.
OK, fine with me.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 21:19 ` 2.6.22-rc3-mm1 Andrew Morton
@ 2007-06-01 20:50 ` Mariusz Kozlowski
2007-06-01 21:02 ` 2.6.22-rc3-mm1 Andrew Morton
0 siblings, 1 reply; 42+ messages in thread
From: Mariusz Kozlowski @ 2007-06-01 20:50 UTC (permalink / raw)
To: Andrew Morton
Cc: linuxppc-dev, paulus, Arnd Bergmann, linux-kernel, Nick Piggin
> > This is from iMac G3. The spufs_mem_mmap_fault() code looks bad
> > in arch/powerpc/platforms/cell/spufs/file.c but somehow I'm unable to find
> > the patch to blame hmm.
> >
> > arch/powerpc/platforms/cell/spufs/file.c: In function 'spufs_mem_mmap_fault':
> > arch/powerpc/platforms/cell/spufs/file.c:122: error: 'address' undeclared (first use in this function)
> > arch/powerpc/platforms/cell/spufs/file.c:122: error: (Each undeclared identifier is reported only once
> > arch/powerpc/platforms/cell/spufs/file.c:122: error: for each function it appears in.)
> > arch/powerpc/platforms/cell/spufs/file.c:141: error: expected ';' before 'if'
> > arch/powerpc/platforms/cell/spufs/file.c:122: warning: unused variable 'addr0'
> > make[3]: *** [arch/powerpc/platforms/cell/spufs/file.o] Blad 1
> > make[2]: *** [arch/powerpc/platforms/cell/spufs] Blad 2
> > make[1]: *** [arch/powerpc/platforms/cell] Blad 2
> >
>
> Yeah, that's the fix-fault-vs-invalidate-race patches, or my poor attempt
> to fix them when spufs changed. I suppose I'll have a poke at it next time
> I get the powerpc machine fired up.
I #if 0'ed that piece of code inside spufs_mem_mmap_fault() and run make again.
This is 'make allmodconfig && make' result:
ERROR: ".ps3av_set_hdr" [drivers/ps3/ps3av_cmd.ko] undefined!
ERROR: ".ps3av_do_pkt" [drivers/ps3/ps3av_cmd.ko] undefined!
ERROR: ".ps3_vuart_write" [drivers/ps3/ps3av_cmd.ko] undefined!
ERROR: ".ps3_vuart_read" [drivers/ps3/ps3av_cmd.ko] undefined!
ERROR: ".ps3av_cmd_fin" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_av_video_disable_sig" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_set_video_mode" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_video_get_monitor_info" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_audio_active" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_set_audio_mode" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_set_av_audio_param" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_vuart_read" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_av_get_hw_conf" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_av_video_mute" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_av_tv_mute" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_audio_mode" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_av_hdmi_mode" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_set_av_video_cs" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_vuart_write" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_audio_mute" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_avb_param" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_init" [drivers/ps3/ps3av.ko] undefined!
ERROR: ".ps3av_cmd_av_audio_mute" [drivers/ps3/ps3av.ko] undefined!
ERROR: "pmu_batteries" [drivers/power/pmu_battery.ko] undefined!
ERROR: "pmu_battery_count" [drivers/power/pmu_battery.ko] undefined!
ERROR: "pmu_power_flags" [drivers/power/pmu_battery.ko] undefined!
ERROR: "irq_map" [drivers/net/pasemi_mac.ko] undefined!
ERROR: "pmu_batteries" [drivers/macintosh/apm_emu.ko] undefined!
ERROR: "pmu_battery_count" [drivers/macintosh/apm_emu.ko] undefined!
ERROR: "pmu_power_flags" [drivers/macintosh/apm_emu.ko] undefined!
ERROR: ".cpufreq_set_policy" [arch/powerpc/platforms/cell/cbe_cpufreq.ko] undefined!
make[1]: *** [__modpost] Blad 1
make: *** [modules] Blad 2
Regards,
Mariusz
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-01 20:50 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
@ 2007-06-01 21:02 ` Andrew Morton
2007-06-01 21:21 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
` (2 more replies)
0 siblings, 3 replies; 42+ messages in thread
From: Andrew Morton @ 2007-06-01 21:02 UTC (permalink / raw)
To: Mariusz Kozlowski
Cc: linuxppc-dev, paulus, Arnd Bergmann, linux-kernel, Nick Piggin
On Fri, 1 Jun 2007 22:50:58 +0200
Mariusz Kozlowski <m.kozlowski@tuxland.pl> wrote:
> > > This is from iMac G3. The spufs_mem_mmap_fault() code looks bad
> > > in arch/powerpc/platforms/cell/spufs/file.c but somehow I'm unable to find
> > > the patch to blame hmm.
> > >
> > > arch/powerpc/platforms/cell/spufs/file.c: In function 'spufs_mem_mmap_fault':
> > > arch/powerpc/platforms/cell/spufs/file.c:122: error: 'address' undeclared (first use in this function)
> > > arch/powerpc/platforms/cell/spufs/file.c:122: error: (Each undeclared identifier is reported only once
> > > arch/powerpc/platforms/cell/spufs/file.c:122: error: for each function it appears in.)
> > > arch/powerpc/platforms/cell/spufs/file.c:141: error: expected ';' before 'if'
> > > arch/powerpc/platforms/cell/spufs/file.c:122: warning: unused variable 'addr0'
> > > make[3]: *** [arch/powerpc/platforms/cell/spufs/file.o] Blad 1
> > > make[2]: *** [arch/powerpc/platforms/cell/spufs] Blad 2
> > > make[1]: *** [arch/powerpc/platforms/cell] Blad 2
> > >
> >
> > Yeah, that's the fix-fault-vs-invalidate-race patches, or my poor attempt
> > to fix them when spufs changed. I suppose I'll have a poke at it next time
> > I get the powerpc machine fired up.
>
> I #if 0'ed that piece of code inside spufs_mem_mmap_fault() and run make again.
> This is 'make allmodconfig && make' result:
>
> ERROR: ".ps3av_set_hdr" [drivers/ps3/ps3av_cmd.ko] undefined!
> ERROR: ".ps3av_do_pkt" [drivers/ps3/ps3av_cmd.ko] undefined!
> ERROR: ".ps3_vuart_write" [drivers/ps3/ps3av_cmd.ko] undefined!
> ERROR: ".ps3_vuart_read" [drivers/ps3/ps3av_cmd.ko] undefined!
> ERROR: ".ps3av_cmd_fin" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_av_video_disable_sig" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_set_video_mode" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_video_get_monitor_info" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_audio_active" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_set_audio_mode" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_set_av_audio_param" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_vuart_read" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_av_get_hw_conf" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_av_video_mute" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_av_tv_mute" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_audio_mode" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_av_hdmi_mode" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_set_av_video_cs" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_vuart_write" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_audio_mute" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_avb_param" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_init" [drivers/ps3/ps3av.ko] undefined!
> ERROR: ".ps3av_cmd_av_audio_mute" [drivers/ps3/ps3av.ko] undefined!
> ERROR: "pmu_batteries" [drivers/power/pmu_battery.ko] undefined!
> ERROR: "pmu_battery_count" [drivers/power/pmu_battery.ko] undefined!
> ERROR: "pmu_power_flags" [drivers/power/pmu_battery.ko] undefined!
> ERROR: "irq_map" [drivers/net/pasemi_mac.ko] undefined!
> ERROR: "pmu_batteries" [drivers/macintosh/apm_emu.ko] undefined!
> ERROR: "pmu_battery_count" [drivers/macintosh/apm_emu.ko] undefined!
> ERROR: "pmu_power_flags" [drivers/macintosh/apm_emu.ko] undefined!
> ERROR: ".cpufreq_set_policy" [arch/powerpc/platforms/cell/cbe_cpufreq.ko] undefined!
> make[1]: *** [__modpost] Blad 1
> make: *** [modules] Blad 2
>
Yeah, allmodconfig tends to fall over in a heap on a lot of the
less-lavishly-maintained architectures. If any of these are specific to
-mm then I guess we should fix them up, prevent the kernel from actually
going backwards.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-01 21:02 ` 2.6.22-rc3-mm1 Andrew Morton
@ 2007-06-01 21:21 ` Mariusz Kozlowski
2007-06-01 23:30 ` 2.6.22-rc3-mm1 Benjamin Herrenschmidt
2007-06-02 8:40 ` 2.6.22-rc3-mm1 Segher Boessenkool
2 siblings, 0 replies; 42+ messages in thread
From: Mariusz Kozlowski @ 2007-06-01 21:21 UTC (permalink / raw)
To: Andrew Morton
Cc: linuxppc-dev, paulus, Arnd Bergmann, linux-kernel, Nick Piggin
> > > > This is from iMac G3. The spufs_mem_mmap_fault() code looks bad
> > > > in arch/powerpc/platforms/cell/spufs/file.c but somehow I'm unable to find
> > > > the patch to blame hmm.
> > > >
> > > > arch/powerpc/platforms/cell/spufs/file.c: In function 'spufs_mem_mmap_fault':
> > > > arch/powerpc/platforms/cell/spufs/file.c:122: error: 'address' undeclared (first use in this function)
> > > > arch/powerpc/platforms/cell/spufs/file.c:122: error: (Each undeclared identifier is reported only once
> > > > arch/powerpc/platforms/cell/spufs/file.c:122: error: for each function it appears in.)
> > > > arch/powerpc/platforms/cell/spufs/file.c:141: error: expected ';' before 'if'
> > > > arch/powerpc/platforms/cell/spufs/file.c:122: warning: unused variable 'addr0'
> > > > make[3]: *** [arch/powerpc/platforms/cell/spufs/file.o] Blad 1
> > > > make[2]: *** [arch/powerpc/platforms/cell/spufs] Blad 2
> > > > make[1]: *** [arch/powerpc/platforms/cell] Blad 2
> > > >
> > >
> > > Yeah, that's the fix-fault-vs-invalidate-race patches, or my poor attempt
> > > to fix them when spufs changed. I suppose I'll have a poke at it next time
> > > I get the powerpc machine fired up.
> >
> > I #if 0'ed that piece of code inside spufs_mem_mmap_fault() and run make again.
> > This is 'make allmodconfig && make' result:
> >
> > ERROR: ".ps3av_set_hdr" [drivers/ps3/ps3av_cmd.ko] undefined!
> > ERROR: ".ps3av_do_pkt" [drivers/ps3/ps3av_cmd.ko] undefined!
> > ERROR: ".ps3_vuart_write" [drivers/ps3/ps3av_cmd.ko] undefined!
> > ERROR: ".ps3_vuart_read" [drivers/ps3/ps3av_cmd.ko] undefined!
> > ERROR: ".ps3av_cmd_fin" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_av_video_disable_sig" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_set_video_mode" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_video_get_monitor_info" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_audio_active" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_set_audio_mode" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_set_av_audio_param" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_vuart_read" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_av_get_hw_conf" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_av_video_mute" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_av_tv_mute" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_audio_mode" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_av_hdmi_mode" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_set_av_video_cs" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_vuart_write" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_audio_mute" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_avb_param" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_init" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: ".ps3av_cmd_av_audio_mute" [drivers/ps3/ps3av.ko] undefined!
> > ERROR: "pmu_batteries" [drivers/power/pmu_battery.ko] undefined!
> > ERROR: "pmu_battery_count" [drivers/power/pmu_battery.ko] undefined!
> > ERROR: "pmu_power_flags" [drivers/power/pmu_battery.ko] undefined!
> > ERROR: "irq_map" [drivers/net/pasemi_mac.ko] undefined!
> > ERROR: "pmu_batteries" [drivers/macintosh/apm_emu.ko] undefined!
> > ERROR: "pmu_battery_count" [drivers/macintosh/apm_emu.ko] undefined!
> > ERROR: "pmu_power_flags" [drivers/macintosh/apm_emu.ko] undefined!
> > ERROR: ".cpufreq_set_policy" [arch/powerpc/platforms/cell/cbe_cpufreq.ko] undefined!
> > make[1]: *** [__modpost] Blad 1
> > make: *** [modules] Blad 2
> >
>
> Yeah, allmodconfig tends to fall over in a heap on a lot of the
> less-lavishly-maintained architectures. If any of these are specific to
> -mm then I guess we should fix them up, prevent the kernel from actually
> going backwards.
I recall compiling earlier versions of -mm on this iMac just fine a few months ago.
Now it looks like a bunch of new warnings appeared and if fails to compile for various
reasons in different places. I'm thinking of running -mm in next few days so maybe
something interesting will come up :-)
BTW. This is 'make allnoconfig && make' result:
MODPOST vmlinux
ln: accessing `arch/powerpc/boot/zImage': No such file or directory
make[1]: *** [arch/powerpc/boot/zImage] Error 1
make: *** [zImage] Error 2
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-01 21:02 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-01 21:21 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
@ 2007-06-01 23:30 ` Benjamin Herrenschmidt
2007-06-02 8:40 ` 2.6.22-rc3-mm1 Segher Boessenkool
2 siblings, 0 replies; 42+ messages in thread
From: Benjamin Herrenschmidt @ 2007-06-01 23:30 UTC (permalink / raw)
To: Andrew Morton
Cc: Mariusz Kozlowski, linuxppc-dev, paulus, Arnd Bergmann,
Nick Piggin, linux-kernel
On Fri, 2007-06-01 at 14:02 -0700, Andrew Morton wrote:
>
>
> Yeah, allmodconfig tends to fall over in a heap on a lot of the
> less-lavishly-maintained architectures. If any of these are specific
> to
> -mm then I guess we should fix them up, prevent the kernel from
> actually
> going backwards.
Some of the later seems to be related to the lack of CONFIG_PM .. it's
not much a lavish maintainership issue than the fact that nobody every
builds the powermac drivers without CONFIG_PM :-) I'll look into fixing
some of these.
As for the ps3 bits, it's a known problem, the ps3 support is still very
much a work in progress.
Cheers,
Ben.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-01 21:02 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-01 21:21 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
2007-06-01 23:30 ` 2.6.22-rc3-mm1 Benjamin Herrenschmidt
@ 2007-06-02 8:40 ` Segher Boessenkool
2 siblings, 0 replies; 42+ messages in thread
From: Segher Boessenkool @ 2007-06-02 8:40 UTC (permalink / raw)
To: Andrew Morton
Cc: Nick Piggin, linux-kernel, paulus, linuxppc-dev,
Mariusz Kozlowski, Arnd Bergmann
> Yeah, allmodconfig tends to fall over in a heap on a lot of the
> less-lavishly-maintained architectures.
To be fair, almost all of the powerpc allmodconfig build
problems are caused by x86-only drivers (and most of those
I doubt still work on x86, even).
Segher
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 6:58 2.6.22-rc3-mm1 Andrew Morton
` (5 preceding siblings ...)
2007-06-01 3:52 ` 2.6.22-rc3-mm1 Michael Ellerman
@ 2007-06-05 9:11 ` Ingo Molnar
2007-06-05 9:18 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 9:24 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-05 15:16 ` 2.6.22-rc3-mm1 Rusty Russell
7 siblings, 2 replies; 42+ messages in thread
From: Ingo Molnar @ 2007-06-05 9:11 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
hm, mm1 hangs during bootup on one of my boxes:
Calling initcall 0xc0628d39: pci_mmcfg_late_insert_resources+0x0/0x44()
initcall 0xc0628d39: pci_mmcfg_late_insert_resources+0x0/0x44() returned 0.
initcall 0xc0628d39 ran for 0 msecs:
pci_mmcfg_late_insert_resources+0x0/0x44()
Calling initcall 0xc062abd1: tcp_congestion_default+0x0/0xf()
initcall 0xc062abd1: tcp_congestion_default+0x0/0xf() returned 0.
initcall 0xc062abd1 ran for 0 msecs: tcp_congestion_default+0x0/0xf()
it usually hangs in different places. Full bootlog below. Same kernel
bzImage boots fine on another box.
the NMI watchdog warning is a bit weird:
Calling initcall 0xc0613e4f: check_nmi_watchdog+0x0/0x1a8()
Testing NMI watchdog ... CPU#0: NMI appears to be stuck (0->0)!
CPU#1: NMI appears to be stuck (0->0)!
initcall 0xc0613e4f: check_nmi_watchdog+0x0/0x1a8() returned -1.
initcall 0xc0613e4f ran for 27 msecs: check_nmi_watchdog+0x0/0x1a8()
i'll test it in a minute with that turned off.
Ingo
------------>
Linux version 2.6.22-rc3-mm1-v16-rc2 (mingo@dione) (gcc version 4.0.2) #9 SMP Tue Jun 5 10:48:06 CEST 2007
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
using polling idle threads.
127MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f5680
Entering add_active_range(0, 0, 262128) 0 entries of 256 used
sizeof(struct page) = 32
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 229376
HighMem 229376 -> 262128
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 262128
On node 0 totalpages: 262128
Node 0 memmap at 0xc1000000 size 8388608 first pfn 0xc1000000
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 1760 pages used for memmap
Normal zone: 223520 pages, LIFO batch:31
HighMem zone: 255 pages used for memmap
HighMem zone: 32497 pages, LIFO batch:7
Movable zone: 0 pages used for memmap
DMI 2.3 present.
ACPI: RSDP 000F76F0, 0014 (r0 Nvidia)
ACPI: RSDT 3FFF3040, 0034 (r1 Nvidia AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 3FFF30C0, 0074 (r1 Nvidia AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 3FFF3180, 6264 (r1 NVIDIA AWRDACPI 1000 MSFT 100000E)
ACPI: FACS 3FFF0000, 0040
ACPI: SRAT 3FFF9500, 00A0 (r1 AMD HAMMER 1 AMD 1)
ACPI: MCFG 3FFF9600, 003C (r1 Nvidia AWRDACPI 42302E31 AWRD 0)
ACPI: APIC 3FFF9440, 007C (r1 Nvidia AWRDACPI 42302E31 AWRD 0)
Nvidia board detected. Ignoring ACPI timer override.
If you got timer trouble try acpi_use_timer_override
ACPI: PM-Timer IO Port: 0x4008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:3 APIC version 16
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:3 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: BIOS IRQ0 pin2 override ignored.
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
ACPI: IRQ9 used by override.
ACPI: IRQ14 used by override.
ACPI: IRQ15 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 50000000 (gap: 40000000:a0000000)
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260081
Kernel command line: root=/dev/sda1 console=tty earlyprintk=serial,ttyS0,115200,keep 3 debug idle=poll profile=0 initcall_debug maxcpus=2 selinux=1 enforcing=0 apic=verbose ignore_loglevel nmi_watchdog=2
kernel profiling enabled (shift: 0)
debug: ignoring loglevel setting.
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c065b000 soft=c0663000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 2160.234 MHz processor.
spurious 8259A interrupt: IRQ7.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1018420k/1048512k available (3370k kernel code, 29424k reserved, 1735k data, 332k init, 131008k highmem)
virtual kernel memory layout:
fixmap : 0xfff4e000 - 0xfffff000 ( 708 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc0603000 - 0xc0656000 ( 332 kB)
.data : 0xc044aafa - 0xc05fc91c (1735 kB)
.text : 0xc0100000 - 0xc044aafa (3370 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4321.76 BogoMIPS (lpj=2160883)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 178bfbff e3d3fbff 00000000 00000000 00000001 00000000 00000003
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 0(2) -> Core 0
CPU: After all inits, caps: 178bfbff e3d3fbff 00000000 00000410 00000001 00000000 00000003
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
Freeing SMP alternatives: 16k freed
ACPI: Core revision 20070126
Parsing all Control Methods:
Table [DSDT](id 0001) - 980 Objects with 86 Devices 310 Methods 37 Regions
tbxface-0587 [02] tb_load_namespace : ACPI Tables successfully acquired
evxfevnt-0091 [02] enable : Transition to ACPI mode successful
CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02
enabled ExtINT on CPU#0
Booting processor 1/1 eip 2000
CPU 1 irqstacks, hard=c065c000 soft=c0664000
Initializing CPU#1
masked ExtINT on CPU#1
Calibrating delay using timer specific routine.. 4319.79 BogoMIPS (lpj=2159898)
CPU: After generic identify, caps: 178bfbff e3d3fbff 00000000 00000000 00000001 00000000 00000003
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU 1(2) -> Core 1
CPU: After all inits, caps: 178bfbff e3d3fbff 00000000 00000410 00000001 00000000 00000003
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02
Total of 2 processors activated (8641.56 BogoMIPS).
ENABLING IO-APIC IRQs
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-16, 2-17, 2-18, 2-19, 2-20, 2-21, 2-22, 2-23 not connected.
..TIMER: vector=0x31 apic1=0 pin1=0 apic2=-1 pin2=-1
Using local APIC timer interrupts.
calibrating APIC timer ...
... lapic delta = 1349919
... PM timer delta = 357899
... PM timer result ok
..... delta 1349919
..... mult: 57987393
..... calibration result: 215987
..... CPU clock speed is 2159.0869 MHz.
..... host bus clock speed is 215.0987 MHz.
Brought up 2 CPUs
Calling initcall 0xc0626528: init_cpufreq_transition_notifier_list+0x0/0x11()
initcall 0xc0626528: init_cpufreq_transition_notifier_list+0x0/0x11() returned 0.
initcall 0xc0626528 ran for 0 msecs: init_cpufreq_transition_notifier_list+0x0/0x11()
Calling initcall 0xc060ab73: cpufreq_tsc+0x0/0x11()
initcall 0xc060ab73: cpufreq_tsc+0x0/0x11() returned 0.
initcall 0xc060ab73 ran for 0 msecs: cpufreq_tsc+0x0/0x11()
Calling initcall 0xc060acd9: init_sched_clock+0x0/0x42()
initcall 0xc060acd9: init_sched_clock+0x0/0x42() returned 0.
initcall 0xc060acd9 ran for 0 msecs: init_sched_clock+0x0/0x42()
Calling initcall 0xc061092f: reboot_init+0x0/0x11()
initcall 0xc061092f: reboot_init+0x0/0x11() returned 0.
initcall 0xc061092f ran for 0 msecs: reboot_init+0x0/0x11()
Calling initcall 0xc061617a: print_banner+0x0/0xd()
Booting paravirtualized kernel on bare hardware
initcall 0xc061617a: print_banner+0x0/0xd() returned 0.
initcall 0xc061617a ran for 3 msecs: print_banner+0x0/0xd()
Calling initcall 0xc0617e97: sysctl_init+0x0/0x13()
initcall 0xc0617e97: sysctl_init+0x0/0x13() returned 0.
initcall 0xc0617e97 ran for 0 msecs: sysctl_init+0x0/0x13()
Calling initcall 0xc061893b: init_jiffies_clocksource+0x0/0xf()
initcall 0xc061893b: init_jiffies_clocksource+0x0/0xf() returned 0.
initcall 0xc061893b ran for 0 msecs: init_jiffies_clocksource+0x0/0xf()
Calling initcall 0xc0618c0a: pm_init+0x0/0x22()
initcall 0xc0618c0a: pm_init+0x0/0x22() returned 0.
initcall 0xc0618c0a ran for 0 msecs: pm_init+0x0/0x22()
Calling initcall 0xc0618edb: ksysfs_init+0x0/0x22()
initcall 0xc0618edb: ksysfs_init+0x0/0x22() returned 0.
initcall 0xc0618edb ran for 0 msecs: ksysfs_init+0x0/0x22()
Calling initcall 0xc061b418: filelock_init+0x0/0x37()
initcall 0xc061b418: filelock_init+0x0/0x37() returned 0.
initcall 0xc061b418 ran for 0 msecs: filelock_init+0x0/0x37()
Calling initcall 0xc061be98: init_misc_binfmt+0x0/0x33()
initcall 0xc061be98: init_misc_binfmt+0x0/0x33() returned 0.
initcall 0xc061be98 ran for 0 msecs: init_misc_binfmt+0x0/0x33()
Calling initcall 0xc061becb: init_script_binfmt+0x0/0xf()
initcall 0xc061becb: init_script_binfmt+0x0/0xf() returned 0.
initcall 0xc061becb ran for 0 msecs: init_script_binfmt+0x0/0xf()
Calling initcall 0xc061beda: init_elf_binfmt+0x0/0xf()
initcall 0xc061beda: init_elf_binfmt+0x0/0xf() returned 0.
initcall 0xc061beda ran for 0 msecs: init_elf_binfmt+0x0/0xf()
Calling initcall 0xc061cb95: securityfs_init+0x0/0x3d()
initcall 0xc061cb95: securityfs_init+0x0/0x3d() returned 0.
initcall 0xc061cb95 ran for 0 msecs: securityfs_init+0x0/0x3d()
Calling initcall 0xc061d505: random32_init+0x0/0x42()
initcall 0xc061d505: random32_init+0x0/0x42() returned 0.
initcall 0xc061d505 ran for 0 msecs: random32_init+0x0/0x42()
Calling initcall 0xc0626539: cpufreq_core_init+0x0/0x56()
initcall 0xc0626539: cpufreq_core_init+0x0/0x56() returned 0.
initcall 0xc0626539 ran for 0 msecs: cpufreq_core_init+0x0/0x56()
Calling initcall 0xc0629899: sock_init+0x0/0x5f()
initcall 0xc0629899: sock_init+0x0/0x5f() returned 0.
initcall 0xc0629899 ran for 0 msecs: sock_init+0x0/0x5f()
Calling initcall 0xc0629f72: netpoll_init+0x0/0x2f()
initcall 0xc0629f72: netpoll_init+0x0/0x2f() returned 0.
initcall 0xc0629f72 ran for 0 msecs: netpoll_init+0x0/0x2f()
Calling initcall 0xc062a21a: netlink_proto_init+0x0/0x12a()
NET: Registered protocol family 16
initcall 0xc062a21a: netlink_proto_init+0x0/0x12a() returned 0.
initcall 0xc062a21a ran for 2 msecs: netlink_proto_init+0x0/0x12a()
Calling initcall 0xc061d42d: kobject_uevent_init+0x0/0x45()
initcall 0xc061d42d: kobject_uevent_init+0x0/0x45() returned 0.
initcall 0xc061d42d ran for 0 msecs: kobject_uevent_init+0x0/0x45()
Calling initcall 0xc061d5e5: pcibus_class_init+0x0/0xf()
initcall 0xc061d5e5: pcibus_class_init+0x0/0xf() returned 0.
initcall 0xc061d5e5 ran for 0 msecs: pcibus_class_init+0x0/0xf()
Calling initcall 0xc061db0a: pci_driver_init+0x0/0xf()
initcall 0xc061db0a: pci_driver_init+0x0/0xf() returned 0.
initcall 0xc061db0a ran for 0 msecs: pci_driver_init+0x0/0xf()
Calling initcall 0xc061e0fb: backlight_class_init+0x0/0xf()
initcall 0xc061e0fb: backlight_class_init+0x0/0xf() returned 0.
initcall 0xc061e0fb ran for 0 msecs: backlight_class_init+0x0/0xf()
Calling initcall 0xc0620f16: tty_class_init+0x0/0x23()
initcall 0xc0620f16: tty_class_init+0x0/0x23() returned 0.
initcall 0xc0620f16 ran for 0 msecs: tty_class_init+0x0/0x23()
Calling initcall 0xc0621598: vtconsole_class_init+0x0/0xb5()
initcall 0xc0621598: vtconsole_class_init+0x0/0xb5() returned 0.
initcall 0xc0621598 ran for 0 msecs: vtconsole_class_init+0x0/0xb5()
Calling initcall 0xc0625fb2: lgend_pushf+0x0/0x163()
initcall 0xc0625fb2: lgend_pushf+0x0/0x163() returned 0.
initcall 0xc0625fb2 ran for 0 msecs: lgend_pushf+0x0/0x163()
Calling initcall 0xc060aaf7: init_pit_clocksource+0x0/0x65()
initcall 0xc060aaf7: init_pit_clocksource+0x0/0x65() returned 0.
initcall 0xc060aaf7 ran for 0 msecs: init_pit_clocksource+0x0/0x65()
Calling initcall 0xc060e115: mtrr_if_init+0x0/0x57()
initcall 0xc060e115: mtrr_if_init+0x0/0x57() returned 0.
initcall 0xc060e115 ran for 0 msecs: mtrr_if_init+0x0/0x57()
Calling initcall 0xc061081f: ffh_cstate_init+0x0/0x2c()
initcall 0xc061081f: ffh_cstate_init+0x0/0x2c() returned -1.
initcall 0xc061081f ran for 0 msecs: ffh_cstate_init+0x0/0x2c()
initcall at 0xc061081f: ffh_cstate_init+0x0/0x2c(): returned with error code -1
Calling initcall 0xc061dc50: acpi_pci_init+0x0/0x3f()
ACPI: bus type pci registered
initcall 0xc061dc50: acpi_pci_init+0x0/0x3f() returned 0.
initcall 0xc061dc50 ran for 2 msecs: acpi_pci_init+0x0/0x3f()
Calling initcall 0xc061f747: init_acpi_device_notify+0x0/0x45()
initcall 0xc061f747: init_acpi_device_notify+0x0/0x45() returned 0.
initcall 0xc061f747 ran for 0 msecs: init_acpi_device_notify+0x0/0x45()
Calling initcall 0xc0626c8e: dmi_id_init+0x0/0x26c()
initcall 0xc0626c8e: dmi_id_init+0x0/0x26c() returned 0.
initcall 0xc0626c8e ran for 0 msecs: dmi_id_init+0x0/0x26c()
Calling initcall 0xc06282e7: pci_access_init+0x0/0x41()
PCI: Using MMCONFIG
PCI: No mmconfig possible on device 00:18
initcall 0xc06282e7: pci_access_init+0x0/0x41() returned 0.
initcall 0xc06282e7 ran for 4 msecs: pci_access_init+0x0/0x41()
Calling initcall 0xc060a617: request_standard_resources+0x0/0x300()
Setting up standard PCI resources
initcall 0xc060a617: request_standard_resources+0x0/0x300() returned 0.
initcall 0xc060a617 ran for 5 msecs: request_standard_resources+0x0/0x300()
Calling initcall 0xc060a934: topology_init+0x0/0x2f()
initcall 0xc060a934: topology_init+0x0/0x2f() returned 0.
initcall 0xc060a934 ran for 0 msecs: topology_init+0x0/0x2f()
Calling initcall 0xc060de9d: mtrr_init_finialize+0x0/0x2c()
initcall 0xc060de9d: mtrr_init_finialize+0x0/0x2c() returned 0.
initcall 0xc060de9d ran for 0 msecs: mtrr_init_finialize+0x0/0x2c()
Calling initcall 0xc0618386: param_sysfs_init+0x0/0x17f()
initcall 0xc0618386: param_sysfs_init+0x0/0x17f() returned 0.
initcall 0xc0618386 ran for 1 msecs: param_sysfs_init+0x0/0x17f()
Calling initcall 0xc0140499: pm_sysrq_init+0x0/0x17()
initcall 0xc0140499: pm_sysrq_init+0x0/0x17() returned 0.
initcall 0xc0140499 ran for 0 msecs: pm_sysrq_init+0x0/0x17()
Calling initcall 0xc061ba84: init_bio+0x0/0xc7()
initcall 0xc061ba84: init_bio+0x0/0xc7() returned 0.
initcall 0xc061ba84 ran for 0 msecs: init_bio+0x0/0xc7()
Calling initcall 0xc061d1b4: genhd_device_init+0x0/0x50()
initcall 0xc061d1b4: genhd_device_init+0x0/0x50() returned 0.
initcall 0xc061d1b4 ran for 0 msecs: genhd_device_init+0x0/0x50()
Calling initcall 0xc061dc8f: fbmem_init+0x0/0x87()
initcall 0xc061dc8f: fbmem_init+0x0/0x87() returned 0.
initcall 0xc061dc8f ran for 0 msecs: fbmem_init+0x0/0x87()
Calling initcall 0xc061f54d: acpi_init+0x0/0x1fa()
evgpeblk-0956 [04] ev_create_gpe_block : GPE 00 to 1F [_GPE] 4 regs on int 0x9
evgpeblk-0956 [04] ev_create_gpe_block : GPE 20 to 5F [_GPE] 8 regs on int 0x9
evgpeblk-1052 [03] ev_initialize_gpe_bloc: Found 7 Wake, Enabled 0 Runtime GPEs in this block
evgpeblk-1052 [03] ev_initialize_gpe_bloc: Found 0 Wake, Enabled 0 Runtime GPEs in this block
Completing Region/Field/Buffer/Package initialization:.....................................................................................................................................................
Initialized 37/37 Regions 9/9 Fields 35/35 Buffers 68/77 Packages (989 nodes)
Initializing Device/Processor/Thermal objects by executing _INI methods:...
Executed 3 _INI methods requiring 1 _STA executions (examined 91 objects)
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
initcall 0xc061f54d: acpi_init+0x0/0x1fa() returned 0.
initcall 0xc061f54d ran for 76 msecs: acpi_init+0x0/0x1fa()
Calling initcall 0xc061f78c: acpi_scan_init+0x0/0xfc()
initcall 0xc061f78c: acpi_scan_init+0x0/0xfc() returned 0.
initcall 0xc061f78c ran for 13 msecs: acpi_scan_init+0x0/0xfc()
Calling initcall 0xc061f94b: acpi_ec_init+0x0/0x55()
initcall 0xc061f94b: acpi_ec_init+0x0/0x55() returned 0.
initcall 0xc061f94b ran for 0 msecs: acpi_ec_init+0x0/0x55()
Calling initcall 0xc061fa45: acpi_pci_root_init+0x0/0x25()
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Transparent bridge - 0000:00:09.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB0._PRT]
initcall 0xc061fa45: acpi_pci_root_init+0x0/0x25() returned 0.
initcall 0xc061fa45 ran for 96 msecs: acpi_pci_root_init+0x0/0x25()
Calling initcall 0xc061fb3e: acpi_pci_link_init+0x0/0x43()
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK2] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNK3] (IRQs 3 4 *5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNK4] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNK5] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LUBA] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LUBB] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LMAC] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LACI] (IRQs *3 4 5 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LMCI] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LSMB] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LUB2] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LIDE] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LSID] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LFID] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LPCA] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [APC1] (IRQs 16) *0, disabled.
ACPI: PCI Interrupt Link [APC2] (IRQs 17) *0
ACPI: PCI Interrupt Link [APC3] (IRQs 18) *0
ACPI: PCI Interrupt Link [APC4] (IRQs 19) *0, disabled.
ACPI: PCI Interrupt Link [APC5] (IRQs *16), disabled.
ACPI: PCI Interrupt Link [APCF] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCG] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCH] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [APCJ] (IRQs 20 21 22 23) *0
ACPI: PCI Interrupt Link [APCK] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCS] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCL] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCZ] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APSI] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APSJ] (IRQs 20 21 22 23) *0, disabled.
ACPI: PCI Interrupt Link [APCP] (IRQs 20 21 22 23) *0, disabled.
initcall 0xc061fb3e: acpi_pci_link_init+0x0/0x43() returned 0.
initcall 0xc061fb3e ran for 117 msecs: acpi_pci_link_init+0x0/0x43()
Calling initcall 0xc061fc18: acpi_power_init+0x0/0x69()
initcall 0xc061fc18: acpi_power_init+0x0/0x69() returned 0.
initcall 0xc061fc18 ran for 0 msecs: acpi_power_init+0x0/0x69()
Calling initcall 0xc06206ff: acpi_system_init+0x0/0xad()
initcall 0xc06206ff: acpi_system_init+0x0/0xad() returned 0.
initcall 0xc06206ff ran for 0 msecs: acpi_system_init+0x0/0xad()
Calling initcall 0xc06207ac: acpi_event_init+0x0/0x38()
initcall 0xc06207ac: acpi_event_init+0x0/0x38() returned 0.
initcall 0xc06207ac ran for 0 msecs: acpi_event_init+0x0/0x38()
Calling initcall 0xc06207e4: acpi_debug_init+0x0/0x99()
initcall 0xc06207e4: acpi_debug_init+0x0/0x99() returned 0.
initcall 0xc06207e4 ran for 0 msecs: acpi_debug_init+0x0/0x99()
Calling initcall 0xc062087d: acpi_cm_sbs_init+0x0/0x7()
initcall 0xc062087d: acpi_cm_sbs_init+0x0/0x7() returned 0.
initcall 0xc062087d ran for 0 msecs: acpi_cm_sbs_init+0x0/0x7()
Calling initcall 0xc0620884: pnp_init+0x0/0x1c()
Linux Plug and Play Support v0.97 (c) Adam Belay
initcall 0xc0620884: pnp_init+0x0/0x1c() returned 0.
initcall 0xc0620884 ran for 0 msecs: pnp_init+0x0/0x1c()
Calling initcall 0xc0620a56: pnpacpi_init+0x0/0x87()
pnp: PnP ACPI init
ACPI: bus type pnp registered
Clocksource tsc unstable (delta = 164410318 ns)
pnp: PnP ACPI: found 16 devices
ACPI: ACPI bus type pnp unregistered
initcall 0xc0620a56: pnpacpi_init+0x0/0x87() returned 0.
initcall 0xc0620a56 ran for 14 msecs: pnpacpi_init+0x0/0x87()
Calling initcall 0xc0621311: misc_init+0x0/0x79()
initcall 0xc0621311: misc_init+0x0/0x79() returned 0.
initcall 0xc0621311 ran for 0 msecs: misc_init+0x0/0x79()
Calling initcall 0xc0623b60: init_scsi+0x0/0x8f()
SCSI subsystem initialized
initcall 0xc0623b60: init_scsi+0x0/0x8f() returned 0.
initcall 0xc0623b60 ran for 1 msecs: init_scsi+0x0/0x8f()
Calling initcall 0xc0624368: ata_init+0x0/0x6c()
libata version 2.21 loaded.
initcall 0xc0624368: ata_init+0x0/0x6c() returned 0.
initcall 0xc0624368 ran for 0 msecs: ata_init+0x0/0x6c()
Calling initcall 0xc06250e2: usb_init+0x0/0x106()
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
initcall 0xc06250e2: usb_init+0x0/0x106() returned 0.
initcall 0xc06250e2 ran for 5 msecs: usb_init+0x0/0x106()
Calling initcall 0xc0625533: serio_init+0x0/0x8d()
initcall 0xc0625533: serio_init+0x0/0x8d() returned 0.
initcall 0xc0625533 ran for 0 msecs: serio_init+0x0/0x8d()
Calling initcall 0xc062590d: input_init+0x0/0x101()
initcall 0xc062590d: input_init+0x0/0x101() returned 0.
initcall 0xc062590d ran for 0 msecs: input_init+0x0/0x101()
Calling initcall 0xc0625b7a: hwmon_init+0x0/0x34()
initcall 0xc0625b7a: hwmon_init+0x0/0x34() returned 0.
initcall 0xc0625b7a ran for 0 msecs: hwmon_init+0x0/0x34()
Calling initcall 0xc0627ffb: ac97_bus_init+0x0/0xf()
initcall 0xc0627ffb: ac97_bus_init+0x0/0xf() returned 0.
initcall 0xc0627ffb ran for 0 msecs: ac97_bus_init+0x0/0xf()
Calling initcall 0xc0628e25: pci_acpi_init+0x0/0x9b()
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
number of MP IRQ sources: 16.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................
IO APIC #2......
.... register #00: 00000000
....... : physical APIC id: 00
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00170011
....... : max redirection entries: 0017
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 003 03 0 0 0 0 0 1 1 31
01 003 03 1 0 0 0 0 1 1 39
02 003 03 0 0 0 0 0 1 1 41
03 003 03 1 0 0 0 0 1 1 49
04 003 03 1 0 0 0 0 1 1 51
05 003 03 1 0 0 0 0 1 1 59
06 003 03 1 0 0 0 0 1 1 61
07 003 03 1 0 0 0 0 1 1 69
08 003 03 1 0 0 0 0 1 1 71
09 003 03 0 1 0 0 0 1 1 79
0a 003 03 1 0 0 0 0 1 1 81
0b 003 03 1 0 0 0 0 1 1 89
0c 003 03 1 0 0 0 0 1 1 91
0d 003 03 1 0 0 0 0 1 1 99
0e 003 03 0 0 0 0 0 1 1 A1
0f 003 03 0 0 0 0 0 1 1 A9
10 000 00 1 0 0 0 0 0 0 00
11 000 00 1 0 0 0 0 0 0 00
12 000 00 1 0 0 0 0 0 0 00
13 000 00 1 0 0 0 0 0 0 00
14 000 00 1 0 0 0 0 0 0 00
15 000 00 1 0 0 0 0 0 0 00
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:0
IRQ1 -> 0:1
IRQ2 -> 0:2
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
initcall 0xc0628e25: pci_acpi_init+0x0/0x9b() returned 0.
initcall 0xc0628e25 ran for 82 msecs: pci_acpi_init+0x0/0x9b()
Calling initcall 0xc0628ec0: pci_legacy_init+0x0/0x105()
initcall 0xc0628ec0: pci_legacy_init+0x0/0x105() returned 0.
initcall 0xc0628ec0 ran for 0 msecs: pci_legacy_init+0x0/0x105()
Calling initcall 0xc06293cb: pcibios_irq_init+0x0/0x452()
initcall 0xc06293cb: pcibios_irq_init+0x0/0x452() returned 0.
initcall 0xc06293cb ran for 0 msecs: pcibios_irq_init+0x0/0x452()
Calling initcall 0xc062981d: pcibios_init+0x0/0x7c()
initcall 0xc062981d: pcibios_init+0x0/0x7c() returned 0.
initcall 0xc062981d ran for 0 msecs: pcibios_init+0x0/0x7c()
Calling initcall 0xc062994e: proto_init+0x0/0x2e()
initcall 0xc062994e: proto_init+0x0/0x2e() returned 0.
initcall 0xc062994e ran for 0 msecs: proto_init+0x0/0x2e()
Calling initcall 0xc0629a9e: net_dev_init+0x0/0x1d9()
initcall 0xc0629a9e: net_dev_init+0x0/0x1d9() returned 0.
initcall 0xc0629a9e ran for 0 msecs: net_dev_init+0x0/0x1d9()
Calling initcall 0xc0629ca8: neigh_init+0x0/0x7a()
initcall 0xc0629ca8: neigh_init+0x0/0x7a() returned 0.
initcall 0xc0629ca8 ran for 0 msecs: neigh_init+0x0/0x7a()
Calling initcall 0xc0629fa1: fib_rules_init+0x0/0x55()
initcall 0xc0629fa1: fib_rules_init+0x0/0x55() returned 0.
initcall 0xc0629fa1 ran for 0 msecs: fib_rules_init+0x0/0x55()
Calling initcall 0xc062a0f2: pktsched_init+0x0/0xc9()
initcall 0xc062a0f2: pktsched_init+0x0/0xc9() returned 0.
initcall 0xc062a0f2 ran for 0 msecs: pktsched_init+0x0/0xc9()
Calling initcall 0xc062a1ca: tc_filter_init+0x0/0x50()
initcall 0xc062a1ca: tc_filter_init+0x0/0x50() returned 0.
initcall 0xc062a1ca ran for 0 msecs: tc_filter_init+0x0/0x50()
Calling initcall 0xc062a344: genl_init+0x0/0xa7()
initcall 0xc062a344: genl_init+0x0/0xa7() returned 0.
initcall 0xc062a344 ran for 0 msecs: genl_init+0x0/0xa7()
Calling initcall 0xc062b82a: wireless_nlevent_init+0x0/0x2f()
initcall 0xc062b82a: wireless_nlevent_init+0x0/0x2f() returned 0.
initcall 0xc062b82a ran for 0 msecs: wireless_nlevent_init+0x0/0x2f()
Calling initcall 0xc061885a: clocksource_done_booting+0x0/0x11()
initcall 0xc061885a: clocksource_done_booting+0x0/0x11() returned 0.
initcall 0xc061885a ran for 0 msecs: clocksource_done_booting+0x0/0x11()
Calling initcall 0xc061b3a2: init_pipe_fs+0x0/0x3f()
initcall 0xc061b3a2: init_pipe_fs+0x0/0x3f() returned 0.
initcall 0xc061b3a2 ran for 0 msecs: init_pipe_fs+0x0/0x3f()
Calling initcall 0xc061bd1a: eventpoll_init+0x0/0x96()
initcall 0xc061bd1a: eventpoll_init+0x0/0x96() returned 0.
initcall 0xc061bd1a ran for 0 msecs: eventpoll_init+0x0/0x96()
Calling initcall 0xc061bdb0: anon_inode_init+0x0/0xe8()
initcall 0xc061bdb0: anon_inode_init+0x0/0xe8() returned 0.
initcall 0xc061bdb0 ran for 0 msecs: anon_inode_init+0x0/0xe8()
Calling initcall 0xc0620960: pnp_system_init+0x0/0xf()
pnp: 00:01: ioport range 0x4000-0x407f has been reserved
pnp: 00:01: ioport range 0x4080-0x40ff has been reserved
pnp: 00:01: ioport range 0x4400-0x447f has been reserved
pnp: 00:01: ioport range 0x4480-0x44ff has been reserved
pnp: 00:01: ioport range 0x4800-0x487f has been reserved
pnp: 00:01: ioport range 0x4880-0x48ff has been reserved
pnp: 00:0e: iomem range 0xe0000000-0xefffffff could not be reserved
pnp: 00:0f: iomem range 0xf0000-0xf3fff could not be reserved
pnp: 00:0f: iomem range 0xf4000-0xf7fff could not be reserved
pnp: 00:0f: iomem range 0xf8000-0xfbfff could not be reserved
pnp: 00:0f: iomem range 0xfc000-0xfffff could not be reserved
initcall 0xc0620960: pnp_system_init+0x0/0xf() returned 0.
initcall 0xc0620960 ran for 10 msecs: pnp_system_init+0x0/0xf()
Calling initcall 0xc0620e36: chr_dev_init+0x0/0x86()
initcall 0xc0620e36: chr_dev_init+0x0/0x86() returned 0.
initcall 0xc0620e36 ran for 0 msecs: chr_dev_init+0x0/0x86()
Calling initcall 0xc0622b1e: firmware_class_init+0x0/0x66()
initcall 0xc0622b1e: firmware_class_init+0x0/0x66() returned 0.
initcall 0xc0622b1e ran for 0 msecs: firmware_class_init+0x0/0x66()
Calling initcall 0xc062660c: cpufreq_gov_performance_init+0x0/0xf()
initcall 0xc062660c: cpufreq_gov_performance_init+0x0/0xf() returned 0.
initcall 0xc062660c ran for 0 msecs: cpufreq_gov_performance_init+0x0/0xf()
Calling initcall 0xc062661b: cpufreq_gov_userspace_init+0x0/0x1b()
initcall 0xc062661b: cpufreq_gov_userspace_init+0x0/0x1b() returned 0.
initcall 0xc062661b ran for 0 msecs: cpufreq_gov_userspace_init+0x0/0x1b()
Calling initcall 0xc0626f0e: init_acpi_pm_clocksource+0x0/0x173()
initcall 0xc0626f0e<6>Time: acpi_pm clocksource has been installed.
Switched to high resolution mode on CPU 0
Switched to high resolution mode on CPU 1
: init_acpi_pm_clocksource+0x0/0x173() returned 0.
initcall 0xc0626f0e ran for 28 msecs: init_acpi_pm_clocksource+0x0/0x173()
Calling initcall 0xc0628064: pcibios_assign_resources+0x0/0x92()
PCI: Bridge: 0000:00:09.0
IO window: c000-cfff
MEM window: da000000-da0fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:0b.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:0c.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:0d.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:0e.0
IO window: b000-bfff
MEM window: d8000000-d9ffffff
PREFETCH window: d0000000-d7ffffff
PCI: Setting latency timer of device 0000:00:09.0 to 64
PCI: Setting latency timer of device 0000:00:0b.0 to 64
PCI: Setting latency timer of device 0000:00:0c.0 to 64
PCI: Setting latency timer of device 0000:00:0d.0 to 64
PCI: Setting latency timer of device 0000:00:0e.0 to 64
initcall 0xc0628064: pcibios_assign_resources+0x0/0x92() returned 0.
initcall 0xc0628064 ran for 69 msecs: pcibios_assign_resources+0x0/0x92()
Calling initcall 0xc062ae68: inet_init+0x0/0x2d6()
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1572864 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
initcall 0xc062ae68: inet_init+0x0/0x2d6() returned 0.
initcall 0xc062ae68 ran for 39 msecs: inet_init+0x0/0x2d6()
Calling initcall 0xc0608f76: populate_rootfs+0x0/0xe4()
initcall 0xc0608f76: populate_rootfs+0x0/0xe4() returned 0.
initcall 0xc0608f76 ran for 0 msecs: populate_rootfs+0x0/0xe4()
Calling initcall 0xc0609a6f: i8259A_init_sysfs+0x0/0x1d()
initcall 0xc0609a6f: i8259A_init_sysfs+0x0/0x1d() returned 0.
initcall 0xc0609a6f ran for 0 msecs: i8259A_init_sysfs+0x0/0x1d()
Calling initcall 0xc0609b4f: sbf_init+0x0/0xd2()
initcall 0xc0609b4f: sbf_init+0x0/0xd2() returned 0.
initcall 0xc0609b4f ran for 0 msecs: sbf_init+0x0/0xd2()
Calling initcall 0xc060a917: i8237A_init_sysfs+0x0/0x1d()
initcall 0xc060a917: i8237A_init_sysfs+0x0/0x1d() returned 0.
initcall 0xc060a917 ran for 0 msecs: i8237A_init_sysfs+0x0/0x1d()
Calling initcall 0xc060dce5: cache_sysfs_init+0x0/0x43()
initcall 0xc060dce5: cache_sysfs_init+0x0/0x43() returned 0.
initcall 0xc060dce5 ran for 0 msecs: cache_sysfs_init+0x0/0x43()
Calling initcall 0xc060de25: thermal_throttle_init_device+0x0/0x78()
initcall 0xc060de25: thermal_throttle_init_device+0x0/0x78() returned 0.
initcall 0xc060de25 ran for 0 msecs: thermal_throttle_init_device+0x0/0x78()
Calling initcall 0xc060f4cf: longrun_init+0x0/0x28()
initcall 0xc060f4cf: longrun_init+0x0/0x28() returned -19.
initcall 0xc060f4cf ran for 0 msecs: longrun_init+0x0/0x28()
Calling initcall 0xc060f80c: speedstep_init+0x0/0x1bf()
initcall 0xc060f80c: speedstep_init+0x0/0x1bf() returned -19.
initcall 0xc060f80c ran for 0 msecs: speedstep_init+0x0/0x1bf()
Calling initcall 0xc0610e97: apm_init+0x0/0x3bd()
apm: BIOS not found.
initcall 0xc0610e97: apm_init+0x0/0x3bd() returned -19.
initcall 0xc0610e97 ran for 1 msecs: apm_init+0x0/0x3bd()
Calling initcall 0xc06132d4: init_lapic_sysfs+0x0/0x28()
initcall 0xc06132d4: init_lapic_sysfs+0x0/0x28() returned 0.
initcall 0xc06132d4 ran for 0 msecs: init_lapic_sysfs+0x0/0x28()
Calling initcall 0xc06142cc: ioapic_init_sysfs+0x0/0xb6()
initcall 0xc06142cc: ioapic_init_sysfs+0x0/0xb6() returned 0.
initcall 0xc06142cc ran for 0 msecs: ioapic_init_sysfs+0x0/0xb6()
Calling initcall 0xc0615b98: serial8250_x86_com_init+0x0/0x26()
initcall 0xc0615b98: serial8250_x86_com_init+0x0/0x26() returned -19.
initcall 0xc0615b98 ran for 0 msecs: serial8250_x86_com_init+0x0/0x26()
Calling initcall 0xc0615ed7: hpet_register_sysfs+0x0/0x49()
initcall 0xc0615ed7: hpet_register_sysfs+0x0/0x49() returned 0.
initcall 0xc0615ed7 ran for 0 msecs: hpet_register_sysfs+0x0/0x49()
Calling initcall 0xc0616187: add_pcspkr+0x0/0x35()
initcall 0xc0616187: add_pcspkr+0x0/0x35() returned 0.
initcall 0xc0616187 ran for 0 msecs: add_pcspkr+0x0/0x35()
Calling initcall 0xc0616c5f: init_sched_debug_procfs+0x0/0x2a()
initcall 0xc0616c5f: init_sched_debug_procfs+0x0/0x2a() returned 0.
initcall 0xc0616c5f ran for 0 msecs: init_sched_debug_procfs+0x0/0x2a()
Calling initcall 0xc0617b2e: create_proc_profile+0x0/0x16c()
initcall 0xc0617b2e: create_proc_profile+0x0/0x16c() returned 0.
initcall 0xc0617b2e ran for 0 msecs: create_proc_profile+0x0/0x16c()
Calling initcall 0xc0617da4: ioresources_init+0x0/0x39()
initcall 0xc0617da4: ioresources_init+0x0/0x39() returned 0.
initcall 0xc0617da4 ran for 0 msecs: ioresources_init+0x0/0x39()
Calling initcall 0xc061802b: uid_cache_init+0x0/0x8c()
initcall 0xc061802b: uid_cache_init+0x0/0x8c() returned 0.
initcall 0xc061802b ran for 0 msecs: uid_cache_init+0x0/0x8c()
Calling initcall 0xc0618505: init_posix_timers+0x0/0x85()
initcall 0xc0618505: init_posix_timers+0x0/0x85() returned 0.
initcall 0xc0618505 ran for 0 msecs: init_posix_timers+0x0/0x85()
Calling initcall 0xc061858a: init_posix_cpu_timers+0x0/0x51()
initcall 0xc061858a: init_posix_cpu_timers+0x0/0x51() returned 0.
initcall 0xc061858a ran for 0 msecs: init_posix_cpu_timers+0x0/0x51()
Calling initcall 0xc06186cc: latency_init+0x0/0x20()
initcall 0xc06186cc: latency_init+0x0/0x20() returned 0.
initcall 0xc06186cc ran for 0 msecs: latency_init+0x0/0x20()
Calling initcall 0xc06186ec: timekeeping_init_device+0x0/0x1d()
initcall 0xc06186ec: timekeeping_init_device+0x0/0x1d() returned 0.
initcall 0xc06186ec ran for 0 msecs: timekeeping_init_device+0x0/0x1d()
Calling initcall 0xc061886b: init_clocksource_sysfs+0x0/0x43()
initcall 0xc061886b: init_clocksource_sysfs+0x0/0x43() returned 0.
initcall 0xc061886b ran for 0 msecs: init_clocksource_sysfs+0x0/0x43()
Calling initcall 0xc061894a: init_timer_list_procfs+0x0/0x2a()
initcall 0xc061894a: init_timer_list_procfs+0x0/0x2a() returned 0.
initcall 0xc061894a ran for 0 msecs: init_timer_list_procfs+0x0/0x2a()
Calling initcall 0xc06189e9: init+0x0/0x74()
initcall 0xc06189e9: init+0x0/0x74() returned 0.
initcall 0xc06189e9 ran for 0 msecs: init+0x0/0x74()
Calling initcall 0xc0618a5d: proc_dma_init+0x0/0x20()
initcall 0xc0618a5d: proc_dma_init+0x0/0x20() returned 0.
initcall 0xc0618a5d ran for 0 msecs: proc_dma_init+0x0/0x20()
Calling initcall 0xc013c40c: percpu_modinit+0x0/0x66()
initcall 0xc013c40c: percpu_modinit+0x0/0x66() returned 0.
initcall 0xc013c40c ran for 0 msecs: percpu_modinit+0x0/0x66()
Calling initcall 0xc0618be7: kallsyms_init+0x0/0x23()
initcall 0xc0618be7: kallsyms_init+0x0/0x23() returned 0.
initcall 0xc0618be7 ran for 0 msecs: kallsyms_init+0x0/0x23()
Calling initcall 0xc0618c2c: crash_notes_memory_init+0x0/0x38()
initcall 0xc0618c2c: crash_notes_memory_init+0x0/0x38() returned 0.
initcall 0xc0618c2c ran for 0 msecs: crash_notes_memory_init+0x0/0x38()
Calling initcall 0xc0618c64: ikconfig_init+0x0/0x3b()
initcall 0xc0618c64: ikconfig_init+0x0/0x3b() returned 0.
initcall 0xc0618c64 ran for 0 msecs: ikconfig_init+0x0/0x3b()
Calling initcall 0xc0618d11: audit_init+0x0/0x10b()
audit: initializing netlink socket (disabled)
audit(1181035938.234:1): initialized
initcall 0xc0618d11: audit_init+0x0/0x10b() returned 0.
initcall 0xc0618d11 ran for 7 msecs: audit_init+0x0/0x10b()
Calling initcall 0xc0618e91: init_kprobes+0x0/0x4a()
initcall 0xc0618e91: init_kprobes+0x0/0x4a() returned 0.
initcall 0xc0618e91 ran for 0 msecs: init_kprobes+0x0/0x4a()
Calling initcall 0xc0619076: relay_init+0x0/0x7()
initcall 0xc0619076: relay_init+0x0/0x7() returned 0.
initcall 0xc0619076 ran for 0 msecs: relay_init+0x0/0x7()
Calling initcall 0xc061907d: utsname_sysctl_init+0x0/0x11()
initcall 0xc061907d: utsname_sysctl_init+0x0/0x11() returned 0.
initcall 0xc061907d ran for 0 msecs: utsname_sysctl_init+0x0/0x11()
Calling initcall 0xc061a5ca: init_per_zone_pages_min+0x0/0x3c()
initcall 0xc061a5ca: init_per_zone_pages_min+0x0/0x3c() returned 0.
initcall 0xc061a5ca ran for 0 msecs: init_per_zone_pages_min+0x0/0x3c()
Calling initcall 0xc061a8a0: pdflush_init+0x0/0x16()
initcall 0xc061a8a0: pdflush_init+0x0/0x16() returned 0.
initcall 0xc061a8a0 ran for 0 msecs: pdflush_init+0x0/0x16()
Calling initcall 0xc061a8d5: kswapd_init+0x0/0x1c()
initcall 0xc061a8d5: kswapd_init+0x0/0x1c() returned 0.
initcall 0xc061a8d5 ran for 0 msecs: kswapd_init+0x0/0x1c()
Calling initcall 0xc061a8f1: setup_vmstat+0x0/0x3e()
initcall 0xc061a8f1: setup_vmstat+0x0/0x3e() returned 0.
initcall 0xc061a8f1 ran for 0 msecs: setup_vmstat+0x0/0x3e()
Calling initcall 0xc061aa51: init_emergency_pool+0x0/0x62()
highmem bounce pool size: 64 pages
initcall 0xc061aa51: init_emergency_pool+0x0/0x62() returned 0.
initcall 0xc061aa51 ran for 2 msecs: init_emergency_pool+0x0/0x62()
Calling initcall 0xc061aab3: procswaps_init+0x0/0x20()
initcall 0xc061aab3: procswaps_init+0x0/0x20() returned 0.
initcall 0xc061aab3 ran for 0 msecs: procswaps_init+0x0/0x20()
Calling initcall 0xc061aad3: kprefetchd_init+0x0/0x3f()
initcall 0xc061aad3: kprefetchd_init+0x0/0x3f() returned 0.
initcall 0xc061aad3 ran for 0 msecs: kprefetchd_init+0x0/0x3f()
Calling initcall 0xc061ab8f: hugetlb_init+0x0/0x59()
Total HugeTLB memory allocated, 0
initcall 0xc061ab8f: hugetlb_init+0x0/0x59() returned 0.
initcall 0xc061ab8f ran for 2 msecs: hugetlb_init+0x0/0x59()
Calling initcall 0xc061ac1e: init_tmpfs+0x0/0xbf()
initcall 0xc061ac1e: init_tmpfs+0x0/0xbf() returned 0.
initcall 0xc061ac1e ran for 0 msecs: init_tmpfs+0x0/0xbf()
Calling initcall 0xc061acf1: cpucache_init+0x0/0x2f()
initcall 0xc061acf1: cpucache_init+0x0/0x2f() returned 0.
initcall 0xc061acf1 ran for 0 msecs: cpucache_init+0x0/0x2f()
Calling initcall 0xc061b3e1: fasync_init+0x0/0x37()
initcall 0xc061b3e1: fasync_init+0x0/0x37() returned 0.
initcall 0xc061b3e1 ran for 0 msecs: fasync_init+0x0/0x37()
Calling initcall 0xc061b9b4: aio_setup+0x0/0x7d()
initcall 0xc061b9b4: aio_setup+0x0/0x7d() returned 0.
initcall 0xc061b9b4 ran for 0 msecs: aio_setup+0x0/0x7d()
Calling initcall 0xc061bc46: inotify_setup+0x0/0x11()
initcall 0xc061bc46: inotify_setup+0x0/0x11() returned 0.
initcall 0xc061bc46 ran for 0 msecs: inotify_setup+0x0/0x11()
Calling initcall 0xc061bc57: inotify_user_setup+0x0/0xc3()
initcall 0xc061bc57: inotify_user_setup+0x0/0xc3() returned 0.
initcall 0xc061bc57 ran for 0 msecs: inotify_user_setup+0x0/0xc3()
Calling initcall 0xc061bee9: init_mbcache+0x0/0x11()
initcall 0xc061bee9: init_mbcache+0x0/0x11() returned 0.
initcall 0xc061bee9 ran for 0 msecs: init_mbcache+0x0/0x11()
Calling initcall 0xc061befa: dquot_init+0x0/0xed()
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
initcall 0xc061befa: dquot_init+0x0/0xed() returned 0.
initcall 0xc061befa ran for 7 msecs: dquot_init+0x0/0xed()
Calling initcall 0xc061bfe7: init_v2_quota_format+0x0/0xf()
initcall 0xc061bfe7: init_v2_quota_format+0x0/0xf() returned 0.
initcall 0xc061bfe7 ran for 0 msecs: init_v2_quota_format+0x0/0xf()
Calling initcall 0xc061bff6: dnotify_init+0x0/0x37()
initcall 0xc061bff6: dnotify_init+0x0/0x37() returned 0.
initcall 0xc061bff6 ran for 0 msecs: dnotify_init+0x0/0x37()
Calling initcall 0xc061c40a: init_devpts_fs+0x0/0x30()
initcall 0xc061c40a: init_devpts_fs+0x0/0x30() returned 0.
initcall 0xc061c40a ran for 0 msecs: init_devpts_fs+0x0/0x30()
Calling initcall 0xc061c43a: init_ext3_fs+0x0/0x6e()
initcall 0xc061c43a: init_ext3_fs+0x0/0x6e() returned 0.
initcall 0xc061c43a ran for 0 msecs: init_ext3_fs+0x0/0x6e()
Calling initcall 0xc061c568: journal_init+0x0/0xd8()
initcall 0xc061c568: journal_init+0x0/0xd8() returned 0.
initcall 0xc061c568 ran for 0 msecs: journal_init+0x0/0xd8()
Calling initcall 0xc061c640: init_ext2_fs+0x0/0x6e()
initcall 0xc061c640: init_ext2_fs+0x0/0x6e() returned 0.
initcall 0xc061c640 ran for 0 msecs: init_ext2_fs+0x0/0x6e()
Calling initcall 0xc061c6e2: init_ramfs_fs+0x0/0xf()
initcall 0xc061c6e2: init_ramfs_fs+0x0/0xf() returned 0.
initcall 0xc061c6e2 ran for 0 msecs: init_ramfs_fs+0x0/0xf()
Calling initcall 0xc061c700: init_hugetlbfs_fs+0x0/0x7d()
initcall 0xc061c700: init_hugetlbfs_fs+0x0/0x7d() returned 0.
initcall 0xc061c700 ran for 0 msecs: init_hugetlbfs_fs+0x0/0x7d()
Calling initcall 0xc061c77d: init_iso9660_fs+0x0/0x70()
initcall 0xc061c77d: init_iso9660_fs+0x0/0x70() returned 0.
initcall 0xc061c77d ran for 0 msecs: init_iso9660_fs+0x0/0x70()
Calling initcall 0xc061c84e: init_nls_cp437+0x0/0xf()
initcall 0xc061c84e: init_nls_cp437+0x0/0xf() returned 0.
initcall 0xc061c84e ran for 0 msecs: init_nls_cp437+0x0/0xf()
Calling initcall 0xc061c85d: init_nls_ascii+0x0/0xf()
initcall 0xc061c85d: init_nls_ascii+0x0/0xf() returned 0.
initcall 0xc061c85d ran for 0 msecs: init_nls_ascii+0x0/0xf()
Calling initcall 0xc061c86c: ipc_init+0x0/0x16()
initcall 0xc061c86c: ipc_init+0x0/0x16() returned 0.
initcall 0xc061c86c ran for 0 msecs: ipc_init+0x0/0x16()
Calling initcall 0xc061ca8d: ipc_sysctl_init+0x0/0x11()
initcall 0xc061ca8d: ipc_sysctl_init+0x0/0x11() returned 0.
initcall 0xc061ca8d ran for 0 msecs: ipc_sysctl_init+0x0/0x11()
Calling initcall 0xc061ca9e: init_mqueue_fs+0x0/0xb8()
initcall 0xc061ca9e: init_mqueue_fs+0x0/0xb8() returned 0.
initcall 0xc061ca9e ran for 0 msecs: init_mqueue_fs+0x0/0xb8()
Calling initcall 0xc061cc9e: selinux_nf_ip_init+0x0/0x57()
SELinux: Registering netfilter hooks
initcall 0xc061cc9e: selinux_nf_ip_init+0x0/0x57() returned 0.
initcall 0xc061cc9e ran for 3 msecs: selinux_nf_ip_init+0x0/0x57()
Calling initcall 0xc061ce18: init_sel_fs+0x0/0x52()
initcall 0xc061ce18: init_sel_fs+0x0/0x52() returned 0.
initcall 0xc061ce18 ran for 0 msecs: init_sel_fs+0x0/0x52()
Calling initcall 0xc061ce6a: selnl_init+0x0/0x4d()
initcall 0xc061ce6a: selnl_init+0x0/0x4d() returned 0.
initcall 0xc061ce6a ran for 0 msecs: selnl_init+0x0/0x4d()
Calling initcall 0xc061ceb7: sel_netif_init+0x0/0x6d()
initcall 0xc061ceb7: sel_netif_init+0x0/0x6d() returned 0.
initcall 0xc061ceb7 ran for 0 msecs: sel_netif_init+0x0/0x6d()
Calling initcall 0xc061cf24: aurule_init+0x0/0x46()
initcall 0xc061cf24: aurule_init+0x0/0x46() returned 0.
initcall 0xc061cf24 ran for 0 msecs: aurule_init+0x0/0x46()
Calling initcall 0xc061cfec: crypto_algapi_init+0x0/0xc()
initcall 0xc061cfec: crypto_algapi_init+0x0/0xc() returned 0.
initcall 0xc061cfec ran for 0 msecs: crypto_algapi_init+0x0/0xc()
Calling initcall 0xc061d016: cryptomgr_init+0x0/0xf()
initcall 0xc061d016: cryptomgr_init+0x0/0xf() returned 0.
initcall 0xc061d016 ran for 0 msecs: cryptomgr_init+0x0/0xf()
Calling initcall 0xc061d025: hmac_module_init+0x0/0xf()
initcall 0xc061d025: hmac_module_init+0x0/0xf() returned 0.
initcall 0xc061d025 ran for 0 msecs: hmac_module_init+0x0/0xf()
Calling initcall 0xc061d034: init+0x0/0xf()
initcall 0xc061d034: init+0x0/0xf() returned 0.
initcall 0xc061d034 ran for 0 msecs: init+0x0/0xf()
Calling initcall 0xc061d043: init+0x0/0xf()
initcall 0xc061d043: init+0x0/0xf() returned 0.
initcall 0xc061d043 ran for 0 msecs: init+0x0/0xf()
Calling initcall 0xc061d344: noop_init+0x0/0xf()
io scheduler noop registered
initcall 0xc061d344: noop_init+0x0/0xf() returned 0.
initcall 0xc061d344 ran for 2 msecs: noop_init+0x0/0xf()
Calling initcall 0xc061d353: as_init+0x0/0xf()
io scheduler anticipatory registered (default)
initcall 0xc061d353: as_init+0x0/0xf() returned 0.
initcall 0xc061d353 ran for 3 msecs: as_init+0x0/0xf()
Calling initcall 0xc061d362: deadline_init+0x0/0xf()
io scheduler deadline registered
initcall 0xc061d362: deadline_init+0x0/0xf() returned 0.
initcall 0xc061d362 ran for 2 msecs: deadline_init+0x0/0xf()
Calling initcall 0xc061d371: cfq_init+0x0/0xbc()
io scheduler cfq registered
initcall 0xc061d371: cfq_init+0x0/0xbc() returned 0.
initcall 0xc061d371 ran for 2 msecs: cfq_init+0x0/0xbc()
Calling initcall 0xc061d596: audit_classes_init+0x0/0x4f()
initcall 0xc061d596: audit_classes_init+0x0/0x4f() returned 0.
initcall 0xc061d596 ran for 0 msecs: audit_classes_init+0x0/0x4f()
Calling initcall 0xc01fb182: pci_init+0x0/0x2c()
PCI: Linking AER extended capability on 0000:00:0b.0
PCI: Linking AER extended capability on 0000:00:0c.0
PCI: Linking AER extended capability on 0000:00:0d.0
PCI: Linking AER extended capability on 0000:00:0e.0
Boot video device is 0000:01:00.0
initcall 0xc01fb182: pci_init+0x0/0x2c() returned 0.
initcall 0xc01fb182 ran for 32 msecs: pci_init+0x0/0x2c()
Calling initcall 0xc061db4e: pci_proc_init+0x0/0x5f()
initcall 0xc061db4e: pci_proc_init+0x0/0x5f() returned 0.
initcall 0xc061db4e ran for 0 msecs: pci_proc_init+0x0/0x5f()
Calling initcall 0xc061dbad: pci_hotplug_init+0x0/0x57()
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
initcall 0xc061dbad: pci_hotplug_init+0x0/0x57() returned 0.
initcall 0xc061dbad ran for 4 msecs: pci_hotplug_init+0x0/0x57()
Calling initcall 0xc061ddab: fb_console_init+0x0/0x10b()
initcall 0xc061ddab: fb_console_init+0x0/0x10b() returned 0.
initcall 0xc061ddab ran for 0 msecs: fb_console_init+0x0/0x10b()
Calling initcall 0xc061e7c0: vesafb_init+0x0/0x271()
initcall 0xc061e7c0: vesafb_init+0x0/0x271() returned 0.
initcall 0xc061e7c0 ran for 0 msecs: vesafb_init+0x0/0x271()
Calling initcall 0xc061ee85: acpi_reserve_resources+0x0/0xc8()
initcall 0xc061ee85: acpi_reserve_resources+0x0/0xc8() returned 0.
initcall 0xc061ee85 ran for 0 msecs: acpi_reserve_resources+0x0/0xc8()
Calling initcall 0xc061f9f4: acpi_fan_init+0x0/0x51()
ACPI: Fan [FAN] (on)
initcall 0xc061f9f4: acpi_fan_init+0x0/0x51() returned 0.
initcall 0xc061f9f4 ran for 1 msecs: acpi_fan_init+0x0/0x51()
Calling initcall 0xc061fb0b: irqrouter_init_sysfs+0x0/0x33()
initcall 0xc061fb0b: irqrouter_init_sysfs+0x0/0x33() returned 0.
initcall 0xc061fb0b ran for 0 msecs: irqrouter_init_sysfs+0x0/0x33()
Calling initcall 0xc061fc81: acpi_processor_init+0x0/0xa4()
initcall 0xc061fc81: acpi_processor_init+0x0/0xa4() returned 0.
initcall 0xc061fc81 ran for 0 msecs: acpi_processor_init+0x0/0xa4()
Calling initcall 0xc0620669: acpi_container_init+0x0/0x45()
initcall 0xc0620669: acpi_container_init+0x0/0x45() returned 0.
initcall 0xc0620669 ran for 5 msecs: acpi_container_init+0x0/0x45()
Calling initcall 0xc06206ae: acpi_thermal_init+0x0/0x51()
ACPI: Thermal Zone [THRM] (40 C)
initcall 0xc06206ae: acpi_thermal_init+0x0/0x51() returned 0.
initcall 0xc06206ae ran for 3 msecs: acpi_thermal_init+0x0/0x51()
Calling initcall 0xc0620eca: rand_initialize+0x0/0x25()
initcall 0xc0620eca: rand_initialize+0x0/0x25() returned 0.
initcall 0xc0620eca ran for 0 msecs: rand_initialize+0x0/0x25()
Calling initcall 0xc0620f39: tty_init+0x0/0x1c9()
initcall 0xc0620f39: tty_init+0x0/0x1c9() returned 0.
initcall 0xc0620f39 ran for 2 msecs: tty_init+0x0/0x1c9()
Calling initcall 0xc0621102: pty_init+0x0/0x20f()
initcall 0xc0621102: pty_init+0x0/0x20f() returned 0.
initcall 0xc0621102 ran for 0 msecs: pty_init+0x0/0x20f()
Calling initcall 0xc06218be: hvc_lguest_init+0x0/0xf()
initcall 0xc06218be: hvc_lguest_init+0x0/0xf() returned 0.
initcall 0xc06218be ran for 0 msecs: hvc_lguest_init+0x0/0xf()
Calling initcall 0xc06218fe: hvc_init+0x0/0xe2()
initcall 0xc06218fe: hvc_init+0x0/0xe2() returned 0.
initcall 0xc06218fe ran for 0 msecs: hvc_init+0x0/0xe2()
Calling initcall 0xc06219e0: raw_init+0x0/0xc9()
initcall 0xc06219e0: raw_init+0x0/0xc9() returned 0.
initcall 0xc06219e0 ran for 0 msecs: raw_init+0x0/0xc9()
Calling initcall 0xc0621aa9: rtc_init+0x0/0x1bf()
Real Time Clock Driver v1.12ac
initcall 0xc0621aa9: rtc_init+0x0/0x1bf() returned 0.
initcall 0xc0621aa9 ran for 2 msecs: rtc_init+0x0/0x1bf()
Calling initcall 0xc0621c68: agp_init+0x0/0x2f()
Linux agpgart interface v0.102 (c) Dave Jones
initcall 0xc0621c68: agp_init+0x0/0x2f() returned 0.
initcall 0xc0621c68 ran for 3 msecs: agp_init+0x0/0x2f()
Calling initcall 0xc0621cfb: agp_ali_init+0x0/0x24()
initcall 0xc0621cfb: agp_ali_init+0x0/0x24() returned 0.
initcall 0xc0621cfb ran for 0 msecs: agp_ali_init+0x0/0x24()
Calling initcall 0xc0621d1f: agp_ati_init+0x0/0x24()
initcall 0xc0621d1f: agp_ati_init+0x0/0x24() returned 0.
initcall 0xc0621d1f ran for 0 msecs: agp_ati_init+0x0/0x24()
Calling initcall 0xc0621d43: agp_amdk7_init+0x0/0x24()
initcall 0xc0621d43: agp_amdk7_init+0x0/0x24() returned 0.
initcall 0xc0621d43 ran for 0 msecs: agp_amdk7_init+0x0/0x24()
Calling initcall 0xc0621d67: agp_amd64_init+0x0/0xa7()
initcall 0xc0621d67: agp_amd64_init+0x0/0xa7() returned 0.
initcall 0xc0621d67 ran for 0 msecs: agp_amd64_init+0x0/0xa7()
Calling initcall 0xc0621e0e: agp_efficeon_init+0x0/0x39()
initcall 0xc0621e0e: agp_efficeon_init+0x0/0x39() returned 0.
initcall 0xc0621e0e ran for 0 msecs: agp_efficeon_init+0x0/0x39()
Calling initcall 0xc0621e47: agp_intel_init+0x0/0x31()
agpgart: suspend/resume problematic: resume with 3D/DRI active may lockup X.Org
on some chipset/BIOS combos (see DEBUG_AGP_PM in intel-agp.c)
initcall 0xc0621e47: agp_intel_init+0x0/0x31() returned 0.
initcall 0xc0621e47 ran for 11 msecs: agp_intel_init+0x0/0x31()
Calling initcall 0xc0621e78: agp_nvidia_init+0x0/0x24()
initcall 0xc0621e78: agp_nvidia_init+0x0/0x24() returned 0.
initcall 0xc0621e78 ran for 0 msecs: agp_nvidia_init+0x0/0x24()
Calling initcall 0xc0621e9c: agp_sis_init+0x0/0x24()
initcall 0xc0621e9c: agp_sis_init+0x0/0x24() returned 0.
initcall 0xc0621e9c ran for 0 msecs: agp_sis_init+0x0/0x24()
Calling initcall 0xc0621ec0: agp_serverworks_init+0x0/0x24()
initcall 0xc0621ec0: agp_serverworks_init+0x0/0x24() returned 0.
initcall 0xc0621ec0 ran for 0 msecs: agp_serverworks_init+0x0/0x24()
Calling initcall 0xc0621ee4: agp_via_init+0x0/0x24()
initcall 0xc0621ee4: agp_via_init+0x0/0x24() returned 0.
initcall 0xc0621ee4 ran for 0 msecs: agp_via_init+0x0/0x24()
Calling initcall 0xc0621f08: drm_core_init+0x0/0x12d()
[drm] Initialized drm 1.1.0 20060810
initcall 0xc0621f08: drm_core_init+0x0/0x12d() returned 0.
initcall 0xc0621f08 ran for 3 msecs: drm_core_init+0x0/0x12d()
Calling initcall 0xc0622035: i810_init+0x0/0x19()
initcall 0xc0622035: i810_init+0x0/0x19() returned 0.
initcall 0xc0622035 ran for 0 msecs: i810_init+0x0/0x19()
Calling initcall 0xc062204e: i915_init+0x0/0x19()
initcall 0xc062204e: i915_init+0x0/0x19() returned 0.
initcall 0xc062204e ran for 0 msecs: i915_init+0x0/0x19()
Calling initcall 0xc06223e9: serial8250_init+0x0/0x103()
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
initcall 0xc06223e9: serial8250_init+0x0/0x103() returned 0.
initcall 0xc06223e9 ran for 6 msecs: serial8250_init+0x0/0x103()
Calling initcall 0xc06224ec: serial8250_pci_init+0x0/0x16()
initcall 0xc06224ec: serial8250_pci_init+0x0/0x16() returned 0.
initcall 0xc06224ec ran for 0 msecs: serial8250_pci_init+0x0/0x16()
Calling initcall 0xc0622aeb: isa_bus_init+0x0/0x33()
initcall 0xc0622aeb: isa_bus_init+0x0/0x33() returned 0.
initcall 0xc0622aeb ran for 0 msecs: isa_bus_init+0x0/0x33()
Calling initcall 0xc0622b84: topology_sysfs_init+0x0/0x48()
initcall 0xc0622b84: topology_sysfs_init+0x0/0x48() returned 0.
initcall 0xc0622b84 ran for 0 msecs: topology_sysfs_init+0x0/0x48()
Calling initcall 0xc0622bcc: rd_init+0x0/0x18d()
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
initcall 0xc0622bcc: rd_init+0x0/0x18d() returned 0.
initcall 0xc0622bcc ran for 6 msecs: rd_init+0x0/0x18d()
Calling initcall 0xc062326a: cpqarray_init+0x0/0x23a()
Compaq SMART2 Driver (v 2.6.0)
initcall 0xc062326a: cpqarray_init+0x0/0x23a() returned 0.
initcall 0xc062326a ran for 2 msecs: cpqarray_init+0x0/0x23a()
Calling initcall 0xc06237b2: pkt_init+0x0/0x159()
initcall 0xc06237b2: pkt_init+0x0/0x159() returned 0.
initcall 0xc06237b2 ran for 0 msecs: pkt_init+0x0/0x159()
Calling initcall 0xc062390b: lguestblk_init+0x0/0xf()
initcall 0xc062390b: lguestblk_init+0x0/0xf() returned 0.
initcall 0xc062390b ran for 0 msecs: lguestblk_init+0x0/0xf()
Calling initcall 0xc062391a: e1000_init_module+0x0/0x80()
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
initcall 0xc062391a: e1000_init_module+0x0/0x80() returned 0.
initcall 0xc062391a ran for 8 msecs: e1000_init_module+0x0/0x80()
Calling initcall 0xc062399a: e100_init_module+0x0/0x5a()
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
initcall 0xc062399a: e100_init_module+0x0/0x5a() returned 0.
initcall 0xc062399a ran for 8 msecs: e100_init_module+0x0/0x5a()
Calling initcall 0xc06239f4: tg3_init+0x0/0x16()
initcall 0xc06239f4: tg3_init+0x0/0x16() returned 0.
initcall 0xc06239f4 ran for 0 msecs: tg3_init+0x0/0x16()
Calling initcall 0xc0623a0a: skge_init_module+0x0/0x16()
initcall 0xc0623a0a: skge_init_module+0x0/0x16() returned 0.
initcall 0xc0623a0a ran for 0 msecs: skge_init_module+0x0/0x16()
Calling initcall 0xc0623a61: net_olddevs_init+0x0/0x89()
initcall 0xc0623a61: net_olddevs_init+0x0/0x89() returned 0.
initcall 0xc0623a61 ran for 0 msecs: net_olddevs_init+0x0/0x89()
Calling initcall 0xc0623aea: loopback_init+0x0/0xf()
initcall 0xc0623aea: loopback_init+0x0/0xf() returned 0.
initcall 0xc0623aea ran for 0 msecs: loopback_init+0x0/0xf()
Calling initcall 0xc0623af9: init_nic+0x0/0x2c()
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.60.
ACPI: PCI Interrupt Link [APCH] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [APCH] -> GSI 23 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:0a.0 to 64
forcedeth: using HIGHDMA
eth0: forcedeth.c: subsystem: 01043:8141 bound to 0000:00:0a.0
initcall 0xc0623af9: init_nic+0x0/0x2c() returned 0.
initcall 0xc0623af9 ran for 518 msecs: init_nic+0x0/0x2c()
Calling initcall 0xc0623b25: rtl8139_init_module+0x0/0x16()
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [APC2] enabled at IRQ 17
ACPI: PCI Interrupt 0000:05:07.0[A] -> Link [APC2] -> GSI 17 (level, low) -> IRQ 17
eth1: RealTek RTL8139 at 0xf881c000, 00:c0:df:03:68:5d, IRQ 17
eth1: Identified 8139 chip type 'RTL-8139B'
initcall 0xc0623b25: rtl8139_init_module+0x0/0x16() returned 0.
initcall 0xc0623b25 ran for 23 msecs: rtl8139_init_module+0x0/0x16()
Calling initcall 0xc0623b3b: rtl8169_init_module+0x0/0x16()
initcall 0xc0623b3b: rtl8169_init_module+0x0/0x16() returned 0.
initcall 0xc0623b3b ran for 0 msecs: rtl8169_init_module+0x0/0x16()
Calling initcall 0xc02bbeb3: init_netconsole+0x0/0x67()
netconsole: not configured, aborting
initcall 0xc02bbeb3: init_netconsole+0x0/0x67() returned 0.
initcall 0xc02bbeb3 ran for 3 msecs: init_netconsole+0x0/0x67()
Calling initcall 0xc0623b51: lguestnet_init+0x0/0xf()
initcall 0xc0623b51: lguestnet_init+0x0/0xf() returned 0.
initcall 0xc0623b51 ran for 0 msecs: lguestnet_init+0x0/0xf()
Calling initcall 0xc0623dbb: spi_transport_init+0x0/0x27()
initcall 0xc0623dbb: spi_transport_init+0x0/0x27() returned 0.
initcall 0xc0623dbb ran for 0 msecs: spi_transport_init+0x0/0x27()
Calling initcall 0xc0623de2: sas_transport_init+0x0/0x9f()
initcall 0xc0623de2: sas_transport_init+0x0/0x9f() returned 0.
initcall 0xc0623de2 ran for 0 msecs: sas_transport_init+0x0/0x9f()
Calling initcall 0xc0623e81: sas_class_init+0x0/0x3d()
initcall 0xc0623e81: sas_class_init+0x0/0x3d() returned 0.
initcall 0xc0623e81 ran for 0 msecs: sas_class_init+0x0/0x3d()
Calling initcall 0xc0623ebe: ahc_linux_init+0x0/0x5c()
initcall 0xc0623ebe: ahc_linux_init+0x0/0x5c() returned 0.
initcall 0xc0623ebe ran for 0 msecs: ahc_linux_init+0x0/0x5c()
Calling initcall 0xc0623f1a: ahd_linux_init+0x0/0x6e()
initcall 0xc0623f1a: ahd_linux_init+0x0/0x6e() returned 0.
initcall 0xc0623f1a ran for 0 msecs: ahd_linux_init+0x0/0x6e()
Calling initcall 0xc0623f88: aic94xx_init+0x0/0x12e()
aic94xx: Adaptec aic94xx SAS/SATA driver version 1.0.3 loaded
initcall 0xc0623f88: aic94xx_init+0x0/0x12e() returned 0.
initcall 0xc0623f88 ran for 5 msecs: aic94xx_init+0x0/0x12e()
Calling initcall 0xc06240b6: init_sd+0x0/0xd6()
initcall 0xc06240b6: init_sd+0x0/0xd6() returned 0.
initcall 0xc06240b6 ran for 0 msecs: init_sd+0x0/0xd6()
Calling initcall 0xc062418c: init_sr+0x0/0x22()
initcall 0xc062418c: init_sr+0x0/0x22() returned 0.
initcall 0xc062418c ran for 0 msecs: init_sr+0x0/0x22()
Calling initcall 0xc06241ae: init_sg+0x0/0x12a()
initcall 0xc06241ae: init_sg+0x0/0x12a() returned 0.
initcall 0xc06241ae ran for 0 msecs: init_sg+0x0/0x12a()
Calling initcall 0xc06242d8: init_ch_module+0x0/0x90()
SCSI Media Changer driver v0.25
initcall 0xc06242d8: init_ch_module+0x0/0x90() returned 0.
initcall 0xc06242d8 ran for 2 msecs: init_ch_module+0x0/0x90()
Calling initcall 0xc06243d4: ahci_init+0x0/0x16()
initcall 0xc06243d4: ahci_init+0x0/0x16() returned 0.
initcall 0xc06243d4 ran for 0 msecs: ahci_init+0x0/0x16()
Calling initcall 0xc06243ea: k2_sata_init+0x0/0x16()
initcall 0xc06243ea: k2_sata_init+0x0/0x16() returned 0.
initcall 0xc06243ea ran for 0 msecs: k2_sata_init+0x0/0x16()
Calling initcall 0xc0624400: piix_init+0x0/0x27()
initcall 0xc0624400: piix_init+0x0/0x27() returned 0.
initcall 0xc0624400 ran for 0 msecs: piix_init+0x0/0x27()
Calling initcall 0xc0624427: pdc_ata_init+0x0/0x16()
initcall 0xc0624427: pdc_ata_init+0x0/0x16() returned 0.
initcall 0xc0624427 ran for 0 msecs: pdc_ata_init+0x0/0x16()
Calling initcall 0xc062443d: qs_ata_init+0x0/0x16()
initcall 0xc062443d: qs_ata_init+0x0/0x16() returned 0.
initcall 0xc062443d ran for 0 msecs: qs_ata_init+0x0/0x16()
Calling initcall 0xc0624453: sil_init+0x0/0x16()
initcall 0xc0624453: sil_init+0x0/0x16() returned 0.
initcall 0xc0624453 ran for 0 msecs: sil_init+0x0/0x16()
Calling initcall 0xc0624469: sil24_init+0x0/0x16()
initcall 0xc0624469: sil24_init+0x0/0x16() returned 0.
initcall 0xc0624469 ran for 0 msecs: sil24_init+0x0/0x16()
Calling initcall 0xc062447f: svia_init+0x0/0x16()
initcall 0xc062447f: svia_init+0x0/0x16() returned 0.
initcall 0xc062447f ran for 0 msecs: svia_init+0x0/0x16()
Calling initcall 0xc0624495: vsc_sata_init+0x0/0x16()
initcall 0xc0624495: vsc_sata_init+0x0/0x16() returned 0.
initcall 0xc0624495 ran for 0 msecs: vsc_sata_init+0x0/0x16()
Calling initcall 0xc06244ab: sis_init+0x0/0x16()
initcall 0xc06244ab: sis_init+0x0/0x16() returned 0.
initcall 0xc06244ab ran for 0 msecs: sis_init+0x0/0x16()
Calling initcall 0xc06244c1: pdc_sata_init+0x0/0x16()
initcall 0xc06244c1: pdc_sata_init+0x0/0x16() returned 0.
initcall 0xc06244c1 ran for 0 msecs: pdc_sata_init+0x0/0x16()
Calling initcall 0xc06244d7: nv_init+0x0/0x16()
initcall 0xc06244d7: nv_init+0x0/0x16() returned 0.
initcall 0xc06244d7 ran for 0 msecs: nv_init+0x0/0x16()
Calling initcall 0xc06244ed: uli_init+0x0/0x16()
initcall 0xc06244ed: uli_init+0x0/0x16() returned 0.
initcall 0xc06244ed ran for 0 msecs: uli_init+0x0/0x16()
Calling initcall 0xc0624503: mv_init+0x0/0x16()
initcall 0xc0624503: mv_init+0x0/0x16() returned 0.
initcall 0xc0624503 ran for 0 msecs: mv_init+0x0/0x16()
Calling initcall 0xc0624519: adma_ata_init+0x0/0x16()
initcall 0xc0624519: adma_ata_init+0x0/0x16() returned 0.
initcall 0xc0624519 ran for 0 msecs: adma_ata_init+0x0/0x16()
Calling initcall 0xc062452f: ali_init+0x0/0x16()
initcall 0xc062452f: ali_init+0x0/0x16() returned 0.
initcall 0xc062452f ran for 0 msecs: ali_init+0x0/0x16()
Calling initcall 0xc0624545: amd_init+0x0/0x16()
pata_amd 0000:00:06.0: version 0.3.8
PCI: Setting latency timer of device 0000:00:06.0 to 64
scsi0 : pata_amd
scsi1 : pata_amd
ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001f000 irq 14
ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001f008 irq 15
ata1.00: ata_hpa_resize 1: sectors = 78177792, hpa_sectors = 78177792
ata1.00: ATA-5: MAXTOR 6L040J2, AR1.0500, max UDMA/133
ata1.00: 78177792 sectors, multi 1: LBA
ata1.01: ata_hpa_resize 1: sectors = 156301488, hpa_sectors = 156301488
ata1.01: ATA-6: ST380011A, 3.06, max UDMA/100
ata1.01: 156301488 sectors, multi 1: LBA48
ata1.00: ata_hpa_resize 1: sectors = 78177792, hpa_sectors = 78177792
ata1.00: configured for UDMA/133
ata1.01: ata_hpa_resize 1: sectors = 156301488, hpa_sectors = 156301488
ata1.01: configured for UDMA/100
ATA: abnormal status 0x38 on port 0x00010177
scsi 0:0:0:0: Direct-Access ATA MAXTOR 6L040J2 AR1. PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 78177792 512-byte hardware sectors (40027 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 78177792 512-byte hardware sectors (40027 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3 sda4 < sda5 >
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 0:0:1:0: Direct-Access ATA ST380011A 3.06 PQ: 0 ANSI: 5
sd 0:0:1:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:1:0: [sdb] 156301488 512-byte hardware sectors (80026 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1 sdb2 sdb3 < sdb5 >
sd 0:0:1:0: [sdb] Attached SCSI disk
sd 0:0:1:0: Attached scsi generic sg1 type 0
initcall 0xc0624545: amd_init+0x0/0x16() returned 0.
initcall 0xc0624545 ran for 662 msecs: amd_init+0x0/0x16()
Calling initcall 0xc062455b: artop_init+0x0/0x16()
initcall 0xc062455b: artop_init+0x0/0x16() returned 0.
initcall 0xc062455b ran for 0 msecs: artop_init+0x0/0x16()
Calling initcall 0xc0624571: atiixp_init+0x0/0x16()
initcall 0xc0624571: atiixp_init+0x0/0x16() returned 0.
initcall 0xc0624571 ran for 0 msecs: atiixp_init+0x0/0x16()
Calling initcall 0xc0624587: cmd64x_init+0x0/0x16()
initcall 0xc0624587: cmd64x_init+0x0/0x16() returned 0.
initcall 0xc0624587 ran for 0 msecs: cmd64x_init+0x0/0x16()
Calling initcall 0xc062459d: cs5520_init+0x0/0x16()
initcall 0xc062459d: cs5520_init+0x0/0x16() returned 0.
initcall 0xc062459d ran for 0 msecs: cs5520_init+0x0/0x16()
Calling initcall 0xc06245b3: cs5530_init+0x0/0x16()
initcall 0xc06245b3: cs5530_init+0x0/0x16() returned 0.
initcall 0xc06245b3 ran for 0 msecs: cs5530_init+0x0/0x16()
Calling initcall 0xc06245c9: cs5535_init+0x0/0x16()
initcall 0xc06245c9: cs5535_init+0x0/0x16() returned 0.
initcall 0xc06245c9 ran for 0 msecs: cs5535_init+0x0/0x16()
Calling initcall 0xc06245df: cy82c693_init+0x0/0x16()
initcall 0xc06245df: cy82c693_init+0x0/0x16() returned 0.
initcall 0xc06245df ran for 0 msecs: cy82c693_init+0x0/0x16()
Calling initcall 0xc06245f5: efar_init+0x0/0x16()
initcall 0xc06245f5: efar_init+0x0/0x16() returned 0.
initcall 0xc06245f5 ran for 0 msecs: efar_init+0x0/0x16()
Calling initcall 0xc062460b: hpt36x_init+0x0/0x16()
initcall 0xc062460b: hpt36x_init+0x0/0x16() returned 0.
initcall 0xc062460b ran for 0 msecs: hpt36x_init+0x0/0x16()
Calling initcall 0xc0624621: hpt37x_init+0x0/0x16()
initcall 0xc0624621: hpt37x_init+0x0/0x16() returned 0.
initcall 0xc0624621 ran for 0 msecs: hpt37x_init+0x0/0x16()
Calling initcall 0xc0624637: hpt3x2n_init+0x0/0x16()
initcall 0xc0624637: hpt3x2n_init+0x0/0x16() returned 0.
initcall 0xc0624637 ran for 0 msecs: hpt3x2n_init+0x0/0x16()
Calling initcall 0xc062464d: hpt3x3_init+0x0/0x16()
initcall 0xc062464d: hpt3x3_init+0x0/0x16() returned 0.
initcall 0xc062464d ran for 0 msecs: hpt3x3_init+0x0/0x16()
Calling initcall 0xc0624663: it821x_init+0x0/0x16()
initcall 0xc0624663: it821x_init+0x0/0x16() returned 0.
initcall 0xc0624663 ran for 0 msecs: it821x_init+0x0/0x16()
Calling initcall 0xc0624679: jmicron_init+0x0/0x16()
initcall 0xc0624679: jmicron_init+0x0/0x16() returned 0.
initcall 0xc0624679 ran for 0 msecs: jmicron_init+0x0/0x16()
Calling initcall 0xc062468f: netcell_init+0x0/0x16()
initcall 0xc062468f: netcell_init+0x0/0x16() returned 0.
initcall 0xc062468f ran for 0 msecs: netcell_init+0x0/0x16()
Calling initcall 0xc06246a5: ns87410_init+0x0/0x16()
initcall 0xc06246a5: ns87410_init+0x0/0x16() returned 0.
initcall 0xc06246a5 ran for 0 msecs: ns87410_init+0x0/0x16()
Calling initcall 0xc06246bb: opti_init+0x0/0x16()
initcall 0xc06246bb: opti_init+0x0/0x16() returned 0.
initcall 0xc06246bb ran for 0 msecs: opti_init+0x0/0x16()
Calling initcall 0xc06246d1: optidma_init+0x0/0x16()
initcall 0xc06246d1: optidma_init+0x0/0x16() returned 0.
initcall 0xc06246d1 ran for 0 msecs: optidma_init+0x0/0x16()
Calling initcall 0xc06246e7: marvell_init+0x0/0x16()
initcall 0xc06246e7: marvell_init+0x0/0x16() returned 0.
initcall 0xc06246e7 ran for 0 msecs: marvell_init+0x0/0x16()
Calling initcall 0xc06246fd: mpiix_init+0x0/0x16()
initcall 0xc06246fd: mpiix_init+0x0/0x16() returned 0.
initcall 0xc06246fd ran for 0 msecs: mpiix_init+0x0/0x16()
Calling initcall 0xc0624713: oldpiix_init+0x0/0x16()
initcall 0xc0624713: oldpiix_init+0x0/0x16() returned 0.
initcall 0xc0624713 ran for 0 msecs: oldpiix_init+0x0/0x16()
Calling initcall 0xc0624729: pdc2027x_init+0x0/0x16()
initcall 0xc0624729: pdc2027x_init+0x0/0x16() returned 0.
initcall 0xc0624729 ran for 0 msecs: pdc2027x_init+0x0/0x16()
Calling initcall 0xc062473f: pdc202xx_init+0x0/0x16()
initcall 0xc062473f: pdc202xx_init+0x0/0x16() returned 0.
initcall 0xc062473f ran for 0 msecs: pdc202xx_init+0x0/0x16()
Calling initcall 0xc06248d3: qdi_init+0x0/0x233()
initcall 0xc06248d3: qdi_init+0x0/0x233() returned -19.
initcall 0xc06248d3 ran for 0 msecs: qdi_init+0x0/0x233()
Calling initcall 0xc0624b06: radisys_init+0x0/0x16()
initcall 0xc0624b06: radisys_init+0x0/0x16() returned 0.
initcall 0xc0624b06 ran for 0 msecs: radisys_init+0x0/0x16()
Calling initcall 0xc0624b1c: rz1000_init+0x0/0x16()
initcall 0xc0624b1c: rz1000_init+0x0/0x16() returned 0.
initcall 0xc0624b1c ran for 0 msecs: rz1000_init+0x0/0x16()
Calling initcall 0xc0624b32: sc1200_init+0x0/0x16()
initcall 0xc0624b32: sc1200_init+0x0/0x16() returned 0.
initcall 0xc0624b32 ran for 0 msecs: sc1200_init+0x0/0x16()
Calling initcall 0xc0624b48: serverworks_init+0x0/0x16()
initcall 0xc0624b48: serverworks_init+0x0/0x16() returned 0.
initcall 0xc0624b48 ran for 0 msecs: serverworks_init+0x0/0x16()
Calling initcall 0xc0624b5e: sil680_init+0x0/0x16()
initcall 0xc0624b5e: sil680_init+0x0/0x16() returned 0.
initcall 0xc0624b5e ran for 0 msecs: sil680_init+0x0/0x16()
Calling initcall 0xc0624b74: via_init+0x0/0x16()
initcall 0xc0624b74: via_init+0x0/0x16() returned 0.
initcall 0xc0624b74 ran for 0 msecs: via_init+0x0/0x16()
Calling initcall 0xc0624b8a: sl82c105_init+0x0/0x16()
initcall 0xc0624b8a: sl82c105_init+0x0/0x16() returned 0.
initcall 0xc0624b8a ran for 0 msecs: sl82c105_init+0x0/0x16()
Calling initcall 0xc0624ba0: winbond_init+0x0/0x27b()
initcall 0xc0624ba0: winbond_init+0x0/0x27b() returned -19.
initcall 0xc0624ba0 ran for 0 msecs: winbond_init+0x0/0x27b()
Calling initcall 0xc0624e1b: sis_init+0x0/0x16()
initcall 0xc0624e1b: sis_init+0x0/0x16() returned 0.
initcall 0xc0624e1b ran for 0 msecs: sis_init+0x0/0x16()
Calling initcall 0xc0624e31: triflex_init+0x0/0x16()
initcall 0xc0624e31: triflex_init+0x0/0x16() returned 0.
initcall 0xc0624e31 ran for 0 msecs: triflex_init+0x0/0x16()
Calling initcall 0xc0624e47: ata_generic_init+0x0/0x16()
initcall 0xc0624e47: ata_generic_init+0x0/0x16() returned 0.
initcall 0xc0624e47 ran for 0 msecs: ata_generic_init+0x0/0x16()
Calling initcall 0xc0624e5d: fusion_init+0x0/0xdd()
Fusion MPT base driver 3.04.04
Copyright (c) 1999-2007 LSI Logic Corporation
initcall 0xc0624e5d: fusion_init+0x0/0xdd() returned 0.
initcall 0xc0624e5d ran for 6 msecs: fusion_init+0x0/0xdd()
Calling initcall 0xc0624f3a: mptspi_init+0x0/0xab()
Fusion MPT SPI Host driver 3.04.04
initcall 0xc0624f3a: mptspi_init+0x0/0xab() returned 0.
initcall 0xc0624f3a ran for 3 msecs: mptspi_init+0x0/0xab()
Calling initcall 0xc0624fe5: mptctl_init+0x0/0xf1()
Fusion MPT misc device (ioctl) driver 3.04.04
mptctl: Registered with Fusion MPT base driver
mptctl: /dev/mptctl @ (major,minor=10,220)
initcall 0xc0624fe5: mptctl_init+0x0/0xf1() returned 0.
initcall 0xc0624fe5 ran for 11 msecs: mptctl_init+0x0/0xf1()
Calling initcall 0xc06250d6: cdrom_init+0x0/0xc()
initcall 0xc06250d6: cdrom_init+0x0/0xc() returned 0.
initcall 0xc06250d6 ran for 0 msecs: cdrom_init+0x0/0xc()
Calling initcall 0xc06252b3: mon_init+0x0/0xe2()
usbmon: debugfs is not available
initcall 0xc06252b3: mon_init+0x0/0xe2() returned -19.
initcall 0xc06252b3 ran for 2 msecs: mon_init+0x0/0xe2()
Calling initcall 0xc0625440: ehci_hcd_init+0x0/0x16()
ACPI: PCI Interrupt Link [APCL] enabled at IRQ 22
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [APCL] -> GSI 22 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:02.1 to 64
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.1
ehci_hcd 0000:00:02.1: irq 18, io mem 0xfeb00000
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: new device found, idVendor=0000, idProduct=0000
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.22-rc3-mm1-v16-rc2 ehci_hcd
usb usb1: SerialNumber: 0000:00:02.1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports detected
initcall 0xc0625440: ehci_hcd_init+0x0/0x16() returned 0.
initcall 0xc0625440 ran for 171 msecs: ehci_hcd_init+0x0/0x16()
Calling initcall 0xc0625456: ohci_hcd_mod_init+0x0/0x3e()
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt Link [APCF] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 21 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 19, io mem 0xda102000
usb usb2: new device found, idVendor=0000, idProduct=0000
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.22-rc3-mm1-v16-rc2 ohci_hcd
usb usb2: SerialNumber: 0000:00:02.0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 10 ports detected
initcall 0xc0625456: ohci_hcd_mod_init+0x0/0x3e() returned 0.
initcall 0xc0625456 ran for 212 msecs: ohci_hcd_mod_init+0x0/0x3e()
Calling initcall 0xc0625494: uhci_hcd_init+0x0/0x9f()
USB Universal Host Controller Interface driver v3.0
initcall 0xc0625494: uhci_hcd_init+0x0/0x9f() returned 0.
initcall 0xc0625494 ran for 4 msecs: uhci_hcd_init+0x0/0x9f()
Calling initcall 0xc06255c0: i8042_init+0x0/0x321()
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
initcall 0xc06255c0: i8042_init+0x0/0x321() returned 0.
initcall 0xc06255c0 ran for 15 msecs: i8042_init+0x0/0x321()
Calling initcall 0xc06258e1: serport_init+0x0/0x2c()
initcall 0xc06258e1: serport_init+0x0/0x2c() returned 0.
initcall 0xc06258e1 ran for 0 msecs: serport_init+0x0/0x2c()
Calling initcall 0xc0625a0e: mousedev_init+0x0/0x52()
mice: PS/2 mouse device common for all mice
initcall 0xc0625a0e: mousedev_init+0x0/0x52() returned 0.
initcall 0xc0625a0e ran for 3 msecs: mousedev_init+0x0/0x52()
Calling initcall 0xc0625a60: evdev_init+0x0/0xf()
initcall 0xc0625a60: evdev_init+0x0/0xf() returned 0.
initcall 0xc0625a60 ran for 0 msecs: evdev_init+0x0/0xf()
Calling initcall 0xc0625a6f: atkbd_init+0x0/0x16()
initcall 0xc0625a6f: atkbd_init+0x0/0x16() returned 0.
initcall 0xc0625a6f ran for 0 msecs: atkbd_init+0x0/0x16()
Calling initcall 0xc0625a85: psmouse_init+0x0/0x59()
input: AT Translated Set 2 keyboard as /class/input/input0
initcall 0xc0625a85: psmouse_init+0x0/0x59() returned 0.
initcall 0xc0625a85 ran for 15 msecs: psmouse_init+0x0/0x59()
Calling initcall 0xc0625bae: md_init+0x0/0xd8()
initcall 0xc0625bae: md_init+0x0/0xd8() returned 0.
initcall 0xc0625bae ran for 0 msecs: md_init+0x0/0xd8()
Calling initcall 0xc0626115: init+0x0/0x331()
lguest: mapped switcher at ffc00000
initcall 0xc0626115: init+0x0/0x331() returned 0.
initcall 0xc0626115 ran for 3 msecs: init+0x0/0x331()
Calling initcall 0xc062658f: cpufreq_stats_init+0x0/0x7d()
initcall 0xc062658f: cpufreq_stats_init+0x0/0x7d() returned 0.
initcall 0xc062658f ran for 0 msecs: cpufreq_stats_init+0x0/0x7d()
Calling initcall 0xc0627081: hid_init+0x0/0x7()
initcall 0xc0627081: hid_init+0x0/0x7() returned 0.
initcall 0xc0627081 ran for 0 msecs: hid_init+0x0/0x7()
Calling initcall 0xc0627088: hid_init+0x0/0x5f()
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
initcall 0xc0627088: hid_init+0x0/0x5f() returned 0.
initcall 0xc0627088 ran for 12 msecs: hid_init+0x0/0x5f()
Calling initcall 0xc06270fd: init_soundcore+0x0/0x4d()
initcall 0xc06270fd: init_soundcore+0x0/0x4d() returned 0.
initcall 0xc06270fd ran for 0 msecs: init_soundcore+0x0/0x4d()
Calling initcall 0xc0627186: alsa_sound_init+0x0/0x7e()
Advanced Linux Sound Architecture Driver Version 1.0.14rc4 (Wed May 16 09:45:46 2007 UTC).
initcall 0xc0627186: alsa_sound_init+0x0/0x7e() returned 0.
initcall 0xc0627186 ran for 7 msecs: alsa_sound_init+0x0/0x7e()
Calling initcall 0xc062735e: alsa_hwdep_init+0x0/0x46()
initcall 0xc062735e: alsa_hwdep_init+0x0/0x46() returned 0.
initcall 0xc062735e ran for 0 msecs: alsa_hwdep_init+0x0/0x46()
Calling initcall 0xc06273a4: alsa_timer_init+0x0/0x140()
initcall 0xc06273a4: alsa_timer_init+0x0/0x140() returned 0.
initcall 0xc06273a4 ran for 0 msecs: alsa_timer_init+0x0/0x140()
Calling initcall 0xc06274e4: rtctimer_init+0x0/0xef()
initcall 0xc06274e4: rtctimer_init+0x0/0xef() returned 0.
initcall 0xc06274e4 ran for 0 msecs: rtctimer_init+0x0/0xef()
Calling initcall 0xc06275d3: alsa_pcm_init+0x0/0x4d()
initcall 0xc06275d3: alsa_pcm_init+0x0/0x4d() returned 0.
initcall 0xc06275d3 ran for 0 msecs: alsa_pcm_init+0x0/0x4d()
Calling initcall 0xc0627620: snd_mem_init+0x0/0x2f()
initcall 0xc0627620: snd_mem_init+0x0/0x2f() returned 0.
initcall 0xc0627620 ran for 0 msecs: snd_mem_init+0x0/0x2f()
Calling initcall 0xc062764f: alsa_rawmidi_init+0x0/0x7a()
initcall 0xc062764f: alsa_rawmidi_init+0x0/0x7a() returned 0.
initcall 0xc062764f ran for 0 msecs: alsa_rawmidi_init+0x0/0x7a()
Calling initcall 0xc06276c9: alsa_mixer_oss_init+0x0/0x30()
initcall 0xc06276c9: alsa_mixer_oss_init+0x0/0x30() returned 0.
initcall 0xc06276c9 ran for 0 msecs: alsa_mixer_oss_init+0x0/0x30()
Calling initcall 0xc06276f9: alsa_pcm_oss_init+0x0/0x84()
initcall 0xc06276f9: alsa_pcm_oss_init+0x0/0x84() returned 0.
initcall 0xc06276f9 ran for 0 msecs: alsa_pcm_oss_init+0x0/0x84()
Calling initcall 0xc062777d: alsa_seq_oss_init+0x0/0x152()
initcall 0xc062777d: alsa_seq_oss_init+0x0/0x152() returned 0.
initcall 0xc062777d ran for 0 msecs: alsa_seq_oss_init+0x0/0x152()
Calling initcall 0xc0627ac8: alsa_seq_init+0x0/0x37()
initcall 0xc0627ac8: alsa_seq_init+0x0/0x37() returned 0.
initcall 0xc0627ac8 ran for 0 msecs: alsa_seq_init+0x0/0x37()
Calling initcall 0xc0627d1a: alsa_seq_device_init+0x0/0x4e()
initcall 0xc0627d1a: alsa_seq_device_init+0x0/0x4e() returned 0.
initcall 0xc0627d1a ran for 0 msecs: alsa_seq_device_init+0x0/0x4e()
Calling initcall 0xc0627d68: alsa_seq_midi_event_init+0x0/0x7()
initcall 0xc0627d68: alsa_seq_midi_event_init+0x0/0x7() returned 0.
initcall 0xc0627d68 ran for 0 msecs: alsa_seq_midi_event_init+0x0/0x7()
Calling initcall 0xc0627eab: alsa_seq_dummy_init+0x0/0xaa()
initcall 0xc0627eab: alsa_seq_dummy_init+0x0/0xaa() returned 0.
initcall 0xc0627eab ran for 0 msecs: alsa_seq_dummy_init+0x0/0xaa()
Calling initcall 0xc0627f55: alsa_seq_midi_init+0x0/0x28()
initcall 0xc0627f55: alsa_seq_midi_init+0x0/0x28() returned 0.
initcall 0xc0627f55 ran for 0 msecs: alsa_seq_midi_init+0x0/0x28()
Calling initcall 0xc0627f7d: alsa_seq_midi_emul_init+0x0/0x7()
initcall 0xc0627f7d: alsa_seq_midi_emul_init+0x0/0x7() returned 0.
initcall 0xc0627f7d ran for 0 msecs: alsa_seq_midi_emul_init+0x0/0x7()
Calling initcall 0xc0627f84: alsa_virmidi_init+0x0/0x7()
initcall 0xc0627f84: alsa_virmidi_init+0x0/0x7() returned 0.
initcall 0xc0627f84 ran for 0 msecs: alsa_virmidi_init+0x0/0x7()
Calling initcall 0xc0627f8b: alsa_ac97_init+0x0/0x7()
initcall 0xc0627f8b: alsa_ac97_init+0x0/0x7() returned 0.
initcall 0xc0627f8b ran for 0 msecs: alsa_ac97_init+0x0/0x7()
Calling initcall 0xc0627f92: alsa_card_emu10k1_init+0x0/0x16()
initcall 0xc0627f92: alsa_card_emu10k1_init+0x0/0x16() returned 0.
initcall 0xc0627f92 ran for 0 msecs: alsa_card_emu10k1_init+0x0/0x16()
Calling initcall 0xc0627fa8: alsa_emu10k1_synth_init+0x0/0x19()
initcall 0xc0627fa8: alsa_emu10k1_synth_init+0x0/0x19() returned 0.
initcall 0xc0627fa8 ran for 0 msecs: alsa_emu10k1_synth_init+0x0/0x19()
Calling initcall 0xc0627fc1: alsa_card_emu10k1x_init+0x0/0x16()
initcall 0xc0627fc1: alsa_card_emu10k1x_init+0x0/0x16() returned 0.
initcall 0xc0627fc1 ran for 0 msecs: alsa_card_emu10k1x_init+0x0/0x16()
Calling initcall 0xc0627fd7: alsa_card_azx_init+0x0/0x16()
initcall 0xc0627fd7: alsa_card_azx_init+0x0/0x16() returned 0.
initcall 0xc0627fd7 ran for 0 msecs: alsa_card_azx_init+0x0/0x16()
Calling initcall 0xc0627fed: alsa_util_mem_init+0x0/0x7()
initcall 0xc0627fed: alsa_util_mem_init+0x0/0x7() returned 0.
initcall 0xc0627fed ran for 0 msecs: alsa_util_mem_init+0x0/0x7()
Calling initcall 0xc0627ff4: alsa_emux_init+0x0/0x7()
initcall 0xc0627ff4: alsa_emux_init+0x0/0x7() returned 0.
initcall 0xc0627ff4 ran for 0 msecs: alsa_emux_init+0x0/0x7()
Calling initcall 0xc062800a: alsa_sound_last_init+0x0/0x5a()
ALSA device list:
No soundcards found.
initcall 0xc062800a: alsa_sound_last_init+0x0/0x5a() returned 0.
initcall 0xc062800a ran for 3 msecs: alsa_sound_last_init+0x0/0x5a()
Calling initcall 0xc0629e1c: flow_cache_init+0x0/0x156()
initcall 0xc0629e1c: flow_cache_init+0x0/0x156() returned 0.
initcall 0xc0629e1c ran for 0 msecs: flow_cache_init+0x0/0x156()
Calling initcall 0xc0629ff6: llc_init+0x0/0x68()
initcall 0xc0629ff6: llc_init+0x0/0x68() returned 0.
initcall 0xc0629ff6 ran for 0 msecs: llc_init+0x0/0x68()
Calling initcall 0xc062a05e: snap_init+0x0/0x2c()
initcall 0xc062a05e: snap_init+0x0/0x2c() returned 0.
initcall 0xc062a05e ran for 0 msecs: snap_init+0x0/0x2c()
Calling initcall 0xc062a08a: rif_init+0x0/0x68()
initcall 0xc062a08a: rif_init+0x0/0x68() returned 0.
initcall 0xc062a08a ran for 0 msecs: rif_init+0x0/0x68()
Calling initcall 0xc062a1bb: blackhole_module_init+0x0/0xf()
initcall 0xc062a1bb: blackhole_module_init+0x0/0xf() returned 0.
initcall 0xc062a1bb ran for 0 msecs: blackhole_module_init+0x0/0xf()
Calling initcall 0xc062b3e8: init_syncookies+0x0/0x16()
initcall 0xc062b3e8: init_syncookies+0x0/0x16() returned 0.
initcall 0xc062b3e8 ran for 0 msecs: init_syncookies+0x0/0x16()
Calling initcall 0xc062b3fe: xfrm4_beet_init+0x0/0x14()
initcall 0xc062b3fe: xfrm4_beet_init+0x0/0x14() returned 0.
initcall 0xc062b3fe ran for 0 msecs: xfrm4_beet_init+0x0/0x14()
Calling initcall 0xc062b412: xfrm4_transport_init+0x0/0x14()
initcall 0xc062b412: xfrm4_transport_init+0x0/0x14() returned 0.
initcall 0xc062b412 ran for 0 msecs: xfrm4_transport_init+0x0/0x14()
Calling initcall 0xc062b426: xfrm4_tunnel_init+0x0/0x14()
initcall 0xc062b426: xfrm4_tunnel_init+0x0/0x14() returned 0.
initcall 0xc062b426 ran for 0 msecs: xfrm4_tunnel_init+0x0/0x14()
Calling initcall 0xc04326d8: ipv4_netfilter_init+0x0/0xf()
initcall 0xc04326d8: ipv4_netfilter_init+0x0/0xf() returned 0.
initcall 0xc04326d8 ran for 0 msecs: ipv4_netfilter_init+0x0/0xf()
Calling initcall 0xc062b43a: inet_diag_init+0x0/0x60()
initcall 0xc062b43a: inet_diag_init+0x0/0x60() returned 0.
initcall 0xc062b43a ran for 0 msecs: inet_diag_init+0x0/0x60()
Calling initcall 0xc062b49a: tcp_diag_init+0x0/0xf()
initcall 0xc062b49a: tcp_diag_init+0x0/0xf() returned 0.
initcall 0xc062b49a ran for 0 msecs: tcp_diag_init+0x0/0xf()
Calling initcall 0xc062b4a9: cubictcp_register+0x0/0x93()
TCP cubic registered
initcall 0xc062b4a9: cubictcp_register+0x0/0x93() returned 0.
initcall 0xc062b4a9 ran for 1 msecs: cubictcp_register+0x0/0x93()
Calling initcall 0xc062b6fa: xfrm_user_init+0x0/0x52()
Initializing XFRM netlink socket
initcall 0xc062b6fa: xfrm_user_init+0x0/0x52() returned 0.
initcall 0xc062b6fa ran for 2 msecs: xfrm_user_init+0x0/0x52()
Calling initcall 0xc062b74c: af_unix_init+0x0/0x64()
NET: Registered protocol family 1
initcall 0xc062b74c: af_unix_init+0x0/0x64() returned 0.
initcall 0xc062b74c ran for 2 msecs: af_unix_init+0x0/0x64()
Calling initcall 0xc062b7b0: packet_init+0x0/0x4c()
NET: Registered protocol family 17
initcall 0xc062b7b0: packet_init+0x0/0x4c() returned 0.
initcall 0xc062b7b0 ran for 2 msecs: packet_init+0x0/0x4c()
Calling initcall 0xc060e4e4: powernow_init+0x0/0x114()
initcall 0xc060e4e4: powernow_init+0x0/0x114() returned -19.
initcall 0xc060e4e4 ran for 0 msecs: powernow_init+0x0/0x114()
Calling initcall 0xc060ea62: longhaul_init+0x0/0x6b()
initcall 0xc060ea62: longhaul_init+0x0/0x6b() returned -19.
initcall 0xc060ea62 ran for 0 msecs: longhaul_init+0x0/0x6b()
Calling initcall 0xc060f9cb: acpi_cpufreq_init+0x0/0x8f()
initcall 0xc060f9cb: acpi_cpufreq_init+0x0/0x8f() returned -19.
initcall 0xc060f9cb ran for 0 msecs: acpi_cpufreq_init+0x0/0x8f()
Calling initcall 0xc060fa5a: centrino_init+0x0/0x9e()
initcall 0xc060fa5a: centrino_init+0x0/0x9e() returned -19.
initcall 0xc060fa5a ran for 0 msecs: centrino_init+0x0/0x9e()
Calling initcall 0xc061401e: init_lapic_nmi_sysfs+0x0/0x33()
initcall 0xc061401e: init_lapic_nmi_sysfs+0x0/0x33() returned 0.
initcall 0xc061401e ran for 0 msecs: init_lapic_nmi_sysfs+0x0/0x33()
Calling initcall 0xc0613e4f: check_nmi_watchdog+0x0/0x1a8()
Testing NMI watchdog ... CPU#0: NMI appears to be stuck (0->0)!
CPU#1: NMI appears to be stuck (0->0)!
initcall 0xc0613e4f: check_nmi_watchdog+0x0/0x1a8() returned -1.
initcall 0xc0613e4f ran for 27 msecs: check_nmi_watchdog+0x0/0x1a8()
initcall at 0xc0613e4f: check_nmi_watchdog+0x0/0x1a8(): returned with error code -1
Calling initcall 0xc06142b2: io_apic_bug_finalize+0x0/0x1a()
initcall 0xc06142b2: io_apic_bug_finalize+0x0/0x1a() returned 0.
initcall 0xc06142b2 ran for 0 msecs: io_apic_bug_finalize+0x0/0x1a()
Calling initcall 0xc0616b8f: print_ipi_mode+0x0/0x2d()
Using IPI Shortcut mode
initcall 0xc0616b8f: print_ipi_mode+0x0/0x2d() returned 0.
initcall 0xc0616b8f ran for 2 msecs: print_ipi_mode+0x0/0x2d()
Calling initcall 0xc061bbc1: revokefs_init+0x0/0x85()
initcall 0xc061bbc1: revokefs_init+0x0/0x85() returned 0.
initcall 0xc061bbc1 ran for 0 msecs: revokefs_init+0x0/0x85()
Calling initcall 0xc061d547: random32_reseed+0x0/0x4f()
initcall 0xc061d547: random32_reseed+0x0/0x4f() returned 0.
initcall 0xc061d547 ran for 0 msecs: random32_reseed+0x0/0x4f()
Calling initcall 0xc061db19: pci_sysfs_init+0x0/0x35()
initcall 0xc061db19: pci_sysfs_init+0x0/0x35() returned 0.
initcall 0xc061db19 ran for 0 msecs: pci_sysfs_init+0x0/0x35()
Calling initcall 0xc023c4ad: acpi_poweroff_init+0x0/0x4f()
initcall 0xc023c4ad: acpi_poweroff_init+0x0/0x4f() returned 0.
initcall 0xc023c4ad ran for 0 msecs: acpi_poweroff_init+0x0/0x4f()
Calling initcall 0xc0620ebc: seqgen_init+0x0/0xe()
initcall 0xc0620ebc: seqgen_init+0x0/0xe() returned 0.
initcall 0xc0620ebc ran for 0 msecs: seqgen_init+0x0/0xe()
Calling initcall 0xc0622600: early_uart_console_switch+0x0/0x7d()
initcall 0xc0622600: early_uart_console_switch+0x0/0x7d() returned 0.
initcall 0xc0622600 ran for 0 msecs: early_uart_console_switch+0x0/0x7d()
Calling initcall 0xc02c2847: scsi_complete_async_scans+0x0/0xe2()
initcall 0xc02c2847: scsi_complete_async_scans+0x0/0xe2() returned 0.
initcall 0xc02c2847 ran for 0 msecs: scsi_complete_async_scans+0x0/0xe2()
Calling initcall 0xc0628d39: pci_mmcfg_late_insert_resources+0x0/0x44()
initcall 0xc0628d39: pci_mmcfg_late_insert_resources+0x0/0x44() returned 0.
initcall 0xc0628d39 ran for 0 msecs: pci_mmcfg_late_insert_resources+0x0/0x44()
Calling initcall 0xc062abd1: tcp_congestion_default+0x0/0xf()
initcall 0xc062abd1: tcp_congestion_default+0x0/0xf() returned 0.
initcall 0xc062abd1 ran for 0 msecs: tcp_congestion_default+0x0/0xf()
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-05 9:11 ` 2.6.22-rc3-mm1 Ingo Molnar
@ 2007-06-05 9:18 ` Ingo Molnar
2007-06-05 9:24 ` 2.6.22-rc3-mm1 Andrew Morton
1 sibling, 0 replies; 42+ messages in thread
From: Ingo Molnar @ 2007-06-05 9:18 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
* Ingo Molnar <mingo@elte.hu> wrote:
> the NMI watchdog warning is a bit weird:
>
> Calling initcall 0xc0613e4f: check_nmi_watchdog+0x0/0x1a8()
> Testing NMI watchdog ... CPU#0: NMI appears to be stuck (0->0)!
> CPU#1: NMI appears to be stuck (0->0)!
> initcall 0xc0613e4f: check_nmi_watchdog+0x0/0x1a8() returned -1.
> initcall 0xc0613e4f ran for 27 msecs: check_nmi_watchdog+0x0/0x1a8()
>
> i'll test it in a minute with that turned off.
yeah, with nmi_watchdog=0 it works fine. nmi_watchdog=2 always worked on
this box so this is some new regression.
Ingo
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-05 9:11 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 9:18 ` 2.6.22-rc3-mm1 Ingo Molnar
@ 2007-06-05 9:24 ` Andrew Morton
2007-06-05 9:33 ` 2.6.22-rc3-mm1 Ingo Molnar
1 sibling, 1 reply; 42+ messages in thread
From: Andrew Morton @ 2007-06-05 9:24 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel
On Tue, 5 Jun 2007 11:11:51 +0200 Ingo Molnar <mingo@elte.hu> wrote:
> hm, mm1 hangs during bootup on one of my boxes:
>
> Calling initcall 0xc0628d39: pci_mmcfg_late_insert_resources+0x0/0x44()
> initcall 0xc0628d39: pci_mmcfg_late_insert_resources+0x0/0x44() returned 0.
> initcall 0xc0628d39 ran for 0 msecs:
> pci_mmcfg_late_insert_resources+0x0/0x44()
> Calling initcall 0xc062abd1: tcp_congestion_default+0x0/0xf()
> initcall 0xc062abd1: tcp_congestion_default+0x0/0xf() returned 0.
> initcall 0xc062abd1 ran for 0 msecs: tcp_congestion_default+0x0/0xf()
>
> it usually hangs in different places.
In my experience that means that it wedged in a timer tick. Often the first
one.
> Full bootlog below. Same kernel
> bzImage boots fine on another box.
>
> the NMI watchdog warning is a bit weird:
>
> Calling initcall 0xc0613e4f: check_nmi_watchdog+0x0/0x1a8()
> Testing NMI watchdog ... CPU#0: NMI appears to be stuck (0->0)!
> CPU#1: NMI appears to be stuck (0->0)!
> initcall 0xc0613e4f: check_nmi_watchdog+0x0/0x1a8() returned -1.
> initcall 0xc0613e4f ran for 27 msecs: check_nmi_watchdog+0x0/0x1a8()
>
> i'll test it in a minute with that turned off.
>
hm. I haven't seen any similar reports.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-05 9:24 ` 2.6.22-rc3-mm1 Andrew Morton
@ 2007-06-05 9:33 ` Ingo Molnar
2007-06-05 9:39 ` 2.6.22-rc3-mm1 Ingo Molnar
0 siblings, 1 reply; 42+ messages in thread
From: Ingo Molnar @ 2007-06-05 9:33 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
* Andrew Morton <akpm@linux-foundation.org> wrote:
> On Tue, 5 Jun 2007 11:11:51 +0200 Ingo Molnar <mingo@elte.hu> wrote:
>
> > hm, mm1 hangs during bootup on one of my boxes:
> >
> > Calling initcall 0xc0628d39: pci_mmcfg_late_insert_resources+0x0/0x44()
> > initcall 0xc0628d39: pci_mmcfg_late_insert_resources+0x0/0x44() returned 0.
> > initcall 0xc0628d39 ran for 0 msecs:
> > pci_mmcfg_late_insert_resources+0x0/0x44()
> > Calling initcall 0xc062abd1: tcp_congestion_default+0x0/0xf()
> > initcall 0xc062abd1: tcp_congestion_default+0x0/0xf() returned 0.
> > initcall 0xc062abd1 ran for 0 msecs: tcp_congestion_default+0x0/0xf()
> >
> > it usually hangs in different places.
>
> In my experience that means that it wedged in a timer tick. Often the
> first one.
yeah. I tried !hres and !dynticks too and that doesnt make any
difference to the end result - so my guess is on the NMI watchdog
re-programming thing on K8 CPUs (running the 32-bit kernel), which is
done in every NMI tick. check_watchdog() for some reason thought there's
no NMI, and later on an NMI still arrived? Something like that.
vanilla kernel works fine.
Ingo
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-05 9:33 ` 2.6.22-rc3-mm1 Ingo Molnar
@ 2007-06-05 9:39 ` Ingo Molnar
2007-06-05 9:42 ` 2.6.22-rc3-mm1 Ingo Molnar
0 siblings, 1 reply; 42+ messages in thread
From: Ingo Molnar @ 2007-06-05 9:39 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
* Ingo Molnar <mingo@elte.hu> wrote:
> yeah. I tried !hres and !dynticks too and that doesnt make any
> difference to the end result - so my guess is on the NMI watchdog
> re-programming thing on K8 CPUs (running the 32-bit kernel), which is
> done in every NMI tick. check_watchdog() for some reason thought
> there's no NMI, and later on an NMI still arrived? Something like
> that.
i have put an early_printk() into the NMI handler but it never triggers.
Ingo
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-05 9:39 ` 2.6.22-rc3-mm1 Ingo Molnar
@ 2007-06-05 9:42 ` Ingo Molnar
2007-06-05 9:45 ` 2.6.22-rc3-mm1 Ingo Molnar
0 siblings, 1 reply; 42+ messages in thread
From: Ingo Molnar @ 2007-06-05 9:42 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
* Ingo Molnar <mingo@elte.hu> wrote:
> i have put an early_printk() into the NMI handler but it never
> triggers.
commenting out check_nmi_watchdog() produces a booting kernel too. So
it's a side-effect of check_nmi_watchdog(). Problem is, nothing in nmi.c
changed in -mm1 AFAICS.
Ingo
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-05 9:42 ` 2.6.22-rc3-mm1 Ingo Molnar
@ 2007-06-05 9:45 ` Ingo Molnar
2007-06-05 9:50 ` 2.6.22-rc3-mm1 Ingo Molnar
0 siblings, 1 reply; 42+ messages in thread
From: Ingo Molnar @ 2007-06-05 9:45 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
* Ingo Molnar <mingo@elte.hu> wrote:
> commenting out check_nmi_watchdog() produces a booting kernel too. So
> it's a side-effect of check_nmi_watchdog(). Problem is, nothing in
> nmi.c changed in -mm1 AFAICS.
ah, plain -rc3 hangs too. So it's one of these commits i guess:
commit 1eeb66a1bb973534dc3d064920a5ca683823372e
commit 09198e68501a7e34737cd9264d266f42429abcdc
commit bbba11c35baaad3f70f32e185a2c1d40d7901fe9
commit bf8696ed6dfa561198b4736deaf11ab68dcc4845
Ingo
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-05 9:45 ` 2.6.22-rc3-mm1 Ingo Molnar
@ 2007-06-05 9:50 ` Ingo Molnar
0 siblings, 0 replies; 42+ messages in thread
From: Ingo Molnar @ 2007-06-05 9:50 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
* Ingo Molnar <mingo@elte.hu> wrote:
>
> * Ingo Molnar <mingo@elte.hu> wrote:
>
> > commenting out check_nmi_watchdog() produces a booting kernel too. So
> > it's a side-effect of check_nmi_watchdog(). Problem is, nothing in
> > nmi.c changed in -mm1 AFAICS.
>
> ah, plain -rc3 hangs too. So it's one of these commits i guess:
>
> commit 1eeb66a1bb973534dc3d064920a5ca683823372e
> commit 09198e68501a7e34737cd9264d266f42429abcdc
> commit bbba11c35baaad3f70f32e185a2c1d40d7901fe9
> commit bf8696ed6dfa561198b4736deaf11ab68dcc4845
oh, damn. The resulting kernel after having undone these doesnt even
build ...
Ingo
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
@ 2007-06-05 12:05 Zoltan Boszormenyi
2007-06-05 16:17 ` 2.6.22-rc3-mm1 Andrew Morton
0 siblings, 1 reply; 42+ messages in thread
From: Zoltan Boszormenyi @ 2007-06-05 12:05 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
Hi!
> -drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61.patch
> -drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61-fix.patch
> -drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61-fix-tidy.patch
>
> Merged into mainline or a subsystem tree
They aren't. They are in neither 2.6.22-rc3 nor 2.6.22-rc3-mm1.bz2,
or in any of the broken-out patches, git-* or other.
Best regards,
Zoltán Böszörményi
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-05-31 6:58 2.6.22-rc3-mm1 Andrew Morton
` (6 preceding siblings ...)
2007-06-05 9:11 ` 2.6.22-rc3-mm1 Ingo Molnar
@ 2007-06-05 15:16 ` Rusty Russell
7 siblings, 0 replies; 42+ messages in thread
From: Rusty Russell @ 2007-06-05 15:16 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, jgarzik
On Wed, 2007-05-30 at 23:58 -0700, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc3/2.6.22-rc3-mm1/
drivers/built-in.o: In function `ahci_port_start':
/home/rusty/linux-2.6.22-rc3-mm1/drivers/ata/ahci.c:1631: undefined reference to `ahci_port_resume'
Presumably because:
# CONFIG_PM is not set
Cheers,
Rusty.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-05 12:05 2.6.22-rc3-mm1 Zoltan Boszormenyi
@ 2007-06-05 16:17 ` Andrew Morton
2007-06-05 16:20 ` 2.6.22-rc3-mm1 Jeff Garzik
0 siblings, 1 reply; 42+ messages in thread
From: Andrew Morton @ 2007-06-05 16:17 UTC (permalink / raw)
To: Zoltan Boszormenyi; +Cc: linux-kernel, Peer Chen, Jeff Garzik, Tejun Heo
On Tue, 05 Jun 2007 14:05:36 +0200 Zoltan Boszormenyi <zboszor@dunaweb.hu> wrote:
> Hi!
>
> > -drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61.patch
> > -drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61-fix.patch
> > -drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61-fix-tidy.patch
> >
> > Merged into mainline or a subsystem tree
>
> They aren't. They are in neither 2.6.22-rc3 nor 2.6.22-rc3-mm1.bz2,
> or in any of the broken-out patches, git-* or other.
>
Oh. Thanks. I wonder why I dropped it. Does anyone recall what the
status of this is?
From: "Peer Chen" <pchen@nvidia.com>
[akpm@linux-foundation.org: fix warning, lots of cleanups]
Signed-off-by: Kuan Luo <kluo@nvidia.com>
Signed-off-by: Peer Chen <pchen@nvidia.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/ata/sata_nv.c | 1066 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 1054 insertions(+), 12 deletions(-)
diff -puN drivers/ata/sata_nv.c~drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61 drivers/ata/sata_nv.c
--- a/drivers/ata/sata_nv.c~drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61
+++ a/drivers/ata/sata_nv.c
@@ -46,6 +46,8 @@
#include <linux/device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_device.h>
+#include <scsi/scsi.h>
+#include <scsi/scsi_cmnd.h>
#include <linux/libata.h>
#define DRV_NAME "sata_nv"
@@ -169,6 +171,36 @@ enum {
NV_ADMA_PORT_REGISTER_MODE = (1 << 0),
NV_ADMA_ATAPI_SETUP_COMPLETE = (1 << 1),
+ /* MCP55 reg offset */
+ NV_CTL_MCP55 = 0x400,
+ NV_INT_STATUS_MCP55 = 0x440,
+ NV_INT_ENABLE_MCP55 = 0x444,
+ NV_NCQ_REG_MCP55 = 0x448,
+ NV_CH1_SACTIVE_MCP55 = 0x0C,
+
+ /* MCP55 */
+ NV_INT_ALL_MCP55 = 0xffff,
+ NV_INT_PORT_SHIFT_MCP55 = 16, /* each port occupies 16 bits */
+ NV_INT_MASK_MCP55 = NV_INT_ALL_MCP55 & 0xfffd,
+
+ /* NCQ ENABLE BITS*/
+ NV_CTL_PRI_SWNCQ = 0x02,
+ NV_CTL_SEC_SWNCQ = 0x04,
+
+ /* MCP55 status bits*/
+ NV_INT_DEV_MCP55 = 0x01,
+ NV_INT_PM_MCP55 = 0x02,
+ NV_INT_ADDED_MCP55 = 0x04,
+ NV_INT_REMOVED_MCP55 = 0x08,
+
+ NV_INT_BACKOUT_MCP55 = 0x10,
+ NV_INT_SDBFIS_MCP55 = 0x20,
+ NV_INT_DHREGFIS_MCP55 = 0x40,
+ NV_INT_DMASETUP_MCP55 = 0x80,
+
+ NV_INT_HOTPLUG_MCP55 = (NV_INT_ADDED_MCP55 |
+ NV_INT_REMOVED_MCP55),
+
};
/* ADMA Physical Region Descriptor - one SG segment */
@@ -263,13 +295,118 @@ static void nv_adma_host_stop(struct ata
static void nv_adma_post_internal_cmd(struct ata_queued_cmd *qc);
static void nv_adma_tf_read(struct ata_port *ap, struct ata_taskfile *tf);
+static void ncq_error_handler(struct ata_port *ap);
+static void nv_mcp55_thaw(struct ata_port *ap);
+static void nv_mcp55_freeze(struct ata_port *ap);
+static void ncq_host_init(struct ata_host *host);
+static void nv_bmdma_stop(struct ata_port *ap);
+static int nv_std_qc_defer(struct ata_port *ap);
+static int nv_port_start(struct ata_port *ap);
+static void nv_port_stop(struct ata_port *ap);
+static void ncq_clear(struct ata_port *ap);
+static void nv_qc_prep(struct ata_queued_cmd *qc);
+static void nv_fill_sg(struct ata_queued_cmd *qc);
+static void ncq_sactive_start (struct ata_queued_cmd *qc);
+static u32 ncq_sactive_value (struct ata_port *ap);
+static unsigned int nv_qc_issue_prot(struct ata_queued_cmd *qc);
+static u32 ncq_tag_value(struct ata_port *ap);
+static int nv_ncqintr_sdbfis(struct ata_port *ap);
+static int nv_ncqintr_dmasetupfis(struct ata_port *ap);
+static void ncq_clear_singlefis(struct ata_port *ap, u32 val);
+static u32 ncq_ownfisintr_value (struct ata_port *ap);
+void ncq_hotplug(struct ata_port *ap, u32 fis);
+static irqreturn_t nv_mcp55_interrupt(int irq, void *dev_instance);
+static int ncq_interrupt(struct ata_port *ap, u32 fis);
+static int nv_scsi_queuecmd(struct scsi_cmnd *cmd,
+ void (*done)(struct scsi_cmnd *));
+
+#undef NCQ_DEBUG
+#undef NCQ_VERBOSE_DEBUG
+#ifdef NCQ_DEBUG
+#define NPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __FUNCTION__, ## args)
+#ifdef NCQ_VERBOSE_DEBUG
+#define NVPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __FUNCTION__, ## args)
+#else
+#define NVPRINTK(fmt, args...) do { } while(0)
+#endif /* NCQ_VERBOSE_DEBUG */
+#else
+#define NPRINTK(fmt, args...) do { } while(0)
+#define NVPRINTK(fmt, args...) do { } while(0)
+#endif
+
+/* cmd_stop
+ |_byte 3__||__byte 2____||__byte 1___||__byte 0_____|
+
+byte0:the dma fis tag's value plus 1
+byte1: defer tag's value plus 1
+byte2: backout tag's value plus 1
+
+*/
+/* ncq operation */
+struct nv_port_priv {
+ struct ata_prd *prd; /* our SG list */
+ dma_addr_t prd_dma; /* and its DMA mapping */
+ u32 qc_active;
+ u8 current_tag;/* the last tag */
+ u32 dhfis_flags;/* each bit is responding to one cmd,
+ if receiving dh fis ,bit set one.*/
+ u8 retry; /* the last cmd needed retry */
+ u32 cmd_stop; /* stop sending cmd from upper layer.*/
+ u32 cmd_sended; /* debug info */
+ u32 defer_bits;
+ const struct nv_ncq_operations *ops;
+
+};
+
+struct nv_ncq_operations{
+ void (*bmdma_stop)(struct ata_port *ap);
+ void (*sactive_start) (struct ata_queued_cmd *qc);
+ u32 (*sactive_value) (struct ata_port *ap);
+ u32 (*tag_value) (struct ata_port *ap);
+ u32 (*check_ownfis) (struct ata_port *ap);/* get the channel 's fis value */
+ void (*clear_singlefis) (struct ata_port *ap,u32 flag);
+ int (*qc_defer) (struct ata_port *ap);
+};
+
+static const struct nv_ncq_operations nv_ncq_ops = {
+ .bmdma_stop = nv_bmdma_stop,
+ .sactive_start = ncq_sactive_start,
+ .sactive_value = ncq_sactive_value,
+ .tag_value = ncq_tag_value,
+ .clear_singlefis = ncq_clear_singlefis,
+ .qc_defer = nv_std_qc_defer,
+ .check_ownfis = ncq_ownfisintr_value ,
+};
+
+#define dma_byte(result) (((result) >> 0) & 0xff)
+#define defer_byte(result) (((result) >> 8) & 0xff)
+#define back_byte(result) (((result) >> 16) & 0xff)
+
+static inline void set_dma_byte(struct nv_port_priv *pp, u8 val)
+{
+ pp->cmd_stop |= val + 1;
+}
+
+static inline void set_defer_byte(struct nv_port_priv *pp, u8 val)
+{
+ pp->cmd_stop |= ((val + 1) << 8) ;
+}
+
+static inline void set_back_byte(struct nv_port_priv *pp, u8 val)
+{
+ pp->cmd_stop |= ((val + 1) << 16);
+}
+
enum nv_host_type
{
GENERIC,
NFORCE2,
NFORCE3 = NFORCE2, /* NF2 == NF3 as far as sata_nv is concerned */
CK804,
- ADMA
+ ADMA,
+ MCP55,
+ MCP51 = MCP55,
+ MCP61 = MCP55
};
static const struct pci_device_id nv_pci_tbl[] = {
@@ -280,14 +417,13 @@ static const struct pci_device_id nv_pci
{ PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_CK804_SATA2), CK804 },
{ PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_SATA), CK804 },
{ PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_SATA2), CK804 },
- { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA), GENERIC },
- { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA2), GENERIC },
- { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA), GENERIC },
- { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA2), GENERIC },
- { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA), GENERIC },
- { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA2), GENERIC },
- { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA3), GENERIC },
-
+ { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA), MCP51 },
+ { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA2), MCP51 },
+ { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA), MCP55 },
+ { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA2),MCP55 },
+ { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA), MCP61 },
+ { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA2), MCP61 },
+ { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA3), MCP61 },
{ } /* terminate list */
};
@@ -338,6 +474,24 @@ static struct scsi_host_template nv_adma
.bios_param = ata_std_bios_param,
};
+static struct scsi_host_template nv_sht_ncq = {
+ .module = THIS_MODULE,
+ .name = DRV_NAME,
+ .ioctl = ata_scsi_ioctl,
+ .queuecommand = nv_scsi_queuecmd,
+ .can_queue = ATA_MAX_QUEUE - 1,
+ .this_id = ATA_SHT_THIS_ID,
+ .sg_tablesize = LIBATA_MAX_PRD,
+ .cmd_per_lun = ATA_SHT_CMD_PER_LUN,
+ .emulated = ATA_SHT_EMULATED,
+ .use_clustering = ATA_SHT_USE_CLUSTERING,
+ .proc_name = DRV_NAME,
+ .dma_boundary = ATA_DMA_BOUNDARY,
+ .slave_configure = ata_scsi_slave_config,
+ .slave_destroy = ata_scsi_slave_destroy,
+ .bios_param = ata_std_bios_param,
+};
+
static const struct ata_port_operations nv_generic_ops = {
.port_disable = ata_port_disable,
.tf_load = ata_tf_load,
@@ -450,6 +604,33 @@ static const struct ata_port_operations
.host_stop = nv_adma_host_stop,
};
+static const struct ata_port_operations nv_mcp55_ops = {
+ .port_disable = ata_port_disable,
+ .tf_load = ata_tf_load,
+ .tf_read = ata_tf_read,
+ .exec_command = ata_exec_command,
+ .check_status = ata_check_status,
+ .dev_select = ata_std_dev_select,
+ .bmdma_setup = ata_bmdma_setup,
+ .bmdma_start = ata_bmdma_start,
+ .bmdma_stop = ata_bmdma_stop,
+ .bmdma_status = ata_bmdma_status,
+ .qc_prep = nv_qc_prep,
+ .qc_issue = nv_qc_issue_prot,
+ .freeze = nv_mcp55_freeze,
+ .thaw = nv_mcp55_thaw,
+ .error_handler = ncq_error_handler,
+ .post_internal_cmd = ata_bmdma_post_internal_cmd,
+ .data_xfer = ata_data_xfer,
+ .irq_clear = ata_bmdma_irq_clear,
+ .irq_on = ata_irq_on,
+ .irq_ack = ata_irq_ack,
+ .scr_read = nv_scr_read,
+ .scr_write = nv_scr_write,
+ .port_start = nv_port_start,
+ .port_stop = nv_port_stop,
+};
+
static const struct ata_port_info nv_port_info[] = {
/* generic */
{
@@ -496,6 +677,16 @@ static const struct ata_port_info nv_por
.port_ops = &nv_adma_ops,
.irq_handler = nv_adma_interrupt,
},
+ /* mcp55/61 */
+ {
+ .sht = &nv_sht_ncq,
+ .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY ,
+ .pio_mask = NV_PIO_MASK,
+ .mwdma_mask = NV_MWDMA_MASK,
+ .udma_mask = NV_UDMA_MASK,
+ .port_ops = &nv_mcp55_ops,
+ .irq_handler = nv_mcp55_interrupt,
+ },
};
MODULE_AUTHOR("NVIDIA");
@@ -505,6 +696,7 @@ MODULE_DEVICE_TABLE(pci, nv_pci_tbl);
MODULE_VERSION(DRV_VERSION);
static int adma_enabled = 1;
+static int ncq_enabled = 0;
static void nv_adma_register_mode(struct ata_port *ap)
{
@@ -760,6 +952,96 @@ static int nv_adma_check_cpb(struct ata_
return 0;
}
+static struct ata_device * ata_find_dev(struct ata_port *ap, int id)
+{
+ if (likely(id < ATA_MAX_DEVICES))
+ return &ap->device[id];
+ return NULL;
+}
+
+static int ata_scsi_dev_enabled(struct ata_device *dev)
+{
+ if (unlikely(!ata_dev_enabled(dev)))
+ return 0;
+
+ if ((dev->ap->flags & ATA_FLAG_NO_ATAPI)) {
+ if (unlikely(dev->class == ATA_DEV_ATAPI)) {
+ ata_dev_printk(dev, KERN_WARNING,
+ "WARNING: ATAPI is %s, device ignored.\n",
+ 1 ? "not supported with this driver" : "disabled");
+ return 0;
+ }
+ }
+
+ return 1;
+}
+
+static struct ata_device * __ata_scsi_find_dev(struct ata_port *ap,
+ const struct scsi_device *scsidev)
+{
+ /* skip commands not addressed to targets we simulate */
+ if (unlikely(scsidev->channel || scsidev->lun))
+ return NULL;
+
+ return ata_find_dev(ap, scsidev->id);
+}
+
+static struct ata_device *
+ata_scsi_find_dev(struct ata_port *ap, const struct scsi_device *scsidev)
+{
+ struct ata_device *dev = __ata_scsi_find_dev(ap, scsidev);
+
+ if (unlikely(!dev || !ata_scsi_dev_enabled(dev)))
+ return NULL;
+
+ return dev;
+}
+
+static int nv_scsi_queuecmd(struct scsi_cmnd *cmd,
+ void (*done)(struct scsi_cmnd *))
+{
+ struct ata_port *ap;
+ struct ata_device *dev;
+ struct scsi_device *scsidev = cmd->device;
+ struct Scsi_Host *shost = scsidev->host;
+ struct nv_port_priv *pp;
+ int rc = 0, flag = 0;
+
+ ap = ata_shost_to_port(shost);
+ pp = ap->private_data;
+ spin_unlock(shost->host_lock);
+ spin_lock(ap->lock);
+ dev = ata_scsi_find_dev(ap, scsidev);
+ if (likely(dev)) {
+ if (dev->class == ATA_DEV_ATA) {
+ switch (cmd->cmnd[0]) {
+ case READ_6:
+ case READ_10:
+ case READ_16:
+
+ case WRITE_6:
+ case WRITE_10:
+ case WRITE_16: flag=1;break;
+ default: flag=0;break;
+ }
+
+ if (flag && (dev->flags & (ATA_DFLAG_PIO | ATA_DFLAG_NCQ)) == ATA_DFLAG_NCQ)
+ rc = pp->ops->qc_defer(ap);
+ }
+ } else {
+ cmd->result = (DID_BAD_TARGET << 16);
+ done(cmd);
+ }
+
+ spin_unlock(ap->lock);
+ spin_lock(shost->host_lock);
+
+ if (rc)
+ return SCSI_MLQUEUE_DEVICE_BUSY;
+ else
+ return ata_scsi_queuecmd(cmd, done);
+}
+
static int nv_host_intr(struct ata_port *ap, u8 irq_stat)
{
struct ata_queued_cmd *qc = ata_qc_from_tag(ap, ap->active_tag);
@@ -1390,6 +1672,45 @@ static irqreturn_t nv_ck804_interrupt(in
return ret;
}
+static irqreturn_t nv_mcp55_interrupt(int irq, void *dev_instance)
+{
+ struct ata_host *host = dev_instance;
+ struct nv_port_priv *pp ;
+ unsigned int i;
+ unsigned int handled = 0;
+ unsigned long flags;
+ u32 irq_stat;
+ spin_lock_irqsave(&host->lock, flags);
+
+ irq_stat = readl(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_MCP55);
+
+ for (i = 0; i < host->n_ports; i++) {
+ struct ata_port *ap = host->ports[i];
+
+ if (ap && !(ap->flags & ATA_FLAG_DISABLED) ) {
+ pp = ap->private_data;
+
+ if (pp->qc_active) {
+ handled += ncq_interrupt(ap, (irq_stat & 0xffff));
+ } else {
+
+ if (irq_stat)
+ pp->ops->clear_singlefis(ap, 0xfff0); //reserve Hotplug and INT intr
+
+ handled += nv_host_intr(ap, (u8)irq_stat);
+ }
+
+
+ }
+
+ irq_stat >>= NV_INT_PORT_SHIFT_MCP55;
+ }
+
+ spin_unlock_irqrestore(&host->lock, flags);
+
+ return IRQ_RETVAL(handled);
+}
+
static u32 nv_scr_read (struct ata_port *ap, unsigned int sc_reg)
{
if (sc_reg > SCR_CONTROL)
@@ -1454,6 +1775,46 @@ static void nv_ck804_thaw(struct ata_por
writeb(mask, mmio_base + NV_INT_ENABLE_CK804);
}
+static void nv_mcp55_freeze(struct ata_port *ap)
+{
+ void __iomem *mmio_base = ap->host->iomap[NV_MMIO_BAR];
+ int shift = ap->port_no * NV_INT_PORT_SHIFT_MCP55;
+ u32 mask;
+ u32 val;
+
+ if (ap->flags & ATA_FLAG_NCQ) {
+ val = readl(mmio_base + NV_CTL_MCP55);
+ val &= ~(NV_CTL_PRI_SWNCQ << ap->port_no);
+ writel(val, mmio_base + NV_CTL_MCP55);/* disable ncq */
+ }
+
+ writel(NV_INT_ALL_MCP55 << shift, mmio_base + NV_INT_STATUS_MCP55);
+ mask = readl(mmio_base + NV_INT_ENABLE_MCP55);
+ mask &= ~(NV_INT_ALL_MCP55 << shift);
+ writel(mask, mmio_base + NV_INT_ENABLE_MCP55);
+ ata_bmdma_freeze(ap);
+}
+
+static void nv_mcp55_thaw(struct ata_port *ap)
+{
+ void __iomem *mmio_base = ap->host->iomap[NV_MMIO_BAR];
+ int shift = ap->port_no * NV_INT_PORT_SHIFT_MCP55;
+ u32 mask;
+ u32 val;
+
+ if (ap->flags & ATA_FLAG_NCQ) {
+ ncq_clear(ap);
+ val = readl(mmio_base + NV_CTL_MCP55);
+ val |= (NV_CTL_PRI_SWNCQ << ap->port_no);
+ writel(val, mmio_base + NV_CTL_MCP55);/* enable ncq */
+ }
+ writel(NV_INT_ALL_MCP55 << shift, mmio_base + NV_INT_STATUS_MCP55);
+ mask = readl(mmio_base + NV_INT_ENABLE_MCP55);
+ mask |= (NV_INT_MASK_MCP55 << shift);
+ writel(mask, mmio_base + NV_INT_ENABLE_MCP55);
+ ata_bmdma_thaw(ap);
+}
+
static int nv_hardreset(struct ata_port *ap, unsigned int *class,
unsigned long deadline)
{
@@ -1527,6 +1888,683 @@ static void nv_adma_error_handler(struct
nv_hardreset, ata_std_postreset);
}
+static void ncq_clear(struct ata_port *ap)
+{
+ struct nv_port_priv *pp = ap->private_data;
+
+ pp->dhfis_flags = 0;
+ pp->qc_active = 0;
+ pp->retry = 0;
+ pp->defer_bits = 0;
+ pp->cmd_stop = 0;
+ pp->cmd_sended = 0;
+ pp->current_tag = 0;
+}
+
+
+static void ncq_stop(struct ata_port *ap)
+{
+ struct nv_port_priv *pp = ap->private_data;
+ u32 serror, sstatus, sctl;
+
+ NPRINTK("shost->host_failed :%x shost->host_busy:%x \n",
+ ap->scsi_host->host_failed,
+ ap->scsi_host->host_busy);
+
+ NPRINTK("ap->qc_active:%x, pp->qc_active:%x defer_bits:%x cmd_stop:%x "
+ "current_tag:%x dhfis_flags:%x \n",
+ ap->qc_active,
+ pp->qc_active,
+ pp->defer_bits,
+ pp->cmd_stop,
+ pp->current_tag,
+ pp->dhfis_flags);
+
+ sata_scr_read(ap, SCR_ERROR, &serror);
+ sata_scr_read(ap, SCR_STATUS, &sstatus);
+ sata_scr_read(ap, SCR_CONTROL, &sctl);
+ NPRINTK("ata%u: SErr:0x%x SStat:0x%x SCtl:0x%x\n", ap->id, serror, sstatus, sctl);
+
+ pp->ops->bmdma_stop(ap);
+ pp->ops->clear_singlefis(ap, 0xffff);
+
+ ncq_clear(ap);
+}
+
+int nv_std_prereset(struct ata_port *ap, unsigned long deadline)
+{
+ struct ata_eh_context *ehc = &ap->eh_context;
+
+ if (ap->flags & ATA_FLAG_NCQ)
+ ehc->i.action |= ATA_EH_HARDRESET;
+
+ return ata_std_prereset(ap, deadline);
+}
+
+static void ncq_error_handler(struct ata_port *ap)
+{
+ u32 ncq_ctl, ncq_enable;
+ void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR];
+
+ ncq_stop(ap);
+ ata_bmdma_drive_eh(ap, nv_std_prereset, ata_std_softreset,
+ nv_hardreset, ata_std_postreset);
+
+ ncq_ctl = readl(mmio + NV_CTL_MCP55);
+ ncq_enable = readl(mmio + NV_INT_ENABLE_MCP55);
+ NPRINTK("ata%u: NCQ_CTL:%x, NCQ_ENABLE:%x\n", ap->id, ncq_ctl, ncq_enable);
+
+}
+
+static void ncq_host_init(struct ata_host *host)
+{
+ u32 flags;
+ void __iomem *mmio = host->iomap[NV_MMIO_BAR];
+ struct pci_dev *pdev = to_pci_dev(host->dev);
+ u8 regval, rev;
+ unsigned int i;
+
+ /* enable bar 5 */
+ pci_read_config_byte(pdev, NV_MCP_SATA_CFG_20, ®val);
+ regval |= NV_MCP_SATA_CFG_20_SATA_SPACE_EN;
+ pci_write_config_byte(pdev, NV_MCP_SATA_CFG_20, regval);
+
+ pci_read_config_byte(pdev, 0x7f, ®val);
+ regval &= ~(1 << 7);
+ pci_write_config_byte(pdev, 0x7f, regval);
+
+ pci_read_config_byte(pdev, 0x08, &rev);
+
+ /* only support A02 and above for mcp55, all for mcp61.*/
+ if ((pdev->device == PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA ||
+ pdev->device == PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA2)
+ && rev < 0xa2)
+ return;
+
+ flags = readl(mmio + NV_CTL_MCP55);
+
+ /* enable ncq */
+ if(ncq_enabled){
+ writel(flags | NV_CTL_PRI_SWNCQ | NV_CTL_SEC_SWNCQ, mmio + NV_CTL_MCP55);
+
+ for (i = 0; i < host->n_ports; i++)
+ host->ports[i]->flags |= ATA_FLAG_NCQ;
+
+ flags = readl(mmio + NV_INT_ENABLE_MCP55);
+ flags = (flags | 0x00fd00fd);
+ writel(flags, mmio + NV_INT_ENABLE_MCP55);
+ flags = readl(mmio + NV_INT_ENABLE_MCP55);
+ }
+
+ writel(~0x0, mmio + NV_INT_STATUS_MCP55);/* clear intr status */
+}
+
+static void nv_bmdma_stop(struct ata_port *ap)
+{
+ if (ap->flags & ATA_FLAG_MMIO) {
+ void __iomem *mmio = ap->ioaddr.bmdma_addr;
+
+ /* clear start/stop bit */
+ writeb(readb(mmio + ATA_DMA_CMD) & ~ATA_DMA_START,
+ mmio + ATA_DMA_CMD);
+ } else {
+ /* clear start/stop bit */
+ iowrite8(ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD) & ~ATA_DMA_START,
+ ap->ioaddr.bmdma_addr + ATA_DMA_CMD);
+ }
+ ata_altstatus(ap);
+}
+
+/**
+* nv_std_qc_defer
+*
+* RETURNS:
+* 1 defer, 0 no need defer
+*/
+
+static int nv_std_qc_defer(struct ata_port *ap)
+{
+ struct nv_port_priv *pp = ap->private_data;
+ u32 fis;
+
+ if (ap->qc_active == 0)
+ return 0;
+
+ if (ata_tag_valid(ap->active_tag))
+ return 1;
+
+ if (pp->cmd_stop)
+ return 1;
+
+ fis = pp->ops->check_ownfis(ap);
+
+ if (fis & NV_INT_DMASETUP_MCP55) {
+ if (!dma_byte(pp->cmd_stop))
+ set_dma_byte(pp, pp->ops->tag_value(ap));
+ return 1;
+ }
+
+ return 0;
+}
+
+static int nv_port_start(struct ata_port *ap)
+{
+ struct device *dev = ap->host->dev;
+ struct nv_port_priv *pp;
+ int rc;
+
+ rc = ata_port_start(ap);
+ if (rc)
+ return rc;
+
+ pp = kzalloc(sizeof(*pp), GFP_KERNEL);
+ if (!pp) {
+ rc = -ENOMEM;
+ goto err_out;
+ }
+
+ pp->prd = dma_alloc_coherent(dev, ATA_PRD_TBL_SZ*ATA_MAX_QUEUE, &pp->prd_dma, GFP_KERNEL);
+ if (!pp->prd) {
+ rc = -ENOMEM;
+ goto err_out_kfree;
+ }
+ pp->ops = &nv_ncq_ops;
+
+ ap->private_data = pp;
+
+ return 0;
+
+err_out_kfree:
+ kfree(pp);
+err_out:
+ return rc;
+}
+
+static void nv_port_stop(struct ata_port *ap)
+{
+ struct device *dev = ap->host->dev;
+ struct nv_port_priv *pp = ap->private_data;
+
+ ap->private_data = NULL;
+ dma_free_coherent(dev, ATA_PRD_TBL_SZ*ATA_MAX_QUEUE, pp->prd, pp->prd_dma);
+ kfree(pp);
+}
+
+static void nv_qc_prep(struct ata_queued_cmd *qc)
+{
+ if (qc->tf.protocol != ATA_PROT_NCQ)
+ return ata_qc_prep(qc);
+
+ if (!(qc->flags & ATA_QCFLAG_DMAMAP))
+ return;
+
+ nv_fill_sg(qc);
+}
+
+static void nv_fill_sg(struct ata_queued_cmd *qc)
+{
+ struct ata_port *ap = qc->ap;
+ struct scatterlist *sg;
+ unsigned int idx;
+ struct nv_port_priv *pp = ap->private_data;
+ struct ata_prd *prd;
+
+ WARN_ON(qc->__sg == NULL);
+ WARN_ON(qc->n_elem == 0 && qc->pad_len == 0);
+
+ prd = (struct ata_prd*)((long)pp->prd + ATA_PRD_TBL_SZ*qc->tag);
+
+ idx = 0;
+ ata_for_each_sg(sg, qc) {
+ u32 addr, offset;
+ u32 sg_len, len;
+
+ /* determine if physical DMA addr spans 64K boundary.
+ * Note h/w doesn't support 64-bit, so we unconditionally
+ * truncate dma_addr_t to u32.
+ */
+ addr = (u32) sg_dma_address(sg);
+ sg_len = sg_dma_len(sg);
+
+ while (sg_len) {
+ offset = addr & 0xffff;
+ len = sg_len;
+ if ((offset + sg_len) > 0x10000)
+ len = 0x10000 - offset;
+
+ prd[idx].addr = cpu_to_le32(addr);
+ prd[idx].flags_len = cpu_to_le32(len & 0xffff);
+
+ idx++;
+ sg_len -= len;
+ addr += len;
+ }
+ }
+
+ if (idx)
+ prd[idx - 1].flags_len |= cpu_to_le32(ATA_PRD_EOT);
+}
+
+static void ncq_sactive_start (struct ata_queued_cmd *qc)
+{
+ struct ata_port *ap = qc->ap;
+ void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR];
+
+ u32 base = NV_CH1_SACTIVE_MCP55 + ap->port_no * 0x40;
+ u32 sactive;
+
+ sactive = readl(mmio + base);
+ sactive |= (1 << qc->tag);
+ writel(sactive, mmio + base);
+}
+
+static u32 ncq_sactive_value (struct ata_port *ap)
+{
+ void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR];
+ u32 base = NV_CH1_SACTIVE_MCP55 + ap->port_no * 0x40;
+ u32 sactive;
+
+ sactive = readl(mmio + base);
+ return sactive;
+}
+
+static u32 ncq_ownfisintr_value (struct ata_port *ap)
+{
+ void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR];
+ u32 value;
+
+ value = readl(mmio + NV_INT_STATUS_MCP55);
+ value = (value >> (ap->port_no * NV_INT_PORT_SHIFT_MCP55)) & 0xffff;
+
+ return value;
+}
+
+static void ncq_clear_singlefis(struct ata_port *ap, u32 val)
+{
+ void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR];
+ u32 flags = (val << (ap->port_no * NV_INT_PORT_SHIFT_MCP55));
+
+ writel(flags, mmio + NV_INT_STATUS_MCP55);
+}
+
+static unsigned int nv_qc_issue_prot(struct ata_queued_cmd *qc)
+{
+ struct ata_port *ap = qc->ap;
+ struct nv_port_priv *pp = ap->private_data;
+ struct ata_taskfile *tf = &(qc->tf);
+ struct ata_taskfile *ttf, rtf;
+ u32 fis, stat0, stat1;
+
+ ttf = &rtf;
+
+ if (qc->tf.protocol != ATA_PROT_NCQ)
+ return ata_qc_issue_prot(qc);
+
+ NPRINTK("ENTER NCQ\n");
+ stat0 = pp->ops->sactive_value(ap);
+ if (pp->retry) {
+ NPRINTK("id:0x%x RETRY: qc->tag:%x\n", ap->id, qc->tag);
+ goto retry_cmd;
+ }
+
+ stat1 = (stat0 | (1 << qc->tag));
+ fis = pp->ops->check_ownfis(ap);
+ if (stat0 > 0 && stat0 != stat1) { /* new cmd */
+
+ if (fis & NV_INT_DMASETUP_MCP55) {
+ if (!dma_byte(pp->cmd_stop))
+ set_dma_byte(pp, pp->ops->tag_value(ap));
+ goto back_out;
+
+ }
+ if (fis & NV_INT_DHREGFIS_MCP55) {
+ ap->ops->check_status(ap);
+ ap->ops->irq_clear(ap); /* clear bm irq */
+ pp->ops->clear_singlefis(ap, NV_INT_DHREGFIS_MCP55 | NV_INT_DEV_MCP55);
+
+ /* each cmd generate one dhfis intr, otherwise error happens */
+ pp->dhfis_flags |= (0x1 << pp->current_tag);
+ }
+
+
+ if (pp->dhfis_flags != pp->qc_active)
+ /* queue have cmd,but dhfis don't generate intr
+ * stat0!=stat1 indicates the cmd isn't a retry cmd.
+ */
+ goto back_out;
+ }
+
+retry_cmd:
+ pp->ops->sactive_start(qc);
+ stat1 = pp->ops->sactive_value(ap);
+
+ NVPRINTK("id:0x%x sactive stat0:%x, stat1:%x tag:%x \n", ap->id, stat0, stat1, qc->tag);
+ pp->current_tag = qc->tag;
+
+ ap->ops->tf_load(ap, &qc->tf); /* load tf registers */
+ ap->ops->exec_command(ap, tf);
+ pp->dhfis_flags &= ~(1 << qc->tag) ;
+ pp->qc_active |= (0x1 << qc->tag);
+
+ if (!pp->retry)
+ pp->cmd_sended++;
+
+ if (pp->retry)
+ pp->retry--;
+
+ NPRINTK("EXIT NCQ\n");
+ return 0;
+back_out:
+ pp->defer_bits |= (0x1 << qc->tag);
+ if (defer_byte(pp->cmd_stop)) {
+ NPRINTK("ERRCMD_STOP\n");
+ }
+ set_defer_byte(pp, qc->tag);
+ pp->retry++;
+ NPRINTK("EXIT NCQ\n");
+ return 0;
+}
+
+u32 ncq_valid_dhfisflag(struct nv_port_priv *pp)
+{
+ u32 valid = (pp->dhfis_flags == pp->qc_active);
+
+ if (back_byte(pp->cmd_stop))
+ return valid;
+
+ if (!valid) {
+ set_back_byte(pp, pp->current_tag);
+ pp->retry++;
+ NPRINTK("NOT DHFIS intr dhfis_flags:%x pp->qc_active:%x\n",pp->dhfis_flags, pp->qc_active);
+ }
+ return valid;
+}
+
+
+#ifdef NCQ_DEBUG
+static void fis_dump(struct ata_port *ap, u32 fis)
+{
+ u8 dma_stat;
+ u32 sactive;
+ u32 tag;
+ u32 serror, sstatus, sctl;
+ struct nv_port_priv *pp = ap->private_data;
+
+ sactive = pp->ops->sactive_value(ap);
+ dma_stat = ap->ops->bmdma_status(ap);
+ tag = pp->ops->tag_value(ap);
+
+
+ NPRINTK("id:0x%x cmd_sended:%x fis:0x%X dma_stat:0x%X "
+ "sactive:0x%X cmd_stop:0x%X apsactive:%x tag:%X ",
+ ap->id,
+ pp->cmd_sended,
+ fis,
+ dma_stat,
+ sactive,
+ pp->cmd_stop,
+ ap->sactive,
+ tag);
+
+ sata_scr_read(ap, SCR_ERROR, &serror);
+ sata_scr_read(ap, SCR_STATUS, &sstatus);
+ sata_scr_read(ap, SCR_CONTROL, &sctl);
+ printk("SErr:0x%x SStat:0x%x SCtl:0x%x ", serror, sstatus, sctl);
+ if (fis & NV_INT_BACKOUT_MCP55)
+ printk(" backout");
+
+ if (fis & NV_INT_DHREGFIS_MCP55)
+ printk(" dhfis");
+
+ if(fis & NV_INT_DMASETUP_MCP55)
+ printk(" dmasetup");
+
+ if (fis & NV_INT_SDBFIS_MCP55)
+ printk(" sdbfis");
+
+ printk("\n");
+
+ return;
+}
+
+#else
+#define fis_dump(x, y)
+#endif
+
+
+void ncq_hotplug(struct ata_port *ap, u32 fis)
+{
+ u32 serror;
+ struct ata_eh_info *ehi = &ap->eh_info;
+
+ ata_ehi_clear_desc(ehi);
+
+ /* AHCI needs SError cleared; otherwise, it might lock up */
+ sata_scr_read(ap, SCR_ERROR, &serror);
+ sata_scr_write(ap, SCR_ERROR, serror);
+
+ /* analyze @irq_stat */
+ ata_ehi_push_desc(ehi, "fis_stat 0x%08x", fis);
+
+ ata_ehi_hotplugged(ehi);
+
+ /* okay, let's hand over to EH */
+ ehi->serror |= serror;
+
+ ata_port_freeze(ap);
+}
+
+static int ncq_interrupt(struct ata_port *ap, u32 fis)
+{
+ struct nv_port_priv *pp = ap->private_data;
+ u32 rc = 0;
+ u32 tag;
+ u8 ata_stat;
+
+ if (!fis)
+ return 0;
+
+ ata_stat = ap->ops->check_status(ap);
+
+ ap->ops->irq_clear(ap); /* clear bm irq */
+
+ fis_dump(ap, fis);
+
+ if (fis & NV_INT_HOTPLUG_MCP55) {
+ ncq_hotplug(ap, fis);
+ pp->ops->clear_singlefis(ap, 0xffff);
+ return 1;
+ }
+
+
+ if (!(fis & 0xf0)) {
+ pp->ops->clear_singlefis(ap, 0x0f);
+ return rc;
+ }
+
+ pp->ops->clear_singlefis(ap, NV_INT_DEV_MCP55);
+
+ if (fis &NV_INT_BACKOUT_MCP55) {
+ pp->ops->clear_singlefis(ap, NV_INT_BACKOUT_MCP55);
+ pp->retry++ ;
+ set_back_byte(pp, pp->current_tag);
+ NPRINTK("BACK OUT FIS:%x \n", fis);
+ rc = 1;
+ } /* first handle back out */
+
+ if (fis & NV_INT_SDBFIS_MCP55) {
+ pp->ops->clear_singlefis(ap, NV_INT_SDBFIS_MCP55 | NV_INT_DEV_MCP55);
+ rc = nv_ncqintr_sdbfis(ap);
+ }
+
+ if (fis &NV_INT_DHREGFIS_MCP55) {
+ pp->ops->clear_singlefis(ap, NV_INT_DHREGFIS_MCP55);
+
+ /* each cmd generate one dhfis intr, otherwise error happens */
+ pp->dhfis_flags |= (0x1 << pp->current_tag);
+ }
+
+ if (fis & NV_INT_DMASETUP_MCP55) {
+ /* don't send next request after receiving dma setupfis */
+ tag = pp->ops->tag_value(ap);
+ if (!dma_byte(pp->cmd_stop))
+ set_dma_byte(pp, tag);
+
+ pp->ops->clear_singlefis(ap, NV_INT_DMASETUP_MCP55);
+
+ rc = nv_ncqintr_dmasetupfis(ap);
+ }
+
+ return rc;
+}
+
+#ifdef NCQ_DEBUG
+static void sdbfis_dump(struct ata_port *ap)
+{
+ struct nv_port_priv *pp = ap->private_data;
+
+
+ NPRINTK("id:0x%x retry:%x ap->qc_active:0x%x pp->qc_active:0x%x "
+ "defer_bits:0x%x cmd_stop:0x%x current_tag:%X pp->dhfis_flags:0x%x\n",
+ ap->id,
+ pp->retry,
+ ap->qc_active,
+ pp->qc_active,
+ pp->defer_bits,
+ pp->cmd_stop,
+ pp->current_tag,
+ pp->dhfis_flags);
+
+ return;
+}
+#else
+#define sdbfis_dump(x)
+#endif
+
+static int nv_ncqintr_sdbfis(struct ata_port *ap)
+{
+ struct ata_queued_cmd *qc;
+ u32 sactive;
+ int nr_done = 0;
+ u32 done_mask;
+ int i;
+ u32 dh_valid;
+ struct nv_port_priv *pp = ap->private_data;
+ void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR];
+ u32 base = NV_CH1_SACTIVE_MCP55 + ap->port_no * 0x40;
+
+ pp->ops->bmdma_stop(ap);
+
+ sactive = readl(mmio + base);
+
+ done_mask = pp->qc_active ^ sactive;
+ if (unlikely(done_mask & sactive)) {
+ ata_port_printk(ap, KERN_ERR, "illegal qc_active transition "
+ "(%08x->%08x)\n", ap->qc_active, sactive);
+ return -EINVAL;
+ }
+ for (i = 0; i < ATA_MAX_QUEUE; i++) {
+ struct ata_queued_cmd *qc;
+
+ if (!(done_mask & (1 << i)))
+ continue;
+
+ if ((qc = ata_qc_from_tag(ap, i))) {
+ ata_qc_complete(qc);
+ pp->qc_active &= ~(0x1 << i);
+ pp->dhfis_flags &= ~(0x1 << i);
+ nr_done++;
+ }
+ }
+
+ if (!ap->qc_active) {
+ NPRINTK("over\n");
+ pp->dhfis_flags = 0;
+ pp->retry = 0;
+ pp->qc_active = 0;
+ pp->defer_bits = 0;
+ pp->cmd_stop = 0;
+ pp->cmd_sended = 0;
+ pp->current_tag = 0;
+ return nr_done;
+ }
+
+ dh_valid = ncq_valid_dhfisflag(pp);
+ sdbfis_dump(ap);
+
+ if (ap->qc_active > 0 && pp->qc_active == (1 << pp->current_tag) &&
+ back_byte(pp->cmd_stop)) {
+
+ qc = ata_qc_from_tag(ap, pp->current_tag);
+ if (unlikely(!qc))
+ return nr_done;
+
+ NPRINTK("backout or novalid\n");
+ ap->ops->qc_issue(qc);
+
+ return nr_done;
+ }
+
+ if (pp->qc_active > 0 || pp->defer_bits == 0)
+ return nr_done;
+
+ for (i = 0; i < 32; i++) {
+ if (!(pp->defer_bits & (0x1 << i)))
+ continue;
+
+ qc = ata_qc_from_tag(ap, i);
+ pp->defer_bits &= ~(0x1 << i);
+ NPRINTK("DEFER\n");
+ ap->ops->qc_issue(qc);
+ break;
+ }
+
+ return nr_done;
+}
+
+static u32 ncq_tag_value(struct ata_port *ap)
+{
+ void __iomem *mmio = ap->host->iomap[NV_MMIO_BAR];
+ u32 tag;
+ u32 base = NV_NCQ_REG_MCP55 + ap->port_no * 2;
+
+ tag = readb(mmio + base);
+ tag = ((tag >> 2) & 0x1f);
+ return tag;
+}
+
+static int nv_ncqintr_dmasetupfis(struct ata_port *ap)
+{
+ struct ata_queued_cmd *qc;
+ unsigned int rw ;
+ u8 dmactl;
+ u32 tag;
+ struct nv_port_priv *pp = ap->private_data;
+
+ pp->ops->bmdma_stop(ap);
+ tag = pp->ops->tag_value(ap);
+
+ qc = ata_qc_from_tag(ap, tag);
+
+ if (unlikely(!qc))
+ return 0;
+
+ rw = ((qc->tf.flags) & ATA_TFLAG_WRITE);
+
+ /* load PRD table addr. */
+ iowrite32(pp->prd_dma + ATA_PRD_TBL_SZ*(qc->tag), ap->ioaddr.bmdma_addr + ATA_DMA_TABLE_OFS);
+
+ /* specify data direction, triple-check start bit is clear */
+ dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD);
+ dmactl &= ~(ATA_DMA_WR);
+ if (!rw)
+ dmactl |= ATA_DMA_WR;
+
+ iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD);
+
+ return 1;
+}
+
static int nv_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
{
static int printed_version = 0;
@@ -1553,7 +2591,7 @@ static int nv_init_one (struct pci_dev *
return rc;
/* determine type and allocate host */
- if (type >= CK804 && adma_enabled) {
+ if ((type == CK804 || type == ADMA) && adma_enabled) {
dev_printk(KERN_NOTICE, &pdev->dev, "Using ADMA mode\n");
type = ADMA;
}
@@ -1586,7 +2624,7 @@ static int nv_init_one (struct pci_dev *
host->ports[1]->ioaddr.scr_addr = base + NV_PORT1_SCR_REG_OFFSET;
/* enable SATA space for CK804 */
- if (type >= CK804) {
+ if (type == CK804 || type == ADMA) {
u8 regval;
pci_read_config_byte(pdev, NV_MCP_SATA_CFG_20, ®val);
@@ -1599,7 +2637,8 @@ static int nv_init_one (struct pci_dev *
rc = nv_adma_host_init(host);
if (rc)
return rc;
- }
+ }else if (type == MCP55)
+ ncq_host_init(host);
pci_set_master(pdev);
return ata_host_activate(host, pdev->irq, ppi[0]->irq_handler,
@@ -1698,3 +2737,6 @@ module_init(nv_init);
module_exit(nv_exit);
module_param_named(adma, adma_enabled, bool, 0444);
MODULE_PARM_DESC(adma, "Enable use of ADMA (Default: true)");
+module_param_named(ncq, ncq_enabled, bool, 0444);
+MODULE_PARM_DESC(ncq, "Enable use of NCQ (Default: false)");
+
_
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: 2.6.22-rc3-mm1
2007-06-05 16:17 ` 2.6.22-rc3-mm1 Andrew Morton
@ 2007-06-05 16:20 ` Jeff Garzik
0 siblings, 0 replies; 42+ messages in thread
From: Jeff Garzik @ 2007-06-05 16:20 UTC (permalink / raw)
To: Andrew Morton; +Cc: Zoltan Boszormenyi, linux-kernel, Peer Chen, Tejun Heo
On Tue, Jun 05, 2007 at 09:17:35AM -0700, Andrew Morton wrote:
> On Tue, 05 Jun 2007 14:05:36 +0200 Zoltan Boszormenyi <zboszor@dunaweb.hu> wrote:
>
> > Hi!
> >
> > > -drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61.patch
> > > -drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61-fix.patch
> > > -drivers-ata-add-sw-ncq-support-to-sata_nv-for-mcp51-mcp55-mcp61-fix-tidy.patch
> > >
> > > Merged into mainline or a subsystem tree
> >
> > They aren't. They are in neither 2.6.22-rc3 nor 2.6.22-rc3-mm1.bz2,
> > or in any of the broken-out patches, git-* or other.
> >
>
> Oh. Thanks. I wonder why I dropped it. Does anyone recall what the
> status of this is?
Yep it got NAK'd due to several obvious problems.
We're still waiting for an update based on feedback.
Jeff
^ permalink raw reply [flat|nested] 42+ messages in thread
end of thread, other threads:[~2007-06-05 16:21 UTC | newest]
Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 12:05 2.6.22-rc3-mm1 Zoltan Boszormenyi
2007-06-05 16:17 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-05 16:20 ` 2.6.22-rc3-mm1 Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2007-05-31 6:58 2.6.22-rc3-mm1 Andrew Morton
2007-05-31 12:09 ` 2.6.22-rc3-mm1 Cornelia Huck
2007-05-31 12:15 ` 2.6.22-rc3-mm1 Matthew Wilcox
2007-05-31 12:20 ` 2.6.22-rc3-mm1 Cornelia Huck
2007-05-31 12:35 ` 2.6.22-rc3-mm1 Jeff Garzik
2007-05-31 15:11 ` 2.6.22-rc3-mm1 Cornelia Huck
2007-05-31 15:13 ` 2.6.22-rc3-mm1 Christoph Hellwig
2007-05-31 22:10 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-01 7:09 ` 2.6.22-rc3-mm1 Cornelia Huck
2007-05-31 15:29 ` 2.6.22-rc3-mm1 Michal Piotrowski
2007-05-31 19:58 ` 2.6.22-rc3-mm1 Rafael J. Wysocki
[not found] ` <6bffcb0e0705311425q2e00cc69j5006d95c3f0df158@mail.gmail.com>
2007-05-31 21:34 ` 2.6.22-rc3-mm1 Rafael J. Wysocki
2007-05-31 17:53 ` 2.6.22-rc3-mm1 Michal Piotrowski
2007-05-31 18:08 ` 2.6.22-rc3-mm1 Michal Piotrowski
2007-05-31 18:31 ` 2.6.22-rc3-mm1 Andrew Morton
2007-05-31 18:41 ` 2.6.22-rc3-mm1 Christoph Lameter
2007-05-31 18:53 ` 2.6.22-rc3-mm1 Andrew Morton
2007-05-31 18:57 ` 2.6.22-rc3-mm1 Christoph Lameter
2007-05-31 20:43 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
2007-05-31 21:19 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-01 20:50 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
2007-06-01 21:02 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-01 21:21 ` 2.6.22-rc3-mm1 Mariusz Kozlowski
2007-06-01 23:30 ` 2.6.22-rc3-mm1 Benjamin Herrenschmidt
2007-06-02 8:40 ` 2.6.22-rc3-mm1 Segher Boessenkool
2007-06-01 2:01 ` 2.6.22-rc3-mm1 Arnaldo Carvalho de Melo
2007-06-01 2:12 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-01 2:24 ` 2.6.22-rc3-mm1 Arnaldo Carvalho de Melo
2007-06-01 3:52 ` 2.6.22-rc3-mm1 Michael Ellerman
2007-06-01 5:55 ` 2.6.22-rc3-mm1 Eric W. Biederman
2007-06-05 9:11 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 9:18 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 9:24 ` 2.6.22-rc3-mm1 Andrew Morton
2007-06-05 9:33 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 9:39 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 9:42 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 9:45 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 9:50 ` 2.6.22-rc3-mm1 Ingo Molnar
2007-06-05 15:16 ` 2.6.22-rc3-mm1 Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox