2007-11-06 10:34:16

by Andrew Morton

[permalink] [raw]
Subject: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

The mm snapshot broken-out-2007-11-06-02-32.tar.gz has been uploaded to

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-11-06-02-32.tar.gz

It contains the following patches against 2.6.24-rc1:

origin.patch
ecryptfs-cast-page-index-to-loff_t-instead-of-off_t.patch
fix-oops-in-toshiba_acpi-error-return-path.patch
rtc_hctosys-expects-rtcs-in-utc-doc.patch
rtcs-handle-nvram-better.patch
rtc-ds1307-exports-nvram.patch
drivers-video-ps3fb-fix-memset-size-error.patch
w1-fix-memset-size-error.patch
forbid-user-to-change-file-flags-on-quota-files.patch
forbid-user-to-change-file-flags-on-quota-files-fix.patch
lxfb-use-the-correct-msr-number-for-panel-support.patch
lguest_userc-fix-memory-leak.patch
video-sis-fix-negative-array-index.patch
8250_pnp-add-support-for-lg-c1-express-dual-machines.patch
proc-fix-proc_kill_inodes-to-kill-dentries-on-all-proc-superblocks.patch
proc-fix-proc_kill_inodes-to-kill-dentries-on-all-proc-superblocks-checkpatch-fixes.patch
migration-find-correct-vma-in-new_vma_page.patch
memory-hotremove-unset-migrate-type-isolate-after-removal.patch
make-getdelays-cgroupstats-aware.patch
mm-speed-up-writeback-ramp-up-on-clean-systems.patch
add-ioresouce_busy-flag-for-system-ram.patch
git-acpi.patch
acpi-enable-c3-power-state-on-dell-inspiron-8200.patch
acpi-enable-c3-power-state-on-dell-inspiron-8200-fix.patch
acpi-add-reboot-mechanism.patch
acpi-sbs-fix-retval-warning.patch
acpi-expose-_sun-in-proc-acpi-processor-info.patch
small-acpica-extension-to-be-able-to-store-the-name-of.patch
small-acpica-extension-to-be-able-to-store-the-name-of-fix.patch
export-acpi_check_resource_conflict.patch
mm-only-enforce-acpi-resource-conflict-checks.patch
rtc-dont-write-rtc-century-when-setting-a-wake-alarm.patch
git-alsa.patch
working-3d-dri-intel-agpko-resume-for-i815-chip.patch
git-arm-master.patch
git-arm.patch
git-arm-fixup.patch
uninitialised-variable-in-arm-ixp4xx-clockevents-code.patch
unlock-when-ssp-tries-to-close-an-invalid-port.patch
ixp4xx-remove-double-include.patch
arm-remove-reference-to-non-existent-mtd_obsolete_chips.patch
arm-fix-memset-size-error.patch
arch-arm-removed-duplicate-includes.patch
git-avr32.patch
git-cifs.patch
git-cpufreq.patch
gx-suspmodc-use-boot_cpu_data-instead-of-current_cpu_data.patch
cpufreq-fix-incorrect-comment-on-show_available_freqs-in-freq_tablec.patch
agk-dm-dm-table-detect-io-beyond-device.patch
agk-dm-dm-mark-function-lists-static.patch
agk-dm-dm-ioctl-remove-lock_kernel.patch
agk-dm-dm-ioctl-move-compat-code.patch
agk-dm-dm-table-use-list_for_each.patch
agk-dm-dm-table-remove-unused-variable.patch
agk-dm-dm-table-remove-unused-total.patch
agk-dm-dm-crypt-move-convert_context-inside-dm_crypt_io.patch
agk-dm-dm-crypt-remove-unnecessary-crypt_context-write-parm.patch
agk-dm-dm-crypt-move-error-setting-outside-crypt_dec_pending.patch
agk-dm-dm-crypt-tidy-crypt_endio.patch
agk-dm-dm-crypt-adjust-io-processing-functions.patch
agk-dm-dm-crypt-store-sector-mapping-in-dm_crypt_io.patch
agk-dm-dm-ioctl-move-compat-code-fix.patch
powerpc-move-_rtc_time-routines-under-config_adb_cuda.patch
powerpc-fix-memset-size-error.patch
arch-powerpc-remove-duplicate-includes.patch
arch-ppc-remove-duplicate-includes.patch
gregkh-driver-kobject-remove-incorrect-comment-in-kobject_rename.patch
gregkh-driver-pm-acquire-device-locks-prior-to-suspending.patch
gregkh-driver-aoechr-convert-from-class_device-to-device.patch
gregkh-driver-atm-convert-struct-class_device-to-struct-device.patch
gregkh-driver-coda-convert-struct-class_device-to-struct-device.patch
gregkh-driver-dma-convert-from-class_device-to-device-for-dma-engine.patch
gregkh-driver-drm-convert-from-class_device-to-device-in-drivers-char-drm.patch
gregkh-driver-ide-convert-from-class_device-to-device-for-ide-tape.patch
gregkh-driver-isdn-convert-from-class_device-to-device-for-isdn-capi.patch
gregkh-driver-adb-convert-from-class_device-to-device.patch
gregkh-driver-mcp_ucb1200-convert-from-class_device-to-device.patch
gregkh-driver-mtd-convert-from-class_device-to-device-for-mtd-mtdchar.patch
gregkh-driver-paride-convert-from-class_device-to-device-for-block-paride.patch
gregkh-driver-pktcdvd-convert-from-class_device-to-device-for-block-pktcdvd.patch
gregkh-driver-tifm-convert-from-class_device-to-device-for-ti-flash-media.patch
gregkh-driver-cosa-convert-from-class_device-to-device-for-cosa-sync-driver.patch
gregkh-driver-ecryptfs-sysfs-fixes.patch
gregkh-driver-remove-struct-kobj_type-from-struct-kset.patch
gregkh-driver-remove-kobj_set_kset_s.patch
gregkh-driver-kset-add-kset_create_and_register-function.patch
gregkh-driver-kset-convert-fuse-to-use-kset_create.patch
gregkh-driver-kset-convert-securityfs-to-use-kset_create.patch
gregkh-driver-kset-convert-debugfs-to-use-kset_create.patch
gregkh-driver-kset-convert-configfs-to-use-kset_create.patch
gregkh-driver-kset-convert-ecryptfs-to-use-kset_create.patch
gregkh-driver-kset-convert-main-fs-kset-to-use-kset_create.patch
gregkh-driver-kset-convert-gfs2-to-use-kset_create.patch
gregkh-driver-kset-convert-gfs2-dlm-to-use-kset_create.patch
gregkh-driver-kset-convert-dlm-to-use-kset_create.patch
gregkh-driver-kset-convert-pci-hotplug-to-use-kset_create_and_register.patch
gregkh-driver-kset-remove-decl_subsys_name.patch
gregkh-driver-kset-convert-kernel_subsys-to-use-kset_create.patch
gregkh-driver-kset-convert-drivers-base-busc-kset_create_and_register.patch
gregkh-driver-kset-convert-drivers-base-classc-kset_create_and_register.patch
gregkh-driver-kset-convert-drivers-base-firmwarec-kset_create_and_register.patch
gregkh-driver-kset-convert-sys-devices-to-use-kset_create.patch
gregkh-driver-kset-convert-sys-hypervisor-to-use-kset_create.patch
gregkh-driver-kset-convert-sys-devices-system-to-use-kset_create.patch
gregkh-driver-kset-convert-slub-to-use-kset_create.patch
gregkh-driver-kset-move-sys-slab-to-sys-kernel-slab.patch
gregkh-driver-kset-convert-sys-module-to-use-kset_create.patch
gregkh-driver-kset-convert-sys-power-to-use-kset_create.patch
gregkh-driver-kset-convert-s390-hypervisor-kset-to-use-kset_create.patch
gregkh-driver-kset-convert-struct-bus_device-devices-to-use-kset_create.patch
gregkh-driver-kset-convert-struct-bus_device-drivers-to-use-kset_create.patch
gregkh-driver-driver-core-remove-owner-field-from-struct-bus_type.patch
gregkh-driver-driver-core-add-way-to-get-to-bus-kset.patch
gregkh-driver-driver-core-add-way-to-get-to-bus-device-klist.patch
gregkh-driver-driver-core-remove-fields-from-struct-bus_type.patch
gregkh-driver-kobject-kobj_attribute-handling.patch
gregkh-driver-kset-convert-to-kobj_sysfs_ops.patch
gregkh-driver-struct-user_info-sysfs.patch
gregkh-driver-ecryptfs-remove-version_str-file-from-sysfs.patch
gregkh-driver-efivars-remove-new_var-and-del_var-files-from-sysfs.patch
gregkh-driver-kobject-convert-efivars-to-kobj_attr-interface.patch
gregkh-driver-firmware-export-firmware_kset.patch
gregkh-driver-kset-convert-efivars-to-use-kset_create-for-the-efi-subsystem.patch
gregkh-driver-kset-convert-efivars-to-use-kset_create-for-the-vars-sub-subsystem.patch
gregkh-driver-kobject-convert-arm-mach-omap1-pmc-to-kobj_attr-interface.patch
gregkh-driver-kobject-convert-pseries-powerc-to-kobj_attr-interface.patch
gregkh-driver-kobject-convert-s390-iplc-to-kobj_attr-interface.patch
gregkh-driver-kset-convert-s390-iplc-to-use-kset_create.patch
gregkh-driver-kobject-convert-parisc-pdc_stable-to-kobj_attr-interface.patch
gregkh-driver-kset-convert-parisc-pdc_stablec-to-use-kset_create.patch
gregkh-driver-kset-kill-subsys-attr.patch
gregkh-driver-kset-convert-edd-to-use-kset_create.patch
gregkh-driver-kset-convert-acpi-to-use-kset_create.patch
gregkh-driver-firmware-remove-firmware_register.patch
gregkh-driver-kset-convert-ocfs2-to-use-kset_create.patch
gregkh-driver-kset-remove-decl_subsys-macro.patch
gregkh-driver-block-device.patch
gregkh-driver-nozomi.patch
gregkh-driver-put_device-might_sleep.patch
gregkh-driver-kobject-warn.patch
gregkh-driver-warn-when-statically-allocated-kobjects-are-used.patch
gregkh-driver-sysfs-crash-debugging.patch
git-drm.patch
mga_dma-return-err-not-just-zero-from-mga_do_cleanup_dma.patch
dvb-dont-return-with-locks-held.patch
jdelvare-i2c-i2c-dev-add-comments.patch
jdelvare-i2c-i2c-slave-busy-only-if-has-driver.patch
jdelvare-i2c-i2c-make-i2c_check_addr-static.patch
jdelvare-i2c-i2c-nforce2-nforce2-supports-block-and-reset.patch
jdelvare-i2c-i2c-pasemi-use-i2c_add_numbered_adapter.patch
jdelvare-i2c-i2c-pasemi-fix-nack-detection.patch
jdelvare-i2c-i2c-ibm_iic-whitespace-cleanups.patch
jdelvare-i2c-i2c-pcf8575-new-driver.patch
jdelvare-i2c-i2c-tsl2550-add-power-management.patch
jdelvare-i2c-i2c-stub-mention-helper-script.patch
jdelvare-i2c-i2c-remove-deprecated-rtc-drivers.patch
check-for-acpi-resource-conflicts-in-i2c-bus-drivers.patch
git-hwmon.patch
check-for-acpi-resource-conflicts-in-hwmon-drivers.patch
git-gfs2-nmw.patch
git-hid.patch
git-hrt.patch
clocksource-make-clocksource_mask-bullet-proof.patch
clean-up-misleading-ia64-acpi-error-message.patch
ia64-slim-down-__clear_bit_unlock.patch
ia64-slim-down-__clear_bit_unlock-checkpatch-fixes.patch
rename-_bss-to-__bss_start.patch
ia64-fix-memset-size-error.patch
arch-ia64-remove-duplicate-includes.patch
git-infiniband.patch
git-input.patch
make-wistron-btns-recognize-special-keys-on-medion-wim2160-notebooks.patch
fujitsu-application-panel-driver.patch
fujitsu-application-panel-driver-space-savings.patch
elantech-touchpad-driver.patch
elantech-touchpad-driver-fix.patch
git-jfs.patch
git-kbuild.patch
kconfig-use-getopt-in-confc-for-handling-command-line.patch
git-kvm.patch
git-leds.patch
git-libata-all.patch
drivers-ata-libata-ehc-fix-printk-warning.patch
pata_hpt37x-fix-outstanding-bug-reports-on-the-hpt374-and-37x-cable-detect-checkpatch-fixes.patch
ide-mm-ide-remove-dma-master-field-from-ide-hwif-t-take-5.patch
ide-mm-ide-remove-task-ioreg-t-typedef-take-2.patch
ide-mm-ide-add-struct-ide_taskfile-take-2.patch
ide-mm-ide-disk-merge-lba28-and-lba48-host-protected-area-support-code-take-2.patch
ide-mm-ide-disk-fix-taskfile-registers-loading-order-in-__ide_do_rw_disk.patch
ide-mm-ide-disk-use-struct-ide_taskfile-in-__ide_do_rw_disk.patch
ide-mm-ide-add-ide_tf_load-helper.patch
ide-mm-ide-add-ide_no_data_taskfile-helper.patch
ide-mm-ide-use-do-rw-taskfile-in-flagged-taskfile.patch
ide-mm-ide-pmac-fix-pmac_ide_init_hwif_ports.patch
ide-mm-ide-remove-irqf_disabled-from-irq-flags-for-ide-irq-handler.patch
ide-mm-ide-remove-config_idepci_share_irq-config-option.patch
ide-mm-ide-remove-stale-ide-h-configuration-options.patch
ide-mm-ide-tape-remove-dead-use_iotrace-code.patch
ide-mm-ide-use-drive-select-all-for-req_type_ata_task-in-execute_drive_cmd.patch
ide-mm-ide-fix-registers-loading-order-for-win_smart-in-execute_drive_cmd.patch
ide-mm-ide-fix-registers-loading-order-for-ide_nsector_reg-in-execute_drive_cmd.patch
ide-mm-ide-execute_drive_cmd-cleanup.patch
ide-mm-ide-remove-ide_cmd-helper.patch
ide-mm-ide-use-ide_tf_load-in-execute_drive_cmd.patch
ide-mm-ide-use-ide_tflag_lba48-for-req_type_ata_taskfile-requests.patch
ide-mm-ide-remove-unnecessary-writes-to-hob-taskfile-registers.patch
ide-mm-ide-extend-timeout-for-req_type_ata_cmd_task-requests.patch
ide-mm-ide-switch-idedisk_prepare_flush-to-use-req_type_ata_taskfile-requests.patch
ide-mm-ide-switch-ide_task_ioctl-to-use-req_type_ata_taskfile-requests.patch
ide-mm-ide-remove-req_type_ata_task.patch
ide-mm-ide-floppy-remove-dead-code.patch
ide-mm-ide-cpu-endianness-doesn-t-matter-for-special_t.patch
ide-mm-ide-remove-ata_status_t-and-atapi_status_t.patch
ide-mm-ide-remove-atapi_error_t-take-2.patch
ide-mm-ide-remove-atapi_feature_t.patch
ide-mm-ide-remove-ata_nsector_t-ata_data_t-and-atapi_bcount_t.patch
ide-mm-ide-remove-atapi_ireason_t-take-3.patch
ide-mm-ide-cd-fix-register-loading-order-in-cdrom_start_packet_command.patch
ide-mm-ide-floppy-tape-scsi-fix-register-loading-order-when-issuing-packet-command.patch
ide-mm-ide-add-ide_pktcmd_tf_load-helper.patch
ide-mm-ide-remove-quirk_list.patch
ide-mm-ide-remove-select_interrupt.patch
ide-mm-ide-remove-hwif-intrproc.patch
ide-mm-ide-remove-command-type-field-from-ide_task_t.patch
ide-mm-ide-remove-tf_in_flags-field-from-ide_task_t.patch
ide-mm-sc1200-remove-pointless-hwif-lookup-loop.patch
ide-arm-hack.patch
ide-add-helper-__ide_setup_pci_device.patch
git-m32r.patch
git-md-accel.patch
arch-mips-remove-duplicate-includes.patch
git-mtd.patch
git-mtd-fix.patch
eccbuf-is-statically-defined-and-always-evaluate-to-true.patch
remove-fs-jffs2-ioctlc.patch
make-jffs2_get_acl-static.patch
git-ubi.patch
git-net.patch
pfkey-sending-an-sadb_get-responds-with-an-sadb_get.patch
lmc_ioctl-dont-return-with-locks-held-fix.patch
make-sunrpc-xprtsockcxs_setup_udptcp-static.patch
tlan-list-is-subscribers-only.patch
git-netdev-all.patch
forcedeth-power-down-phy-when-interface-is-down.patch
forcedeth-fix-mac-address-detection-on-network-card-regression-in-2623.patch
ucc_geth-fix-build-break-introduced-by-commit-09f75cd7bf13720738e6a196cc0107ce9a5bd5a0-checkpatch-fixes.patch
3x59x-fix-pci-resource-management.patch
update-smc91x-driver-with-arm-versatile-board-info.patch
ucc_geth-fix-module-removal.patch
ucc_geth-add-support-for-netpoll.patch
phy-implement-release-function.patch
blackfin-typo-config_rtc_bfin_module.patch
bluetooth-hidp_process_hid_control-remove-unnecessary-parameter-dealing.patch
bluetooth-uninlining.patch
drivers-bluetooth-bpa10xc-fix-memleak.patch
drivers-bluetooth-btsdioc-fix-double-free.patch
bluetooth-blacklist-another-broadcom-bcm2035-device.patch
git-nfs-make-nfs_wb_page_priority-static.patch
git-nfsd.patch
git-nfsd-fixup.patch
git-parisc.patch
arch-parisc-remove-duplicate-includes.patch
pcmcia-delete-obsolete-pcmcia_ioctl-feature.patch
pcmcia-pccard-deadlock-fix.patch
serial-keep-the-dtr-setting-for-serial-console.patch
blackfin-serial-driver-this-driver-enable-sports-on-blackfin-emulate-uart.patch
gregkh-pci-pci-make-pci_restore_bars-static.patch
gregkh-pci-pci-drivers-pci-romc-if-0-two-functions.patch
gregkh-pci-pci-drivers-pci-remove-unused-exports.patch
gregkh-pci-pcie-port-driver-correctly-detect-native-pme-feature.patch
gregkh-pci-pcie-utilize-pcie-transaction-pending-bit.patch
gregkh-pci-pci_bridge-device.patch
mem-policy-fix-mempolicy-usage-in-pci-driver.patch
pci-get-rid-of-pci_devvendordevice_compatible-fields.patch
quirk_vialatency-omit-reading-pci-revision-id.patch
quirk_vialatency-omit-reading-pci-revision-id-checkpatch-fixes.patch
pci-hotplug-mm-pci-hotplug-pciehp-deal-with-pre-inserted-expresscards.patch
pci-hotplug-mm-pci-hotplug-pciehp-split-out-hardware-init-from-pcie_init.patch
pci-hotplug-mm-pci-hotplug-pciehp-reinit-hotplug-h-w-on-resume-from-suspend.patch
git-s390.patch
fix-build-breakage-if-sysfs-fix.patch
track-accurate-idle-time-with-tick_schedidle_sleeptime.patch
git-sh.patch
git-sh64.patch
git-scsi-misc.patch
git-scsi-misc-gdth-fix.patch
wd7000-broke.patch
nsp32_restart_autoscsi-remove-error-check.patch
scsi-early-detection-of-medium-not-present-updated.patch
mptbase-reset-ioc-initiator-during-pci-resume.patch
initio-fix-conflict-when-loading-driver.patch
kill-warnings-in-mptbaseh-on-parisc64.patch
hptiop-fix-type-mismatch-warning.patch
ips-remove-ips_ha-members-that-duplicate-struct-pci_dev-members.patch
ips-trim-trailing-whitespace.patch
ips-trim-trailing-whitespace-checkpatch-fixes.patch
ips-pci-api-cleanups.patch
ips-handle-scsi_add_host-failure-and-other-err-cleanups.patch
megaraid-driver-management-char-device-moved-to-misc.patch
scsi-gdth-kill-unneeded-irq-argument.patch
scsi-gdth-kill-unneeded-irq-argument-checkpatch-fixes.patch
scsi-sym53c416-kill-pointless-irq-handler-loop-and-test.patch
scsi-fix-bugs-and-canonicalize-ncr5380_intr-drivers.patch
scsi-fix-bugs-and-canonicalize-ncr5380_intr-drivers-checkpatch-fixes.patch
scsi-ncr5380-minor-irq-handler-cleanups.patch
megaraid-sas-convert-aen_mutex-to-the-mutex-api.patch
advansys-fix-section-mismatch-warning.patch
aic94-fix-section-mismatches.patch
sym2-fix-section-mismatch-warning.patch
aacraid-driver-fails-with-dell-poweredge-expandable-raid-controller-3-di.patch
scsi-advansysc-make-3-functions-static.patch
update-kerneldoc-comments-in-drivers-scsi-scsicamc.patch
aacraid-dont-assign-cpu_to_le32constant-to-u8.patch
cfq-fix-ioprio_class_idle-accounting.patch
git-sparc64.patch
git-unionfs.patch
vfs-apply-coding-standards-to-fs-ioctlc.patch
vfs-swap-do_ioctl-and-vfs_ioctl-names.patch
vfs-swap-do_ioctl-and-vfs_ioctl-names-fix.patch
vfs-factor-out-three-helpers-for-fibmap-fionbio-fioasync-file-ioctls.patch
gregkh-usb-usb-fix-usb_ohci_hcd_ssb-dependencies.patch
gregkh-usb-usb-omap_udc-build-fix.patch
gregkh-usb-usb-storage-always-set-the-allow_restart-flag.patch
gregkh-usb-usb-convert-from-class_device-to-device-for-usb-core.patch
gregkh-usb-usb-remove-unnecessary-zeroing-from-ub.patch
gregkh-usb-usb-autosuspend-for-cdc-acm.patch
gregkh-usb-usb-gotemp.patch
gregkh-usb-always-announce-new-usb-devices.patch
usb-hcd-avoid-duplicate-local_irq_disable.patch
usb-s3c2410_udc-minor-irq-handler-cleanups.patch
usbserial-fix-inconsistent-lock-state.patch
sis-fb-driver-_ioctl32_conversion-functions-do-not-exist-in-recent-kernels.patch
usb-fix-locks-and-urb-status-in-adutux-updated.patch
git-v9fs.patch
git-watchdog.patch
watchdog-add-nano-7240-driver-2.patch
git-wireless.patch
jiffies_round-jiffies_round_relative-conversion-rt2x00-checkpatch-fixes.patch
hostap-fix-section-mismatch-warning.patch
prism54-convert-mgmt_sem-to-the-mutex-api.patch
git-ipwireless_cs.patch
git-ipwireless-ipwireless_cs_tty-warning-fix.patch
git-x86.patch
git-x86-fixup.patch
i386-fix-reboot-with-no-keyboard-attached.patch
oprofile-op_model_athalonc-support-for-amd-family10h-barcelona-performance-counters.patch
oprofile-op_model_athalonc-support-for-amd-family10h-barcelona-performance-counters-checkpatch-fixes.patch
remove-extern-declarations-for-code-data-bss-resource.patch
x86_64-set-cpu_index-to-nr_cpus-instead-of-0.patch
x86_64-do-not-clear-cpu_index-set-by-store_cpu_info.patch
x86-typo-about-sequence-of-cpu_index-and-cpu_online-in.patch
i386-and-x86_64-randomize-brk.patch
i386-and-x86_64-randomize-brk-fix.patch
i386-and-x86_64-randomize-brk-fix-2.patch
x86_64-efi-boot-support-efi-frame-buffer.patch
x86_64-efi-boot-support-efi-frame-buffer-v3.patch
x86_64-efi-boot-support-efi-boot-document.patch
pci-add-pci-identifiers-for-the-rdc-devices.patch
x86-add-support-for-the-rdc-r-321x-soc.patch
add-the-rdc-machine-specific-reboot-fixup.patch
x86-bitops_32h-style-cleanups.patch
voyager-use-struct-instead-of-param.patch
x86-check-boundary-in-count-setup_resource-called-by.patch
arch-x86-remove-duplicate-includes.patch
x86-arch_register_cpu-section-fix.patch
x86_64-add-acpi-reboot-option.patch
pci-use-pci=bfsort-for-hp-dl385-g2-dl585-g2.patch
git-newsetup.patch
git-xfs.patch
git-cryptodev.patch
xtensa-iss_net_setup-must-be-__init.patch
arch-xtensa-remove-duplicate-includes.patch
mm.patch
i-oat-add-support-for-version-2-of-ioatdma-device.patch
reiserfs-dont-drop-pg_dirty-when-releasing-sub-page-sized-dirty-file.patch
rtc-release-correct-region-in-error-path.patch
rtc-fallback-to-requesting-only-the-ports-we-actually-use.patch
i5000_edac-no-need-to-__stringify-kbuild_basename.patch
serial-only-use-pnp-irq-if-its-valid.patch
sunrpc-xprtrdma-transportc-fix-use-after-free.patch
fix-mm-utilckrealloc.patch
fuse_file_alloc-fix-null-dereferences.patch
tle62x0-driver-stops-ignoring-read-errors.patch
rd-fix-data-corruption-on-memory-pressure.patch
cris-gpio-undo-locks-before-returning.patch
mips-undo-locking-on-error-path-returns.patch
mips-undo-locking-on-error-path-returns-checkpatch-fixes.patch
nfs-fix-the-ustat-regression.patch
proc-simplify-and-correct-proc_flush_task.patch
fix-param_sysfs_builtin-name-length-check.patch
rtc-convert-mutex-to-bitfield.patch
mark-sys_open-sys_read-exports-unused.patch
sysctl-fix-token-ring-procname.patch
gbefb-fix-section-mismatch-warnings.patch
vmstat-fix-section-mismatch-warning.patch
pidns-place-under-config_experimental.patch
pidns-place-under-config_experimental-checkpatch-fixes.patch
__do_irq-does-not-check-irq_disabled-when-irq_per_cpu-is-set.patch
hibernate-fix-lockdep-report-2.patch
smbfs-fix-debug-builds.patch
fix-64kb-blocksize-in-ext3-directories.patch
fix-64kb-blocksize-in-ext3-directories-checkpatch-fixes.patch
uml-fix-spurious-irq-testing.patch
uml-remove-last-include-of-libc-asm-pageh.patch
uml-fix-build-for-config_tcp.patch
uml-fix-build-for-config_printk.patch
markers-fix-warnings.patch
swap-delay-accounting-include-lock_page-delays.patch
file-capabilities-allow-sigcont-within-session-v2.patch
file-capabilities-allow-sigcont-within-session-v2-checkpatch-fixes.patch
file-capabilities-allow-sigcont-within-session-v2-file-capabilities-remove-the-non-matching-uid-special-case-for-kill.patch
feature-removal-schedule-remove-sa_-flags-entry.patch
kernel-taskstatsc-fix-bogus-nlmsg_free.patch
x86-show-cpuinfo-only-for-online-cpus.patch
make-proc-acpi-ac_adapter-dependent-on-acpi_procfs.patch
acpi-ac-update-ac-state-on-resume.patch
keyspan-init-termios-properly.patch
pagecache-zeroing-zero_user_segment-zero_user_segments-and-zero_user.patch
pagecache-zeroing-zero_user_segment-zero_user_segments-and-zero_user-fix.patch
pagecache-zeroing-zero_user_segment-zero_user_segments-and-zero_user-fix-2.patch
move-vmalloc_to_page-to-mm-vmalloc.patch
vmalloc-add-const-to-void-parameters.patch
i386-resolve-dependency-of-asm-i386-pgtableh-on-highmemh.patch
i386-resolve-dependency-of-asm-i386-pgtableh-on-highmemh-checkpatch-fixes.patch
is_vmalloc_addr-check-if-an-address-is-within-the-vmalloc-boundaries.patch
vmalloc-clean-up-page-array-indexing.patch
vunmap-return-page-array-passed-on-vmap.patch
slub-move-count_partial.patch
slub-rename-numa-defrag_ratio-to-remote_node_defrag_ratio.patch
slub-consolidate-add_partial-and-add_partial_tail-to-one-function.patch
slub-use-non-atomic-bit-unlock.patch
slub-fix-coding-style-violations.patch
slub-fix-coding-style-violations-checkpatch-fixes.patch
slub-noinline-some-functions-to-avoid-them-being-folded-into-alloc-free.patch
slub-move-kmem_cache_node-determination-into-add_full-and-add_partial.patch
slub-avoid-checking-for-a-valid-object-before-zeroing-on-the-fast-path.patch
slub-__slab_alloc-exit-path-consolidation.patch
slub-provide-unique-end-marker-for-each-slab.patch
slub-provide-unique-end-marker-for-each-slab-fix.patch
slub-avoid-referencing-kmem_cache-structure-in-__slab_alloc.patch
slub-optional-fast-path-using-cmpxchg_local.patch
slub-do-our-own-locking-via-slab_lock-and-slab_unlock.patch
slub-do-our-own-locking-via-slab_lock-and-slab_unlock-checkpatch-fixes.patch
slub-restructure-slab-alloc.patch
slub-comment-kmem_cache_cpu-structure.patch
vm-allow-get_page_unless_zero-on-compound-pages.patch
bufferhead-revert-constructor-removal.patch
bufferhead-revert-constructor-removal-checkpatch-fixes.patch
hugetlb-allow-sticky-directory-mount-option.patch
swapin_readahead-excise-numa-bogosity.patch
swapin_readahead-move-and-rearrange-args.patch
swapin-needs-gfp_mask-for-loop-on-tmpfs.patch
shmem-sgp_quick-and-sgp_fault-redundant.patch
shmem_getpage-return-page-locked.patch
shmem_file_write-is-redundant.patch
swapin-fix-valid_swaphandles-defect.patch
clean-up-vmtruncate.patch
maps4-add-proportional-set-size-accounting-in-smaps.patch
maps4-rework-task_size-macros.patch
maps4-move-is_swap_pte.patch
maps4-introduce-a-generic-page-walker.patch
maps4-use-pagewalker-in-clear_refs-and-smaps.patch
maps4-simplify-interdependence-of-maps-and-smaps.patch
maps4-move-clear_refs-code-to-task_mmuc.patch
maps4-regroup-task_mmu-by-interface.patch
maps4-add-proc-pid-pagemap-interface.patch
maps4-add-proc-kpagecount-interface.patch
maps4-add-proc-kpageflags-interface.patch
maps4-make-page-monitoring-proc-file-optional.patch
maps4-make-page-monitoring-proc-file-optional-fix.patch
memory-hotplug-add-removable-to-sysfs-to-show-memblock-removability.patch
hugetlb-split-alloc_huge_page-into-private-and-shared-components.patch
hugetlb-split-alloc_huge_page-into-private-and-shared-components-checkpatch-fixes.patch
hugetlb-fix-quota-management-for-private-mappings.patch
hugetlb-debit-quota-in-alloc_huge_page.patch
hugetlb-allow-bulk-updating-in-hugetlb__quota.patch
hugetlb-enforce-quotas-during-reservation-for-shared-mappings.patch
mm-hugetlbc-make-a-function-static.patch
add-remove_memory-for-ppc64-2.patch
enable-hotplug-memory-remove-for-ppc64.patch
add-arch-specific-walk_memory_remove-for-ppc64.patch
mm-page-writebackc-make-a-function-static.patch
remove-unused-code-from-mm-tiny-shmemc.patch
tmpfs-fix-mounts-when-size-is-less-than-the-page-size.patch
vmscan-give-referenced-active-and-unmapped-pages-a-second-trip-around-the-lru.patch
vm-dont-run-touch_buffer-during-buffercache-lookups.patch
vfs-security-rework-inode_getsecurity-and-callers-to.patch
vfs-reorder-vfs_getxattr-to-avoid-unnecessary-calls-to-the-lsm.patch
frv-permit-the-memory-to-be-located-elsewhere-in-nommu-mode.patch
frv-move-dma-macros-to-scatterlisth-for-consistency.patch
m68knommu-use-raw-read-write-for-all-register-access-in-coldfire-timer.patch
m68knommu-use-container_of-to-access-uart-struct-in-coldfire-serial-driver.patch
m68knommu-cleanup-port-field-access-from-uart-struct-in-coldfire-serial-driver.patch
m68knommu-use-array_size-in-coldfire-serial-driver.patch
add-build-support-for-new-coldfire-serial-driver.patch
add-configure-support-for-new-coldfire-serial-driver.patch
m68knommu-platform-setup-for-5206-coldfire-uarts.patch
m68knommu-platform-setup-for-5206e-coldfire-uarts.patch
m68knommu-platform-setup-for-520x-coldfire-uarts.patch
m68knommu-platform-setup-for-5249-coldfire-uarts.patch
m68knommu-platform-setup-for-5272-coldfire-uarts.patch
m68knommu-remove-vestiges-of-non-existent-disktel.patch
arch-alpha-removed-duplicate-includes.patch
kernel-power-diskc-make-code-static.patch
make-kernel_shutdown_prepare-static.patch
pm-qos-infrastructure-and-interface.patch
pm-qos-infrastructure-and-interface-static-initialization-with-blocking-notifiers.patch
latencyc-use-qos-infrastructure.patch
m68k-use-cc-cross-prefix.patch
cris-build-fixes-fix-csum_tcpudp_magic-declaration.patch
cris-build-fixes-add-missing-syscalls.patch
cris-build-fixes-hardirqh-include-asm-irqh.patch
cris-build-fixes-atomich-needs-compilerh.patch
cris-build-fixes-atomich-needs-compilerh-fix.patch
cris-build-fixes-irq-fixes.patch
cris-build-fixes-sys_crisc-needs-fsh.patch
cris-build-fixes-add-baud-rate-defines.patch
cris-build-fixes-update-eth_v10c-ethernet-driver.patch
cris-build-fixes-update-eth_v10c-ethernet-driver-fix.patch
cris-build-fixes-fix-mtdramh.patch
cris-build-fixes-fix-mtdramh-checkpatch-fixes.patch
cris-build-fixes-corrected-and-improved-nmi-and-irq-handling.patch
cris-build-fixes-fixes-in-arch-cris-kernel-timec-checkpatch-fixes.patch
cris-build-fixes-fixes-in-arch-cris-kernel-timec.patch
cris-build-fixes-setupc-needs-paramh.patch
cris-build-fixes-fix-crisksymsc.patch
cris-build-fixes-defconfig-updates.patch
cris-array_size-cleanup.patch
cris-dont-include-bitopsh-in-posix_typesh.patch
crisv10-serial-driver-rewrite-take-three.patch
cris-remove-mtd_amstd-and-mtd_obsolete_chips-take-two.patch
cris-remove-mtd_amstd-and-mtd_obsolete_chips-take-two-checkpatch-fixes.patch
uml-remove-xmm-checking-on-x86.patch
uml-code-tidying-under-arch-um-os-linux.patch
uml-implement-get_wchan.patch
uml-implement-get_wchan-fix.patch
uml-get-rid-of-asmlinkage.patch
uml-get-rid-of-asmlinkage-checkpatch-fixes.patch
uml-document-new-ubd-flag.patch
uml-fix-urls-in-kconfig-and-help-strings.patch
uml-improve-detection-of-host-cmov.patch
uml-improve-detection-of-host-cmov-checkpatch-fixes.patch
uml-remove-now-unused-code.patch
uml-further-bugsc-tidying.patch
uml-further-bugsc-tidying-checkpatch-fixes.patch
uml-const-and-other-tidying.patch
uml-smp-needs-to-depend-on-broken-for-now.patch
uml-gprof-needs-to-depend-on-frame_pointer.patch
uml-console-driver-cleanups.patch
uml-clonec-tidying.patch
uml-borrow-consth-techniques.patch
arch-um-remove-duplicate-includes.patch
deprecate-smbfs-in-favour-of-cifs.patch
drivers-pmc-msp71xx-gpio-char-driver.patch
autofs4-reinstate-negatitive-timeout-of-mount-fails.patch
autofs4-reinstate-negatitive-timeout-of-mount-fails-fix.patch
procfs-detect-duplicate-names.patch
kernel-printkc-concerns-about-the-console-handover.patch
fix-versus-precedence-in-various-places.patch
fix-versus-precedence-in-various-places-checkpatch-fixes.patch
bugh-remove-have_arch_bug--have_arch_warn.patch
powerpc-switch-to-generic-warn_on-bug_on.patch
pie-executable-randomization.patch
pie-executable-randomization-checkpatch-fixes.patch
geode-lists-are-subscriber-only.patch
fs-fat-refine-chmod-checks.patch
a-potential-bug-in-inotify_userc.patch
riscom8-fix-smp-brokenness.patch
riscom8-fix-smp-brokenness-fix.patch
taskstats-scaled-time-cleanup.patch
use-wake_up_locked-in-eventpoll.patch
use-macros-instead-of-task_-flags.patch
use-macros-instead-of-task_-flags-checkpatch-fixes.patch
add-task_wakekill.patch
add-lock_page_killable.patch
hash-add-explicit-u32-and-u64-versions-of-hash.patch
remove-inclusions-of-linux-autoconfh.patch
sound-oss-pss-set_io_base-always-returns-success-mark-it-void.patch
sound-oss-pss-set_io_base-always-returns-success-mark-it-void-checkpatch-fixes.patch
sound-oss-sb_commonc-fix-casting-warning.patch
remove-warnings-for-longstanding-conditions.patch
remove-warnings-for-longstanding-conditions-fix.patch
ext2-return-after-ext2_error-in-case-of-failures.patch
ext2-change-the-default-behaviour-on-error.patch
sigio-driven-i-o-with-inotify-queues.patch
remove-pointless-casts-from-void-pointers.patch
ipc-fix-error-check-in-all-new-xxx_lock-and.patch
uartlite-speed-up-console-output.patch
kill-udffs_dateversion.patch
genericizing-iova.patch
dcdbas-add-dmi-based-module-autloading.patch
parallel-port-convert-port_mutex-to-the-mutex-api.patch
parallel-port-convert-port_mutex-to-the-mutex-api-checkpatch-fixes.patch
remove-support-for-un-needed-_extratext-section.patch
remove-support-for-un-needed-_extratext-section-checkpatch-fixes.patch
optimize-i8259-code-a-bit.patch
allow-auto-destruction-of-loop-devices.patch
allow-auto-destruction-of-loop-devices-checkpatch-fixes.patch
register_cpu-__devinit-or-__cpuinit.patch
make-ipc-utilcsysvipc_find_ipc-static.patch
cleanup-after-apus-removal.patch
remove-mm_ptovvtop.patch
mnt_unbindable-fix.patch
remove-__attribute_used__.patch
remove-__attribute_used__-checkpatch-fixes.patch
proper-show_interrupts-prototype.patch
fat-fix-printk-format-strings.patch
fat-optimize-fat_count_free_clusters.patch
scheduled-oss-driver-removal.patch
sync_sb_inodes-propagate-errors.patch
spi-at25-driver-is-for-eeprom-not-flash.patch
spi-use-mutex-not-semaphore.patch
spi-simplify-spi_sync-calling-convention.patch
spi-use-simplified-spi_sync-calling-convention.patch
spi-initial-bf54x-spi-support.patch
spi-bfin-spi-uses-portmux-calls.patch
spi-spi_bfin-cleanups-error-handling.patch
spi-spi_bfin-handles-spi_transfercs_change.patch
spi-spi_bfin-dont-bypass-spi-framework.patch
spi-spi_bfin-uses-platform-device-resources.patch
spi-spi_bfin-uses-portmux-for-additional-busses.patch
spi-spi_bfin-rearrange-portmux-calls.patch
spi-spi_bfin-change-handling-of-communication-parameters.patch
spi-spi_bfin-relocate-spin-waits.patch
spi-spi_bfin-handle-multiple-spi_masters.patch
spi-spi_bfin-bugfix-for-816-bit-word-sizes.patch
spi-spi_bfin-update-handling-of-delay-after-deselect.patch
spi-spi_bfin-resequence-dma-start-stop.patch
blackfin-spi-driver-use-cpu_relax-to-replace-continue-in-while-busywait.patch
blackfin-spi-driver-use-void-__iomem-for-regs_base.patch
blackfin-spi-driver-move-hard-coded-pin_req-to-board-file.patch
blackfin-spi-driver-reconfigure-speed_hz-and-bits_per_word-in-each-spi-transfer.patch
move-kprobes-examples-to-samples-resend.patch
move-kprobes-examples-to-samples-resend-checkpatch-fixes.patch
usb_gigaset-suspend-support.patch
bas_gigaset-suspend-support.patch
bas_gigaset-suspend-support-fix.patch
fs-ecryptfs-possible-cleanups.patch
ecryptfs-track-header-bytes-rather-than-extents.patch
ecryptfs-set-inode-key-only-once-per-crypto-operation.patch
fuse-fix-reading-past-eof.patch
fuse-cleanup-add-fuse_get_attr_version.patch
fuse-pass-open-flags-to-read-and-write.patch
fuse-fix-fuse_file_ops-sending.patch
cosmetic-fixes-to-rtc-subsystems-kconfig.patch
rtc-pcf8583-dont-abuse-i2c_m_nostart.patch
unprivileged-mounts-add-user-mounts-to-the-kernel.patch
unprivileged-mounts-allow-unprivileged-umount.patch
unprivileged-mounts-account-user-mounts.patch
unprivileged-mounts-propagate-error-values-from-clone_mnt.patch
unprivileged-mounts-allow-unprivileged-bind-mounts.patch
unprivileged-mounts-allow-unprivileged-mounts.patch
unprivileged-mounts-allow-unprivileged-fuse-mounts.patch
unprivileged-mounts-propagation-inherit-owner-from-parent.patch
unprivileged-mounts-add-no-submounts-flag.patch
make-video-geode-lxfb_corecgeode_modedb-static.patch
sisusb-_ioctl32_conversion-functions-do-not-exist-in-recent-kernels.patch
coding-style-cleanups-for-drivers-md-mktablesc.patch
md-dm-mpath-hp-sw-depends-on-scsi.patch
pnp-simplify-pnp_activate_dev-and-pnp_disable_dev-return-values.patch
pnp-request-ioport-and-iomem-resources-used-by-active-devices.patch
ext4-mm-ext4_large_blocksize_support.patch
ext4-mm-ext4_rec_len_overflow_with_64kblk_fix-v2.patch
ext4-mm-large-file-blocktype.patch
ext4-mm-ext4_grpnum_t.patch
ext4-mm-ext4_grpnum_t_int_fix.patch
ext4-mm-ext4-cleanup.patch
ext4-mm-ext4-cleanup-2.patch
ext4-mm-ext4-cleanup-3.patch
ext4-mm-ext4-cleanup-4.patch
ext4-mm-48-bit-i_blocks.patch
ext4-mm-large-file.patch
ext4-mm-ext2_fix_max_size.patch
ext4-mm-ext3_fix_max_size.patch
ext4-mm-ext4_sync_group_desciptor_with_e2fsprogs.patch
ext4-mm-ext4-return-after-ext4_error-in-case-of-failures.patch
ext4-mm-stable-boundary.patch
ext4-mm-stable-boundary-undo.patch
ext4-mm-jbd-stats-through-procfs.patch
ext4-mm-ext4-journal_chksum-2620.patch
ext4-mm-ext4-journal-chksum-review-fix.patch
ext4-mm-64-bit-i_version.patch
ext4-mm-i_version_hi.patch
ext4-mm-ext4_i_version_hi_2.patch
ext4-mm-i_version_update_ext4.patch
ext4-mm-delalloc-vfs.patch
ext4-mm-delalloc-ext4.patch
ext4-mm-ext-truncate-mutex.patch
ext4-mm-ext3-4-migrate.patch
ext4-mm-generic-find-next-le-bit.patch
ext4-mm-new-extent-function.patch
ext4-mm-mballoc-core.patch
ext4-mm-mballoc-bug-workaround.patch
ext4-mm-ext4_grpnumt-mballoc-fix.patch
ext4-mm-mballoc-compilebench-fix.patch
ext4-mm-jbd-blocks-reservation-fix-for-large-blk.patch
ext4-mm-jbd2-blocks-reservation-fix-for-large-blk.patch
ext4-fix-mb_debug-format-warnings.patch
jbd2-remove-printk-from-j_assert-macros.patch
64-bit-i_version-afs-fixes.patch
ext4-fix-freespace-accounting-with-mballoc-on-32bit-machines.patch
ext4-fix-oops-with-jbd-stats-through-procfs-and-external.patch
ext4-superc-fix-ifdefs.patch
make-jbd-journalc__journal_abort_hard-static.patch
ext3-return-after-ext3_error-in-case-of-failures.patch
ext3-change-the-default-behaviour-on-error.patch
do-namei_flags-calculation-inside-open_namei.patch
make-open_namei-return-a-filp.patch
kill-do_filp_open.patch
kill-filp_open.patch
kill-filp_open-checkpatch-fixes.patch
rename-open_namei-to-open_pathname.patch
rename-open_namei-to-open_pathname-fix.patch
r-o-bind-mounts-stub-functions.patch
r-o-bind-mounts-do_rmdir-elevate-write-count.patch
r-o-bind-mounts-elevate-mnt-writers-for-callers-of-vfs_mkdir.patch
r-o-bind-mounts-elevate-mnt-writers-for-vfs_unlink-callers.patch
r-o-bind-mounts-elevate-mount-count-for-extended-attributes.patch
r-o-bind-mounts-elevate-write-count-during-entire-ncp_ioctl.patch
r-o-bind-mounts-elevate-write-count-during-entire-ncp_ioctl-fix.patch
r-o-bind-mounts-elevate-write-count-for-do_sys_utime-and-touch_atime.patch
r-o-bind-mounts-elevate-write-count-for-do_utimes.patch
r-o-bind-mounts-elevate-write-count-for-file_update_time.patch
r-o-bind-mounts-elevate-write-count-for-link-and-symlink-calls.patch
r-o-bind-mounts-elevate-write-count-for-some-ioctls.patch
r-o-bind-mounts-elevate-write-count-for-some-ioctls-checkpatch-fixes.patch
r-o-bind-mounts-elevate-write-count-for-some-ioctls-vs-forbid-user-to-change-file-flags-on-quota-files.patch
r-o-bind-mounts-elevate-write-count-opened-files.patch
r-o-bind-mounts-elevate-write-count-over-calls-to-vfs_rename.patch
r-o-bind-mounts-elevate-writer-count-for-chown-and-friends.patch
r-o-bind-mounts-elevate-writer-count-for-do_sys_truncate.patch
r-o-bind-mounts-make-access-use-mnt-check.patch
r-o-bind-mounts-nfs-check-mnt-instead-of-superblock-directly.patch
r-o-bind-mounts-nfs-check-mnt-instead-of-superblock-directly-checkpatch-fixes.patch
r-o-bind-mounts-sys_mknodat-elevate-write-count-for-vfs_mknod-create.patch
r-o-bind-mounts-track-number-of-mount-writers.patch
r-o-bind-mounts-track-number-of-mount-writers-make-lockdep-happy-with-r-o-bind-mounts.patch
r-o-bind-mounts-honor-r-w-changes-at-do_remount-time.patch
keep-track-of-mnt_writer-state-of-struct-file.patch
revoke-special-mmap-handling.patch
revoke-special-mmap-handling-vs-fault-vs-invalidate.patch
revoke-core-code.patch
slab-api-remove-useless-ctor-parameter-and-reorder-parameters-vs-revoke.patch
revoke-support-for-ext2-and-ext3.patch
revoke-add-documentation.patch
revoke-wire-up-i386-system-calls.patch
fs-introduce-write_begin-write_end-and-perform_write-aops-revoke.patch
fs-introduce-write_begin-write_end-and-perform_write-aops-revoke-fix.patch
revoke-vs-git-block.patch
doc-add-uio-document-to-docbook-compilation-target.patch
add-missing-section-ids-to-genericirqtmpl.patch
add-missing-section-ids-to-genericirqtmpl-updated.patch
add-missing-section-id-to-lsmtmpl.patch
add-section-ids-to-mtdnandtmpl.patch
add-missing-ids-to-procfs-guidetmpl.patch
add-section-ids-to-rapidiotmpl.patch
add-table-ids-to-videobooktmpl.patch
add-chapter-ids-to-z8530booktmpl.patch
kernel-cgroupc-remove-dead-code.patch
cgroup-brace-coding-style-fix.patch
cgroup-simplify-space-stripping.patch
cgroup-simplify-space-stripping-fix.patch
cgroups-move-cgroups-destroy-callbacks-to-cgroup_diput.patch
kernel-cgroupc-make-2-functions-static.patch
memory-controller-add-documentation.patch
memory-controller-resource-counters-v7.patch
memory-controller-containers-setup-v7.patch
memory-controller-accounting-setup-v7.patch
memory-controller-memory-accounting-v7.patch
memory-controller-task-migration-v7.patch
memory-controller-add-per-container-lru-and-reclaim-v7.patch
memory-controller-improve-user-interface.patch
memory-controller-oom-handling-v7.patch
memory-controller-add-switch-to-control-what-type-of-pages-to-limit-v7.patch
memory-controller-make-page_referenced-container-aware-v7.patch
memory-controller-make-charging-gfp-mask-aware.patch
memory-controller-make-charging-gfp-mask-aware-fix.patch
memory-controller-bug_on.patch
mem-controller-gfp-mask-fix.patch
memcontrol-move-mm_cgroup-to-header-file.patch
memcontrol-move-oom-task-exclusion-to-tasklist.patch
oom-add-sysctl-to-enable-task-memory-dump.patch
kswapd-should-only-wait-on-io-if-there-is-io.patch
bugfix-for-memory-cgroup-controller-charge-refcnt-race-fix.patch
bugfix-for-memory-cgroup-controller-fix-error-handling-path-in-mem_charge_cgroup.patch
bugfix-for-memory-controller-add-helper-function-for-assigning-cgroup-to-page.patch
bugfix-for-memory-cgroup-controller-avoid-pagelru-page-in-mem_cgroup_isolate_pages.patch
bugfix-for-memory-cgroup-controller-avoid-pagelru-page-in-mem_cgroup_isolate_pages-fix.patch
bugfix-for-memory-cgroup-controller-migration-under-memory-controller-fix.patch
memory-cgroup-enhancements-fix-zone-handling-in-try_to_free_mem_cgroup_page.patch
memory-cgroup-enhancements-force_empty-interface-for-dropping-all-account-in-empty-cgroup.patch
memory-cgroup-enhancements-remember-a-page-is-charged-as-page-cache.patch
memory-cgroup-enhancements-remember-a-page-is-on-active-list-of-cgroup-or-not.patch
memory-cgroup-enhancements-add-status-accounting-function-for-memory-cgroup.patch
memory-cgroup-enhancements-add-status-accounting-function-for-memory-cgroup-checkpatch-fixes.patch
memory-cgroup-enhancements-add-status-accounting-function-for-memory-cgroup-fix-1.patch
memory-cgroup-enhancements-add-status-accounting-function-for-memory-cgroup-uninlining.patch
memory-cgroup-enhancements-add-status-accounting-function-for-memory-cgroup-fix-2.patch
memory-cgroup-enhancements-add-memorystat-file.patch
memory-cgroup-enhancements-add-memorystat-file-checkpatch-fixes.patch
tty-kill-tty_flipbuf_size.patch
asic3-driver.patch
asic3-driver-update.patch
asic3-driver-update-2.patch
drivers-edac-turnon-edac-device-error-logging.patch
drivers-edac-use-round_jiffies_relative.patch
drivers-edac-add-cell-xdr-memory-types.patch
drivers-edac-add-cell-mc-driver.patch
drivers-edac-i3000-code-tidying.patch
drivers-edac-i3000-replace-macros-with-functions.patch
drivers-edac-add-freescale-mpc85xx-driver.patch
drivers-edac-add-marvell-mv64x60-driver.patch
drivers-edac-add-marvell-mv64x60-driver-fix.patch
dzh-remove-useless-unused-module-junk.patch
dz-always-check-if-it-is-safe-to-console_putchar.patch
dz-dont-panic-when-request_irq-fails.patch
dz-add-and-reorder-inclusions-remove-unneeded-ones.patch
dz-update-kconfig-description.patch
dz-rename-the-serial-console-structure.patch
dz-fix-locking-issues.patch
dz-handle-special-conditions-on-reception-correctly.patch
maintainers-add-self-for-the-dz-serial-driver.patch
dz-clean-up-and-improve-the-setup-of-termios-settings.patch
dzc-use-a-helper-to-cast-from-struct-uart_port.patch
dzc-resource-management.patch
fs-menu-small-reorg.patch
introduce-flags-for-reserve_bootmem.patch
introduce-flags-for-reserve_bootmem-checkpatch-fixes.patch
use-bootmem_exclusive-for-kdump.patch
mbcs-convert-algolock-to-mutex.patch
mbcs-convert-dmawritelock-to-mutex.patch
mbcs-convert-dmareadlock-to-mutex.patch
add-an-err_cast-function-to-complement-err_ptr-and-co.patch
convert-err_ptrptr_errp-instances-to-err_castp.patch
iget-introduce-a-function-to-register-iget-failure.patch
iget-use-iget_failed-in-afs.patch
iget-use-iget_failed-in-gfs2.patch
iget-stop-affs-from-using-iget-and-read_inode-try.patch
iget-stop-affs-from-using-iget-and-read_inode-try-checkpatch-fixes.patch
iget-stop-autofs-from-using-iget-and-read_inode.patch
iget-stop-befs-from-using-iget-and-read_inode-try.patch
iget-stop-bfs-from-using-iget-and-read_inode-try.patch
iget-stop-cifs-from-using-iget-and-read_inode-try.patch
iget-stop-efs-from-using-iget-and-read_inode-try.patch
iget-stop-efs-from-using-iget-and-read_inode-try-checkpatch-fixes.patch
iget-stop-ext2-from-using-iget-and-read_inode-try.patch
iget-stop-ext2-from-using-iget-and-read_inode-try-checkpatch-fixes.patch
iget-stop-ext3-from-using-iget-and-read_inode-try.patch
iget-stop-ext3-from-using-iget-and-read_inode-try-checkpatch-fixes.patch
iget-stop-ext4-from-using-iget-and-read_inode-try.patch
iget-stop-fat-from-using-iget-and-read_inode-try.patch
iget-stop-freevxfs-from-using-iget-and-read_inode.patch
iget-stop-freevxfs-from-using-iget-and-read_inode-checkpatch-fixes.patch
iget-stop-fuse-from-using-iget-and-read_inode-try.patch
iget-stop-hfsplus-from-using-iget-and-read_inode.patch
iget-stop-isofs-from-using-read_inode.patch
iget-stop-jffs2-from-using-iget-and-read_inode.patch
iget-stop-jfs-from-using-iget-and-read_inode-try.patch
iget-stop-the-minix-filesystem-from-using-iget-and.patch
iget-stop-the-minix-filesystem-from-using-iget-and-checkpatch-fixes.patch
iget-stop-procfs-from-using-iget-and-read_inode.patch
iget-stop-procfs-from-using-iget-and-read_inode-checkpatch-fixes.patch
iget-stop-qnx4-from-using-iget-and-read_inode-try.patch
iget-stop-qnx4-from-using-iget-and-read_inode-try-checkpatch-fixes.patch
iget-stop-romfs-from-using-iget-and-read_inode.patch
iget-stop-romfs-from-using-iget-and-read_inode-checkpatch-fixes.patch
iget-stop-the-sysv-filesystem-from-using-iget-and.patch
iget-stop-the-sysv-filesystem-from-using-iget-and-checkpatch-fixes.patch
iget-stop-ufs-from-using-iget-and-read_inode-try.patch
iget-stop-ufs-from-using-iget-and-read_inode-try-checkpatch-fixes.patch
iget-stop-openpromfs-from-using-iget-and.patch
iget-stop-hostfs-from-using-iget-and-read_inode.patch
iget-stop-hostfs-from-using-iget-and-read_inode-checkpatch-fixes.patch
iget-stop-hppfs-from-using-iget-and-read_inode.patch
iget-remove-iget-and-the-read_inode-super-op-as.patch
dhowells-broke-unionfs.patch
dca-convert-struct-class_device-to-struct-device.patch
add-dma-engine-driver-for-freescale-mpc85xx-processors.patch
unexport-asm-pageh.patch
unexport-asm-elfh.patch
unexport-asm-userh-and-linux-userh.patch
cleanup-asm-elfpageuserh-ifdef-__kernel__-is-no-longer-needed.patch
sanitize-the-type-of-struct-useru_ar0.patch
add-cmpxchg_local-to-asm-generic-for-per-cpu-atomic-operations.patch
fall-back-on-interrupt-disable-in-cmpxchg8b-on-80386-and-80486.patch
add-cmpxchg64-and-cmpxchg64_local-to-alpha.patch
add-cmpxchg64-and-cmpxchg64_local-to-mips.patch
add-cmpxchg64-and-cmpxchg64_local-to-powerpc.patch
add-cmpxchg64-and-cmpxchg64_local-to-x86_64.patch
add-cmpxchg_local-to-arm.patch
add-cmpxchg_local-to-avr32.patch
add-cmpxchg_local-to-blackfin-replace-__cmpxchg-by-generic-cmpxchg.patch
add-cmpxchg_local-to-cris.patch
add-cmpxchg_local-to-frv.patch
add-cmpxchg_local-to-h8300.patch
add-cmpxchg_local-cmpxchg64-and-cmpxchg64_local-to-ia64.patch
new-cmpxchg_local-optimized-for-up-case-for-m32r.patch
fix-m32r-__xchg.patch
m32r-build-fix-of-arch-m32r-kernel-smpbootc.patch
local_t-m32r-use-architecture-specific-cmpxchg_local.patch
add-cmpxchg_local-to-m86k.patch
add-cmpxchg_local-to-m68knommu.patch
add-cmpxchg_local-to-parisc.patch
add-cmpxchg_local-to-ppc.patch
add-cmpxchg_local-to-s390.patch
add-cmpxchg_local-to-sh-use-generic-cmpxchg-instead-of-cmpxchg_u32.patch
add-cmpxchg_local-to-sh64.patch
add-cmpxchg_local-to-sparc-move-__cmpxchg-to-systemh.patch
add-cmpxchg_local-to-sparc64.patch
add-cmpxchg_local-to-v850.patch
add-cmpxchg_local-to-xtensa.patch
i8k-allow-i8k-driver-to-be-built-on-x86_64-systems.patch
i8k-adds-i8k-driver-to-the-x86_64-kconfig.patch
i8k-inspiron-e1705-fix.patch
dont-touch-fs_struct-in-drivers.patch
dont-touch-fs_struct-in-usermodehelper.patch
remove-path_release_on_umount.patch
move-struct-path-into-its-own-header.patch
embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt.patch
embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt-checkpatch-fixes.patch
introduce-path_put.patch
use-path_put-in-a-few-places-instead-of-mntdput.patch
introduce-path_get.patch
use-struct-path-in-fs_struct.patch
make-set_fs_rootpwd-take-a-struct-path.patch
introduce-path_get-unionfs.patch
embed-a-struct-path-into-struct-nameidata-instead-of-nd-dentrymnt-unionfs.patch
introduce-path_put-unionfs.patch
one-less-parameter-to-__d_path.patch
one-less-parameter-to-__d_path-checkpatch-fixes.patch
d_path-kerneldoc-cleanup.patch
d_path-use-struct-path-in-struct-avc_audit_data.patch
d_path-use-struct-path-in-struct-avc_audit_data-checkpatch-fixes.patch
d_path-make-proc_get_link-use-a-struct-path-argument.patch
d_path-make-get_dcookie-use-a-struct-path-argument.patch
d_path-make-get_dcookie-use-a-struct-path-argument-checkpatch-fixes.patch
use-struct-path-in-struct-svc_export.patch
use-struct-path-in-struct-svc_export-checkpatch-fixes.patch
use-struct-path-in-struct-svc_expkey.patch
d_path-make-seq_path-use-a-struct-path-argument.patch
d_path-make-d_path-use-a-struct-path.patch
dentries-extract-common-code-to-remove-dentry-from-lru.patch
reiser4-sb_sync_inodes.patch
reiser4-export-remove_from_page_cache.patch
reiser4-export-find_get_pages.patch
make-copy_from_user_inatomic-not-zero-the-tail-on-i386-vs-reiser4.patch
reiser4.patch
reiser4-portion-of-zero_user-cleanup-patch.patch
jens-broke-reiser4patch-added-to-mm-tree.patch
make-sure-nobodys-leaking-resources.patch
journal_add_journal_head-debug.patch
page-owner-tracking-leak-detector.patch
releasing-resources-with-children.patch
nr_blockdev_pages-in_interrupt-warning.patch
detect-atomic-counter-underflows.patch
mm-debug-dump-pageframes-on-bad_page.patch
make-frame_pointer-default=y.patch
mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
profile-likely-unlikely-macros.patch
profile-likely-unlikely-macros-fix.patch
put_bh-debug.patch
lockdep-show-held-locks-when-showing-a-stackdump.patch
add-debugging-aid-for-memory-initialisation-problems.patch
kmap_atomic-debugging.patch
shrink_slab-handle-bad-shrinkers.patch
keep-track-of-network-interface-renaming.patch
workaround-for-a-pci-restoring-bug.patch
prio_tree-debugging-patch.patch
single_open-seq_release-leak-diagnostics.patch
add-a-refcount-check-in-dput.patch
getblk-handle-2tb-devices.patch
w1-build-fix.patch


2007-11-06 12:57:46

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build fails on powerpc

[email protected] wrote:
> powerpc-move-_rtc_time-routines-under-config_adb_cuda.patch

CC net/9p/error.o
arch/powerpc/platforms/powermac/time.c:168: error: implicit declaration of function ?from_rtc_time?
arch/powerpc/platforms/powermac/time.c:225: error: implicit declaration of function ?to_rtc_time?
make[2]: *** [arch/powerpc/platforms/powermac/time.o] Error 1
make[1]: *** [arch/powerpc/platforms/powermac] Error 2
make: *** [arch/powerpc/platforms] Error 2

The above patch causes the build failure, because the from_rtc_time() and to_rtc_time() are
moved under the ifdef CONFIG_ADB_CUDA, but they are begin called in the pmu_set_rtc_time() and
pmac_get_rtc_time() under CONFIG_ADB_PMU.

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

2007-11-06 13:18:15

by Frederik Deweerdt

[permalink] [raw]
Subject: [-mm patch] fix getblk_slow "integer constant is too large" warning

On Tue, Nov 06, 2007 at 02:33:53AM -0800, [email protected] wrote:
> The mm snapshot broken-out-2007-11-06-02-32.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-11-06-02-32.tar.gz
>
> It contains the following patches against 2.6.24-rc1:
>
[...]
> getblk-handle-2tb-devices.patch
[...]
0xffffffff00000000 is unsigned long long on 32 bits
fs/buffer.c: In function '__getblk_slow':
fs/buffer.c:1126: warning: integer constant is too large for 'unsigned long' type

Regards,
Frederik

Signed-off-by: Frederik Deweerdt <[email protected]>


diff --git a/fs/buffer.c b/fs/buffer.c
index ca713df..795fe86 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -1123,7 +1123,7 @@ __getblk_slow(struct block_device *bdev, sector_t block, int size)

#if (BITS_PER_LONG == 32) && defined(CONFIG_LBD)
if ((block >> (PAGE_CACHE_SHIFT - bdev->bd_inode->i_blkbits)) &
- 0xffffffff00000000UL) {
+ 0xffffffff00000000ULL) {
/*
* We'll fail because the block is outside the range
* which a 32-bit pagecache index can address

2007-11-06 13:51:48

by Gabriel C

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

[email protected] wrote:
> The mm snapshot broken-out-2007-11-06-02-32.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-11-06-02-32.tar.gz
>

Some warnings ( still building :) )

..

arch/x86/Kconfig.i386:178:warning: 'select' used by config symbol 'X86_RDC321X' refers to undefined symbol 'GENERIC_GPIO'

...

...

fs/buffer.c: In function '__getblk_slow':
fs/buffer.c:1126: warning: integer constant is too large for 'unsigned long' type

that is :

#if (BITS_PER_LONG == 32) && defined(CONFIG_LBD)
if ((block >> (PAGE_CACHE_SHIFT - bdev->bd_inode->i_blkbits)) &
0xffffffff00000000UL) { <-- ULL ?

...

...

fs/reiser4/tree.c: In function 'check_tree_pointer':
fs/reiser4/tree.c:807: warning: passing argument 1 of 'coord_clear_iplug' discards qualifiers from pointer target type
fs/reiser4/export_ops.c:25: warning: 'object_on_wire_done' defined but not used
fs/reiser4/export_ops.c:36: warning: 'decode_inode' defined but not used
fs/reiser4/export_ops.c:69: warning: 'reiser4_decode_fh' defined but not used
fs/reiser4/export_ops.c:261: warning: 'reiser4_get_dentry' defined but not used
fs/reiser4/plugin/file/cryptcompress.c: In function 'align_or_cut_overhead':
fs/reiser4/plugin/file/cryptcompress.c:847: warning: 'oh' may be used uninitialized in this function
fs/reiser4/plugin/item/item.c: In function 'obtain_item_plugin':
fs/reiser4/plugin/item/item.c:70: warning: passing argument 1 of 'coord_set_iplug' discards qualifiers from pointer target type

...


Some more but the rest exist in Linus git so I assume these are known.


Regards,

Gabriel C

2007-11-06 15:10:47

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - S390x build fails

Hi Andrew,

The build fails on the S390x with

CC drivers/s390/char/sclp_cpi_sys.o
drivers/s390/char/sclp_cpi_sys.c:242: error: variable `system_name_attr' has initializer but incomplete type
drivers/s390/char/sclp_cpi_sys.c:243: error: unknown field `attr' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:243: error: extra brace group at end of initializer
drivers/s390/char/sclp_cpi_sys.c:243: error: (near initialization for `system_name_attr')
drivers/s390/char/sclp_cpi_sys.c:243: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:243: warning: (near initialization for `system_name_attr')
drivers/s390/char/sclp_cpi_sys.c:243: error: unknown field `show' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:243: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:243: warning: (near initialization for `system_name_attr')
drivers/s390/char/sclp_cpi_sys.c:243: error: unknown field `store' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:243: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:243: warning: (near initialization for `system_name_attr')
drivers/s390/char/sclp_cpi_sys.c:264: error: variable `sysplex_name_attr' has initializer but incomplete type
drivers/s390/char/sclp_cpi_sys.c:265: error: unknown field `attr' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:265: error: extra brace group at end of initializer
drivers/s390/char/sclp_cpi_sys.c:265: error: (near initialization for `sysplex_name_attr')
drivers/s390/char/sclp_cpi_sys.c:265: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:265: warning: (near initialization for `sysplex_name_attr')
drivers/s390/char/sclp_cpi_sys.c:265: error: unknown field `show' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:265: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:265: warning: (near initialization for `sysplex_name_attr')
drivers/s390/char/sclp_cpi_sys.c:265: error: unknown field `store' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:265: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:265: warning: (near initialization for `sysplex_name_attr')
drivers/s390/char/sclp_cpi_sys.c:287: error: variable `system_type_attr' has initializer but incomplete type
drivers/s390/char/sclp_cpi_sys.c:288: error: unknown field `attr' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:288: error: extra brace group at end of initializer
drivers/s390/char/sclp_cpi_sys.c:288: error: (near initialization for `system_type_attr')
drivers/s390/char/sclp_cpi_sys.c:288: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:288: warning: (near initialization for `system_type_attr')
drivers/s390/char/sclp_cpi_sys.c:288: error: unknown field `show' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:288: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:288: warning: (near initialization for `system_type_attr')
drivers/s390/char/sclp_cpi_sys.c:288: error: unknown field `store' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:288: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:288: warning: (near initialization for `system_type_attr')
drivers/s390/char/sclp_cpi_sys.c:317: error: variable `system_level_attr' has initializer but incomplete type
drivers/s390/char/sclp_cpi_sys.c:318: error: unknown field `attr' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:318: error: extra brace group at end of initializer
drivers/s390/char/sclp_cpi_sys.c:318: error: (near initialization for `system_level_attr')
drivers/s390/char/sclp_cpi_sys.c:318: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:318: warning: (near initialization for `system_level_attr')
drivers/s390/char/sclp_cpi_sys.c:318: error: unknown field `show' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:318: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:318: warning: (near initialization for `system_level_attr')
drivers/s390/char/sclp_cpi_sys.c:318: error: unknown field `store' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:318: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:318: warning: (near initialization for `system_level_attr')
drivers/s390/char/sclp_cpi_sys.c:333: error: variable `set_attr' has initializer but incomplete type
drivers/s390/char/sclp_cpi_sys.c:334: error: unknown field `attr' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:334: error: extra brace group at end of initializer
drivers/s390/char/sclp_cpi_sys.c:334: error: (near initialization for `set_attr')
drivers/s390/char/sclp_cpi_sys.c:334: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:334: warning: (near initialization for `set_attr')
drivers/s390/char/sclp_cpi_sys.c:334: error: unknown field `show' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:334: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:334: warning: (near initialization for `set_attr')
drivers/s390/char/sclp_cpi_sys.c:334: error: unknown field `store' specified in initializer
drivers/s390/char/sclp_cpi_sys.c:334: warning: excess elements in struct initializer
drivers/s390/char/sclp_cpi_sys.c:334: warning: (near initialization for `set_attr')
drivers/s390/char/sclp_cpi_sys.c:337: error: invalid use of undefined type `struct subsys_attribute'
drivers/s390/char/sclp_cpi_sys.c:337: error: initializer element is not constant
drivers/s390/char/sclp_cpi_sys.c:337: error: (near initialization for `cpi_attrs[0]')
drivers/s390/char/sclp_cpi_sys.c:338: error: invalid use of undefined type `struct subsys_attribute'
drivers/s390/char/sclp_cpi_sys.c:338: error: initializer element is not constant
drivers/s390/char/sclp_cpi_sys.c:338: error: (near initialization for `cpi_attrs[1]')
drivers/s390/char/sclp_cpi_sys.c:339: error: invalid use of undefined type `struct subsys_attribute'
drivers/s390/char/sclp_cpi_sys.c:339: error: initializer element is not constant
drivers/s390/char/sclp_cpi_sys.c:339: error: (near initialization for `cpi_attrs[2]')
drivers/s390/char/sclp_cpi_sys.c:340: error: invalid use of undefined type `struct subsys_attribute'
drivers/s390/char/sclp_cpi_sys.c:340: error: initializer element is not constant
drivers/s390/char/sclp_cpi_sys.c:340: error: (near initialization for `cpi_attrs[3]')
drivers/s390/char/sclp_cpi_sys.c:341: error: invalid use of undefined type `struct subsys_attribute'
drivers/s390/char/sclp_cpi_sys.c:341: error: initializer element is not constant
drivers/s390/char/sclp_cpi_sys.c:341: error: (near initialization for `cpi_attrs[4]')
drivers/s390/char/sclp_cpi_sys.c:349: error: syntax error before '(' token
drivers/s390/char/sclp_cpi_sys.c: In function `cpi_init':
drivers/s390/char/sclp_cpi_sys.c:379: error: implicit declaration of function `firmware_register'
drivers/s390/char/sclp_cpi_sys.c:379: error: `cpi_subsys' undeclared (first use in this function)
drivers/s390/char/sclp_cpi_sys.c:379: error: (Each undeclared identifier is reported only once
drivers/s390/char/sclp_cpi_sys.c:379: error: for each function it appears in.)
drivers/s390/char/sclp_cpi_sys.c:385: error: implicit declaration of function `firmware_unregister'
drivers/s390/char/sclp_cpi_sys.c: At top level:
drivers/s390/char/sclp_cpi_sys.c:242: error: storage size of `system_name_attr' isn't known
drivers/s390/char/sclp_cpi_sys.c:264: error: storage size of `sysplex_name_attr' isn't known
drivers/s390/char/sclp_cpi_sys.c:287: error: storage size of `system_type_attr' isn't known
drivers/s390/char/sclp_cpi_sys.c:317: error: storage size of `system_level_attr' isn't known
drivers/s390/char/sclp_cpi_sys.c:333: error: storage size of `set_attr' isn't known
make[2]: *** [drivers/s390/char/sclp_cpi_sys.o] Error 1
make[1]: *** [drivers/s390/char] Error 2
make: *** [drivers/s390] Error 2

The patch git-s390.patch is causing this failure.
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

2007-11-06 15:30:29

by Cornelia Huck

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - S390x build fails

On Tue, 06 Nov 2007 20:40:02 +0530,
Kamalesh Babulal <[email protected]> wrote:

> Hi Andrew,
>
> The build fails on the S390x with
>
> CC drivers/s390/char/sclp_cpi_sys.o
> drivers/s390/char/sclp_cpi_sys.c:242: error: variable `system_name_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:243: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:243: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:243: error: (near initialization for `system_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:243: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: (near initialization for `system_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:243: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: (near initialization for `system_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:243: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: (near initialization for `system_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:264: error: variable `sysplex_name_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:265: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:265: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:265: error: (near initialization for `sysplex_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:265: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: (near initialization for `sysplex_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:265: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: (near initialization for `sysplex_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:265: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: (near initialization for `sysplex_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:287: error: variable `system_type_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:288: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:288: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:288: error: (near initialization for `system_type_attr')
> drivers/s390/char/sclp_cpi_sys.c:288: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: (near initialization for `system_type_attr')
> drivers/s390/char/sclp_cpi_sys.c:288: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: (near initialization for `system_type_attr')
> drivers/s390/char/sclp_cpi_sys.c:288: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: (near initialization for `system_type_attr')
> drivers/s390/char/sclp_cpi_sys.c:317: error: variable `system_level_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:318: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:318: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:318: error: (near initialization for `system_level_attr')
> drivers/s390/char/sclp_cpi_sys.c:318: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: (near initialization for `system_level_attr')
> drivers/s390/char/sclp_cpi_sys.c:318: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: (near initialization for `system_level_attr')
> drivers/s390/char/sclp_cpi_sys.c:318: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: (near initialization for `system_level_attr')
> drivers/s390/char/sclp_cpi_sys.c:333: error: variable `set_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:334: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:334: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:334: error: (near initialization for `set_attr')
> drivers/s390/char/sclp_cpi_sys.c:334: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: (near initialization for `set_attr')
> drivers/s390/char/sclp_cpi_sys.c:334: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: (near initialization for `set_attr')
> drivers/s390/char/sclp_cpi_sys.c:334: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: (near initialization for `set_attr')
> drivers/s390/char/sclp_cpi_sys.c:337: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:337: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:337: error: (near initialization for `cpi_attrs[0]')
> drivers/s390/char/sclp_cpi_sys.c:338: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:338: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:338: error: (near initialization for `cpi_attrs[1]')
> drivers/s390/char/sclp_cpi_sys.c:339: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:339: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:339: error: (near initialization for `cpi_attrs[2]')
> drivers/s390/char/sclp_cpi_sys.c:340: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:340: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:340: error: (near initialization for `cpi_attrs[3]')
> drivers/s390/char/sclp_cpi_sys.c:341: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:341: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:341: error: (near initialization for `cpi_attrs[4]')
> drivers/s390/char/sclp_cpi_sys.c:349: error: syntax error before '(' token
> drivers/s390/char/sclp_cpi_sys.c: In function `cpi_init':
> drivers/s390/char/sclp_cpi_sys.c:379: error: implicit declaration of function `firmware_register'
> drivers/s390/char/sclp_cpi_sys.c:379: error: `cpi_subsys' undeclared (first use in this function)
> drivers/s390/char/sclp_cpi_sys.c:379: error: (Each undeclared identifier is reported only once
> drivers/s390/char/sclp_cpi_sys.c:379: error: for each function it appears in.)
> drivers/s390/char/sclp_cpi_sys.c:385: error: implicit declaration of function `firmware_unregister'
> drivers/s390/char/sclp_cpi_sys.c: At top level:
> drivers/s390/char/sclp_cpi_sys.c:242: error: storage size of `system_name_attr' isn't known
> drivers/s390/char/sclp_cpi_sys.c:264: error: storage size of `sysplex_name_attr' isn't known
> drivers/s390/char/sclp_cpi_sys.c:287: error: storage size of `system_type_attr' isn't known
> drivers/s390/char/sclp_cpi_sys.c:317: error: storage size of `system_level_attr' isn't known
> drivers/s390/char/sclp_cpi_sys.c:333: error: storage size of `set_attr' isn't known
> make[2]: *** [drivers/s390/char/sclp_cpi_sys.o] Error 1
> make[1]: *** [drivers/s390/char] Error 2
> make: *** [drivers/s390] Error 2
>
> The patch git-s390.patch is causing this failure.

That's a clash between git-s390 and the recent kset cleanup.

sclp_cpi_sys.c needs to be converted from firmware_register() to the
new dynamic kset allocation (kset_create_and_register()) and the
subsys_attributes to kobj_attributes (I may look at it later if I find
some time).

2007-11-06 15:34:46

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build failure - rpadlpar_sysfs

Hi Andrew,

The build fails with following error

CC drivers/pci/hotplug/rpadlpar_sysfs.o
drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj.parent')
drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj')
drivers/pci/hotplug/rpadlpar_sysfs.c:134: error: unknown field `ktype' specified in initializer
drivers/pci/hotplug/rpadlpar_sysfs.c:134: warning: initialization from incompatible pointer type
make[3]: *** [drivers/pci/hotplug/rpadlpar_sysfs.o] Error 1
make[2]: *** [drivers/pci/hotplug] Error 2
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2

The patch, gregkh-driver-kset-convert-pci-hotplug-to-use-kset_create_and_register.patch
is causing the build failure.
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

2007-11-06 15:55:28

by Badari Pulavarty

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build fails on powerpc

On Tue, 2007-11-06 at 18:27 +0530, Kamalesh Babulal wrote:
> [email protected] wrote:
> > powerpc-move-_rtc_time-routines-under-config_adb_cuda.patch
>
> CC net/9p/error.o
> arch/powerpc/platforms/powermac/time.c:168: error: implicit declaration of function ‘from_rtc_time’
> arch/powerpc/platforms/powermac/time.c:225: error: implicit declaration of function ‘to_rtc_time’
> make[2]: *** [arch/powerpc/platforms/powermac/time.o] Error 1
> make[1]: *** [arch/powerpc/platforms/powermac] Error 2
> make: *** [arch/powerpc/platforms] Error 2
>
> The above patch causes the build failure, because the from_rtc_time() and to_rtc_time() are
> moved under the ifdef CONFIG_ADB_CUDA, but they are begin called in the pmu_set_rtc_time() and
> pmac_get_rtc_time() under CONFIG_ADB_PMU.


Yes. My fault. This patch needs to be dropped. Sorry.

Thanks,
Badari

2007-11-06 16:42:31

by Cornelia Huck

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - S390x build fails

On Tue, 6 Nov 2007 16:29:39 +0100,
Cornelia Huck <[email protected]> wrote:

> That's a clash between git-s390 and the recent kset cleanup.
>
> sclp_cpi_sys.c needs to be converted from firmware_register() to the
> new dynamic kset allocation (kset_create_and_register()) and the
> subsys_attributes to kobj_attributes (I may look at it later if I find
> some time).

Adapt sclp_cpi_sys.c to the dynamic kset changes.

Signed-off-by: Cornelia Huck <[email protected]>

---
drivers/s390/char/sclp_cpi_sys.c | 58 ++++++++++++++++++++++-----------------
1 files changed, 33 insertions(+), 25 deletions(-)

Index: linux-2.6/drivers/s390/char/sclp_cpi_sys.c
===================================================================
--- linux-2.6.orig/drivers/s390/char/sclp_cpi_sys.c 2007-11-06 17:08:59.000000000 +0100
+++ linux-2.6/drivers/s390/char/sclp_cpi_sys.c 2007-11-06 17:30:09.000000000 +0100
@@ -220,13 +220,15 @@ static void set_string(char *attr, const
}
}

-static ssize_t system_name_show(struct kset *kset, char *page)
+static ssize_t system_name_show(struct kobject *kobj,
+ struct kobj_attribute *attr, char *page)
{
return snprintf(page, PAGE_SIZE, "%s\n", system_name);
}

-static ssize_t system_name_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t system_name_store(struct kobject *kobj,
+ struct kobj_attribute *attr, const char *buf,
+ size_t len)
{
int rc;

@@ -239,16 +241,18 @@ static ssize_t system_name_store(struct
return len;
}

-static struct subsys_attribute system_name_attr =
+static struct kobj_attribute system_name_attr =
__ATTR(system_name, 0644, system_name_show, system_name_store);

-static ssize_t sysplex_name_show(struct kset *kset, char *page)
+static ssize_t sysplex_name_show(struct kobject *kobj,
+ struct kobj_attribute *attr, char *page)
{
return snprintf(page, PAGE_SIZE, "%s\n", sysplex_name);
}

-static ssize_t sysplex_name_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t sysplex_name_store(struct kobject *kobj,
+ struct kobj_attribute *attr, const char *buf,
+ size_t len)
{
int rc;

@@ -261,17 +265,19 @@ static ssize_t sysplex_name_store(struct
return len;
}

-static struct subsys_attribute sysplex_name_attr =
+static struct kobj_attribute sysplex_name_attr =
__ATTR(sysplex_name, 0644, sysplex_name_show,
sysplex_name_store);

-static ssize_t system_type_show(struct kset *kset, char *page)
+static ssize_t system_type_show(struct kobject *kobj,
+ struct kobj_attribute *attr, char *page)
{
return snprintf(page, PAGE_SIZE, "%s\n", system_type);
}

-static ssize_t system_type_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t system_type_store(struct kobject *kobj,
+ struct kobj_attribute *attr, const char *buf,
+ size_t len)
{
int rc;

@@ -284,18 +290,20 @@ static ssize_t system_type_store(struct
return len;
}

-static struct subsys_attribute system_type_attr =
+static struct kobj_attribute system_type_attr =
__ATTR(system_type, 0644, system_type_show, system_type_store);

-static ssize_t system_level_show(struct kset *kset, char *page)
+static ssize_t system_level_show(struct kobject *kobj,
+ struct kobj_attribute *attr, char *page)
{
unsigned long long level = system_level;

return snprintf(page, PAGE_SIZE, "%#018llx\n", level);
}

-static ssize_t system_level_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t system_level_store(struct kobject *kobj,
+ struct kobj_attribute *attr, const char *buf,
+ size_t len)
{
unsigned long long level;
char *endp;
@@ -314,12 +322,12 @@ static ssize_t system_level_store(struct
return len;
}

-static struct subsys_attribute system_level_attr =
+static struct kobj_attribute system_level_attr =
__ATTR(system_level, 0644, system_level_show,
system_level_store);

-static ssize_t set_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t set_store(struct kobject *kobj, struct kobj_attribute *attr,
+ const char *buf, size_t len)
{
int rc;

@@ -330,7 +338,7 @@ static ssize_t set_store(struct kset *ks
return len;
}

-static struct subsys_attribute set_attr =
+static struct kobj_attribute set_attr =
__ATTR(set, 0200, NULL, set_store);

static struct attribute *cpi_attrs[] = {
@@ -346,7 +354,7 @@ static struct attribute_group cpi_attr_g
.attrs = cpi_attrs,
};

-static decl_subsys(cpi, NULL, NULL);
+static struct kset *cpi_kset;

int sclp_cpi_set_data(const char *system, const char *sysplex, const char *type,
const u64 level)
@@ -376,13 +384,13 @@ static int __init cpi_init(void)
{
int rc;

- rc = firmware_register(&cpi_subsys);
- if (rc)
- return rc;
+ cpi_kset = kset_create_and_register("cpi", NULL, NULL, firmware_kset);
+ if (IS_ERR(cpi_kset))
+ return PTR_ERR(cpi_kset);

- rc = sysfs_create_group(&cpi_subsys.kobj, &cpi_attr_group);
+ rc = sysfs_create_group(&cpi_kset->kobj, &cpi_attr_group);
if (rc)
- firmware_unregister(&cpi_subsys);
+ kset_unregister(cpi_kset);

return rc;
}

2007-11-06 17:17:17

by Balbir Singh

[permalink] [raw]
Subject: Re: [BUG] mm snapshot broken-out-2007-11-06-02-32.tar.gz - soft lockup

Kamalesh Babulal wrote:
> Hi Andrew,
>
> The kernel is stuck at soft lockup while booting, with following
> call trace
>
> BUG: soft lockup - CPU#1 stuck for 11s! [mount:959]
>
> Pid: 959, comm: mount Not tainted (2.6.24-rc1-mm1-autokern1 #1)
> EIP: 0060:[<c1067b81>] EFLAGS: 00000206 CPU: 1
> EIP is at shrink_dcache_sb+0x4c/0xd1
> EAX: c132fe80 EBX: c1c21248 ECX: c1985000 EDX: fffffff3
> ESI: c1c21248 EDI: c1985000 EBP: c181a000 ESP: c2695e94
> DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> CR0: 8005003b CR2: 09dc8000 CR3: 02675000 CR4: 000002f0
> DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
> DR6: ffff0ff0 DR7: 00000400
> [<c105b871>] do_remount_sb+0x2c/0xa4
> [<c108f0c0>] sysfs_fill_super+0x0/0x85
> [<c105bc7d>] get_sb_single+0x71/0x88
> [<c108f157>] sysfs_get_sb+0x12/0x17
> [<c108f0c0>] sysfs_fill_super+0x0/0x85
> [<c105bccb>] vfs_kern_mount+0x37/0x6e
> [<c106c7ec>] do_new_mount+0x86/0x109
> [<c106ce4b>] do_mount+0x18b/0x1a5
> [<c1002c84>] apic_timer_interrupt+0x28/0x30
> [<c106cc1e>] exact_copy_from_user+0x44/0x4f
> [<c106d0b7>] sys_mount+0x6f/0xad
> [<c100221e>] syscall_call+0x7/0xb
> [<c1200000>] svcauth_unix_set_client+0xc/0x14d
> =======================
>

Kamalesh,

sysrq output would be really nice. sysrq-t, sysrq-d, sysrq-m.
Please see Documentation/sysrq.txt for details on how to use
sysrq.

--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL

2007-11-06 17:27:58

by Kamalesh Babulal

[permalink] [raw]
Subject: [BUG] mm snapshot broken-out-2007-11-06-02-32.tar.gz - soft lockup

Hi Andrew,

The kernel is stuck at soft lockup while booting, with following
call trace

BUG: soft lockup - CPU#1 stuck for 11s! [mount:959]

Pid: 959, comm: mount Not tainted (2.6.24-rc1-mm1-autokern1 #1)
EIP: 0060:[<c1067b81>] EFLAGS: 00000206 CPU: 1
EIP is at shrink_dcache_sb+0x4c/0xd1
EAX: c132fe80 EBX: c1c21248 ECX: c1985000 EDX: fffffff3
ESI: c1c21248 EDI: c1985000 EBP: c181a000 ESP: c2695e94
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
CR0: 8005003b CR2: 09dc8000 CR3: 02675000 CR4: 000002f0
DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
DR6: ffff0ff0 DR7: 00000400
[<c105b871>] do_remount_sb+0x2c/0xa4
[<c108f0c0>] sysfs_fill_super+0x0/0x85
[<c105bc7d>] get_sb_single+0x71/0x88
[<c108f157>] sysfs_get_sb+0x12/0x17
[<c108f0c0>] sysfs_fill_super+0x0/0x85
[<c105bccb>] vfs_kern_mount+0x37/0x6e
[<c106c7ec>] do_new_mount+0x86/0x109
[<c106ce4b>] do_mount+0x18b/0x1a5
[<c1002c84>] apic_timer_interrupt+0x28/0x30
[<c106cc1e>] exact_copy_from_user+0x44/0x4f
[<c106d0b7>] sys_mount+0x6f/0xad
[<c100221e>] syscall_call+0x7/0xb
[<c1200000>] svcauth_unix_set_client+0xc/0x14d
=======================

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


Attachments:
config-autobench-2.6.24-rc1-mm1-autokern1 (27.61 kB)

2007-11-06 17:28:30

by Kamalesh Babulal

[permalink] [raw]
Subject: [BUG] mm snapshot broken-out-2007-11-06-02-32 - kernel oops

Hi Andrew,

Kernel bug, followed by soft lockup is hit, while booting in to 2.6.24-rc1 mm1
broken-out

BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004
printing eip: c10675eb *pdpt = 000000000290c001 *pde = 0000000000000000
Oops: 0002 [#1] SMP
last sysfs file:
Modules linked in:

Pid: 1164, comm: mount Not tainted (2.6.24-rc1-mm1-autokern1 #1)
EIP: 0060:[<c10675eb>] EFLAGS: 00010202 CPU: 9
EIP is at d_kill+0xd/0x41
EAX: 00000000 EBX: c1c32088 ECX: c1c320b8 EDX: c1067509
ESI: c1c320b0 EDI: c1c32088 EBP: c22a5a00 ESP: c22b1ed0
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process mount (pid: 1164, ti=c22b0000 task=c29fa000 task.ti=c22b0000)
Stack: c1c32088 c1c320b0 c1067949 c1c320b0 c1067ba9 c22b1f34 c22a5a00 c2923000
c22a5a00 c105b839 00000001 c22b1f34 00000001 00000001 c106c4aa 00000000
00000080 c2870000 00000001 00000080 c22b1f34 c106cdb1 c2923000 00000000
Call Trace:
[<c1067949>] prune_one_dentry+0x30/0xa6
[<c1067ba9>] shrink_dcache_sb+0xa8/0xd1
[<c105b839>] do_remount_sb+0x2c/0xa4
[<c106c4aa>] do_remount+0x77/0xae
[<c106cdb1>] do_mount+0x131/0x1a5
[<c103c517>] __alloc_pages+0x45/0x2be
[<c106d077>] sys_mount+0x6f/0xad
[<c100221e>] syscall_call+0x7/0xb
[<c1200000>] unix_gid_parse+0x213/0x297
=======================
Code: f2 89 d8 ff d1 eb 14 5b 89 f0 5e e9 1c 29 00 00 c6 40 08 01 c6 05 80 fe 32 c1 01 5b 5e c3 56 8d 48 30 53 8b 51 04 89 c3 8b 40 30 <89> 50 04 89 02 89 d8 c7 43 30 00 01 10 00 c7 41 04 00 02 20 00
EIP: [<c10675eb>] d_kill+0xd/0x41 SS:ESP 0068:c22b1ed0
BUG: soft lockup - CPU#9 stuck for 11s! [mount:1164]

Pid: 1164, comm: mount Tainted: G D (2.6.24-rc1-mm1-autokern1 #1)
EIP: 0060:[<c1206684>] EFLAGS: 00000286 CPU: 9
EIP is at _spin_lock+0x5/0xf
EAX: c132fe80 EBX: c1c25e58 ECX: 00000000 EDX: 00000000
ESI: c132fe80 EDI: c1c20404 EBP: c1c25e58 ESP: c22b1dd4
DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
CR0: 8005003b CR2: 00000004 CR3: 01370000 CR4: 000006f0
DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
DR6: ffff0ff0 DR7: 00000400
[<c10fe3be>] _atomic_dec_and_lock+0x2a/0x58
[<c1067687>] dput+0x68/0x114
[<c105ad44>] __fput+0x1b3/0x1d6
[<c1047a99>] remove_vma+0x25/0x42
[<c104952e>] exit_mmap+0xb6/0xcc
[<c10176c1>] mmput+0x36/0xa1
[<c101bc51>] do_exit+0x1db/0x28c
[<c10032e7>] die+0x1ac/0x1b1
[<c100f68a>] do_page_fault+0x5d1/0x6c3
[<c100f0b9>] do_page_fault+0x0/0x6c3
[<c120683a>] error_code+0x72/0x78
[<c1067509>] d_callback+0x0/0x5
[<c10f007b>] md4_transform+0x4a7/0x520
[<c10600d8>] __link_path_walk+0x1a1/0x99f
[<c10675eb>] d_kill+0xd/0x41
[<c1067949>] prune_one_dentry+0x30/0xa6
[<c1067ba9>] shrink_dcache_sb+0xa8/0xd1
[<c105b839>] do_remount_sb+0x2c/0xa4
[<c106c4aa>] do_remount+0x77/0xae
[<c106cdb1>] do_mount+0x131/0x1a5
[<c103c517>] __alloc_pages+0x45/0x2be
[<c106d077>] sys_mount+0x6f/0xad
[<c100221e>] syscall_call+0x7/0xb
[<c1200000>] unix_gid_parse+0x213/0x297
=======================
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


Attachments:
config-autobench-2.6.24-rc1-mm1-autokern1 (27.61 kB)

2007-11-06 18:18:45

by Badari Pulavarty

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build failure - rpadlpar_sysfs

On Tue, 2007-11-06 at 21:04 +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The build fails with following error
>
> CC drivers/pci/hotplug/rpadlpar_sysfs.o
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj.parent')
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj')
> drivers/pci/hotplug/rpadlpar_sysfs.c:134: error: unknown field `ktype' specified in initializer
> drivers/pci/hotplug/rpadlpar_sysfs.c:134: warning: initialization from incompatible pointer type
> make[3]: *** [drivers/pci/hotplug/rpadlpar_sysfs.o] Error 1
> make[2]: *** [drivers/pci/hotplug] Error 2
> make[1]: *** [drivers/pci] Error 2
> make: *** [drivers] Error 2
>
> The patch, gregkh-driver-kset-convert-pci-hotplug-to-use-kset_create_and_register.patch
> is causing the build failure.

Here is the fix (against 24-rc1 mm-brokenout). Can you try it ?

Thanks,
Badari

Signed-off-by: Badari Pulavarty <[email protected]>
---
drivers/pci/hotplug/rpadlpar_sysfs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

Index: linux-2.6.24-rc1/drivers/pci/hotplug/rpadlpar_sysfs.c
===================================================================
--- linux-2.6.24-rc1.orig/drivers/pci/hotplug/rpadlpar_sysfs.c 2007-11-06 10:09:10.000000000 -0800
+++ linux-2.6.24-rc1/drivers/pci/hotplug/rpadlpar_sysfs.c 2007-11-06 10:11:33.000000000 -0800
@@ -129,14 +129,13 @@ struct kobj_type ktype_dlpar_io = {
};

struct kset dlpar_io_kset = {
- .kobj = {.ktype = &ktype_dlpar_io,
- .parent = &pci_hotplug_slots_kset->kobj},
- .ktype = &ktype_dlpar_io,
+ .kobj = {.ktype = &ktype_dlpar_io},
};

int dlpar_sysfs_init(void)
{
kobject_set_name(&dlpar_io_kset.kobj, DLPAR_KOBJ_NAME);
+ dlpar_io_kset.kobj.parent = &pci_hotplug_slots_kset->kobj;
if (kset_register(&dlpar_io_kset)) {
printk(KERN_ERR "rpadlpar_io: cannot register kset for %s\n",
kobject_name(&dlpar_io_kset.kobj));


2007-11-06 18:36:03

by Badari Pulavarty

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

On Tue, 2007-11-06 at 02:33 -0800, [email protected] wrote:
> The mm snapshot broken-out-2007-11-06-02-32.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-11-06-02-32.tar.gz
>

> gregkh-driver-kset-convert-sys-devices-to-use-kset_create.patch

Above patch renamed devices_subsys to devices_kset to catch all users of
the variable. Need fixes to vio.


# make -j8 zImage
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
<stdin>:1389:2: warning: #warning syscall revokeat not implemented
<stdin>:1393:2: warning: #warning syscall frevoke not implemented
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/powerpc/kernel/built-in.o(.toc+0x1548): undefined reference to
`devices_subsys'
make: *** [.tmp_vmlinux1] Error 1


Here is the patch, Is this correct usage ?

Thanks,
Badari

---
arch/powerpc/kernel/vio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.24-rc1/arch/powerpc/kernel/vio.c
===================================================================
--- linux-2.6.24-rc1.orig/arch/powerpc/kernel/vio.c 2007-10-23 20:50:57.000000000 -0700
+++ linux-2.6.24-rc1/arch/powerpc/kernel/vio.c 2007-11-06 10:31:56.000000000 -0800
@@ -37,7 +37,7 @@
#include <asm/iseries/hv_call_xm.h>
#include <asm/iseries/iommu.h>

-extern struct kset devices_subsys; /* needed for vio_find_name() */
+extern struct kset *devices_kset; /* needed for vio_find_name() */

static struct bus_type vio_bus_type;

@@ -369,7 +369,7 @@ static struct vio_dev *vio_find_name(con
{
struct kobject *found;

- found = kset_find_obj(&devices_subsys, kobj_name);
+ found = kset_find_obj(devices_kset, kobj_name);
if (!found)
return NULL;




2007-11-06 18:45:46

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 - powerpc link failure

Hi Andrew,

The kernel linking fails on the powerpc, with following error message

CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/powerpc/kernel/built-in.o(.toc+0x1550): undefined reference to `devices_subsys'
make: *** [.tmp_vmlinux1] Error 1

~ # gcc -v
Reading specs from /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --host=powerpc-suse-linux --build=powerpc-suse-linux --target=powerpc-suse-linux --enable-targets=powerpc64-suse-linux --enable-biarch
Thread model: posix
gcc version 3.3.3 (SuSE Linux)

~ # ld -v
GNU ld version 2.15.90.0.1.1 20040303 (SuSE Linux)

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


Attachments:
dotconfig (27.59 kB)

2007-11-06 18:59:31

by Badari Pulavarty

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 - powerpc link failure

On Tue, 2007-11-06 at 23:47 +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The kernel linking fails on the powerpc, with following error message
>
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/powerpc/kernel/built-in.o(.toc+0x1550): undefined reference to `devices_subsys'
> make: *** [.tmp_vmlinux1] Error 1

I sent a fix for this 30 minutes ago ..

Here it is anyway.

Thanks,
Badari

---
arch/powerpc/kernel/vio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.24-rc1/arch/powerpc/kernel/vio.c
===================================================================
--- linux-2.6.24-rc1.orig/arch/powerpc/kernel/vio.c 2007-10-23 20:50:57.000000000 -0700
+++ linux-2.6.24-rc1/arch/powerpc/kernel/vio.c 2007-11-06 10:31:56.000000000 -0800
@@ -37,7 +37,7 @@
#include <asm/iseries/hv_call_xm.h>
#include <asm/iseries/iommu.h>

-extern struct kset devices_subsys; /* needed for vio_find_name() */
+extern struct kset *devices_kset; /* needed for vio_find_name() */

static struct bus_type vio_bus_type;

@@ -369,7 +369,7 @@ static struct vio_dev *vio_find_name(con
{
struct kobject *found;

- found = kset_find_obj(&devices_subsys, kobj_name);
+ found = kset_find_obj(devices_kset, kobj_name);
if (!found)
return NULL;




2007-11-06 19:32:34

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build failure - rpadlpar_sysfs

On Tue, Nov 06, 2007 at 09:04:02PM +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The build fails with following error
>
> CC drivers/pci/hotplug/rpadlpar_sysfs.o
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj.parent')
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj')
> drivers/pci/hotplug/rpadlpar_sysfs.c:134: error: unknown field `ktype' specified in initializer
> drivers/pci/hotplug/rpadlpar_sysfs.c:134: warning: initialization from incompatible pointer type
> make[3]: *** [drivers/pci/hotplug/rpadlpar_sysfs.o] Error 1
> make[2]: *** [drivers/pci/hotplug] Error 2
> make[1]: *** [drivers/pci] Error 2
> make: *** [drivers] Error 2
>
> The patch, gregkh-driver-kset-convert-pci-hotplug-to-use-kset_create_and_register.patch
> is causing the build failure.

Ah, thanks, I'll go fix that up right now, that was due to the ktype
being removed from the kset. If you comment out the line:
.ktype = &ktype_dlpar_io,

it should build properly, right?

thanks,

greg k-h

2007-11-06 19:46:54

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build failure - rpadlpar_sysfs

On Tue, Nov 06, 2007 at 10:19:28AM -0800, Badari Pulavarty wrote:
> On Tue, 2007-11-06 at 21:04 +0530, Kamalesh Babulal wrote:
> > Hi Andrew,
> >
> > The build fails with following error
> >
> > CC drivers/pci/hotplug/rpadlpar_sysfs.o
> > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj.parent')
> > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj')
> > drivers/pci/hotplug/rpadlpar_sysfs.c:134: error: unknown field `ktype' specified in initializer
> > drivers/pci/hotplug/rpadlpar_sysfs.c:134: warning: initialization from incompatible pointer type
> > make[3]: *** [drivers/pci/hotplug/rpadlpar_sysfs.o] Error 1
> > make[2]: *** [drivers/pci/hotplug] Error 2
> > make[1]: *** [drivers/pci] Error 2
> > make: *** [drivers] Error 2
> >
> > The patch, gregkh-driver-kset-convert-pci-hotplug-to-use-kset_create_and_register.patch
> > is causing the build failure.
>
> Here is the fix (against 24-rc1 mm-brokenout). Can you try it ?
>
> Thanks,
> Badari

Hi Badari,

This patch fixes the buidl failure.

Tested-by: Kamalesh Babulal <[email protected]>
Signed-off-by: Badari Pulavarty <[email protected]>
---
drivers/pci/hotplug/rpadlpar_sysfs.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

Index: linux-2.6.24-rc1/drivers/pci/hotplug/rpadlpar_sysfs.c
===================================================================
--- linux-2.6.24-rc1.orig/drivers/pci/hotplug/rpadlpar_sysfs.c 2007-11-06 10:09:10.000000000 -0800
+++ linux-2.6.24-rc1/drivers/pci/hotplug/rpadlpar_sysfs.c 2007-11-06 10:11:33.000000000 -0800
@@ -129,14 +129,13 @@ struct kobj_type ktype_dlpar_io = {
};

struct kset dlpar_io_kset = {
- .kobj = {.ktype = &ktype_dlpar_io,
- .parent = &pci_hotplug_slots_kset->kobj},
- .ktype = &ktype_dlpar_io,
+ .kobj = {.ktype = &ktype_dlpar_io},
};

int dlpar_sysfs_init(void)
{
kobject_set_name(&dlpar_io_kset.kobj, DLPAR_KOBJ_NAME);
+ dlpar_io_kset.kobj.parent = &pci_hotplug_slots_kset->kobj;
if (kset_register(&dlpar_io_kset)) {
printk(KERN_ERR "rpadlpar_io: cannot register kset for %s\n",
kobject_name(&dlpar_io_kset.kobj));


2007-11-06 19:47:20

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build failure - rpadlpar_sysfs

On Tue, Nov 06, 2007 at 09:04:02PM +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The build fails with following error
>
> CC drivers/pci/hotplug/rpadlpar_sysfs.o
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj.parent')
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj')
> drivers/pci/hotplug/rpadlpar_sysfs.c:134: error: unknown field `ktype' specified in initializer
> drivers/pci/hotplug/rpadlpar_sysfs.c:134: warning: initialization from incompatible pointer type
> make[3]: *** [drivers/pci/hotplug/rpadlpar_sysfs.o] Error 1
> make[2]: *** [drivers/pci/hotplug] Error 2
> make[1]: *** [drivers/pci] Error 2
> make: *** [drivers] Error 2
>
> The patch, gregkh-driver-kset-convert-pci-hotplug-to-use-kset_create_and_register.patch
> is causing the build failure.

Actually, in looking at that file some more, the whole way that file
creates sysfs files and uses them is so messed up it's not funny (get
the return value of writing to a file by reading from it? WTF?)

I'll go clean up all this crap now that we can do simple kobject
attributes easier...

thanks,

greg k-h

2007-11-06 19:50:32

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

On Tue, Nov 06, 2007 at 10:36:58AM -0800, Badari Pulavarty wrote:
> On Tue, 2007-11-06 at 02:33 -0800, [email protected] wrote:
> > The mm snapshot broken-out-2007-11-06-02-32.tar.gz has been uploaded to
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-11-06-02-32.tar.gz
> >
>
> > gregkh-driver-kset-convert-sys-devices-to-use-kset_create.patch
>
> Above patch renamed devices_subsys to devices_kset to catch all users of
> the variable. Need fixes to vio.
>
>
> # make -j8 zImage
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CALL scripts/checksyscalls.sh
> <stdin>:1389:2: warning: #warning syscall revokeat not implemented
> <stdin>:1393:2: warning: #warning syscall frevoke not implemented
> CHK include/linux/compile.h
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/powerpc/kernel/built-in.o(.toc+0x1548): undefined reference to
> `devices_subsys'
> make: *** [.tmp_vmlinux1] Error 1
>
>
> Here is the patch, Is this correct usage ?

Yes, but, what is this file doing mucking around in a "private" variable
to the driver core? No wonder I never caught this, as it's one
reference away from being declared static.

Please fix this file up properly, like the comment in vio.c shows:
* XXX once vio_bus_type.devices is actually used as a kset in
* drivers/base/bus.c, this function should be removed in favor of
* "device_find(kobj_name, &vio_bus_type)"

The fact that this function works at all is so tenous and scary that I
would never trust it on a running system. Let alone something so
"enterprise" as a pseries box...

thanks,

greg k-h

2007-11-06 20:02:37

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - S390x build fails

On Tue, Nov 06, 2007 at 05:42:08PM +0100, Cornelia Huck wrote:
> On Tue, 6 Nov 2007 16:29:39 +0100,
> Cornelia Huck <[email protected]> wrote:
>
> > That's a clash between git-s390 and the recent kset cleanup.
> >
> > sclp_cpi_sys.c needs to be converted from firmware_register() to the
> > new dynamic kset allocation (kset_create_and_register()) and the
> > subsys_attributes to kobj_attributes (I may look at it later if I find
> > some time).
>
> Adapt sclp_cpi_sys.c to the dynamic kset changes.

Hi Cornelia,

Thanks, the patch fixes the build failure.

Tested-by: Kamalesh Babulal <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>

---
drivers/s390/char/sclp_cpi_sys.c | 58 ++++++++++++++++++++++-----------------
1 files changed, 33 insertions(+), 25 deletions(-)

Index: linux-2.6/drivers/s390/char/sclp_cpi_sys.c
===================================================================
--- linux-2.6.orig/drivers/s390/char/sclp_cpi_sys.c 2007-11-06 17:08:59.000000000 +0100
+++ linux-2.6/drivers/s390/char/sclp_cpi_sys.c 2007-11-06 17:30:09.000000000 +0100
@@ -220,13 +220,15 @@ static void set_string(char *attr, const
}
}

-static ssize_t system_name_show(struct kset *kset, char *page)
+static ssize_t system_name_show(struct kobject *kobj,
+ struct kobj_attribute *attr, char *page)
{
return snprintf(page, PAGE_SIZE, "%s\n", system_name);
}

-static ssize_t system_name_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t system_name_store(struct kobject *kobj,
+ struct kobj_attribute *attr, const char *buf,
+ size_t len)
{
int rc;

@@ -239,16 +241,18 @@ static ssize_t system_name_store(struct
return len;
}

-static struct subsys_attribute system_name_attr =
+static struct kobj_attribute system_name_attr =
__ATTR(system_name, 0644, system_name_show, system_name_store);

-static ssize_t sysplex_name_show(struct kset *kset, char *page)
+static ssize_t sysplex_name_show(struct kobject *kobj,
+ struct kobj_attribute *attr, char *page)
{
return snprintf(page, PAGE_SIZE, "%s\n", sysplex_name);
}

-static ssize_t sysplex_name_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t sysplex_name_store(struct kobject *kobj,
+ struct kobj_attribute *attr, const char *buf,
+ size_t len)
{
int rc;

@@ -261,17 +265,19 @@ static ssize_t sysplex_name_store(struct
return len;
}

-static struct subsys_attribute sysplex_name_attr =
+static struct kobj_attribute sysplex_name_attr =
__ATTR(sysplex_name, 0644, sysplex_name_show,
sysplex_name_store);

-static ssize_t system_type_show(struct kset *kset, char *page)
+static ssize_t system_type_show(struct kobject *kobj,
+ struct kobj_attribute *attr, char *page)
{
return snprintf(page, PAGE_SIZE, "%s\n", system_type);
}

-static ssize_t system_type_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t system_type_store(struct kobject *kobj,
+ struct kobj_attribute *attr, const char *buf,
+ size_t len)
{
int rc;

@@ -284,18 +290,20 @@ static ssize_t system_type_store(struct
return len;
}

-static struct subsys_attribute system_type_attr =
+static struct kobj_attribute system_type_attr =
__ATTR(system_type, 0644, system_type_show, system_type_store);

-static ssize_t system_level_show(struct kset *kset, char *page)
+static ssize_t system_level_show(struct kobject *kobj,
+ struct kobj_attribute *attr, char *page)
{
unsigned long long level = system_level;

return snprintf(page, PAGE_SIZE, "%#018llx\n", level);
}

-static ssize_t system_level_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t system_level_store(struct kobject *kobj,
+ struct kobj_attribute *attr, const char *buf,
+ size_t len)
{
unsigned long long level;
char *endp;
@@ -314,12 +322,12 @@ static ssize_t system_level_store(struct
return len;
}

-static struct subsys_attribute system_level_attr =
+static struct kobj_attribute system_level_attr =
__ATTR(system_level, 0644, system_level_show,
system_level_store);

-static ssize_t set_store(struct kset *kset, const char *buf,
- size_t len)
+static ssize_t set_store(struct kobject *kobj, struct kobj_attribute *attr,
+ const char *buf, size_t len)
{
int rc;

@@ -330,7 +338,7 @@ static ssize_t set_store(struct kset *ks
return len;
}

-static struct subsys_attribute set_attr =
+static struct kobj_attribute set_attr =
__ATTR(set, 0200, NULL, set_store);

static struct attribute *cpi_attrs[] = {
@@ -346,7 +354,7 @@ static struct attribute_group cpi_attr_g
.attrs = cpi_attrs,
};

-static decl_subsys(cpi, NULL, NULL);
+static struct kset *cpi_kset;

int sclp_cpi_set_data(const char *system, const char *sysplex, const char *type,
const u64 level)
@@ -376,13 +384,13 @@ static int __init cpi_init(void)
{
int rc;

- rc = firmware_register(&cpi_subsys);
- if (rc)
- return rc;
+ cpi_kset = kset_create_and_register("cpi", NULL, NULL, firmware_kset);
+ if (IS_ERR(cpi_kset))
+ return PTR_ERR(cpi_kset);

- rc = sysfs_create_group(&cpi_subsys.kobj, &cpi_attr_group);
+ rc = sysfs_create_group(&cpi_kset->kobj, &cpi_attr_group);
if (rc)
- firmware_unregister(&cpi_subsys);
+ kset_unregister(cpi_kset);

return rc;
}

2007-11-06 20:15:21

by Gabriel C

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

After some hours uptime I got the following Oops :

[15745.009673] BUG: unable to handle kernel paging request at virtual address 63383166
[15745.009683] printing eip: c01c50a2 *pde = 00000000
[15745.009692] Oops: 0002 [#1] SMP
[15745.009699] last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:04:0b.0/irq
[15745.009705] Modules linked in: fuse pc87360 hwmon_vid eeprom adm1021 ext4dev jbd2 crc16 loop lp intel_agp sr_mod agpgart 3c59x parport_pc iTCO_wdt mii parport iTCO_vendor_support cdrom i82860_edac watchdog_core edac_core dcdbas pcspkr i2c_i801 watchdog_dev shpchp evdev pci_hotplug
[15745.009742]
[15745.009746] Pid: 6277, comm: su Not tainted (2.6.24-rc1-mm1 #2)
[15745.009751] EIP: 0060:[<c01c50a2>] EFLAGS: 00210206 CPU: 1
[15745.009761] EIP is at kobject_add+0xae/0x160
[15745.009765] EAX: c186c300 EBX: cf81a0b0 ECX: 63383166 EDX: cf81a0b8
[15745.009769] ESI: cf81a0b0 EDI: cf81a0d0 EBP: c03b4bcc ESP: cfa37f40
[15745.009773] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[15745.009778] Process su (pid: 6277, ti=cfa36000 task=c354c000 task.ti=cfa36000)
[15745.009781] Stack: fffffffe c186c30c cf81a080 cf81a0b0 cf81a0d0 c03b4bcc c011fba1 cf81a0b0
[15745.009793] c0368fd1 00000013 cf81a080 cf81a080 00000013 00000000 c011fe94 00000013
[15745.009804] 00000013 00000001 00000000 c0122e0d 00000013 00000000 09756508 c0124688
[15745.009815] Call Trace:
[15745.009820] [<c011fba1>] uids_user_create+0x41/0x5a
[15745.009833] [<c011fe94>] alloc_uid+0xad/0x121
[15745.009840] [<c0122e0d>] set_user+0x1d/0x93
[15745.009847] [<c0124688>] sys_setuid+0x47/0xc5
[15745.009855] [<c0103d32>] sysenter_past_esp+0x5f/0x85
[15745.009868] =======================
[15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
[15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 0068:cfa37f40



Regards,

Gabriel

2007-11-06 20:16:53

by Andrew Morton

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - S390x build fails

> On Tue, 06 Nov 2007 20:40:02 +0530 Kamalesh Babulal <[email protected]> wrote:
> Hi Andrew,
>
> The build fails on the S390x with
>
> CC drivers/s390/char/sclp_cpi_sys.o
> drivers/s390/char/sclp_cpi_sys.c:242: error: variable `system_name_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:243: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:243: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:243: error: (near initialization for `system_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:243: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: (near initialization for `system_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:243: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: (near initialization for `system_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:243: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:243: warning: (near initialization for `system_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:264: error: variable `sysplex_name_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:265: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:265: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:265: error: (near initialization for `sysplex_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:265: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: (near initialization for `sysplex_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:265: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: (near initialization for `sysplex_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:265: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:265: warning: (near initialization for `sysplex_name_attr')
> drivers/s390/char/sclp_cpi_sys.c:287: error: variable `system_type_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:288: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:288: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:288: error: (near initialization for `system_type_attr')
> drivers/s390/char/sclp_cpi_sys.c:288: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: (near initialization for `system_type_attr')
> drivers/s390/char/sclp_cpi_sys.c:288: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: (near initialization for `system_type_attr')
> drivers/s390/char/sclp_cpi_sys.c:288: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:288: warning: (near initialization for `system_type_attr')
> drivers/s390/char/sclp_cpi_sys.c:317: error: variable `system_level_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:318: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:318: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:318: error: (near initialization for `system_level_attr')
> drivers/s390/char/sclp_cpi_sys.c:318: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: (near initialization for `system_level_attr')
> drivers/s390/char/sclp_cpi_sys.c:318: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: (near initialization for `system_level_attr')
> drivers/s390/char/sclp_cpi_sys.c:318: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:318: warning: (near initialization for `system_level_attr')
> drivers/s390/char/sclp_cpi_sys.c:333: error: variable `set_attr' has initializer but incomplete type
> drivers/s390/char/sclp_cpi_sys.c:334: error: unknown field `attr' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:334: error: extra brace group at end of initializer
> drivers/s390/char/sclp_cpi_sys.c:334: error: (near initialization for `set_attr')
> drivers/s390/char/sclp_cpi_sys.c:334: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: (near initialization for `set_attr')
> drivers/s390/char/sclp_cpi_sys.c:334: error: unknown field `show' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: (near initialization for `set_attr')
> drivers/s390/char/sclp_cpi_sys.c:334: error: unknown field `store' specified in initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: excess elements in struct initializer
> drivers/s390/char/sclp_cpi_sys.c:334: warning: (near initialization for `set_attr')
> drivers/s390/char/sclp_cpi_sys.c:337: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:337: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:337: error: (near initialization for `cpi_attrs[0]')
> drivers/s390/char/sclp_cpi_sys.c:338: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:338: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:338: error: (near initialization for `cpi_attrs[1]')
> drivers/s390/char/sclp_cpi_sys.c:339: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:339: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:339: error: (near initialization for `cpi_attrs[2]')
> drivers/s390/char/sclp_cpi_sys.c:340: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:340: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:340: error: (near initialization for `cpi_attrs[3]')
> drivers/s390/char/sclp_cpi_sys.c:341: error: invalid use of undefined type `struct subsys_attribute'
> drivers/s390/char/sclp_cpi_sys.c:341: error: initializer element is not constant
> drivers/s390/char/sclp_cpi_sys.c:341: error: (near initialization for `cpi_attrs[4]')
> drivers/s390/char/sclp_cpi_sys.c:349: error: syntax error before '(' token
> drivers/s390/char/sclp_cpi_sys.c: In function `cpi_init':
> drivers/s390/char/sclp_cpi_sys.c:379: error: implicit declaration of function `firmware_register'
> drivers/s390/char/sclp_cpi_sys.c:379: error: `cpi_subsys' undeclared (first use in this function)
> drivers/s390/char/sclp_cpi_sys.c:379: error: (Each undeclared identifier is reported only once
> drivers/s390/char/sclp_cpi_sys.c:379: error: for each function it appears in.)
> drivers/s390/char/sclp_cpi_sys.c:385: error: implicit declaration of function `firmware_unregister'
> drivers/s390/char/sclp_cpi_sys.c: At top level:
> drivers/s390/char/sclp_cpi_sys.c:242: error: storage size of `system_name_attr' isn't known
> drivers/s390/char/sclp_cpi_sys.c:264: error: storage size of `sysplex_name_attr' isn't known
> drivers/s390/char/sclp_cpi_sys.c:287: error: storage size of `system_type_attr' isn't known
> drivers/s390/char/sclp_cpi_sys.c:317: error: storage size of `system_level_attr' isn't known
> drivers/s390/char/sclp_cpi_sys.c:333: error: storage size of `set_attr' isn't known
> make[2]: *** [drivers/s390/char/sclp_cpi_sys.o] Error 1
> make[1]: *** [drivers/s390/char] Error 2
> make: *** [drivers/s390] Error 2
>
> The patch git-s390.patch is causing this failure.

git-s390 newly adds that file. I suspect that this code works OK for the
s390 guys (they're using Linux). But Greg's driver tree basically ports
their driver to Gregnux, in which nothing works any more.

Greg, this is turning into a bit of a trainwreck. Can you please have a
think about how we can provide a bit of back-compatibility to ease this
transition rather than just trashing everything?

2007-11-06 20:30:41

by Badari Pulavarty

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

On Tue, 2007-11-06 at 02:33 -0800, [email protected] wrote:
> The mm snapshot broken-out-2007-11-06-02-32.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-11-06-02-32.tar.gz
>
> It contains the following patches against 2.6.24-rc1:


Getting OOPS on shutdown.

Unable to handle kernel paging request for data at address 0x600000040
Faulting instruction address: 0xc000000000341a68
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=32 NUMA pSeries
Modules linked in:
NIP: c000000000341a68 LR: c000000000341ab4 CTR: c0000000002e8904
REGS: c000000008403910 TRAP: 0300 Not tainted (2.6.24-rc1-mm1)
MSR: 8000000000009032 <EE,ME,IR,DR> CR: 24002444 XER: 20000001
DAR: 0000000600000040, DSISR: 0000000040000000
TASK = c00000000dff12a0[12966] 'reboot' THREAD: c000000008400000 CPU: 3
GPR00: c000000003131480 c000000008403b90 c00000000071cb38 c00000000331c000
GPR04: 0000000000000001 0000000000000000 c0000000007dac20 c00000000000f528
GPR08: c0000000031310a8 0000000600000000 c0000000031311a8 c00000000077c760
GPR12: 0000000044002428 c000000000648c80 0000000000000001 0000000000000000
GPR16: 000000001009ba50 0000000000000000 0000000010070000 0000000000000000
GPR20: 0000000000000000 0000000000000001 0000000000000000 0000000000000000
GPR24: 0000000000000001 0000000000000000 0000000000000000 0000000000004000
GPR28: 00000000fee1dead 0000000028121969 c0000000006b2368 c000000000621bd0
NIP [c000000000341a68] .device_shutdown+0x4c/0xd4
LR [c000000000341ab4] .device_shutdown+0x98/0xd4
Call Trace:
[c000000008403b90] [c000000000341ab4] .device_shutdown+0x98/0xd4 (unreliable)
[c000000008403c10] [c000000000067780] .kernel_restart+0x40/0x98
[c000000008403c90] [c0000000000679f4] .sys_reboot+0x214/0x25c
[c000000008403e30] [c00000000000852c] syscall_exit+0x0/0x40
Instruction dump:
60000000 60000000 e9690000 e92b0008 3909ff00 7fa95800 e9280108 3be9ff00
419e0080 e9280178 2fa90000 419e0014 <e9290040> 7d034378 2fa90000 409e0020


2007-11-06 20:40:58

by Andrew Morton

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

> On Tue, 06 Nov 2007 21:14:58 +0100 Gabriel C <[email protected]> wrote:
> After some hours uptime I got the following Oops :
>
> [15745.009673] BUG: unable to handle kernel paging request at virtual address 63383166

An all-ascii address: "c81f".

> [15745.009683] printing eip: c01c50a2 *pde = 00000000
> [15745.009692] Oops: 0002 [#1] SMP
> [15745.009699] last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:04:0b.0/irq
> [15745.009705] Modules linked in: fuse pc87360 hwmon_vid eeprom adm1021 ext4dev jbd2 crc16 loop lp intel_agp sr_mod agpgart 3c59x parport_pc iTCO_wdt mii parport iTCO_vendor_support cdrom i82860_edac watchdog_core edac_core dcdbas pcspkr i2c_i801 watchdog_dev shpchp evdev pci_hotplug
> [15745.009742]
> [15745.009746] Pid: 6277, comm: su Not tainted (2.6.24-rc1-mm1 #2)
> [15745.009751] EIP: 0060:[<c01c50a2>] EFLAGS: 00210206 CPU: 1
> [15745.009761] EIP is at kobject_add+0xae/0x160
> [15745.009765] EAX: c186c300 EBX: cf81a0b0 ECX: 63383166 EDX: cf81a0b8
> [15745.009769] ESI: cf81a0b0 EDI: cf81a0d0 EBP: c03b4bcc ESP: cfa37f40
> [15745.009773] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> [15745.009778] Process su (pid: 6277, ti=cfa36000 task=c354c000 task.ti=cfa36000)
> [15745.009781] Stack: fffffffe c186c30c cf81a080 cf81a0b0 cf81a0d0 c03b4bcc c011fba1 cf81a0b0
> [15745.009793] c0368fd1 00000013 cf81a080 cf81a080 00000013 00000000 c011fe94 00000013
> [15745.009804] 00000013 00000001 00000000 c0122e0d 00000013 00000000 09756508 c0124688
> [15745.009815] Call Trace:
> [15745.009820] [<c011fba1>] uids_user_create+0x41/0x5a
> [15745.009833] [<c011fe94>] alloc_uid+0xad/0x121
> [15745.009840] [<c0122e0d>] set_user+0x1d/0x93
> [15745.009847] [<c0124688>] sys_setuid+0x47/0xc5
> [15745.009855] [<c0103d32>] sysenter_past_esp+0x5f/0x85
> [15745.009868] =======================
> [15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
> [15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 0068:cfa37f40
>

Don't knowm sorry - we'll need to wait until someone can hit it more
reliably :(

2007-11-06 21:06:22

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - build failure - rpadlpar_sysfs

On Tue, Nov 06, 2007 at 10:19:28AM -0800, Badari Pulavarty wrote:
> On Tue, 2007-11-06 at 21:04 +0530, Kamalesh Babulal wrote:
> > Hi Andrew,
> >
> > The build fails with following error
> >
> > CC drivers/pci/hotplug/rpadlpar_sysfs.o
> > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj.parent')
> > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: initializer element is not constant
> > drivers/pci/hotplug/rpadlpar_sysfs.c:133: error: (near initialization for `dlpar_io_kset.kobj')
> > drivers/pci/hotplug/rpadlpar_sysfs.c:134: error: unknown field `ktype' specified in initializer
> > drivers/pci/hotplug/rpadlpar_sysfs.c:134: warning: initialization from incompatible pointer type
> > make[3]: *** [drivers/pci/hotplug/rpadlpar_sysfs.o] Error 1
> > make[2]: *** [drivers/pci/hotplug] Error 2
> > make[1]: *** [drivers/pci] Error 2
> > make: *** [drivers] Error 2
> >
> > The patch, gregkh-driver-kset-convert-pci-hotplug-to-use-kset_create_and_register.patch
> > is causing the build failure.
>
> Here is the fix (against 24-rc1 mm-brokenout). Can you try it ?

Yes, it will fix the basic build issue, but not the "my $DIETY, what are
you doing there!!!" type problem. I'll go work on that...

thanks,

greg k-h

2007-11-06 21:08:43

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

On Tue, Nov 06, 2007 at 01:40:52PM -0800, Andrew Morton wrote:
> > On Tue, 06 Nov 2007 21:14:58 +0100 Gabriel C <[email protected]> wrote:
> > After some hours uptime I got the following Oops :
> >
> > [15745.009673] BUG: unable to handle kernel paging request at virtual address 63383166
>
> An all-ascii address: "c81f".
>
> > [15745.009683] printing eip: c01c50a2 *pde = 00000000
> > [15745.009692] Oops: 0002 [#1] SMP
> > [15745.009699] last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:04:0b.0/irq
> > [15745.009705] Modules linked in: fuse pc87360 hwmon_vid eeprom adm1021 ext4dev jbd2 crc16 loop lp intel_agp sr_mod agpgart 3c59x parport_pc iTCO_wdt mii parport iTCO_vendor_support cdrom i82860_edac watchdog_core edac_core dcdbas pcspkr i2c_i801 watchdog_dev shpchp evdev pci_hotplug
> > [15745.009742]
> > [15745.009746] Pid: 6277, comm: su Not tainted (2.6.24-rc1-mm1 #2)
> > [15745.009751] EIP: 0060:[<c01c50a2>] EFLAGS: 00210206 CPU: 1
> > [15745.009761] EIP is at kobject_add+0xae/0x160
> > [15745.009765] EAX: c186c300 EBX: cf81a0b0 ECX: 63383166 EDX: cf81a0b8
> > [15745.009769] ESI: cf81a0b0 EDI: cf81a0d0 EBP: c03b4bcc ESP: cfa37f40
> > [15745.009773] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > [15745.009778] Process su (pid: 6277, ti=cfa36000 task=c354c000 task.ti=cfa36000)
> > [15745.009781] Stack: fffffffe c186c30c cf81a080 cf81a0b0 cf81a0d0 c03b4bcc c011fba1 cf81a0b0
> > [15745.009793] c0368fd1 00000013 cf81a080 cf81a080 00000013 00000000 c011fe94 00000013
> > [15745.009804] 00000013 00000001 00000000 c0122e0d 00000013 00000000 09756508 c0124688
> > [15745.009815] Call Trace:
> > [15745.009820] [<c011fba1>] uids_user_create+0x41/0x5a
> > [15745.009833] [<c011fe94>] alloc_uid+0xad/0x121
> > [15745.009840] [<c0122e0d>] set_user+0x1d/0x93
> > [15745.009847] [<c0124688>] sys_setuid+0x47/0xc5
> > [15745.009855] [<c0103d32>] sysenter_past_esp+0x5f/0x85
> > [15745.009868] =======================
> > [15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
> > [15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 0068:cfa37f40
> >
>
> Don't knowm sorry - we'll need to wait until someone can hit it more
> reliably :(

Ah, I have a fix for that, Kay found it. Do you want an add-on to your
tree, or a whole new version of one of the patches?

And it's pretty easy to hit, just start printing a lot of individual
files with a local printer to cups. My daughter showed me in painful
detail how easy it was... :)

thanks,

greg k-h

2007-11-06 21:14:40

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - S390x build fails

On Tue, Nov 06, 2007 at 01:10:37PM -0800, Andrew Morton wrote:
> > On Tue, 06 Nov 2007 20:40:02 +0530 Kamalesh Babulal <[email protected]> wrote:
> > drivers/s390/char/sclp_cpi_sys.c:242: error: storage size of `system_name_attr' isn't known
> > drivers/s390/char/sclp_cpi_sys.c:264: error: storage size of `sysplex_name_attr' isn't known
> > drivers/s390/char/sclp_cpi_sys.c:287: error: storage size of `system_type_attr' isn't known
> > drivers/s390/char/sclp_cpi_sys.c:317: error: storage size of `system_level_attr' isn't known
> > drivers/s390/char/sclp_cpi_sys.c:333: error: storage size of `set_attr' isn't known
> > make[2]: *** [drivers/s390/char/sclp_cpi_sys.o] Error 1
> > make[1]: *** [drivers/s390/char] Error 2
> > make: *** [drivers/s390] Error 2
> >
> > The patch git-s390.patch is causing this failure.
>
> git-s390 newly adds that file. I suspect that this code works OK for the
> s390 guys (they're using Linux). But Greg's driver tree basically ports
> their driver to Gregnux, in which nothing works any more.
>
> Greg, this is turning into a bit of a trainwreck. Can you please have a
> think about how we can provide a bit of back-compatibility to ease this
> transition rather than just trashing everything?

It's _always_ a trainwreck when I touch anything in the driver core,
look at how many individual patches it took to do a lot of this work
(50+ and still growing). My method is to introduce the new api, convert
everyone over to it, and then remove the old crappy one.

Now for dealing with external trees, I have _no_ visiblity into them for
the most part. I can't build s390 stuff (no cross compiler), so I can't
even test their changes.

But, there really should not be that many places that are touching these
types of things that I am currently changing (ksets and ktypes and
subsystems.)

So, how do I do this? Do I just not let my changes trickle into your
tree, and hold off until I merge them with Linus, hoping that me and Kay
have tested everything good enough? That way, no build ever should
break, but functionality might not be all working as well as it could
be.

Or we live with some breakage as you pull my stuff into your tree.

Either way, I'm glad to help fix the broken stuff, and I'm also glad to
take the responsibility for getting this all right the first time it
goes to Linus.

What do you think is best to do?

thanks,

greg k-h

2007-11-06 21:15:27

by Andrew Morton

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

> On Tue, 6 Nov 2007 13:07:12 -0800 Greg KH <[email protected]> wrote:
> > > [15745.009868] =======================
> > > [15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
> > > [15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 0068:cfa37f40
> > >
> >
> > Don't knowm sorry - we'll need to wait until someone can hit it more
> > reliably :(
>
> Ah, I have a fix for that, Kay found it. Do you want an add-on to your
> tree, or a whole new version of one of the patches?

Is OK, it looks like I need to resync everyone and undrop various
trees. A fix for perfmon would be nice.

It took five solid hours to get this lot vaguely compiling. 20-30
fix patches needed, several trees dropped, 5-10 patches dropped.

It is an altogether unimpressive performance.

2007-11-06 21:18:12

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

On Tue, Nov 06, 2007 at 11:32:29AM -0800, Badari Pulavarty wrote:
> On Tue, 2007-11-06 at 02:33 -0800, [email protected] wrote:
> > The mm snapshot broken-out-2007-11-06-02-32.tar.gz has been uploaded to
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-11-06-02-32.tar.gz
> >
> > It contains the following patches against 2.6.24-rc1:
>
>
> Getting OOPS on shutdown.

Yes, Corneila also reported this and I can duplicate it here. Am
working on narrowing it down...

thanks,

greg k-h

2007-11-06 21:34:17

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

On Tue, Nov 06, 2007 at 02:15:09PM -0800, Andrew Morton wrote:
> > On Tue, 6 Nov 2007 13:07:12 -0800 Greg KH <[email protected]> wrote:
> > > > [15745.009868] =======================
> > > > [15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
> > > > [15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 0068:cfa37f40
> > > >
> > >
> > > Don't knowm sorry - we'll need to wait until someone can hit it more
> > > reliably :(
> >
> > Ah, I have a fix for that, Kay found it. Do you want an add-on to your
> > tree, or a whole new version of one of the patches?
>
> Is OK, it looks like I need to resync everyone and undrop various
> trees. A fix for perfmon would be nice.
>
> It took five solid hours to get this lot vaguely compiling. 20-30
> fix patches needed, several trees dropped, 5-10 patches dropped.

Let me regenerate my tree, drop the block-device patch that you hate so
much, and then attack the perfmon code. Should be done in a few hours.

Sound ok?

thanks,

greg k-h

2007-11-06 21:34:52

by Andrew Morton

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - S390x build fails

> On Tue, 6 Nov 2007 13:13:45 -0800 Greg KH <[email protected]> wrote:
> On Tue, Nov 06, 2007 at 01:10:37PM -0800, Andrew Morton wrote:
> > > On Tue, 06 Nov 2007 20:40:02 +0530 Kamalesh Babulal <[email protected]> wrote:
> > > drivers/s390/char/sclp_cpi_sys.c:242: error: storage size of `system_name_attr' isn't known
> > > drivers/s390/char/sclp_cpi_sys.c:264: error: storage size of `sysplex_name_attr' isn't known
> > > drivers/s390/char/sclp_cpi_sys.c:287: error: storage size of `system_type_attr' isn't known
> > > drivers/s390/char/sclp_cpi_sys.c:317: error: storage size of `system_level_attr' isn't known
> > > drivers/s390/char/sclp_cpi_sys.c:333: error: storage size of `set_attr' isn't known
> > > make[2]: *** [drivers/s390/char/sclp_cpi_sys.o] Error 1
> > > make[1]: *** [drivers/s390/char] Error 2
> > > make: *** [drivers/s390] Error 2
> > >
> > > The patch git-s390.patch is causing this failure.
> >
> > git-s390 newly adds that file. I suspect that this code works OK for the
> > s390 guys (they're using Linux). But Greg's driver tree basically ports
> > their driver to Gregnux, in which nothing works any more.
> >
> > Greg, this is turning into a bit of a trainwreck. Can you please have a
> > think about how we can provide a bit of back-compatibility to ease this
> > transition rather than just trashing everything?
>
> It's _always_ a trainwreck when I touch anything in the driver core,
> look at how many individual patches it took to do a lot of this work
> (50+ and still growing). My method is to introduce the new api, convert
> everyone over to it, and then remove the old crappy one.
>
> Now for dealing with external trees, I have _no_ visiblity into them for
> the most part. I can't build s390 stuff (no cross compiler), so I can't
> even test their changes.
>
> But, there really should not be that many places that are touching these
> types of things that I am currently changing (ksets and ktypes and
> subsystems.)
>
> So, how do I do this? Do I just not let my changes trickle into your
> tree, and hold off until I merge them with Linus, hoping that me and Kay
> have tested everything good enough? That way, no build ever should
> break, but functionality might not be all working as well as it could
> be.
>
> Or we live with some breakage as you pull my stuff into your tree.
>
> Either way, I'm glad to help fix the broken stuff, and I'm also glad to
> take the responsibility for getting this all right the first time it
> goes to Linus.
>
> What do you think is best to do?
>

Leave the old interfaces in place, deprecate them, remove them later. If
at all possible.

2007-11-06 21:40:26

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded - S390x build fails

On Tue, Nov 06, 2007 at 02:33:44PM -0800, Andrew Morton wrote:
> > On Tue, 6 Nov 2007 13:13:45 -0800 Greg KH <[email protected]> wrote:
> > On Tue, Nov 06, 2007 at 01:10:37PM -0800, Andrew Morton wrote:
> > > > On Tue, 06 Nov 2007 20:40:02 +0530 Kamalesh Babulal <[email protected]> wrote:
> > > > drivers/s390/char/sclp_cpi_sys.c:242: error: storage size of `system_name_attr' isn't known
> > > > drivers/s390/char/sclp_cpi_sys.c:264: error: storage size of `sysplex_name_attr' isn't known
> > > > drivers/s390/char/sclp_cpi_sys.c:287: error: storage size of `system_type_attr' isn't known
> > > > drivers/s390/char/sclp_cpi_sys.c:317: error: storage size of `system_level_attr' isn't known
> > > > drivers/s390/char/sclp_cpi_sys.c:333: error: storage size of `set_attr' isn't known
> > > > make[2]: *** [drivers/s390/char/sclp_cpi_sys.o] Error 1
> > > > make[1]: *** [drivers/s390/char] Error 2
> > > > make: *** [drivers/s390] Error 2
> > > >
> > > > The patch git-s390.patch is causing this failure.
> > >
> > > git-s390 newly adds that file. I suspect that this code works OK for the
> > > s390 guys (they're using Linux). But Greg's driver tree basically ports
> > > their driver to Gregnux, in which nothing works any more.
> > >
> > > Greg, this is turning into a bit of a trainwreck. Can you please have a
> > > think about how we can provide a bit of back-compatibility to ease this
> > > transition rather than just trashing everything?
> >
> > It's _always_ a trainwreck when I touch anything in the driver core,
> > look at how many individual patches it took to do a lot of this work
> > (50+ and still growing). My method is to introduce the new api, convert
> > everyone over to it, and then remove the old crappy one.
> >
> > Now for dealing with external trees, I have _no_ visiblity into them for
> > the most part. I can't build s390 stuff (no cross compiler), so I can't
> > even test their changes.
> >
> > But, there really should not be that many places that are touching these
> > types of things that I am currently changing (ksets and ktypes and
> > subsystems.)
> >
> > So, how do I do this? Do I just not let my changes trickle into your
> > tree, and hold off until I merge them with Linus, hoping that me and Kay
> > have tested everything good enough? That way, no build ever should
> > break, but functionality might not be all working as well as it could
> > be.
> >
> > Or we live with some breakage as you pull my stuff into your tree.
> >
> > Either way, I'm glad to help fix the broken stuff, and I'm also glad to
> > take the responsibility for getting this all right the first time it
> > goes to Linus.
> >
> > What do you think is best to do?
> >
>
> Leave the old interfaces in place, deprecate them, remove them later. If
> at all possible.

It's usually not a matter of them being "interfaces" but structure
changes. The only way to slim these things down into something that
works properly (ksets being dynamic instead of static), and changing
the majority of these ksets into kobjects as ksets is not the correct
usage, doesn't lend themselves to being able to keep the old stuff
around anymore.

Almost all of these build problems are a simple one-line change in the
offending code, so it's not a tough change for me to do on stuff in your
tree.

thanks,

greg k-h

2007-11-06 21:41:26

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 - ACPI functions broken

Hi Andrew,

The kernel build fails, on powerpc while compiling the kernel with allyesconfig option

drivers/hwmon/w83627hf.c:1631: error: implicit declaration of function ?acpi_check_resource_conflict?
make[2]: *** [drivers/hwmon/w83627hf.o] Error 1
make[1]: *** [drivers/hwmon] Error 2
make: *** [drivers] Error 2
CC fs/xfs/xfs_error.o
drivers/hwmon/w83627hf.c:1631: error: implicit declaration of function ?acpi_check_resource_conflict?
make[2]: *** [drivers/hwmon/w83627hf.o] Error 1
make[1]: *** [drivers/hwmon] Error 2
make: *** [drivers] Error 2
drivers/i2c/busses/i2c-ali1535.c:163: error: implicit declaration of function ?acpi_check_region?
make[3]: *** [drivers/i2c/busses/i2c-ali1535.o] Error 1
make[2]: *** [drivers/i2c/busses] Error 2
make[1]: *** [drivers/i2c] Error 2
drivers/hwmon/dme1737.c:2231: error: implicit declaration of function ?acpi_check_resource_conflict?
make[2]: *** [drivers/hwmon/dme1737.o] Error 1
make[1]: *** [drivers/hwmon] Error 2
make: *** [drivers] Error 2

The patches check-for-acpi-resource-conflicts-in-hwmon-drivers and
check-for-acpi-resource-conflicts-in-i2c-bus-drivers.patch, causes this build failure.
The declaration of the functions are under ifdef CONFIG_ACPI.

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


Attachments:
config (76.12 kB)

2007-11-06 21:41:47

by Andrew Morton

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

> On Tue, 6 Nov 2007 13:33:26 -0800 Greg KH <[email protected]> wrote:
> On Tue, Nov 06, 2007 at 02:15:09PM -0800, Andrew Morton wrote:
> > > On Tue, 6 Nov 2007 13:07:12 -0800 Greg KH <[email protected]> wrote:
> > > > > [15745.009868] =======================
> > > > > [15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
> > > > > [15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 0068:cfa37f40
> > > > >
> > > >
> > > > Don't knowm sorry - we'll need to wait until someone can hit it more
> > > > reliably :(
> > >
> > > Ah, I have a fix for that, Kay found it. Do you want an add-on to your
> > > tree, or a whole new version of one of the patches?
> >
> > Is OK, it looks like I need to resync everyone and undrop various
> > trees. A fix for perfmon would be nice.
> >
> > It took five solid hours to get this lot vaguely compiling. 20-30
> > fix patches needed, several trees dropped, 5-10 patches dropped.
>
> Let me regenerate my tree, drop the block-device patch that you hate so
> much,

I don't "hate" it. It's just that it makes my ydl4.1 G5 no longer boot.
This is not an unreasonable objection...

> and then attack the perfmon code.

Would be good, thanks - I'll send you a diff.

> Should be done in a few hours.

I won't be pulling the trees again until Friday.

> Sound ok?
>

Thanks.

2007-11-06 21:51:53

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

On Tue, Nov 06, 2007 at 02:41:04PM -0800, Andrew Morton wrote:
> > On Tue, 6 Nov 2007 13:33:26 -0800 Greg KH <[email protected]> wrote:
> > On Tue, Nov 06, 2007 at 02:15:09PM -0800, Andrew Morton wrote:
> > > > On Tue, 6 Nov 2007 13:07:12 -0800 Greg KH <[email protected]> wrote:
> > > > > > [15745.009868] =======================
> > > > > > [15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
> > > > > > [15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 0068:cfa37f40
> > > > > >
> > > > >
> > > > > Don't knowm sorry - we'll need to wait until someone can hit it more
> > > > > reliably :(
> > > >
> > > > Ah, I have a fix for that, Kay found it. Do you want an add-on to your
> > > > tree, or a whole new version of one of the patches?
> > >
> > > Is OK, it looks like I need to resync everyone and undrop various
> > > trees. A fix for perfmon would be nice.
> > >
> > > It took five solid hours to get this lot vaguely compiling. 20-30
> > > fix patches needed, several trees dropped, 5-10 patches dropped.
> >
> > Let me regenerate my tree, drop the block-device patch that you hate so
> > much,
>
> I don't "hate" it. It's just that it makes my ydl4.1 G5 no longer boot.
> This is not an unreasonable objection...

Yes, fair enough, sorry :)

> > and then attack the perfmon code.
>
> Would be good, thanks - I'll send you a diff.

Got it, thanks.

> > Should be done in a few hours.
>
> I won't be pulling the trees again until Friday.

Ok, thanks for the warning.

greg k-h

2007-11-07 12:28:18

by Jean Delvare

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 - ACPI functions broken

Hi Kamalesh,

Le mardi 06 novembre 2007, Kamalesh Babulal a écrit :
> Hi Andrew,
>
> The kernel build fails, on powerpc while compiling the kernel with allyesconfig option
>
> drivers/hwmon/w83627hf.c:1631: error: implicit declaration of function ‘acpi_check_resource_conflict’
> make[2]: *** [drivers/hwmon/w83627hf.o] Error 1
> make[1]: *** [drivers/hwmon] Error 2
> make: *** [drivers] Error 2
> CC fs/xfs/xfs_error.o
> drivers/hwmon/w83627hf.c:1631: error: implicit declaration of function ‘acpi_check_resource_conflict’
> make[2]: *** [drivers/hwmon/w83627hf.o] Error 1
> make[1]: *** [drivers/hwmon] Error 2
> make: *** [drivers] Error 2
> drivers/i2c/busses/i2c-ali1535.c:163: error: implicit declaration of function ‘acpi_check_region’
> make[3]: *** [drivers/i2c/busses/i2c-ali1535.o] Error 1
> make[2]: *** [drivers/i2c/busses] Error 2
> make[1]: *** [drivers/i2c] Error 2
> drivers/hwmon/dme1737.c:2231: error: implicit declaration of function ‘acpi_check_resource_conflict’
> make[2]: *** [drivers/hwmon/dme1737.o] Error 1
> make[1]: *** [drivers/hwmon] Error 2
> make: *** [drivers] Error 2

Odd. Thanks for reporting.

> The patches check-for-acpi-resource-conflicts-in-hwmon-drivers and
> check-for-acpi-resource-conflicts-in-i2c-bus-drivers.patch, causes this build failure.
> The declaration of the functions are under ifdef CONFIG_ACPI.

There's an #else after that, and the functions are defined as inlines
doing nothing in the non-ACPI case. The code looks OK to me, but I can
reproduce the problem on x86_64 with CONFIG_ACPI=n.

Aha, I see it now, there are nested #ifdef CONFIG_ACPI in acpi.h,
so the inner one is a no-op (and its #else counterpart is never
evaluated.) That's pretty confusing, I'll send a patch fixing this.

In the meantime, here's a quick fix so that you can go on testing
the mm snapshot. Apply this at the top of the series:

Fix the <linux/acpi.h> breakage for CONFIG_ACPI=n.

Signed-off-by: Jean Delvare <[email protected]>
---
include/linux/acpi.h | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)

--- linux-2.6.24-rc1.orig/include/linux/acpi.h 2007-11-07 12:45:47.000000000 +0100
+++ linux-2.6.24-rc1/include/linux/acpi.h 2007-11-07 13:23:06.000000000 +0100
@@ -26,6 +26,7 @@
#define _LINUX_ACPI_H


+#include <linux/ioport.h>
#ifdef CONFIG_ACPI

#ifndef _LINUX
@@ -134,17 +135,6 @@ int acpi_check_mem_region(resource_size_

#define acpi_mp_config 0

-static inline int acpi_check_resource_conflict(struct resource *res)
-{ return 0; }
-
-static inline int acpi_check_region(resource_size_t start, resource_size_t n,
- const char *name)
-{ return 0; }
-
-static inline int acpi_check_mem_region(resource_size_t start,
- resource_size_t n, const char *name)
-{ return 0; }
-
#endif /* !CONFIG_ACPI */

int acpi_register_gsi (u32 gsi, int triggering, int polarity);
@@ -239,5 +229,16 @@ static inline int acpi_boot_table_init(v
return 0;
}

+static inline int acpi_check_resource_conflict(struct resource *res)
+{ return 0; }
+
+static inline int acpi_check_region(resource_size_t start, resource_size_t n,
+ const char *name)
+{ return 0; }
+
+static inline int acpi_check_mem_region(resource_size_t start,
+ resource_size_t n, const char *name)
+{ return 0; }
+
#endif /* CONFIG_ACPI */
#endif /*_LINUX_ACPI_H*/


--
Jean Delvare
Suse L3

2007-11-07 17:14:13

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 - ACPI functions broken

Jean Delvare wrote:
> Hi Kamalesh,
>
> Le mardi 06 novembre 2007, Kamalesh Babulal a écrit :
>> Hi Andrew,
>>
>> The kernel build fails, on powerpc while compiling the kernel with allyesconfig option
>>
>> drivers/hwmon/w83627hf.c:1631: error: implicit declaration of function ‘acpi_check_resource_conflict’
>> make[2]: *** [drivers/hwmon/w83627hf.o] Error 1
>> make[1]: *** [drivers/hwmon] Error 2
>> make: *** [drivers] Error 2
>> CC fs/xfs/xfs_error.o
>> drivers/hwmon/w83627hf.c:1631: error: implicit declaration of function ‘acpi_check_resource_conflict’
>> make[2]: *** [drivers/hwmon/w83627hf.o] Error 1
>> make[1]: *** [drivers/hwmon] Error 2
>> make: *** [drivers] Error 2
>> drivers/i2c/busses/i2c-ali1535.c:163: error: implicit declaration of function ‘acpi_check_region’
>> make[3]: *** [drivers/i2c/busses/i2c-ali1535.o] Error 1
>> make[2]: *** [drivers/i2c/busses] Error 2
>> make[1]: *** [drivers/i2c] Error 2
>> drivers/hwmon/dme1737.c:2231: error: implicit declaration of function ‘acpi_check_resource_conflict’
>> make[2]: *** [drivers/hwmon/dme1737.o] Error 1
>> make[1]: *** [drivers/hwmon] Error 2
>> make: *** [drivers] Error 2
>
> Odd. Thanks for reporting.
>
>> The patches check-for-acpi-resource-conflicts-in-hwmon-drivers and
>> check-for-acpi-resource-conflicts-in-i2c-bus-drivers.patch, causes this build failure.
>> The declaration of the functions are under ifdef CONFIG_ACPI.
>
> There's an #else after that, and the functions are defined as inlines
> doing nothing in the non-ACPI case. The code looks OK to me, but I can
> reproduce the problem on x86_64 with CONFIG_ACPI=n.
>
> Aha, I see it now, there are nested #ifdef CONFIG_ACPI in acpi.h,
> so the inner one is a no-op (and its #else counterpart is never
> evaluated.) That's pretty confusing, I'll send a patch fixing this.
>
> In the meantime, here's a quick fix so that you can go on testing
> the mm snapshot. Apply this at the top of the series:
>
> Fix the <linux/acpi.h> breakage for CONFIG_ACPI=n.
>
> Signed-off-by: Jean Delvare <[email protected]>
> ---
> include/linux/acpi.h | 23 ++++++++++++-----------
> 1 file changed, 12 insertions(+), 11 deletions(-)
>
> --- linux-2.6.24-rc1.orig/include/linux/acpi.h 2007-11-07 12:45:47.000000000 +0100
> +++ linux-2.6.24-rc1/include/linux/acpi.h 2007-11-07 13:23:06.000000000 +0100
> @@ -26,6 +26,7 @@
> #define _LINUX_ACPI_H
>
>
> +#include <linux/ioport.h>
> #ifdef CONFIG_ACPI
>
> #ifndef _LINUX
> @@ -134,17 +135,6 @@ int acpi_check_mem_region(resource_size_
>
> #define acpi_mp_config 0
>
> -static inline int acpi_check_resource_conflict(struct resource *res)
> -{ return 0; }
> -
> -static inline int acpi_check_region(resource_size_t start, resource_size_t n,
> - const char *name)
> -{ return 0; }
> -
> -static inline int acpi_check_mem_region(resource_size_t start,
> - resource_size_t n, const char *name)
> -{ return 0; }
> -
> #endif /* !CONFIG_ACPI */
>
> int acpi_register_gsi (u32 gsi, int triggering, int polarity);
> @@ -239,5 +229,16 @@ static inline int acpi_boot_table_init(v
> return 0;
> }
>
> +static inline int acpi_check_resource_conflict(struct resource *res)
> +{ return 0; }
> +
> +static inline int acpi_check_region(resource_size_t start, resource_size_t n,
> + const char *name)
> +{ return 0; }
> +
> +static inline int acpi_check_mem_region(resource_size_t start,
> + resource_size_t n, const char *name)
> +{ return 0; }
> +
> #endif /* CONFIG_ACPI */
> #endif /*_LINUX_ACPI_H*/
>
>
Hi Jean,

Thanks for the quick fix.

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

2007-11-07 18:38:52

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 build failure init/do_mount

Hi Andrew,

The kernel build fails with randconfig, with folllowing error

init/do_mounts.c: In function ?name_to_dev_t?:
init/do_mounts.c:110: error: implicit declaration of function ?blk_lookup_devt?
make[1]: *** [init/do_mounts.o] Error 1
make: *** [init] Error 2

This is caused by gregkh-driver-block-device.patch, where the function
blk_lookup_devt is declared within #ifdef CONFIG_BLOCK and randconfig has
not set the CONFIG_BLOCK it.

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

2007-11-07 19:57:18

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 build failure !CONFIG_PCI

Hi Andrew,

The kernel build fails with randconfig, with following error

CC drivers/video/chipsfb.o
drivers/video/chipsfb.c: In function ?chipsfb_pci_init?:
drivers/video/chipsfb.c:378: error: implicit declaration of function ?pci_request_region?
drivers/video/chipsfb.c:435: error: implicit declaration of function ?pci_release_region?
make[2]: *** [drivers/video/chipsfb.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

!CONFIG_PCI causes the build to fail.

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


Attachments:
config (23.70 kB)

2007-11-07 20:22:26

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 powerpc - axon_msi build faliure

Hi Andrew,

The kernel build fails with randconfig, with folllowing error

CC arch/powerpc/platforms/cell/axon_msi.o
arch/powerpc/platforms/cell/axon_msi.c:69: error: expected specifier-qualifier-list before ?dcr_host_t?
arch/powerpc/platforms/cell/axon_msi.c: In function ?msic_dcr_write?:
arch/powerpc/platforms/cell/axon_msi.c:80: error: implicit declaration of function ?dcr_write?
arch/powerpc/platforms/cell/axon_msi.c:80: error: ?struct axon_msic? has no member named ?dcr_host?
arch/powerpc/platforms/cell/axon_msi.c: In function ?axon_msi_cascade?:
arch/powerpc/platforms/cell/axon_msi.c:89: error: implicit declaration of function ?dcr_read?
arch/powerpc/platforms/cell/axon_msi.c:89: error: ?struct axon_msic? has no member named ?dcr_host?
arch/powerpc/platforms/cell/axon_msi.c:95: error: ?struct axon_msic? has no member named ?read_offset?
arch/powerpc/platforms/cell/axon_msi.c:96: error: ?struct axon_msic? has no member named ?read_offset?
arch/powerpc/platforms/cell/axon_msi.c:101: error: ?struct axon_msic? has no member named ?read_offset?
arch/powerpc/platforms/cell/axon_msi.c:103: error: ?struct axon_msic? has no member named ?read_offset?
arch/powerpc/platforms/cell/axon_msi.c:104: error: ?struct axon_msic? has no member named ?read_offset?
arch/powerpc/platforms/cell/axon_msi.c: In function ?axon_msi_notify_reboot?:
arch/powerpc/platforms/cell/axon_msi.c:301: error: ?struct axon_msic? has no member named ?list?
arch/powerpc/platforms/cell/axon_msi.c:301: warning: type defaults to ?int? in declaration of ?__mptr?
arch/powerpc/platforms/cell/axon_msi.c:301: warning: initialization from incompatible pointer type
arch/powerpc/platforms/cell/axon_msi.c:301: error: ?struct axon_msic? has no member named ?list?
arch/powerpc/platforms/cell/axon_msi.c:301: error: ?struct axon_msic? has no member named ?list?
arch/powerpc/platforms/cell/axon_msi.c:301: error: ?struct axon_msic? has no member named ?list?
arch/powerpc/platforms/cell/axon_msi.c:301: error: ?struct axon_msic? has no member named ?list?
arch/powerpc/platforms/cell/axon_msi.c:301: warning: type defaults to ?int? in declaration of ?__mptr?
arch/powerpc/platforms/cell/axon_msi.c:301: error: ?struct axon_msic? has no member named ?list?
arch/powerpc/platforms/cell/axon_msi.c:301: error: ?struct axon_msic? has no member named ?list?
arch/powerpc/platforms/cell/axon_msi.c:304: error: ?struct axon_msic? has no member named ?dcr_host?
arch/powerpc/platforms/cell/axon_msi.c: In function ?axon_msi_setup_one?:
arch/powerpc/platforms/cell/axon_msi.c:332: error: implicit declaration of function ?dcr_resource_start?
arch/powerpc/platforms/cell/axon_msi.c:333: error: implicit declaration of function ?dcr_resource_len?
arch/powerpc/platforms/cell/axon_msi.c:342: error: ?struct axon_msic? has no member named ?dcr_host?
arch/powerpc/platforms/cell/axon_msi.c:342: error: implicit declaration of function ?dcr_map?
arch/powerpc/platforms/cell/axon_msi.c:343: error: implicit declaration of function ?DCR_MAP_OK?
arch/powerpc/platforms/cell/axon_msi.c:343: error: ?struct axon_msic? has no member named ?dcr_host?
arch/powerpc/platforms/cell/axon_msi.c:388: error: ?struct axon_msic? has no member named ?list?
make[2]: *** [arch/powerpc/platforms/cell/axon_msi.o] Error 1
make[1]: *** [arch/powerpc/platforms/cell] Error 2
make: *** [arch/powerpc/platforms] Error 2

This is because of the #ifdef CONFIG_PPC_DCR in the asm-powerpc/dcr.h.

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

2007-11-07 20:30:25

by Benjamin Herrenschmidt

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 powerpc - axon_msi build faliure


On Thu, 2007-11-08 at 01:22 +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The kernel build fails with randconfig, with folllowing error

Why cares about randconfig crap ? I don't much. Especially not if you
don't provide the actual config that triggered the error.

> CC arch/powerpc/platforms/cell/axon_msi.o
> arch/powerpc/platforms/cell/axon_msi.c:69: error: expected specifier-qualifier-list before ‘dcr_host_t’
> arch/powerpc/platforms/cell/axon_msi.c: In function ‘msic_dcr_write’:
> arch/powerpc/platforms/cell/axon_msi.c:80: error: implicit declaration of function ‘dcr_write’
> arch/powerpc/platforms/cell/axon_msi.c:80: error: ‘struct axon_msic’ has no member named ‘dcr_host’
> arch/powerpc/platforms/cell/axon_msi.c: In function ‘axon_msi_cascade’:
> arch/powerpc/platforms/cell/axon_msi.c:89: error: implicit declaration of function ‘dcr_read’
> arch/powerpc/platforms/cell/axon_msi.c:89: error: ‘struct axon_msic’ has no member named ‘dcr_host’
> arch/powerpc/platforms/cell/axon_msi.c:95: error: ‘struct axon_msic’ has no member named ‘read_offset’
> arch/powerpc/platforms/cell/axon_msi.c:96: error: ‘struct axon_msic’ has no member named ‘read_offset’
> arch/powerpc/platforms/cell/axon_msi.c:101: error: ‘struct axon_msic’ has no member named ‘read_offset’
> arch/powerpc/platforms/cell/axon_msi.c:103: error: ‘struct axon_msic’ has no member named ‘read_offset’
> arch/powerpc/platforms/cell/axon_msi.c:104: error: ‘struct axon_msic’ has no member named ‘read_offset’
> arch/powerpc/platforms/cell/axon_msi.c: In function ‘axon_msi_notify_reboot’:
> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
> arch/powerpc/platforms/cell/axon_msi.c:301: warning: type defaults to ‘int’ in declaration of ‘__mptr’
> arch/powerpc/platforms/cell/axon_msi.c:301: warning: initialization from incompatible pointer type
> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
> arch/powerpc/platforms/cell/axon_msi.c:301: warning: type defaults to ‘int’ in declaration of ‘__mptr’
> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
> arch/powerpc/platforms/cell/axon_msi.c:304: error: ‘struct axon_msic’ has no member named ‘dcr_host’
> arch/powerpc/platforms/cell/axon_msi.c: In function ‘axon_msi_setup_one’:
> arch/powerpc/platforms/cell/axon_msi.c:332: error: implicit declaration of function ‘dcr_resource_start’
> arch/powerpc/platforms/cell/axon_msi.c:333: error: implicit declaration of function ‘dcr_resource_len’
> arch/powerpc/platforms/cell/axon_msi.c:342: error: ‘struct axon_msic’ has no member named ‘dcr_host’
> arch/powerpc/platforms/cell/axon_msi.c:342: error: implicit declaration of function ‘dcr_map’
> arch/powerpc/platforms/cell/axon_msi.c:343: error: implicit declaration of function ‘DCR_MAP_OK’
> arch/powerpc/platforms/cell/axon_msi.c:343: error: ‘struct axon_msic’ has no member named ‘dcr_host’
> arch/powerpc/platforms/cell/axon_msi.c:388: error: ‘struct axon_msic’ has no member named ‘list’
> make[2]: *** [arch/powerpc/platforms/cell/axon_msi.o] Error 1
> make[1]: *** [arch/powerpc/platforms/cell] Error 2
> make: *** [arch/powerpc/platforms] Error 2
>
> This is because of the #ifdef CONFIG_PPC_DCR in the asm-powerpc/dcr.h.
>

2007-11-07 20:35:53

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 powerpc - axon_msi build faliure

Benjamin Herrenschmidt wrote:
> On Thu, 2007-11-08 at 01:22 +0530, Kamalesh Babulal wrote:
>> Hi Andrew,
>>
>> The kernel build fails with randconfig, with folllowing error
>
> Why cares about randconfig crap ? I don't much. Especially not if you
> don't provide the actual config that triggered the error.

Sorry, for not attaching, the file. Have attached the .config file.
>
>> CC arch/powerpc/platforms/cell/axon_msi.o
>> arch/powerpc/platforms/cell/axon_msi.c:69: error: expected specifier-qualifier-list before ‘dcr_host_t’
>> arch/powerpc/platforms/cell/axon_msi.c: In function ‘msic_dcr_write’:
>> arch/powerpc/platforms/cell/axon_msi.c:80: error: implicit declaration of function ‘dcr_write’
>> arch/powerpc/platforms/cell/axon_msi.c:80: error: ‘struct axon_msic’ has no member named ‘dcr_host’
>> arch/powerpc/platforms/cell/axon_msi.c: In function ‘axon_msi_cascade’:
>> arch/powerpc/platforms/cell/axon_msi.c:89: error: implicit declaration of function ‘dcr_read’
>> arch/powerpc/platforms/cell/axon_msi.c:89: error: ‘struct axon_msic’ has no member named ‘dcr_host’
>> arch/powerpc/platforms/cell/axon_msi.c:95: error: ‘struct axon_msic’ has no member named ‘read_offset’
>> arch/powerpc/platforms/cell/axon_msi.c:96: error: ‘struct axon_msic’ has no member named ‘read_offset’
>> arch/powerpc/platforms/cell/axon_msi.c:101: error: ‘struct axon_msic’ has no member named ‘read_offset’
>> arch/powerpc/platforms/cell/axon_msi.c:103: error: ‘struct axon_msic’ has no member named ‘read_offset’
>> arch/powerpc/platforms/cell/axon_msi.c:104: error: ‘struct axon_msic’ has no member named ‘read_offset’
>> arch/powerpc/platforms/cell/axon_msi.c: In function ‘axon_msi_notify_reboot’:
>> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
>> arch/powerpc/platforms/cell/axon_msi.c:301: warning: type defaults to ‘int’ in declaration of ‘__mptr’
>> arch/powerpc/platforms/cell/axon_msi.c:301: warning: initialization from incompatible pointer type
>> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
>> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
>> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
>> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
>> arch/powerpc/platforms/cell/axon_msi.c:301: warning: type defaults to ‘int’ in declaration of ‘__mptr’
>> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
>> arch/powerpc/platforms/cell/axon_msi.c:301: error: ‘struct axon_msic’ has no member named ‘list’
>> arch/powerpc/platforms/cell/axon_msi.c:304: error: ‘struct axon_msic’ has no member named ‘dcr_host’
>> arch/powerpc/platforms/cell/axon_msi.c: In function ‘axon_msi_setup_one’:
>> arch/powerpc/platforms/cell/axon_msi.c:332: error: implicit declaration of function ‘dcr_resource_start’
>> arch/powerpc/platforms/cell/axon_msi.c:333: error: implicit declaration of function ‘dcr_resource_len’
>> arch/powerpc/platforms/cell/axon_msi.c:342: error: ‘struct axon_msic’ has no member named ‘dcr_host’
>> arch/powerpc/platforms/cell/axon_msi.c:342: error: implicit declaration of function ‘dcr_map’
>> arch/powerpc/platforms/cell/axon_msi.c:343: error: implicit declaration of function ‘DCR_MAP_OK’
>> arch/powerpc/platforms/cell/axon_msi.c:343: error: ‘struct axon_msic’ has no member named ‘dcr_host’
>> arch/powerpc/platforms/cell/axon_msi.c:388: error: ‘struct axon_msic’ has no member named ‘list’
>> make[2]: *** [arch/powerpc/platforms/cell/axon_msi.o] Error 1
>> make[1]: *** [arch/powerpc/platforms/cell] Error 2
>> make: *** [arch/powerpc/platforms] Error 2
>>
>> This is because of the #ifdef CONFIG_PPC_DCR in the asm-powerpc/dcr.h.
>>
>


--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


Attachments:
config (28.16 kB)

2007-11-07 20:38:17

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 build failure init/do_mount

On Thu, Nov 08, 2007 at 12:07:06AM +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The kernel build fails with randconfig, with folllowing error
>
> init/do_mounts.c: In function ‘name_to_dev_t’:
> init/do_mounts.c:110: error: implicit declaration of function ‘blk_lookup_devt’
> make[1]: *** [init/do_mounts.o] Error 1
> make: *** [init] Error 2
>
> This is caused by gregkh-driver-block-device.patch, where the function
> blk_lookup_devt is declared within #ifdef CONFIG_BLOCK and randconfig has
> not set the CONFIG_BLOCK it.

That patch has been pulled for the next -mm releases.

thanks,

greg k-h

2007-11-07 20:57:56

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 build failure - !CONFIG_PPC_ISERIES

Hi Andrew,

The kernel build fails with randconfig, with following error

CC arch/powerpc/platforms/celleb/setup.o
arch/powerpc/platforms/celleb/setup.c:151: error: ?generic_calibrate_decr? undeclared here (not in a function)
make[2]: *** [arch/powerpc/platforms/celleb/setup.o] Error 1
make[1]: *** [arch/powerpc/platforms/celleb] Error 2
make: *** [arch/powerpc/platforms] Error 2

This is caused by the include file asm-powerpc/time.h, where the function
goes missing when the CONFIG_PPC_ISERIES option is disabled.
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


Attachments:
config (28.16 kB)

2007-11-07 21:12:33

by Kamalesh Babulal

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 make header check fails

Hi Andrew,

The build fails with error

CHECK include/asm-generic/siginfo.h
CHECK include/asm-generic/resource.h
CHECK include/asm-generic/statfs.h
CHECK include/asm-generic/signal.h
CHECK include/asm-generic/poll.h
CHECK include/asm-generic/mman.h
CHECK include/asm-generic/ioctl.h
CHECK include/asm-generic/fcntl.h
CHECK include/asm-generic/errno.h
CHECK include/asm-generic/errno-base.h
CHECK include/asm/cputable.h
CHECK include/asm/byteorder.h
CHECK include/asm/bootx.h
CHECK include/asm/auxvec.h
CHECK include/asm/asm-compat.h
CHECK include/asm/a.out.h
CHECK include/asm/ucontext.h
CHECK include/asm/ps3fb.h
CHECK include/asm/linkage.h
CHECK include/asm/elf.h
/home/test/kernels/linux-2.6.24-rc1/patches/linux-2.6.24-rc1/usr/include/asm/elf.h requires asm/page.h, which does not exist in exported headers
make[3]: *** [/home/test/kernels/linux-2.6.24-rc1/patches/linux-2.6.24-rc1/usr/include/asm/.check.elf.h] Error 1
make[2]: *** [asm-powerpc] Error 2
make[1]: *** [headers_check] Error 2
make: *** [vmlinux] Error 2


The patch unexport-asm-pageh.patch might be causing the failure.
This one was discussed on http://lkml.org/lkml/2007/1/4/336
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

2007-11-07 21:17:52

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] chipsfb: uses/depends on PCI

From: Randy Dunlap <[email protected]>

chipsfb uses PCI interfaces and should depend on PCI.

CC drivers/video/chipsfb.o
drivers/video/chipsfb.c: In function 'chipsfb_pci_init':
drivers/video/chipsfb.c:378: error: implicit declaration of function 'pci_request_region'
drivers/video/chipsfb.c:435: error: implicit declaration of function 'pci_release_region'
make[2]: *** [drivers/video/chipsfb.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

!CONFIG_PCI causes the build to fail.

Signed-off-by: Randy Dunlap <[email protected]>
---
drivers/video/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2624-rc1-mmbo.orig/drivers/video/Kconfig
+++ linux-2624-rc1-mmbo/drivers/video/Kconfig
@@ -503,7 +503,7 @@ config FB_VALKYRIE

config FB_CT65550
bool "Chips 65550 display support"
- depends on (FB = y) && PPC32
+ depends on (FB = y) && PPC32 && PCI
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT

2007-11-07 21:56:59

by Andrew Morton

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 make header check fails

> On Thu, 08 Nov 2007 02:12:40 +0530 Kamalesh Babulal <[email protected]> wrote:
> Hi Andrew,
>
> The build fails with error
>
> CHECK include/asm-generic/siginfo.h
> CHECK include/asm-generic/resource.h
> CHECK include/asm-generic/statfs.h
> CHECK include/asm-generic/signal.h
> CHECK include/asm-generic/poll.h
> CHECK include/asm-generic/mman.h
> CHECK include/asm-generic/ioctl.h
> CHECK include/asm-generic/fcntl.h
> CHECK include/asm-generic/errno.h
> CHECK include/asm-generic/errno-base.h
> CHECK include/asm/cputable.h
> CHECK include/asm/byteorder.h
> CHECK include/asm/bootx.h
> CHECK include/asm/auxvec.h
> CHECK include/asm/asm-compat.h
> CHECK include/asm/a.out.h
> CHECK include/asm/ucontext.h
> CHECK include/asm/ps3fb.h
> CHECK include/asm/linkage.h
> CHECK include/asm/elf.h
> /home/test/kernels/linux-2.6.24-rc1/patches/linux-2.6.24-rc1/usr/include/asm/elf.h requires asm/page.h, which does not exist in exported headers
> make[3]: *** [/home/test/kernels/linux-2.6.24-rc1/patches/linux-2.6.24-rc1/usr/include/asm/.check.elf.h] Error 1
> make[2]: *** [asm-powerpc] Error 2
> make[1]: *** [headers_check] Error 2
> make: *** [vmlinux] Error 2
>

I am going to guess that you're building for powerpc here.

It looks like ia64 broke too. I'll drop the patch, thanks.

2007-11-08 02:27:50

by Tony Breeds

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32 build failure - !CONFIG_PPC_ISERIES

On Thu, Nov 08, 2007 at 02:27:07AM +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The kernel build fails with randconfig, with following error
>
> CC arch/powerpc/platforms/celleb/setup.o
> arch/powerpc/platforms/celleb/setup.c:151: error: ‘generic_calibrate_decr’ undeclared here (not in a function)
> make[2]: *** [arch/powerpc/platforms/celleb/setup.o] Error 1
> make[1]: *** [arch/powerpc/platforms/celleb] Error 2
> make: *** [arch/powerpc/platforms] Error 2


I think you need this patch:
http://patchwork.ozlabs.org/linuxppc/patch?q=Tony%20Breeds&id=14462

Yours Tony

linux.conf.au http://linux.conf.au/ || http://lca2008.linux.org.au/
Jan 28 - Feb 02 2008 The Australian Linux Technical Conference!

2007-11-12 20:17:46

by Serge E. Hallyn

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

Quoting Greg KH ([email protected]):
> On Tue, Nov 06, 2007 at 01:40:52PM -0800, Andrew Morton wrote:
> > > On Tue, 06 Nov 2007 21:14:58 +0100 Gabriel C <[email protected]> wrote:
> > > After some hours uptime I got the following Oops :
> > >
> > > [15745.009673] BUG: unable to handle kernel paging request at virtual address 63383166
> >
> > An all-ascii address: "c81f".
> >
> > > [15745.009683] printing eip: c01c50a2 *pde = 00000000
> > > [15745.009692] Oops: 0002 [#1] SMP
> > > [15745.009699] last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:04:0b.0/irq
> > > [15745.009705] Modules linked in: fuse pc87360 hwmon_vid eeprom adm1021 ext4dev jbd2 crc16 loop lp intel_agp sr_mod agpgart 3c59x parport_pc iTCO_wdt mii parport iTCO_vendor_support cdrom i82860_edac watchdog_core edac_core dcdbas pcspkr i2c_i801 watchdog_dev shpchp evdev pci_hotplug
> > > [15745.009742]
> > > [15745.009746] Pid: 6277, comm: su Not tainted (2.6.24-rc1-mm1 #2)
> > > [15745.009751] EIP: 0060:[<c01c50a2>] EFLAGS: 00210206 CPU: 1
> > > [15745.009761] EIP is at kobject_add+0xae/0x160
> > > [15745.009765] EAX: c186c300 EBX: cf81a0b0 ECX: 63383166 EDX: cf81a0b8
> > > [15745.009769] ESI: cf81a0b0 EDI: cf81a0d0 EBP: c03b4bcc ESP: cfa37f40
> > > [15745.009773] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > > [15745.009778] Process su (pid: 6277, ti=cfa36000 task=c354c000 task.ti=cfa36000)
> > > [15745.009781] Stack: fffffffe c186c30c cf81a080 cf81a0b0 cf81a0d0 c03b4bcc c011fba1 cf81a0b0
> > > [15745.009793] c0368fd1 00000013 cf81a080 cf81a080 00000013 00000000 c011fe94 00000013
> > > [15745.009804] 00000013 00000001 00000000 c0122e0d 00000013 00000000 09756508 c0124688
> > > [15745.009815] Call Trace:
> > > [15745.009820] [<c011fba1>] uids_user_create+0x41/0x5a
> > > [15745.009833] [<c011fe94>] alloc_uid+0xad/0x121
> > > [15745.009840] [<c0122e0d>] set_user+0x1d/0x93
> > > [15745.009847] [<c0124688>] sys_setuid+0x47/0xc5
> > > [15745.009855] [<c0103d32>] sysenter_past_esp+0x5f/0x85
> > > [15745.009868] =======================
> > > [15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
> > > [15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 0068:cfa37f40
> > >
> >
> > Don't knowm sorry - we'll need to wait until someone can hit it more
> > reliably :(
>
> Ah, I have a fix for that, Kay found it. Do you want an add-on to your

(Sorry, it feels like there must be an obvious place to look for it, but
I can't seem to find it...)

Was the fix ever posted? If it isn't completely obsolete could you
please send it?

> tree, or a whole new version of one of the patches?
>
> And it's pretty easy to hit, just start printing a lot of individual
> files with a local printer to cups. My daughter showed me in painful
> detail how easy it was... :)

thanks,
-serge

2007-11-16 21:05:34

by Greg KH

[permalink] [raw]
Subject: Re: mm snapshot broken-out-2007-11-06-02-32.tar.gz uploaded

On Mon, Nov 12, 2007 at 02:17:36PM -0600, Serge E. Hallyn wrote:
> Quoting Greg KH ([email protected]):
> > On Tue, Nov 06, 2007 at 01:40:52PM -0800, Andrew Morton wrote:
> > > > On Tue, 06 Nov 2007 21:14:58 +0100 Gabriel C <[email protected]> wrote:
> > > > After some hours uptime I got the following Oops :
> > > >
> > > > [15745.009673] BUG: unable to handle kernel paging request at virtual address 63383166
> > >
> > > An all-ascii address: "c81f".
> > >
> > > > [15745.009683] printing eip: c01c50a2 *pde = 00000000
> > > > [15745.009692] Oops: 0002 [#1] SMP
> > > > [15745.009699] last sysfs file: /sys/devices/pci0000:00/0000:00:1e.0/0000:04:0b.0/irq
> > > > [15745.009705] Modules linked in: fuse pc87360 hwmon_vid eeprom adm1021 ext4dev jbd2 crc16 loop lp intel_agp sr_mod agpgart 3c59x parport_pc iTCO_wdt mii parport iTCO_vendor_support cdrom i82860_edac watchdog_core edac_core dcdbas pcspkr i2c_i801 watchdog_dev shpchp evdev pci_hotplug
> > > > [15745.009742]
> > > > [15745.009746] Pid: 6277, comm: su Not tainted (2.6.24-rc1-mm1 #2)
> > > > [15745.009751] EIP: 0060:[<c01c50a2>] EFLAGS: 00210206 CPU: 1
> > > > [15745.009761] EIP is at kobject_add+0xae/0x160
> > > > [15745.009765] EAX: c186c300 EBX: cf81a0b0 ECX: 63383166 EDX: cf81a0b8
> > > > [15745.009769] ESI: cf81a0b0 EDI: cf81a0d0 EBP: c03b4bcc ESP: cfa37f40
> > > > [15745.009773] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > > > [15745.009778] Process su (pid: 6277, ti=cfa36000 task=c354c000 task.ti=cfa36000)
> > > > [15745.009781] Stack: fffffffe c186c30c cf81a080 cf81a0b0 cf81a0d0 c03b4bcc c011fba1 cf81a0b0
> > > > [15745.009793] c0368fd1 00000013 cf81a080 cf81a080 00000013 00000000 c011fe94 00000013
> > > > [15745.009804] 00000013 00000001 00000000 c0122e0d 00000013 00000000 09756508 c0124688
> > > > [15745.009815] Call Trace:
> > > > [15745.009820] [<c011fba1>] uids_user_create+0x41/0x5a
> > > > [15745.009833] [<c011fe94>] alloc_uid+0xad/0x121
> > > > [15745.009840] [<c0122e0d>] set_user+0x1d/0x93
> > > > [15745.009847] [<c0124688>] sys_setuid+0x47/0xc5
> > > > [15745.009855] [<c0103d32>] sysenter_past_esp+0x5f/0x85
> > > > [15745.009868] =======================
> > > > [15745.009870] Code: d4 13 00 83 7c 24 04 00 75 0f 8b 43 14 83 c0 0c e8 fc fb ff ff 89 44 24 04 8b 43 14 8b 48 04 8d 53 08 89 50 04 89 43 08 89 4b 0c <89> 11 8b 43 14 83 c0 08 c6 00 01 8b 44 24 04 89 43 10 c7 04 24
> > > > [15745.009928] EIP: [<c01c50a2>] kobject_add+0xae/0x160 SS:ESP 0068:cfa37f40
> > > >
> > >
> > > Don't knowm sorry - we'll need to wait until someone can hit it more
> > > reliably :(
> >
> > Ah, I have a fix for that, Kay found it. Do you want an add-on to your
>
> (Sorry, it feels like there must be an obvious place to look for it, but
> I can't seem to find it...)
>
> Was the fix ever posted? If it isn't completely obsolete could you
> please send it?

Here it is.

thanks,

greg k-h


---
block/genhd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/block/genhd.c
+++ b/block/genhd.c
@@ -718,9 +718,9 @@ struct gendisk *alloc_disk_node(int mino
}
}
disk->minors = minors;
- kobject_init(&disk->kobj);
disk->kobj.kset = block_kset;
disk->kobj.ktype = &ktype_block;
+ kobject_init(&disk->kobj);
rand_initialize_disk(disk);
INIT_WORK(&disk->async_notify,
media_change_notify_thread);